@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.
- package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +3 -3
- package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +3 -4
- package/esm2020/lib/components/toolbar/toolbar-button/toolbar-button.component.mjs +2 -2
- package/esm2020/lib/components/toolbar/toolbar-menu-item/toolbar-menu-item.component.mjs +2 -2
- package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +3 -6
- package/esm2020/lib/services/app.extension.service.mjs +5 -5
- package/esm2020/rules/app.rules.mjs +28 -28
- package/esm2020/rules/navigation.rules.mjs +13 -13
- package/esm2020/store/actions/router.actions.mjs +1 -1
- package/esm2020/store/actions/search.actions.mjs +1 -1
- package/esm2020/store/actions/template.actions.mjs +1 -1
- package/esm2020/store/effects/router.effects.mjs +5 -5
- package/fesm2015/alfresco-aca-shared-rules.mjs +49 -39
- package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -1
- package/fesm2015/alfresco-aca-shared-store.mjs +6 -4
- package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -1
- package/fesm2015/alfresco-aca-shared.mjs +19 -16
- package/fesm2015/alfresco-aca-shared.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared-rules.mjs +39 -39
- package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared-store.mjs +4 -4
- package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -1
- package/fesm2020/alfresco-aca-shared.mjs +12 -16
- package/fesm2020/alfresco-aca-shared.mjs.map +1 -1
- package/package.json +1 -1
- package/store/actions/router.actions.d.ts +0 -1
- package/store/actions/search.actions.d.ts +0 -1
- package/store/actions/template.actions.d.ts +0 -2
|
@@ -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/delete-status.model.ts","../../../../projects/aca-shared/store/src/models/deleted-node-info.model.ts","../../../../projects/aca-shared/store/src/models/node-info.model.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 interface DeleteStatus {\n success: any[];\n fail: any[];\n someFailed: boolean;\n someSucceeded: boolean;\n oneFailed: boolean;\n oneSucceeded: boolean;\n allSucceeded: boolean;\n allFailed: boolean;\n reset(): void;\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 interface DeletedNodeInfo {\n id: string;\n name: string;\n status: number;\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 interface NodeInfo {\n parentId?: string;\n id: string;\n name: string;\n isFile?: boolean;\n isFolder?: 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\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;IAES,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,GAAA,QAAiB,CAAA;AACjB,IAAA,cAAA,CAAA,oBAAA,CAAA,GAAA,sBAA2C,CAAA;AAC3C,IAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,iBAAkC,CAAA;AAClC,IAAA,cAAA,CAAA,oBAAA,CAAA,GAAA,uBAA4C,CAAA;AAC5C,IAAA,cAAA,CAAA,6BAAA,CAAA,GAAA,iCAA+D,CAAA;AAC/D,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC,CAAA;AACzC,IAAA,cAAA,CAAA,wBAAA,CAAA,GAAA,2BAAoD,CAAA;AACpD,IAAA,cAAA,CAAA,uBAAA,CAAA,GAAA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,EAAE,aAAa,CAAC,CAAC,CAAC;AACrF,iBAAA,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/delete-status.model.ts","../../../../projects/aca-shared/store/src/models/deleted-node-info.model.ts","../../../../projects/aca-shared/store/src/models/node-info.model.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 interface DeleteStatus {\n success: any[];\n fail: any[];\n someFailed: boolean;\n someSucceeded: boolean;\n oneFailed: boolean;\n oneSucceeded: boolean;\n allSucceeded: boolean;\n allFailed: boolean;\n reset(): void;\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 interface DeletedNodeInfo {\n id: string;\n name: string;\n status: number;\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 interface NodeInfo {\n parentId?: string;\n id: string;\n name: string;\n isFile?: boolean;\n isFolder?: 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\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;IAES,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,GAAA,QAAiB,CAAA;AACjB,IAAA,cAAA,CAAA,oBAAA,CAAA,GAAA,sBAA2C,CAAA;AAC3C,IAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,iBAAkC,CAAA;AAClC,IAAA,cAAA,CAAA,oBAAA,CAAA,GAAA,uBAA4C,CAAA;AAC5C,IAAA,cAAA,CAAA,6BAAA,CAAA,GAAA,iCAA+D,CAAA;AAC/D,IAAA,cAAA,CAAA,mBAAA,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,oBAAA,OAAO,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC;AACrF,iBAAA,CAAA;;;AChCD;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
|
|
@@ -26,7 +26,6 @@ import * as i4 from '@angular/material/button';
|
|
|
26
26
|
import { MatButtonModule } from '@angular/material/button';
|
|
27
27
|
import * as i5 from '@angular/material/icon';
|
|
28
28
|
import { MatIconModule } from '@angular/material/icon';
|
|
29
|
-
import * as i9 from '@angular/cdk/a11y';
|
|
30
29
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
31
30
|
import * as i6 from '@angular/platform-browser';
|
|
32
31
|
import * as i5$1 from '@angular/material/menu';
|
|
@@ -1352,7 +1351,7 @@ class AppExtensionService {
|
|
|
1352
1351
|
searchLibraries: this.getDocumentListPreset(config, 'search-libraries')
|
|
1353
1352
|
};
|
|
1354
1353
|
this.withCredentials = this.appConfig.get('auth.withCredentials', false);
|
|
1355
|
-
if (config.features
|
|
1354
|
+
if (config.features?.viewer) {
|
|
1356
1355
|
this.viewerRules = config.features.viewer['rules'] || {};
|
|
1357
1356
|
}
|
|
1358
1357
|
this.registerIcons(config);
|
|
@@ -1490,7 +1489,7 @@ class AppExtensionService {
|
|
|
1490
1489
|
}
|
|
1491
1490
|
setActionDisabledFromRule(action) {
|
|
1492
1491
|
let disabled = false;
|
|
1493
|
-
if (action
|
|
1492
|
+
if (action?.rules?.enabled) {
|
|
1494
1493
|
disabled = !this.extensions.evaluateRule(action.rules.enabled, this);
|
|
1495
1494
|
}
|
|
1496
1495
|
return {
|
|
@@ -1600,7 +1599,7 @@ class AppExtensionService {
|
|
|
1600
1599
|
};
|
|
1601
1600
|
}
|
|
1602
1601
|
filterVisible(action) {
|
|
1603
|
-
if (action
|
|
1602
|
+
if (action?.rules?.visible) {
|
|
1604
1603
|
return this.extensions.evaluateRule(action.rules.visible, this);
|
|
1605
1604
|
}
|
|
1606
1605
|
return true;
|
|
@@ -1610,7 +1609,7 @@ class AppExtensionService {
|
|
|
1610
1609
|
if (extension.disabled) {
|
|
1611
1610
|
return true;
|
|
1612
1611
|
}
|
|
1613
|
-
if (extension.rules
|
|
1612
|
+
if (extension.rules?.disabled) {
|
|
1614
1613
|
return this.extensions.evaluateRule(extension.rules.disabled, this);
|
|
1615
1614
|
}
|
|
1616
1615
|
}
|
|
@@ -1719,7 +1718,7 @@ class ToolbarMenuItemComponent {
|
|
|
1719
1718
|
}
|
|
1720
1719
|
}
|
|
1721
1720
|
hasClickAction(actionRef) {
|
|
1722
|
-
return !!
|
|
1721
|
+
return !!actionRef?.actions?.click;
|
|
1723
1722
|
}
|
|
1724
1723
|
trackByActionId(_, obj) {
|
|
1725
1724
|
return obj.id;
|
|
@@ -1782,7 +1781,7 @@ class ToolbarButtonComponent {
|
|
|
1782
1781
|
}
|
|
1783
1782
|
}
|
|
1784
1783
|
hasClickAction(actionRef) {
|
|
1785
|
-
return !!
|
|
1784
|
+
return !!actionRef?.actions?.click;
|
|
1786
1785
|
}
|
|
1787
1786
|
}
|
|
1788
1787
|
ToolbarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: ToolbarButtonComponent, deps: [{ token: AppExtensionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -2048,10 +2047,10 @@ class InfoDrawerComponent {
|
|
|
2048
2047
|
}
|
|
2049
2048
|
}
|
|
2050
2049
|
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 });
|
|
2051
|
-
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'\"
|
|
2050
|
+
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 });
|
|
2052
2051
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: InfoDrawerComponent, decorators: [{
|
|
2053
2052
|
type: Component,
|
|
2054
|
-
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'\"
|
|
2053
|
+
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" }]
|
|
2055
2054
|
}], ctorParameters: function () { return [{ type: i1$2.Store }, { type: ContentApiService }, { type: AppExtensionService }]; }, propDecorators: { nodeId: [{
|
|
2056
2055
|
type: Input
|
|
2057
2056
|
}], node: [{
|
|
@@ -2264,7 +2263,7 @@ class PageComponent {
|
|
|
2264
2263
|
});
|
|
2265
2264
|
}
|
|
2266
2265
|
ngOnChanges(changes) {
|
|
2267
|
-
if (changes.nodeResult
|
|
2266
|
+
if (changes.nodeResult?.currentValue) {
|
|
2268
2267
|
this.nodeResult = changes.nodeResult.currentValue;
|
|
2269
2268
|
}
|
|
2270
2269
|
}
|
|
@@ -2276,7 +2275,7 @@ class PageComponent {
|
|
|
2276
2275
|
this.store.dispatch(new SetSelectedNodesAction([]));
|
|
2277
2276
|
}
|
|
2278
2277
|
showPreview(node, extras) {
|
|
2279
|
-
if (node
|
|
2278
|
+
if (node?.entry) {
|
|
2280
2279
|
if (this.fileAutoDownloadService?.shouldFileAutoDownload(node.entry?.content?.sizeInBytes)) {
|
|
2281
2280
|
this.fileAutoDownloadService.autoDownloadFile(node);
|
|
2282
2281
|
}
|
|
@@ -2420,12 +2419,9 @@ class ContextActionsDirective {
|
|
|
2420
2419
|
return this.findAncestor(target, 'adf-datatable-cell').classList.contains('adf-no-content-container');
|
|
2421
2420
|
}
|
|
2422
2421
|
findAncestor(el, className) {
|
|
2423
|
-
|
|
2424
|
-
|
|
2422
|
+
while (el && !el.classList.contains(className)) {
|
|
2423
|
+
el = el.parentElement;
|
|
2425
2424
|
}
|
|
2426
|
-
// eslint-disable-next-line curly
|
|
2427
|
-
while ((el = el.parentElement) && !el.classList.contains(className))
|
|
2428
|
-
;
|
|
2429
2425
|
return el;
|
|
2430
2426
|
}
|
|
2431
2427
|
}
|