@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
package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts
CHANGED
|
@@ -40,5 +40,5 @@ export declare class ThumbnailColumnComponent implements OnChanges {
|
|
|
40
40
|
row: any;
|
|
41
41
|
}): string;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThumbnailColumnComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThumbnailColumnComponent, "aca-custom-thumbnail-column", never, { "context": "context"; }, {}, never, never, true, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThumbnailColumnComponent, "aca-custom-thumbnail-column", never, { "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
44
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import {
|
|
3
|
+
import { Node, NodeEntry, PathElement } from '@alfresco/js-api';
|
|
4
4
|
import { NodeActionsService } from '../../services/node-actions.service';
|
|
5
5
|
import { ContentApiService, PageComponent } from '@alfresco/aca-shared';
|
|
6
6
|
import { FileUploadEvent, FilterSearch } from '@alfresco/adf-content-services';
|
|
@@ -32,5 +32,5 @@ export declare class CommentsTabComponent implements OnInit {
|
|
|
32
32
|
constructor(permission: NodePermissionService);
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommentsTabComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommentsTabComponent, "app-comments-tab", never, { "node": "node"; }, {}, never, never, true, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommentsTabComponent, "app-comments-tab", never, { "node": { "alias": "node"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
36
|
}
|
package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts
CHANGED
|
@@ -21,20 +21,19 @@
|
|
|
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,
|
|
25
|
-
import {
|
|
24
|
+
import { OnChanges, OnInit } from '@angular/core';
|
|
25
|
+
import { FormGroupDirective, NgForm, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
26
26
|
import { QueriesApi, SiteEntry } from '@alfresco/js-api';
|
|
27
27
|
import { Store } from '@ngrx/store';
|
|
28
28
|
import { AppStore } from '@alfresco/aca-shared/store';
|
|
29
29
|
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
30
|
-
import { Subject } from 'rxjs';
|
|
31
30
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
32
31
|
import { Actions } from '@ngrx/effects';
|
|
33
32
|
import * as i0 from "@angular/core";
|
|
34
33
|
export declare class InstantErrorStateMatcher implements ErrorStateMatcher {
|
|
35
34
|
isErrorState(control: UntypedFormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
36
35
|
}
|
|
37
|
-
export declare class LibraryMetadataFormComponent implements OnInit, OnChanges
|
|
36
|
+
export declare class LibraryMetadataFormComponent implements OnInit, OnChanges {
|
|
38
37
|
private alfrescoApiService;
|
|
39
38
|
protected store: Store<AppStore>;
|
|
40
39
|
private actions$;
|
|
@@ -52,12 +51,11 @@ export declare class LibraryMetadataFormComponent implements OnInit, OnChanges,
|
|
|
52
51
|
matcher: InstantErrorStateMatcher;
|
|
53
52
|
canUpdateLibrary: boolean;
|
|
54
53
|
isAdmin: boolean;
|
|
55
|
-
|
|
54
|
+
private readonly destroyRef;
|
|
56
55
|
constructor(alfrescoApiService: AlfrescoApiService, store: Store<AppStore>, actions$: Actions);
|
|
57
56
|
toggleEdit(): void;
|
|
58
57
|
cancel(): void;
|
|
59
58
|
ngOnInit(): void;
|
|
60
|
-
ngOnDestroy(): void;
|
|
61
59
|
ngOnChanges(): void;
|
|
62
60
|
update(): void;
|
|
63
61
|
private updateForm;
|
|
@@ -65,5 +63,5 @@ export declare class LibraryMetadataFormComponent implements OnInit, OnChanges,
|
|
|
65
63
|
private handleUpdatingEvent;
|
|
66
64
|
private validateEmptyName;
|
|
67
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryMetadataFormComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryMetadataFormComponent, "app-library-metadata-form", never, { "node": "node"; }, {}, never, never, true, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryMetadataFormComponent, "app-library-metadata-form", never, { "node": { "alias": "node"; "required": false; }; }, {}, never, never, true, never>;
|
|
69
67
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class LibraryMetadataTabComponent {
|
|
4
4
|
node: SiteEntry;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryMetadataTabComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryMetadataTabComponent, "app-library-metadata-tab", never, { "node": "node"; }, {}, never, never, true, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryMetadataTabComponent, "app-library-metadata-tab", never, { "node": { "alias": "node"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
7
|
}
|
|
@@ -21,17 +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 { OnInit
|
|
24
|
+
import { OnInit } from '@angular/core';
|
|
25
25
|
import { Node } from '@alfresco/js-api';
|
|
26
|
-
import {
|
|
26
|
+
import { AppExtensionService, NodePermissionService } from '@alfresco/aca-shared';
|
|
27
27
|
import { AppStore } from '@alfresco/aca-shared/store';
|
|
28
28
|
import { AppConfigService, NotificationService } from '@alfresco/adf-core';
|
|
29
|
-
import { Observable
|
|
30
|
-
import {
|
|
29
|
+
import { Observable } from 'rxjs';
|
|
30
|
+
import { CategoryService, ContentMetadataCustomPanel, ContentMetadataService, TagService } from '@alfresco/adf-content-services';
|
|
31
31
|
import { Actions } from '@ngrx/effects';
|
|
32
32
|
import { Store } from '@ngrx/store';
|
|
33
33
|
import * as i0 from "@angular/core";
|
|
34
|
-
export declare class MetadataTabComponent implements OnInit
|
|
34
|
+
export declare class MetadataTabComponent implements OnInit {
|
|
35
35
|
private permission;
|
|
36
36
|
protected extensions: AppExtensionService;
|
|
37
37
|
private appConfig;
|
|
@@ -41,7 +41,6 @@ export declare class MetadataTabComponent implements OnInit, OnDestroy {
|
|
|
41
41
|
private tagService;
|
|
42
42
|
private categoryService;
|
|
43
43
|
private store;
|
|
44
|
-
protected onDestroy$: Subject<boolean>;
|
|
45
44
|
private _displayCategories;
|
|
46
45
|
private _displayTags;
|
|
47
46
|
node: Node;
|
|
@@ -50,10 +49,10 @@ export declare class MetadataTabComponent implements OnInit, OnDestroy {
|
|
|
50
49
|
metadataAspect: string;
|
|
51
50
|
get displayCategories(): boolean;
|
|
52
51
|
get displayTags(): boolean;
|
|
52
|
+
private readonly destroyRef;
|
|
53
53
|
constructor(permission: NodePermissionService, extensions: AppExtensionService, appConfig: AppConfigService, notificationService: NotificationService, contentMetadataService: ContentMetadataService, actions$: Actions, tagService: TagService, categoryService: CategoryService, store: Store<AppStore>);
|
|
54
54
|
ngOnInit(): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
55
|
private checkIfNodeIsUpdatable;
|
|
57
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<MetadataTabComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MetadataTabComponent, "app-metadata-tab", never, { "node": "node"; }, {}, never, never, true, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetadataTabComponent, "app-metadata-tab", never, { "node": { "alias": "node"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
58
|
}
|
|
@@ -33,5 +33,5 @@ export declare class VersionsTabComponent implements OnInit, OnChanges {
|
|
|
33
33
|
ngOnChanges(): void;
|
|
34
34
|
private updateState;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<VersionsTabComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VersionsTabComponent, "app-versions-tab", never, { "node": "node"; }, {}, never, never, true, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VersionsTabComponent, "app-versions-tab", never, { "node": { "alias": "node"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
37
|
}
|
package/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.d.ts
CHANGED
|
@@ -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 { ChangeDetectorRef,
|
|
24
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
25
25
|
import { Store } from '@ngrx/store';
|
|
26
26
|
import { AppStore } from '@alfresco/aca-shared/store';
|
|
27
27
|
import { NotificationService } from '@alfresco/adf-core';
|
|
@@ -30,7 +30,7 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
30
30
|
import { Agent } from '@alfresco/js-api';
|
|
31
31
|
import { AgentService, SearchAiService } from '@alfresco/adf-content-services';
|
|
32
32
|
import * as i0 from "@angular/core";
|
|
33
|
-
export declare class AgentsButtonComponent implements OnInit
|
|
33
|
+
export declare class AgentsButtonComponent implements OnInit {
|
|
34
34
|
private store;
|
|
35
35
|
private notificationService;
|
|
36
36
|
private searchAiService;
|
|
@@ -42,22 +42,20 @@ export declare class AgentsButtonComponent implements OnInit, OnDestroy {
|
|
|
42
42
|
};
|
|
43
43
|
private selectedNodesState;
|
|
44
44
|
private _agents;
|
|
45
|
-
private onDestroy$;
|
|
46
45
|
private _disabled;
|
|
47
46
|
private _initialsByAgentId;
|
|
48
47
|
private _hxInsightUrl;
|
|
49
|
-
avatarsMocked: boolean;
|
|
50
48
|
get agents(): Agent[];
|
|
51
49
|
get disabled(): boolean;
|
|
52
50
|
get initialsByAgentId(): {
|
|
53
51
|
[key: string]: string;
|
|
54
52
|
};
|
|
55
53
|
get hxInsightUrl(): string;
|
|
54
|
+
private readonly destroyRef;
|
|
56
55
|
constructor(store: Store<AppStore>, notificationService: NotificationService, searchAiService: SearchAiService, agentService: AgentService, translateService: TranslateService, cd: ChangeDetectorRef);
|
|
57
56
|
ngOnInit(): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
57
|
onClick(): void;
|
|
60
58
|
onAgentSelection(change: MatSelectionListChange): void;
|
|
61
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<AgentsButtonComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgentsButtonComponent, "aca-agents-button", never, { "data": "data"; }, {}, never, never, true, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AgentsButtonComponent, "aca-agents-button", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
63
61
|
}
|
package/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.d.ts
CHANGED
|
@@ -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 { TranslateService } from '@ngx-translate/core';
|
|
26
26
|
import { NotificationService, UserPreferencesService } from '@alfresco/adf-core';
|
|
27
27
|
import { FormControl } from '@angular/forms';
|
|
@@ -31,7 +31,7 @@ import { AgentService, SearchAiService } from '@alfresco/adf-content-services';
|
|
|
31
31
|
import { ModalAiService } from '../../../../services/modal-ai.service';
|
|
32
32
|
import { Agent } from '@alfresco/js-api';
|
|
33
33
|
import * as i0 from "@angular/core";
|
|
34
|
-
export declare class SearchAiInputComponent implements OnInit
|
|
34
|
+
export declare class SearchAiInputComponent implements OnInit {
|
|
35
35
|
private store;
|
|
36
36
|
private searchAiService;
|
|
37
37
|
private notificationService;
|
|
@@ -41,27 +41,25 @@ export declare class SearchAiInputComponent implements OnInit, OnDestroy {
|
|
|
41
41
|
private modalAiService;
|
|
42
42
|
placeholder: string;
|
|
43
43
|
agentId: string;
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
usedInAiResultsPage: boolean;
|
|
45
|
+
searchTerm: string;
|
|
46
46
|
private readonly storedNodesKey;
|
|
47
47
|
private _agentControl;
|
|
48
48
|
private _agents;
|
|
49
|
-
private onDestroy$;
|
|
50
49
|
private selectedNodesState;
|
|
51
50
|
private _queryControl;
|
|
52
51
|
private _initialsByAgentId;
|
|
53
|
-
avatarsMocked: boolean;
|
|
54
52
|
get agentControl(): FormControl<Agent>;
|
|
55
53
|
get agents(): Agent[];
|
|
56
54
|
get queryControl(): FormControl<string>;
|
|
57
55
|
get initialsByAgentId(): {
|
|
58
56
|
[key: string]: string;
|
|
59
57
|
};
|
|
58
|
+
private readonly destroyRef;
|
|
60
59
|
constructor(store: Store<AppStore>, searchAiService: SearchAiService, notificationService: NotificationService, agentService: AgentService, userPreferencesService: UserPreferencesService, translateService: TranslateService, modalAiService: ModalAiService);
|
|
61
60
|
ngOnInit(): void;
|
|
62
|
-
ngOnDestroy(): void;
|
|
63
61
|
onSearchSubmit(): void;
|
|
64
62
|
search(): void;
|
|
65
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchAiInputComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchAiInputComponent, "aca-search-ai-input", never, { "placeholder": "placeholder"; "agentId": "agentId"; "
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchAiInputComponent, "aca-search-ai-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "agentId": { "alias": "agentId"; "required": false; }; "usedInAiResultsPage": { "alias": "usedInAiResultsPage"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; }, {}, never, never, true, never>;
|
|
67
65
|
}
|
|
@@ -21,24 +21,24 @@
|
|
|
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 { SearchAiNavigationService } from '../../../../services/search-ai-navigation.service';
|
|
26
|
+
import { SearchAiService, SearchAiInputState } from '@alfresco/adf-content-services';
|
|
27
|
+
import { Observable } from 'rxjs';
|
|
26
28
|
import { Router } from '@angular/router';
|
|
27
|
-
import { SearchAiService } from '@alfresco/adf-content-services';
|
|
28
29
|
import * as i0 from "@angular/core";
|
|
29
|
-
export declare class SearchAiInputContainerComponent implements OnInit
|
|
30
|
+
export declare class SearchAiInputContainerComponent implements OnInit {
|
|
30
31
|
private searchAiService;
|
|
31
32
|
private searchNavigationService;
|
|
32
33
|
private router;
|
|
33
34
|
placeholder: string;
|
|
34
35
|
agentId: string;
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
usedInAiResultsPage: boolean;
|
|
37
|
+
inputState$: Observable<SearchAiInputState>;
|
|
38
|
+
isKnowledgeRetrievalPage: boolean;
|
|
37
39
|
constructor(searchAiService: SearchAiService, searchNavigationService: SearchAiNavigationService, router: Router);
|
|
38
40
|
ngOnInit(): void;
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
|
-
hideSearchInput(): void;
|
|
41
41
|
leaveSearchInput(): void;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchAiInputContainerComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchAiInputContainerComponent, "aca-search-ai-input-container", never, { "placeholder": "placeholder"; "agentId": "agentId"; "
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchAiInputContainerComponent, "aca-search-ai-input-container", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "agentId": { "alias": "agentId"; "required": false; }; "usedInAiResultsPage": { "alias": "usedInAiResultsPage"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
44
|
}
|
|
@@ -21,22 +21,21 @@
|
|
|
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 { ActivatedRoute } from '@angular/router';
|
|
26
26
|
import { PageComponent } from '@alfresco/aca-shared';
|
|
27
|
-
import { ClipboardService, ThumbnailService, UnsavedChangesGuard
|
|
27
|
+
import { ClipboardService, ThumbnailService, UnsavedChangesGuard } from '@alfresco/adf-core';
|
|
28
28
|
import { AiAnswer, Node } from '@alfresco/js-api';
|
|
29
29
|
import { TranslateService } from '@ngx-translate/core';
|
|
30
30
|
import { NodesApiService } from '@alfresco/adf-content-services';
|
|
31
31
|
import { ModalAiService } from '../../../../services/modal-ai.service';
|
|
32
32
|
import { ViewerService } from '@alfresco/aca-content/viewer';
|
|
33
33
|
import * as i0 from "@angular/core";
|
|
34
|
-
export declare class SearchAiResultsComponent extends PageComponent implements OnInit
|
|
34
|
+
export declare class SearchAiResultsComponent extends PageComponent implements OnInit {
|
|
35
35
|
private route;
|
|
36
36
|
private clipboardService;
|
|
37
37
|
private thumbnailService;
|
|
38
38
|
private nodesApiService;
|
|
39
|
-
private userPreferencesService;
|
|
40
39
|
private translateService;
|
|
41
40
|
private unsavedChangesGuard;
|
|
42
41
|
private modalAiService;
|
|
@@ -61,9 +60,8 @@ export declare class SearchAiResultsComponent extends PageComponent implements O
|
|
|
61
60
|
get nodes(): Node[];
|
|
62
61
|
get queryAnswer(): AiAnswer;
|
|
63
62
|
get searchQuery(): string;
|
|
64
|
-
constructor(route: ActivatedRoute, clipboardService: ClipboardService, thumbnailService: ThumbnailService, nodesApiService: NodesApiService,
|
|
63
|
+
constructor(route: ActivatedRoute, clipboardService: ClipboardService, thumbnailService: ThumbnailService, nodesApiService: NodesApiService, translateService: TranslateService, unsavedChangesGuard: UnsavedChangesGuard, modalAiService: ModalAiService, viewerService: ViewerService);
|
|
65
64
|
ngOnInit(): void;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
65
|
copyResponseToClipboard(): void;
|
|
68
66
|
checkUnsavedChangesAndSearch(): void;
|
|
69
67
|
performAiSearch(): void;
|
|
@@ -27,27 +27,23 @@ import { SearchQueryBuilderService } from '@alfresco/adf-content-services';
|
|
|
27
27
|
import { AppConfigService } from '@alfresco/adf-core';
|
|
28
28
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
29
29
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
30
|
-
import { Router } from '@angular/router';
|
|
30
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
31
31
|
import { Store } from '@ngrx/store';
|
|
32
|
-
import { Subject } from 'rxjs';
|
|
33
32
|
import { SearchInputControlComponent } from '../search-input-control/search-input-control.component';
|
|
34
33
|
import { SearchNavigationService } from '../search-navigation.service';
|
|
35
34
|
import { SearchLibrariesQueryBuilderService } from '../search-libraries-results/search-libraries-query-builder.service';
|
|
36
35
|
import * as i0 from "@angular/core";
|
|
37
36
|
export declare class SearchInputComponent implements OnInit, OnDestroy {
|
|
38
|
-
private queryBuilder;
|
|
39
|
-
private queryLibrariesBuilder;
|
|
40
|
-
private config;
|
|
41
|
-
private router;
|
|
42
|
-
private
|
|
43
|
-
private
|
|
44
|
-
private
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
hasOneChange: boolean;
|
|
49
|
-
hasNewChange: boolean;
|
|
50
|
-
navigationTimer: any;
|
|
37
|
+
private readonly queryBuilder;
|
|
38
|
+
private readonly queryLibrariesBuilder;
|
|
39
|
+
private readonly config;
|
|
40
|
+
private readonly router;
|
|
41
|
+
private readonly route;
|
|
42
|
+
private readonly store;
|
|
43
|
+
private readonly appHookService;
|
|
44
|
+
private readonly appService;
|
|
45
|
+
readonly searchInputService: SearchNavigationService;
|
|
46
|
+
private readonly notificationService;
|
|
51
47
|
has400LibraryError: boolean;
|
|
52
48
|
hasLibrariesConstraint: boolean;
|
|
53
49
|
searchOnChange: boolean;
|
|
@@ -55,7 +51,8 @@ export declare class SearchInputComponent implements OnInit, OnDestroy {
|
|
|
55
51
|
searchOptions: Array<SearchOptionModel>;
|
|
56
52
|
searchInputControl: SearchInputControlComponent;
|
|
57
53
|
trigger: MatMenuTrigger;
|
|
58
|
-
|
|
54
|
+
private readonly destroyRef;
|
|
55
|
+
constructor(queryBuilder: SearchQueryBuilderService, queryLibrariesBuilder: SearchLibrariesQueryBuilderService, config: AppConfigService, router: Router, route: ActivatedRoute, store: Store<AppStore>, appHookService: AppHookService, appService: AppService, searchInputService: SearchNavigationService);
|
|
59
56
|
ngOnInit(): void;
|
|
60
57
|
exitSearch(): void;
|
|
61
58
|
showInputValue(): void;
|
|
@@ -21,11 +21,9 @@
|
|
|
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 { Subject } from 'rxjs';
|
|
24
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
26
25
|
import * as i0 from "@angular/core";
|
|
27
|
-
export declare class SearchInputControlComponent
|
|
28
|
-
onDestroy$: Subject<boolean>;
|
|
26
|
+
export declare class SearchInputControlComponent {
|
|
29
27
|
/** Type of the input field to render, e.g. "search" or "text" (default). */
|
|
30
28
|
inputType: string;
|
|
31
29
|
/** Emitted when the search is submitted pressing ENTER button.
|
|
@@ -40,11 +38,10 @@ export declare class SearchInputControlComponent implements OnDestroy {
|
|
|
40
38
|
searchChange: EventEmitter<string>;
|
|
41
39
|
searchInput: ElementRef;
|
|
42
40
|
searchTerm: string;
|
|
43
|
-
ngOnDestroy(): void;
|
|
44
41
|
searchSubmit(event: any): void;
|
|
45
42
|
inputChange(event: any): void;
|
|
46
43
|
clear(): void;
|
|
47
44
|
isTermTooShort(): boolean;
|
|
48
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputControlComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputControlComponent, "app-search-input-control", never, { "inputType": "inputType"; }, { "submit": "submit"; "searchChange": "searchChange"; }, never, never, true, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputControlComponent, "app-search-input-control", never, { "inputType": { "alias": "inputType"; "required": false; }; }, { "submit": "submit"; "searchChange": "searchChange"; }, never, never, true, never>;
|
|
50
47
|
}
|
package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export declare class SearchLibrariesResultsComponent extends PageComponent imple
|
|
|
18
18
|
columns: DocumentListPresetRef[];
|
|
19
19
|
constructor(librariesQueryBuilder: SearchLibrariesQueryBuilderService, route: ActivatedRoute, appHookService: AppHookService, appService: AppService);
|
|
20
20
|
ngOnInit(): void;
|
|
21
|
-
private formatSearchQuery;
|
|
22
21
|
onSearchResultLoaded(nodePaging: NodePaging): void;
|
|
23
22
|
getNumberOfResults(): number;
|
|
24
23
|
onPaginationChanged(pagination: Pagination): void;
|
|
@@ -21,19 +21,21 @@
|
|
|
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 { OnInit } from '@angular/core';
|
|
24
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
25
25
|
import { NodeEntry, Pagination, ResultSetPaging } from '@alfresco/js-api';
|
|
26
26
|
import { ActivatedRoute } from '@angular/router';
|
|
27
|
-
import { SearchQueryBuilderService, TagService } from '@alfresco/adf-content-services';
|
|
27
|
+
import { SavedSearch, SavedSearchesService, SearchConfiguration, SearchQueryBuilderService, TagService } from '@alfresco/adf-content-services';
|
|
28
28
|
import { TranslationService } from '@alfresco/adf-core';
|
|
29
29
|
import { PageComponent } from '@alfresco/aca-shared';
|
|
30
30
|
import { SearchSortingDefinition } from '@alfresco/adf-content-services/lib/search/models/search-sorting-definition.interface';
|
|
31
31
|
import { DocumentListPresetRef } from '@alfresco/adf-extensions';
|
|
32
32
|
import * as i0 from "@angular/core";
|
|
33
33
|
export declare class SearchResultsComponent extends PageComponent implements OnInit {
|
|
34
|
-
private queryBuilder;
|
|
35
|
-
private
|
|
36
|
-
private
|
|
34
|
+
private readonly queryBuilder;
|
|
35
|
+
private readonly changeDetectorRef;
|
|
36
|
+
private readonly route;
|
|
37
|
+
private readonly translationService;
|
|
38
|
+
private readonly savedSearchesService;
|
|
37
39
|
private notificationService;
|
|
38
40
|
infoDrawerPreview$: import("rxjs").Observable<boolean>;
|
|
39
41
|
searchedWord: string;
|
|
@@ -43,15 +45,16 @@ export declare class SearchResultsComponent extends PageComponent implements OnI
|
|
|
43
45
|
isLoading: boolean;
|
|
44
46
|
totalResults: number;
|
|
45
47
|
isTagsEnabled: boolean;
|
|
48
|
+
initialSavedSearch: SavedSearch;
|
|
46
49
|
columns: DocumentListPresetRef[];
|
|
47
|
-
|
|
50
|
+
encodedQuery: string;
|
|
51
|
+
searchConfig: SearchConfiguration;
|
|
52
|
+
private readonly loadedFilters$;
|
|
53
|
+
constructor(tagsService: TagService, queryBuilder: SearchQueryBuilderService, changeDetectorRef: ChangeDetectorRef, route: ActivatedRoute, translationService: TranslationService, savedSearchesService: SavedSearchesService);
|
|
48
54
|
ngOnInit(): void;
|
|
49
55
|
onSearchError(error: {
|
|
50
56
|
message: any;
|
|
51
57
|
}): void;
|
|
52
|
-
private isOperator;
|
|
53
|
-
private formatFields;
|
|
54
|
-
formatSearchQuery(userInput: string, fields?: string[]): string;
|
|
55
58
|
onSearchResultLoaded(nodePaging: ResultSetPaging): void;
|
|
56
59
|
getNumberOfResults(): number;
|
|
57
60
|
onPaginationChanged(pagination: Pagination): void;
|
|
@@ -61,6 +64,8 @@ export declare class SearchResultsComponent extends PageComponent implements OnI
|
|
|
61
64
|
onPreviewClosed(): void;
|
|
62
65
|
onDrawerClosed(): void;
|
|
63
66
|
onSearchSortingUpdate(option: SearchSortingDefinition): void;
|
|
67
|
+
editSavedSearch(searchToSave: SavedSearch): void;
|
|
68
|
+
private updateUserQuery;
|
|
64
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultsComponent, never>;
|
|
65
70
|
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsComponent, "aca-search-results", never, {}, {}, never, never, true, never>;
|
|
66
71
|
}
|
|
@@ -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 { OnInit
|
|
24
|
+
import { OnInit } from '@angular/core';
|
|
25
25
|
import { Store } from '@ngrx/store';
|
|
26
26
|
import { BehaviorSubject } from 'rxjs';
|
|
27
27
|
import { NodesApiService } from '@alfresco/adf-content-services';
|
|
28
28
|
import { Router } from '@angular/router';
|
|
29
29
|
import { AutoDownloadService } from '@alfresco/aca-shared';
|
|
30
30
|
import * as i0 from "@angular/core";
|
|
31
|
-
export declare class SearchResultsRowComponent implements OnInit
|
|
31
|
+
export declare class SearchResultsRowComponent implements OnInit {
|
|
32
32
|
private store;
|
|
33
33
|
private nodesApiService;
|
|
34
34
|
private router;
|
|
@@ -37,7 +37,6 @@ export declare class SearchResultsRowComponent implements OnInit, OnDestroy {
|
|
|
37
37
|
private readonly highlightPrefix;
|
|
38
38
|
private readonly highlightPostfix;
|
|
39
39
|
private node;
|
|
40
|
-
private onDestroy$;
|
|
41
40
|
context: any;
|
|
42
41
|
name$: BehaviorSubject<string>;
|
|
43
42
|
title$: BehaviorSubject<string>;
|
|
@@ -48,13 +47,13 @@ export declare class SearchResultsRowComponent implements OnInit, OnDestroy {
|
|
|
48
47
|
descriptionStripped: string;
|
|
49
48
|
contentStripped: string;
|
|
50
49
|
isFile: boolean;
|
|
50
|
+
private readonly destroyRef;
|
|
51
51
|
constructor(store: Store<any>, nodesApiService: NodesApiService, router: Router, autoDownloadService: AutoDownloadService);
|
|
52
52
|
ngOnInit(): void;
|
|
53
53
|
private updateValues;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
54
|
showPreview(event: Event): void;
|
|
56
55
|
navigate(event: Event): void;
|
|
57
56
|
private stripHighlighting;
|
|
58
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultsRowComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsRowComponent, "aca-search-results-row", never, { "context": "context"; }, {}, never, never, true, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultsRowComponent, "aca-search-results-row", never, { "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
|
|
60
59
|
}
|
package/lib/components/search/search-save/dialog/delete/saved-search-delete-dialog.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SavedSearch, SavedSearchesService } from '@alfresco/adf-content-services';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { AppStore } from '@alfresco/aca-shared/store';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SavedSearchDeleteDialogComponent {
|
|
7
|
+
private readonly dialog;
|
|
8
|
+
private readonly savedSearchesService;
|
|
9
|
+
private readonly store;
|
|
10
|
+
private readonly data;
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
constructor(dialog: MatDialogRef<SavedSearchDeleteDialogComponent>, savedSearchesService: SavedSearchesService, store: Store<AppStore>, data: SavedSearch);
|
|
13
|
+
onSubmit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedSearchDeleteDialogComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SavedSearchDeleteDialogComponent, "aca-saved-search-delete-dialog", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SavedSearch, SavedSearchesService } from '@alfresco/adf-content-services';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { AppStore } from '@alfresco/aca-shared/store';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import { FormGroup } from '@angular/forms';
|
|
6
|
+
import { UniqueSearchNameValidator } from '../unique-search-name-validator';
|
|
7
|
+
import { SavedSearchForm } from '../saved-search-form.interface';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SavedSearchEditDialogComponent {
|
|
10
|
+
private readonly dialog;
|
|
11
|
+
private readonly store;
|
|
12
|
+
private readonly savedSearchesService;
|
|
13
|
+
private readonly uniqueSearchNameValidator;
|
|
14
|
+
private readonly data;
|
|
15
|
+
form: FormGroup<SavedSearchForm>;
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
constructor(dialog: MatDialogRef<SavedSearchEditDialogComponent>, store: Store<AppStore>, savedSearchesService: SavedSearchesService, uniqueSearchNameValidator: UniqueSearchNameValidator, data: SavedSearch);
|
|
18
|
+
submit(): void;
|
|
19
|
+
private onEditSuccess;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedSearchEditDialogComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SavedSearchEditDialogComponent, "aca-saved-search-edit-dialog", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
import { SavedSearchesService } from '@alfresco/adf-content-services';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import { AppStore } from '@alfresco/aca-shared/store';
|
|
6
|
+
import { UniqueSearchNameValidator } from './unique-search-name-validator';
|
|
7
|
+
import { SavedSearchForm } from './saved-search-form.interface';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SaveSearchDialogComponent {
|
|
10
|
+
private readonly dialog;
|
|
11
|
+
private readonly store;
|
|
12
|
+
private readonly savedSearchesService;
|
|
13
|
+
private readonly uniqueSearchNameValidator;
|
|
14
|
+
private readonly data;
|
|
15
|
+
form: FormGroup<SavedSearchForm>;
|
|
16
|
+
disableSubmitButton: boolean;
|
|
17
|
+
constructor(dialog: MatDialogRef<SaveSearchDialogComponent>, store: Store<AppStore>, savedSearchesService: SavedSearchesService, uniqueSearchNameValidator: UniqueSearchNameValidator, data: {
|
|
18
|
+
searchUrl: string;
|
|
19
|
+
});
|
|
20
|
+
submit(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SaveSearchDialogComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SaveSearchDialogComponent, "aca-save-search-dialog", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { FormControl } from '@angular/forms';
|
|
25
|
+
export interface SavedSearchForm {
|
|
26
|
+
name: FormControl<string>;
|
|
27
|
+
description: FormControl<string>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { SavedSearchesService } from '@alfresco/adf-content-services';
|
|
25
|
+
import { AbstractControl, AsyncValidator, ValidationErrors } from '@angular/forms';
|
|
26
|
+
import { Observable } from 'rxjs';
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
export declare class UniqueSearchNameValidator implements AsyncValidator {
|
|
29
|
+
private readonly savedSearchesService;
|
|
30
|
+
constructor(savedSearchesService: SavedSearchesService);
|
|
31
|
+
validate(control: AbstractControl): Observable<ValidationErrors | null>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UniqueSearchNameValidator, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UniqueSearchNameValidator>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SaveSearchDirective {
|
|
4
|
+
private readonly dialogRef;
|
|
5
|
+
/** Encoded search query */
|
|
6
|
+
acaSaveSearchQuery: string;
|
|
7
|
+
constructor(dialogRef: MatDialog);
|
|
8
|
+
onClick(event: MouseEvent): void;
|
|
9
|
+
private openDialog;
|
|
10
|
+
private getDialogConfig;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SaveSearchDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SaveSearchDirective, "[acaSaveSearch]", never, { "acaSaveSearchQuery": { "alias": "acaSaveSearchQuery"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|