@alfresco/aca-content 7.0.0-14994853738 → 7.0.0-15040599250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/app.extensions.json +406 -157
- package/assets/i18n/pl.json +8 -8
- package/esm2022/about/about.component.mjs +3 -3
- package/esm2022/about/aca-about.module.mjs +4 -4
- package/esm2022/folder-rules/folder-rules.module.mjs +6 -6
- package/esm2022/folder-rules/folder-rules.rules.mjs +1 -4
- package/esm2022/folder-rules/manage-rules/manage-rules.smart-component.mjs +4 -4
- package/esm2022/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +3 -3
- package/esm2022/folder-rules/rule-details/actions/rule-action.ui-component.mjs +6 -6
- package/esm2022/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +3 -3
- package/esm2022/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +3 -3
- package/esm2022/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +3 -3
- package/esm2022/folder-rules/rule-details/options/rule-options.ui-component.mjs +5 -5
- package/esm2022/folder-rules/rule-details/rule-details.ui-component.mjs +3 -3
- package/esm2022/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +4 -4
- package/esm2022/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +3 -3
- package/esm2022/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +3 -3
- package/esm2022/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +4 -4
- package/esm2022/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +3 -3
- package/esm2022/folder-rules/services/actions.service.mjs +3 -3
- package/esm2022/folder-rules/services/folder-rule-sets.service.mjs +3 -3
- package/esm2022/folder-rules/services/folder-rules.service.mjs +3 -3
- package/esm2022/lib/aca-content.module.mjs +10 -42
- package/esm2022/lib/components/bulk-actions-dropdown/bulk-actions-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/common/language-picker/language-picker.component.mjs +3 -3
- package/esm2022/lib/components/common/location-link/location-link.component.mjs +3 -3
- package/esm2022/lib/components/common/logout/logout.component.mjs +3 -3
- package/esm2022/lib/components/common/toggle-shared/toggle-shared.component.mjs +3 -3
- package/esm2022/lib/components/common/user-info/user-info.component.mjs +3 -3
- package/esm2022/lib/components/context-menu/base-context-menu.directive.mjs +3 -3
- package/esm2022/lib/components/context-menu/context-menu-item.component.mjs +3 -3
- package/esm2022/lib/components/context-menu/context-menu-outside-event.directive.mjs +3 -3
- package/esm2022/lib/components/context-menu/context-menu.component.mjs +3 -3
- package/esm2022/lib/components/context-menu/context-menu.service.mjs +4 -4
- package/esm2022/lib/components/context-menu/custom-context-menu.component.mjs +3 -3
- package/esm2022/lib/components/details/details.component.mjs +4 -4
- package/esm2022/lib/components/dl-custom-components/datatable-cell-badges/datatable-cell-badges.component.mjs +3 -3
- package/esm2022/lib/components/dl-custom-components/name-column/name-column.component.mjs +4 -4
- package/esm2022/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +3 -3
- package/esm2022/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +3 -3
- package/esm2022/lib/components/favorite-libraries/favorite-libraries.component.mjs +3 -3
- package/esm2022/lib/components/favorites/favorites.component.mjs +3 -3
- package/esm2022/lib/components/files/files.component.mjs +4 -4
- package/esm2022/lib/components/home/home.component.mjs +3 -3
- package/esm2022/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +3 -3
- package/esm2022/lib/components/info-drawer/info.drawer.module.mjs +4 -4
- package/esm2022/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +4 -4
- package/esm2022/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +3 -3
- package/esm2022/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +3 -3
- package/esm2022/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +3 -3
- package/esm2022/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.mjs +3 -3
- package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.mjs +5 -4
- package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.mjs +4 -4
- package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-results/search-ai-results.component.mjs +6 -6
- package/esm2022/lib/components/libraries/libraries.component.mjs +3 -3
- package/esm2022/lib/components/recent-files/recent-files.component.mjs +3 -3
- package/esm2022/lib/components/search/search-action-menu/search-action-menu.component.mjs +3 -3
- package/esm2022/lib/components/search/search-input/search-input.component.mjs +4 -4
- package/esm2022/lib/components/search/search-input-control/search-input-control.component.mjs +3 -3
- package/esm2022/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +3 -3
- package/esm2022/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +3 -3
- package/esm2022/lib/components/search/search-navigation.service.mjs +3 -3
- package/esm2022/lib/components/search/search-results/search-results.component.mjs +3 -3
- package/esm2022/lib/components/search/search-results-row/search-results-row.component.mjs +3 -3
- package/esm2022/lib/components/search/search-save/dialog/delete/saved-search-delete-dialog.component.mjs +3 -3
- package/esm2022/lib/components/search/search-save/dialog/edit/saved-search-edit-dialog.component.mjs +3 -3
- package/esm2022/lib/components/search/search-save/dialog/save-search-dialog.component.mjs +3 -3
- package/esm2022/lib/components/search/search-save/dialog/unique-search-name-validator.mjs +3 -3
- package/esm2022/lib/components/search/search-save/directive/save-search.directive.mjs +3 -3
- package/esm2022/lib/components/search/search-save/list/saved-searches-list-ui.service.mjs +3 -3
- package/esm2022/lib/components/search/search-save/list/smart-list/saved-searches-smart-list.component.mjs +3 -3
- package/esm2022/lib/components/search/search-save/list/ui-list/saved-searches-list.ui-component.mjs +3 -3
- package/esm2022/lib/components/search/search-save/sidenav/save-search-sidenav.component.mjs +3 -3
- package/esm2022/lib/components/shared-files/shared-files.component.mjs +3 -3
- package/esm2022/lib/components/shared-link-view/shared-link-view.component.mjs +3 -3
- package/esm2022/lib/components/sidenav/components/button-menu.component.mjs +4 -4
- package/esm2022/lib/components/sidenav/components/expand-menu.component.mjs +3 -3
- package/esm2022/lib/components/sidenav/components/sidenav-header.component.mjs +3 -3
- package/esm2022/lib/components/sidenav/directives/action.directive.mjs +4 -4
- package/esm2022/lib/components/sidenav/directives/active-link.directive.mjs +4 -4
- package/esm2022/lib/components/sidenav/directives/expansion-panel.directive.mjs +4 -4
- package/esm2022/lib/components/sidenav/directives/menu-panel.directive.mjs +4 -4
- package/esm2022/lib/components/sidenav/sidenav.component.mjs +5 -5
- package/esm2022/lib/components/sidenav/user-menu/user-menu.component.mjs +3 -3
- package/esm2022/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +4 -4
- package/esm2022/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +4 -4
- package/esm2022/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +4 -4
- package/esm2022/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +3 -3
- package/esm2022/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +3 -3
- package/esm2022/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +3 -3
- package/esm2022/lib/components/toolbar/view-node/view-node.component.mjs +3 -3
- package/esm2022/lib/components/trashcan/trashcan.component.mjs +3 -3
- package/esm2022/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +3 -3
- package/esm2022/lib/components/view-profile/view-profile.component.mjs +4 -4
- package/esm2022/lib/dialogs/folder-details/folder-information.component.mjs +3 -3
- package/esm2022/lib/dialogs/node-template/create-from-template.dialog.mjs +3 -3
- package/esm2022/lib/directives/document-list.directive.mjs +3 -3
- package/esm2022/lib/extensions/core.extensions.module.mjs +4 -4
- package/esm2022/lib/services/content-management.service.mjs +3 -3
- package/esm2022/lib/services/content-url.service.mjs +4 -4
- package/esm2022/lib/services/modal-ai.service.mjs +3 -3
- package/esm2022/lib/services/node-actions.service.mjs +3 -3
- package/esm2022/lib/services/node-template.service.mjs +3 -3
- package/esm2022/lib/services/search-ai-navigation.service.mjs +4 -4
- package/esm2022/lib/store/app-store.module.mjs +4 -4
- package/esm2022/lib/store/effects/app.effects.mjs +3 -3
- package/esm2022/lib/store/effects/contextmenu.effects.mjs +3 -3
- package/esm2022/lib/store/effects/download.effects.mjs +3 -3
- package/esm2022/lib/store/effects/favorite.effects.mjs +3 -3
- package/esm2022/lib/store/effects/library.effects.mjs +3 -3
- package/esm2022/lib/store/effects/node.effects.mjs +3 -3
- package/esm2022/lib/store/effects/search-ai.effects.mjs +3 -3
- package/esm2022/lib/store/effects/search.effects.mjs +3 -3
- package/esm2022/lib/store/effects/template.effects.mjs +3 -3
- package/esm2022/lib/store/effects/upload.effects.mjs +3 -3
- package/esm2022/lib/store/effects/viewer.effects.mjs +3 -3
- package/esm2022/ms-office/aos-extension.module.mjs +4 -4
- package/esm2022/ms-office/aos-extension.service.mjs +3 -3
- package/esm2022/ms-office/effects/aos.effects.mjs +3 -3
- package/esm2022/viewer/lib/components/preview/preview.component.mjs +3 -3
- package/esm2022/viewer/lib/components/viewer/viewer.component.mjs +3 -3
- package/esm2022/viewer/lib/services/viewer.service.mjs +4 -4
- package/esm2022/viewer/lib/viewer.module.mjs +4 -4
- package/fesm2022/alfresco-aca-content-about.mjs +7 -7
- package/fesm2022/alfresco-aca-content-folder-rules.mjs +57 -60
- package/fesm2022/alfresco-aca-content-folder-rules.mjs.map +1 -1
- package/fesm2022/alfresco-aca-content-ms-office.mjs +10 -10
- package/fesm2022/alfresco-aca-content-viewer.mjs +13 -13
- package/fesm2022/alfresco-aca-content-viewer.mjs.map +1 -1
- package/fesm2022/alfresco-aca-content.mjs +295 -326
- package/fesm2022/alfresco-aca-content.mjs.map +1 -1
- package/folder-rules/assets/folder-rules.plugin.json +18 -6
- package/folder-rules/folder-rules.rules.d.ts +0 -2
- package/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.d.ts +2 -2
- package/lib/components/context-menu/context-menu.service.d.ts +3 -3
- package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +3 -3
- package/lib/components/files/files.component.d.ts +3 -3
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +3 -3
- package/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.d.ts +1 -1
- package/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.d.ts +1 -1
- package/lib/components/sidenav/components/button-menu.component.d.ts +2 -2
- package/ms-office/assets/aos.plugin.json +9 -3
- package/package.json +3 -3
- package/ui/application.scss +1 -1
- package/ui/custom-theme.scss +17 -17
- package/ui/overrides/ay11.scss +5 -8
- package/ui/theme.scss +8 -11
- package/ui/variables/variables.scss +24 -24
|
@@ -9,74 +9,6 @@
|
|
|
9
9
|
"$description": "Core application extensions and features",
|
|
10
10
|
"$references": [],
|
|
11
11
|
"$ignoreReferenceList": [],
|
|
12
|
-
"rules": [
|
|
13
|
-
{
|
|
14
|
-
"id": "app.toolbar.favorite.canAdd",
|
|
15
|
-
"type": "core.every",
|
|
16
|
-
"parameters": [
|
|
17
|
-
{
|
|
18
|
-
"type": "rule",
|
|
19
|
-
"value": "app.selection.canAddFavorite"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"type": "rule",
|
|
23
|
-
"value": "app.navigation.isNotRecentFiles"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"type": "rule",
|
|
27
|
-
"value": "app.navigation.isNotSharedFiles"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "rule",
|
|
31
|
-
"value": "app.navigation.isNotSearchResults"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"type": "rule",
|
|
35
|
-
"value": "app.navigation.isNotFavorites"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"id": "app.toolbar.favorite.canRemove",
|
|
41
|
-
"type": "core.every",
|
|
42
|
-
"parameters": [
|
|
43
|
-
{
|
|
44
|
-
"type": "rule",
|
|
45
|
-
"value": "app.selection.canRemoveFavorite"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"type": "rule",
|
|
49
|
-
"value": "app.navigation.isNotRecentFiles"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"type": "rule",
|
|
53
|
-
"value": "app.navigation.isNotSharedFiles"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"type": "rule",
|
|
57
|
-
"value": "app.navigation.isNotSearchResults"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "rule",
|
|
61
|
-
"value": "app.navigation.isNotFavorites"
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"id": "app.toolbar.favorite.canEditMetadata",
|
|
67
|
-
"type": "core.every",
|
|
68
|
-
"parameters": [
|
|
69
|
-
{
|
|
70
|
-
"type": "rule",
|
|
71
|
-
"value": "app.selection.library"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"type": "rule",
|
|
75
|
-
"value": "isLibraryManager"
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
12
|
"features": {
|
|
81
13
|
"header": [
|
|
82
14
|
{
|
|
@@ -121,7 +53,9 @@
|
|
|
121
53
|
"type": "custom",
|
|
122
54
|
"component": "app.logout",
|
|
123
55
|
"rules": {
|
|
124
|
-
"visible":
|
|
56
|
+
"visible": [
|
|
57
|
+
"app.canShowLogout"
|
|
58
|
+
]
|
|
125
59
|
}
|
|
126
60
|
}
|
|
127
61
|
]
|
|
@@ -150,7 +84,10 @@
|
|
|
150
84
|
"click": "CREATE_FOLDER"
|
|
151
85
|
},
|
|
152
86
|
"rules": {
|
|
153
|
-
"visible":
|
|
87
|
+
"visible": [
|
|
88
|
+
"app.isContentServiceEnabled",
|
|
89
|
+
"app.navigation.folder.canCreate"
|
|
90
|
+
]
|
|
154
91
|
}
|
|
155
92
|
},
|
|
156
93
|
{
|
|
@@ -163,7 +100,10 @@
|
|
|
163
100
|
"click": "CREATE_LIBRARY"
|
|
164
101
|
},
|
|
165
102
|
"rules": {
|
|
166
|
-
"visible":
|
|
103
|
+
"visible": [
|
|
104
|
+
"app.isContentServiceEnabled",
|
|
105
|
+
"app.navigation.isLibraries"
|
|
106
|
+
]
|
|
167
107
|
}
|
|
168
108
|
},
|
|
169
109
|
{
|
|
@@ -177,7 +117,10 @@
|
|
|
177
117
|
"click": "FILE_FROM_TEMPLATE"
|
|
178
118
|
},
|
|
179
119
|
"rules": {
|
|
180
|
-
"visible":
|
|
120
|
+
"visible": [
|
|
121
|
+
"app.isContentServiceEnabled",
|
|
122
|
+
"app.navigation.folder.canCreate"
|
|
123
|
+
]
|
|
181
124
|
}
|
|
182
125
|
},
|
|
183
126
|
{
|
|
@@ -191,7 +134,10 @@
|
|
|
191
134
|
"click": "FOLDER_FROM_TEMPLATE"
|
|
192
135
|
},
|
|
193
136
|
"rules": {
|
|
194
|
-
"visible":
|
|
137
|
+
"visible": [
|
|
138
|
+
"app.isContentServiceEnabled",
|
|
139
|
+
"app.navigation.folder.canCreate"
|
|
140
|
+
]
|
|
195
141
|
}
|
|
196
142
|
}
|
|
197
143
|
],
|
|
@@ -294,7 +240,10 @@
|
|
|
294
240
|
"click": "CREATE_FOLDER"
|
|
295
241
|
},
|
|
296
242
|
"rules": {
|
|
297
|
-
"visible": [
|
|
243
|
+
"visible": [
|
|
244
|
+
"app.isContentServiceEnabled",
|
|
245
|
+
"app.navigation.folder.canCreate"
|
|
246
|
+
]
|
|
298
247
|
}
|
|
299
248
|
},
|
|
300
249
|
{
|
|
@@ -307,7 +256,10 @@
|
|
|
307
256
|
"click": "CREATE_LIBRARY"
|
|
308
257
|
},
|
|
309
258
|
"rules": {
|
|
310
|
-
"visible": [
|
|
259
|
+
"visible": [
|
|
260
|
+
"app.isContentServiceEnabled",
|
|
261
|
+
"app.navigation.isLibraries"
|
|
262
|
+
]
|
|
311
263
|
}
|
|
312
264
|
},
|
|
313
265
|
{
|
|
@@ -321,7 +273,10 @@
|
|
|
321
273
|
"click": "FILE_FROM_TEMPLATE"
|
|
322
274
|
},
|
|
323
275
|
"rules": {
|
|
324
|
-
"visible": [
|
|
276
|
+
"visible": [
|
|
277
|
+
"app.isContentServiceEnabled",
|
|
278
|
+
"app.navigation.folder.canCreate"
|
|
279
|
+
]
|
|
325
280
|
}
|
|
326
281
|
},
|
|
327
282
|
{
|
|
@@ -335,7 +290,10 @@
|
|
|
335
290
|
"click": "FOLDER_FROM_TEMPLATE"
|
|
336
291
|
},
|
|
337
292
|
"rules": {
|
|
338
|
-
"visible": [
|
|
293
|
+
"visible": [
|
|
294
|
+
"app.isContentServiceEnabled",
|
|
295
|
+
"app.navigation.folder.canCreate"
|
|
296
|
+
]
|
|
339
297
|
}
|
|
340
298
|
}
|
|
341
299
|
]
|
|
@@ -360,7 +318,10 @@
|
|
|
360
318
|
"click": "UPLOAD_FILES"
|
|
361
319
|
},
|
|
362
320
|
"rules": {
|
|
363
|
-
"visible": [
|
|
321
|
+
"visible": [
|
|
322
|
+
"app.isContentServiceEnabled",
|
|
323
|
+
"app.navigation.folder.canCreate"
|
|
324
|
+
]
|
|
364
325
|
}
|
|
365
326
|
},
|
|
366
327
|
{
|
|
@@ -373,7 +334,10 @@
|
|
|
373
334
|
"click": "UPLOAD_FOLDER"
|
|
374
335
|
},
|
|
375
336
|
"rules": {
|
|
376
|
-
"visible": [
|
|
337
|
+
"visible": [
|
|
338
|
+
"app.isContentServiceEnabled",
|
|
339
|
+
"app.navigation.folder.canCreate"
|
|
340
|
+
]
|
|
377
341
|
}
|
|
378
342
|
}
|
|
379
343
|
]
|
|
@@ -383,7 +347,9 @@
|
|
|
383
347
|
"type": "separator",
|
|
384
348
|
"order": 89,
|
|
385
349
|
"rules": {
|
|
386
|
-
"visible":
|
|
350
|
+
"visible": [
|
|
351
|
+
"!app.navigation.isSearchResults"
|
|
352
|
+
]
|
|
387
353
|
}
|
|
388
354
|
},
|
|
389
355
|
{
|
|
@@ -399,7 +365,9 @@
|
|
|
399
365
|
"click": "SEARCH"
|
|
400
366
|
},
|
|
401
367
|
"rules": {
|
|
402
|
-
"visible":
|
|
368
|
+
"visible": [
|
|
369
|
+
"!app.navigation.isSearchResults"
|
|
370
|
+
]
|
|
403
371
|
}
|
|
404
372
|
},
|
|
405
373
|
{
|
|
@@ -411,7 +379,10 @@
|
|
|
411
379
|
},
|
|
412
380
|
"component": "app.shared-link.toggleSharedLink",
|
|
413
381
|
"rules": {
|
|
414
|
-
"visible":
|
|
382
|
+
"visible": [
|
|
383
|
+
"app.selection.file",
|
|
384
|
+
"canToggleSharedLink"
|
|
385
|
+
]
|
|
415
386
|
}
|
|
416
387
|
},
|
|
417
388
|
{
|
|
@@ -424,7 +395,10 @@
|
|
|
424
395
|
},
|
|
425
396
|
"component": "app.toolbar.viewNode",
|
|
426
397
|
"rules": {
|
|
427
|
-
"visible":
|
|
398
|
+
"visible": [
|
|
399
|
+
"app.selection.file",
|
|
400
|
+
"!app.navigation.isTrashcan"
|
|
401
|
+
]
|
|
428
402
|
}
|
|
429
403
|
},
|
|
430
404
|
{
|
|
@@ -436,7 +410,11 @@
|
|
|
436
410
|
"click": "DOWNLOAD_NODES"
|
|
437
411
|
},
|
|
438
412
|
"rules": {
|
|
439
|
-
"visible":
|
|
413
|
+
"visible": [
|
|
414
|
+
"app.selection.notEmpty",
|
|
415
|
+
"!app.navigation.isTrashcan",
|
|
416
|
+
"app.selection.canDownload"
|
|
417
|
+
]
|
|
440
418
|
}
|
|
441
419
|
},
|
|
442
420
|
{
|
|
@@ -448,7 +426,10 @@
|
|
|
448
426
|
"click": "PURGE_DELETED_NODES"
|
|
449
427
|
},
|
|
450
428
|
"rules": {
|
|
451
|
-
"visible":
|
|
429
|
+
"visible": [
|
|
430
|
+
"app.navigation.isTrashcan",
|
|
431
|
+
"app.selection.notEmpty"
|
|
432
|
+
]
|
|
452
433
|
}
|
|
453
434
|
},
|
|
454
435
|
{
|
|
@@ -460,7 +441,10 @@
|
|
|
460
441
|
"click": "RESTORE_DELETED_NODES"
|
|
461
442
|
},
|
|
462
443
|
"rules": {
|
|
463
|
-
"visible":
|
|
444
|
+
"visible": [
|
|
445
|
+
"app.navigation.isTrashcan",
|
|
446
|
+
"app.selection.notEmpty"
|
|
447
|
+
]
|
|
464
448
|
}
|
|
465
449
|
},
|
|
466
450
|
{
|
|
@@ -469,7 +453,11 @@
|
|
|
469
453
|
"order": 600,
|
|
470
454
|
"component": "app.toolbar.toggleJoinLibrary",
|
|
471
455
|
"rules": {
|
|
472
|
-
"visible":
|
|
456
|
+
"visible": [
|
|
457
|
+
"app.selection.library",
|
|
458
|
+
"!app.selection.hasLibraryRole",
|
|
459
|
+
"canToggleJoinLibrary"
|
|
460
|
+
]
|
|
473
461
|
}
|
|
474
462
|
},
|
|
475
463
|
{
|
|
@@ -481,7 +469,10 @@
|
|
|
481
469
|
"click": "LEAVE_LIBRARY"
|
|
482
470
|
},
|
|
483
471
|
"rules": {
|
|
484
|
-
"visible":
|
|
472
|
+
"visible": [
|
|
473
|
+
"app.selection.library",
|
|
474
|
+
"app.selection.hasLibraryRole"
|
|
475
|
+
]
|
|
485
476
|
}
|
|
486
477
|
},
|
|
487
478
|
{
|
|
@@ -495,7 +486,12 @@
|
|
|
495
486
|
"order": 700,
|
|
496
487
|
"component": "app.toolbar.toggleInfoDrawer",
|
|
497
488
|
"rules": {
|
|
498
|
-
"visible": [
|
|
489
|
+
"visible": [
|
|
490
|
+
"app.selection.notEmpty",
|
|
491
|
+
"!app.navigation.isLibraries",
|
|
492
|
+
"!app.navigation.isTrashcan",
|
|
493
|
+
"!app.navigation.isDetails"
|
|
494
|
+
]
|
|
499
495
|
}
|
|
500
496
|
},
|
|
501
497
|
{
|
|
@@ -504,7 +500,10 @@
|
|
|
504
500
|
"order": 800,
|
|
505
501
|
"component": "app.toolbar.toggleInfoDrawer",
|
|
506
502
|
"rules": {
|
|
507
|
-
"visible":
|
|
503
|
+
"visible": [
|
|
504
|
+
"app.selection.library",
|
|
505
|
+
"isLibraryManager"
|
|
506
|
+
]
|
|
508
507
|
}
|
|
509
508
|
},
|
|
510
509
|
{
|
|
@@ -520,7 +519,11 @@
|
|
|
520
519
|
"type": "custom",
|
|
521
520
|
"component": "app.toolbar.toggleEditOffline",
|
|
522
521
|
"rules": {
|
|
523
|
-
"visible":
|
|
522
|
+
"visible": [
|
|
523
|
+
"app.selection.file",
|
|
524
|
+
"!app.navigation.isTrashcan",
|
|
525
|
+
"canToggleFileLock"
|
|
526
|
+
]
|
|
524
527
|
}
|
|
525
528
|
},
|
|
526
529
|
{
|
|
@@ -532,7 +535,9 @@
|
|
|
532
535
|
"click": "UPLOAD_FILE_VERSION"
|
|
533
536
|
},
|
|
534
537
|
"rules": {
|
|
535
|
-
"visible":
|
|
538
|
+
"visible": [
|
|
539
|
+
"app.selection.file.canUploadVersion"
|
|
540
|
+
]
|
|
536
541
|
}
|
|
537
542
|
},
|
|
538
543
|
{
|
|
@@ -544,7 +549,10 @@
|
|
|
544
549
|
"click": "EDIT_FOLDER"
|
|
545
550
|
},
|
|
546
551
|
"rules": {
|
|
547
|
-
"visible":
|
|
552
|
+
"visible": [
|
|
553
|
+
"app.selection.folder.canUpdate",
|
|
554
|
+
"!app.navigation.isTrashcan"
|
|
555
|
+
]
|
|
548
556
|
}
|
|
549
557
|
},
|
|
550
558
|
{
|
|
@@ -555,7 +563,10 @@
|
|
|
555
563
|
"data": "['/favorites', '/favorite/libraries']",
|
|
556
564
|
"component": "app.toolbar.toggleFavorite",
|
|
557
565
|
"rules": {
|
|
558
|
-
"visible":
|
|
566
|
+
"visible": [
|
|
567
|
+
"app.selection.notEmpty",
|
|
568
|
+
"canToggleFavorite"
|
|
569
|
+
]
|
|
559
570
|
}
|
|
560
571
|
},
|
|
561
572
|
{
|
|
@@ -564,7 +575,9 @@
|
|
|
564
575
|
"order": 401,
|
|
565
576
|
"component": "app.toolbar.toggleFavoriteLibrary",
|
|
566
577
|
"rules": {
|
|
567
|
-
"visible":
|
|
578
|
+
"visible": [
|
|
579
|
+
"app.selection.library"
|
|
580
|
+
]
|
|
568
581
|
}
|
|
569
582
|
},
|
|
570
583
|
{
|
|
@@ -576,7 +589,14 @@
|
|
|
576
589
|
"click": "ADD_FAVORITE"
|
|
577
590
|
},
|
|
578
591
|
"rules": {
|
|
579
|
-
"visible":
|
|
592
|
+
"visible": [
|
|
593
|
+
"app.selection.notEmpty",
|
|
594
|
+
"app.selection.canAddFavorite",
|
|
595
|
+
"!app.navigation.isRecentFiles",
|
|
596
|
+
"!app.navigation.isSharedFiles",
|
|
597
|
+
"!app.navigation.isSearchResults",
|
|
598
|
+
"!app.navigation.isFavorites"
|
|
599
|
+
]
|
|
580
600
|
}
|
|
581
601
|
},
|
|
582
602
|
{
|
|
@@ -588,7 +608,15 @@
|
|
|
588
608
|
"click": "REMOVE_FAVORITE"
|
|
589
609
|
},
|
|
590
610
|
"rules": {
|
|
591
|
-
"visible":
|
|
611
|
+
"visible": [
|
|
612
|
+
"app.selection.notEmpty",
|
|
613
|
+
"app.selection.canRemoveFavorite",
|
|
614
|
+
"!app.navigation.isTrashcan",
|
|
615
|
+
"!app.navigation.isRecentFiles",
|
|
616
|
+
"!app.navigation.isSharedFiles",
|
|
617
|
+
"!app.navigation.isSearchResults",
|
|
618
|
+
"!app.navigation.isFavorites"
|
|
619
|
+
]
|
|
592
620
|
}
|
|
593
621
|
},
|
|
594
622
|
{
|
|
@@ -605,7 +633,12 @@
|
|
|
605
633
|
"click": "MOVE_NODES"
|
|
606
634
|
},
|
|
607
635
|
"rules": {
|
|
608
|
-
"visible":
|
|
636
|
+
"visible": [
|
|
637
|
+
"!app.navigation.isTrashcan",
|
|
638
|
+
"!app.navigation.isLibraries",
|
|
639
|
+
"app.selection.notEmpty",
|
|
640
|
+
"app.selection.canDelete"
|
|
641
|
+
]
|
|
609
642
|
}
|
|
610
643
|
},
|
|
611
644
|
{
|
|
@@ -617,7 +650,11 @@
|
|
|
617
650
|
"click": "COPY_NODES"
|
|
618
651
|
},
|
|
619
652
|
"rules": {
|
|
620
|
-
"visible":
|
|
653
|
+
"visible": [
|
|
654
|
+
"app.selection.notEmpty",
|
|
655
|
+
"!app.navigation.isTrashcan",
|
|
656
|
+
"!app.navigation.isLibraries"
|
|
657
|
+
]
|
|
621
658
|
}
|
|
622
659
|
},
|
|
623
660
|
{
|
|
@@ -629,7 +666,12 @@
|
|
|
629
666
|
"click": "DELETE_NODES"
|
|
630
667
|
},
|
|
631
668
|
"rules": {
|
|
632
|
-
"visible":
|
|
669
|
+
"visible": [
|
|
670
|
+
"!app.navigation.isTrashcan",
|
|
671
|
+
"!app.navigation.isLibraries",
|
|
672
|
+
"app.selection.notEmpty",
|
|
673
|
+
"app.selection.canDelete"
|
|
674
|
+
]
|
|
633
675
|
}
|
|
634
676
|
},
|
|
635
677
|
{
|
|
@@ -661,7 +703,11 @@
|
|
|
661
703
|
"click": "MANAGE_VERSIONS"
|
|
662
704
|
},
|
|
663
705
|
"rules": {
|
|
664
|
-
"visible":
|
|
706
|
+
"visible": [
|
|
707
|
+
"app.selection.file",
|
|
708
|
+
"!app.navigation.isTrashcan",
|
|
709
|
+
"!app.selection.file.isLocked"
|
|
710
|
+
]
|
|
665
711
|
}
|
|
666
712
|
},
|
|
667
713
|
{
|
|
@@ -673,7 +719,9 @@
|
|
|
673
719
|
"click": "ASPECT_LIST"
|
|
674
720
|
},
|
|
675
721
|
"rules": {
|
|
676
|
-
"visible":
|
|
722
|
+
"visible": [
|
|
723
|
+
"canEditAspects"
|
|
724
|
+
]
|
|
677
725
|
}
|
|
678
726
|
},
|
|
679
727
|
{
|
|
@@ -685,7 +733,12 @@
|
|
|
685
733
|
"click": "MANAGE_PERMISSIONS"
|
|
686
734
|
},
|
|
687
735
|
"rules": {
|
|
688
|
-
"visible":
|
|
736
|
+
"visible": [
|
|
737
|
+
"app.selection.first.canUpdate",
|
|
738
|
+
"!app.navigation.isTrashcan",
|
|
739
|
+
"!isSmartFolder",
|
|
740
|
+
"!isMultiSelection"
|
|
741
|
+
]
|
|
689
742
|
}
|
|
690
743
|
},
|
|
691
744
|
{
|
|
@@ -697,7 +750,14 @@
|
|
|
697
750
|
"click": "MANAGE_RULES"
|
|
698
751
|
},
|
|
699
752
|
"rules": {
|
|
700
|
-
"visible":
|
|
753
|
+
"visible": [
|
|
754
|
+
"rules.isFolderRulesEnabled",
|
|
755
|
+
"app.selection.folder.canUpdate",
|
|
756
|
+
"!app.navigation.isTrashcan",
|
|
757
|
+
"app.selection.folder",
|
|
758
|
+
"!app.navigation.isFavorites",
|
|
759
|
+
"!isSmartFolder"
|
|
760
|
+
]
|
|
701
761
|
}
|
|
702
762
|
},
|
|
703
763
|
{
|
|
@@ -709,7 +769,9 @@
|
|
|
709
769
|
"click": "DELETE_LIBRARY"
|
|
710
770
|
},
|
|
711
771
|
"rules": {
|
|
712
|
-
"visible":
|
|
772
|
+
"visible": [
|
|
773
|
+
"app.selection.library"
|
|
774
|
+
]
|
|
713
775
|
}
|
|
714
776
|
}
|
|
715
777
|
]
|
|
@@ -741,7 +803,10 @@
|
|
|
741
803
|
},
|
|
742
804
|
"component": "app.shared-link.toggleSharedLink",
|
|
743
805
|
"rules": {
|
|
744
|
-
"visible":
|
|
806
|
+
"visible": [
|
|
807
|
+
"app.selection.file",
|
|
808
|
+
"canToggleSharedLink"
|
|
809
|
+
]
|
|
745
810
|
}
|
|
746
811
|
},
|
|
747
812
|
{
|
|
@@ -753,7 +818,11 @@
|
|
|
753
818
|
"click": "DOWNLOAD_NODES"
|
|
754
819
|
},
|
|
755
820
|
"rules": {
|
|
756
|
-
"visible":
|
|
821
|
+
"visible": [
|
|
822
|
+
"app.selection.notEmpty",
|
|
823
|
+
"!app.navigation.isTrashcan",
|
|
824
|
+
"app.selection.canDownload"
|
|
825
|
+
]
|
|
757
826
|
}
|
|
758
827
|
},
|
|
759
828
|
{
|
|
@@ -766,7 +835,10 @@
|
|
|
766
835
|
},
|
|
767
836
|
"component": "app.toolbar.viewNode",
|
|
768
837
|
"rules": {
|
|
769
|
-
"visible":
|
|
838
|
+
"visible": [
|
|
839
|
+
"app.selection.file",
|
|
840
|
+
"!app.navigation.isTrashcan"
|
|
841
|
+
]
|
|
770
842
|
}
|
|
771
843
|
},
|
|
772
844
|
{
|
|
@@ -780,7 +852,11 @@
|
|
|
780
852
|
"type": "custom",
|
|
781
853
|
"component": "app.toolbar.toggleEditOffline",
|
|
782
854
|
"rules": {
|
|
783
|
-
"visible":
|
|
855
|
+
"visible": [
|
|
856
|
+
"app.selection.file",
|
|
857
|
+
"!app.navigation.isTrashcan",
|
|
858
|
+
"canToggleFileLock"
|
|
859
|
+
]
|
|
784
860
|
}
|
|
785
861
|
},
|
|
786
862
|
{
|
|
@@ -792,7 +868,10 @@
|
|
|
792
868
|
"click": "EDIT_FOLDER"
|
|
793
869
|
},
|
|
794
870
|
"rules": {
|
|
795
|
-
"visible":
|
|
871
|
+
"visible": [
|
|
872
|
+
"app.selection.folder.canUpdate",
|
|
873
|
+
"!app.navigation.isTrashcan"
|
|
874
|
+
]
|
|
796
875
|
}
|
|
797
876
|
},
|
|
798
877
|
{
|
|
@@ -804,7 +883,9 @@
|
|
|
804
883
|
"click": "UPLOAD_FILE_VERSION"
|
|
805
884
|
},
|
|
806
885
|
"rules": {
|
|
807
|
-
"visible":
|
|
886
|
+
"visible": [
|
|
887
|
+
"app.selection.file.canUploadVersion"
|
|
888
|
+
]
|
|
808
889
|
}
|
|
809
890
|
},
|
|
810
891
|
{
|
|
@@ -816,7 +897,14 @@
|
|
|
816
897
|
"click": "ADD_FAVORITE"
|
|
817
898
|
},
|
|
818
899
|
"rules": {
|
|
819
|
-
"visible":
|
|
900
|
+
"visible": [
|
|
901
|
+
"app.selection.notEmpty",
|
|
902
|
+
"app.selection.canAddFavorite",
|
|
903
|
+
"!app.navigation.isRecentFiles",
|
|
904
|
+
"!app.navigation.isSharedFiles",
|
|
905
|
+
"!app.navigation.isSearchResults",
|
|
906
|
+
"!app.navigation.isFavorites"
|
|
907
|
+
]
|
|
820
908
|
}
|
|
821
909
|
},
|
|
822
910
|
{
|
|
@@ -828,7 +916,15 @@
|
|
|
828
916
|
"click": "REMOVE_FAVORITE"
|
|
829
917
|
},
|
|
830
918
|
"rules": {
|
|
831
|
-
"visible":
|
|
919
|
+
"visible": [
|
|
920
|
+
"app.selection.notEmpty",
|
|
921
|
+
"app.selection.canRemoveFavorite",
|
|
922
|
+
"!app.navigation.isTrashcan",
|
|
923
|
+
"!app.navigation.isRecentFiles",
|
|
924
|
+
"!app.navigation.isSharedFiles",
|
|
925
|
+
"!app.navigation.isSearchResults",
|
|
926
|
+
"!app.navigation.isFavorites"
|
|
927
|
+
]
|
|
832
928
|
}
|
|
833
929
|
},
|
|
834
930
|
{
|
|
@@ -839,7 +935,10 @@
|
|
|
839
935
|
"data": "['/favorites', '/favorite/libraries']",
|
|
840
936
|
"component": "app.toolbar.toggleFavorite",
|
|
841
937
|
"rules": {
|
|
842
|
-
"visible":
|
|
938
|
+
"visible": [
|
|
939
|
+
"app.selection.notEmpty",
|
|
940
|
+
"canToggleFavorite"
|
|
941
|
+
]
|
|
843
942
|
}
|
|
844
943
|
},
|
|
845
944
|
{
|
|
@@ -848,7 +947,9 @@
|
|
|
848
947
|
"order": 803,
|
|
849
948
|
"component": "app.toolbar.toggleFavoriteLibrary",
|
|
850
949
|
"rules": {
|
|
851
|
-
"visible":
|
|
950
|
+
"visible": [
|
|
951
|
+
"app.selection.library"
|
|
952
|
+
]
|
|
852
953
|
}
|
|
853
954
|
},
|
|
854
955
|
{
|
|
@@ -865,7 +966,12 @@
|
|
|
865
966
|
"click": "MOVE_NODES"
|
|
866
967
|
},
|
|
867
968
|
"rules": {
|
|
868
|
-
"visible":
|
|
969
|
+
"visible": [
|
|
970
|
+
"!app.navigation.isTrashcan",
|
|
971
|
+
"!app.navigation.isLibraries",
|
|
972
|
+
"app.selection.notEmpty",
|
|
973
|
+
"app.selection.canDelete"
|
|
974
|
+
]
|
|
869
975
|
}
|
|
870
976
|
},
|
|
871
977
|
{
|
|
@@ -877,7 +983,11 @@
|
|
|
877
983
|
"click": "COPY_NODES"
|
|
878
984
|
},
|
|
879
985
|
"rules": {
|
|
880
|
-
"visible":
|
|
986
|
+
"visible": [
|
|
987
|
+
"app.selection.notEmpty",
|
|
988
|
+
"!app.navigation.isTrashcan",
|
|
989
|
+
"!app.navigation.isLibraries"
|
|
990
|
+
]
|
|
881
991
|
}
|
|
882
992
|
},
|
|
883
993
|
{
|
|
@@ -889,7 +999,12 @@
|
|
|
889
999
|
"click": "DELETE_NODES"
|
|
890
1000
|
},
|
|
891
1001
|
"rules": {
|
|
892
|
-
"visible":
|
|
1002
|
+
"visible": [
|
|
1003
|
+
"!app.navigation.isTrashcan",
|
|
1004
|
+
"!app.navigation.isLibraries",
|
|
1005
|
+
"app.selection.notEmpty",
|
|
1006
|
+
"app.selection.canDelete"
|
|
1007
|
+
]
|
|
893
1008
|
}
|
|
894
1009
|
},
|
|
895
1010
|
{
|
|
@@ -921,7 +1036,11 @@
|
|
|
921
1036
|
"click": "MANAGE_VERSIONS"
|
|
922
1037
|
},
|
|
923
1038
|
"rules": {
|
|
924
|
-
"visible":
|
|
1039
|
+
"visible": [
|
|
1040
|
+
"app.selection.file",
|
|
1041
|
+
"!app.navigation.isTrashcan",
|
|
1042
|
+
"!app.selection.file.isLocked"
|
|
1043
|
+
]
|
|
925
1044
|
}
|
|
926
1045
|
},
|
|
927
1046
|
{
|
|
@@ -933,7 +1052,9 @@
|
|
|
933
1052
|
"click": "ASPECT_LIST"
|
|
934
1053
|
},
|
|
935
1054
|
"rules": {
|
|
936
|
-
"visible":
|
|
1055
|
+
"visible": [
|
|
1056
|
+
"canEditAspects"
|
|
1057
|
+
]
|
|
937
1058
|
}
|
|
938
1059
|
},
|
|
939
1060
|
{
|
|
@@ -945,7 +1066,12 @@
|
|
|
945
1066
|
"click": "MANAGE_PERMISSIONS"
|
|
946
1067
|
},
|
|
947
1068
|
"rules": {
|
|
948
|
-
"visible":
|
|
1069
|
+
"visible": [
|
|
1070
|
+
"app.selection.first.canUpdate",
|
|
1071
|
+
"!app.navigation.isTrashcan",
|
|
1072
|
+
"!isSmartFolder",
|
|
1073
|
+
"!isMultiSelection"
|
|
1074
|
+
]
|
|
949
1075
|
}
|
|
950
1076
|
},
|
|
951
1077
|
{
|
|
@@ -957,7 +1083,14 @@
|
|
|
957
1083
|
"click": "MANAGE_RULES"
|
|
958
1084
|
},
|
|
959
1085
|
"rules": {
|
|
960
|
-
"visible":
|
|
1086
|
+
"visible": [
|
|
1087
|
+
"rules.isFolderRulesEnabled",
|
|
1088
|
+
"app.selection.folder.canUpdate",
|
|
1089
|
+
"!app.navigation.isTrashcan",
|
|
1090
|
+
"app.selection.folder",
|
|
1091
|
+
"!app.navigation.isFavorites",
|
|
1092
|
+
"!isSmartFolder"
|
|
1093
|
+
]
|
|
961
1094
|
}
|
|
962
1095
|
},
|
|
963
1096
|
{
|
|
@@ -966,7 +1099,11 @@
|
|
|
966
1099
|
"order": 100,
|
|
967
1100
|
"component": "app.menu.toggleJoinLibrary",
|
|
968
1101
|
"rules": {
|
|
969
|
-
"visible":
|
|
1102
|
+
"visible": [
|
|
1103
|
+
"app.selection.library",
|
|
1104
|
+
"!app.selection.hasLibraryRole",
|
|
1105
|
+
"canToggleJoinLibrary"
|
|
1106
|
+
]
|
|
970
1107
|
}
|
|
971
1108
|
},
|
|
972
1109
|
{
|
|
@@ -978,7 +1115,10 @@
|
|
|
978
1115
|
"click": "LEAVE_LIBRARY"
|
|
979
1116
|
},
|
|
980
1117
|
"rules": {
|
|
981
|
-
"visible":
|
|
1118
|
+
"visible": [
|
|
1119
|
+
"app.selection.library",
|
|
1120
|
+
"app.selection.hasLibraryRole"
|
|
1121
|
+
]
|
|
982
1122
|
}
|
|
983
1123
|
},
|
|
984
1124
|
{
|
|
@@ -990,7 +1130,9 @@
|
|
|
990
1130
|
"click": "DELETE_LIBRARY"
|
|
991
1131
|
},
|
|
992
1132
|
"rules": {
|
|
993
|
-
"visible":
|
|
1133
|
+
"visible": [
|
|
1134
|
+
"app.selection.library"
|
|
1135
|
+
]
|
|
994
1136
|
}
|
|
995
1137
|
},
|
|
996
1138
|
{
|
|
@@ -1002,7 +1144,10 @@
|
|
|
1002
1144
|
"click": "PURGE_DELETED_NODES"
|
|
1003
1145
|
},
|
|
1004
1146
|
"rules": {
|
|
1005
|
-
"visible":
|
|
1147
|
+
"visible": [
|
|
1148
|
+
"app.navigation.isTrashcan",
|
|
1149
|
+
"app.selection.notEmpty"
|
|
1150
|
+
]
|
|
1006
1151
|
}
|
|
1007
1152
|
},
|
|
1008
1153
|
{
|
|
@@ -1014,7 +1159,10 @@
|
|
|
1014
1159
|
"click": "RESTORE_DELETED_NODES"
|
|
1015
1160
|
},
|
|
1016
1161
|
"rules": {
|
|
1017
|
-
"visible":
|
|
1162
|
+
"visible": [
|
|
1163
|
+
"app.navigation.isTrashcan",
|
|
1164
|
+
"app.selection.notEmpty"
|
|
1165
|
+
]
|
|
1018
1166
|
}
|
|
1019
1167
|
}
|
|
1020
1168
|
],
|
|
@@ -1029,7 +1177,10 @@
|
|
|
1029
1177
|
"click": "FULLSCREEN_VIEWER"
|
|
1030
1178
|
},
|
|
1031
1179
|
"rules": {
|
|
1032
|
-
"visible":
|
|
1180
|
+
"visible": [
|
|
1181
|
+
"app.selection.file",
|
|
1182
|
+
"!app.navigation.isTrashcan"
|
|
1183
|
+
]
|
|
1033
1184
|
}
|
|
1034
1185
|
},
|
|
1035
1186
|
{
|
|
@@ -1046,7 +1197,10 @@
|
|
|
1046
1197
|
},
|
|
1047
1198
|
"component": "app.shared-link.toggleSharedLink",
|
|
1048
1199
|
"rules": {
|
|
1049
|
-
"visible":
|
|
1200
|
+
"visible": [
|
|
1201
|
+
"app.selection.file",
|
|
1202
|
+
"canToggleSharedLink"
|
|
1203
|
+
]
|
|
1050
1204
|
}
|
|
1051
1205
|
},
|
|
1052
1206
|
{
|
|
@@ -1058,7 +1212,11 @@
|
|
|
1058
1212
|
"click": "DOWNLOAD_NODES"
|
|
1059
1213
|
},
|
|
1060
1214
|
"rules": {
|
|
1061
|
-
"visible":
|
|
1215
|
+
"visible": [
|
|
1216
|
+
"app.selection.notEmpty",
|
|
1217
|
+
"!app.navigation.isTrashcan",
|
|
1218
|
+
"app.selection.canDownload"
|
|
1219
|
+
]
|
|
1062
1220
|
}
|
|
1063
1221
|
},
|
|
1064
1222
|
{
|
|
@@ -1070,7 +1228,11 @@
|
|
|
1070
1228
|
"click": "PRINT_FILE"
|
|
1071
1229
|
},
|
|
1072
1230
|
"rules": {
|
|
1073
|
-
"visible": [
|
|
1231
|
+
"visible": [
|
|
1232
|
+
"app.selection.file",
|
|
1233
|
+
"!app.navigation.isTrashcan",
|
|
1234
|
+
"canPrintFile"
|
|
1235
|
+
]
|
|
1074
1236
|
}
|
|
1075
1237
|
},
|
|
1076
1238
|
{
|
|
@@ -1084,7 +1246,12 @@
|
|
|
1084
1246
|
"order": 500,
|
|
1085
1247
|
"component": "app.toolbar.toggleInfoDrawer",
|
|
1086
1248
|
"rules": {
|
|
1087
|
-
"visible": [
|
|
1249
|
+
"visible": [
|
|
1250
|
+
"app.selection.notEmpty",
|
|
1251
|
+
"!app.navigation.isLibraries",
|
|
1252
|
+
"!app.navigation.isTrashcan",
|
|
1253
|
+
"!app.navigation.isDetails"
|
|
1254
|
+
]
|
|
1088
1255
|
}
|
|
1089
1256
|
},
|
|
1090
1257
|
{
|
|
@@ -1100,7 +1267,11 @@
|
|
|
1100
1267
|
"type": "custom",
|
|
1101
1268
|
"component": "app.toolbar.toggleEditOffline",
|
|
1102
1269
|
"rules": {
|
|
1103
|
-
"visible":
|
|
1270
|
+
"visible": [
|
|
1271
|
+
"app.selection.file",
|
|
1272
|
+
"!app.navigation.isTrashcan",
|
|
1273
|
+
"canToggleFileLock"
|
|
1274
|
+
]
|
|
1104
1275
|
}
|
|
1105
1276
|
},
|
|
1106
1277
|
{
|
|
@@ -1112,7 +1283,9 @@
|
|
|
1112
1283
|
"click": "UPLOAD_FILE_VERSION"
|
|
1113
1284
|
},
|
|
1114
1285
|
"rules": {
|
|
1115
|
-
"visible":
|
|
1286
|
+
"visible": [
|
|
1287
|
+
"app.selection.file.canUploadVersion"
|
|
1288
|
+
]
|
|
1116
1289
|
}
|
|
1117
1290
|
},
|
|
1118
1291
|
{
|
|
@@ -1124,7 +1297,14 @@
|
|
|
1124
1297
|
"click": "ADD_FAVORITE"
|
|
1125
1298
|
},
|
|
1126
1299
|
"rules": {
|
|
1127
|
-
"visible":
|
|
1300
|
+
"visible": [
|
|
1301
|
+
"app.selection.notEmpty",
|
|
1302
|
+
"app.selection.canAddFavorite",
|
|
1303
|
+
"!app.navigation.isRecentFiles",
|
|
1304
|
+
"!app.navigation.isSharedFiles",
|
|
1305
|
+
"!app.navigation.isSearchResults",
|
|
1306
|
+
"!app.navigation.isFavorites"
|
|
1307
|
+
]
|
|
1128
1308
|
}
|
|
1129
1309
|
},
|
|
1130
1310
|
{
|
|
@@ -1136,7 +1316,15 @@
|
|
|
1136
1316
|
"click": "REMOVE_FAVORITE"
|
|
1137
1317
|
},
|
|
1138
1318
|
"rules": {
|
|
1139
|
-
"visible":
|
|
1319
|
+
"visible": [
|
|
1320
|
+
"app.selection.notEmpty",
|
|
1321
|
+
"app.selection.canRemoveFavorite",
|
|
1322
|
+
"!app.navigation.isTrashcan",
|
|
1323
|
+
"!app.navigation.isRecentFiles",
|
|
1324
|
+
"!app.navigation.isSharedFiles",
|
|
1325
|
+
"!app.navigation.isSearchResults",
|
|
1326
|
+
"!app.navigation.isFavorites"
|
|
1327
|
+
]
|
|
1140
1328
|
}
|
|
1141
1329
|
},
|
|
1142
1330
|
{
|
|
@@ -1146,7 +1334,10 @@
|
|
|
1146
1334
|
"order": 302,
|
|
1147
1335
|
"component": "app.toolbar.toggleFavorite",
|
|
1148
1336
|
"rules": {
|
|
1149
|
-
"visible":
|
|
1337
|
+
"visible": [
|
|
1338
|
+
"app.selection.notEmpty",
|
|
1339
|
+
"canToggleFavorite"
|
|
1340
|
+
]
|
|
1150
1341
|
}
|
|
1151
1342
|
},
|
|
1152
1343
|
{
|
|
@@ -1163,7 +1354,12 @@
|
|
|
1163
1354
|
"click": "MOVE_NODES"
|
|
1164
1355
|
},
|
|
1165
1356
|
"rules": {
|
|
1166
|
-
"visible":
|
|
1357
|
+
"visible": [
|
|
1358
|
+
"!app.navigation.isTrashcan",
|
|
1359
|
+
"!app.navigation.isLibraries",
|
|
1360
|
+
"app.selection.notEmpty",
|
|
1361
|
+
"app.selection.canDelete"
|
|
1362
|
+
]
|
|
1167
1363
|
}
|
|
1168
1364
|
},
|
|
1169
1365
|
{
|
|
@@ -1175,7 +1371,11 @@
|
|
|
1175
1371
|
"click": "COPY_NODES"
|
|
1176
1372
|
},
|
|
1177
1373
|
"rules": {
|
|
1178
|
-
"visible":
|
|
1374
|
+
"visible": [
|
|
1375
|
+
"app.selection.notEmpty",
|
|
1376
|
+
"!app.navigation.isTrashcan",
|
|
1377
|
+
"!app.navigation.isLibraries"
|
|
1378
|
+
]
|
|
1179
1379
|
}
|
|
1180
1380
|
},
|
|
1181
1381
|
{
|
|
@@ -1187,7 +1387,12 @@
|
|
|
1187
1387
|
"click": "DELETE_NODES"
|
|
1188
1388
|
},
|
|
1189
1389
|
"rules": {
|
|
1190
|
-
"visible":
|
|
1390
|
+
"visible": [
|
|
1391
|
+
"!app.navigation.isTrashcan",
|
|
1392
|
+
"!app.navigation.isLibraries",
|
|
1393
|
+
"app.selection.notEmpty",
|
|
1394
|
+
"app.selection.canDelete"
|
|
1395
|
+
]
|
|
1191
1396
|
}
|
|
1192
1397
|
},
|
|
1193
1398
|
{
|
|
@@ -1204,7 +1409,11 @@
|
|
|
1204
1409
|
"click": "MANAGE_VERSIONS"
|
|
1205
1410
|
},
|
|
1206
1411
|
"rules": {
|
|
1207
|
-
"visible":
|
|
1412
|
+
"visible": [
|
|
1413
|
+
"app.selection.file",
|
|
1414
|
+
"!app.navigation.isTrashcan",
|
|
1415
|
+
"!app.selection.file.isLocked"
|
|
1416
|
+
]
|
|
1208
1417
|
}
|
|
1209
1418
|
},
|
|
1210
1419
|
{
|
|
@@ -1216,7 +1425,9 @@
|
|
|
1216
1425
|
"click": "ASPECT_LIST"
|
|
1217
1426
|
},
|
|
1218
1427
|
"rules": {
|
|
1219
|
-
"visible":
|
|
1428
|
+
"visible": [
|
|
1429
|
+
"canEditAspects"
|
|
1430
|
+
]
|
|
1220
1431
|
}
|
|
1221
1432
|
},
|
|
1222
1433
|
{
|
|
@@ -1228,7 +1439,12 @@
|
|
|
1228
1439
|
"click": "MANAGE_PERMISSIONS"
|
|
1229
1440
|
},
|
|
1230
1441
|
"rules": {
|
|
1231
|
-
"visible":
|
|
1442
|
+
"visible": [
|
|
1443
|
+
"app.selection.first.canUpdate",
|
|
1444
|
+
"!app.navigation.isTrashcan",
|
|
1445
|
+
"!isSmartFolder",
|
|
1446
|
+
"!isMultiSelection"
|
|
1447
|
+
]
|
|
1232
1448
|
}
|
|
1233
1449
|
}
|
|
1234
1450
|
]
|
|
@@ -1282,7 +1498,12 @@
|
|
|
1282
1498
|
"click": "SHOW_INFO_DRAWER_PREVIEW"
|
|
1283
1499
|
},
|
|
1284
1500
|
"rules": {
|
|
1285
|
-
"visible":
|
|
1501
|
+
"visible": [
|
|
1502
|
+
"app.navigation.isSearchResults",
|
|
1503
|
+
"!isMultiSelection",
|
|
1504
|
+
"!app.selection.folder",
|
|
1505
|
+
"!app.navigation.isPreview"
|
|
1506
|
+
]
|
|
1286
1507
|
}
|
|
1287
1508
|
},
|
|
1288
1509
|
{
|
|
@@ -1294,7 +1515,9 @@
|
|
|
1294
1515
|
"click": "ASPECT_LIST"
|
|
1295
1516
|
},
|
|
1296
1517
|
"rules": {
|
|
1297
|
-
"visible":
|
|
1518
|
+
"visible": [
|
|
1519
|
+
"canEditAspects"
|
|
1520
|
+
]
|
|
1298
1521
|
}
|
|
1299
1522
|
},
|
|
1300
1523
|
{
|
|
@@ -1306,7 +1529,10 @@
|
|
|
1306
1529
|
"click": "EXPAND_INFO_DRAWER"
|
|
1307
1530
|
},
|
|
1308
1531
|
"rules": {
|
|
1309
|
-
"visible":
|
|
1532
|
+
"visible": [
|
|
1533
|
+
"!app.navigation.isLibraries",
|
|
1534
|
+
"!app.navigation.isDetails"
|
|
1535
|
+
]
|
|
1310
1536
|
}
|
|
1311
1537
|
}
|
|
1312
1538
|
],
|
|
@@ -1317,7 +1543,9 @@
|
|
|
1317
1543
|
"title": "APP.INFO_DRAWER.TABS.PROPERTIES",
|
|
1318
1544
|
"component": "app.components.tabs.metadata",
|
|
1319
1545
|
"rules": {
|
|
1320
|
-
"visible":
|
|
1546
|
+
"visible": [
|
|
1547
|
+
"!app.navigation.isLibraries"
|
|
1548
|
+
]
|
|
1321
1549
|
}
|
|
1322
1550
|
},
|
|
1323
1551
|
{
|
|
@@ -1326,7 +1554,9 @@
|
|
|
1326
1554
|
"title": "APP.INFO_DRAWER.TABS.COMMENTS",
|
|
1327
1555
|
"component": "app.components.tabs.comments",
|
|
1328
1556
|
"rules": {
|
|
1329
|
-
"visible":
|
|
1557
|
+
"visible": [
|
|
1558
|
+
"!app.navigation.isLibraries"
|
|
1559
|
+
]
|
|
1330
1560
|
}
|
|
1331
1561
|
},
|
|
1332
1562
|
{
|
|
@@ -1336,7 +1566,9 @@
|
|
|
1336
1566
|
"title": "APP.INFO_DRAWER.TABS.VERSIONS",
|
|
1337
1567
|
"component": "app.components.tabs.versions",
|
|
1338
1568
|
"rules": {
|
|
1339
|
-
"visible":
|
|
1569
|
+
"visible": [
|
|
1570
|
+
"!app.navigation.isLibraries"
|
|
1571
|
+
]
|
|
1340
1572
|
}
|
|
1341
1573
|
},
|
|
1342
1574
|
{
|
|
@@ -1345,7 +1577,10 @@
|
|
|
1345
1577
|
"title": "APP.INFO_DRAWER.TABS.PROPERTIES",
|
|
1346
1578
|
"component": "app.components.tabs.library.metadata",
|
|
1347
1579
|
"rules": {
|
|
1348
|
-
"visible":
|
|
1580
|
+
"visible": [
|
|
1581
|
+
"app.selection.library",
|
|
1582
|
+
"isLibraryManager"
|
|
1583
|
+
]
|
|
1349
1584
|
}
|
|
1350
1585
|
}
|
|
1351
1586
|
]
|
|
@@ -1554,7 +1789,9 @@
|
|
|
1554
1789
|
}
|
|
1555
1790
|
},
|
|
1556
1791
|
"rules": {
|
|
1557
|
-
"visible":
|
|
1792
|
+
"visible": [
|
|
1793
|
+
"app.areTagsEnabled"
|
|
1794
|
+
]
|
|
1558
1795
|
}
|
|
1559
1796
|
},
|
|
1560
1797
|
{
|
|
@@ -1571,7 +1808,9 @@
|
|
|
1571
1808
|
}
|
|
1572
1809
|
},
|
|
1573
1810
|
"rules": {
|
|
1574
|
-
"visible":
|
|
1811
|
+
"visible": [
|
|
1812
|
+
"app.areCategoriesEnabled"
|
|
1813
|
+
]
|
|
1575
1814
|
}
|
|
1576
1815
|
}
|
|
1577
1816
|
],
|
|
@@ -2297,7 +2536,9 @@
|
|
|
2297
2536
|
"order": 60,
|
|
2298
2537
|
"draggable": true,
|
|
2299
2538
|
"rules": {
|
|
2300
|
-
"visible":
|
|
2539
|
+
"visible": [
|
|
2540
|
+
"app.areTagsEnabled"
|
|
2541
|
+
]
|
|
2301
2542
|
}
|
|
2302
2543
|
}
|
|
2303
2544
|
],
|
|
@@ -2515,7 +2756,9 @@
|
|
|
2515
2756
|
"order": 80,
|
|
2516
2757
|
"draggable": true,
|
|
2517
2758
|
"rules": {
|
|
2518
|
-
"visible":
|
|
2759
|
+
"visible": [
|
|
2760
|
+
"app.areTagsEnabled"
|
|
2761
|
+
]
|
|
2519
2762
|
}
|
|
2520
2763
|
}
|
|
2521
2764
|
],
|
|
@@ -2589,7 +2832,9 @@
|
|
|
2589
2832
|
"order": 60,
|
|
2590
2833
|
"draggable": true,
|
|
2591
2834
|
"rules": {
|
|
2592
|
-
"visible":
|
|
2835
|
+
"visible": [
|
|
2836
|
+
"app.areTagsEnabled"
|
|
2837
|
+
]
|
|
2593
2838
|
}
|
|
2594
2839
|
}
|
|
2595
2840
|
],
|
|
@@ -2674,7 +2919,9 @@
|
|
|
2674
2919
|
"order": 70,
|
|
2675
2920
|
"draggable": true,
|
|
2676
2921
|
"rules": {
|
|
2677
|
-
"visible":
|
|
2922
|
+
"visible": [
|
|
2923
|
+
"app.areTagsEnabled"
|
|
2924
|
+
]
|
|
2678
2925
|
}
|
|
2679
2926
|
}
|
|
2680
2927
|
],
|
|
@@ -2856,7 +3103,9 @@
|
|
|
2856
3103
|
"order": 60,
|
|
2857
3104
|
"draggable": true,
|
|
2858
3105
|
"rules": {
|
|
2859
|
-
"visible":
|
|
3106
|
+
"visible": [
|
|
3107
|
+
"app.areTagsEnabled"
|
|
3108
|
+
]
|
|
2860
3109
|
}
|
|
2861
3110
|
}
|
|
2862
3111
|
]
|