@alfresco/aca-content 5.1.1 → 5.2.0-11950694546
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 +9 -0
- package/assets/i18n/ar.json +600 -599
- package/assets/i18n/cs.json +600 -599
- package/assets/i18n/da.json +600 -599
- package/assets/i18n/de.json +600 -599
- package/assets/i18n/en.json +40 -1
- package/assets/i18n/es.json +600 -599
- package/assets/i18n/fi.json +600 -599
- package/assets/i18n/fr.json +600 -599
- package/assets/i18n/it.json +600 -599
- package/assets/i18n/ja.json +600 -599
- package/assets/i18n/nb.json +600 -599
- package/assets/i18n/nl.json +600 -599
- package/assets/i18n/pl.json +600 -599
- package/assets/i18n/pt-BR.json +600 -599
- package/assets/i18n/ru.json +600 -599
- package/assets/i18n/sv.json +600 -599
- package/assets/i18n/zh-CN.json +600 -599
- package/esm2022/about/about.component.mjs +70 -0
- package/esm2022/about/aca-about.module.mjs +47 -0
- package/esm2022/folder-rules/folder-rules.module.mjs +116 -0
- package/esm2022/folder-rules/manage-rules/manage-rules.smart-component.mjs +276 -0
- package/esm2022/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +117 -0
- package/esm2022/folder-rules/rule-details/actions/rule-action.ui-component.mjs +356 -0
- package/esm2022/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +171 -0
- package/esm2022/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +233 -0
- package/esm2022/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +80 -0
- package/esm2022/folder-rules/rule-details/options/rule-options.ui-component.mjs +129 -0
- package/esm2022/folder-rules/rule-details/rule-details.ui-component.mjs +188 -0
- package/esm2022/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +87 -0
- package/esm2022/folder-rules/rule-details/validators/rule-actions.validator.mjs +36 -0
- package/esm2022/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +164 -0
- package/esm2022/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +80 -0
- package/esm2022/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +59 -0
- package/esm2022/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +122 -0
- package/esm2022/folder-rules/services/actions.service.mjs +117 -0
- package/esm2022/folder-rules/services/folder-rule-sets.service.mjs +230 -0
- package/esm2022/folder-rules/services/folder-rules.service.mjs +195 -0
- package/esm2022/lib/aca-content.module.mjs +303 -0
- package/esm2022/lib/aca-content.routes.mjs +369 -0
- package/esm2022/lib/components/bulk-actions-dropdown/bulk-actions-dropdown.component.mjs +79 -0
- package/{esm2020 → esm2022}/lib/components/common/language-picker/language-picker.component.mjs +9 -8
- package/esm2022/lib/components/common/location-link/location-link.component.mjs +182 -0
- package/{esm2020 → esm2022}/lib/components/common/logout/logout.component.mjs +8 -6
- package/esm2022/lib/components/common/toggle-shared/toggle-shared.component.mjs +76 -0
- package/esm2022/lib/components/common/user-info/user-info.component.mjs +46 -0
- package/esm2022/lib/components/context-menu/base-context-menu.directive.mjs +77 -0
- package/esm2022/lib/components/context-menu/context-menu-item.component.mjs +65 -0
- package/esm2022/lib/components/context-menu/context-menu-outside-event.directive.mjs +57 -0
- package/esm2022/lib/components/context-menu/context-menu-overlay.mjs +33 -0
- package/esm2022/lib/components/context-menu/context-menu.component.mjs +84 -0
- package/esm2022/lib/components/context-menu/context-menu.service.mjs +127 -0
- package/esm2022/lib/components/context-menu/custom-context-menu-actions.token.mjs +26 -0
- package/esm2022/lib/components/context-menu/custom-context-menu.component.mjs +79 -0
- package/esm2022/lib/components/details/details.component.mjs +155 -0
- package/esm2022/lib/components/dl-custom-components/datatable-cell-badges/datatable-cell-badges.component.mjs +70 -0
- package/esm2022/lib/components/dl-custom-components/name-column/name-column.component.mjs +102 -0
- package/esm2022/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +52 -0
- package/esm2022/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +77 -0
- package/esm2022/lib/components/favorite-libraries/favorite-libraries.component.mjs +126 -0
- package/esm2022/lib/components/favorites/favorites.component.mjs +105 -0
- package/esm2022/lib/components/files/files.component.mjs +337 -0
- package/esm2022/lib/components/home/home.component.mjs +46 -0
- package/esm2022/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +62 -0
- package/esm2022/lib/components/info-drawer/info.drawer.module.mjs +74 -0
- package/esm2022/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +210 -0
- package/esm2022/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +47 -0
- package/esm2022/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +141 -0
- package/esm2022/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +107 -0
- package/esm2022/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.mjs +132 -0
- package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.mjs +176 -0
- package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.mjs +77 -0
- package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-results/search-ai-results.component.mjs +207 -0
- package/esm2022/lib/components/libraries/libraries.component.mjs +81 -0
- package/esm2022/lib/components/recent-files/recent-files.component.mjs +80 -0
- package/esm2022/lib/components/search/search-action-menu/search-action-menu.component.mjs +66 -0
- package/esm2022/lib/components/search/search-input/search-input.component.mjs +294 -0
- package/esm2022/lib/components/search/search-input-control/search-input-control.component.mjs +88 -0
- package/esm2022/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +93 -0
- package/esm2022/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +155 -0
- package/esm2022/lib/components/search/search-navigation.service.mjs +62 -0
- package/esm2022/lib/components/search/search-results/search-results.component.mjs +278 -0
- package/esm2022/lib/components/search/search-results-row/search-results-row.component.mjs +145 -0
- package/esm2022/lib/components/search/search-save/dialog/delete/saved-search-delete-dialog.component.mjs +82 -0
- package/esm2022/lib/components/search/search-save/dialog/edit/saved-search-edit-dialog.component.mjs +116 -0
- package/esm2022/lib/components/search/search-save/dialog/save-search-dialog.component.mjs +125 -0
- package/esm2022/lib/components/search/search-save/dialog/saved-search-form.interface.mjs +25 -0
- package/esm2022/lib/components/search/search-save/dialog/unique-search-name-validator.mjs +45 -0
- package/esm2022/lib/components/search/search-save/directive/save-search.directive.mjs +64 -0
- package/esm2022/lib/components/search/search-save/list/saved-searches-list-ui.service.mjs +51 -0
- package/esm2022/lib/components/search/search-save/list/smart-list/saved-searches-list-schema.mjs +44 -0
- package/esm2022/lib/components/search/search-save/list/smart-list/saved-searches-smart-list.component.mjs +50 -0
- package/esm2022/lib/components/search/search-save/list/ui-list/saved-searches-list.ui-component.mjs +153 -0
- package/esm2022/lib/components/search/search-save/sidenav/save-search-sidenav.component.mjs +89 -0
- package/esm2022/lib/components/shared-files/shared-files.component.mjs +85 -0
- package/esm2022/lib/components/shared-link-view/shared-link-view.component.mjs +86 -0
- package/esm2022/lib/components/sidenav/components/button-menu.component.mjs +66 -0
- package/esm2022/lib/components/sidenav/components/expand-menu.component.mjs +73 -0
- package/esm2022/lib/components/sidenav/components/sidenav-header.component.mjs +60 -0
- package/esm2022/lib/components/sidenav/directives/action.directive.mjs +86 -0
- package/esm2022/lib/components/sidenav/directives/active-link.directive.mjs +100 -0
- package/esm2022/lib/components/sidenav/directives/expansion-panel.directive.mjs +103 -0
- package/esm2022/lib/components/sidenav/directives/menu-panel.directive.mjs +99 -0
- package/esm2022/lib/components/sidenav/sidenav.component.mjs +97 -0
- package/esm2022/lib/components/sidenav/user-menu/user-menu.component.mjs +57 -0
- package/esm2022/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +143 -0
- package/esm2022/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +91 -0
- package/esm2022/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +108 -0
- package/esm2022/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +77 -0
- package/esm2022/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +107 -0
- package/{esm2020 → esm2022}/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +7 -6
- package/esm2022/lib/components/toolbar/view-node/view-node.component.mjs +128 -0
- package/esm2022/lib/components/trashcan/trashcan.component.mjs +66 -0
- package/esm2022/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +50 -0
- package/esm2022/lib/components/view-profile/view-profile.component.mjs +195 -0
- package/esm2022/lib/dialogs/node-template/create-from-template.dialog.mjs +127 -0
- package/esm2022/lib/directives/document-list.directive.mjs +203 -0
- package/esm2022/lib/extensions/core.extensions.module.mjs +56 -0
- package/esm2022/lib/services/content-management.service.mjs +892 -0
- package/esm2022/lib/services/content-url.service.mjs +74 -0
- package/esm2022/lib/services/modal-ai.service.mjs +65 -0
- package/esm2022/lib/services/node-actions.service.mjs +609 -0
- package/esm2022/lib/services/node-template.service.mjs +145 -0
- package/esm2022/lib/services/search-ai-navigation.service.mjs +63 -0
- package/esm2022/lib/store/app-store.module.mjs +101 -0
- package/esm2022/lib/store/effects/app.effects.mjs +46 -0
- package/esm2022/lib/store/effects/contextmenu.effects.mjs +65 -0
- package/esm2022/lib/store/effects/download.effects.mjs +153 -0
- package/esm2022/lib/store/effects/favorite.effects.mjs +72 -0
- package/esm2022/lib/store/effects/library.effects.mjs +108 -0
- package/esm2022/lib/store/effects/node.effects.mjs +318 -0
- package/esm2022/lib/store/effects/search-ai.effects.mjs +54 -0
- package/esm2022/lib/store/effects/search.effects.mjs +52 -0
- package/esm2022/lib/store/effects/template.effects.mjs +116 -0
- package/esm2022/lib/store/effects/upload.effects.mjs +166 -0
- package/esm2022/lib/store/effects/viewer.effects.mjs +169 -0
- package/esm2022/lib/utils/aca-search-utils.mjs +129 -0
- package/esm2022/ms-office/actions/aos.actions.mjs +32 -0
- package/esm2022/ms-office/aos-extension.module.mjs +53 -0
- package/esm2022/ms-office/aos-extension.service.mjs +136 -0
- package/esm2022/ms-office/effects/aos.effects.mjs +45 -0
- package/esm2022/public-api.mjs +33 -0
- package/esm2022/viewer/lib/components/preview/preview.component.mjs +244 -0
- package/esm2022/viewer/lib/components/viewer/viewer.component.mjs +260 -0
- package/esm2022/viewer/lib/services/viewer.service.mjs +229 -0
- package/esm2022/viewer/lib/viewer.module.mjs +53 -0
- package/{fesm2015 → fesm2022}/alfresco-aca-content-about.mjs +17 -19
- package/fesm2022/alfresco-aca-content-about.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/alfresco-aca-content-folder-rules.mjs +376 -357
- package/fesm2022/alfresco-aca-content-folder-rules.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/alfresco-aca-content-ms-office.mjs +28 -26
- package/fesm2022/alfresco-aca-content-ms-office.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/alfresco-aca-content-viewer.mjs +110 -83
- package/fesm2022/alfresco-aca-content-viewer.mjs.map +1 -0
- package/fesm2022/alfresco-aca-content.mjs +10996 -0
- package/fesm2022/alfresco-aca-content.mjs.map +1 -0
- package/folder-rules/manage-rules/manage-rules.smart-component.d.ts +3 -5
- package/folder-rules/rule-details/actions/rule-action-list.ui-component.d.ts +1 -1
- package/folder-rules/rule-details/actions/rule-action.ui-component.d.ts +5 -6
- package/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.d.ts +1 -1
- package/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.d.ts +4 -5
- package/folder-rules/rule-details/options/rule-options.ui-component.d.ts +1 -1
- package/folder-rules/rule-details/rule-details.ui-component.d.ts +5 -6
- package/folder-rules/rule-list/rule-list/rule-list.ui-component.d.ts +4 -5
- package/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.d.ts +1 -1
- package/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.d.ts +1 -1
- package/folder-rules/rule-set-picker/rule-set-picker.smart-component.d.ts +3 -5
- package/folder-rules/services/folder-rule-sets.service.d.ts +4 -4
- package/folder-rules/services/folder-rules.service.d.ts +1 -1
- package/lib/components/bulk-actions-dropdown/bulk-actions-dropdown.component.d.ts +7 -13
- package/lib/components/common/location-link/location-link.component.d.ts +1 -1
- package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +5 -6
- package/lib/components/context-menu/base-context-menu.directive.d.ts +20 -0
- package/lib/components/context-menu/context-menu-item.component.d.ts +1 -1
- package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +4 -5
- package/lib/components/context-menu/context-menu.component.d.ts +4 -15
- package/lib/components/context-menu/context-menu.service.d.ts +4 -1
- package/lib/components/{knowledge-retrieval/search-ai/search-ai-utils.d.ts → context-menu/custom-context-menu-actions.token.d.ts} +2 -2
- package/lib/components/context-menu/custom-context-menu.component.d.ts +36 -0
- package/lib/components/details/details.component.d.ts +1 -2
- package/lib/components/dl-custom-components/datatable-cell-badges/datatable-cell-badges.component.d.ts +4 -5
- package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +3 -4
- package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +1 -1
- package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +1 -1
- package/lib/components/files/files.component.d.ts +1 -1
- package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +1 -1
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +5 -7
- package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +1 -1
- package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +7 -8
- package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +1 -1
- package/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.d.ts +4 -6
- package/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.d.ts +6 -8
- package/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.d.ts +8 -8
- package/lib/components/knowledge-retrieval/search-ai/search-ai-results/search-ai-results.component.d.ts +4 -6
- package/lib/components/search/search-input/search-input.component.d.ts +13 -16
- package/lib/components/search/search-input-control/search-input-control.component.d.ts +3 -6
- package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +0 -1
- package/lib/components/search/search-results/search-results.component.d.ts +14 -9
- package/lib/components/search/search-results-row/search-results-row.component.d.ts +4 -5
- package/lib/components/search/search-save/dialog/delete/saved-search-delete-dialog.component.d.ts +16 -0
- package/lib/components/search/search-save/dialog/edit/saved-search-edit-dialog.component.d.ts +22 -0
- package/lib/components/search/search-save/dialog/save-search-dialog.component.d.ts +23 -0
- package/lib/components/search/search-save/dialog/saved-search-form.interface.d.ts +28 -0
- package/lib/components/search/search-save/dialog/unique-search-name-validator.d.ts +34 -0
- package/lib/components/search/search-save/directive/save-search.directive.d.ts +13 -0
- package/lib/components/search/search-save/list/saved-searches-list-ui.service.d.ts +9 -0
- package/lib/components/search/search-save/list/smart-list/saved-searches-list-schema.d.ts +33 -0
- package/lib/components/search/search-save/list/smart-list/saved-searches-smart-list.component.d.ts +13 -0
- package/lib/components/search/search-save/list/ui-list/saved-searches-list.ui-component.d.ts +66 -0
- package/lib/components/search/search-save/sidenav/save-search-sidenav.component.d.ts +42 -0
- package/lib/components/shared-link-view/shared-link-view.component.d.ts +4 -5
- package/lib/components/sidenav/components/button-menu.component.d.ts +1 -1
- package/lib/components/sidenav/components/expand-menu.component.d.ts +3 -2
- package/lib/components/sidenav/components/sidenav-header.component.d.ts +3 -4
- package/lib/components/sidenav/directives/action.directive.d.ts +28 -1
- package/lib/components/sidenav/directives/active-link.directive.d.ts +3 -3
- package/lib/components/sidenav/directives/expansion-panel.directive.d.ts +4 -5
- package/lib/components/sidenav/directives/menu-panel.directive.d.ts +4 -5
- package/lib/components/sidenav/sidenav.component.d.ts +7 -7
- package/lib/components/sidenav/user-menu/user-menu.component.d.ts +1 -1
- package/lib/components/toolbar/toggle-favorite/toggle-favorite.component.d.ts +1 -1
- package/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.d.ts +3 -4
- package/lib/components/toolbar/view-node/view-node.component.d.ts +1 -1
- package/lib/components/upload-files-dialog/upload-files-dialog.component.d.ts +1 -27
- package/lib/components/view-profile/view-profile.component.d.ts +2 -4
- package/lib/directives/document-list.directive.d.ts +3 -5
- package/lib/services/search-ai-navigation.service.d.ts +4 -2
- package/lib/store/effects/app.effects.d.ts +2 -3
- package/lib/store/effects/contextmenu.effects.d.ts +3 -3
- package/lib/store/effects/download.effects.d.ts +0 -30
- package/lib/store/effects/favorite.effects.d.ts +0 -28
- package/lib/store/effects/library.effects.d.ts +2 -7
- package/lib/store/effects/node.effects.d.ts +7 -38
- package/lib/store/effects/search-ai.effects.d.ts +0 -4
- package/lib/store/effects/search.effects.d.ts +3 -30
- package/lib/store/effects/template.effects.d.ts +5 -7
- package/lib/store/effects/upload.effects.d.ts +8 -32
- package/lib/store/effects/viewer.effects.d.ts +0 -29
- package/lib/utils/aca-search-utils.d.ts +67 -0
- package/ms-office/effects/aos.effects.d.ts +0 -3
- package/package.json +21 -35
- package/public-api.d.ts +1 -0
- package/ui/overrides/adf-pagination.theme.scss +0 -4
- package/ui/theme.scss +9 -4
- package/viewer/lib/components/preview/preview.component.d.ts +3 -4
- package/viewer/lib/components/viewer/viewer.component.d.ts +2 -2
- package/assets/images/agent-avatar-blue.png +0 -0
- package/assets/images/agent-avatar-gold.png +0 -0
- package/assets/images/agent-avatar-pink.png +0 -0
- package/esm2020/about/about.component.mjs +0 -71
- package/esm2020/about/aca-about.module.mjs +0 -46
- package/esm2020/folder-rules/folder-rules.module.mjs +0 -115
- package/esm2020/folder-rules/manage-rules/manage-rules.smart-component.mjs +0 -261
- package/esm2020/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +0 -117
- package/esm2020/folder-rules/rule-details/actions/rule-action.ui-component.mjs +0 -351
- package/esm2020/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +0 -172
- package/esm2020/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +0 -234
- package/esm2020/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +0 -74
- package/esm2020/folder-rules/rule-details/options/rule-options.ui-component.mjs +0 -129
- package/esm2020/folder-rules/rule-details/rule-details.ui-component.mjs +0 -185
- package/esm2020/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +0 -88
- package/esm2020/folder-rules/rule-details/validators/rule-actions.validator.mjs +0 -37
- package/esm2020/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +0 -164
- package/esm2020/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +0 -81
- package/esm2020/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +0 -58
- package/esm2020/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +0 -120
- package/esm2020/folder-rules/services/actions.service.mjs +0 -114
- package/esm2020/folder-rules/services/folder-rule-sets.service.mjs +0 -225
- package/esm2020/folder-rules/services/folder-rules.service.mjs +0 -193
- package/esm2020/lib/aca-content.module.mjs +0 -299
- package/esm2020/lib/aca-content.routes.mjs +0 -359
- package/esm2020/lib/components/bulk-actions-dropdown/bulk-actions-dropdown.component.mjs +0 -83
- package/esm2020/lib/components/common/location-link/location-link.component.mjs +0 -180
- package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +0 -76
- package/esm2020/lib/components/common/user-info/user-info.component.mjs +0 -47
- package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +0 -62
- package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +0 -63
- package/esm2020/lib/components/context-menu/context-menu-overlay.mjs +0 -32
- package/esm2020/lib/components/context-menu/context-menu.component.mjs +0 -114
- package/esm2020/lib/components/context-menu/context-menu.service.mjs +0 -99
- package/esm2020/lib/components/details/details.component.mjs +0 -147
- package/esm2020/lib/components/dl-custom-components/datatable-cell-badges/datatable-cell-badges.component.mjs +0 -71
- package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +0 -101
- package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +0 -48
- package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +0 -75
- package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +0 -120
- package/esm2020/lib/components/favorites/favorites.component.mjs +0 -103
- package/esm2020/lib/components/files/files.component.mjs +0 -330
- package/esm2020/lib/components/home/home.component.mjs +0 -47
- package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +0 -59
- package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +0 -73
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +0 -206
- package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +0 -45
- package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +0 -134
- package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +0 -95
- package/esm2020/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.mjs +0 -129
- package/esm2020/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.mjs +0 -171
- package/esm2020/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.mjs +0 -82
- package/esm2020/lib/components/knowledge-retrieval/search-ai/search-ai-results/search-ai-results.component.mjs +0 -199
- package/esm2020/lib/components/knowledge-retrieval/search-ai/search-ai-utils.mjs +0 -33
- package/esm2020/lib/components/libraries/libraries.component.mjs +0 -79
- package/esm2020/lib/components/recent-files/recent-files.component.mjs +0 -82
- package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +0 -64
- package/esm2020/lib/components/search/search-input/search-input.component.mjs +0 -301
- package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +0 -94
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +0 -90
- package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +0 -153
- package/esm2020/lib/components/search/search-navigation.service.mjs +0 -60
- package/esm2020/lib/components/search/search-results/search-results.component.mjs +0 -255
- package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +0 -142
- package/esm2020/lib/components/shared-files/shared-files.component.mjs +0 -83
- package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +0 -82
- package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +0 -62
- package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +0 -67
- package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +0 -66
- package/esm2020/lib/components/sidenav/directives/action.directive.mjs +0 -75
- package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +0 -93
- package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +0 -102
- package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +0 -99
- package/esm2020/lib/components/sidenav/sidenav.component.mjs +0 -89
- package/esm2020/lib/components/sidenav/user-menu/user-menu.component.mjs +0 -56
- package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +0 -137
- package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +0 -86
- package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +0 -107
- package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +0 -74
- package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +0 -105
- package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +0 -122
- package/esm2020/lib/components/trashcan/trashcan.component.mjs +0 -68
- package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +0 -52
- package/esm2020/lib/components/view-profile/view-profile.component.mjs +0 -193
- package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +0 -120
- package/esm2020/lib/directives/document-list.directive.mjs +0 -199
- package/esm2020/lib/extensions/core.extensions.module.mjs +0 -55
- package/esm2020/lib/services/content-management.service.mjs +0 -873
- package/esm2020/lib/services/content-url.service.mjs +0 -71
- package/esm2020/lib/services/modal-ai.service.mjs +0 -66
- package/esm2020/lib/services/node-actions.service.mjs +0 -600
- package/esm2020/lib/services/node-template.service.mjs +0 -144
- package/esm2020/lib/services/search-ai-navigation.service.mjs +0 -52
- package/esm2020/lib/store/app-store.module.mjs +0 -102
- package/esm2020/lib/store/effects/app.effects.mjs +0 -49
- package/esm2020/lib/store/effects/contextmenu.effects.mjs +0 -55
- package/esm2020/lib/store/effects/download.effects.mjs +0 -159
- package/esm2020/lib/store/effects/favorite.effects.mjs +0 -76
- package/esm2020/lib/store/effects/library.effects.mjs +0 -113
- package/esm2020/lib/store/effects/node.effects.mjs +0 -325
- package/esm2020/lib/store/effects/search-ai.effects.mjs +0 -57
- package/esm2020/lib/store/effects/search.effects.mjs +0 -60
- package/esm2020/lib/store/effects/template.effects.mjs +0 -121
- package/esm2020/lib/store/effects/upload.effects.mjs +0 -166
- package/esm2020/lib/store/effects/viewer.effects.mjs +0 -175
- package/esm2020/ms-office/actions/aos.actions.mjs +0 -31
- package/esm2020/ms-office/aos-extension.module.mjs +0 -52
- package/esm2020/ms-office/aos-extension.service.mjs +0 -132
- package/esm2020/ms-office/effects/aos.effects.mjs +0 -48
- package/esm2020/public-api.mjs +0 -32
- package/esm2020/viewer/lib/components/preview/preview.component.mjs +0 -236
- package/esm2020/viewer/lib/components/viewer/viewer.component.mjs +0 -240
- package/esm2020/viewer/lib/services/viewer.service.mjs +0 -226
- package/esm2020/viewer/lib/viewer.module.mjs +0 -52
- package/fesm2015/alfresco-aca-content-about.mjs.map +0 -1
- package/fesm2015/alfresco-aca-content-folder-rules.mjs +0 -2662
- package/fesm2015/alfresco-aca-content-folder-rules.mjs.map +0 -1
- package/fesm2015/alfresco-aca-content-ms-office.mjs +0 -256
- package/fesm2015/alfresco-aca-content-ms-office.mjs.map +0 -1
- package/fesm2015/alfresco-aca-content-viewer.mjs +0 -700
- package/fesm2015/alfresco-aca-content-viewer.mjs.map +0 -1
- package/fesm2015/alfresco-aca-content.mjs +0 -9835
- package/fesm2015/alfresco-aca-content.mjs.map +0 -1
- package/fesm2020/alfresco-aca-content-about.mjs +0 -193
- package/fesm2020/alfresco-aca-content-about.mjs.map +0 -1
- package/fesm2020/alfresco-aca-content-folder-rules.mjs.map +0 -1
- package/fesm2020/alfresco-aca-content-ms-office.mjs.map +0 -1
- package/fesm2020/alfresco-aca-content-viewer.mjs.map +0 -1
- package/fesm2020/alfresco-aca-content.mjs +0 -9934
- package/fesm2020/alfresco-aca-content.mjs.map +0 -1
- /package/{esm2020 → esm2022}/about/alfresco-aca-content-about.mjs +0 -0
- /package/{esm2020 → esm2022}/about/dev-mode.tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/about/package-json.token.mjs +0 -0
- /package/{esm2020 → esm2022}/about/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/alfresco-aca-content.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/alfresco-aca-content-folder-rules.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/folder-rules.rules.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/model/action-parameter-constraint.model.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/model/rule-action.model.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/model/rule-composite-condition.model.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/model/rule-grouping-item.model.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/model/rule-set.model.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/model/rule-simple-condition.model.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/model/rule.model.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/rule-details/conditions/rule-condition-comparators.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/rule-details/conditions/rule-condition-fields.mjs +0 -0
- /package/{esm2020 → esm2022}/folder-rules/rule-details/validators/rule-composite-condition.validator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/common/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/context-menu/direction.token.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/context-menu/interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/search/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/sidenav/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/toolbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/view-profile/view-profile.guard.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/store/effects.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/store/initial-state.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/store/reducers/app.reducer.mjs +0 -0
- /package/{esm2020 → esm2022}/ms-office/alfresco-aca-content-ms-office.mjs +0 -0
- /package/{esm2020 → esm2022}/ms-office/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/viewer/alfresco-aca-content-viewer.mjs +0 -0
- /package/{esm2020 → esm2022}/viewer/public-api.mjs +0 -0
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import {
|
|
24
|
+
import { OnInit } from '@angular/core';
|
|
25
25
|
import { Location } from '@angular/common';
|
|
26
26
|
import { FolderRulesService } from '../services/folder-rules.service';
|
|
27
27
|
import { Observable } from 'rxjs';
|
|
@@ -37,7 +37,7 @@ import { RuleSet } from '../model/rule-set.model';
|
|
|
37
37
|
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
38
38
|
import { ActionParameterConstraint } from '../model/action-parameter-constraint.model';
|
|
39
39
|
import * as i0 from "@angular/core";
|
|
40
|
-
export declare class ManageRulesSmartComponent implements OnInit
|
|
40
|
+
export declare class ManageRulesSmartComponent implements OnInit {
|
|
41
41
|
private location;
|
|
42
42
|
private folderRulesService;
|
|
43
43
|
private route;
|
|
@@ -62,11 +62,9 @@ export declare class ManageRulesSmartComponent implements OnInit, OnDestroy {
|
|
|
62
62
|
canEditSelectedRule: boolean;
|
|
63
63
|
isMainRuleSetNotEmpty: boolean;
|
|
64
64
|
isInheritedRuleSetsNotEmpty: boolean;
|
|
65
|
-
private
|
|
66
|
-
private _actionDefinitionsSub;
|
|
65
|
+
private readonly destroyRef;
|
|
67
66
|
constructor(location: Location, folderRulesService: FolderRulesService, route: ActivatedRoute, matDialogService: MatDialog, notificationService: NotificationService, actionsService: ActionsService, folderRuleSetsService: FolderRuleSetsService);
|
|
68
67
|
ngOnInit(): void;
|
|
69
|
-
ngOnDestroy(): void;
|
|
70
68
|
goBack(): void;
|
|
71
69
|
onSelectRule(rule: Rule): void;
|
|
72
70
|
openCreateUpdateRuleDialog(model?: {}): void;
|
|
@@ -43,5 +43,5 @@ export declare class RuleActionListUiComponent implements ControlValueAccessor,
|
|
|
43
43
|
ngOnDestroy(): void;
|
|
44
44
|
removeAction(control: FormControl): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleActionListUiComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleActionListUiComponent, "aca-rule-action-list", never, { "actionDefinitions": "actionDefinitions"; "readOnly": "readOnly"; "parameterConstraints": "parameterConstraints"; "nodeId": "nodeId"; }, {}, never, never, true, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleActionListUiComponent, "aca-rule-action-list", never, { "actionDefinitions": { "alias": "actionDefinitions"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "parameterConstraints": { "alias": "parameterConstraints"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
47
|
}
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import { OnChanges,
|
|
24
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
25
25
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
26
26
|
import { ActionDefinitionTransformed, RuleAction } from '../../model/rule-action.model';
|
|
27
27
|
import { CardViewItem, CardViewSelectItemOption, CardViewUpdateService } from '@alfresco/adf-core';
|
|
28
28
|
import { ActionParameterConstraint } from '../../model/action-parameter-constraint.model';
|
|
29
|
-
import { CategoryService,
|
|
29
|
+
import { CategoryService, SecurityControlsService, TagService } from '@alfresco/adf-content-services';
|
|
30
30
|
import { MatDialog } from '@angular/material/dialog';
|
|
31
31
|
import { TranslateService } from '@ngx-translate/core';
|
|
32
32
|
import * as i0 from "@angular/core";
|
|
33
|
-
export declare class RuleActionUiComponent implements ControlValueAccessor, OnInit, OnChanges
|
|
33
|
+
export declare class RuleActionUiComponent implements ControlValueAccessor, OnInit, OnChanges {
|
|
34
34
|
private cardViewUpdateService;
|
|
35
35
|
private dialog;
|
|
36
36
|
private translate;
|
|
@@ -54,18 +54,17 @@ export declare class RuleActionUiComponent implements ControlValueAccessor, OnIn
|
|
|
54
54
|
parameters: {
|
|
55
55
|
[key: string]: unknown;
|
|
56
56
|
};
|
|
57
|
-
private onDestroy$;
|
|
58
57
|
get selectedActionDefinitionId(): string;
|
|
59
58
|
get selectedActionDefinition(): ActionDefinitionTransformed;
|
|
60
59
|
onChange: (action: RuleAction) => void;
|
|
61
60
|
onTouch: () => void;
|
|
61
|
+
private readonly destroyRef;
|
|
62
62
|
constructor(cardViewUpdateService: CardViewUpdateService, dialog: MatDialog, translate: TranslateService, tagService: TagService, categoryService: CategoryService, securityControlsService: SecurityControlsService);
|
|
63
63
|
writeValue(action: RuleAction): void;
|
|
64
64
|
registerOnChange(fn: (action: RuleAction) => void): void;
|
|
65
65
|
registerOnTouched(fn: any): void;
|
|
66
66
|
ngOnInit(): void;
|
|
67
67
|
ngOnChanges(changes: SimpleChanges): void;
|
|
68
|
-
ngOnDestroy(): void;
|
|
69
68
|
setCardViewProperties(securityMarkOptions?: CardViewSelectItemOption<string>[]): void;
|
|
70
69
|
private openSelectorDialog;
|
|
71
70
|
private openCatDialog;
|
|
@@ -75,5 +74,5 @@ export declare class RuleActionUiComponent implements ControlValueAccessor, OnIn
|
|
|
75
74
|
loadSecurityMarkOptions(): void;
|
|
76
75
|
private formatSecurityMarkConstraint;
|
|
77
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleActionUiComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleActionUiComponent, "aca-rule-action", never, { "nodeId": "nodeId"; "actionDefinitions": "actionDefinitions"; "readOnly": "readOnly"; "parameterConstraints": "parameterConstraints"; }, {}, never, never, true, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleActionUiComponent, "aca-rule-action", never, { "nodeId": { "alias": "nodeId"; "required": false; }; "actionDefinitions": { "alias": "actionDefinitions"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "parameterConstraints": { "alias": "parameterConstraints"; "required": false; }; }, {}, never, never, true, never>;
|
|
79
78
|
}
|
|
@@ -55,5 +55,5 @@ export declare class RuleCompositeConditionUiComponent implements ControlValueAc
|
|
|
55
55
|
ngOnDestroy(): void;
|
|
56
56
|
ngOnChanges(changes: SimpleChanges): void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleCompositeConditionUiComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleCompositeConditionUiComponent, "aca-rule-composite-condition", never, { "secondaryBackground": "secondaryBackground"; "childCondition": "childCondition"; "readOnly": "readOnly"; }, {}, never, never, true, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleCompositeConditionUiComponent, "aca-rule-composite-condition", never, { "secondaryBackground": { "alias": "secondaryBackground"; "required": false; }; "childCondition": { "alias": "childCondition"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
59
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import {
|
|
24
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
25
25
|
import { AbstractControl, ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
26
26
|
import { RuleSimpleCondition } from '../../model/rule-simple-condition.model';
|
|
27
27
|
import { RuleConditionField } from './rule-condition-fields';
|
|
@@ -32,7 +32,7 @@ interface AutoCompleteOption {
|
|
|
32
32
|
displayLabel: string;
|
|
33
33
|
value: string;
|
|
34
34
|
}
|
|
35
|
-
export declare class RuleSimpleConditionUiComponent implements OnInit, ControlValueAccessor, OnChanges
|
|
35
|
+
export declare class RuleSimpleConditionUiComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
36
36
|
private appSettings;
|
|
37
37
|
private categoryService;
|
|
38
38
|
private tagService;
|
|
@@ -45,8 +45,8 @@ export declare class RuleSimpleConditionUiComponent implements OnInit, ControlVa
|
|
|
45
45
|
autoCompleteOptions: AutoCompleteOption[];
|
|
46
46
|
showLoadingSpinner: boolean;
|
|
47
47
|
readOnly: boolean;
|
|
48
|
-
private onDestroy$;
|
|
49
48
|
private autoCompleteOptionsSubscription;
|
|
49
|
+
private readonly destroyRef;
|
|
50
50
|
private readonly disabledTags;
|
|
51
51
|
private readonly disabledCategories;
|
|
52
52
|
readonly fields: RuleConditionField[];
|
|
@@ -63,7 +63,6 @@ export declare class RuleSimpleConditionUiComponent implements OnInit, ControlVa
|
|
|
63
63
|
registerOnChange(fn: () => void): void;
|
|
64
64
|
registerOnTouched(fn: () => void): void;
|
|
65
65
|
onChangeField(): void;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
66
|
ngOnInit(): void;
|
|
68
67
|
ngOnChanges(changes: SimpleChanges): void;
|
|
69
68
|
private getCategories;
|
|
@@ -72,6 +71,6 @@ export declare class RuleSimpleConditionUiComponent implements OnInit, ControlVa
|
|
|
72
71
|
autoSelectValidOption(): void;
|
|
73
72
|
buildAutocompleteOptionFromCategory(categoryId: string, categoryPath: string, categoryName: string): AutoCompleteOption;
|
|
74
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleSimpleConditionUiComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleSimpleConditionUiComponent, "aca-rule-simple-condition", never, { "readOnly": "readOnly"; }, {}, never, never, true, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleSimpleConditionUiComponent, "aca-rule-simple-condition", never, { "readOnly": { "alias": "readOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
76
75
|
}
|
|
77
76
|
export {};
|
|
@@ -51,5 +51,5 @@ export declare class RuleOptionsUiComponent implements ControlValueAccessor, OnC
|
|
|
51
51
|
ngOnDestroy(): void;
|
|
52
52
|
toggleErrorScriptDropdown(value: MatCheckboxChange): void;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleOptionsUiComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleOptionsUiComponent, "aca-rule-options", never, { "errorScriptConstraint": "errorScriptConstraint"; }, {}, never, never, true, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleOptionsUiComponent, "aca-rule-options", never, { "errorScriptConstraint": { "alias": "errorScriptConstraint"; "required": false; }; }, {}, never, never, true, never>;
|
|
55
55
|
}
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import { EventEmitter,
|
|
25
|
-
import {
|
|
24
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
25
|
+
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
26
26
|
import { Rule } from '../model/rule.model';
|
|
27
27
|
import { ActionDefinitionTransformed } from '../model/rule-action.model';
|
|
28
28
|
import { ActionParameterConstraint } from '../model/action-parameter-constraint.model';
|
|
29
29
|
import { CategoryService } from '@alfresco/adf-content-services';
|
|
30
30
|
import * as i0 from "@angular/core";
|
|
31
|
-
export declare class RuleDetailsUiComponent implements OnInit
|
|
31
|
+
export declare class RuleDetailsUiComponent implements OnInit {
|
|
32
32
|
private categoryService;
|
|
33
33
|
readOnly: boolean;
|
|
34
34
|
descriptionPlaceHolder: string;
|
|
@@ -41,7 +41,6 @@ export declare class RuleDetailsUiComponent implements OnInit, OnDestroy {
|
|
|
41
41
|
nodeId: string;
|
|
42
42
|
formValidationChanged: EventEmitter<boolean>;
|
|
43
43
|
formValueChanged: EventEmitter<Partial<Rule>>;
|
|
44
|
-
private onDestroy$;
|
|
45
44
|
form: UntypedFormGroup;
|
|
46
45
|
errorScriptConstraint: ActionParameterConstraint;
|
|
47
46
|
get name(): UntypedFormControl;
|
|
@@ -49,9 +48,9 @@ export declare class RuleDetailsUiComponent implements OnInit, OnDestroy {
|
|
|
49
48
|
get triggers(): UntypedFormControl;
|
|
50
49
|
get conditions(): UntypedFormControl;
|
|
51
50
|
get showOptionsSection(): boolean;
|
|
51
|
+
private readonly destroyRef;
|
|
52
52
|
constructor(categoryService: CategoryService);
|
|
53
53
|
ngOnInit(): void;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleDetailsUiComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleDetailsUiComponent, "aca-rule-details", never, { "readOnly": "readOnly"; "value": "value"; "preview": "preview"; "actionDefinitions": "actionDefinitions"; "parameterConstraints": "parameterConstraints"; "nodeId": "nodeId"; }, { "formValidationChanged": "formValidationChanged"; "formValueChanged": "formValueChanged"; }, never, never, true, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleDetailsUiComponent, "aca-rule-details", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; "actionDefinitions": { "alias": "actionDefinitions"; "required": false; }; "parameterConstraints": { "alias": "parameterConstraints"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; }, { "formValidationChanged": "formValidationChanged"; "formValueChanged": "formValueChanged"; }, never, never, true, never>;
|
|
57
56
|
}
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import { EventEmitter,
|
|
24
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
25
25
|
import { RuleSet } from '../../model/rule-set.model';
|
|
26
26
|
import { Rule } from '../../model/rule.model';
|
|
27
27
|
import { RuleGroupingItem } from '../../model/rule-grouping-item.model';
|
|
28
28
|
import { Observable } from 'rxjs';
|
|
29
29
|
import * as i0 from "@angular/core";
|
|
30
|
-
export declare class RuleListUiComponent implements OnInit
|
|
30
|
+
export declare class RuleListUiComponent implements OnInit {
|
|
31
31
|
mainRuleSet$: Observable<RuleSet>;
|
|
32
32
|
folderId: string;
|
|
33
33
|
inheritedRuleSets: RuleSet[];
|
|
@@ -47,9 +47,8 @@ export declare class RuleListUiComponent implements OnInit, OnDestroy {
|
|
|
47
47
|
inheritedRuleSetGroupingItems: RuleGroupingItem[];
|
|
48
48
|
isMainRuleSetOwned: boolean;
|
|
49
49
|
isMainRuleSetLinked: boolean;
|
|
50
|
-
private
|
|
50
|
+
private readonly destroyRef;
|
|
51
51
|
ngOnInit(): void;
|
|
52
|
-
ngOnDestroy(): void;
|
|
53
52
|
getRuleSetGroupingItems(ruleSet: RuleSet, filterOutDisabledRules: boolean): RuleGroupingItem[];
|
|
54
53
|
onLoadMoreRuleSets(): void;
|
|
55
54
|
onLoadMoreRules(ruleSet: RuleSet): void;
|
|
@@ -58,5 +57,5 @@ export declare class RuleListUiComponent implements OnInit, OnDestroy {
|
|
|
58
57
|
onRuleSetEditLinkClicked(event: Event): void;
|
|
59
58
|
onRuleSetUnlinkClicked(event: Event): void;
|
|
60
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleListUiComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleListUiComponent, "aca-rule-list", never, { "mainRuleSet$": "mainRuleSet$"; "folderId": "folderId"; "inheritedRuleSets": "inheritedRuleSets"; "hasMoreRuleSets": "hasMoreRuleSets"; "ruleSetsLoading": "ruleSetsLoading"; "selectedRule": "selectedRule"; }, { "loadMoreRuleSets": "loadMoreRuleSets"; "loadMoreRules": "loadMoreRules"; "selectRule": "selectRule"; "ruleEnabledChanged": "ruleEnabledChanged"; "ruleSetEditLinkClicked": "ruleSetEditLinkClicked"; "ruleSetUnlinkClicked": "ruleSetUnlinkClicked"; }, never, never, true, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleListUiComponent, "aca-rule-list", never, { "mainRuleSet$": { "alias": "mainRuleSet$"; "required": false; }; "folderId": { "alias": "folderId"; "required": false; }; "inheritedRuleSets": { "alias": "inheritedRuleSets"; "required": false; }; "hasMoreRuleSets": { "alias": "hasMoreRuleSets"; "required": false; }; "ruleSetsLoading": { "alias": "ruleSetsLoading"; "required": false; }; "selectedRule": { "alias": "selectedRule"; "required": false; }; }, { "loadMoreRuleSets": "loadMoreRuleSets"; "loadMoreRules": "loadMoreRules"; "selectRule": "selectRule"; "ruleEnabledChanged": "ruleEnabledChanged"; "ruleSetEditLinkClicked": "ruleSetEditLinkClicked"; "ruleSetUnlinkClicked": "ruleSetUnlinkClicked"; }, never, never, true, never>;
|
|
62
61
|
}
|
|
@@ -40,5 +40,5 @@ export declare class RuleListGroupingUiComponent {
|
|
|
40
40
|
onClickLoadMoreRules(ruleSet: RuleSet): void;
|
|
41
41
|
onClickLoadMoreRuleSets(): void;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleListGroupingUiComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleListGroupingUiComponent, "aca-rule-list-grouping", never, { "items": "items"; "selectedRule": "selectedRule"; "showEnabledToggles": "showEnabledToggles"; }, { "selectRule": "selectRule"; "ruleEnabledChanged": "ruleEnabledChanged"; "loadMoreRules": "loadMoreRules"; "loadMoreRuleSets": "loadMoreRuleSets"; }, never, never, true, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleListGroupingUiComponent, "aca-rule-list-grouping", never, { "items": { "alias": "items"; "required": false; }; "selectedRule": { "alias": "selectedRule"; "required": false; }; "showEnabledToggles": { "alias": "showEnabledToggles"; "required": false; }; }, { "selectRule": "selectRule"; "ruleEnabledChanged": "ruleEnabledChanged"; "loadMoreRules": "loadMoreRules"; "loadMoreRuleSets": "loadMoreRuleSets"; }, never, never, true, never>;
|
|
44
44
|
}
|
|
@@ -31,5 +31,5 @@ export declare class RuleListItemUiComponent {
|
|
|
31
31
|
enabledChanged: EventEmitter<boolean>;
|
|
32
32
|
onToggleClick(isEnabled: boolean, event: Event): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleListItemUiComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RuleListItemUiComponent, "aca-rule-list-item", never, { "rule": "rule"; "isSelected": "isSelected"; "showEnabledToggle": "showEnabledToggle"; }, { "enabledChanged": "enabledChanged"; }, never, never, true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleListItemUiComponent, "aca-rule-list-item", never, { "rule": { "alias": "rule"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "showEnabledToggle": { "alias": "showEnabledToggle"; "required": false; }; }, { "enabledChanged": "enabledChanged"; }, never, never, true, never>;
|
|
35
35
|
}
|
|
@@ -21,12 +21,11 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import {
|
|
24
|
+
import { OnInit } from '@angular/core';
|
|
25
25
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
26
26
|
import { FolderRuleSetsService } from '../services/folder-rule-sets.service';
|
|
27
27
|
import { Node } from '@alfresco/js-api';
|
|
28
28
|
import { RuleSet } from '../model/rule-set.model';
|
|
29
|
-
import { Subject } from 'rxjs';
|
|
30
29
|
import { NotificationService } from '@alfresco/adf-core';
|
|
31
30
|
import * as i0 from "@angular/core";
|
|
32
31
|
export interface RuleSetPickerOptions {
|
|
@@ -34,7 +33,7 @@ export interface RuleSetPickerOptions {
|
|
|
34
33
|
defaultNodeId: string;
|
|
35
34
|
existingRuleSet?: RuleSet;
|
|
36
35
|
}
|
|
37
|
-
export declare class RuleSetPickerSmartComponent implements OnInit
|
|
36
|
+
export declare class RuleSetPickerSmartComponent implements OnInit {
|
|
38
37
|
data: RuleSetPickerOptions;
|
|
39
38
|
private folderRuleSetsService;
|
|
40
39
|
private dialogRef;
|
|
@@ -48,10 +47,9 @@ export declare class RuleSetPickerSmartComponent implements OnInit, OnDestroy {
|
|
|
48
47
|
private folderLoading$;
|
|
49
48
|
mainRuleSet$: import("rxjs").Observable<RuleSet>;
|
|
50
49
|
rulesLoading$: import("rxjs").Observable<boolean>;
|
|
51
|
-
|
|
50
|
+
private readonly destroyRef;
|
|
52
51
|
constructor(data: RuleSetPickerOptions, folderRuleSetsService: FolderRuleSetsService, dialogRef: MatDialogRef<RuleSetPickerSmartComponent>, notificationService: NotificationService);
|
|
53
52
|
ngOnInit(): void;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
53
|
onNodeSelect(nodes: Node[]): void;
|
|
56
54
|
setFolderLoading(isLoading: boolean): void;
|
|
57
55
|
onSubmit(): void;
|
|
@@ -7,10 +7,10 @@ import { FolderRulesService } from './folder-rules.service';
|
|
|
7
7
|
import { Rule } from '../model/rule.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class FolderRuleSetsService {
|
|
10
|
-
private apiService;
|
|
11
|
-
private contentApi;
|
|
12
|
-
private folderRulesService;
|
|
13
|
-
static MAX_RULE_SETS_PER_GET
|
|
10
|
+
private readonly apiService;
|
|
11
|
+
private readonly contentApi;
|
|
12
|
+
private readonly folderRulesService;
|
|
13
|
+
static readonly MAX_RULE_SETS_PER_GET = 100;
|
|
14
14
|
static isOwnedRuleSet(ruleSet: RuleSet, nodeId: string): boolean;
|
|
15
15
|
static isLinkedRuleSet(ruleSet: RuleSet, nodeId: string): boolean;
|
|
16
16
|
static isMainRuleSet(ruleSet: RuleSet, nodeId: string): boolean;
|
|
@@ -10,7 +10,7 @@ interface GetRulesResult {
|
|
|
10
10
|
}
|
|
11
11
|
export declare class FolderRulesService {
|
|
12
12
|
private apiService;
|
|
13
|
-
static MAX_RULES_PER_GET
|
|
13
|
+
static readonly MAX_RULES_PER_GET = 100;
|
|
14
14
|
static get emptyCompositeCondition(): RuleCompositeCondition;
|
|
15
15
|
static get emptyRuleOptions(): RuleOptions;
|
|
16
16
|
static get emptyRule(): Rule;
|
|
@@ -22,28 +22,22 @@
|
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
24
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
25
|
-
import {
|
|
26
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
27
|
-
import { Store } from '@ngrx/store';
|
|
28
|
-
import { TranslationService } from '@alfresco/adf-core';
|
|
25
|
+
import { OnInit } from '@angular/core';
|
|
29
26
|
import { FormControl } from '@angular/forms';
|
|
30
|
-
import { AppExtensionService } from '@alfresco/aca-shared';
|
|
31
27
|
import * as i0 from "@angular/core";
|
|
32
|
-
export declare class BulkActionsDropdownComponent implements OnInit
|
|
33
|
-
private store;
|
|
34
|
-
private translationService;
|
|
35
|
-
private extensions;
|
|
28
|
+
export declare class BulkActionsDropdownComponent implements OnInit {
|
|
36
29
|
items: ContentActionRef[];
|
|
37
30
|
placeholder: string;
|
|
38
31
|
tooltip: string;
|
|
39
32
|
bulkSelectControl: FormControl<any>;
|
|
33
|
+
private readonly store;
|
|
34
|
+
private readonly translationService;
|
|
35
|
+
private readonly extensions;
|
|
36
|
+
private readonly destroyRef;
|
|
40
37
|
private readonly totalItems$;
|
|
41
|
-
private readonly onDestroy$;
|
|
42
|
-
constructor(store: Store<AppStore>, translationService: TranslationService, extensions: AppExtensionService);
|
|
43
38
|
ngOnInit(): void;
|
|
44
|
-
ngOnDestroy(): void;
|
|
45
39
|
runAction(actionOption: ContentActionRef): void;
|
|
46
40
|
onKeyDown(event: KeyboardEvent): void;
|
|
47
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<BulkActionsDropdownComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BulkActionsDropdownComponent, "aca-bulk-actions-dropdown", never, { "items": "items"; }, {}, never, never, true, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BulkActionsDropdownComponent, "aca-bulk-actions-dropdown", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
43
|
}
|
|
@@ -39,5 +39,5 @@ export declare class LocationLinkComponent implements OnInit {
|
|
|
39
39
|
private getDisplayText;
|
|
40
40
|
private getTooltip;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocationLinkComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LocationLinkComponent, "aca-location-link", never, { "context": "context"; "showLocation": "showLocation"; }, {}, never, never, true, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocationLinkComponent, "aca-location-link", never, { "context": { "alias": "context"; "required": false; }; "showLocation": { "alias": "showLocation"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
43
|
}
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import {
|
|
25
|
-
import { Observable
|
|
24
|
+
import { OnInit } from '@angular/core';
|
|
25
|
+
import { Observable } from 'rxjs';
|
|
26
26
|
import { Store } from '@ngrx/store';
|
|
27
27
|
import { SelectionState } from '@alfresco/adf-extensions';
|
|
28
28
|
import { AppStore } from '@alfresco/aca-shared/store';
|
|
29
29
|
import * as i0 from "@angular/core";
|
|
30
|
-
export declare class ToggleSharedComponent implements OnInit
|
|
30
|
+
export declare class ToggleSharedComponent implements OnInit {
|
|
31
31
|
private store;
|
|
32
32
|
data: {
|
|
33
33
|
iconButton?: string;
|
|
@@ -36,11 +36,10 @@ export declare class ToggleSharedComponent implements OnInit, OnDestroy {
|
|
|
36
36
|
selectionState: SelectionState;
|
|
37
37
|
selectionLabel: string;
|
|
38
38
|
isShared: boolean;
|
|
39
|
-
|
|
39
|
+
private readonly destroyRef;
|
|
40
40
|
constructor(store: Store<AppStore>);
|
|
41
41
|
ngOnInit(): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
42
|
editSharedNode(selection: SelectionState, focusedElementOnCloseSelector: string): void;
|
|
44
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSharedComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSharedComponent, "app-toggle-shared", never, { "data": "data"; }, {}, never, never, true, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSharedComponent, "app-toggle-shared", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
45
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
2
|
+
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
3
|
+
import { ContextMenuOverlayRef } from './context-menu-overlay';
|
|
4
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
5
|
+
import { AppExtensionService } from '@alfresco/aca-shared';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BaseContextMenuDirective {
|
|
8
|
+
private readonly contextMenuOverlayRef;
|
|
9
|
+
protected extensions: AppExtensionService;
|
|
10
|
+
direction: Direction;
|
|
11
|
+
actions: Array<ContentActionRef>;
|
|
12
|
+
trigger: MatMenuTrigger;
|
|
13
|
+
handleKeydownEscape(event: KeyboardEvent): void;
|
|
14
|
+
constructor(contextMenuOverlayRef: ContextMenuOverlayRef, extensions: AppExtensionService, direction: Direction);
|
|
15
|
+
onClickOutsideEvent(): void;
|
|
16
|
+
runAction(contentActionRef: ContentActionRef): void;
|
|
17
|
+
trackByActionId(_: number, obj: ContentActionRef): string;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseContextMenuDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseContextMenuDirective, never, never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -9,5 +9,5 @@ export declare class ContextMenuItemComponent {
|
|
|
9
9
|
private hasClickAction;
|
|
10
10
|
trackByActionId(_: number, obj: ContentActionRef): string;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuItemComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuItemComponent, "app-context-menu-item", never, { "actionRef": "actionRef"; }, {}, never, never, true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuItemComponent, "app-context-menu-item", never, { "actionRef": { "alias": "actionRef"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -21,13 +21,12 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import { EventEmitter, OnInit
|
|
24
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
25
25
|
import * as i0 from "@angular/core";
|
|
26
|
-
export declare class OutsideEventDirective implements OnInit
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
export declare class OutsideEventDirective implements OnInit {
|
|
27
|
+
clickOutside: EventEmitter<void>;
|
|
28
|
+
private readonly destroyRef;
|
|
29
29
|
ngOnInit(): void;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
30
|
private findAncestor;
|
|
32
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<OutsideEventDirective, never>;
|
|
33
32
|
static ɵdir: i0.ɵɵDirectiveDeclaration<OutsideEventDirective, "[acaContextMenuOutsideEvent]", never, {}, { "clickOutside": "clickOutside"; }, never, never, true, never>;
|
|
@@ -21,28 +21,17 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import {
|
|
25
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
26
|
-
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
24
|
+
import { AfterViewInit, OnInit } from '@angular/core';
|
|
27
25
|
import { ContextMenuOverlayRef } from './context-menu-overlay';
|
|
28
26
|
import { Direction } from '@angular/cdk/bidi';
|
|
29
27
|
import { AppExtensionService } from '@alfresco/aca-shared';
|
|
28
|
+
import { BaseContextMenuDirective } from './base-context-menu.directive';
|
|
30
29
|
import * as i0 from "@angular/core";
|
|
31
|
-
export declare class ContextMenuComponent implements OnInit,
|
|
32
|
-
private
|
|
33
|
-
private extensions;
|
|
34
|
-
direction: Direction;
|
|
35
|
-
private onDestroy$;
|
|
36
|
-
actions: Array<ContentActionRef>;
|
|
37
|
-
trigger: MatMenuTrigger;
|
|
38
|
-
handleKeydownEscape(event: KeyboardEvent): void;
|
|
30
|
+
export declare class ContextMenuComponent extends BaseContextMenuDirective implements OnInit, AfterViewInit {
|
|
31
|
+
private readonly destroyRef;
|
|
39
32
|
constructor(contextMenuOverlayRef: ContextMenuOverlayRef, extensions: AppExtensionService, direction: Direction);
|
|
40
|
-
onClickOutsideEvent(): void;
|
|
41
|
-
runAction(contentActionRef: ContentActionRef): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
33
|
ngOnInit(): void;
|
|
44
34
|
ngAfterViewInit(): void;
|
|
45
|
-
trackByActionId(_: number, obj: ContentActionRef): string;
|
|
46
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuComponent, never>;
|
|
47
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuComponent, "aca-context-menu", never, {}, {}, never, never, true, never>;
|
|
48
37
|
}
|
|
@@ -26,6 +26,7 @@ import { Overlay } from '@angular/cdk/overlay';
|
|
|
26
26
|
import { ContextMenuOverlayRef } from './context-menu-overlay';
|
|
27
27
|
import { ContextmenuOverlayConfig } from './interfaces';
|
|
28
28
|
import { UserPreferencesService } from '@alfresco/adf-core';
|
|
29
|
+
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
29
30
|
import * as i0 from "@angular/core";
|
|
30
31
|
export declare class ContextMenuService {
|
|
31
32
|
private injector;
|
|
@@ -33,10 +34,12 @@ export declare class ContextMenuService {
|
|
|
33
34
|
private userPreferenceService;
|
|
34
35
|
private direction;
|
|
35
36
|
constructor(injector: Injector, overlay: Overlay, userPreferenceService: UserPreferencesService);
|
|
36
|
-
open(config: ContextmenuOverlayConfig): ContextMenuOverlayRef;
|
|
37
|
+
open(config: ContextmenuOverlayConfig, customActions?: ContentActionRef[]): ContextMenuOverlayRef;
|
|
37
38
|
private createOverlay;
|
|
38
39
|
private attachDialogContainer;
|
|
39
40
|
private createInjector;
|
|
41
|
+
private attachCustomDialogContainer;
|
|
42
|
+
private createCustomInjector;
|
|
40
43
|
private getOverlayConfig;
|
|
41
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuService, never>;
|
|
42
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService>;
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import {
|
|
25
|
-
export declare const
|
|
24
|
+
import { InjectionToken } from '@angular/core';
|
|
25
|
+
export declare const CONTEXT_MENU_CUSTOM_ACTIONS: InjectionToken<unknown>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { AfterViewInit } from '@angular/core';
|
|
25
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
26
|
+
import { ContextMenuOverlayRef } from './context-menu-overlay';
|
|
27
|
+
import { AppExtensionService } from '@alfresco/aca-shared';
|
|
28
|
+
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
29
|
+
import { BaseContextMenuDirective } from './base-context-menu.directive';
|
|
30
|
+
import * as i0 from "@angular/core";
|
|
31
|
+
export declare class CustomContextMenuComponent extends BaseContextMenuDirective implements AfterViewInit {
|
|
32
|
+
constructor(contextMenuOverlayRef: ContextMenuOverlayRef, extensions: AppExtensionService, direction: Direction, customActions: ContentActionRef[]);
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomContextMenuComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomContextMenuComponent, "aca-custom-context-menu", never, {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
25
25
|
import { ActivatedRoute } from '@angular/router';
|
|
26
26
|
import { ContentApiService, PageComponent } from '@alfresco/aca-shared';
|
|
27
|
-
import { Subject } from 'rxjs';
|
|
28
27
|
import { ContentService } from '@alfresco/adf-content-services';
|
|
29
28
|
import { PathElement } from '@alfresco/js-api';
|
|
30
29
|
import { ContentActionRef } from '@alfresco/adf-extensions';
|
|
@@ -35,11 +34,11 @@ export declare class DetailsComponent extends PageComponent implements OnInit, O
|
|
|
35
34
|
private contentService;
|
|
36
35
|
nodeId: string;
|
|
37
36
|
isLoading: boolean;
|
|
38
|
-
onDestroy$: Subject<boolean>;
|
|
39
37
|
activeTab: number;
|
|
40
38
|
aspectActions: Array<ContentActionRef>;
|
|
41
39
|
nodeIcon: string;
|
|
42
40
|
canManagePermissions: boolean;
|
|
41
|
+
private readonly onDestroy$;
|
|
43
42
|
constructor(route: ActivatedRoute, contentApi: ContentApiService, contentService: ContentService);
|
|
44
43
|
ngOnInit(): void;
|
|
45
44
|
setActiveTab(tabName: string): void;
|
|
@@ -23,18 +23,17 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { AppExtensionService, Badge } from '@alfresco/aca-shared';
|
|
25
25
|
import { NodeEntry } from '@alfresco/js-api';
|
|
26
|
-
import {
|
|
26
|
+
import { OnInit } from '@angular/core';
|
|
27
27
|
import * as i0 from "@angular/core";
|
|
28
|
-
export declare class DatatableCellBadgesComponent implements OnInit
|
|
28
|
+
export declare class DatatableCellBadgesComponent implements OnInit {
|
|
29
29
|
private appExtensionService;
|
|
30
30
|
node: NodeEntry;
|
|
31
31
|
badges: Badge[];
|
|
32
|
-
private
|
|
32
|
+
private readonly destroyRef;
|
|
33
33
|
constructor(appExtensionService: AppExtensionService);
|
|
34
34
|
ngOnInit(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
35
|
onBadgeClick(badge: Badge): void;
|
|
37
36
|
onKeyPress(badge: Badge): void;
|
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableCellBadgesComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatatableCellBadgesComponent, "aca-datatable-cell-badges", never, { "node": "node"; }, {}, never, never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatatableCellBadgesComponent, "aca-datatable-cell-badges", never, { "node": { "alias": "node"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
39
|
}
|
|
@@ -22,20 +22,19 @@
|
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
24
|
import { NameColumnComponent, NodesApiService } from '@alfresco/adf-content-services';
|
|
25
|
-
import { ChangeDetectorRef, ElementRef,
|
|
25
|
+
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
26
26
|
import { Actions } from '@ngrx/effects';
|
|
27
27
|
import * as i0 from "@angular/core";
|
|
28
|
-
export declare class CustomNameColumnComponent extends NameColumnComponent implements OnInit
|
|
28
|
+
export declare class CustomNameColumnComponent extends NameColumnComponent implements OnInit {
|
|
29
29
|
private cd;
|
|
30
30
|
private actions$;
|
|
31
31
|
private nodesService;
|
|
32
|
-
private onDestroy$$;
|
|
33
32
|
isFile: boolean;
|
|
34
33
|
isFileWriteLocked: boolean;
|
|
34
|
+
private readonly destroy;
|
|
35
35
|
constructor(element: ElementRef, cd: ChangeDetectorRef, actions$: Actions, nodesService: NodesApiService);
|
|
36
36
|
ngOnInit(): void;
|
|
37
37
|
onLinkClick(event: Event): void;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomNameColumnComponent, never>;
|
|
40
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomNameColumnComponent, "aca-custom-name-column", never, {}, {}, never, never, true, never>;
|
|
41
40
|
}
|
|
@@ -31,5 +31,5 @@ export declare class TagsColumnComponent implements OnInit {
|
|
|
31
31
|
ngOnInit(): void;
|
|
32
32
|
onTagsLoaded(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagsColumnComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagsColumnComponent, "aca-tags-column", never, { "context": "context"; }, {}, never, never, true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagsColumnComponent, "aca-tags-column", never, { "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
|
|
35
35
|
}
|