swapnil-verma-gl f1c4dcf45d
[ACS-8694] Cleanup of visibility rules for extensions in ACA (#4140)
* [ACS-8694] Updated occurrences of visible in extensions.json to use arrays instead of single strings. Cleaned up rules in aca-content.module.ts

* [ACS-8694] Removed extra commas

* [ACS-8694] Broke down canDelete rule into seperate entities

* [ACS-8694] Fixed typo for notEmpty rule

* [ACS-8694] Fixed rule for edit offline

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Fixed rule for manage versions context menu item

* [ACS-8694] Fixed rule for manage versions and manage permissions

* [ACS-8694] Added rules.canManageFolderRules

* [ACS-8694] Fixed typo

* [ACS-8694] Updated visibility rules for folder rules and AOS plugin

* [ACS-8694] Updated extension.schema.json

* [ACS-8694] Updated existing rules to use !isTrashcan() instead of isNotTrashcan()

* [ACS-8694] folder-rules.plugin.json now uses arrays for controlling visibility

* [ACS-8694] Updated app.extensions.schema

* [ACS-8694] Removed unused rules

* [ACS-8694] Added unit tests for canToggleFileLock

* [ACS-8694] Added rules-list.md

* [ACS-8694] Revert unneeded project.json change

* [ACS-8694] Fixed toggleEditOffline rule

* [ACS-8694] Added migration guide (#4139)

* [ACS-8694] Added migration guide

* [ACS-8694] Fixed typo

* [ACS-8694] Added missing rule migration. Fixed incorrect rule migration. Fixed typos

* [ACS-8694] Code review finding - Replaced instance of any

* [ACS-8694] Code review finding - Updated rules.md. Removed duplication of rules list from rules-list.md. Added pointer to rules-list.md under tips section

* [ACS-8694] Fixed build issue

* [ACS-8694] Removed unneeded isNotDetails rule
2025-02-25 17:00:22 +05:30

81 lines
1.8 KiB
JSON

{
"$schema": "../../../../extension.schema.json",
"$id": "9a635542-d87a-4558-ae64-ffa199d1a364",
"$version": "0.0.10",
"$name": "Edit in Office",
"$description": "Extension that provides Office Edit Online Action",
"$vendor": "Hyland Software, Inc. and its affiliates",
"$license": "LGPL-3.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": "edit",
"title": "AOS.ACTION_TITLE",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": [
"aos.canOpenWithOffice"
]
}
}
]
}
],
"contextMenu": [
{
"id": "aos.context.openWith.office",
"order": 450,
"icon": "edit",
"title": "AOS.ACTION_TITLE",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": [
"aos.canOpenWithOffice"
]
}
}
],
"viewer": {
"toolbarActions": [
{
"id": "app.viewer.toolbar.more",
"children": [
{
"id": "aos.viewer.openWith.office",
"order": 1,
"icon": "edit",
"title": "AOS.ACTION_TITLE",
"actions": {
"click": "aos.openWith.office"
},
"rules": {
"visible": [
"aos.canOpenWithOffice"
]
}
}
]
}
]
}
}
}