@alfresco/aca-shared 7.0.0 → 7.0.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alfresco-aca-shared-rules.mjs","sources":["../../../../projects/aca-shared/rules/src/navigation.rules.ts","../../../../projects/aca-shared/rules/src/repository.rules.ts","../../../../projects/aca-shared/rules/src/user.rules.ts","../../../../projects/aca-shared/rules/src/app.rules.ts","../../../../projects/aca-shared/rules/src/public-api.ts","../../../../projects/aca-shared/rules/src/alfresco-aca-shared-rules.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2025 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 { RuleContext } from '@alfresco/adf-extensions';\n\n/**\n * Checks if a Preview route is activated.\n * JSON ref: `app.navigation.isPreview`\n */\nexport function isPreview(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url && (url.includes('/preview/') || url.includes('viewer:view') || url.includes('/view/'));\n}\n\n/**\n * Checks if a **Favorites** route is activated.\n * JSON ref: `app.navigation.isFavorites`\n */\nexport function isFavorites(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/favorites') && !isPreview(context);\n}\n\n/**\n * Checks if a **Shared Files** route is activated.\n * JSON ref: `app.navigation.isSharedFiles`\n */\nexport function isSharedFiles(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/shared') && !isPreview(context);\n}\n\n/**\n * Checks if a **Trashcan** route is activated.\n * JSON ref: `app.navigation.isTrashcan`\n */\nexport function isTrashcan(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/trashcan');\n}\n\n/**\n * Checks if a **Personal Files** route is activated.\n * JSON ref: `app.navigation.isPersonalFiles`\n */\nexport function isPersonalFiles(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/personal-files');\n}\n\n/**\n * Checks if a **Library Files** or **Library Search Result** route is activated.\n * JSON ref: `app.navigation.isLibraryFiles`\n */\nexport function isLibraries(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.endsWith('/libraries') || url?.startsWith('/search-libraries');\n}\n\nexport function isLibraryContent(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.endsWith('/libraries') || url?.includes('/libraries/') || url?.startsWith('/search-libraries');\n}\n\nexport function isDetails(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.includes('/details');\n}\n\n/**\n * Checks if a **Recent Files** route is activated.\n * JSON ref: `app.navigation.isRecentFiles`\n */\nexport function isRecentFiles(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/recent-files');\n}\n\n/**\n * Checks if a **Search Results** route is activated.\n * JSON ref: `app.navigation.isSearchResults`\n */\nexport function isSearchResults(\n context: RuleContext\n // ...args: RuleParameter[]\n): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/search');\n}\n","/*!\n * Copyright © 2005-2025 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 { RuleContext } from '@alfresco/adf-extensions';\n\n/**\n * Checks if the quick share repository option is enabled or not.\n * JSON ref: `repository.isQuickShareEnabled`\n */\nexport const hasQuickShareEnabled = (context: RuleContext): boolean => context.repository.status.isQuickShareEnabled;\n\nexport function isMajorVersionAvailable(context: RuleContext, versionNumber: string): boolean {\n const majorVersion = context.repository.version?.major ? parseInt(context.repository.version.major, 10) : 0;\n return majorVersion >= parseInt(versionNumber, 10);\n}\n","/*!\n * Copyright © 2005-2025 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 { RuleContext } from '@alfresco/adf-extensions';\n\n/**\n * Checks if user is admin.\n * JSON ref: `user.isAdmin`\n */\nexport const isAdmin = (context: RuleContext): boolean => context.profile.isAdmin;\n","/*!\n * Copyright © 2005-2025 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 { AppConfigService } from '@alfresco/adf-core';\nimport { RuleContext } from '@alfresco/adf-extensions';\nimport * as navigation from './navigation.rules';\nimport * as repository from './repository.rules';\nimport { isAdmin } from './user.rules';\n\n/* cspell:disable */\nexport const supportedExtensions = {\n doc: 'ms-word',\n docx: 'ms-word',\n docm: 'ms-word',\n dot: 'ms-word',\n dotx: 'ms-word',\n dotm: 'ms-word',\n rtf: 'ms-word',\n xls: 'ms-excel',\n xlsx: 'ms-excel',\n xlsb: 'ms-excel',\n xlsm: 'ms-excel',\n xlt: 'ms-excel',\n xltx: 'ms-excel',\n xltm: 'ms-excel',\n xlam: 'ms-excel',\n ppt: 'ms-powerpoint',\n pptx: 'ms-powerpoint',\n pot: 'ms-powerpoint',\n potx: 'ms-powerpoint',\n potm: 'ms-powerpoint',\n pptm: 'ms-powerpoint',\n pps: 'ms-powerpoint',\n ppsx: 'ms-powerpoint',\n ppam: 'ms-powerpoint',\n ppsm: 'ms-powerpoint',\n sldx: 'ms-powerpoint',\n sldm: 'ms-powerpoint',\n vsd: 'ms-visio',\n vss: 'ms-visio',\n vst: 'ms-visio',\n vsdx: 'ms-visio',\n vsdm: 'ms-visio',\n vssx: 'ms-visio',\n vssm: 'ms-visio',\n vstx: 'ms-visio',\n vstm: 'ms-visio'\n};\n\n/* cspell:enable */\n\nexport function getFileExtension(fileName: string): string | null {\n if (fileName) {\n const match = fileName.toLowerCase().match(/\\.([^\\./\\?\\#]+)($|\\?|\\#)/);\n\n return match ? match[1] : null;\n }\n\n return null;\n}\n\nexport interface AcaRuleContext extends RuleContext {\n withCredentials: boolean;\n appConfig: AppConfigService;\n}\n\n/**\n * Checks if the content plugin is enabled.\n * JSON ref: `app.isContentServiceEnabled`\n */\nexport const isContentServiceEnabled = (context: AcaRuleContext): boolean => {\n const flag = context.appConfig.get<boolean | string>('plugins.contentService');\n return flag === true || flag === 'true';\n};\n\n/**\n * Checks if user can mark selected nodes as **Favorite**.\n * JSON ref: `app.selection.canAddFavorite`\n */\nexport function canAddFavorite(context: RuleContext): boolean {\n if (navigation.isFavorites(context) || navigation.isLibraries(context) || navigation.isTrashcan(context)) {\n return false;\n }\n return context.selection.nodes.some((node) => !node.entry.isFavorite);\n}\n\n/**\n * Checks if user can un-mark selected nodes as **Favorite**.\n * JSON ref: `app.selection.canRemoveFavorite`\n */\nexport function canRemoveFavorite(context: RuleContext): boolean {\n if (navigation.isFavorites(context)) {\n return true;\n }\n return context.selection.nodes.every((node) => node.entry.isFavorite);\n}\n\n/**\n * Checks if user can share selected file.\n * JSON ref: `app.selection.file.canShare`\n */\nexport const canShareFile = (context: RuleContext): boolean =>\n [context.selection.file, !navigation.isTrashcan(context), repository.hasQuickShareEnabled(context), !isShared(context)].every(Boolean);\n\n/**\n * Checks if user can perform \"Join\" or \"Cancel Join Request\" on a library.\n * JSON ref: `canToggleJoinLibrary`\n */\nexport const canToggleJoinLibrary = (context: RuleContext): boolean =>\n !isPrivateLibrary(context) || [isPrivateLibrary(context), isAdmin(context)].every(Boolean);\n\n/**\n * Checks if user can edit the selected folder.\n * JSON ref: `canEditFolder`\n *\n * @param context Rule execution context\n */\nexport const canEditFolder = (context: RuleContext): boolean => [canUpdateSelectedFolder(context), !navigation.isTrashcan(context)].every(Boolean);\n\n/**\n * Checks if the selected file is already shared.\n * JSON ref: `app.selection.file.isShared`\n */\nexport function isShared(context: RuleContext): boolean {\n if (navigation.isSharedFiles(context) && context.selection.file) {\n return true;\n }\n\n if (!navigation.isTrashcan(context) && hasSelection(context) && context.selection.file) {\n return !!context.selection.file.entry?.properties?.['qshare:sharedId'];\n }\n\n return false;\n}\n\n/**\n * Checks if user can delete selected nodes.\n * JSON ref: `app.selection.canDelete`\n */\nexport function canDeleteSelection(context: RuleContext): boolean {\n if (hasLockedFiles(context)) {\n return false;\n }\n\n // temp workaround for Favorites api\n if (navigation.isFavorites(context)) {\n return true;\n }\n\n if (navigation.isPreview(context)) {\n return context.permissions.check(context.selection.nodes, ['delete']);\n }\n\n // workaround for Shared Files\n if (navigation.isSharedFiles(context)) {\n return context.permissions.check(context.selection.nodes, ['delete'], {\n target: 'allowableOperationsOnTarget'\n });\n }\n\n return context.permissions.check(context.selection.nodes, ['delete']);\n}\n\n/**\n * Checks if user selected anything.\n * JSON ref: `app.selection.notEmpty`\n */\nexport const hasSelection = (context: RuleContext): boolean => !context.selection.isEmpty;\n\n/**\n * Checks if user can create a new folder with current path.\n * JSON ref: `app.navigation.folder.canCreate`\n */\nexport function canCreateFolder(context: AcaRuleContext): boolean {\n if (navigation.isPersonalFiles(context) || navigation.isLibraryContent(context)) {\n const { currentFolder } = context.navigation;\n\n if (currentFolder) {\n return context.permissions.check(currentFolder, ['create']);\n }\n }\n return false;\n}\n\n/**\n * Checks if user can download selected nodes (either files or folders).\n * JSON ref: `app.selection.canDownload`\n */\nexport function canDownloadSelection(context: RuleContext): boolean {\n return context.selection.nodes.every((node: any) => node.entry && (node.entry.isFile || node.entry.isFolder || !!node.entry.nodeId));\n}\n\n/**\n * Checks if user has selected a folder.\n * JSON ref: `app.selection.folder`\n */\nexport const hasFolderSelected = (context: RuleContext): boolean => !!context.selection.folder;\n\n/**\n * Checks if user has selected a library (site).\n * JSON ref: `app.selection.library`\n */\nexport const hasLibrarySelected = (context: RuleContext): boolean => !!context.selection.library;\n\n/**\n * Checks if user has selected a **private** library (site)\n * JSON ref: `app.selection.isPrivateLibrary`\n */\nexport function isPrivateLibrary(context: RuleContext): boolean {\n return context.selection.library?.entry?.visibility === 'PRIVATE';\n}\n\n/**\n * Checks if the selected library has a **role** property defined.\n * JSON ref: `app.selection.hasLibraryRole`\n */\nexport function hasLibraryRole(context: RuleContext): boolean {\n const library = context.selection.library;\n return library ? !!library.entry?.role : false;\n}\n\n/**\n * Checks if user has selected a file.\n * JSON ref: `app.selection.file`\n */\nexport const hasFileSelected = (context: RuleContext): boolean => !!context?.selection?.file;\n\n/**\n * Checks if user can update the first selected node.\n * JSON ref: `app.selection.first.canUpdate`\n */\nexport function canUpdateSelectedNode(context: RuleContext): boolean {\n if (context.selection && hasSelection(context)) {\n const node = context.selection.first;\n\n if (node?.entry.isFile && hasLockedFiles(context)) {\n return false;\n }\n\n return context.permissions.check(node, ['update']);\n }\n return false;\n}\n\nexport function isMultiselection(context: RuleContext): boolean {\n let isMultiNodeSelected = false;\n if (context.selection && hasSelection(context)) {\n isMultiNodeSelected = context.selection.count > 1;\n }\n return isMultiNodeSelected;\n}\n\n/**\n * Checks if user can update the first selected folder.\n * JSON ref: `app.selection.folder.canUpdate`\n */\nexport function canUpdateSelectedFolder(context: RuleContext): boolean {\n const { folder } = context.selection;\n if (folder) {\n return (\n // workaround for Favorites Api\n navigation.isFavorites(context) || context.permissions.check(folder.entry, ['update'])\n );\n }\n return false;\n}\n\n/**\n * Checks if user has selected a **locked** file node.\n * JSON ref: `app.selection.file.isLocked`\n */\nexport function hasLockedFiles(context: RuleContext): boolean {\n if (context?.selection?.nodes) {\n return context.selection.nodes.some((node) => {\n if (!node.entry.isFile) {\n return false;\n }\n\n return node.entry.isLocked || node.entry.properties?.['cm:lockType'] === 'READ_ONLY_LOCK';\n });\n }\n\n return false;\n}\n\n/**\n * Checks if the selected file has **write** or **read-only** locks specified.\n * JSON ref: `app.selection.file.isLocked`\n */\nexport const isWriteLocked = (context: RuleContext): boolean =>\n !!(\n context?.selection?.file?.entry?.properties?.['cm:lockType'] === 'WRITE_LOCK' ||\n context?.selection?.file?.entry?.properties?.['cm:lockType'] === 'READ_ONLY_LOCK'\n );\n\n/**\n * Checks if the selected file has **write** or **read-only** locks specified,\n * and that current user is the owner of the lock.\n * JSON ref: `app.selection.file.isLockOwner`\n */\nexport const isUserWriteLockOwner = (context: RuleContext): boolean =>\n isWriteLocked(context) &&\n context.selection.file?.entry.properties['cm:lockOwner'] &&\n context.selection.file?.entry.properties['cm:lockOwner'].id === context.profile.id;\n\n/**\n * Checks if user can lock selected file.\n * JSON ref: `app.selection.file.canLock`\n */\nexport const canLockFile = (context: RuleContext): boolean => !isWriteLocked(context) && canUpdateSelectedNode(context);\n\n/**\n * Checks if user can unlock selected file.\n * JSON ref: `app.selection.file.canUnlock`\n */\nexport function canUnlockFile(context: RuleContext): boolean {\n const { file } = context.selection;\n return isWriteLocked(context) && (context.permissions.check(file?.entry, ['delete']) || isUserWriteLockOwner(context));\n}\n\n/**\n * Checks if user can upload a new version of the file.\n * JSON ref: `app.selection.file.canUploadVersion`\n */\nexport function canUploadVersion(context: RuleContext): boolean {\n if (navigation.isFavorites(context) || navigation.isSharedFiles(context)) {\n return hasFileSelected(context);\n }\n\n return [\n hasFileSelected(context),\n !navigation.isTrashcan(context),\n isWriteLocked(context) ? isUserWriteLockOwner(context) : canUpdateSelectedNode(context)\n ].every(Boolean);\n}\n\n/**\n * Checks if user can print the file.\n * JSON ref: `canPrintFile`\n *\n * @param context Rule execution context\n */\nexport const canPrintFile = (context: RuleContext): boolean => {\n const nodeEntry = context.selection.file.entry;\n const mediaMimeTypes = ['video/mp4', 'video/webm', 'video/ogg', 'audio/mpeg', 'audio/mp3', 'audio/ogg', 'audio/wav'];\n return !mediaMimeTypes.includes(nodeEntry.content.mimeType);\n};\n\n/**\n * Checks if user can toggle shared link mode.\n * JSON ref: `canToggleSharedLink`\n *\n * @param context Rule execution context\n */\nexport const canToggleSharedLink = (context: RuleContext): boolean => [canShareFile(context), isShared(context)].some(Boolean);\n\n/**\n * Checks if user can edit aspects for the selected node.\n * JSON ref: `canEditAspects`\n *\n * @param context Rule execution context\n */\nexport const canEditAspects = (context: RuleContext): boolean =>\n [\n !isMultiselection(context),\n canUpdateSelectedNode(context),\n !isWriteLocked(context),\n !navigation.isTrashcan(context),\n repository.isMajorVersionAvailable(context, '7')\n ].every(Boolean);\n\nexport const canToggleFileLock = (context: RuleContext): boolean => [canLockFile(context) || canUnlockFile(context)].some(Boolean);\n\n/**\n * @deprecated Uses workarounds for for recent files and search api issues.\n * Checks if user can toggle **Favorite** state for a node.\n * @param context Rule execution context\n */\nexport const canToggleFavorite = (context: RuleContext): boolean =>\n [\n [canAddFavorite(context), canRemoveFavorite(context)].some(Boolean),\n [navigation.isRecentFiles(context), navigation.isSharedFiles(context), navigation.isSearchResults(context), navigation.isFavorites(context)].some(\n Boolean\n )\n ].every(Boolean);\n\n/**\n * Checks if application should render logout option.\n * JSON ref: `canShowLogout`\n *\n * @param context Rule execution context\n */\nexport const canShowLogout = (context: AcaRuleContext): boolean => !context.withCredentials;\n\n/**\n * Checks if user is library manager\n * JSON ref: `isLibraryManager`\n *\n * @param context Rule execution context\n */\nexport const isLibraryManager = (context: RuleContext): boolean => context.selection.library?.entry.role === 'SiteManager' || isAdmin(context);\n\n/**\n * Checks if the file can be opened with MS Office\n * JSON ref: `aos.canOpenWithOffice`\n *\n * @param context Rule execution context\n */\nexport function canOpenWithOffice(context: AcaRuleContext): boolean {\n const flag = `${context.appConfig.get<boolean | string>('plugins.aosPlugin', false)}`;\n\n if (flag !== 'true') {\n return false;\n }\n\n if (context.navigation?.url?.startsWith('/trashcan')) {\n return false;\n }\n\n if (!context?.selection) {\n return false;\n }\n\n const { file } = context.selection;\n\n if (!file?.entry) {\n return false;\n }\n\n const extension = getFileExtension(file.entry.name);\n if (!extension || !supportedExtensions[extension]) {\n return false;\n }\n\n if (!file.entry.properties) {\n return false;\n }\n\n if (file.entry.isLocked) {\n return false;\n }\n\n if (file.entry.properties['cm:lockType'] === 'WRITE_LOCK' || file.entry.properties['cm:lockType'] === 'READ_ONLY_LOCK') {\n return false;\n }\n\n const lockOwner = file.entry.properties['cm:lockOwner'];\n if (lockOwner && lockOwner.id !== context.profile.id) {\n return false;\n }\n\n // workaround for Shared files\n if (context.navigation?.url?.startsWith('/shared')) {\n // eslint-disable-next-line no-prototype-builtins\n if (file.entry.hasOwnProperty('allowableOperationsOnTarget')) {\n return context.permissions.check(file, ['update'], {\n target: 'allowableOperationsOnTarget'\n });\n }\n }\n\n return context.permissions.check(file, ['update']);\n}\n\nexport function isSmartFolder(context: RuleContext): boolean {\n if (!context.selection?.isEmpty) {\n const node = context.selection.first;\n if (!node?.entry.isFolder) {\n return false;\n }\n const nodeAspects = node.entry?.aspectNames ?? [];\n return nodeAspects.includes('smf:customConfigSmartFolder') || nodeAspects.includes('smf:systemConfigSmartFolder');\n }\n return false;\n}\n\nexport const areTagsEnabled = (context: AcaRuleContext): boolean => context.appConfig.get('plugins.tagsEnabled', true);\n\nexport const areCategoriesEnabled = (context: AcaRuleContext): boolean => context.appConfig.get('plugins.categoriesEnabled', true);\n\nexport const canDisplayKnowledgeRetrievalButton = (context: AcaRuleContext): boolean =>\n context.appConfig.get('plugins.knowledgeRetrievalEnabled', false) &&\n (navigation.isPersonalFiles(context) ||\n navigation.isSharedFiles(context) ||\n navigation.isRecentFiles(context) ||\n navigation.isFavorites(context) ||\n ((navigation.isSearchResults(context) || navigation.isLibraryContent(context)) && !navigation.isLibraries(context)));\n","/*!\n * Copyright © 2005-2025 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 './app.rules';\nexport * from './navigation.rules';\nexport * from './repository.rules';\nexport * from './user.rules';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["navigation.isFavorites","navigation.isLibraries","navigation.isTrashcan","repository.hasQuickShareEnabled","navigation.isSharedFiles","navigation.isPreview","navigation.isPersonalFiles","navigation.isLibraryContent","repository.isMajorVersionAvailable","navigation.isRecentFiles","navigation.isSearchResults"],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AAIH;;;AAGG;AACG,SAAU,SAAS,CAAC,OAAoB,EAAA;AAC5C,IAAA,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,UAAU;IAClC,OAAO,GAAG,KAAK,GAAG,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AACpG;AAEA;;;AAGG;AACG,SAAU,WAAW,CAAC,OAAoB,EAAA;AAC9C,IAAA,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,UAAU;AAClC,IAAA,OAAO,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;AAC7D;AAEA;;;AAGG;AACG,SAAU,aAAa,CAAC,OAAoB,EAAA;AAChD,IAAA,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,UAAU;AAClC,IAAA,OAAO,GAAG,EAAE,UAAU,C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MAAM,oBAAoB,GAAG,CAAC,OAAuB,KAAc,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,2BAA2B,EAAE,IAAI;AAE1H,MAAM,kCAAkC,GAAG,CAAC,OAAuB,KACxE,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,mCAAmC,EAAE,KAAK,CAAC;AACjE,KAACM,eAA0B,CAAC,OAAO,CAAC;AAClC,QAAAF,aAAwB,CAAC,OAAO,CAAC;AACjC,QAAAK,aAAwB,CAAC,OAAO,CAAC;AACjC,QAAAT,WAAsB,CAAC,OAAO,CAAC;SAC9B,CAACU,eAA0B,CAAC,OAAO,CAAC,IAAIH,gBAA2B,CAAC,OAAO,CAAC,KAAK,CAACN,WAAsB,CAAC,OAAO,CAAC,CAAC;;AC3fvH;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"alfresco-aca-shared-rules.mjs","sources":["../../../../projects/aca-shared/rules/src/navigation.rules.ts","../../../../projects/aca-shared/rules/src/repository.rules.ts","../../../../projects/aca-shared/rules/src/user.rules.ts","../../../../projects/aca-shared/rules/src/app.rules.ts","../../../../projects/aca-shared/rules/src/public-api.ts","../../../../projects/aca-shared/rules/src/alfresco-aca-shared-rules.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2025 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 { RuleContext } from '@alfresco/adf-extensions';\n\n/**\n * Checks if a Preview route is activated.\n * JSON ref: `app.navigation.isPreview`\n */\nexport function isPreview(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url && (url.includes('/preview/') || url.includes('viewer:view') || url.includes('/view/'));\n}\n\n/**\n * Checks if a **Favorites** route is activated.\n * JSON ref: `app.navigation.isFavorites`\n */\nexport function isFavorites(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/favorites') && !isPreview(context);\n}\n\n/**\n * Checks if a **Shared Files** route is activated.\n * JSON ref: `app.navigation.isSharedFiles`\n */\nexport function isSharedFiles(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/shared') && !isPreview(context);\n}\n\n/**\n * Checks if a **Trashcan** route is activated.\n * JSON ref: `app.navigation.isTrashcan`\n */\nexport function isTrashcan(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/trashcan');\n}\n\n/**\n * Checks if a **Personal Files** route is activated.\n * JSON ref: `app.navigation.isPersonalFiles`\n */\nexport function isPersonalFiles(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/personal-files');\n}\n\n/**\n * Checks if a **Library Files** or **Library Search Result** route is activated.\n * JSON ref: `app.navigation.isLibraryFiles`\n */\nexport function isLibraries(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.endsWith('/libraries') || url?.startsWith('/search-libraries');\n}\n\nexport function isLibraryContent(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.endsWith('/libraries') || url?.includes('/libraries/') || url?.startsWith('/search-libraries');\n}\n\nexport function isDetails(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.includes('/details');\n}\n\n/**\n * Checks if a **Recent Files** route is activated.\n * JSON ref: `app.navigation.isRecentFiles`\n */\nexport function isRecentFiles(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/recent-files');\n}\n\n/**\n * Checks if a **Search Results** route is activated.\n * JSON ref: `app.navigation.isSearchResults`\n */\nexport function isSearchResults(\n context: RuleContext\n // ...args: RuleParameter[]\n): boolean {\n const { url } = context.navigation;\n return url?.startsWith('/search');\n}\n","/*!\n * Copyright © 2005-2025 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 { RuleContext } from '@alfresco/adf-extensions';\n\n/**\n * Checks if the quick share repository option is enabled or not.\n * JSON ref: `repository.isQuickShareEnabled`\n */\nexport const hasQuickShareEnabled = (context: RuleContext): boolean => context.repository.status.isQuickShareEnabled;\n\nexport function isMajorVersionAvailable(context: RuleContext, versionNumber: string): boolean {\n const majorVersion = context.repository.version?.major ? parseInt(context.repository.version.major, 10) : 0;\n return majorVersion >= parseInt(versionNumber, 10);\n}\n","/*!\n * Copyright © 2005-2025 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 { RuleContext } from '@alfresco/adf-extensions';\n\n/**\n * Checks if user is admin.\n * JSON ref: `user.isAdmin`\n */\nexport const isAdmin = (context: RuleContext): boolean => context.profile.isAdmin;\n","/*!\n * Copyright © 2005-2025 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 { AppConfigService } from '@alfresco/adf-core';\nimport { RuleContext } from '@alfresco/adf-extensions';\nimport * as navigation from './navigation.rules';\nimport * as repository from './repository.rules';\nimport { isAdmin } from './user.rules';\n\n/* cspell:disable */\nexport const supportedExtensions = {\n doc: 'ms-word',\n docx: 'ms-word',\n docm: 'ms-word',\n dot: 'ms-word',\n dotx: 'ms-word',\n dotm: 'ms-word',\n rtf: 'ms-word',\n xls: 'ms-excel',\n xlsx: 'ms-excel',\n xlsb: 'ms-excel',\n xlsm: 'ms-excel',\n xlt: 'ms-excel',\n xltx: 'ms-excel',\n xltm: 'ms-excel',\n xlam: 'ms-excel',\n ppt: 'ms-powerpoint',\n pptx: 'ms-powerpoint',\n pot: 'ms-powerpoint',\n potx: 'ms-powerpoint',\n potm: 'ms-powerpoint',\n pptm: 'ms-powerpoint',\n pps: 'ms-powerpoint',\n ppsx: 'ms-powerpoint',\n ppam: 'ms-powerpoint',\n ppsm: 'ms-powerpoint',\n sldx: 'ms-powerpoint',\n sldm: 'ms-powerpoint',\n vsd: 'ms-visio',\n vss: 'ms-visio',\n vst: 'ms-visio',\n vsdx: 'ms-visio',\n vsdm: 'ms-visio',\n vssx: 'ms-visio',\n vssm: 'ms-visio',\n vstx: 'ms-visio',\n vstm: 'ms-visio'\n};\n\n/* cspell:enable */\n\nexport function getFileExtension(fileName: string): string | null {\n if (fileName) {\n const match = fileName.toLowerCase().match(/\\.([^\\./\\?\\#]+)($|\\?|\\#)/);\n\n return match ? match[1] : null;\n }\n\n return null;\n}\n\nexport interface AcaRuleContext extends RuleContext {\n withCredentials: boolean;\n appConfig: AppConfigService;\n}\n\n/**\n * Checks if the content plugin is enabled.\n * JSON ref: `app.isContentServiceEnabled`\n */\nexport const isContentServiceEnabled = (context: AcaRuleContext): boolean => {\n const flag = context.appConfig.get<boolean | string>('plugins.contentService');\n return flag === true || flag === 'true';\n};\n\n/**\n * Checks if user can mark selected nodes as **Favorite**.\n * JSON ref: `app.selection.canAddFavorite`\n */\nexport function canAddFavorite(context: RuleContext): boolean {\n if (navigation.isFavorites(context) || navigation.isLibraries(context) || navigation.isTrashcan(context)) {\n return false;\n }\n return context.selection.nodes.some((node) => !node.entry.isFavorite);\n}\n\n/**\n * Checks if user can un-mark selected nodes as **Favorite**.\n * JSON ref: `app.selection.canRemoveFavorite`\n */\nexport function canRemoveFavorite(context: RuleContext): boolean {\n if (navigation.isFavorites(context)) {\n return true;\n }\n return context.selection.nodes.every((node) => node.entry.isFavorite);\n}\n\n/**\n * Checks if user can share selected file.\n * JSON ref: `app.selection.file.canShare`\n */\nexport const canShareFile = (context: RuleContext): boolean =>\n [context.selection.file, !navigation.isTrashcan(context), repository.hasQuickShareEnabled(context), !isShared(context)].every(Boolean);\n\n/**\n * Checks if user can perform \"Join\" or \"Cancel Join Request\" on a library.\n * JSON ref: `canToggleJoinLibrary`\n */\nexport const canToggleJoinLibrary = (context: RuleContext): boolean =>\n !isPrivateLibrary(context) || [isPrivateLibrary(context), isAdmin(context)].every(Boolean);\n\n/**\n * Checks if user can edit the selected folder.\n * JSON ref: `canEditFolder`\n *\n * @param context Rule execution context\n */\nexport const canEditFolder = (context: RuleContext): boolean => [canUpdateSelectedFolder(context), !navigation.isTrashcan(context)].every(Boolean);\n\n/**\n * Checks if the selected file is already shared.\n * JSON ref: `app.selection.file.isShared`\n */\nexport function isShared(context: RuleContext): boolean {\n if (navigation.isSharedFiles(context) && context.selection.file) {\n return true;\n }\n\n if (!navigation.isTrashcan(context) && hasSelection(context) && context.selection.file) {\n return !!context.selection.file.entry?.properties?.['qshare:sharedId'];\n }\n\n return false;\n}\n\n/**\n * Checks if user can delete selected nodes.\n * JSON ref: `app.selection.canDelete`\n */\nexport function canDeleteSelection(context: RuleContext): boolean {\n if (hasLockedFiles(context)) {\n return false;\n }\n\n // temp workaround for Favorites api\n if (navigation.isFavorites(context)) {\n return true;\n }\n\n if (navigation.isPreview(context)) {\n return context.permissions.check(context.selection.nodes, ['delete']);\n }\n\n // workaround for Shared Files\n if (navigation.isSharedFiles(context)) {\n return context.permissions.check(context.selection.nodes, ['delete'], {\n target: 'allowableOperationsOnTarget'\n });\n }\n\n return context.permissions.check(context.selection.nodes, ['delete']);\n}\n\n/**\n * Checks if user selected anything.\n * JSON ref: `app.selection.notEmpty`\n */\nexport const hasSelection = (context: RuleContext): boolean => !context.selection.isEmpty;\n\n/**\n * Checks if user can create a new folder with current path.\n * JSON ref: `app.navigation.folder.canCreate`\n */\nexport function canCreateFolder(context: AcaRuleContext): boolean {\n if (navigation.isPersonalFiles(context) || navigation.isLibraryContent(context)) {\n const { currentFolder } = context.navigation;\n\n if (currentFolder) {\n return context.permissions.check(currentFolder, ['create']);\n }\n }\n return false;\n}\n\n/**\n * Checks if user can download selected nodes (either files or folders).\n * JSON ref: `app.selection.canDownload`\n */\nexport function canDownloadSelection(context: RuleContext): boolean {\n return context.selection.nodes.every((node: any) => node.entry && (node.entry.isFile || node.entry.isFolder || !!node.entry.nodeId));\n}\n\n/**\n * Checks if user has selected a folder.\n * JSON ref: `app.selection.folder`\n */\nexport const hasFolderSelected = (context: RuleContext): boolean => !!context.selection.folder;\n\n/**\n * Checks if user has selected a library (site).\n * JSON ref: `app.selection.library`\n */\nexport const hasLibrarySelected = (context: RuleContext): boolean => !!context.selection.library;\n\n/**\n * Checks if user has selected a **private** library (site)\n * JSON ref: `app.selection.isPrivateLibrary`\n */\nexport function isPrivateLibrary(context: RuleContext): boolean {\n return context.selection.library?.entry?.visibility === 'PRIVATE';\n}\n\n/**\n * Checks if the selected library has a **role** property defined.\n * JSON ref: `app.selection.hasLibraryRole`\n */\nexport function hasLibraryRole(context: RuleContext): boolean {\n const library = context.selection.library;\n return library ? !!library.entry?.role : false;\n}\n\n/**\n * Checks if user has selected a file.\n * JSON ref: `app.selection.file`\n */\nexport const hasFileSelected = (context: RuleContext): boolean => !!context?.selection?.file;\n\n/**\n * Checks if user can update the first selected node.\n * JSON ref: `app.selection.first.canUpdate`\n */\nexport function canUpdateSelectedNode(context: RuleContext): boolean {\n if (context.selection && hasSelection(context)) {\n const node = context.selection.first;\n\n if (node?.entry.isFile && hasLockedFiles(context)) {\n return false;\n }\n\n return context.permissions.check(node, ['update']);\n }\n return false;\n}\n\nexport function isMultiselection(context: RuleContext): boolean {\n let isMultiNodeSelected = false;\n if (context.selection && hasSelection(context)) {\n isMultiNodeSelected = context.selection.count > 1;\n }\n return isMultiNodeSelected;\n}\n\n/**\n * Checks if user can update the first selected folder.\n * JSON ref: `app.selection.folder.canUpdate`\n */\nexport function canUpdateSelectedFolder(context: RuleContext): boolean {\n const { folder } = context.selection;\n if (folder) {\n return (\n // workaround for Favorites Api\n navigation.isFavorites(context) || context.permissions.check(folder.entry, ['update'])\n );\n }\n return false;\n}\n\n/**\n * Checks if user has selected a **locked** file node.\n * JSON ref: `app.selection.file.isLocked`\n */\nexport function hasLockedFiles(context: RuleContext): boolean {\n if (context?.selection?.nodes) {\n return context.selection.nodes.some((node) => {\n if (!node.entry.isFile) {\n return false;\n }\n\n return node.entry.isLocked || node.entry.properties?.['cm:lockType'] === 'READ_ONLY_LOCK';\n });\n }\n\n return false;\n}\n\n/**\n * Checks if the selected file has **write** or **read-only** locks specified.\n * JSON ref: `app.selection.file.isLocked`\n */\nexport const isWriteLocked = (context: RuleContext): boolean =>\n !!(\n context?.selection?.file?.entry?.properties?.['cm:lockType'] === 'WRITE_LOCK' ||\n context?.selection?.file?.entry?.properties?.['cm:lockType'] === 'READ_ONLY_LOCK'\n );\n\n/**\n * Checks if the selected file has **write** or **read-only** locks specified,\n * and that current user is the owner of the lock.\n * JSON ref: `app.selection.file.isLockOwner`\n */\nexport const isUserWriteLockOwner = (context: RuleContext): boolean =>\n isWriteLocked(context) &&\n context.selection.file?.entry.properties['cm:lockOwner'] &&\n context.selection.file?.entry.properties['cm:lockOwner'].id === context.profile.id;\n\n/**\n * Checks if user can lock selected file.\n * JSON ref: `app.selection.file.canLock`\n */\nexport const canLockFile = (context: RuleContext): boolean => !isWriteLocked(context) && canUpdateSelectedNode(context);\n\n/**\n * Checks if user can unlock selected file.\n * JSON ref: `app.selection.file.canUnlock`\n */\nexport function canUnlockFile(context: RuleContext): boolean {\n const { file } = context.selection;\n return isWriteLocked(context) && (context.permissions.check(file?.entry, ['delete']) || isUserWriteLockOwner(context));\n}\n\n/**\n * Checks if user can upload a new version of the file.\n * JSON ref: `app.selection.file.canUploadVersion`\n */\nexport function canUploadVersion(context: RuleContext): boolean {\n if (navigation.isFavorites(context) || navigation.isSharedFiles(context)) {\n return hasFileSelected(context);\n }\n\n return [\n hasFileSelected(context),\n !navigation.isTrashcan(context),\n isWriteLocked(context) ? isUserWriteLockOwner(context) : canUpdateSelectedNode(context)\n ].every(Boolean);\n}\n\n/**\n * Checks if user can print the file.\n * JSON ref: `canPrintFile`\n *\n * @param context Rule execution context\n */\nexport const canPrintFile = (context: RuleContext): boolean => {\n const nodeEntry = context.selection.file.entry;\n const mediaMimeTypes = ['video/mp4', 'video/webm', 'video/ogg', 'audio/mpeg', 'audio/mp3', 'audio/ogg', 'audio/wav'];\n return !mediaMimeTypes.includes(nodeEntry.content.mimeType);\n};\n\n/**\n * Checks if user can toggle shared link mode.\n * JSON ref: `canToggleSharedLink`\n *\n * @param context Rule execution context\n */\nexport const canToggleSharedLink = (context: RuleContext): boolean => [canShareFile(context), isShared(context)].some(Boolean);\n\n/**\n * Checks if user can edit aspects for the selected node.\n * JSON ref: `canEditAspects`\n *\n * @param context Rule execution context\n */\nexport const canEditAspects = (context: RuleContext): boolean =>\n [\n !isMultiselection(context),\n canUpdateSelectedNode(context),\n !isWriteLocked(context),\n !navigation.isTrashcan(context),\n repository.isMajorVersionAvailable(context, '7')\n ].every(Boolean);\n\nexport const canToggleFileLock = (context: RuleContext): boolean => [canLockFile(context) || canUnlockFile(context)].some(Boolean);\n\n/**\n * @deprecated Uses workarounds for for recent files and search api issues.\n * Checks if user can toggle **Favorite** state for a node.\n * @param context Rule execution context\n */\nexport const canToggleFavorite = (context: RuleContext): boolean =>\n [\n [canAddFavorite(context), canRemoveFavorite(context)].some(Boolean),\n [navigation.isRecentFiles(context), navigation.isSharedFiles(context), navigation.isSearchResults(context), navigation.isFavorites(context)].some(\n Boolean\n )\n ].every(Boolean);\n\n/**\n * Checks if application should render logout option.\n * JSON ref: `canShowLogout`\n *\n * @param context Rule execution context\n */\nexport const canShowLogout = (context: AcaRuleContext): boolean => !context.withCredentials;\n\n/**\n * Checks if user is library manager\n * JSON ref: `isLibraryManager`\n *\n * @param context Rule execution context\n */\nexport const isLibraryManager = (context: RuleContext): boolean => context.selection.library?.entry.role === 'SiteManager' || isAdmin(context);\n\n/**\n * Checks if the file can be opened with MS Office\n * JSON ref: `aos.canOpenWithOffice`\n *\n * @param context Rule execution context\n */\nexport function canOpenWithOffice(context: AcaRuleContext): boolean {\n const flag = `${context.appConfig.get<boolean | string>('plugins.aosPlugin', false)}`;\n\n if (flag !== 'true') {\n return false;\n }\n\n if (context.navigation?.url?.startsWith('/trashcan')) {\n return false;\n }\n\n if (!context?.selection) {\n return false;\n }\n\n const { file } = context.selection;\n\n if (!file?.entry) {\n return false;\n }\n\n const extension = getFileExtension(file.entry.name);\n if (!extension || !supportedExtensions[extension]) {\n return false;\n }\n\n if (!file.entry.properties) {\n return false;\n }\n\n if (file.entry.isLocked) {\n return false;\n }\n\n if (file.entry.properties['cm:lockType'] === 'WRITE_LOCK' || file.entry.properties['cm:lockType'] === 'READ_ONLY_LOCK') {\n return false;\n }\n\n const lockOwner = file.entry.properties['cm:lockOwner'];\n if (lockOwner && lockOwner.id !== context.profile.id) {\n return false;\n }\n\n // workaround for Shared files\n if (context.navigation?.url?.startsWith('/shared')) {\n // eslint-disable-next-line no-prototype-builtins\n if (file.entry.hasOwnProperty('allowableOperationsOnTarget')) {\n return context.permissions.check(file, ['update'], {\n target: 'allowableOperationsOnTarget'\n });\n }\n }\n\n return context.permissions.check(file, ['update']);\n}\n\nexport function isSmartFolder(context: RuleContext): boolean {\n if (!context.selection?.isEmpty) {\n const node = context.selection.first;\n if (!node?.entry.isFolder) {\n return false;\n }\n const nodeAspects = node.entry?.aspectNames ?? [];\n return nodeAspects.includes('smf:customConfigSmartFolder') || nodeAspects.includes('smf:systemConfigSmartFolder');\n }\n return false;\n}\n\nexport const areTagsEnabled = (context: AcaRuleContext): boolean => context.appConfig.get('plugins.tagsEnabled', true);\n\nexport const areCategoriesEnabled = (context: AcaRuleContext): boolean => context.appConfig.get('plugins.categoriesEnabled', true);\n\nexport const canDisplayKnowledgeRetrievalButton = (context: AcaRuleContext): boolean =>\n context.appConfig.get('plugins.knowledgeRetrievalEnabled', false) &&\n (navigation.isPersonalFiles(context) ||\n navigation.isSharedFiles(context) ||\n navigation.isRecentFiles(context) ||\n navigation.isFavorites(context) ||\n ((navigation.isSearchResults(context) || navigation.isLibraryContent(context)) && !navigation.isLibraries(context)));\n","/*!\n * Copyright © 2005-2025 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 './app.rules';\nexport * from './navigation.rules';\nexport * from './repository.rules';\nexport * from './user.rules';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["navigation.isFavorites","navigation.isLibraries","navigation.isTrashcan","repository.hasQuickShareEnabled","navigation.isSharedFiles","navigation.isPreview","navigation.isPersonalFiles","navigation.isLibraryContent","repository.isMajorVersionAvailable","navigation.isRecentFiles","navigation.isSearchResults"],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AAIH;;;AAGG;AACG,SAAU,SAAS,CAAC,OAAoB,EAAA;AAC5C,IAAA,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,UAAU;IAClC,OAAO,GAAG,KAAK,GAAG,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,GA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AChD,IAAA,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,EAAE;AAC/B,QAAA,MAAM,IAAI,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK;AACpC,QAAA,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE;AACzB,YAAA,OAAO,KAAK;QACd;QACA,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,EAAE,WAAW,IAAI,EAAE;AACjD,QAAA,OAAO,WAAW,CAAC,QAAQ,CAAC,6BAA6B,CAAC,IAAI,WAAW,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IACnH;AACA,IAAA,OAAO,KAAK;AACd;AAEO,MAAM,cAAc,GAAG,CAAC,OAAuB,KAAc,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,qBAAqB,EAAE,IAAI;AAE9G,MAAM,oBAAoB,GAAG,CAAC,OAAuB,KAAc,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,2BAA2B,EAAE,IAAI;AAE1H,MAAM,kCAAkC,GAAG,CAAC,OAAuB,KACxE,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,mCAAmC,EAAE,KAAK,CAAC;AACjE,KAACM,eAA0B,CAAC,OAAO,CAAC;AAClC,QAAAF,aAAwB,CAAC,OAAO,CAAC;AACjC,QAAAK,aAAwB,CAAC,OAAO,CAAC;AACjC,QAAAT,WAAsB,CAAC,OAAO,CAAC;SAC9B,CAACU,eAA0B,CAAC,OAAO,CAAC,IAAIH,gBAA2B,CAAC,OAAO,CAAC,KAAK,CAACN,WAAsB,CAAC,OAAO,CAAC,CAAC;;AC3fvH;;;;;;;;;;;;;;;;;;;;;;AAsBG;;ACtBH;;AAEG;;;;"}
|
|
@@ -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/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/actions/search-ai.actions.ts","../../../../projects/aca-shared/store/src/effects/router.effects.ts","../../../../projects/aca-shared/store/src/models/ai-search-by-term-payload.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/models/modal-configuration.ts","../../../../projects/aca-shared/store/src/selectors/app.selectors.ts","../../../../projects/aca-shared/store/src/states/app.state.ts","../../../../projects/aca-shared/store/src/public-api.ts","../../../../projects/aca-shared/store/src/alfresco-aca-shared-store.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2025 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 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 ReloadDocumentList = 'RELOAD_DOCUMENT_LIST',\n ResetSelection = 'RESET_SELECTION',\n SetInfoDrawerState = 'SET_INFO_DRAWER_STATE',\n SetInfoDrawerMetadataAspect = 'SET_INFO_DRAWER_METADATA_ASPECT',\n SetFileUploadingDialog = 'SET_FILE_UPLOADING_DIALOG',\n ShowInfoDrawerPreview = 'SHOW_INFO_DRAWER_PREVIEW',\n SetInfoDrawerPreviewState = 'SET_INFO_DRAWER_PREVIEW_STATE',\n ShowLoaderAction = 'SHOW_LOADER',\n SetSearchItemsTotalCount = 'SET_SEARCH_ITEMS_TOTAL_COUNT'\n}\n","/*!\n * Copyright © 2005-2025 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 CustomContextMenu = 'CUSTOM_CONTEXT_MENU'\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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-2025 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, RepositoryInfo, VersionEntry } from '@alfresco/js-api';\nimport { AppActionTypes } from './app-action-types';\nimport { ProfileState } from '@alfresco/adf-extensions';\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: ProfileState) {}\n}\n\nexport class ToggleInfoDrawerAction implements Action {\n readonly type = AppActionTypes.ToggleInfoDrawer;\n}\n\n/** @deprecated use @alfresco/adf-content-services/DocumentListService.reload() instead */\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 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\nexport class SetSearchItemsTotalCountAction implements Action {\n readonly type = AppActionTypes.SetSearchItemsTotalCount;\n\n constructor(public payload: number) {}\n}\n","/*!\n * Copyright © 2005-2025 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(\n public payload?: string,\n public route?: string\n ) {}\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(\n public payload?: string,\n public configuration?: ModalConfiguration\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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 FolderInformation = 'FOLDER_INFORMATION',\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(\n public payload: NodeEntry[] = [],\n public allowUndo = true\n ) {}\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(\n public payload: NodeEntry[] = [],\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\n}\n\nexport class ShareNodeAction implements Action {\n readonly type = NodeActionTypes.Share;\n\n constructor(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: Array<NodeEntry>,\n public configuration?: ModalConfiguration\n ) {}\n}\n\nexport class MoveNodesAction implements Action {\n readonly type = NodeActionTypes.Move;\n\n constructor(\n public payload: Array<NodeEntry>,\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\n}\n\nexport class ManageRulesAction implements Action {\n readonly type = NodeActionTypes.ManageRules;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class FolderInformationAction implements Action {\n readonly type = NodeActionTypes.FolderInformation;\n\n constructor(public payload: NodeEntry) {}\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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(\n public payload: string,\n public searchOptions?: SearchOptionModel[]\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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(\n public payload: CustomEvent,\n public configuration?: ModalConfiguration\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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, 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(\n public payload?: NodeEntry,\n public parentId?: string\n ) {}\n}\n\nexport class ViewNodeAction implements Action {\n readonly type = ViewerActionTypes.ViewNode;\n\n constructor(\n public nodeId: string,\n public viewNodeExtras?: ViewNodeExtras\n ) {}\n}\n\nexport class ViewNodeVersionAction implements Action {\n readonly type = ViewerActionTypes.ViewNodeVersion;\n\n constructor(\n public nodeId: string,\n public versionId: string,\n public viewNodeExtras?: ViewNodeExtras\n ) {}\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 node: Node) {}\n}\n\nexport class PluginPreviewAction implements Action {\n readonly type = ViewerActionTypes.PluginPreview;\n\n constructor(\n public pluginRoute: string,\n public nodeId: string\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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-2025 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';\nimport { ContentActionRef } from '@alfresco/adf-extensions';\n\nexport class ContextMenu implements Action {\n readonly type = ContextMenuActionTypes.ContextMenu;\n\n constructor(public event: MouseEvent) {}\n}\n\nexport class CustomContextMenu implements Action {\n readonly type = ContextMenuActionTypes.CustomContextMenu;\n\n constructor(\n public readonly event: MouseEvent,\n public readonly payload: ContentActionRef[] = []\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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 { AiSearchByTermPayload } from '../models/ai-search-by-term-payload';\n\nexport enum SearchAiActionTypes {\n SearchByTermAi = 'SEARCH_BY_TERM_AI',\n ToggleAiSearchInput = 'TOGGLE_AI_SEARCH_INPUT'\n}\n\nexport class SearchByTermAiAction implements Action {\n readonly type = SearchAiActionTypes.SearchByTermAi;\n constructor(public payload: AiSearchByTermPayload) {}\n}\n\nexport class ToggleAISearchInput implements Action {\n readonly type = SearchAiActionTypes.ToggleAiSearchInput;\n\n constructor(\n public agentId: string,\n public searchTerm?: string\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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 { inject, Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\nimport { Node, PathInfo } from '@alfresco/js-api';\nimport { map } from 'rxjs/operators';\nimport { Location } from '@angular/common';\nimport { NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage, NavigateUrlAction } from '../actions/router.actions';\nimport { RouterActionTypes } from '../actions/router-action-types';\nimport { NotificationService } from '@alfresco/adf-core';\n\n@Injectable()\nexport class RouterEffects {\n private notificationService = inject(NotificationService);\n private actions$ = inject(Actions);\n private router = inject(Router);\n private location = inject(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.notificationService.showError('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-2025 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 AiSearchByTermPayload {\n searchTerm: string;\n agentId: string;\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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-2025 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-2025 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-2025 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 ModalConfiguration {\n focusedElementOnCloseSelector?: string;\n}\n","/*!\n * Copyright © 2005-2025 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\nconst HXI_CONNECTOR = 'alfresco-hxinsight-connector-prediction-applier-extension';\nexport const selectApp = (state: AppStore) => state.app;\n\n/** @deprecated use `UserProfileService` instead */\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 getNavigationState = createSelector(selectApp, (state) => state.navigation);\nexport const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);\nexport const infoDrawerPreview = createSelector(selectApp, (state) => state.infoDrawerPreview);\nexport const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);\nexport const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);\nexport const isHXIConnectorEnabled = createSelector(getRepositoryStatus, (info) => !!info?.modules?.find((module) => module.id === HXI_CONNECTOR));\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);\nexport const getSearchItemsTotalCount = createSelector(selectApp, (state) => state.searchItemsTotalCount);\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-2025 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\n/** @deprecated no longer used */\nexport const STORE_INITIAL_APP_DATA = new InjectionToken<AppState>('STORE_INITIAL_APP_DATA');\n\nexport const INITIAL_APP_STATE: AppState = {\n user: {\n isAdmin: null,\n id: null,\n firstName: '',\n lastName: ''\n },\n selection: {\n nodes: [],\n libraries: [],\n isEmpty: true,\n count: 0\n },\n navigation: {\n currentFolder: null\n },\n currentNodeVersion: null,\n infoDrawerOpened: false,\n infoDrawerPreview: false,\n infoDrawerMetadataAspect: '',\n fileUploadingDialog: true,\n showLoader: false,\n repository: {\n status: {\n isQuickShareEnabled: true\n }\n } as any,\n searchItemsTotalCount: null\n};\n\n/** @deprecated no longer used */\nexport const INITIAL_STATE: AppStore = {\n app: INITIAL_APP_STATE\n};\n\nexport interface AppState {\n currentNodeVersion: VersionEntry;\n selection: SelectionState;\n user: ProfileState;\n navigation: NavigationState;\n infoDrawerOpened: boolean;\n infoDrawerPreview: boolean;\n infoDrawerMetadataAspect: string;\n repository: RepositoryInfo;\n fileUploadingDialog: boolean;\n showLoader: boolean;\n searchItemsTotalCount: number;\n}\n\nexport interface AppStore {\n app: AppState;\n}\n","/*!\n * Copyright © 2005-2025 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/upload.actions';\nexport * from './actions/viewer.actions';\nexport * from './actions/metadata-aspect.actions';\nexport * from './actions/template.actions';\nexport * from './actions/contextmenu.actions';\nexport * from './actions/search-ai.actions';\n\nexport * from './effects/router.effects';\n\nexport * from './models/ai-search-by-term-payload';\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';\nexport * from './models/modal-configuration';\n\nexport * from './selectors/app.selectors';\n\nexport * from './states/app.state';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;IAES;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,kBAAA,CAAA,GAAA,oBAAuC;AACvC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC;AACzC,IAAA,cAAA,CAAA,eAAA,CAAA,GAAA,iBAAiC;AACjC,IAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,kBAAmC;AACnC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC;AACzC,IAAA,cAAA,CAAA,kBAAA,CAAA,GAAA,oBAAuC;AACvC,IAAA,cAAA,CAAA,oBAAA,CAAA,GAAA,sBAA2C;AAC3C,IAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,iBAAkC;AAClC,IAAA,cAAA,CAAA,oBAAA,CAAA,GAAA,uBAA4C;AAC5C,IAAA,cAAA,CAAA,6BAAA,CAAA,GAAA,iCA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;;;;;;;;;;;;;;;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/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/actions/search-ai.actions.ts","../../../../projects/aca-shared/store/src/effects/router.effects.ts","../../../../projects/aca-shared/store/src/models/ai-search-by-term-payload.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/models/modal-configuration.ts","../../../../projects/aca-shared/store/src/selectors/app.selectors.ts","../../../../projects/aca-shared/store/src/states/app.state.ts","../../../../projects/aca-shared/store/src/public-api.ts","../../../../projects/aca-shared/store/src/alfresco-aca-shared-store.ts"],"sourcesContent":["/*!\n * Copyright © 2005-2025 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 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 ReloadDocumentList = 'RELOAD_DOCUMENT_LIST',\n ResetSelection = 'RESET_SELECTION',\n SetInfoDrawerState = 'SET_INFO_DRAWER_STATE',\n SetInfoDrawerMetadataAspect = 'SET_INFO_DRAWER_METADATA_ASPECT',\n SetFileUploadingDialog = 'SET_FILE_UPLOADING_DIALOG',\n ShowInfoDrawerPreview = 'SHOW_INFO_DRAWER_PREVIEW',\n SetInfoDrawerPreviewState = 'SET_INFO_DRAWER_PREVIEW_STATE',\n ShowLoaderAction = 'SHOW_LOADER',\n SetSearchItemsTotalCount = 'SET_SEARCH_ITEMS_TOTAL_COUNT'\n}\n","/*!\n * Copyright © 2005-2025 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 CustomContextMenu = 'CUSTOM_CONTEXT_MENU'\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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-2025 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, RepositoryInfo, VersionEntry } from '@alfresco/js-api';\nimport { AppActionTypes } from './app-action-types';\nimport { ProfileState } from '@alfresco/adf-extensions';\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: ProfileState) {}\n}\n\nexport class ToggleInfoDrawerAction implements Action {\n readonly type = AppActionTypes.ToggleInfoDrawer;\n}\n\n/** @deprecated use @alfresco/adf-content-services/DocumentListService.reload() instead */\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 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\nexport class SetSearchItemsTotalCountAction implements Action {\n readonly type = AppActionTypes.SetSearchItemsTotalCount;\n\n constructor(public payload: number) {}\n}\n","/*!\n * Copyright © 2005-2025 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(\n public payload?: string,\n public route?: string\n ) {}\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(\n public payload?: string,\n public configuration?: ModalConfiguration\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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 FolderInformation = 'FOLDER_INFORMATION',\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(\n public payload: NodeEntry[] = [],\n public allowUndo = true\n ) {}\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(\n public payload: NodeEntry[] = [],\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\n}\n\nexport class ShareNodeAction implements Action {\n readonly type = NodeActionTypes.Share;\n\n constructor(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: Array<NodeEntry>,\n public configuration?: ModalConfiguration\n ) {}\n}\n\nexport class MoveNodesAction implements Action {\n readonly type = NodeActionTypes.Move;\n\n constructor(\n public payload: Array<NodeEntry>,\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\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(\n public payload: NodeEntry,\n public configuration?: ModalConfiguration\n ) {}\n}\n\nexport class ManageRulesAction implements Action {\n readonly type = NodeActionTypes.ManageRules;\n\n constructor(public payload: NodeEntry) {}\n}\n\nexport class FolderInformationAction implements Action {\n readonly type = NodeActionTypes.FolderInformation;\n\n constructor(public payload: NodeEntry) {}\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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(\n public payload: string,\n public searchOptions?: SearchOptionModel[]\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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(\n public payload: CustomEvent,\n public configuration?: ModalConfiguration\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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, 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(\n public payload?: NodeEntry,\n public parentId?: string\n ) {}\n}\n\nexport class ViewNodeAction implements Action {\n readonly type = ViewerActionTypes.ViewNode;\n\n constructor(\n public nodeId: string,\n public viewNodeExtras?: ViewNodeExtras\n ) {}\n}\n\nexport class ViewNodeVersionAction implements Action {\n readonly type = ViewerActionTypes.ViewNodeVersion;\n\n constructor(\n public nodeId: string,\n public versionId: string,\n public viewNodeExtras?: ViewNodeExtras\n ) {}\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 node: Node) {}\n}\n\nexport class PluginPreviewAction implements Action {\n readonly type = ViewerActionTypes.PluginPreview;\n\n constructor(\n public pluginRoute: string,\n public nodeId: string\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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-2025 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';\nimport { ContentActionRef } from '@alfresco/adf-extensions';\n\nexport class ContextMenu implements Action {\n readonly type = ContextMenuActionTypes.ContextMenu;\n\n constructor(public event: MouseEvent) {}\n}\n\nexport class CustomContextMenu implements Action {\n readonly type = ContextMenuActionTypes.CustomContextMenu;\n\n constructor(\n public readonly event: MouseEvent,\n public readonly payload: ContentActionRef[] = []\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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 { AiSearchByTermPayload } from '../models/ai-search-by-term-payload';\n\nexport enum SearchAiActionTypes {\n SearchByTermAi = 'SEARCH_BY_TERM_AI',\n ToggleAiSearchInput = 'TOGGLE_AI_SEARCH_INPUT'\n}\n\nexport class SearchByTermAiAction implements Action {\n readonly type = SearchAiActionTypes.SearchByTermAi;\n constructor(public payload: AiSearchByTermPayload) {}\n}\n\nexport class ToggleAISearchInput implements Action {\n readonly type = SearchAiActionTypes.ToggleAiSearchInput;\n\n constructor(\n public agentId: string,\n public searchTerm?: string\n ) {}\n}\n","/*!\n * Copyright © 2005-2025 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 { inject, Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\nimport { Node, PathInfo } from '@alfresco/js-api';\nimport { map } from 'rxjs/operators';\nimport { Location } from '@angular/common';\nimport { NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage, NavigateUrlAction } from '../actions/router.actions';\nimport { RouterActionTypes } from '../actions/router-action-types';\nimport { NotificationService } from '@alfresco/adf-core';\n\n@Injectable()\nexport class RouterEffects {\n private notificationService = inject(NotificationService);\n private actions$ = inject(Actions);\n private router = inject(Router);\n private location = inject(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.notificationService.showError('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-2025 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 AiSearchByTermPayload {\n searchTerm: string;\n agentId: string;\n}\n","/*!\n * Copyright © 2005-2025 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-2025 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-2025 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-2025 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-2025 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 ModalConfiguration {\n focusedElementOnCloseSelector?: string;\n}\n","/*!\n * Copyright © 2005-2025 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\nconst HXI_CONNECTOR = 'alfresco-hxinsight-connector-prediction-applier-extension';\nexport const selectApp = (state: AppStore) => state.app;\n\n/** @deprecated use `UserProfileService` instead */\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 getNavigationState = createSelector(selectApp, (state) => state.navigation);\nexport const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);\nexport const infoDrawerPreview = createSelector(selectApp, (state) => state.infoDrawerPreview);\nexport const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);\nexport const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);\nexport const isHXIConnectorEnabled = createSelector(getRepositoryStatus, (info) => !!info?.modules?.find((module) => module.id === HXI_CONNECTOR));\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);\nexport const getSearchItemsTotalCount = createSelector(selectApp, (state) => state.searchItemsTotalCount);\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-2025 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\n/** @deprecated no longer used */\nexport const STORE_INITIAL_APP_DATA = new InjectionToken<AppState>('STORE_INITIAL_APP_DATA');\n\nexport const INITIAL_APP_STATE: AppState = {\n user: {\n isAdmin: null,\n id: null,\n firstName: '',\n lastName: ''\n },\n selection: {\n nodes: [],\n libraries: [],\n isEmpty: true,\n count: 0\n },\n navigation: {\n currentFolder: null\n },\n currentNodeVersion: null,\n infoDrawerOpened: false,\n infoDrawerPreview: false,\n infoDrawerMetadataAspect: '',\n fileUploadingDialog: true,\n showLoader: false,\n repository: {\n status: {\n isQuickShareEnabled: true\n }\n } as any,\n searchItemsTotalCount: null\n};\n\n/** @deprecated no longer used */\nexport const INITIAL_STATE: AppStore = {\n app: INITIAL_APP_STATE\n};\n\nexport interface AppState {\n currentNodeVersion: VersionEntry;\n selection: SelectionState;\n user: ProfileState;\n navigation: NavigationState;\n infoDrawerOpened: boolean;\n infoDrawerPreview: boolean;\n infoDrawerMetadataAspect: string;\n repository: RepositoryInfo;\n fileUploadingDialog: boolean;\n showLoader: boolean;\n searchItemsTotalCount: number;\n}\n\nexport interface AppStore {\n app: AppState;\n}\n","/*!\n * Copyright © 2005-2025 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/upload.actions';\nexport * from './actions/viewer.actions';\nexport * from './actions/metadata-aspect.actions';\nexport * from './actions/template.actions';\nexport * from './actions/contextmenu.actions';\nexport * from './actions/search-ai.actions';\n\nexport * from './effects/router.effects';\n\nexport * from './models/ai-search-by-term-payload';\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';\nexport * from './models/modal-configuration';\n\nexport * from './selectors/app.selectors';\n\nexport * from './states/app.state';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;AAsBG;IAES;AAAZ,CAAA,UAAY,cAAc,EAAA;AACxB,IAAA,cAAA,CAAA,kBAAA,CAAA,GAAA,oBAAuC;AACvC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC;AACzC,IAAA,cAAA,CAAA,eAAA,CAAA,GAAA,iBAAiC;AACjC,IAAA,cAAA,CAAA,gBAAA,CAAA,GAAA,kBAAmC;AACnC,IAAA,cAAA,CAAA,mBAAA,CAAA,GAAA,qBAAyC;AACzC,IAAA,cAAA,CAAA,kBAAA,CAAA,GAAA,oBAAuC;AACvC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