@alfresco/aca-shared 2.0.1 → 4.0.0-A.2-9919

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/README.md +2 -1
  2. package/{esm2015/alfresco-aca-shared.js → esm2020/alfresco-aca-shared.mjs} +0 -0
  3. package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +74 -0
  4. package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +160 -0
  5. package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +10 -0
  6. package/esm2020/lib/components/generic-error/generic-error.component.mjs +42 -0
  7. package/esm2020/lib/components/generic-error/generic-error.module.mjs +45 -0
  8. package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +124 -0
  9. package/esm2020/lib/components/info-drawer/shared-info-drawer.module.mjs +47 -0
  10. package/esm2020/lib/components/locked-by/locked-by.component.mjs +53 -0
  11. package/esm2020/lib/components/locked-by/locked-by.module.mjs +45 -0
  12. package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +49 -0
  13. package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +41 -0
  14. package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +41 -0
  15. package/esm2020/lib/components/page-layout/page-layout.component.mjs +41 -0
  16. package/esm2020/lib/components/page-layout/page-layout.module.mjs +45 -0
  17. package/esm2020/lib/components/tool-bar/shared-toolbar.module.mjs +47 -0
  18. package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +58 -0
  19. package/esm2020/lib/components/tool-bar/toolbar-button/toolbar-button.component.mjs +67 -0
  20. package/esm2020/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.mjs +78 -0
  21. package/esm2020/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.mjs +69 -0
  22. package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +107 -0
  23. package/{esm2015/lib/components/info-drawer/shared-info-drawer.module.js → esm2020/lib/directives/contextmenu/contextmenu.module.mjs} +17 -15
  24. package/esm2020/lib/directives/pagination.directive.mjs +55 -0
  25. package/esm2020/lib/directives/shared.directives.module.mjs +42 -0
  26. package/esm2020/lib/models/modal-configuration.mjs +2 -0
  27. package/{esm2015/lib/models/types.js → esm2020/lib/models/types.mjs} +1 -0
  28. package/{esm2015/lib/models/viewer.rules.js → esm2020/lib/models/viewer.rules.mjs} +2 -1
  29. package/esm2020/lib/routing/shared.guard.mjs +49 -0
  30. package/esm2020/lib/services/alfresco-office-extension.service.mjs +64 -0
  31. package/esm2020/lib/services/app-hook.service.mjs +88 -0
  32. package/esm2020/lib/services/app.extension.service.mjs +453 -0
  33. package/esm2020/lib/services/app.service.mjs +213 -0
  34. package/esm2020/lib/services/content-api.service.mjs +268 -0
  35. package/{esm2015/lib/services/node-permission.service.js → esm2020/lib/services/node-permission.service.mjs} +9 -7
  36. package/esm2020/lib/services/router.extension.service.mjs +106 -0
  37. package/esm2020/lib/shared.module.mjs +49 -0
  38. package/esm2020/lib/testing/lib-testing-module.mjs +118 -0
  39. package/{esm2015/store/actions/contextmenu.actions.js → esm2020/lib/testing/translation.service.mjs} +19 -9
  40. package/{esm2015/lib/utils/node.utils.js → esm2020/lib/utils/node.utils.mjs} +0 -0
  41. package/esm2020/public-api.mjs +63 -0
  42. package/{esm2015/rules/alfresco-aca-shared-rules.js → esm2020/rules/alfresco-aca-shared-rules.mjs} +0 -0
  43. package/esm2020/rules/app.rules.mjs +503 -0
  44. package/esm2020/rules/navigation.rules.mjs +152 -0
  45. package/{esm2015/rules/public-api.js → esm2020/rules/public-api.mjs} +0 -0
  46. package/{esm2015/store/states/app.state.js → esm2020/rules/repository.rules.mjs} +10 -1
  47. package/esm2020/rules/user.rules.mjs +30 -0
  48. package/esm2020/store/actions/app-action-types.mjs +48 -0
  49. package/esm2020/store/actions/app.actions.mjs +135 -0
  50. package/esm2020/store/actions/context-menu-action-types.mjs +29 -0
  51. package/esm2020/store/actions/contextmenu.actions.mjs +32 -0
  52. package/esm2020/store/actions/library.actions.mjs +64 -0
  53. package/{esm2015/store/actions/metadata-aspect.actions.js → esm2020/store/actions/metadata-aspect.actions.mjs} +0 -0
  54. package/esm2020/store/actions/node.actions.mjs +189 -0
  55. package/{esm2015/lib/components/generic-error/generic-error.module.js → esm2020/store/actions/router-action-types.mjs} +9 -15
  56. package/esm2020/store/actions/router.actions.mjs +55 -0
  57. package/esm2020/store/actions/search.actions.mjs +36 -0
  58. package/esm2020/store/actions/snackbar.actions.mjs +58 -0
  59. package/esm2020/store/actions/template-action-types.mjs +32 -0
  60. package/{esm2015/lib/components/generic-error/generic-error.component.js → esm2020/store/actions/template.actions.mjs} +21 -17
  61. package/esm2020/store/actions/upload.actions.mjs +50 -0
  62. package/esm2020/store/actions/viewer.actions.mjs +82 -0
  63. package/{esm2015/store/alfresco-aca-shared-store.js → esm2020/store/alfresco-aca-shared-store.mjs} +0 -0
  64. package/esm2020/store/effects/dialog.effects.mjs +45 -0
  65. package/esm2020/store/effects/router.effects.mjs +117 -0
  66. package/esm2020/store/effects/snackbar.effects.mjs +86 -0
  67. package/{esm2015/store/models/delete-status.model.js → esm2020/store/models/delete-status.model.mjs} +1 -0
  68. package/{esm2015/store/models/deleted-node-info.model.js → esm2020/store/models/deleted-node-info.model.mjs} +1 -0
  69. package/esm2020/store/models/modal-configuration.mjs +2 -0
  70. package/{esm2015/store/models/node-info.model.js → esm2020/store/models/node-info.model.mjs} +1 -0
  71. package/{esm2015/store/models/search-option.model.js → esm2020/store/models/search-option.model.mjs} +0 -0
  72. package/esm2020/store/public-api.mjs +50 -0
  73. package/esm2020/store/selectors/app.selectors.mjs +60 -0
  74. package/esm2020/store/states/app.state.mjs +27 -0
  75. package/esm2020/store/store.module.mjs +43 -0
  76. package/fesm2015/alfresco-aca-shared-rules.mjs +751 -0
  77. package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -0
  78. package/fesm2015/{alfresco-aca-shared-store.js → alfresco-aca-shared-store.mjs} +302 -276
  79. package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -0
  80. package/fesm2015/alfresco-aca-shared.mjs +2726 -0
  81. package/fesm2015/alfresco-aca-shared.mjs.map +1 -0
  82. package/{fesm2015/alfresco-aca-shared-rules.js → fesm2020/alfresco-aca-shared-rules.mjs} +220 -150
  83. package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -0
  84. package/fesm2020/alfresco-aca-shared-store.mjs +1406 -0
  85. package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -0
  86. package/fesm2020/alfresco-aca-shared.mjs +2841 -0
  87. package/fesm2020/alfresco-aca-shared.mjs.map +1 -0
  88. package/{alfresco-aca-shared.d.ts → index.d.ts} +1 -0
  89. package/lib/adf-extensions/extensions-data-loader.guard.d.ts +4 -1
  90. package/lib/components/document-base-page/document-base-page.component.d.ts +74 -0
  91. package/lib/components/document-base-page/document-base-page.service.d.ts +5 -0
  92. package/lib/components/generic-error/generic-error.component.d.ts +3 -24
  93. package/lib/components/generic-error/generic-error.module.d.ts +8 -24
  94. package/lib/components/info-drawer/info-drawer.component.d.ts +6 -0
  95. package/lib/components/info-drawer/shared-info-drawer.module.d.ts +11 -24
  96. package/lib/components/locked-by/locked-by.component.d.ts +5 -30
  97. package/lib/components/locked-by/locked-by.module.d.ts +8 -24
  98. package/lib/components/page-layout/page-layout-content.component.d.ts +3 -24
  99. package/lib/components/page-layout/page-layout-error.component.d.ts +3 -24
  100. package/lib/components/page-layout/page-layout-header.component.d.ts +3 -24
  101. package/lib/components/page-layout/page-layout.component.d.ts +3 -24
  102. package/lib/components/page-layout/page-layout.module.d.ts +9 -24
  103. package/lib/components/tool-bar/shared-toolbar.module.d.ts +11 -24
  104. package/lib/components/tool-bar/toolbar-action/toolbar-action.component.d.ts +7 -2
  105. package/lib/components/tool-bar/toolbar-button/toolbar-button.component.d.ts +5 -25
  106. package/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.d.ts +13 -7
  107. package/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.d.ts +7 -27
  108. package/lib/directives/contextmenu/contextmenu.directive.d.ts +5 -1
  109. package/lib/directives/contextmenu/contextmenu.module.d.ts +5 -24
  110. package/lib/directives/pagination.directive.d.ts +3 -0
  111. package/lib/directives/shared.directives.module.d.ts +6 -24
  112. package/lib/models/modal-configuration.d.ts +3 -0
  113. package/lib/models/viewer.rules.d.ts +4 -0
  114. package/lib/routing/shared.guard.d.ts +3 -24
  115. package/lib/services/alfresco-office-extension.service.d.ts +11 -0
  116. package/lib/services/app-hook.service.d.ts +55 -0
  117. package/lib/services/app.extension.service.d.ts +30 -45
  118. package/lib/services/app.service.d.ts +42 -6
  119. package/lib/services/content-api.service.d.ts +34 -25
  120. package/lib/services/node-permission.service.d.ts +3 -24
  121. package/lib/services/router.extension.service.d.ts +3 -24
  122. package/lib/shared.module.d.ts +5 -0
  123. package/lib/testing/lib-testing-module.d.ts +43 -0
  124. package/lib/testing/translation.service.d.ts +10 -0
  125. package/package.json +57 -18
  126. package/public-api.d.ts +7 -1
  127. package/rules/app.rules.d.ts +104 -30
  128. package/rules/{alfresco-aca-shared-rules.d.ts → index.d.ts} +1 -0
  129. package/rules/navigation.rules.d.ts +6 -6
  130. package/rules/repository.rules.d.ts +2 -1
  131. package/rules/user.rules.d.ts +1 -1
  132. package/store/actions/app-action-types.d.ts +46 -0
  133. package/store/actions/app.actions.d.ts +19 -18
  134. package/{lib/routing/app.routes.strategy.d.ts → store/actions/context-menu-action-types.d.ts} +2 -15
  135. package/store/actions/contextmenu.actions.d.ts +1 -3
  136. package/store/actions/library.actions.d.ts +3 -1
  137. package/store/actions/node.actions.d.ts +33 -7
  138. package/store/actions/router-action-types.d.ts +31 -0
  139. package/store/actions/router.actions.d.ts +5 -6
  140. package/store/actions/search.actions.d.ts +1 -13
  141. package/store/actions/snackbar.actions.d.ts +8 -11
  142. package/store/actions/template-action-types.d.ts +30 -0
  143. package/store/actions/template.actions.d.ts +1 -6
  144. package/store/actions/upload.actions.d.ts +3 -1
  145. package/store/actions/viewer.actions.d.ts +6 -0
  146. package/store/effects/dialog.effects.d.ts +4 -1
  147. package/store/effects/router.effects.d.ts +11 -29
  148. package/store/effects/snackbar.effects.d.ts +6 -3
  149. package/store/{alfresco-aca-shared-store.d.ts → index.d.ts} +1 -0
  150. package/store/models/modal-configuration.d.ts +3 -0
  151. package/store/public-api.d.ts +4 -0
  152. package/store/selectors/app.selectors.d.ts +6 -1
  153. package/store/states/app.state.d.ts +8 -1
  154. package/store/store.module.d.ts +5 -24
  155. package/alfresco-aca-shared.metadata.json +0 -1
  156. package/bundles/alfresco-aca-shared-rules.umd.js +0 -745
  157. package/bundles/alfresco-aca-shared-rules.umd.js.map +0 -1
  158. package/bundles/alfresco-aca-shared-rules.umd.min.js +0 -125
  159. package/bundles/alfresco-aca-shared-rules.umd.min.js.map +0 -1
  160. package/bundles/alfresco-aca-shared-store.umd.js +0 -1784
  161. package/bundles/alfresco-aca-shared-store.umd.js.map +0 -1
  162. package/bundles/alfresco-aca-shared-store.umd.min.js +0 -462
  163. package/bundles/alfresco-aca-shared-store.umd.min.js.map +0 -1
  164. package/bundles/alfresco-aca-shared.umd.js +0 -2523
  165. package/bundles/alfresco-aca-shared.umd.js.map +0 -1
  166. package/bundles/alfresco-aca-shared.umd.min.js +0 -740
  167. package/bundles/alfresco-aca-shared.umd.min.js.map +0 -1
  168. package/esm2015/lib/adf-extensions/extensions-data-loader.guard.js +0 -74
  169. package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -105
  170. package/esm2015/lib/components/locked-by/locked-by.component.js +0 -54
  171. package/esm2015/lib/components/locked-by/locked-by.module.js +0 -38
  172. package/esm2015/lib/components/page-layout/page-layout-content.component.js +0 -43
  173. package/esm2015/lib/components/page-layout/page-layout-error.component.js +0 -37
  174. package/esm2015/lib/components/page-layout/page-layout-header.component.js +0 -37
  175. package/esm2015/lib/components/page-layout/page-layout.component.js +0 -44
  176. package/esm2015/lib/components/page-layout/page-layout.module.js +0 -40
  177. package/esm2015/lib/components/tool-bar/shared-toolbar.module.js +0 -42
  178. package/esm2015/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -57
  179. package/esm2015/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -66
  180. package/esm2015/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -55
  181. package/esm2015/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -65
  182. package/esm2015/lib/directives/contextmenu/contextmenu.directive.js +0 -97
  183. package/esm2015/lib/directives/contextmenu/contextmenu.module.js +0 -38
  184. package/esm2015/lib/directives/pagination.directive.js +0 -55
  185. package/esm2015/lib/directives/shared.directives.module.js +0 -37
  186. package/esm2015/lib/routing/app.routes.strategy.js +0 -105
  187. package/esm2015/lib/routing/shared.guard.js +0 -50
  188. package/esm2015/lib/services/app.extension.service.js +0 -398
  189. package/esm2015/lib/services/app.service.js +0 -69
  190. package/esm2015/lib/services/content-api.service.js +0 -205
  191. package/esm2015/lib/services/router.extension.service.js +0 -110
  192. package/esm2015/lib/shared.module.js +0 -44
  193. package/esm2015/public-api.js +0 -57
  194. package/esm2015/rules/app.rules.js +0 -420
  195. package/esm2015/rules/navigation.rules.js +0 -164
  196. package/esm2015/rules/repository.rules.js +0 -32
  197. package/esm2015/rules/user.rules.js +0 -32
  198. package/esm2015/store/actions/app.actions.js +0 -130
  199. package/esm2015/store/actions/library.actions.js +0 -63
  200. package/esm2015/store/actions/node.actions.js +0 -161
  201. package/esm2015/store/actions/router.actions.js +0 -56
  202. package/esm2015/store/actions/search.actions.js +0 -54
  203. package/esm2015/store/actions/snackbar.actions.js +0 -61
  204. package/esm2015/store/actions/template.actions.js +0 -54
  205. package/esm2015/store/actions/upload.actions.js +0 -49
  206. package/esm2015/store/actions/viewer.actions.js +0 -75
  207. package/esm2015/store/effects/dialog.effects.js +0 -49
  208. package/esm2015/store/effects/router.effects.js +0 -132
  209. package/esm2015/store/effects/snackbar.effects.js +0 -90
  210. package/esm2015/store/public-api.js +0 -46
  211. package/esm2015/store/selectors/app.selectors.js +0 -80
  212. package/esm2015/store/store.module.js +0 -37
  213. package/fesm2015/alfresco-aca-shared-rules.js.map +0 -1
  214. package/fesm2015/alfresco-aca-shared-store.js.map +0 -1
  215. package/fesm2015/alfresco-aca-shared.js +0 -2167
  216. package/fesm2015/alfresco-aca-shared.js.map +0 -1
  217. package/rules/alfresco-aca-shared-rules.metadata.json +0 -1
  218. package/rules/package.json +0 -11
  219. package/store/alfresco-aca-shared-store.metadata.json +0 -1
  220. package/store/package.json +0 -11
@@ -1,80 +0,0 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
- import { createSelector } from '@ngrx/store';
26
- export const selectApp = (state) => state.app;
27
- const ɵ0 = (state) => state.headerColor;
28
- export const getHeaderColor = createSelector(selectApp, ɵ0);
29
- const ɵ1 = (state) => state.appName;
30
- export const getAppName = createSelector(selectApp, ɵ1);
31
- const ɵ2 = (state) => state.logoPath;
32
- export const getLogoPath = createSelector(selectApp, ɵ2);
33
- const ɵ3 = (state) => state.headerImagePath;
34
- export const getHeaderImagePath = createSelector(selectApp, ɵ3);
35
- const ɵ4 = (state) => state.languagePicker;
36
- export const getLanguagePickerState = createSelector(selectApp, ɵ4);
37
- const ɵ5 = (state) => state.user;
38
- export const getUserProfile = createSelector(selectApp, ɵ5);
39
- const ɵ6 = (state) => state.navigation.currentFolder;
40
- export const getCurrentFolder = createSelector(selectApp, ɵ6);
41
- const ɵ7 = (state) => state.currentNodeVersion;
42
- export const getCurrentVersion = createSelector(selectApp, ɵ7);
43
- const ɵ8 = (state) => state.selection;
44
- export const getAppSelection = createSelector(selectApp, ɵ8);
45
- const ɵ9 = (state) => state.sharedUrl;
46
- export const getSharedUrl = createSelector(selectApp, ɵ9);
47
- const ɵ10 = (state) => state.navigation;
48
- export const getNavigationState = createSelector(selectApp, ɵ10);
49
- const ɵ11 = (state) => state.infoDrawerOpened;
50
- export const isInfoDrawerOpened = createSelector(selectApp, ɵ11);
51
- const ɵ12 = (state) => state.showFacetFilter;
52
- export const showFacetFilter = createSelector(selectApp, ɵ12);
53
- const ɵ13 = (state) => state.documentDisplayMode;
54
- export const getDocumentDisplayMode = createSelector(selectApp, ɵ13);
55
- const ɵ14 = (state) => state.repository;
56
- export const getRepositoryStatus = createSelector(selectApp, ɵ14);
57
- const ɵ15 = (info) => info.status.isQuickShareEnabled;
58
- export const isQuickShareEnabled = createSelector(getRepositoryStatus, ɵ15);
59
- const ɵ16 = (state) => state.user.isAdmin;
60
- export const isAdmin = createSelector(selectApp, ɵ16);
61
- const ɵ17 = (selection, navigation) => {
62
- return {
63
- selection,
64
- navigation
65
- };
66
- };
67
- export const getSideNavState = createSelector(getAppSelection, getNavigationState, ɵ17);
68
- const ɵ18 = (selection, navigation, profile, repository) => {
69
- return {
70
- selection,
71
- navigation,
72
- profile,
73
- repository
74
- };
75
- };
76
- export const getRuleContext = createSelector(getAppSelection, getNavigationState, getUserProfile, getRepositoryStatus, ɵ18);
77
- const ɵ19 = (state) => state.infoDrawerMetadataAspect;
78
- export const infoDrawerMetadataAspect = createSelector(selectApp, ɵ19);
79
- export { ɵ0, ɵ1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aW5mbykgPT4gaW5mby5zdGF0dXMuaXNRdWlja1NoYXJlRW5hYmxlZCk7XG5leHBvcnQgY29uc3QgaXNBZG1pbiA9IGNyZWF0ZVNlbGVjdG9yKHNlbGVjdEFwcCwgKHN0YXRlKSA9PiBzdGF0ZS51c2VyLmlzQWRtaW4pO1xuXG5leHBvcnQgY29uc3QgZ2V0U2lkZU5hdlN0YXRlID0gY3JlYXRlU2VsZWN0b3IoZ2V0QXBwU2VsZWN0aW9uLCBnZXROYXZpZ2F0aW9uU3RhdGUsIChzZWxlY3Rpb24sIG5hdmlnYXRpb24pID0+IHtcbiAgcmV0dXJuIHtcbiAgICBzZWxlY3Rpb24sXG4gICAgbmF2aWdhdGlvblxuICB9O1xufSk7XG5cbmV4cG9ydCBjb25zdCBnZXRSdWxlQ29udGV4dCA9IGNyZWF0ZVNlbGVjdG9yKFxuICBnZXRBcHBTZWxlY3Rpb24sXG4gIGdldE5hdmlnYXRpb25TdGF0ZSxcbiAgZ2V0VXNlclByb2ZpbGUsXG4gIGdldFJlcG9zaXRvcnlTdGF0dXMsXG4gIChzZWxlY3Rpb24sIG5hdmlnYXRpb24sIHByb2ZpbGUsIHJlcG9zaXRvcnkpID0+IHtcbiAgICByZXR1cm4ge1xuICAgICAgc2VsZWN0aW9uLFxuICAgICAgbmF2aWdhdGlvbixcbiAgICAgIHByb2ZpbGUsXG4gICAgICByZXBvc2l0b3J5XG4gICAgfTtcbiAgfVxuKTtcblxuZXhwb3J0IGNvbnN0IGluZm9EcmF3ZXJNZXRhZGF0YUFzcGVjdCA9IGNyZWF0ZVNlbGVjdG9yKHNlbGVjdEFwcCwgKHN0YXRlKSA9PiBzdGF0ZS5pbmZvRHJhd2VyTWV0YWRhdGFBc3BlY3QpO1xuIl19
@@ -1,37 +0,0 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
- import { NgModule } from '@angular/core';
26
- import { EffectsModule } from '@ngrx/effects';
27
- import { SnackbarEffects } from './effects/snackbar.effects';
28
- import { DialogEffects } from './effects/dialog.effects';
29
- import { RouterEffects } from './effects/router.effects';
30
- export class SharedStoreModule {
31
- }
32
- SharedStoreModule.decorators = [
33
- { type: NgModule, args: [{
34
- imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]
35
- },] }
36
- ];
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLXNoYXJlZC9zdG9yZS9zcmMvc3RvcmUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXVCRztBQUVILE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM5QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDN0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mZlY3RzJztcbmltcG9ydCB7IFJvdXRlckVmZmVjdHMgfSBmcm9tICcuL2VmZmVjdHMvcm91dGVyLmVmZmVjdHMnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbRWZmZWN0c01vZHVsZS5mb3JGZWF0dXJlKFtTbmFja2JhckVmZmVjdHMsIERpYWxvZ0VmZmVjdHMsIFJvdXRlckVmZmVjdHNdKV1cbn0pXG5leHBvcnQgY2xhc3MgU2hhcmVkU3RvcmVNb2R1bGUge31cbiJdfQ==
@@ -1 +0,0 @@
1
- {"version":3,"file":"alfresco-aca-shared-rules.js","sources":["../../../../projects/aca-shared/rules/src/navigation.rules.ts","../../../../projects/aca-shared/rules/src/repository.rules.ts","../../../../projects/aca-shared/rules/src/app.rules.ts","../../../../projects/aca-shared/rules/src/user.rules.ts","../../../../projects/aca-shared/rules/src/public-api.ts","../../../../projects/aca-shared/rules/src/alfresco-aca-shared-rules.ts"],"sourcesContent":["/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 && url.startsWith('/favorites') && !isPreview(context);\n}\n\n/**\n * Checks if the activated route is not **Favorites**.\n * JSON ref: `app.navigation.isNotFavorites`\n */\nexport function isNotFavorites(context: RuleContext): boolean {\n return !isFavorites(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 && url.startsWith('/shared') && !isPreview(context);\n}\n\n/**\n * Checks if the activated route is not **Shared Files**.\n * JSON ref: `app.navigation.isNotSharedFiles`\n */\nexport function isNotSharedFiles(context: RuleContext): boolean {\n return !isSharedFiles(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 && url.startsWith('/trashcan');\n}\n\n/**\n * Checks if the activated route is not **Trashcan**.\n * JSON ref: `app.navigation.isNotTrashcan`\n */\nexport function isNotTrashcan(context: RuleContext): boolean {\n return !isTrashcan(context);\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 && url.startsWith('/personal-files');\n}\n\n/**\n * Checks if a **Library Files** route is activated.\n * JSON ref: `app.navigation.isLibraryFiles`\n */\nexport function isLibraryFiles(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url && url.startsWith('/libraries');\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 && (url.endsWith('/libraries') || url.startsWith('/search-libraries'));\n}\n\n/**\n * Checks if the activated route is neither **Libraries** nor **Library Search Results**.\n * JSON ref: `app.navigation.isNotLibraries`\n */\nexport function isNotLibraries(context: RuleContext): boolean {\n return !isLibraries(context);\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 && url.startsWith('/recent-files');\n}\n\n/**\n * Checks if the activated route is not **Recent Files**.\n * JSON ref: `app.navigation.isNotRecentFiles`\n */\nexport function isNotRecentFiles(context: RuleContext): boolean {\n return !isRecentFiles(context);\n}\n\n/**\n * Checks if a **Search Results** route is activated.\n * JSON ref: `app.navigation.isSearchResults`\n */\nexport function isSearchResults(context: RuleContext /*,\n ...args: RuleParameter[]*/): boolean {\n const { url } = context.navigation;\n return url && url.startsWith('/search');\n}\n\n/**\n * Checks if the activated route is not **Search Results**.\n * JSON ref: `app.navigation.isNotSearchResults`\n */\nexport function isNotSearchResults(context: RuleContext): boolean {\n return !isSearchResults(context);\n}\n\n/**\n * Checks if a **Shared Preview** route is activated.\n * JSON ref: `app.navigation.isSharedPreview`\n */\nexport function isSharedPreview(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url && (url.startsWith('/shared/preview/') || (url.startsWith('/shared') && url.includes('viewer:view')));\n}\n\n/**\n * Checks if a **Favorites Preview** route is activated.\n * JSON ref: `app.navigation.isFavoritesPreview`\n */\nexport function isFavoritesPreview(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url && (url.startsWith('/favorites/preview/') || (url.startsWith('/favorites') && url.includes('viewer:view')));\n}\n\n/**\n * Checks if a **Shared File Preview** route is activated.\n * JSON ref: `app.navigation.isFavoritesPreview`\n */\nexport function isSharedFileViewer(context: RuleContext): boolean {\n const { url } = context.navigation;\n return url && url.startsWith('/preview/s/');\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 function hasQuickShareEnabled(context: RuleContext): boolean {\n return context.repository.status.isQuickShareEnabled;\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { RuleContext } from '@alfresco/adf-extensions';\nimport * as navigation from './navigation.rules';\nimport * as repository from './repository.rules';\n\nexport interface AcaRuleContext extends RuleContext {\n languagePicker: boolean;\n withCredentials: boolean;\n}\n\n/**\n * Checks if user can copy selected node.\n * JSON ref: `app.canCopyNode`\n * @param context Rule execution context\n */\nexport function canCopyNode(context: RuleContext): boolean {\n return [hasSelection(context), navigation.isNotTrashcan(context), navigation.isNotLibraries(context)].every(Boolean);\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 (!context.selection.isEmpty) {\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 return false;\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 (!context.selection.isEmpty && !navigation.isTrashcan(context)) {\n if (navigation.isFavorites(context)) {\n return true;\n }\n return context.selection.nodes.every((node) => node.entry.isFavorite);\n }\n return false;\n}\n\n/**\n * Checks if user can share selected file.\n * JSON ref: `app.selection.file.canShare`\n */\nexport function canShareFile(context: RuleContext): boolean {\n return [context.selection.file, navigation.isNotTrashcan(context), repository.hasQuickShareEnabled(context), !isShared(context)].every(Boolean);\n}\n\n/**\n * Checks if user can perform \"Join\" or \"Cancel Join Request\" on a library.\n * JSON ref: `canToggleJoinLibrary`\n */\nexport function canToggleJoinLibrary(context: RuleContext): boolean {\n return [hasLibrarySelected(context), !isPrivateLibrary(context), hasNoLibraryRole(context)].every(Boolean);\n}\n\n/**\n * Checks if user can edit the selected folder.\n * JSON ref: `canEditFolder`\n * @param context Rule execution context\n */\nexport function canEditFolder(context: RuleContext): boolean {\n return [canUpdateSelectedFolder(context), navigation.isNotTrashcan(context)].every(Boolean);\n}\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.isNotTrashcan(context), !context.selection.isEmpty && context.selection.file)) {\n return !!(context.selection.file.entry && context.selection.file.entry.properties && 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 (\n navigation.isNotTrashcan(context) &&\n navigation.isNotLibraries(context) &&\n navigation.isNotSearchResults(context) &&\n !context.selection.isEmpty\n ) {\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 return false;\n}\n\n/**\n * Checks if user can un-share selected nodes.\n * JSON ref: `app.selection.canUnshare`\n */\nexport function canUnshareNodes(context: RuleContext): boolean {\n if (!context.selection.isEmpty) {\n return context.permissions.check(context.selection.nodes, ['delete'], {\n target: 'allowableOperationsOnTarget'\n });\n }\n return false;\n}\n\n/**\n * Checks if user selected anything.\n * JSON ref: `app.selection.notEmpty`\n */\nexport function hasSelection(context: RuleContext): boolean {\n return !context.selection.isEmpty;\n}\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: RuleContext): boolean {\n const { currentFolder } = context.navigation;\n if (currentFolder) {\n return context.permissions.check(currentFolder, ['create']);\n }\n return false;\n}\n\n/**\n * Checks if user can upload content to current folder.\n * JSON ref: `app.navigation.folder.canUpload`\n */\nexport function canUpload(context: RuleContext): boolean {\n const { currentFolder } = context.navigation;\n if (currentFolder) {\n return context.permissions.check(currentFolder, ['create']);\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 if (!context.selection.isEmpty && navigation.isNotTrashcan(context)) {\n return context.selection.nodes.every((node: any) => {\n return node.entry && (node.entry.isFile || node.entry.isFolder || !!node.entry.nodeId);\n });\n }\n return false;\n}\n\n/**\n * Checks if user has selected a folder.\n * JSON ref: `app.selection.folder`\n */\nexport function hasFolderSelected(context: RuleContext): boolean {\n const folder = context.selection.folder;\n return folder ? true : false;\n}\n\n/**\n * Checks if user has selected a library (site).\n * JSON ref: `app.selection.library`\n */\nexport function hasLibrarySelected(context: RuleContext): boolean {\n const library = context.selection.library;\n return library ? true : false;\n}\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 const library = context.selection.library;\n return library ? !!(library.entry && library.entry.visibility && library.entry.visibility === 'PRIVATE') : false;\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 && library.entry.role) : false;\n}\n\n/**\n * Checks if the selected library has no **role** property defined.\n * JSON ref: `app.selection.hasNoLibraryRole`\n */\nexport function hasNoLibraryRole(context: RuleContext): boolean {\n return !hasLibraryRole(context);\n}\n\n/**\n * Checks if user has selected a file.\n * JSON ref: `app.selection.file`\n */\nexport function hasFileSelected(context: RuleContext): boolean {\n if (context && context.selection && context.selection.file) {\n return true;\n }\n return false;\n}\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 && !context.selection.isEmpty) {\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\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 && context.selection && 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 && 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 function isWriteLocked(context: RuleContext): boolean {\n return !!(\n context &&\n context.selection &&\n context.selection.file &&\n context.selection.file.entry &&\n context.selection.file.entry.properties &&\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/**\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 function isUserWriteLockOwner(context: RuleContext): boolean {\n return (\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\n/**\n * Checks if user can lock selected file.\n * JSON ref: `app.selection.file.canLock`\n */\nexport function canLockFile(context: RuleContext): boolean {\n return !isWriteLocked(context) && canUpdateSelectedNode(context);\n}\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.isNotTrashcan(context),\n isWriteLocked(context) ? isUserWriteLockOwner(context) : canUpdateSelectedNode(context)\n ].every(Boolean);\n}\n\n/**\n * Checks if user has trashcan item selected.\n * JSON ref: `isTrashcanItemSelected`\n * @param context Rule execution context\n */\nexport function isTrashcanItemSelected(context: RuleContext): boolean {\n return [navigation.isTrashcan(context), hasSelection(context)].every(Boolean);\n}\n\n/**\n * Checks if user can view the file.\n * JSON ref: `canViewFile`\n * @param context Rule execution context\n */\nexport function canViewFile(context: RuleContext): boolean {\n return [hasFileSelected(context), navigation.isNotTrashcan(context)].every(Boolean);\n}\n\n/**\n * Checks if user can **Leave** selected library.\n * JSON ref: `canLeaveLibrary`\n * @param context Rule execution context\n */\nexport function canLeaveLibrary(context: RuleContext): boolean {\n return [hasLibrarySelected(context), hasLibraryRole(context)].every(Boolean);\n}\n\n/**\n * Checks if user can toggle shared link mode.\n * JSON ref: `canToggleSharedLink`\n * @param context Rule execution context\n */\nexport function canToggleSharedLink(context: RuleContext): boolean {\n return [hasFileSelected(context), [canShareFile(context), isShared(context)].some(Boolean)].every(Boolean);\n}\n\n/**\n * Checks if user can show **Info Drawer** for the selected node.\n * JSON ref: `canShowInfoDrawer`\n * @param context Rule execution context\n */\nexport function canShowInfoDrawer(context: RuleContext): boolean {\n return [hasSelection(context), navigation.isNotLibraries(context), navigation.isNotTrashcan(context)].every(Boolean);\n}\n\n/**\n * Checks if user can manage file versions for the selected node.\n * JSON ref: `canManageFileVersions`\n * @param context Rule execution context\n */\nexport function canManageFileVersions(context: RuleContext): boolean {\n return [hasFileSelected(context), navigation.isNotTrashcan(context), !hasLockedFiles(context)].every(Boolean);\n}\n\n/**\n * Checks if user can manage permissions for the selected node.\n * JSON ref: `canManagePermissions`\n * @param context Rule execution context\n */\nexport function canManagePermissions(context: RuleContext): boolean {\n return [canUpdateSelectedNode(context), navigation.isNotTrashcan(context)].every(Boolean);\n}\n\n/**\n * Checks if user can toggle **Edit Offline** mode for selected node.\n * JSON ref: `canToggleEditOffline`\n * @param context Rule execution context\n */\nexport function canToggleEditOffline(context: RuleContext): boolean {\n return [hasFileSelected(context), navigation.isNotTrashcan(context), canLockFile(context) || canUnlockFile(context)].every(Boolean);\n}\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 function canToggleFavorite(context: RuleContext): boolean {\n return [\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/**\n * Checks if application should render language picker menu.\n * JSON ref: `canShowLanguagePicker`\n * @param context Rule execution context\n */\nexport function canShowLanguagePicker(context: AcaRuleContext): boolean {\n return context.languagePicker;\n}\n\n/**\n * Checks if application should render logout option.\n * JSON ref: `canShowLogout`\n * @param context Rule execution context\n */\nexport function canShowLogout(context: AcaRuleContext): boolean {\n return !context.withCredentials;\n}\n\n/**\n * Checks if user is library manager\n * JSON ref: `isLibraryManager`\n * @param context Rule execution context\n */\nexport function isLibraryManager(context: RuleContext): boolean {\n return hasLibrarySelected(context) && context.selection.library.entry && context.selection.library.entry.role === 'SiteManager';\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 function isAdmin(context: RuleContext): boolean {\n return context.profile.isAdmin;\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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.isNotTrashcan","navigation.isNotLibraries","navigation.isFavorites","navigation.isLibraries","navigation.isTrashcan","repository.hasQuickShareEnabled","navigation.isSharedFiles","navigation.isNotSearchResults","navigation.isPreview","navigation.isRecentFiles","navigation.isSearchResults"],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;AA2BA;;;;SAIgB,SAAS,CAAC,OAAoB;IAC5C,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;IACnC,OAAO,GAAG,KAAK,GAAG,CAAC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ACpeA;;;;;;;;;;;;;;;;;;;;;;;;AA2BA;;;;SAIgB,OAAO,CAAC,OAAoB;IAC1C,OAAO,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC;AACjC;;ACjCA;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"alfresco-aca-shared-store.js","sources":["../../../../projects/aca-shared/store/src/actions/app.actions.ts","../../../../projects/aca-shared/store/src/actions/library.actions.ts","../../../../projects/aca-shared/store/src/actions/node.actions.ts","../../../../projects/aca-shared/store/src/actions/router.actions.ts","../../../../projects/aca-shared/store/src/actions/search.actions.ts","../../../../projects/aca-shared/store/src/actions/snackbar.actions.ts","../../../../projects/aca-shared/store/src/actions/upload.actions.ts","../../../../projects/aca-shared/store/src/actions/viewer.actions.ts","../../../../projects/aca-shared/store/src/actions/metadata-aspect.actions.ts","../../../../projects/aca-shared/store/src/actions/template.actions.ts","../../../../projects/aca-shared/store/src/actions/contextmenu.actions.ts","../../../../projects/aca-shared/store/src/effects/dialog.effects.ts","../../../../projects/aca-shared/store/src/effects/router.effects.ts","../../../../projects/aca-shared/store/src/effects/snackbar.effects.ts","../../../../projects/aca-shared/store/src/models/delete-status.model.ts","../../../../projects/aca-shared/store/src/models/deleted-node-info.model.ts","../../../../projects/aca-shared/store/src/models/node-info.model.ts","../../../../projects/aca-shared/store/src/models/search-option.model.ts","../../../../projects/aca-shared/store/src/selectors/app.selectors.ts","../../../../projects/aca-shared/store/src/states/app.state.ts","../../../../projects/aca-shared/store/src/store.module.ts","../../../../projects/aca-shared/store/src/public-api.ts","../../../../projects/aca-shared/store/src/alfresco-aca-shared-store.ts"],"sourcesContent":["/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { Node, Person, Group, RepositoryInfo, VersionEntry } from '@alfresco/js-api';\nimport { AppState } from '../states/app.state';\n\nexport enum AppActionTypes {\n SetSettingsParameter = 'SET_SETTINGS_PARAMETER',\n SetInitialState = 'SET_INITIAL_STATE',\n SetHeaderColor = 'SET_HEADER_COLOR',\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 ToggleDocumentDisplayMode = 'TOGGLE_DOCUMENT_DISPLAY_MODE',\n Logout = 'LOGOUT',\n ReloadDocumentList = 'RELOAD_DOCUMENT_LIST',\n ResetSelection = 'RESET_SELECTION',\n SetInfoDrawerState = 'SET_INFO_DRAWER_STATE',\n SetInfoDrawerMetadataAspect = 'SET_INFO_DRAWER_METADATA_ASPECT',\n CloseModalDialogs = 'CLOSE_MODAL_DIALOGS'\n}\n\nexport class SetSettingsParameterAction implements Action {\n readonly type = AppActionTypes.SetSettingsParameter;\n\n constructor(public payload: { name: string; value: any }) {}\n}\n\nexport class SetInitialStateAction implements Action {\n readonly type = AppActionTypes.SetInitialState;\n\n constructor(public payload: AppState) {}\n}\n\nexport class SetHeaderColorAction implements Action {\n readonly type = AppActionTypes.SetHeaderColor;\n\n constructor(public color: string) {}\n}\n\nexport class SetCurrentFolderAction implements Action {\n readonly type = AppActionTypes.SetCurrentFolder;\n\n constructor(public payload: Node) {}\n}\n\nexport class SetCurrentNodeVersionAction implements Action {\n readonly type = AppActionTypes.SetCurrentVersion;\n\n constructor(public payload: VersionEntry) {}\n}\n\nexport class SetCurrentUrlAction implements Action {\n readonly type = AppActionTypes.SetCurrentUrl;\n\n constructor(public payload: string) {}\n}\n\nexport class SetUserProfileAction implements Action {\n readonly type = AppActionTypes.SetUserProfile;\n\n constructor(public payload: { person: Person; groups: Group[] }) {}\n}\n\nexport class ToggleInfoDrawerAction implements Action {\n readonly type = AppActionTypes.ToggleInfoDrawer;\n}\n\nexport class ToggleDocumentDisplayMode implements Action {\n readonly type = AppActionTypes.ToggleDocumentDisplayMode;\n}\n\nexport class LogoutAction implements Action {\n readonly type = AppActionTypes.Logout;\n}\n\nexport class ReloadDocumentListAction implements Action {\n readonly type = AppActionTypes.ReloadDocumentList;\n\n constructor(public payload?: any) {}\n}\n\nexport class ResetSelectionAction implements Action {\n readonly type = AppActionTypes.ResetSelection;\n\n constructor(public payload?: any) {}\n}\n\nexport class SetInfoDrawerStateAction implements Action {\n readonly type = AppActionTypes.SetInfoDrawerState;\n\n constructor(public payload: boolean) {}\n}\n\nexport class CloseModalDialogsAction implements Action {\n readonly type = AppActionTypes.CloseModalDialogs;\n}\n\nexport class SetRepositoryInfoAction implements Action {\n readonly type = AppActionTypes.SetRepositoryInfo;\n\n constructor(public payload: RepositoryInfo) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { SiteBody } from '@alfresco/js-api';\n\nexport enum LibraryActionTypes {\n Delete = 'DELETE_LIBRARY',\n Create = 'CREATE_LIBRARY',\n Navigate = 'NAVIGATE_LIBRARY',\n Update = 'UPDATE_LIBRARY',\n Leave = 'LEAVE_LIBRARY'\n}\n\nexport class DeleteLibraryAction implements Action {\n readonly type = LibraryActionTypes.Delete;\n\n constructor(public payload?: string) {}\n}\n\nexport class CreateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Create;\n}\n\nexport class NavigateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Navigate;\n\n constructor(public payload?: string, public route?: string) {}\n}\n\nexport class UpdateLibraryAction implements Action {\n readonly type = LibraryActionTypes.Update;\n\n constructor(public payload?: SiteBody) {}\n}\n\nexport class LeaveLibraryAction implements Action {\n readonly type = LibraryActionTypes.Leave;\n\n constructor(public payload?: string) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { MinimalNodeEntity } from '@alfresco/js-api';\n\nexport enum NodeActionTypes {\n SetSelection = 'SET_SELECTED_NODES',\n Delete = 'DELETE_NODES',\n UndoDelete = 'UNDO_DELETE_NODES',\n RestoreDeleted = 'RESTORE_DELETED_NODES',\n PurgeDeleted = 'PURGE_DELETED_NODES',\n Download = 'DOWNLOAD_NODES',\n CreateFolder = 'CREATE_FOLDER',\n EditFolder = 'EDIT_FOLDER',\n Share = 'SHARE_NODE',\n Unshare = 'UNSHARE_NODES',\n Copy = 'COPY_NODES',\n Move = 'MOVE_NODES',\n ManagePermissions = 'MANAGE_PERMISSIONS',\n PrintFile = 'PRINT_FILE',\n ManageVersions = 'MANAGE_VERSIONS',\n EditOffline = 'EDIT_OFFLINE',\n UnlockForWriting = 'UNLOCK_WRITE_LOCK',\n AddFavorite = 'ADD_FAVORITE',\n RemoveFavorite = 'REMOVE_FAVORITE'\n}\n\nexport class SetSelectedNodesAction implements Action {\n readonly type = NodeActionTypes.SetSelection;\n\n constructor(public payload: MinimalNodeEntity[] = []) {}\n}\n\nexport class DeleteNodesAction implements Action {\n readonly type = NodeActionTypes.Delete;\n\n constructor(public payload: MinimalNodeEntity[] = []) {}\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<MinimalNodeEntity>) {}\n}\n\nexport class PurgeDeletedNodesAction implements Action {\n readonly type = NodeActionTypes.PurgeDeleted;\n\n constructor(public payload: Array<MinimalNodeEntity>) {}\n}\n\nexport class DownloadNodesAction implements Action {\n readonly type = NodeActionTypes.Download;\n\n constructor(public payload: MinimalNodeEntity[] = []) {}\n}\n\nexport class CreateFolderAction implements Action {\n readonly type = NodeActionTypes.CreateFolder;\n\n constructor(public payload: string) {}\n}\n\nexport class EditFolderAction implements Action {\n readonly type = NodeActionTypes.EditFolder;\n\n constructor(public payload: MinimalNodeEntity) {}\n}\n\nexport class ShareNodeAction implements Action {\n readonly type = NodeActionTypes.Share;\n\n constructor(public payload: MinimalNodeEntity) {}\n}\n\nexport class UnshareNodesAction implements Action {\n readonly type = NodeActionTypes.Unshare;\n\n constructor(public payload: Array<MinimalNodeEntity>) {}\n}\n\nexport class CopyNodesAction implements Action {\n readonly type = NodeActionTypes.Copy;\n\n constructor(public payload: Array<MinimalNodeEntity>) {}\n}\n\nexport class MoveNodesAction implements Action {\n readonly type = NodeActionTypes.Move;\n\n constructor(public payload: Array<MinimalNodeEntity>) {}\n}\n\nexport class ManagePermissionsAction implements Action {\n readonly type = NodeActionTypes.ManagePermissions;\n\n constructor(public payload: MinimalNodeEntity) {}\n}\n\nexport class PrintFileAction implements Action {\n readonly type = NodeActionTypes.PrintFile;\n\n constructor(public payload: MinimalNodeEntity) {}\n}\n\nexport class ManageVersionsAction implements Action {\n readonly type = NodeActionTypes.ManageVersions;\n\n constructor(public payload: MinimalNodeEntity) {}\n}\n\nexport class EditOfflineAction implements Action {\n readonly type = NodeActionTypes.EditOffline;\n\n constructor(public payload: any) {}\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<MinimalNodeEntity>) {}\n}\n\nexport class RemoveFavoriteAction implements Action {\n readonly type = NodeActionTypes.RemoveFavorite;\n\n constructor(public payload: Array<MinimalNodeEntity>) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { MinimalNodeEntity } from '@alfresco/js-api';\n\nexport enum RouterActionTypes {\n NavigateUrl = 'NAVIGATE_URL',\n NavigateRoute = 'NAVIGATE_ROUTE',\n NavigateFolder = 'NAVIGATE_FOLDER',\n NavigateParentFolder = 'NAVIGATE_PARENT_FOLDER'\n}\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: MinimalNodeEntity) {}\n}\n\nexport class NavigateToParentFolder implements Action {\n readonly type = RouterActionTypes.NavigateParentFolder;\n\n constructor(public payload: MinimalNodeEntity) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 SearchByTerm = 'SEARCH_BY_TERM',\n ToggleFilter = 'TOGGLE_SEARCH_FILTER',\n ShowFilter = 'SHOW_SEARCH_FILTER',\n HideFilter = 'HIDE_SEARCH_FILTER'\n}\n\nexport class SearchByTermAction implements Action {\n readonly type = SearchActionTypes.SearchByTerm;\n constructor(public payload: string, public searchOptions?: SearchOptionModel[]) {}\n}\n\nexport class ToggleSearchFilterAction implements Action {\n readonly type = SearchActionTypes.ToggleFilter;\n}\n\nexport class ShowSearchFilterAction implements Action {\n readonly type = SearchActionTypes.ShowFilter;\n}\n\nexport class HideSearchFilterAction implements Action {\n readonly type = SearchActionTypes.HideFilter;\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\n\nexport enum SnackbarActionTypes {\n Info = 'SNACKBAR_INFO',\n Warning = 'SNACKBAR_WARNING',\n Error = 'SNACKBAR_ERROR'\n}\n\nexport interface SnackbarAction extends Action {\n payload: string;\n params?: Object;\n userAction?: SnackbarUserAction;\n duration: number;\n}\n\nexport class SnackbarUserAction {\n constructor(public title: string, public action: Action) {}\n}\n\nexport class SnackbarInfoAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Info;\n\n userAction?: SnackbarUserAction;\n duration = 4000;\n\n constructor(public payload: string, public params?: Object) {}\n}\n\nexport class SnackbarWarningAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Warning;\n\n userAction?: SnackbarUserAction;\n duration = 4000;\n\n constructor(public payload: string, public params?: Object) {}\n}\n\nexport class SnackbarErrorAction implements SnackbarAction {\n readonly type = SnackbarActionTypes.Error;\n\n userAction?: SnackbarUserAction;\n duration = 4000;\n\n constructor(public payload: string, public params?: Object) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\n\nexport enum UploadActionTypes {\n UploadFiles = 'UPLOAD_FILES',\n UploadFolder = 'UPLOAD_FOLDER',\n UploadFileVersion = 'UPLOAD_FILE_VERSION'\n}\n\nexport class UploadFilesAction implements Action {\n readonly type = UploadActionTypes.UploadFiles;\n\n constructor(public payload: any) {}\n}\n\nexport class UploadFolderAction implements Action {\n readonly type = UploadActionTypes.UploadFolder;\n\n constructor(public payload: any) {}\n}\n\nexport class UploadFileVersionAction implements Action {\n readonly type = UploadActionTypes.UploadFileVersion;\n\n constructor(public payload: CustomEvent) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { MinimalNodeEntity } 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 PluginPreview = 'PLUGIN_PREVIEW'\n}\n\nexport interface ViewNodeExtras {\n location?: string;\n path?: string;\n}\n\nexport class ViewFileAction implements Action {\n readonly type = ViewerActionTypes.ViewFile;\n\n constructor(public payload?: MinimalNodeEntity, public parentId?: string) {}\n}\n\nexport class ViewNodeAction implements Action {\n readonly type = ViewerActionTypes.ViewNode;\n\n constructor(public nodeId: string, public viewNodeExtras?: ViewNodeExtras) {}\n}\n\nexport class ViewNodeVersionAction implements Action {\n readonly type = ViewerActionTypes.ViewNodeVersion;\n\n constructor(public nodeId: string, public versionId: string, public viewNodeExtras?: ViewNodeExtras) {}\n}\n\nexport class FullscreenViewerAction implements Action {\n readonly type = ViewerActionTypes.FullScreen;\n\n constructor(public payload: MinimalNodeEntity) {}\n}\n\nexport class ClosePreviewAction implements Action {\n readonly type = ViewerActionTypes.ClosePreview;\n constructor(public payload?: MinimalNodeEntity) {}\n}\n\nexport class PluginPreviewAction implements Action {\n readonly type = ViewerActionTypes.PluginPreview;\n\n constructor(public pluginRoute: string, public nodeId: string) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\nimport { Node } from '@alfresco/js-api';\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\nexport class FileFromTemplate implements Action {\n readonly type = TemplateActionTypes.FileFromTemplate;\n\n constructor() {}\n}\n\nexport class FolderFromTemplate implements Action {\n readonly type = TemplateActionTypes.FolderFromTemplate;\n\n constructor() {}\n}\n\nexport class CreateFromTemplate implements Action {\n readonly type = TemplateActionTypes.CreateFromTemplate;\n\n constructor(public payload: Node) {}\n}\n\nexport class CreateFromTemplateSuccess implements Action {\n readonly type = TemplateActionTypes.CreateFromTemplateSuccess;\n\n constructor(public node: Node) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Action } from '@ngrx/store';\n\nexport enum ContextMenuActionTypes {\n ContextMenu = 'CONTEXT_MENU'\n}\n\nexport class ContextMenu implements Action {\n readonly type = ContextMenuActionTypes.ContextMenu;\n\n constructor(public event: MouseEvent) {}\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Effect, Actions, ofType } from '@ngrx/effects';\nimport { Injectable } from '@angular/core';\nimport { map } from 'rxjs/operators';\nimport { MatDialog } from '@angular/material/dialog';\nimport { CloseModalDialogsAction, AppActionTypes } from '../actions/app.actions';\n\n@Injectable()\nexport class DialogEffects {\n constructor(private actions$: Actions, private matDialog: MatDialog) {}\n\n @Effect({ dispatch: false })\n closeAll$ = this.actions$.pipe(\n ofType<CloseModalDialogsAction>(AppActionTypes.CloseModalDialogs),\n map(() => this.matDialog.closeAll())\n );\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Actions, Effect, ofType } from '@ngrx/effects';\nimport { MinimalNodeEntryEntity, PathInfoEntity } from '@alfresco/js-api';\nimport { map } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\nimport { AppStore } from '../states/app.state';\nimport { NavigateUrlAction, RouterActionTypes, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder } from '../actions/router.actions';\nimport { SnackbarErrorAction } from '../actions/snackbar.actions';\n\n@Injectable()\nexport class RouterEffects {\n constructor(private store: Store<AppStore>, private actions$: Actions, private router: Router) {}\n\n @Effect({ dispatch: false })\n navigateUrl$ = 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\n @Effect({ dispatch: false })\n navigateRoute$ = this.actions$.pipe(\n ofType<NavigateRouteAction>(RouterActionTypes.NavigateRoute),\n map((action) => {\n this.router.navigate(action.payload);\n })\n );\n\n @Effect({ dispatch: false })\n navigateToFolder$ = this.actions$.pipe(\n ofType<NavigateToFolder>(RouterActionTypes.NavigateFolder),\n map((action) => {\n if (action.payload && action.payload.entry) {\n this.navigateToFolder(action.payload.entry);\n }\n })\n );\n\n @Effect({ dispatch: false })\n navigateToParentFolder$ = this.actions$.pipe(\n ofType<NavigateToParentFolder>(RouterActionTypes.NavigateParentFolder),\n map((action) => {\n if (action.payload && action.payload.entry) {\n this.navigateToParentFolder(action.payload.entry);\n }\n })\n );\n\n private navigateToFolder(node: MinimalNodeEntryEntity) {\n let link: any[] = null;\n const { path, id } = node;\n\n if (path && path.name && path.elements) {\n const isLibraryPath = this.isLibraryContent(path);\n\n const parent = path.elements[path.elements.length - 1];\n const area = isLibraryPath ? '/libraries' : '/personal-files';\n\n if (!isLibraryPath) {\n link = [area, id];\n } else {\n // parent.id could be 'Site' folder or child as 'documentLibrary'\n link = [area, parent.name === 'Sites' ? {} : id];\n }\n\n setTimeout(() => {\n this.router.navigate(link);\n }, 10);\n } else {\n this.router.navigate(['/personal-files', node.id]);\n }\n }\n\n private navigateToParentFolder(node: MinimalNodeEntryEntity) {\n let link: any[] = null;\n const { path } = node;\n\n if (path && path.name && path.elements) {\n const isLibraryPath = this.isLibraryContent(path);\n\n const parent = path.elements[path.elements.length - 1];\n const area = isLibraryPath ? '/libraries' : '/personal-files';\n\n if (!isLibraryPath) {\n link = [area, parent.id];\n } else {\n // parent.id could be 'Site' folder or child as 'documentLibrary'\n link = [area, parent.name === 'Sites' ? {} : parent.id];\n }\n\n setTimeout(() => {\n this.router.navigate(link);\n }, 10);\n } else {\n this.store.dispatch(new SnackbarErrorAction('APP.MESSAGES.ERRORS.CANNOT_NAVIGATE_LOCATION'));\n }\n }\n\n private isLibraryContent(path: PathInfoEntity): boolean {\n if (path && path.elements.length >= 2 && path.elements[1].name === 'Sites') {\n return true;\n }\n\n return false;\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { TranslationService } from '@alfresco/adf-core';\nimport { Injectable } from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { Actions, Effect, ofType } from '@ngrx/effects';\nimport { Store } from '@ngrx/store';\nimport { map } from 'rxjs/operators';\nimport { AppStore } from '../states/app.state';\nimport { SnackbarInfoAction, SnackbarActionTypes, SnackbarWarningAction, SnackbarErrorAction, SnackbarAction } from '../actions/snackbar.actions';\n\n@Injectable()\nexport class SnackbarEffects {\n constructor(\n private store: Store<AppStore>,\n private actions$: Actions,\n private snackBar: MatSnackBar,\n private translationService: TranslationService\n ) {}\n\n @Effect({ dispatch: false })\n infoEffect = this.actions$.pipe(\n ofType<SnackbarInfoAction>(SnackbarActionTypes.Info),\n map((action: SnackbarInfoAction) => {\n this.showSnackBar(action, 'info-snackbar');\n })\n );\n\n @Effect({ dispatch: false })\n warningEffect = this.actions$.pipe(\n ofType<SnackbarWarningAction>(SnackbarActionTypes.Warning),\n map((action: SnackbarWarningAction) => {\n this.showSnackBar(action, 'warning-snackbar');\n })\n );\n\n @Effect({ dispatch: false })\n errorEffect = this.actions$.pipe(\n ofType<SnackbarErrorAction>(SnackbarActionTypes.Error),\n map((action: SnackbarErrorAction) => {\n this.showSnackBar(action, 'error-snackbar');\n })\n );\n\n private showSnackBar(action: SnackbarAction, panelClass: string) {\n const message = this.translate(action.payload, action.params);\n\n let actionName: string = null;\n if (action.userAction) {\n actionName = this.translate(action.userAction.title);\n }\n\n const snackBarRef = this.snackBar.open(message, actionName, {\n duration: action.duration || 4000,\n panelClass: panelClass\n });\n\n if (action.userAction) {\n snackBarRef.onAction().subscribe(() => {\n this.store.dispatch(action.userAction.action);\n });\n }\n }\n\n private translate(message: string, params?: Object): string {\n return this.translationService.instant(message, params);\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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 * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { AppStore } from '../states/app.state';\nimport { createSelector } from '@ngrx/store';\n\nexport const selectApp = (state: AppStore) => state.app;\n\nexport const getHeaderColor = createSelector(selectApp, (state) => state.headerColor);\nexport const getAppName = createSelector(selectApp, (state) => state.appName);\nexport const getLogoPath = createSelector(selectApp, (state) => state.logoPath);\nexport const getHeaderImagePath = createSelector(selectApp, (state) => state.headerImagePath);\nexport const getLanguagePickerState = createSelector(selectApp, (state) => state.languagePicker);\nexport const getUserProfile = createSelector(selectApp, (state) => state.user);\nexport const getCurrentFolder = createSelector(selectApp, (state) => state.navigation.currentFolder);\nexport const getCurrentVersion = createSelector(selectApp, (state) => state.currentNodeVersion);\nexport const getAppSelection = createSelector(selectApp, (state) => state.selection);\nexport const getSharedUrl = createSelector(selectApp, (state) => state.sharedUrl);\nexport const getNavigationState = createSelector(selectApp, (state) => state.navigation);\nexport const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);\nexport const showFacetFilter = createSelector(selectApp, (state) => state.showFacetFilter);\nexport const getDocumentDisplayMode = createSelector(selectApp, (state) => state.documentDisplayMode);\nexport const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);\nexport const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);\nexport const isAdmin = createSelector(selectApp, (state) => state.user.isAdmin);\n\nexport const getSideNavState = createSelector(getAppSelection, getNavigationState, (selection, navigation) => {\n return {\n selection,\n navigation\n };\n});\n\nexport const getRuleContext = createSelector(\n getAppSelection,\n getNavigationState,\n getUserProfile,\n getRepositoryStatus,\n (selection, navigation, profile, repository) => {\n return {\n selection,\n navigation,\n profile,\n repository\n };\n }\n);\n\nexport const infoDrawerMetadataAspect = createSelector(selectApp, (state) => state.infoDrawerMetadataAspect);\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. 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';\n\nexport interface AppState {\n appName: string;\n headerColor: string;\n logoPath: string;\n headerImagePath: string;\n languagePicker: boolean;\n sharedUrl: string;\n currentNodeVersion: VersionEntry;\n selection: SelectionState;\n user: ProfileState;\n navigation: NavigationState;\n infoDrawerOpened: boolean;\n infoDrawerMetadataAspect: string;\n showFacetFilter: boolean;\n documentDisplayMode: string;\n repository: RepositoryInfo;\n}\n\nexport interface AppStore {\n app: AppState;\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { SnackbarEffects } from './effects/snackbar.effects';\nimport { DialogEffects } from './effects/dialog.effects';\nimport { RouterEffects } from './effects/router.effects';\n\n@NgModule({\n imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]\n})\nexport class SharedStoreModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\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 * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport * from './actions/app.actions';\nexport * from './actions/library.actions';\nexport * from './actions/node.actions';\nexport * from './actions/router.actions';\nexport * from './actions/search.actions';\nexport * from './actions/snackbar.actions';\nexport * from './actions/upload.actions';\nexport * from './actions/viewer.actions';\nexport * from './actions/metadata-aspect.actions';\nexport * from './actions/template.actions';\nexport * from './actions/contextmenu.actions';\n\nexport * from './effects/dialog.effects';\nexport * from './effects/router.effects';\nexport * from './effects/snackbar.effects';\n\nexport * from './models/delete-status.model';\nexport * from './models/deleted-node-info.model';\nexport * from './models/node-info.model';\nexport * from './models/search-option.model';\n\nexport * from './selectors/app.selectors';\n\nexport * from './states/app.state';\n\nexport * from './store.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;IA6BY;AAAZ,WAAY,cAAc;IACxB,iEAA+C,CAAA;IAC/C,uDAAqC,CAAA;IACrC,qDAAmC,CAAA;IACnC,yDAAuC,CAAA;IACvC,2DAAyC,CAAA;IACzC,mDAAiC,CAAA;IACjC,qDAAmC,CAAA;IACnC,2DAAyC,CAAA;IACzC,yDAAuC,CAAA;IACvC,4EAA0D,CAAA;IAC1D,mCAAiB,CAAA;IACjB,6DAA2C,CAAA;IAC3C,oDAAkC,CAAA;IAClC,8DAA4C,CAAA;IAC5C,iFAA+D,CAAA;IAC/D,2DAAyC,CAAA;AAC3C,CAAC,EAjBW,cAAc,KAAd,cAAc,QAiBzB;MAEY,0BAA0B;IAGrC,YAAmB,OAAqC;QAArC,YAAO,GAAP,OAAO,CAA8B;QAF/C,SAAI,GAAG,cAAc,CAAC,oBAAoB,CAAC;KAEQ;CAC7D;MAEY,qBAAqB;IAGhC,YAAmB,OAAiB;QAAjB,YAAO,GAAP,OAAO,CAAU;QAF3B,SAAI,GAAG,cAAc,CAAC,eAAe,CAAC;KAEP;CACzC;MAEY,oBAAoB;IAG/B,YAAmB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;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