mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-4538] Make folder-rules secondary entry point of aca-content (#3181)
* [ACS-4538] Make folder-rules secondary entry point of aca-content * [ACA-4538] Fix folder rules imports * [ACS-4538] Fix folder-rules unit tests * [ACS-4538] Fix package.json after folder rules transition * [ACS-4538] Remove duplicated peerDependency * [ACS-4538] Import fix
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"$schema": "../../../../extension.schema.json",
|
||||
"$id": "0455ca6c-cc7a-43ae-bbf7-35795413d2dd",
|
||||
"$name": "Folder Rules Plugin",
|
||||
"$version": "0.0.1",
|
||||
"$vendor": "Hyland Software, Inc. and its affiliates",
|
||||
"$license": "LGPL-3.0",
|
||||
|
||||
"features": {
|
||||
"toolbar": [
|
||||
{
|
||||
"id": "app.toolbar.more",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.toolbar.rules.separator",
|
||||
"type": "separator",
|
||||
"rules": {
|
||||
"visible": "app.selection.folder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "app.toolbar.rules.create",
|
||||
"title": "ACA_FOLDER_RULES.MENU.CREATE_RULES",
|
||||
"description": "ACA_FOLDER_RULES.MENU.CREATE_RULES_DESC",
|
||||
"icon": "add",
|
||||
"rules": {
|
||||
"visible": "rules.canCreateFolderRule"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "app.toolbar.rules.link",
|
||||
"title": "ACA_FOLDER_RULES.MENU.LINK_RULES",
|
||||
"description": "ACA_FOLDER_RULES.MENU.LINK_RULES_DESC",
|
||||
"icon": "link",
|
||||
"rules": {
|
||||
"visible": "rules.canLinkFolderRule"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
"contextMenu": [
|
||||
{
|
||||
"id": "app.toolbar.rules.separator",
|
||||
"type": "separator",
|
||||
"rules": {
|
||||
"visible": "app.selection.folder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "app.toolbar.rules.create",
|
||||
"title": "ACA_FOLDER_RULES.MENU.CREATE_RULES",
|
||||
"description": "ACA_FOLDER_RULES.MENU.CREATE_RULES_DESC",
|
||||
"icon": "add",
|
||||
"rules": {
|
||||
"visible": "rules.canCreateFolderRule"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "app.toolbar.rules.link",
|
||||
"title": "ACA_FOLDER_RULES.MENU.LINK_RULES",
|
||||
"description": "ACA_FOLDER_RULES.MENU.LINK_RULES_DESC",
|
||||
"icon": "link",
|
||||
"rules": {
|
||||
"visible": "rules.canLinkFolderRule"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user