@alfresco/aca-shared 4.3.0 → 4.4.0-6809241006

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.
Files changed (28) hide show
  1. package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +3 -3
  2. package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +3 -4
  3. package/esm2020/lib/components/toolbar/toolbar-button/toolbar-button.component.mjs +2 -2
  4. package/esm2020/lib/components/toolbar/toolbar-menu-item/toolbar-menu-item.component.mjs +2 -2
  5. package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +3 -6
  6. package/esm2020/lib/services/app.extension.service.mjs +5 -5
  7. package/esm2020/rules/app.rules.mjs +28 -28
  8. package/esm2020/rules/navigation.rules.mjs +13 -13
  9. package/esm2020/store/actions/router.actions.mjs +1 -1
  10. package/esm2020/store/actions/search.actions.mjs +1 -1
  11. package/esm2020/store/actions/template.actions.mjs +1 -1
  12. package/esm2020/store/effects/router.effects.mjs +5 -5
  13. package/fesm2015/alfresco-aca-shared-rules.mjs +49 -39
  14. package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -1
  15. package/fesm2015/alfresco-aca-shared-store.mjs +6 -4
  16. package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -1
  17. package/fesm2015/alfresco-aca-shared.mjs +19 -16
  18. package/fesm2015/alfresco-aca-shared.mjs.map +1 -1
  19. package/fesm2020/alfresco-aca-shared-rules.mjs +39 -39
  20. package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -1
  21. package/fesm2020/alfresco-aca-shared-store.mjs +4 -4
  22. package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -1
  23. package/fesm2020/alfresco-aca-shared.mjs +12 -16
  24. package/fesm2020/alfresco-aca-shared.mjs.map +1 -1
  25. package/package.json +1 -1
  26. package/store/actions/router.actions.d.ts +0 -1
  27. package/store/actions/search.actions.d.ts +0 -1
  28. package/store/actions/template.actions.d.ts +0 -2
@@ -976,12 +976,14 @@ class RouterEffects {
976
976
  this.router.navigate(action.payload);
977
977
  })), { dispatch: false });
978
978
  this.navigateToFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateFolder), map((action) => {
979
- if (action.payload && action.payload.entry) {
979
+ var _a;
980
+ if ((_a = action.payload) === null || _a === void 0 ? void 0 : _a.entry) {
980
981
  this.navigateToFolder(action.payload.entry);
981
982
  }
982
983
  })), { dispatch: false });
983
984
  this.navigateToParentFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateParentFolder), map((action) => {
984
- if (action.payload && action.payload.entry) {
985
+ var _a;
986
+ if ((_a = action.payload) === null || _a === void 0 ? void 0 : _a.entry) {
985
987
  this.navigateToParentFolder(action.payload.entry);
986
988
  }
987
989
  })), { dispatch: false });
@@ -990,7 +992,7 @@ class RouterEffects {
990
992
  navigateToFolder(node) {
991
993
  let link = null;
992
994
  const { path, id } = node;
993
- if (path && path.name && path.elements) {
995
+ if ((path === null || path === void 0 ? void 0 : path.name) && (path === null || path === void 0 ? void 0 : path.elements)) {
994
996
  const isLibraryPath = this.isLibraryContent(path);
995
997
  const parent = path.elements[path.elements.length - 1];
996
998
  const area = isLibraryPath ? '/libraries' : '/personal-files';
@@ -1012,7 +1014,7 @@ class RouterEffects {
1012
1014
  navigateToParentFolder(node) {
1013
1015
  let link = null;
1014
1016
  const { path } = node;
1015
- if (path && path.name && path.elements) {
1017
+ if ((path === null || path === void 0 ? void 0 : path.name) && (path === null || path === void 0 ? void 0 : path.elements)) {
1016
1018
  const isLibraryPath = this.isLibraryContent(path);
1017
1019
  const parent = path.elements[path.elements.length - 1];
1018
1020
  const area = isLibraryPath ? '/libraries' : '/personal-files';
@@ -1 +1 @@
1
- {"version":3,"file":"alfresco-aca-shared-store.mjs","sources":["../../../../projects/aca-shared/store/src/actions/app-action-types.ts","../../../../projects/aca-shared/store/src/actions/context-menu-action-types.ts","../../../../projects/aca-shared/store/src/actions/router-action-types.ts","../../../../projects/aca-shared/store/src/actions/template-action-types.ts","../../../../projects/aca-shared/store/src/actions/app.actions.ts","../../../../projects/aca-shared/store/src/actions/library.actions.ts","../../../../projects/aca-shared/store/src/actions/node.actions.ts","../../../../projects/aca-shared/store/src/actions/router.actions.ts","../../../../projects/aca-shared/store/src/actions/search.actions.ts","../../../../projects/aca-shared/store/src/actions/snackbar.actions.ts","../../../../projects/aca-shared/store/src/actions/upload.actions.ts","../../../../projects/aca-shared/store/src/actions/viewer.actions.ts","../../../../projects/aca-shared/store/src/actions/metadata-aspect.actions.ts","../../../../projects/aca-shared/store/src/actions/template.actions.ts","../../../../projects/aca-shared/store/src/actions/contextmenu.actions.ts","../../../../projects/aca-shared/store/src/effects/dialog.effects.ts","../../../../projects/aca-shared/store/src/effects/router.effects.ts","../../../../projects/aca-shared/store/src/effects/snackbar.effects.ts","../../../../projects/aca-shared/store/src/models/search-option.model.ts","../../../../projects/aca-shared/store/src/selectors/app.selectors.ts","../../../../projects/aca-shared/store/src/states/app.state.ts","../../../../projects/aca-shared/store/src/store.module.ts","../../../../projects/aca-shared/store/src/public-api.ts","../../../../projects/aca-shared/store/src/alfresco-aca-shared-store.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum AppActionTypes {\n SetInitialState = 'SET_INITIAL_STATE',\n SetCurrentFolder = 'SET_CURRENT_FOLDER',\n SetCurrentVersion = 'SET_CURRENT_VERSION',\n SetCurrentUrl = 'SET_CURRENT_URL',\n SetUserProfile = 'SET_USER_PROFILE',\n SetRepositoryInfo = 'SET_REPOSITORY_INFO',\n ToggleInfoDrawer = 'TOGGLE_INFO_DRAWER',\n Logout = 'LOGOUT',\n ReloadDocumentList = 'RELOAD_DOCUMENT_LIST',\n ResetSelection = 'RESET_SELECTION',\n SetInfoDrawerState = 'SET_INFO_DRAWER_STATE',\n SetInfoDrawerMetadataAspect = 'SET_INFO_DRAWER_METADATA_ASPECT',\n CloseModalDialogs = 'CLOSE_MODAL_DIALOGS',\n SetFileUploadingDialog = 'SET_FILE_UPLOADING_DIALOG',\n ShowInfoDrawerPreview = 'SHOW_INFO_DRAWER_PREVIEW',\n SetInfoDrawerPreviewState = 'SET_INFO_DRAWER_PREVIEW_STATE',\n ShowLoaderAction = 'SHOW_LOADER'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum ContextMenuActionTypes {\n ContextMenu = 'CONTEXT_MENU'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum RouterActionTypes {\n NavigateUrl = 'NAVIGATE_URL',\n NavigateRoute = 'NAVIGATE_ROUTE',\n NavigateFolder = 'NAVIGATE_FOLDER',\n NavigateParentFolder = 'NAVIGATE_PARENT_FOLDER',\n NavigateToPreviousPage = 'NAVIGATE_TO_PREVIOUS_PAGE'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum TemplateActionTypes {\n FileFromTemplate = 'FILE_FROM_TEMPLATE',\n FolderFromTemplate = 'FOLDER_FROM_TEMPLATE',\n CreateFromTemplate = 'CREATE_FROM_TEMPLATE',\n CreateFromTemplateSuccess = 'CREATE_FROM_TEMPLATE_SUCCESS'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { Node, Person, Group, RepositoryInfo, VersionEntry } from '@alfresco/js-api';\nimport { AppState } from '../states/app.state';\nimport { AppActionTypes } from './app-action-types';\n\nexport class SetInitialStateAction implements Action {\n readonly type = AppActionTypes.SetInitialState;\n\n constructor(public payload: AppState) {}\n}\n\nexport class SetCurrentFolderAction implements Action {\n readonly type = AppActionTypes.SetCurrentFolder;\n\n constructor(public payload: Node) {}\n}\n\nexport class SetCurrentNodeVersionAction implements Action {\n readonly type = AppActionTypes.SetCurrentVersion;\n\n constructor(public payload: VersionEntry) {}\n}\n\nexport class SetCurrentUrlAction implements Action {\n readonly type = AppActionTypes.SetCurrentUrl;\n\n constructor(public payload: string) {}\n}\n\nexport class SetUserProfileAction implements Action {\n readonly type = AppActionTypes.SetUserProfile;\n\n constructor(public payload: { person: Person; groups: Group[] }) {}\n}\n\nexport class ToggleInfoDrawerAction implements Action {\n readonly type = AppActionTypes.ToggleInfoDrawer;\n}\n\nexport class LogoutAction implements Action {\n readonly type = AppActionTypes.Logout;\n}\n\nexport class ReloadDocumentListAction implements Action {\n readonly type = AppActionTypes.ReloadDocumentList;\n\n constructor(public payload?: any) {}\n}\n\nexport class ResetSelectionAction implements Action {\n readonly type = AppActionTypes.ResetSelection;\n\n constructor(public payload?: any) {}\n}\n\nexport class SetInfoDrawerStateAction implements Action {\n readonly type = AppActionTypes.SetInfoDrawerState;\n\n constructor(public payload: boolean) {}\n}\n\nexport class CloseModalDialogsAction implements Action {\n readonly type = AppActionTypes.CloseModalDialogs;\n}\n\nexport class SetRepositoryInfoAction implements Action {\n readonly type = AppActionTypes.SetRepositoryInfo;\n\n constructor(public payload: RepositoryInfo) {}\n}\n\nexport class SetFileUploadingDialogAction implements Action {\n readonly type = AppActionTypes.SetFileUploadingDialog;\n\n constructor(public payload: boolean) {}\n}\n\nexport class ShowInfoDrawerPreviewAction implements Action {\n readonly type = AppActionTypes.ShowInfoDrawerPreview;\n}\n\nexport class SetInfoDrawerPreviewStateAction implements Action {\n readonly type = AppActionTypes.SetInfoDrawerPreviewState;\n\n constructor(public payload: boolean) {}\n}\n\nexport class ShowLoaderAction implements Action {\n readonly type = AppActionTypes.ShowLoaderAction;\n\n constructor(public payload: boolean) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { SiteBodyCreate } from '@alfresco/js-api';\nimport { ModalConfiguration } from '../models/modal-configuration';\n\nexport enum LibraryActionTypes {\n Delete = 'DELETE_LIBRARY',\n Create = 'CREATE_LIBRARY',\n Navigate = 'NAVIGATE_LIBRARY',\n Update = 'UPDATE_LIBRARY',\n Leave = 'LEAVE_LIBRARY'\n}\n\nexport class DeleteLibraryAction implements Action {\n readonly type = LibraryActionTypes.Delete;\n\n constructor(public payload?: string) {}\n}\n\nexport class CreateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Create;\n}\n\nexport class NavigateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Navigate;\n\n constructor(public payload?: string, public route?: string) {}\n}\n\nexport class UpdateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Update;\n\n constructor(public payload?: SiteBodyCreate) {}\n}\n\nexport class LeaveLibraryAction implements Action {\n readonly type = LibraryActionTypes.Leave;\n\n constructor(public payload?: string, public configuration?: ModalConfiguration) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { NodeEntry } from '@alfresco/js-api';\nimport { ModalConfiguration } from '../models/modal-configuration';\n\nexport enum NodeActionTypes {\n SetSelection = 'SET_SELECTED_NODES',\n Delete = 'DELETE_NODES',\n UndoDelete = 'UNDO_DELETE_NODES',\n RestoreDeleted = 'RESTORE_DELETED_NODES',\n PurgeDeleted = 'PURGE_DELETED_NODES',\n Download = 'DOWNLOAD_NODES',\n CreateFolder = 'CREATE_FOLDER',\n EditFolder = 'EDIT_FOLDER',\n Share = 'SHARE_NODE',\n Unshare = 'UNSHARE_NODES',\n Copy = 'COPY_NODES',\n Move = 'MOVE_NODES',\n ManagePermissions = 'MANAGE_PERMISSIONS',\n PrintFile = 'PRINT_FILE',\n ManageVersions = 'MANAGE_VERSIONS',\n EditOffline = 'EDIT_OFFLINE',\n UnlockForWriting = 'UNLOCK_WRITE_LOCK',\n AddFavorite = 'ADD_FAVORITE',\n RemoveFavorite = 'REMOVE_FAVORITE',\n ChangeAspects = 'ASPECT_LIST',\n ExpandInfoDrawer = 'EXPAND_INFO_DRAWER',\n ManageRules = 'MANAGE_RULES'\n}\n\nexport class SetSelectedNodesAction implements Action {\n readonly type = NodeActionTypes.SetSelection;\n\n constructor(public payload: NodeEntry[] = []) {}\n}\n\nexport class DeleteNodesAction implements Action {\n readonly type = NodeActionTypes.Delete;\n\n constructor(public payload: NodeEntry[] = []) {}\n}\n\nexport class UndoDeleteNodesAction implements Action {\n readonly type = NodeActionTypes.UndoDelete;\n\n constructor(public payload: any[] = []) {}\n}\n\nexport class RestoreDeletedNodesAction implements Action {\n readonly type = NodeActionTypes.RestoreDeleted;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class PurgeDeletedNodesAction implements Action {\n readonly type = NodeActionTypes.PurgeDeleted;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class DownloadNodesAction implements Action {\n readonly type = NodeActionTypes.Download;\n\n constructor(public payload: NodeEntry[] = [], public configuration?: ModalConfiguration) {}\n}\n\nexport class CreateFolderAction implements Action {\n readonly type = NodeActionTypes.CreateFolder;\n\n constructor(public payload: string) {}\n}\n\nexport class EditFolderAction implements Action {\n readonly type = NodeActionTypes.EditFolder;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class ShareNodeAction implements Action {\n readonly type = NodeActionTypes.Share;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class UnshareNodesAction implements Action {\n readonly type = NodeActionTypes.Unshare;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class CopyNodesAction implements Action {\n readonly type = NodeActionTypes.Copy;\n\n constructor(public payload: Array<NodeEntry>, public configuration?: ModalConfiguration) {}\n}\n\nexport class MoveNodesAction implements Action {\n readonly type = NodeActionTypes.Move;\n\n constructor(public payload: Array<NodeEntry>, public configuration?: ModalConfiguration) {}\n}\n\nexport class ManagePermissionsAction implements Action {\n readonly type = NodeActionTypes.ManagePermissions;\n\n constructor(public payload: NodeEntry) {}\n}\nexport class ExpandInfoDrawerAction implements Action {\n readonly type = NodeActionTypes.ExpandInfoDrawer;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class PrintFileAction implements Action {\n readonly type = NodeActionTypes.PrintFile;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class ManageVersionsAction implements Action {\n readonly type = NodeActionTypes.ManageVersions;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class EditOfflineAction implements Action {\n readonly type = NodeActionTypes.EditOffline;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class UnlockWriteAction implements Action {\n readonly type = NodeActionTypes.UnlockForWriting;\n\n constructor(public payload: any) {}\n}\n\nexport class AddFavoriteAction implements Action {\n readonly type = NodeActionTypes.AddFavorite;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class RemoveFavoriteAction implements Action {\n readonly type = NodeActionTypes.RemoveFavorite;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\nexport class ManageAspectsAction implements Action {\n readonly type = NodeActionTypes.ChangeAspects;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class ManageRulesAction implements Action {\n readonly type = NodeActionTypes.ManageRules;\n\n constructor(public payload: NodeEntry) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { NodeEntry } from '@alfresco/js-api';\nimport { RouterActionTypes } from './router-action-types';\n\nexport class NavigateUrlAction implements Action {\n readonly type = RouterActionTypes.NavigateUrl;\n\n constructor(public payload: string) {}\n}\n\nexport class NavigateRouteAction implements Action {\n readonly type = RouterActionTypes.NavigateRoute;\n\n constructor(public payload: any[]) {}\n}\n\nexport class NavigateToFolder implements Action {\n readonly type = RouterActionTypes.NavigateFolder;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class NavigateToParentFolder implements Action {\n readonly type = RouterActionTypes.NavigateParentFolder;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class NavigateToPreviousPage implements Action {\n readonly type = RouterActionTypes.NavigateToPreviousPage;\n\n constructor() {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { SearchOptionModel } from '../models/search-option.model';\n\nexport enum SearchActionTypes {\n Search = 'SEARCH',\n SearchByTerm = 'SEARCH_BY_TERM'\n}\n\nexport class SearchAction implements Action {\n readonly type = SearchActionTypes.Search;\n constructor() {}\n}\n\nexport class SearchByTermAction implements Action {\n readonly type = SearchActionTypes.SearchByTerm;\n constructor(public payload: string, public searchOptions?: SearchOptionModel[]) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\n\nexport enum SnackbarActionTypes {\n Info = 'SNACKBAR_INFO',\n Warning = 'SNACKBAR_WARNING',\n Error = 'SNACKBAR_ERROR'\n}\n\nexport interface SnackbarAction extends Action {\n payload: string;\n params?: any;\n userAction?: SnackbarUserAction;\n duration?: number;\n}\n\nexport class SnackbarUserAction {\n constructor(public title: string, public action: Action) {}\n}\n\nexport class SnackbarInfoAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Info;\n\n userAction?: SnackbarUserAction;\n\n constructor(public payload: string, public params?: any) {}\n}\n\nexport class SnackbarWarningAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Warning;\n\n userAction?: SnackbarUserAction;\n\n constructor(public payload: string, public params?: any) {}\n}\n\nexport class SnackbarErrorAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Error;\n\n userAction?: SnackbarUserAction;\n\n constructor(public payload: string, public params?: any) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { ModalConfiguration } from '../models/modal-configuration';\n\nexport enum UploadActionTypes {\n UploadFiles = 'UPLOAD_FILES',\n UploadFolder = 'UPLOAD_FOLDER',\n UploadFileVersion = 'UPLOAD_FILE_VERSION'\n}\n\nexport class UploadFilesAction implements Action {\n readonly type = UploadActionTypes.UploadFiles;\n\n constructor(public payload: any) {}\n}\n\nexport class UploadFolderAction implements Action {\n readonly type = UploadActionTypes.UploadFolder;\n\n constructor(public payload: any) {}\n}\n\nexport class UploadFileVersionAction implements Action {\n readonly type = UploadActionTypes.UploadFileVersion;\n\n constructor(public payload: CustomEvent, public configuration?: ModalConfiguration) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { NodeEntry } from '@alfresco/js-api';\n\nexport enum ViewerActionTypes {\n ViewFile = 'VIEW_FILE',\n ViewNode = 'VIEW_NODE',\n ViewNodeVersion = 'VIEW_NODE_VERSION',\n FullScreen = 'FULLSCREEN_VIEWER',\n ClosePreview = 'CLOSE_PREVIEW',\n RefreshPreview = 'REFRESH_PREVIEW',\n PluginPreview = 'PLUGIN_PREVIEW'\n}\n\nexport interface ViewNodeExtras {\n location?: string;\n path?: string;\n}\n\nexport class ViewFileAction implements Action {\n readonly type = ViewerActionTypes.ViewFile;\n\n constructor(public payload?: NodeEntry, public parentId?: string) {}\n}\n\nexport class ViewNodeAction implements Action {\n readonly type = ViewerActionTypes.ViewNode;\n\n constructor(public nodeId: string, public viewNodeExtras?: ViewNodeExtras) {}\n}\n\nexport class ViewNodeVersionAction implements Action {\n readonly type = ViewerActionTypes.ViewNodeVersion;\n\n constructor(public nodeId: string, public versionId: string, public viewNodeExtras?: ViewNodeExtras) {}\n}\n\nexport class FullscreenViewerAction implements Action {\n readonly type = ViewerActionTypes.FullScreen;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class ClosePreviewAction implements Action {\n readonly type = ViewerActionTypes.ClosePreview;\n constructor(public payload?: NodeEntry) {}\n}\n\nexport class RefreshPreviewAction implements Action {\n readonly type = ViewerActionTypes.RefreshPreview;\n constructor(public payload?: NodeEntry) {}\n}\n\nexport class PluginPreviewAction implements Action {\n readonly type = ViewerActionTypes.PluginPreview;\n\n constructor(public pluginRoute: string, public nodeId: string) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\n\nexport const SET_INFO_DRAWER_METADATA_ASPECT = 'SET_INFO_DRAWER_METADATA_ASPECT';\n\nexport class SetInfoDrawerMetadataAspectAction implements Action {\n readonly type = SET_INFO_DRAWER_METADATA_ASPECT;\n constructor(public payload: string) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { Node } from '@alfresco/js-api';\nimport { TemplateActionTypes } from './template-action-types';\n\nexport class FileFromTemplate implements Action {\n readonly type = TemplateActionTypes.FileFromTemplate;\n\n constructor() {}\n}\n\nexport class FolderFromTemplate implements Action {\n readonly type = TemplateActionTypes.FolderFromTemplate;\n\n constructor() {}\n}\n\nexport class CreateFromTemplate implements Action {\n readonly type = TemplateActionTypes.CreateFromTemplate;\n\n constructor(public payload: Node) {}\n}\n\nexport class CreateFromTemplateSuccess implements Action {\n readonly type = TemplateActionTypes.CreateFromTemplateSuccess;\n\n constructor(public node: Node) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { ContextMenuActionTypes } from './context-menu-action-types';\n\nexport class ContextMenu implements Action {\n readonly type = ContextMenuActionTypes.ContextMenu;\n\n constructor(public event: MouseEvent) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Actions, ofType, createEffect } from '@ngrx/effects';\nimport { Injectable } from '@angular/core';\nimport { map } from 'rxjs/operators';\nimport { MatDialog } from '@angular/material/dialog';\nimport { CloseModalDialogsAction } from '../actions/app.actions';\nimport { AppActionTypes } from '../actions/app-action-types';\n\n@Injectable()\nexport class DialogEffects {\n constructor(private actions$: Actions, private matDialog: MatDialog) {}\n\n closeAll$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<CloseModalDialogsAction>(AppActionTypes.CloseModalDialogs),\n map(() => this.matDialog.closeAll())\n ),\n { dispatch: false }\n );\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Actions, ofType, createEffect } from '@ngrx/effects';\nimport { Node, PathInfo } from '@alfresco/js-api';\nimport { map } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\nimport { AppStore } from '../states/app.state';\nimport { Location } from '@angular/common';\nimport { NavigateUrlAction, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage } from '../actions/router.actions';\nimport { SnackbarErrorAction } from '../actions/snackbar.actions';\nimport { RouterActionTypes } from '../actions/router-action-types';\n\n@Injectable()\nexport class RouterEffects {\n constructor(private store: Store<AppStore>, private actions$: Actions, private router: Router, private location: Location) {}\n\n navigateUrl$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateUrlAction>(RouterActionTypes.NavigateUrl),\n map((action) => {\n if (action.payload) {\n this.router.navigateByUrl(action.payload);\n }\n })\n ),\n { dispatch: false }\n );\n\n navigateRoute$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateRouteAction>(RouterActionTypes.NavigateRoute),\n map((action) => {\n this.router.navigate(action.payload);\n })\n ),\n { dispatch: false }\n );\n\n navigateToFolder$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateToFolder>(RouterActionTypes.NavigateFolder),\n map((action) => {\n if (action.payload && action.payload.entry) {\n this.navigateToFolder(action.payload.entry);\n }\n })\n ),\n { dispatch: false }\n );\n\n navigateToParentFolder$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateToParentFolder>(RouterActionTypes.NavigateParentFolder),\n map((action) => {\n if (action.payload && action.payload.entry) {\n this.navigateToParentFolder(action.payload.entry);\n }\n })\n ),\n { dispatch: false }\n );\n\n navigateToPreviousPage$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateToPreviousPage>(RouterActionTypes.NavigateToPreviousPage),\n map(() => this.location.back())\n ),\n { dispatch: false }\n );\n\n private navigateToFolder(node: Node) {\n let link: any[] = null;\n const { path, id } = node;\n\n if (path && path.name && path.elements) {\n const isLibraryPath = this.isLibraryContent(path);\n\n const parent = path.elements[path.elements.length - 1];\n const area = isLibraryPath ? '/libraries' : '/personal-files';\n\n if (!isLibraryPath) {\n link = [area, id];\n } else {\n // parent.id could be 'Site' folder or child as 'documentLibrary'\n link = [area, parent.name === 'Sites' ? {} : id];\n }\n\n setTimeout(() => {\n this.router.navigate(link);\n }, 10);\n } else {\n this.router.navigate(['/personal-files', node.id]);\n }\n }\n\n private navigateToParentFolder(node: Node) {\n let link: any[] = null;\n const { path } = node;\n\n if (path && path.name && path.elements) {\n const isLibraryPath = this.isLibraryContent(path);\n\n const parent = path.elements[path.elements.length - 1];\n const area = isLibraryPath ? '/libraries' : '/personal-files';\n\n if (!isLibraryPath) {\n link = [area, parent.id];\n } else {\n // parent.id could be 'Site' folder or child as 'documentLibrary'\n link = [area, parent.name === 'Sites' ? {} : parent.id];\n }\n\n setTimeout(() => {\n this.router.navigate(link);\n }, 10);\n } else {\n this.store.dispatch(new SnackbarErrorAction('APP.MESSAGES.ERRORS.CANNOT_NAVIGATE_LOCATION'));\n }\n }\n\n private isLibraryContent(path: PathInfo): boolean {\n return path && path.elements.length >= 2 && path.elements[1].name === 'Sites';\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { SnackbarContentComponent, SnackBarData, TranslationService } from '@alfresco/adf-core';\nimport { Injectable } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { Actions, ofType, createEffect } from '@ngrx/effects';\nimport { Store } from '@ngrx/store';\nimport { map } from 'rxjs/operators';\nimport { AppStore } from '../states/app.state';\nimport { SnackbarInfoAction, SnackbarActionTypes, SnackbarWarningAction, SnackbarErrorAction, SnackbarAction } from '../actions/snackbar.actions';\n\n@Injectable()\nexport class SnackbarEffects {\n constructor(\n private store: Store<AppStore>,\n private actions$: Actions,\n private snackBar: MatSnackBar,\n private translationService: TranslationService\n ) {}\n\n infoEffect = createEffect(\n () =>\n this.actions$.pipe(\n ofType<SnackbarInfoAction>(SnackbarActionTypes.Info),\n map((action: SnackbarInfoAction) => {\n this.showSnackBar(action, 'adf-info-snackbar');\n })\n ),\n { dispatch: false }\n );\n\n warningEffect = createEffect(\n () =>\n this.actions$.pipe(\n ofType<SnackbarWarningAction>(SnackbarActionTypes.Warning),\n map((action: SnackbarWarningAction) => {\n this.showSnackBar(action, 'adf-warning-snackbar');\n })\n ),\n { dispatch: false }\n );\n\n errorEffect = createEffect(\n () =>\n this.actions$.pipe(\n ofType<SnackbarErrorAction>(SnackbarActionTypes.Error),\n map((action: SnackbarErrorAction) => {\n this.showSnackBar(action, 'adf-error-snackbar');\n })\n ),\n { dispatch: false }\n );\n\n private showSnackBar(action: SnackbarAction, panelClass: string) {\n const message = this.translate(action.payload, action.params);\n\n let actionName: string = null;\n if (action.userAction) {\n actionName = this.translate(action.userAction.title);\n }\n const snackBarRef = this.snackBar.openFromComponent<SnackbarContentComponent, SnackBarData>(SnackbarContentComponent, {\n ...(action.duration !== undefined && action.duration !== null && { duration: action.duration }),\n panelClass,\n data: {\n message,\n actionLabel: actionName,\n actionIcon: 'close',\n actionIconAriaLabel: 'CLOSE',\n showAction: true,\n callActionOnIconClick: false\n }\n });\n\n if (action.userAction) {\n snackBarRef.onAction().subscribe(() => {\n this.store.dispatch(action.userAction.action);\n });\n }\n }\n\n private translate(message: string, params?: any): string {\n return this.translationService.instant(message, params);\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum SearchOptionIds {\n Files = 'content',\n Folders = 'folder',\n Libraries = 'libraries'\n}\n\nexport interface SearchOptionModel {\n id: SearchOptionIds;\n key: string;\n value: boolean;\n shouldDisable(): boolean;\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { AppStore } from '../states/app.state';\nimport { createSelector } from '@ngrx/store';\n\nexport const selectApp = (state: AppStore) => state.app;\n\nexport const getAppName = createSelector(selectApp, (state) => state.appName);\nexport const getLogoPath = createSelector(selectApp, (state) => state.logoPath);\nexport const getCustomCssPath = createSelector(selectApp, (state) => state.customCssPath);\nexport const getCustomWebFontPath = createSelector(selectApp, (state) => state.webFontPath);\nexport const getUserProfile = createSelector(selectApp, (state) => state.user);\nexport const getCurrentFolder = createSelector(selectApp, (state) => state.navigation.currentFolder);\nexport const getCurrentVersion = createSelector(selectApp, (state) => state.currentNodeVersion);\nexport const getAppSelection = createSelector(selectApp, (state) => state.selection);\nexport const getSharedUrl = createSelector(selectApp, (state) => state.sharedUrl);\nexport const getNavigationState = createSelector(selectApp, (state) => state.navigation);\nexport const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);\nexport const infoDrawerPreview = createSelector(selectApp, (state) => state.infoDrawerPreview);\nexport const showFacetFilter = createSelector(selectApp, (state) => state.showFacetFilter);\nexport const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);\nexport const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);\nexport const isAdmin = createSelector(selectApp, (state) => state.user.isAdmin);\nexport const getFileUploadingDialog = createSelector(selectApp, (state) => state.fileUploadingDialog);\nexport const showLoaderSelector = createSelector(selectApp, (state) => state.showLoader);\n\nexport const getSideNavState = createSelector(getAppSelection, getNavigationState, (selection, navigation) => ({\n selection,\n navigation\n}));\n\nexport const getRuleContext = createSelector(\n getAppSelection,\n getNavigationState,\n getUserProfile,\n getRepositoryStatus,\n (selection, navigation, profile, repository) => ({\n selection,\n navigation,\n profile,\n repository\n })\n);\n\nexport const infoDrawerMetadataAspect = createSelector(selectApp, (state) => state.infoDrawerMetadataAspect);\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { SelectionState, ProfileState, NavigationState } from '@alfresco/adf-extensions';\nimport { RepositoryInfo, VersionEntry } from '@alfresco/js-api';\nimport { InjectionToken } from '@angular/core';\n\nexport const STORE_INITIAL_APP_DATA = new InjectionToken<AppState>('STORE_INITIAL_APP_DATA');\n\nexport interface AppState {\n appName: string;\n logoPath: string;\n customCssPath: string;\n webFontPath: string;\n sharedUrl: string;\n currentNodeVersion: VersionEntry;\n selection: SelectionState;\n user: ProfileState;\n navigation: NavigationState;\n infoDrawerOpened: boolean;\n infoDrawerPreview: boolean;\n infoDrawerMetadataAspect: string;\n showFacetFilter: boolean;\n repository: RepositoryInfo;\n fileUploadingDialog: boolean;\n showLoader: boolean;\n}\n\nexport interface AppStore {\n app: AppState;\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { SnackbarEffects } from './effects/snackbar.effects';\nimport { DialogEffects } from './effects/dialog.effects';\nimport { RouterEffects } from './effects/router.effects';\n\n@NgModule({\n imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]\n})\nexport class SharedStoreModule {}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './actions/app-action-types';\nexport * from './actions/context-menu-action-types';\nexport * from './actions/router-action-types';\nexport * from './actions/template-action-types';\nexport * from './actions/app.actions';\nexport * from './actions/library.actions';\nexport * from './actions/node.actions';\nexport * from './actions/router.actions';\nexport * from './actions/search.actions';\nexport * from './actions/snackbar.actions';\nexport * from './actions/upload.actions';\nexport * from './actions/viewer.actions';\nexport * from './actions/metadata-aspect.actions';\nexport * from './actions/template.actions';\nexport * from './actions/contextmenu.actions';\n\nexport * from './effects/dialog.effects';\nexport * from './effects/router.effects';\nexport * from './effects/snackbar.effects';\n\nexport * from './models/delete-status.model';\nexport * from './models/deleted-node-info.model';\nexport * from './models/node-info.model';\nexport * from './models/search-option.model';\n\nexport * from './selectors/app.selectors';\n\nexport * from './states/app.state';\n\nexport * from './store.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AAES,IAAA,eAkBX;AAlBD,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,iBAAA,CAAA,GAAA,mBAAqC,CAAA;AACrC,IAAA,cAAA,CAAA,kBAAA,CAAA,GAAA,oBAAuC,CAAA;AACvC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC,CAAA;AACzC,IAAA,cAAA,CAAA,eAAA,CAAA,GAAA,iBAAiC,CAAA;AACjC,IAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,kBAAmC,CAAA;AACnC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC,CAAA;AACzC,IAAA,cAAA,CAAA,kBA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UAAU,MAAM;IAC/C,SAAS;IACT,UAAU;IACV,OAAO;IACP,UAAU;AACX,CAAA,CAAC,EACF;AAEW,MAAA,wBAAwB,GAAG,cAAc,CAAC,SAAS,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,wBAAwB;;AClE3G;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAMU,sBAAsB,GAAG,IAAI,cAAc,CAAW,wBAAwB;;AC5B3F;;;;;;;;;;;;;;;;;;;;;;AAsBG;MAWU,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAjB,iBAAiB,EAAA,OAAA,EAAA,CAAAH,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAFlB,OAAA,EAAA,CAAA,aAAa,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC,CAAA,EAAA,CAAA,CAAA;2FAExE,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;iBACrF,CAAA;;;AChCD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
1
+ {"version":3,"file":"alfresco-aca-shared-store.mjs","sources":["../../../../projects/aca-shared/store/src/actions/app-action-types.ts","../../../../projects/aca-shared/store/src/actions/context-menu-action-types.ts","../../../../projects/aca-shared/store/src/actions/router-action-types.ts","../../../../projects/aca-shared/store/src/actions/template-action-types.ts","../../../../projects/aca-shared/store/src/actions/app.actions.ts","../../../../projects/aca-shared/store/src/actions/library.actions.ts","../../../../projects/aca-shared/store/src/actions/node.actions.ts","../../../../projects/aca-shared/store/src/actions/router.actions.ts","../../../../projects/aca-shared/store/src/actions/search.actions.ts","../../../../projects/aca-shared/store/src/actions/snackbar.actions.ts","../../../../projects/aca-shared/store/src/actions/upload.actions.ts","../../../../projects/aca-shared/store/src/actions/viewer.actions.ts","../../../../projects/aca-shared/store/src/actions/metadata-aspect.actions.ts","../../../../projects/aca-shared/store/src/actions/template.actions.ts","../../../../projects/aca-shared/store/src/actions/contextmenu.actions.ts","../../../../projects/aca-shared/store/src/effects/dialog.effects.ts","../../../../projects/aca-shared/store/src/effects/router.effects.ts","../../../../projects/aca-shared/store/src/effects/snackbar.effects.ts","../../../../projects/aca-shared/store/src/models/search-option.model.ts","../../../../projects/aca-shared/store/src/selectors/app.selectors.ts","../../../../projects/aca-shared/store/src/states/app.state.ts","../../../../projects/aca-shared/store/src/store.module.ts","../../../../projects/aca-shared/store/src/public-api.ts","../../../../projects/aca-shared/store/src/alfresco-aca-shared-store.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum AppActionTypes {\n SetInitialState = 'SET_INITIAL_STATE',\n SetCurrentFolder = 'SET_CURRENT_FOLDER',\n SetCurrentVersion = 'SET_CURRENT_VERSION',\n SetCurrentUrl = 'SET_CURRENT_URL',\n SetUserProfile = 'SET_USER_PROFILE',\n SetRepositoryInfo = 'SET_REPOSITORY_INFO',\n ToggleInfoDrawer = 'TOGGLE_INFO_DRAWER',\n Logout = 'LOGOUT',\n ReloadDocumentList = 'RELOAD_DOCUMENT_LIST',\n ResetSelection = 'RESET_SELECTION',\n SetInfoDrawerState = 'SET_INFO_DRAWER_STATE',\n SetInfoDrawerMetadataAspect = 'SET_INFO_DRAWER_METADATA_ASPECT',\n CloseModalDialogs = 'CLOSE_MODAL_DIALOGS',\n SetFileUploadingDialog = 'SET_FILE_UPLOADING_DIALOG',\n ShowInfoDrawerPreview = 'SHOW_INFO_DRAWER_PREVIEW',\n SetInfoDrawerPreviewState = 'SET_INFO_DRAWER_PREVIEW_STATE',\n ShowLoaderAction = 'SHOW_LOADER'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum ContextMenuActionTypes {\n ContextMenu = 'CONTEXT_MENU'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum RouterActionTypes {\n NavigateUrl = 'NAVIGATE_URL',\n NavigateRoute = 'NAVIGATE_ROUTE',\n NavigateFolder = 'NAVIGATE_FOLDER',\n NavigateParentFolder = 'NAVIGATE_PARENT_FOLDER',\n NavigateToPreviousPage = 'NAVIGATE_TO_PREVIOUS_PAGE'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum TemplateActionTypes {\n FileFromTemplate = 'FILE_FROM_TEMPLATE',\n FolderFromTemplate = 'FOLDER_FROM_TEMPLATE',\n CreateFromTemplate = 'CREATE_FROM_TEMPLATE',\n CreateFromTemplateSuccess = 'CREATE_FROM_TEMPLATE_SUCCESS'\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { Node, Person, Group, RepositoryInfo, VersionEntry } from '@alfresco/js-api';\nimport { AppState } from '../states/app.state';\nimport { AppActionTypes } from './app-action-types';\n\nexport class SetInitialStateAction implements Action {\n readonly type = AppActionTypes.SetInitialState;\n\n constructor(public payload: AppState) {}\n}\n\nexport class SetCurrentFolderAction implements Action {\n readonly type = AppActionTypes.SetCurrentFolder;\n\n constructor(public payload: Node) {}\n}\n\nexport class SetCurrentNodeVersionAction implements Action {\n readonly type = AppActionTypes.SetCurrentVersion;\n\n constructor(public payload: VersionEntry) {}\n}\n\nexport class SetCurrentUrlAction implements Action {\n readonly type = AppActionTypes.SetCurrentUrl;\n\n constructor(public payload: string) {}\n}\n\nexport class SetUserProfileAction implements Action {\n readonly type = AppActionTypes.SetUserProfile;\n\n constructor(public payload: { person: Person; groups: Group[] }) {}\n}\n\nexport class ToggleInfoDrawerAction implements Action {\n readonly type = AppActionTypes.ToggleInfoDrawer;\n}\n\nexport class LogoutAction implements Action {\n readonly type = AppActionTypes.Logout;\n}\n\nexport class ReloadDocumentListAction implements Action {\n readonly type = AppActionTypes.ReloadDocumentList;\n\n constructor(public payload?: any) {}\n}\n\nexport class ResetSelectionAction implements Action {\n readonly type = AppActionTypes.ResetSelection;\n\n constructor(public payload?: any) {}\n}\n\nexport class SetInfoDrawerStateAction implements Action {\n readonly type = AppActionTypes.SetInfoDrawerState;\n\n constructor(public payload: boolean) {}\n}\n\nexport class CloseModalDialogsAction implements Action {\n readonly type = AppActionTypes.CloseModalDialogs;\n}\n\nexport class SetRepositoryInfoAction implements Action {\n readonly type = AppActionTypes.SetRepositoryInfo;\n\n constructor(public payload: RepositoryInfo) {}\n}\n\nexport class SetFileUploadingDialogAction implements Action {\n readonly type = AppActionTypes.SetFileUploadingDialog;\n\n constructor(public payload: boolean) {}\n}\n\nexport class ShowInfoDrawerPreviewAction implements Action {\n readonly type = AppActionTypes.ShowInfoDrawerPreview;\n}\n\nexport class SetInfoDrawerPreviewStateAction implements Action {\n readonly type = AppActionTypes.SetInfoDrawerPreviewState;\n\n constructor(public payload: boolean) {}\n}\n\nexport class ShowLoaderAction implements Action {\n readonly type = AppActionTypes.ShowLoaderAction;\n\n constructor(public payload: boolean) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { SiteBodyCreate } from '@alfresco/js-api';\nimport { ModalConfiguration } from '../models/modal-configuration';\n\nexport enum LibraryActionTypes {\n Delete = 'DELETE_LIBRARY',\n Create = 'CREATE_LIBRARY',\n Navigate = 'NAVIGATE_LIBRARY',\n Update = 'UPDATE_LIBRARY',\n Leave = 'LEAVE_LIBRARY'\n}\n\nexport class DeleteLibraryAction implements Action {\n readonly type = LibraryActionTypes.Delete;\n\n constructor(public payload?: string) {}\n}\n\nexport class CreateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Create;\n}\n\nexport class NavigateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Navigate;\n\n constructor(public payload?: string, public route?: string) {}\n}\n\nexport class UpdateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Update;\n\n constructor(public payload?: SiteBodyCreate) {}\n}\n\nexport class LeaveLibraryAction implements Action {\n readonly type = LibraryActionTypes.Leave;\n\n constructor(public payload?: string, public configuration?: ModalConfiguration) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { NodeEntry } from '@alfresco/js-api';\nimport { ModalConfiguration } from '../models/modal-configuration';\n\nexport enum NodeActionTypes {\n SetSelection = 'SET_SELECTED_NODES',\n Delete = 'DELETE_NODES',\n UndoDelete = 'UNDO_DELETE_NODES',\n RestoreDeleted = 'RESTORE_DELETED_NODES',\n PurgeDeleted = 'PURGE_DELETED_NODES',\n Download = 'DOWNLOAD_NODES',\n CreateFolder = 'CREATE_FOLDER',\n EditFolder = 'EDIT_FOLDER',\n Share = 'SHARE_NODE',\n Unshare = 'UNSHARE_NODES',\n Copy = 'COPY_NODES',\n Move = 'MOVE_NODES',\n ManagePermissions = 'MANAGE_PERMISSIONS',\n PrintFile = 'PRINT_FILE',\n ManageVersions = 'MANAGE_VERSIONS',\n EditOffline = 'EDIT_OFFLINE',\n UnlockForWriting = 'UNLOCK_WRITE_LOCK',\n AddFavorite = 'ADD_FAVORITE',\n RemoveFavorite = 'REMOVE_FAVORITE',\n ChangeAspects = 'ASPECT_LIST',\n ExpandInfoDrawer = 'EXPAND_INFO_DRAWER',\n ManageRules = 'MANAGE_RULES'\n}\n\nexport class SetSelectedNodesAction implements Action {\n readonly type = NodeActionTypes.SetSelection;\n\n constructor(public payload: NodeEntry[] = []) {}\n}\n\nexport class DeleteNodesAction implements Action {\n readonly type = NodeActionTypes.Delete;\n\n constructor(public payload: NodeEntry[] = []) {}\n}\n\nexport class UndoDeleteNodesAction implements Action {\n readonly type = NodeActionTypes.UndoDelete;\n\n constructor(public payload: any[] = []) {}\n}\n\nexport class RestoreDeletedNodesAction implements Action {\n readonly type = NodeActionTypes.RestoreDeleted;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class PurgeDeletedNodesAction implements Action {\n readonly type = NodeActionTypes.PurgeDeleted;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class DownloadNodesAction implements Action {\n readonly type = NodeActionTypes.Download;\n\n constructor(public payload: NodeEntry[] = [], public configuration?: ModalConfiguration) {}\n}\n\nexport class CreateFolderAction implements Action {\n readonly type = NodeActionTypes.CreateFolder;\n\n constructor(public payload: string) {}\n}\n\nexport class EditFolderAction implements Action {\n readonly type = NodeActionTypes.EditFolder;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class ShareNodeAction implements Action {\n readonly type = NodeActionTypes.Share;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class UnshareNodesAction implements Action {\n readonly type = NodeActionTypes.Unshare;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class CopyNodesAction implements Action {\n readonly type = NodeActionTypes.Copy;\n\n constructor(public payload: Array<NodeEntry>, public configuration?: ModalConfiguration) {}\n}\n\nexport class MoveNodesAction implements Action {\n readonly type = NodeActionTypes.Move;\n\n constructor(public payload: Array<NodeEntry>, public configuration?: ModalConfiguration) {}\n}\n\nexport class ManagePermissionsAction implements Action {\n readonly type = NodeActionTypes.ManagePermissions;\n\n constructor(public payload: NodeEntry) {}\n}\nexport class ExpandInfoDrawerAction implements Action {\n readonly type = NodeActionTypes.ExpandInfoDrawer;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class PrintFileAction implements Action {\n readonly type = NodeActionTypes.PrintFile;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class ManageVersionsAction implements Action {\n readonly type = NodeActionTypes.ManageVersions;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class EditOfflineAction implements Action {\n readonly type = NodeActionTypes.EditOffline;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class UnlockWriteAction implements Action {\n readonly type = NodeActionTypes.UnlockForWriting;\n\n constructor(public payload: any) {}\n}\n\nexport class AddFavoriteAction implements Action {\n readonly type = NodeActionTypes.AddFavorite;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\n\nexport class RemoveFavoriteAction implements Action {\n readonly type = NodeActionTypes.RemoveFavorite;\n\n constructor(public payload: Array<NodeEntry>) {}\n}\nexport class ManageAspectsAction implements Action {\n readonly type = NodeActionTypes.ChangeAspects;\n\n constructor(public payload: NodeEntry, public configuration?: ModalConfiguration) {}\n}\n\nexport class ManageRulesAction implements Action {\n readonly type = NodeActionTypes.ManageRules;\n\n constructor(public payload: NodeEntry) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { NodeEntry } from '@alfresco/js-api';\nimport { RouterActionTypes } from './router-action-types';\n\nexport class NavigateUrlAction implements Action {\n readonly type = RouterActionTypes.NavigateUrl;\n\n constructor(public payload: string) {}\n}\n\nexport class NavigateRouteAction implements Action {\n readonly type = RouterActionTypes.NavigateRoute;\n\n constructor(public payload: any[]) {}\n}\n\nexport class NavigateToFolder implements Action {\n readonly type = RouterActionTypes.NavigateFolder;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class NavigateToParentFolder implements Action {\n readonly type = RouterActionTypes.NavigateParentFolder;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class NavigateToPreviousPage implements Action {\n readonly type = RouterActionTypes.NavigateToPreviousPage;\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { SearchOptionModel } from '../models/search-option.model';\n\nexport enum SearchActionTypes {\n Search = 'SEARCH',\n SearchByTerm = 'SEARCH_BY_TERM'\n}\n\nexport class SearchAction implements Action {\n readonly type = SearchActionTypes.Search;\n}\n\nexport class SearchByTermAction implements Action {\n readonly type = SearchActionTypes.SearchByTerm;\n constructor(public payload: string, public searchOptions?: SearchOptionModel[]) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\n\nexport enum SnackbarActionTypes {\n Info = 'SNACKBAR_INFO',\n Warning = 'SNACKBAR_WARNING',\n Error = 'SNACKBAR_ERROR'\n}\n\nexport interface SnackbarAction extends Action {\n payload: string;\n params?: any;\n userAction?: SnackbarUserAction;\n duration?: number;\n}\n\nexport class SnackbarUserAction {\n constructor(public title: string, public action: Action) {}\n}\n\nexport class SnackbarInfoAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Info;\n\n userAction?: SnackbarUserAction;\n\n constructor(public payload: string, public params?: any) {}\n}\n\nexport class SnackbarWarningAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Warning;\n\n userAction?: SnackbarUserAction;\n\n constructor(public payload: string, public params?: any) {}\n}\n\nexport class SnackbarErrorAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Error;\n\n userAction?: SnackbarUserAction;\n\n constructor(public payload: string, public params?: any) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { ModalConfiguration } from '../models/modal-configuration';\n\nexport enum UploadActionTypes {\n UploadFiles = 'UPLOAD_FILES',\n UploadFolder = 'UPLOAD_FOLDER',\n UploadFileVersion = 'UPLOAD_FILE_VERSION'\n}\n\nexport class UploadFilesAction implements Action {\n readonly type = UploadActionTypes.UploadFiles;\n\n constructor(public payload: any) {}\n}\n\nexport class UploadFolderAction implements Action {\n readonly type = UploadActionTypes.UploadFolder;\n\n constructor(public payload: any) {}\n}\n\nexport class UploadFileVersionAction implements Action {\n readonly type = UploadActionTypes.UploadFileVersion;\n\n constructor(public payload: CustomEvent, public configuration?: ModalConfiguration) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { NodeEntry } from '@alfresco/js-api';\n\nexport enum ViewerActionTypes {\n ViewFile = 'VIEW_FILE',\n ViewNode = 'VIEW_NODE',\n ViewNodeVersion = 'VIEW_NODE_VERSION',\n FullScreen = 'FULLSCREEN_VIEWER',\n ClosePreview = 'CLOSE_PREVIEW',\n RefreshPreview = 'REFRESH_PREVIEW',\n PluginPreview = 'PLUGIN_PREVIEW'\n}\n\nexport interface ViewNodeExtras {\n location?: string;\n path?: string;\n}\n\nexport class ViewFileAction implements Action {\n readonly type = ViewerActionTypes.ViewFile;\n\n constructor(public payload?: NodeEntry, public parentId?: string) {}\n}\n\nexport class ViewNodeAction implements Action {\n readonly type = ViewerActionTypes.ViewNode;\n\n constructor(public nodeId: string, public viewNodeExtras?: ViewNodeExtras) {}\n}\n\nexport class ViewNodeVersionAction implements Action {\n readonly type = ViewerActionTypes.ViewNodeVersion;\n\n constructor(public nodeId: string, public versionId: string, public viewNodeExtras?: ViewNodeExtras) {}\n}\n\nexport class FullscreenViewerAction implements Action {\n readonly type = ViewerActionTypes.FullScreen;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class ClosePreviewAction implements Action {\n readonly type = ViewerActionTypes.ClosePreview;\n constructor(public payload?: NodeEntry) {}\n}\n\nexport class RefreshPreviewAction implements Action {\n readonly type = ViewerActionTypes.RefreshPreview;\n constructor(public payload?: NodeEntry) {}\n}\n\nexport class PluginPreviewAction implements Action {\n readonly type = ViewerActionTypes.PluginPreview;\n\n constructor(public pluginRoute: string, public nodeId: string) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\n\nexport const SET_INFO_DRAWER_METADATA_ASPECT = 'SET_INFO_DRAWER_METADATA_ASPECT';\n\nexport class SetInfoDrawerMetadataAspectAction implements Action {\n readonly type = SET_INFO_DRAWER_METADATA_ASPECT;\n constructor(public payload: string) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { Node } from '@alfresco/js-api';\nimport { TemplateActionTypes } from './template-action-types';\n\nexport class FileFromTemplate implements Action {\n readonly type = TemplateActionTypes.FileFromTemplate;\n}\n\nexport class FolderFromTemplate implements Action {\n readonly type = TemplateActionTypes.FolderFromTemplate;\n}\n\nexport class CreateFromTemplate implements Action {\n readonly type = TemplateActionTypes.CreateFromTemplate;\n\n constructor(public payload: Node) {}\n}\n\nexport class CreateFromTemplateSuccess implements Action {\n readonly type = TemplateActionTypes.CreateFromTemplateSuccess;\n\n constructor(public node: Node) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { ContextMenuActionTypes } from './context-menu-action-types';\n\nexport class ContextMenu implements Action {\n readonly type = ContextMenuActionTypes.ContextMenu;\n\n constructor(public event: MouseEvent) {}\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Actions, ofType, createEffect } from '@ngrx/effects';\nimport { Injectable } from '@angular/core';\nimport { map } from 'rxjs/operators';\nimport { MatDialog } from '@angular/material/dialog';\nimport { CloseModalDialogsAction } from '../actions/app.actions';\nimport { AppActionTypes } from '../actions/app-action-types';\n\n@Injectable()\nexport class DialogEffects {\n constructor(private actions$: Actions, private matDialog: MatDialog) {}\n\n closeAll$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<CloseModalDialogsAction>(AppActionTypes.CloseModalDialogs),\n map(() => this.matDialog.closeAll())\n ),\n { dispatch: false }\n );\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Actions, ofType, createEffect } from '@ngrx/effects';\nimport { Node, PathInfo } from '@alfresco/js-api';\nimport { map } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\nimport { AppStore } from '../states/app.state';\nimport { Location } from '@angular/common';\nimport { NavigateUrlAction, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage } from '../actions/router.actions';\nimport { SnackbarErrorAction } from '../actions/snackbar.actions';\nimport { RouterActionTypes } from '../actions/router-action-types';\n\n@Injectable()\nexport class RouterEffects {\n constructor(private store: Store<AppStore>, private actions$: Actions, private router: Router, private location: Location) {}\n\n navigateUrl$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateUrlAction>(RouterActionTypes.NavigateUrl),\n map((action) => {\n if (action.payload) {\n this.router.navigateByUrl(action.payload);\n }\n })\n ),\n { dispatch: false }\n );\n\n navigateRoute$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateRouteAction>(RouterActionTypes.NavigateRoute),\n map((action) => {\n this.router.navigate(action.payload);\n })\n ),\n { dispatch: false }\n );\n\n navigateToFolder$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateToFolder>(RouterActionTypes.NavigateFolder),\n map((action) => {\n if (action.payload?.entry) {\n this.navigateToFolder(action.payload.entry);\n }\n })\n ),\n { dispatch: false }\n );\n\n navigateToParentFolder$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateToParentFolder>(RouterActionTypes.NavigateParentFolder),\n map((action) => {\n if (action.payload?.entry) {\n this.navigateToParentFolder(action.payload.entry);\n }\n })\n ),\n { dispatch: false }\n );\n\n navigateToPreviousPage$ = createEffect(\n () =>\n this.actions$.pipe(\n ofType<NavigateToPreviousPage>(RouterActionTypes.NavigateToPreviousPage),\n map(() => this.location.back())\n ),\n { dispatch: false }\n );\n\n private navigateToFolder(node: Node) {\n let link: any[] = null;\n const { path, id } = node;\n\n if (path?.name && path?.elements) {\n const isLibraryPath = this.isLibraryContent(path);\n\n const parent = path.elements[path.elements.length - 1];\n const area = isLibraryPath ? '/libraries' : '/personal-files';\n\n if (!isLibraryPath) {\n link = [area, id];\n } else {\n // parent.id could be 'Site' folder or child as 'documentLibrary'\n link = [area, parent.name === 'Sites' ? {} : id];\n }\n\n setTimeout(() => {\n this.router.navigate(link);\n }, 10);\n } else {\n this.router.navigate(['/personal-files', node.id]);\n }\n }\n\n private navigateToParentFolder(node: Node) {\n let link: any[] = null;\n const { path } = node;\n\n if (path?.name && path?.elements) {\n const isLibraryPath = this.isLibraryContent(path);\n\n const parent = path.elements[path.elements.length - 1];\n const area = isLibraryPath ? '/libraries' : '/personal-files';\n\n if (!isLibraryPath) {\n link = [area, parent.id];\n } else {\n // parent.id could be 'Site' folder or child as 'documentLibrary'\n link = [area, parent.name === 'Sites' ? {} : parent.id];\n }\n\n setTimeout(() => {\n this.router.navigate(link);\n }, 10);\n } else {\n this.store.dispatch(new SnackbarErrorAction('APP.MESSAGES.ERRORS.CANNOT_NAVIGATE_LOCATION'));\n }\n }\n\n private isLibraryContent(path: PathInfo): boolean {\n return path && path.elements.length >= 2 && path.elements[1].name === 'Sites';\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { SnackbarContentComponent, SnackBarData, TranslationService } from '@alfresco/adf-core';\nimport { Injectable } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { Actions, ofType, createEffect } from '@ngrx/effects';\nimport { Store } from '@ngrx/store';\nimport { map } from 'rxjs/operators';\nimport { AppStore } from '../states/app.state';\nimport { SnackbarInfoAction, SnackbarActionTypes, SnackbarWarningAction, SnackbarErrorAction, SnackbarAction } from '../actions/snackbar.actions';\n\n@Injectable()\nexport class SnackbarEffects {\n constructor(\n private store: Store<AppStore>,\n private actions$: Actions,\n private snackBar: MatSnackBar,\n private translationService: TranslationService\n ) {}\n\n infoEffect = createEffect(\n () =>\n this.actions$.pipe(\n ofType<SnackbarInfoAction>(SnackbarActionTypes.Info),\n map((action: SnackbarInfoAction) => {\n this.showSnackBar(action, 'adf-info-snackbar');\n })\n ),\n { dispatch: false }\n );\n\n warningEffect = createEffect(\n () =>\n this.actions$.pipe(\n ofType<SnackbarWarningAction>(SnackbarActionTypes.Warning),\n map((action: SnackbarWarningAction) => {\n this.showSnackBar(action, 'adf-warning-snackbar');\n })\n ),\n { dispatch: false }\n );\n\n errorEffect = createEffect(\n () =>\n this.actions$.pipe(\n ofType<SnackbarErrorAction>(SnackbarActionTypes.Error),\n map((action: SnackbarErrorAction) => {\n this.showSnackBar(action, 'adf-error-snackbar');\n })\n ),\n { dispatch: false }\n );\n\n private showSnackBar(action: SnackbarAction, panelClass: string) {\n const message = this.translate(action.payload, action.params);\n\n let actionName: string = null;\n if (action.userAction) {\n actionName = this.translate(action.userAction.title);\n }\n const snackBarRef = this.snackBar.openFromComponent<SnackbarContentComponent, SnackBarData>(SnackbarContentComponent, {\n ...(action.duration !== undefined && action.duration !== null && { duration: action.duration }),\n panelClass,\n data: {\n message,\n actionLabel: actionName,\n actionIcon: 'close',\n actionIconAriaLabel: 'CLOSE',\n showAction: true,\n callActionOnIconClick: false\n }\n });\n\n if (action.userAction) {\n snackBarRef.onAction().subscribe(() => {\n this.store.dispatch(action.userAction.action);\n });\n }\n }\n\n private translate(message: string, params?: any): string {\n return this.translationService.instant(message, params);\n }\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport enum SearchOptionIds {\n Files = 'content',\n Folders = 'folder',\n Libraries = 'libraries'\n}\n\nexport interface SearchOptionModel {\n id: SearchOptionIds;\n key: string;\n value: boolean;\n shouldDisable(): boolean;\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { AppStore } from '../states/app.state';\nimport { createSelector } from '@ngrx/store';\n\nexport const selectApp = (state: AppStore) => state.app;\n\nexport const getAppName = createSelector(selectApp, (state) => state.appName);\nexport const getLogoPath = createSelector(selectApp, (state) => state.logoPath);\nexport const getCustomCssPath = createSelector(selectApp, (state) => state.customCssPath);\nexport const getCustomWebFontPath = createSelector(selectApp, (state) => state.webFontPath);\nexport const getUserProfile = createSelector(selectApp, (state) => state.user);\nexport const getCurrentFolder = createSelector(selectApp, (state) => state.navigation.currentFolder);\nexport const getCurrentVersion = createSelector(selectApp, (state) => state.currentNodeVersion);\nexport const getAppSelection = createSelector(selectApp, (state) => state.selection);\nexport const getSharedUrl = createSelector(selectApp, (state) => state.sharedUrl);\nexport const getNavigationState = createSelector(selectApp, (state) => state.navigation);\nexport const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);\nexport const infoDrawerPreview = createSelector(selectApp, (state) => state.infoDrawerPreview);\nexport const showFacetFilter = createSelector(selectApp, (state) => state.showFacetFilter);\nexport const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);\nexport const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);\nexport const isAdmin = createSelector(selectApp, (state) => state.user.isAdmin);\nexport const getFileUploadingDialog = createSelector(selectApp, (state) => state.fileUploadingDialog);\nexport const showLoaderSelector = createSelector(selectApp, (state) => state.showLoader);\n\nexport const getSideNavState = createSelector(getAppSelection, getNavigationState, (selection, navigation) => ({\n selection,\n navigation\n}));\n\nexport const getRuleContext = createSelector(\n getAppSelection,\n getNavigationState,\n getUserProfile,\n getRepositoryStatus,\n (selection, navigation, profile, repository) => ({\n selection,\n navigation,\n profile,\n repository\n })\n);\n\nexport const infoDrawerMetadataAspect = createSelector(selectApp, (state) => state.infoDrawerMetadataAspect);\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { SelectionState, ProfileState, NavigationState } from '@alfresco/adf-extensions';\nimport { RepositoryInfo, VersionEntry } from '@alfresco/js-api';\nimport { InjectionToken } from '@angular/core';\n\nexport const STORE_INITIAL_APP_DATA = new InjectionToken<AppState>('STORE_INITIAL_APP_DATA');\n\nexport interface AppState {\n appName: string;\n logoPath: string;\n customCssPath: string;\n webFontPath: string;\n sharedUrl: string;\n currentNodeVersion: VersionEntry;\n selection: SelectionState;\n user: ProfileState;\n navigation: NavigationState;\n infoDrawerOpened: boolean;\n infoDrawerPreview: boolean;\n infoDrawerMetadataAspect: string;\n showFacetFilter: boolean;\n repository: RepositoryInfo;\n fileUploadingDialog: boolean;\n showLoader: boolean;\n}\n\nexport interface AppStore {\n app: AppState;\n}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { SnackbarEffects } from './effects/snackbar.effects';\nimport { DialogEffects } from './effects/dialog.effects';\nimport { RouterEffects } from './effects/router.effects';\n\n@NgModule({\n imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]\n})\nexport class SharedStoreModule {}\n","/*!\n * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Alfresco Example Content Application\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './actions/app-action-types';\nexport * from './actions/context-menu-action-types';\nexport * from './actions/router-action-types';\nexport * from './actions/template-action-types';\nexport * from './actions/app.actions';\nexport * from './actions/library.actions';\nexport * from './actions/node.actions';\nexport * from './actions/router.actions';\nexport * from './actions/search.actions';\nexport * from './actions/snackbar.actions';\nexport * from './actions/upload.actions';\nexport * from './actions/viewer.actions';\nexport * from './actions/metadata-aspect.actions';\nexport * from './actions/template.actions';\nexport * from './actions/contextmenu.actions';\n\nexport * from './effects/dialog.effects';\nexport * from './effects/router.effects';\nexport * from './effects/snackbar.effects';\n\nexport * from './models/delete-status.model';\nexport * from './models/deleted-node-info.model';\nexport * from './models/node-info.model';\nexport * from './models/search-option.model';\n\nexport * from './selectors/app.selectors';\n\nexport * from './states/app.state';\n\nexport * from './store.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AAES,IAAA,eAkBX;AAlBD,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,iBAAA,CAAA,GAAA,mBAAqC,CAAA;AACrC,IAAA,cAAA,CAAA,kBAAA,CAAA,GAAA,oBAAuC,CAAA;AACvC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC,CAAA;AACzC,IAAA,cAAA,CAAA,eAAA,CAAA,GAAA,iBAAiC,CAAA;AACjC,IAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,kBAAmC,CAAA;AACnC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC,CAAA;AACzC,IAAA,cAAA,CAAA,kBAAA,CAAA,GAAA,oBAAuC,CAAA;AACvC,IAAA,cAAA,CAAA,QAAA,CAAA,GAA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E,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;iBACrF,CAAA;;;AChCD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
@@ -27,7 +27,6 @@ import * as i7 from '@angular/cdk/overlay';
27
27
  import { OverlayModule } from '@angular/cdk/overlay';
28
28
  import * as i1$1 from '@angular/material/dialog';
29
29
  import { MAT_DIALOG_DATA, MatDialog, MatDialogModule } from '@angular/material/dialog';
30
- import * as i9 from '@angular/cdk/a11y';
31
30
  import { A11yModule } from '@angular/cdk/a11y';
32
31
  import * as i5$1 from '@angular/material/menu';
33
32
  import { MatMenuItem, MatMenuModule, MatMenu } from '@angular/material/menu';
@@ -1291,6 +1290,7 @@ class AppExtensionService {
1291
1290
  });
1292
1291
  }
1293
1292
  setup(config) {
1293
+ var _a;
1294
1294
  if (!config) {
1295
1295
  this.logger.error('Extension configuration not found');
1296
1296
  return;
@@ -1322,7 +1322,7 @@ class AppExtensionService {
1322
1322
  searchLibraries: this.getDocumentListPreset(config, 'search-libraries')
1323
1323
  };
1324
1324
  this.withCredentials = this.appConfig.get('auth.withCredentials', false);
1325
- if (config.features && config.features.viewer) {
1325
+ if ((_a = config.features) === null || _a === void 0 ? void 0 : _a.viewer) {
1326
1326
  this.viewerRules = config.features.viewer['rules'] || {};
1327
1327
  }
1328
1328
  this.registerIcons(config);
@@ -1440,8 +1440,9 @@ class AppExtensionService {
1440
1440
  return this.sidebarTabs.filter((action) => this.filterVisible(action));
1441
1441
  }
1442
1442
  setActionDisabledFromRule(action) {
1443
+ var _a;
1443
1444
  let disabled = false;
1444
- if (action && action.rules && action.rules.enabled) {
1445
+ if ((_a = action === null || action === void 0 ? void 0 : action.rules) === null || _a === void 0 ? void 0 : _a.enabled) {
1445
1446
  disabled = !this.extensions.evaluateRule(action.rules.enabled, this);
1446
1447
  }
1447
1448
  return Object.assign(Object.assign({}, action), { disabled });
@@ -1545,17 +1546,19 @@ class AppExtensionService {
1545
1546
  return Object.assign(Object.assign({}, action), { children: (action.children || []).map((child) => this.copyAction(child)) });
1546
1547
  }
1547
1548
  filterVisible(action) {
1548
- if (action && action.rules && action.rules.visible) {
1549
+ var _a;
1550
+ if ((_a = action === null || action === void 0 ? void 0 : action.rules) === null || _a === void 0 ? void 0 : _a.visible) {
1549
1551
  return this.extensions.evaluateRule(action.rules.visible, this);
1550
1552
  }
1551
1553
  return true;
1552
1554
  }
1553
1555
  isViewerExtensionDisabled(extension) {
1556
+ var _a;
1554
1557
  if (extension) {
1555
1558
  if (extension.disabled) {
1556
1559
  return true;
1557
1560
  }
1558
- if (extension.rules && extension.rules.disabled) {
1561
+ if ((_a = extension.rules) === null || _a === void 0 ? void 0 : _a.disabled) {
1559
1562
  return this.extensions.evaluateRule(extension.rules.disabled, this);
1560
1563
  }
1561
1564
  }
@@ -1664,7 +1667,8 @@ class ToolbarMenuItemComponent {
1664
1667
  }
1665
1668
  }
1666
1669
  hasClickAction(actionRef) {
1667
- return !!(actionRef && actionRef.actions && actionRef.actions.click);
1670
+ var _a;
1671
+ return !!((_a = actionRef === null || actionRef === void 0 ? void 0 : actionRef.actions) === null || _a === void 0 ? void 0 : _a.click);
1668
1672
  }
1669
1673
  trackByActionId(_, obj) {
1670
1674
  return obj.id;
@@ -1727,7 +1731,8 @@ class ToolbarButtonComponent {
1727
1731
  }
1728
1732
  }
1729
1733
  hasClickAction(actionRef) {
1730
- return !!(actionRef && actionRef.actions && actionRef.actions.click);
1734
+ var _a;
1735
+ return !!((_a = actionRef === null || actionRef === void 0 ? void 0 : actionRef.actions) === null || _a === void 0 ? void 0 : _a.click);
1731
1736
  }
1732
1737
  }
1733
1738
  ToolbarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarButtonComponent, deps: [{ token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
@@ -1994,10 +1999,10 @@ class InfoDrawerComponent {
1994
1999
  }
1995
2000
  }
1996
2001
  InfoDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, deps: [{ token: i1$2.Store }, { token: ContentApiService }, { token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
1997
- InfoDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: InfoDrawerModule }, { kind: "component", type: i1.InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }, { kind: "component", type: i1.InfoDrawerComponent, selector: "adf-info-drawer", inputs: ["title", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "directive", type: i1.InfoDrawerButtonsDirective, selector: "[adf-info-drawer-buttons], [info-drawer-buttons]" }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i9.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
2002
+ InfoDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: InfoDrawerComponent, isStandalone: true, selector: "aca-info-drawer", inputs: { nodeId: "nodeId", node: "node" }, host: { listeners: { "keydown.escape": "onEscapeKeyboardEvent()" } }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: InfoDrawerModule }, { kind: "component", type: i1.InfoDrawerTabComponent, selector: "adf-info-drawer-tab", inputs: ["label", "icon"] }, { kind: "component", type: i1.InfoDrawerComponent, selector: "adf-info-drawer", inputs: ["title", "selectedIndex", "showHeader"], outputs: ["currentTab"] }, { kind: "directive", type: i1.InfoDrawerButtonsDirective, selector: "[adf-info-drawer-buttons], [info-drawer-buttons]" }, { kind: "ngmodule", type: ExtensionsModule }, { kind: "component", type: i3$1.DynamicTabComponent, selector: "adf-dynamic-tab", inputs: ["id", "node"] }, { kind: "ngmodule", type: A11yModule }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
1998
2003
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, decorators: [{
1999
2004
  type: Component,
2000
- args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatProgressBarModule, InfoDrawerModule, ExtensionsModule, A11yModule, ToolbarComponent], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n" }]
2005
+ args: [{ standalone: true, imports: [CommonModule, TranslateModule, MatProgressBarModule, InfoDrawerModule, ExtensionsModule, A11yModule, ToolbarComponent], selector: 'aca-info-drawer', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"isLoading\">\n <mat-progress-bar mode=\"indeterminate\" [attr.aria-label]=\"'APP.INFO_DRAWER.DATA_LOADING' | translate\"></mat-progress-bar>\n</div>\n<ng-container *ngIf=\"!isLoading && !!displayNode\">\n <adf-info-drawer [title]=\"'APP.INFO_DRAWER.TITLE'\" cdkTrapFocusAutoCapture>\n <aca-toolbar [items]=\"actions\" info-drawer-buttons></aca-toolbar>\n\n <adf-info-drawer-tab *ngFor=\"let tab of tabs\" [icon]=\"tab.icon\" [label]=\"tab.title\">\n <adf-dynamic-tab [node]=\"$any(displayNode)\" [id]=\"tab.component\" [attr.data-automation-id]=\"tab.component\"> </adf-dynamic-tab>\n </adf-info-drawer-tab>\n </adf-info-drawer>\n</ng-container>\n" }]
2001
2006
  }], ctorParameters: function () { return [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }]; }, propDecorators: { nodeId: [{
2002
2007
  type: Input
2003
2008
  }], node: [{
@@ -2211,7 +2216,8 @@ class PageComponent {
2211
2216
  });
2212
2217
  }
2213
2218
  ngOnChanges(changes) {
2214
- if (changes.nodeResult && changes.nodeResult.currentValue) {
2219
+ var _a;
2220
+ if ((_a = changes.nodeResult) === null || _a === void 0 ? void 0 : _a.currentValue) {
2215
2221
  this.nodeResult = changes.nodeResult.currentValue;
2216
2222
  }
2217
2223
  }
@@ -2224,7 +2230,7 @@ class PageComponent {
2224
2230
  }
2225
2231
  showPreview(node, extras) {
2226
2232
  var _a, _b, _c;
2227
- if (node && node.entry) {
2233
+ if (node === null || node === void 0 ? void 0 : node.entry) {
2228
2234
  if ((_a = this.fileAutoDownloadService) === null || _a === void 0 ? void 0 : _a.shouldFileAutoDownload((_c = (_b = node.entry) === null || _b === void 0 ? void 0 : _b.content) === null || _c === void 0 ? void 0 : _c.sizeInBytes)) {
2229
2235
  this.fileAutoDownloadService.autoDownloadFile(node);
2230
2236
  }
@@ -2368,12 +2374,9 @@ class ContextActionsDirective {
2368
2374
  return this.findAncestor(target, 'adf-datatable-cell').classList.contains('adf-no-content-container');
2369
2375
  }
2370
2376
  findAncestor(el, className) {
2371
- if (el.classList.contains(className)) {
2372
- return el;
2377
+ while (el && !el.classList.contains(className)) {
2378
+ el = el.parentElement;
2373
2379
  }
2374
- // eslint-disable-next-line curly
2375
- while ((el = el.parentElement) && !el.classList.contains(className))
2376
- ;
2377
2380
  return el;
2378
2381
  }
2379
2382
  }