mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
* aos extension * update karma * lint improvements and fixes * update script * update scripts * update scripts * reduce about 56.4 kB of polyfills for modern browsers * deficated aosHost value to have AOS on separate servers * context menu and toolbar * visibility evaluator * code improvements and fixes * support locking, lock checks
71 lines
1.6 KiB
JSON
71 lines
1.6 KiB
JSON
{
|
|
"$schema": "../../../extension.schema.json",
|
|
"$id": "9a635542-d87a-4558-ae64-ffa199d1a364",
|
|
"$version": "1.0.0",
|
|
"$name": "keensoft.aos.plugin",
|
|
"$description": "Extension that provides Office Edit Online Action",
|
|
"$vendor": "Keensoft",
|
|
"$license": "LGPL-3.0",
|
|
"$runtime": "1.6.0",
|
|
|
|
"actions": [
|
|
{
|
|
"id": "aos.openWith.office",
|
|
"type": "AOS_ACTION",
|
|
"payload": "$(context.selection.first.entry)"
|
|
}
|
|
],
|
|
|
|
"features": {
|
|
"toolbar": [
|
|
{
|
|
"id": "app.toolbar.more",
|
|
"children": [
|
|
{
|
|
"id": "aos.toolbar.openWith.office",
|
|
"order": 90,
|
|
"icon": "adf:application/msword",
|
|
"title": "Edit in Microsoft Office™",
|
|
"actions": {
|
|
"click": "aos.openWith.office"
|
|
},
|
|
"rules": {
|
|
"visible": "aos.canOpenWithOffice"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"contextMenu": [
|
|
{
|
|
"id": "aos.context.openWith.office",
|
|
"order": 90,
|
|
"icon": "adf:application/msword",
|
|
"title": "Edit in Microsoft Office™",
|
|
"actions": {
|
|
"click": "aos.openWith.office"
|
|
},
|
|
"rules": {
|
|
"visible": "aos.canOpenWithOffice"
|
|
}
|
|
}
|
|
],
|
|
"viewer": {
|
|
"openWith": [
|
|
{
|
|
"id": "aos.viewer.openWith.office",
|
|
"type": "button",
|
|
"icon": "adf:application/msword",
|
|
"title": "Microsoft Office™",
|
|
"actions": {
|
|
"click": "aos.openWith.office"
|
|
},
|
|
"rules": {
|
|
"visible": "aos.canOpenWithOffice"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|