@alfresco/aca-shared 2.0.1 → 4.0.0-4895381898

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 (248) hide show
  1. package/README.md +7 -6
  2. package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +73 -0
  3. package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +176 -0
  4. package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +26 -0
  5. package/esm2020/lib/components/generic-error/generic-error.component.mjs +41 -0
  6. package/esm2020/lib/components/generic-error/generic-error.module.mjs +44 -0
  7. package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +123 -0
  8. package/esm2020/lib/components/info-drawer/shared-info-drawer.module.mjs +46 -0
  9. package/esm2020/lib/components/locked-by/locked-by.component.mjs +52 -0
  10. package/esm2020/lib/components/locked-by/locked-by.module.mjs +44 -0
  11. package/esm2020/lib/components/open-in-app/open-in-app.component.mjs +58 -0
  12. package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +48 -0
  13. package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +40 -0
  14. package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +40 -0
  15. package/esm2020/lib/components/page-layout/page-layout.component.mjs +57 -0
  16. package/esm2020/lib/components/page-layout/page-layout.module.mjs +47 -0
  17. package/esm2020/lib/components/tool-bar/shared-toolbar.module.mjs +46 -0
  18. package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +59 -0
  19. package/esm2020/lib/components/tool-bar/toolbar-button/toolbar-button.component.mjs +69 -0
  20. package/esm2020/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.mjs +82 -0
  21. package/esm2020/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.mjs +68 -0
  22. package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +106 -0
  23. package/esm2020/lib/directives/contextmenu/contextmenu.module.mjs +42 -0
  24. package/esm2020/lib/directives/pagination.directive.mjs +54 -0
  25. package/esm2020/lib/directives/shared.directives.module.mjs +41 -0
  26. package/esm2020/lib/models/modal-configuration.mjs +25 -0
  27. package/esm2020/lib/models/types.mjs +25 -0
  28. package/esm2020/lib/models/viewer.rules.mjs +25 -0
  29. package/esm2020/lib/routing/shared.guard.mjs +48 -0
  30. package/esm2020/lib/services/aca-file-auto-download.service.mjs +55 -0
  31. package/esm2020/lib/services/aca-mobile-app-switcher.service.mjs +107 -0
  32. package/esm2020/lib/services/alfresco-office-extension.service.mjs +63 -0
  33. package/esm2020/lib/services/app-hook.service.mjs +87 -0
  34. package/esm2020/lib/services/app.extension.service.mjs +444 -0
  35. package/esm2020/lib/services/app.service.mjs +223 -0
  36. package/esm2020/lib/services/content-api.service.mjs +266 -0
  37. package/esm2020/lib/services/node-permission.service.mjs +89 -0
  38. package/esm2020/lib/services/router.extension.service.mjs +105 -0
  39. package/esm2020/lib/shared.module.mjs +54 -0
  40. package/esm2020/lib/testing/lib-testing-module.mjs +115 -0
  41. package/esm2020/lib/utils/node.utils.mjs +42 -0
  42. package/esm2020/public-api.mjs +62 -0
  43. package/esm2020/rules/app.rules.mjs +526 -0
  44. package/esm2020/rules/navigation.rules.mjs +156 -0
  45. package/esm2020/rules/public-api.mjs +28 -0
  46. package/esm2020/rules/repository.rules.mjs +33 -0
  47. package/esm2020/rules/user.rules.mjs +29 -0
  48. package/esm2020/store/actions/app-action-types.mjs +46 -0
  49. package/esm2020/store/actions/app.actions.mjs +128 -0
  50. package/esm2020/store/actions/context-menu-action-types.mjs +28 -0
  51. package/esm2020/store/actions/contextmenu.actions.mjs +31 -0
  52. package/esm2020/store/actions/library.actions.mjs +63 -0
  53. package/esm2020/store/actions/metadata-aspect.actions.mjs +31 -0
  54. package/esm2020/store/actions/node.actions.mjs +188 -0
  55. package/esm2020/store/actions/router-action-types.mjs +32 -0
  56. package/esm2020/store/actions/router.actions.mjs +54 -0
  57. package/esm2020/store/actions/search.actions.mjs +41 -0
  58. package/esm2020/store/actions/snackbar.actions.mjs +57 -0
  59. package/esm2020/store/actions/template-action-types.mjs +31 -0
  60. package/esm2020/store/actions/template.actions.mjs +47 -0
  61. package/esm2020/store/actions/upload.actions.mjs +49 -0
  62. package/esm2020/store/actions/viewer.actions.mjs +81 -0
  63. package/esm2020/store/effects/dialog.effects.mjs +44 -0
  64. package/esm2020/store/effects/router.effects.mjs +116 -0
  65. package/esm2020/store/effects/snackbar.effects.mjs +85 -0
  66. package/esm2020/store/models/delete-status.model.mjs +25 -0
  67. package/esm2020/store/models/deleted-node-info.model.mjs +25 -0
  68. package/esm2020/store/models/modal-configuration.mjs +25 -0
  69. package/esm2020/store/models/node-info.model.mjs +25 -0
  70. package/esm2020/store/models/search-option.model.mjs +30 -0
  71. package/esm2020/store/public-api.mjs +49 -0
  72. package/esm2020/store/selectors/app.selectors.mjs +56 -0
  73. package/esm2020/store/states/app.state.mjs +26 -0
  74. package/esm2020/store/store.module.mjs +42 -0
  75. package/fesm2015/alfresco-aca-shared-rules.mjs +775 -0
  76. package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -0
  77. package/fesm2015/{alfresco-aca-shared-store.js → alfresco-aca-shared-store.mjs} +395 -396
  78. package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -0
  79. package/fesm2015/alfresco-aca-shared.mjs +2902 -0
  80. package/fesm2015/alfresco-aca-shared.mjs.map +1 -0
  81. package/{fesm2015/alfresco-aca-shared-rules.js → fesm2020/alfresco-aca-shared-rules.mjs} +274 -180
  82. package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -0
  83. package/fesm2020/alfresco-aca-shared-store.mjs +1376 -0
  84. package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -0
  85. package/fesm2020/alfresco-aca-shared.mjs +3049 -0
  86. package/fesm2020/alfresco-aca-shared.mjs.map +1 -0
  87. package/{alfresco-aca-shared.d.ts → index.d.ts} +1 -0
  88. package/lib/adf-extensions/extensions-data-loader.guard.d.ts +9 -7
  89. package/lib/components/document-base-page/document-base-page.component.d.ts +76 -0
  90. package/lib/components/document-base-page/document-base-page.service.d.ts +28 -0
  91. package/lib/components/generic-error/generic-error.component.d.ts +3 -24
  92. package/lib/components/generic-error/generic-error.module.d.ts +8 -24
  93. package/lib/components/info-drawer/info-drawer.component.d.ts +11 -6
  94. package/lib/components/info-drawer/shared-info-drawer.module.d.ts +11 -24
  95. package/lib/components/locked-by/locked-by.component.d.ts +5 -30
  96. package/lib/components/locked-by/locked-by.module.d.ts +8 -24
  97. package/lib/components/open-in-app/open-in-app.component.d.ts +16 -0
  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 +18 -7
  102. package/lib/components/page-layout/page-layout.module.d.ts +12 -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 +16 -8
  105. package/lib/components/tool-bar/toolbar-button/toolbar-button.component.d.ts +10 -25
  106. package/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.d.ts +23 -13
  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 +10 -7
  109. package/lib/directives/contextmenu/contextmenu.module.d.ts +5 -24
  110. package/lib/directives/pagination.directive.d.ts +8 -6
  111. package/lib/directives/shared.directives.module.d.ts +6 -24
  112. package/lib/models/modal-configuration.d.ts +26 -0
  113. package/lib/models/types.d.ts +5 -6
  114. package/lib/models/viewer.rules.d.ts +9 -6
  115. package/lib/routing/shared.guard.d.ts +5 -26
  116. package/lib/services/aca-file-auto-download.service.d.ts +13 -0
  117. package/lib/services/aca-mobile-app-switcher.service.d.ts +48 -0
  118. package/lib/services/alfresco-office-extension.service.d.ts +11 -0
  119. package/lib/services/app-hook.service.d.ts +55 -0
  120. package/lib/services/app.extension.service.d.ts +30 -45
  121. package/lib/services/app.service.d.ts +51 -12
  122. package/lib/services/content-api.service.d.ts +34 -25
  123. package/lib/services/node-permission.service.d.ts +3 -24
  124. package/lib/services/router.extension.service.d.ts +3 -24
  125. package/lib/shared.module.d.ts +15 -6
  126. package/lib/testing/lib-testing-module.d.ts +41 -0
  127. package/lib/utils/node.utils.d.ts +5 -6
  128. package/package.json +60 -18
  129. package/public-api.d.ts +12 -7
  130. package/rules/app.rules.d.ts +128 -36
  131. package/rules/{alfresco-aca-shared-rules.d.ts → index.d.ts} +1 -0
  132. package/rules/navigation.rules.d.ts +12 -12
  133. package/rules/public-api.d.ts +5 -6
  134. package/rules/repository.rules.d.ts +7 -7
  135. package/rules/user.rules.d.ts +6 -7
  136. package/store/actions/app-action-types.d.ts +44 -0
  137. package/store/actions/app.actions.d.ts +24 -29
  138. package/store/actions/context-menu-action-types.d.ts +26 -0
  139. package/store/actions/contextmenu.actions.d.ts +6 -9
  140. package/store/actions/library.actions.d.ts +8 -7
  141. package/store/actions/metadata-aspect.actions.d.ts +5 -6
  142. package/store/actions/node.actions.d.ts +38 -13
  143. package/store/actions/router-action-types.d.ts +30 -0
  144. package/store/actions/router.actions.d.ts +10 -12
  145. package/store/actions/search.actions.d.ts +11 -19
  146. package/store/actions/snackbar.actions.d.ts +13 -17
  147. package/store/actions/template-action-types.d.ts +29 -0
  148. package/store/actions/template.actions.d.ts +6 -12
  149. package/store/actions/upload.actions.d.ts +8 -7
  150. package/store/actions/viewer.actions.d.ts +11 -6
  151. package/store/effects/dialog.effects.d.ts +9 -7
  152. package/store/effects/router.effects.d.ts +11 -29
  153. package/store/effects/snackbar.effects.d.ts +11 -9
  154. package/store/{alfresco-aca-shared-store.d.ts → index.d.ts} +1 -0
  155. package/store/models/delete-status.model.d.ts +5 -6
  156. package/store/models/deleted-node-info.model.d.ts +5 -6
  157. package/store/models/modal-configuration.d.ts +26 -0
  158. package/store/models/node-info.model.d.ts +5 -6
  159. package/store/models/search-option.model.d.ts +5 -6
  160. package/store/public-api.d.ts +9 -6
  161. package/store/selectors/app.selectors.d.ts +10 -9
  162. package/store/states/app.state.d.ts +12 -9
  163. package/store/store.module.d.ts +5 -24
  164. package/alfresco-aca-shared.metadata.json +0 -1
  165. package/bundles/alfresco-aca-shared-rules.umd.js +0 -745
  166. package/bundles/alfresco-aca-shared-rules.umd.js.map +0 -1
  167. package/bundles/alfresco-aca-shared-rules.umd.min.js +0 -125
  168. package/bundles/alfresco-aca-shared-rules.umd.min.js.map +0 -1
  169. package/bundles/alfresco-aca-shared-store.umd.js +0 -1784
  170. package/bundles/alfresco-aca-shared-store.umd.js.map +0 -1
  171. package/bundles/alfresco-aca-shared-store.umd.min.js +0 -462
  172. package/bundles/alfresco-aca-shared-store.umd.min.js.map +0 -1
  173. package/bundles/alfresco-aca-shared.umd.js +0 -2523
  174. package/bundles/alfresco-aca-shared.umd.js.map +0 -1
  175. package/bundles/alfresco-aca-shared.umd.min.js +0 -740
  176. package/bundles/alfresco-aca-shared.umd.min.js.map +0 -1
  177. package/esm2015/lib/adf-extensions/extensions-data-loader.guard.js +0 -74
  178. package/esm2015/lib/components/generic-error/generic-error.component.js +0 -44
  179. package/esm2015/lib/components/generic-error/generic-error.module.js +0 -39
  180. package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -105
  181. package/esm2015/lib/components/info-drawer/shared-info-drawer.module.js +0 -41
  182. package/esm2015/lib/components/locked-by/locked-by.component.js +0 -54
  183. package/esm2015/lib/components/locked-by/locked-by.module.js +0 -38
  184. package/esm2015/lib/components/page-layout/page-layout-content.component.js +0 -43
  185. package/esm2015/lib/components/page-layout/page-layout-error.component.js +0 -37
  186. package/esm2015/lib/components/page-layout/page-layout-header.component.js +0 -37
  187. package/esm2015/lib/components/page-layout/page-layout.component.js +0 -44
  188. package/esm2015/lib/components/page-layout/page-layout.module.js +0 -40
  189. package/esm2015/lib/components/tool-bar/shared-toolbar.module.js +0 -42
  190. package/esm2015/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -57
  191. package/esm2015/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -66
  192. package/esm2015/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -55
  193. package/esm2015/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -65
  194. package/esm2015/lib/directives/contextmenu/contextmenu.directive.js +0 -97
  195. package/esm2015/lib/directives/contextmenu/contextmenu.module.js +0 -38
  196. package/esm2015/lib/directives/pagination.directive.js +0 -55
  197. package/esm2015/lib/directives/shared.directives.module.js +0 -37
  198. package/esm2015/lib/models/types.js +0 -25
  199. package/esm2015/lib/models/viewer.rules.js +0 -25
  200. package/esm2015/lib/routing/app.routes.strategy.js +0 -105
  201. package/esm2015/lib/routing/shared.guard.js +0 -50
  202. package/esm2015/lib/services/app.extension.service.js +0 -398
  203. package/esm2015/lib/services/app.service.js +0 -69
  204. package/esm2015/lib/services/content-api.service.js +0 -205
  205. package/esm2015/lib/services/node-permission.service.js +0 -88
  206. package/esm2015/lib/services/router.extension.service.js +0 -110
  207. package/esm2015/lib/shared.module.js +0 -44
  208. package/esm2015/lib/utils/node.utils.js +0 -34
  209. package/esm2015/public-api.js +0 -57
  210. package/esm2015/rules/app.rules.js +0 -420
  211. package/esm2015/rules/navigation.rules.js +0 -164
  212. package/esm2015/rules/public-api.js +0 -29
  213. package/esm2015/rules/repository.rules.js +0 -32
  214. package/esm2015/rules/user.rules.js +0 -32
  215. package/esm2015/store/actions/app.actions.js +0 -130
  216. package/esm2015/store/actions/contextmenu.actions.js +0 -35
  217. package/esm2015/store/actions/library.actions.js +0 -63
  218. package/esm2015/store/actions/metadata-aspect.actions.js +0 -32
  219. package/esm2015/store/actions/node.actions.js +0 -161
  220. package/esm2015/store/actions/router.actions.js +0 -56
  221. package/esm2015/store/actions/search.actions.js +0 -54
  222. package/esm2015/store/actions/snackbar.actions.js +0 -61
  223. package/esm2015/store/actions/template.actions.js +0 -54
  224. package/esm2015/store/actions/upload.actions.js +0 -49
  225. package/esm2015/store/actions/viewer.actions.js +0 -75
  226. package/esm2015/store/effects/dialog.effects.js +0 -49
  227. package/esm2015/store/effects/router.effects.js +0 -132
  228. package/esm2015/store/effects/snackbar.effects.js +0 -90
  229. package/esm2015/store/models/delete-status.model.js +0 -25
  230. package/esm2015/store/models/deleted-node-info.model.js +0 -25
  231. package/esm2015/store/models/node-info.model.js +0 -25
  232. package/esm2015/store/models/search-option.model.js +0 -31
  233. package/esm2015/store/public-api.js +0 -46
  234. package/esm2015/store/selectors/app.selectors.js +0 -80
  235. package/esm2015/store/states/app.state.js +0 -25
  236. package/esm2015/store/store.module.js +0 -37
  237. package/fesm2015/alfresco-aca-shared-rules.js.map +0 -1
  238. package/fesm2015/alfresco-aca-shared-store.js.map +0 -1
  239. package/fesm2015/alfresco-aca-shared.js +0 -2167
  240. package/fesm2015/alfresco-aca-shared.js.map +0 -1
  241. package/lib/routing/app.routes.strategy.d.ts +0 -40
  242. package/rules/alfresco-aca-shared-rules.metadata.json +0 -1
  243. package/rules/package.json +0 -11
  244. package/store/alfresco-aca-shared-store.metadata.json +0 -1
  245. package/store/package.json +0 -11
  246. /package/{esm2015/alfresco-aca-shared.js → esm2020/alfresco-aca-shared.mjs} +0 -0
  247. /package/{esm2015/rules/alfresco-aca-shared-rules.js → esm2020/rules/alfresco-aca-shared-rules.mjs} +0 -0
  248. /package/{esm2015/store/alfresco-aca-shared-store.js → esm2020/store/alfresco-aca-shared-store.mjs} +0 -0
@@ -1,22 +1,25 @@
1
- import { __decorate, __metadata } from 'tslib';
2
- import { ofType, Actions, Effect, EffectsModule } from '@ngrx/effects';
3
- import { Injectable, NgModule } from '@angular/core';
1
+ import * as i2 from '@ngrx/effects';
2
+ import { createEffect, ofType, EffectsModule } from '@ngrx/effects';
3
+ import * as i0 from '@angular/core';
4
+ import { Injectable, InjectionToken, NgModule } from '@angular/core';
4
5
  import { map } from 'rxjs/operators';
5
- import { MatDialog } from '@angular/material/dialog';
6
- import { Router } from '@angular/router';
7
- import { Store, createSelector } from '@ngrx/store';
8
- import { TranslationService } from '@alfresco/adf-core';
9
- import { MatSnackBar } from '@angular/material/snack-bar';
6
+ import * as i2$1 from '@angular/material/dialog';
7
+ import * as i1 from '@ngrx/store';
8
+ import { createSelector } from '@ngrx/store';
9
+ import * as i3 from '@angular/router';
10
+ import * as i4 from '@angular/common';
11
+ import * as i4$1 from '@alfresco/adf-core';
12
+ import { SnackbarContentComponent } from '@alfresco/adf-core';
13
+ import * as i3$1 from '@angular/material/snack-bar';
10
14
 
11
15
  /*!
12
- * @license
13
- * Alfresco Example Content Application
16
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
14
17
  *
15
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
18
+ * Alfresco Example Content Application
16
19
  *
17
20
  * This file is part of the Alfresco Example Content Application.
18
21
  * If the software was purchased under a paid Alfresco license, the terms of
19
- * the paid license agreement will prevail. Otherwise, the software is
22
+ * the paid license agreement will prevail. Otherwise, the software is
20
23
  * provided under the following open source license terms:
21
24
  *
22
25
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -26,17 +29,16 @@ import { MatSnackBar } from '@angular/material/snack-bar';
26
29
  *
27
30
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
28
31
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
29
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30
33
  * GNU Lesser General Public License for more details.
31
34
  *
32
35
  * You should have received a copy of the GNU Lesser General Public License
33
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
36
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
34
37
  */
35
38
  var AppActionTypes;
36
39
  (function (AppActionTypes) {
37
40
  AppActionTypes["SetSettingsParameter"] = "SET_SETTINGS_PARAMETER";
38
41
  AppActionTypes["SetInitialState"] = "SET_INITIAL_STATE";
39
- AppActionTypes["SetHeaderColor"] = "SET_HEADER_COLOR";
40
42
  AppActionTypes["SetCurrentFolder"] = "SET_CURRENT_FOLDER";
41
43
  AppActionTypes["SetCurrentVersion"] = "SET_CURRENT_VERSION";
42
44
  AppActionTypes["SetCurrentUrl"] = "SET_CURRENT_URL";
@@ -50,7 +52,126 @@ var AppActionTypes;
50
52
  AppActionTypes["SetInfoDrawerState"] = "SET_INFO_DRAWER_STATE";
51
53
  AppActionTypes["SetInfoDrawerMetadataAspect"] = "SET_INFO_DRAWER_METADATA_ASPECT";
52
54
  AppActionTypes["CloseModalDialogs"] = "CLOSE_MODAL_DIALOGS";
55
+ AppActionTypes["SetFileUploadingDialog"] = "SET_FILE_UPLOADING_DIALOG";
56
+ AppActionTypes["ShowInfoDrawerPreview"] = "SHOW_INFO_DRAWER_PREVIEW";
57
+ AppActionTypes["SetInfoDrawerPreviewState"] = "SET_INFO_DRAWER_PREVIEW_STATE";
58
+ AppActionTypes["ShowLoaderAction"] = "SHOW_LOADER";
53
59
  })(AppActionTypes || (AppActionTypes = {}));
60
+
61
+ /*!
62
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
63
+ *
64
+ * Alfresco Example Content Application
65
+ *
66
+ * This file is part of the Alfresco Example Content Application.
67
+ * If the software was purchased under a paid Alfresco license, the terms of
68
+ * the paid license agreement will prevail. Otherwise, the software is
69
+ * provided under the following open source license terms:
70
+ *
71
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
72
+ * it under the terms of the GNU Lesser General Public License as published by
73
+ * the Free Software Foundation, either version 3 of the License, or
74
+ * (at your option) any later version.
75
+ *
76
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
77
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
78
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79
+ * GNU Lesser General Public License for more details.
80
+ *
81
+ * You should have received a copy of the GNU Lesser General Public License
82
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
83
+ */
84
+ var ContextMenuActionTypes;
85
+ (function (ContextMenuActionTypes) {
86
+ ContextMenuActionTypes["ContextMenu"] = "CONTEXT_MENU";
87
+ })(ContextMenuActionTypes || (ContextMenuActionTypes = {}));
88
+
89
+ /*!
90
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
91
+ *
92
+ * Alfresco Example Content Application
93
+ *
94
+ * This file is part of the Alfresco Example Content Application.
95
+ * If the software was purchased under a paid Alfresco license, the terms of
96
+ * the paid license agreement will prevail. Otherwise, the software is
97
+ * provided under the following open source license terms:
98
+ *
99
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
100
+ * it under the terms of the GNU Lesser General Public License as published by
101
+ * the Free Software Foundation, either version 3 of the License, or
102
+ * (at your option) any later version.
103
+ *
104
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
105
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
106
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
107
+ * GNU Lesser General Public License for more details.
108
+ *
109
+ * You should have received a copy of the GNU Lesser General Public License
110
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
111
+ */
112
+ var RouterActionTypes;
113
+ (function (RouterActionTypes) {
114
+ RouterActionTypes["NavigateUrl"] = "NAVIGATE_URL";
115
+ RouterActionTypes["NavigateRoute"] = "NAVIGATE_ROUTE";
116
+ RouterActionTypes["NavigateFolder"] = "NAVIGATE_FOLDER";
117
+ RouterActionTypes["NavigateParentFolder"] = "NAVIGATE_PARENT_FOLDER";
118
+ RouterActionTypes["NavigateToPreviousPage"] = "NAVIGATE_TO_PREVIOUS_PAGE";
119
+ })(RouterActionTypes || (RouterActionTypes = {}));
120
+
121
+ /*!
122
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
123
+ *
124
+ * Alfresco Example Content Application
125
+ *
126
+ * This file is part of the Alfresco Example Content Application.
127
+ * If the software was purchased under a paid Alfresco license, the terms of
128
+ * the paid license agreement will prevail. Otherwise, the software is
129
+ * provided under the following open source license terms:
130
+ *
131
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
132
+ * it under the terms of the GNU Lesser General Public License as published by
133
+ * the Free Software Foundation, either version 3 of the License, or
134
+ * (at your option) any later version.
135
+ *
136
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
137
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
138
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
139
+ * GNU Lesser General Public License for more details.
140
+ *
141
+ * You should have received a copy of the GNU Lesser General Public License
142
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
143
+ */
144
+ var TemplateActionTypes;
145
+ (function (TemplateActionTypes) {
146
+ TemplateActionTypes["FileFromTemplate"] = "FILE_FROM_TEMPLATE";
147
+ TemplateActionTypes["FolderFromTemplate"] = "FOLDER_FROM_TEMPLATE";
148
+ TemplateActionTypes["CreateFromTemplate"] = "CREATE_FROM_TEMPLATE";
149
+ TemplateActionTypes["CreateFromTemplateSuccess"] = "CREATE_FROM_TEMPLATE_SUCCESS";
150
+ })(TemplateActionTypes || (TemplateActionTypes = {}));
151
+
152
+ /*!
153
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
154
+ *
155
+ * Alfresco Example Content Application
156
+ *
157
+ * This file is part of the Alfresco Example Content Application.
158
+ * If the software was purchased under a paid Alfresco license, the terms of
159
+ * the paid license agreement will prevail. Otherwise, the software is
160
+ * provided under the following open source license terms:
161
+ *
162
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
163
+ * it under the terms of the GNU Lesser General Public License as published by
164
+ * the Free Software Foundation, either version 3 of the License, or
165
+ * (at your option) any later version.
166
+ *
167
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
168
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
169
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
170
+ * GNU Lesser General Public License for more details.
171
+ *
172
+ * You should have received a copy of the GNU Lesser General Public License
173
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
174
+ */
54
175
  class SetSettingsParameterAction {
55
176
  constructor(payload) {
56
177
  this.payload = payload;
@@ -63,12 +184,6 @@ class SetInitialStateAction {
63
184
  this.type = AppActionTypes.SetInitialState;
64
185
  }
65
186
  }
66
- class SetHeaderColorAction {
67
- constructor(color) {
68
- this.color = color;
69
- this.type = AppActionTypes.SetHeaderColor;
70
- }
71
- }
72
187
  class SetCurrentFolderAction {
73
188
  constructor(payload) {
74
189
  this.payload = payload;
@@ -137,16 +252,38 @@ class SetRepositoryInfoAction {
137
252
  this.type = AppActionTypes.SetRepositoryInfo;
138
253
  }
139
254
  }
255
+ class SetFileUploadingDialogAction {
256
+ constructor(payload) {
257
+ this.payload = payload;
258
+ this.type = AppActionTypes.SetFileUploadingDialog;
259
+ }
260
+ }
261
+ class ShowInfoDrawerPreviewAction {
262
+ constructor() {
263
+ this.type = AppActionTypes.ShowInfoDrawerPreview;
264
+ }
265
+ }
266
+ class SetInfoDrawerPreviewStateAction {
267
+ constructor(payload) {
268
+ this.payload = payload;
269
+ this.type = AppActionTypes.SetInfoDrawerPreviewState;
270
+ }
271
+ }
272
+ class ShowLoaderAction {
273
+ constructor(payload) {
274
+ this.payload = payload;
275
+ this.type = AppActionTypes.ShowLoaderAction;
276
+ }
277
+ }
140
278
 
141
279
  /*!
142
- * @license
143
- * Alfresco Example Content Application
280
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
144
281
  *
145
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
282
+ * Alfresco Example Content Application
146
283
  *
147
284
  * This file is part of the Alfresco Example Content Application.
148
285
  * If the software was purchased under a paid Alfresco license, the terms of
149
- * the paid license agreement will prevail. Otherwise, the software is
286
+ * the paid license agreement will prevail. Otherwise, the software is
150
287
  * provided under the following open source license terms:
151
288
  *
152
289
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -156,11 +293,11 @@ class SetRepositoryInfoAction {
156
293
  *
157
294
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
158
295
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
159
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
296
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
160
297
  * GNU Lesser General Public License for more details.
161
298
  *
162
299
  * You should have received a copy of the GNU Lesser General Public License
163
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
300
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
164
301
  */
165
302
  var LibraryActionTypes;
166
303
  (function (LibraryActionTypes) {
@@ -195,21 +332,21 @@ class UpdateLibraryAction {
195
332
  }
196
333
  }
197
334
  class LeaveLibraryAction {
198
- constructor(payload) {
335
+ constructor(payload, configuration) {
199
336
  this.payload = payload;
337
+ this.configuration = configuration;
200
338
  this.type = LibraryActionTypes.Leave;
201
339
  }
202
340
  }
203
341
 
204
342
  /*!
205
- * @license
206
- * Alfresco Example Content Application
343
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
207
344
  *
208
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
345
+ * Alfresco Example Content Application
209
346
  *
210
347
  * This file is part of the Alfresco Example Content Application.
211
348
  * If the software was purchased under a paid Alfresco license, the terms of
212
- * the paid license agreement will prevail. Otherwise, the software is
349
+ * the paid license agreement will prevail. Otherwise, the software is
213
350
  * provided under the following open source license terms:
214
351
  *
215
352
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -219,11 +356,11 @@ class LeaveLibraryAction {
219
356
  *
220
357
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
221
358
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
222
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
359
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
223
360
  * GNU Lesser General Public License for more details.
224
361
  *
225
362
  * You should have received a copy of the GNU Lesser General Public License
226
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
363
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
227
364
  */
228
365
  var NodeActionTypes;
229
366
  (function (NodeActionTypes) {
@@ -246,6 +383,9 @@ var NodeActionTypes;
246
383
  NodeActionTypes["UnlockForWriting"] = "UNLOCK_WRITE_LOCK";
247
384
  NodeActionTypes["AddFavorite"] = "ADD_FAVORITE";
248
385
  NodeActionTypes["RemoveFavorite"] = "REMOVE_FAVORITE";
386
+ NodeActionTypes["ChangeAspects"] = "ASPECT_LIST";
387
+ NodeActionTypes["ExpandInfoDrawer"] = "EXPAND_INFO_DRAWER";
388
+ NodeActionTypes["ManageRules"] = "MANAGE_RULES";
249
389
  })(NodeActionTypes || (NodeActionTypes = {}));
250
390
  class SetSelectedNodesAction {
251
391
  constructor(payload = []) {
@@ -278,8 +418,9 @@ class PurgeDeletedNodesAction {
278
418
  }
279
419
  }
280
420
  class DownloadNodesAction {
281
- constructor(payload = []) {
421
+ constructor(payload = [], configuration) {
282
422
  this.payload = payload;
423
+ this.configuration = configuration;
283
424
  this.type = NodeActionTypes.Download;
284
425
  }
285
426
  }
@@ -290,14 +431,16 @@ class CreateFolderAction {
290
431
  }
291
432
  }
292
433
  class EditFolderAction {
293
- constructor(payload) {
434
+ constructor(payload, configuration) {
294
435
  this.payload = payload;
436
+ this.configuration = configuration;
295
437
  this.type = NodeActionTypes.EditFolder;
296
438
  }
297
439
  }
298
440
  class ShareNodeAction {
299
- constructor(payload) {
441
+ constructor(payload, configuration) {
300
442
  this.payload = payload;
443
+ this.configuration = configuration;
301
444
  this.type = NodeActionTypes.Share;
302
445
  }
303
446
  }
@@ -308,14 +451,16 @@ class UnshareNodesAction {
308
451
  }
309
452
  }
310
453
  class CopyNodesAction {
311
- constructor(payload) {
454
+ constructor(payload, configuration) {
312
455
  this.payload = payload;
456
+ this.configuration = configuration;
313
457
  this.type = NodeActionTypes.Copy;
314
458
  }
315
459
  }
316
460
  class MoveNodesAction {
317
- constructor(payload) {
461
+ constructor(payload, configuration) {
318
462
  this.payload = payload;
463
+ this.configuration = configuration;
319
464
  this.type = NodeActionTypes.Move;
320
465
  }
321
466
  }
@@ -325,6 +470,12 @@ class ManagePermissionsAction {
325
470
  this.type = NodeActionTypes.ManagePermissions;
326
471
  }
327
472
  }
473
+ class ExpandInfoDrawerAction {
474
+ constructor(payload) {
475
+ this.payload = payload;
476
+ this.type = NodeActionTypes.ExpandInfoDrawer;
477
+ }
478
+ }
328
479
  class PrintFileAction {
329
480
  constructor(payload) {
330
481
  this.payload = payload;
@@ -332,8 +483,9 @@ class PrintFileAction {
332
483
  }
333
484
  }
334
485
  class ManageVersionsAction {
335
- constructor(payload) {
486
+ constructor(payload, configuration) {
336
487
  this.payload = payload;
488
+ this.configuration = configuration;
337
489
  this.type = NodeActionTypes.ManageVersions;
338
490
  }
339
491
  }
@@ -361,16 +513,28 @@ class RemoveFavoriteAction {
361
513
  this.type = NodeActionTypes.RemoveFavorite;
362
514
  }
363
515
  }
516
+ class ManageAspectsAction {
517
+ constructor(payload, configuration) {
518
+ this.payload = payload;
519
+ this.configuration = configuration;
520
+ this.type = NodeActionTypes.ChangeAspects;
521
+ }
522
+ }
523
+ class ManageRulesAction {
524
+ constructor(payload) {
525
+ this.payload = payload;
526
+ this.type = NodeActionTypes.ManageRules;
527
+ }
528
+ }
364
529
 
365
530
  /*!
366
- * @license
367
- * Alfresco Example Content Application
531
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
368
532
  *
369
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
533
+ * Alfresco Example Content Application
370
534
  *
371
535
  * This file is part of the Alfresco Example Content Application.
372
536
  * If the software was purchased under a paid Alfresco license, the terms of
373
- * the paid license agreement will prevail. Otherwise, the software is
537
+ * the paid license agreement will prevail. Otherwise, the software is
374
538
  * provided under the following open source license terms:
375
539
  *
376
540
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -380,19 +544,12 @@ class RemoveFavoriteAction {
380
544
  *
381
545
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
382
546
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
383
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
547
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
384
548
  * GNU Lesser General Public License for more details.
385
549
  *
386
550
  * You should have received a copy of the GNU Lesser General Public License
387
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
551
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
388
552
  */
389
- var RouterActionTypes;
390
- (function (RouterActionTypes) {
391
- RouterActionTypes["NavigateUrl"] = "NAVIGATE_URL";
392
- RouterActionTypes["NavigateRoute"] = "NAVIGATE_ROUTE";
393
- RouterActionTypes["NavigateFolder"] = "NAVIGATE_FOLDER";
394
- RouterActionTypes["NavigateParentFolder"] = "NAVIGATE_PARENT_FOLDER";
395
- })(RouterActionTypes || (RouterActionTypes = {}));
396
553
  class NavigateUrlAction {
397
554
  constructor(payload) {
398
555
  this.payload = payload;
@@ -417,16 +574,20 @@ class NavigateToParentFolder {
417
574
  this.type = RouterActionTypes.NavigateParentFolder;
418
575
  }
419
576
  }
577
+ class NavigateToPreviousPage {
578
+ constructor() {
579
+ this.type = RouterActionTypes.NavigateToPreviousPage;
580
+ }
581
+ }
420
582
 
421
583
  /*!
422
- * @license
423
- * Alfresco Example Content Application
584
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
424
585
  *
425
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
586
+ * Alfresco Example Content Application
426
587
  *
427
588
  * This file is part of the Alfresco Example Content Application.
428
589
  * If the software was purchased under a paid Alfresco license, the terms of
429
- * the paid license agreement will prevail. Otherwise, the software is
590
+ * the paid license agreement will prevail. Otherwise, the software is
430
591
  * provided under the following open source license terms:
431
592
  *
432
593
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -436,19 +597,22 @@ class NavigateToParentFolder {
436
597
  *
437
598
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
438
599
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
439
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
600
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
440
601
  * GNU Lesser General Public License for more details.
441
602
  *
442
603
  * You should have received a copy of the GNU Lesser General Public License
443
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
604
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
444
605
  */
445
606
  var SearchActionTypes;
446
607
  (function (SearchActionTypes) {
608
+ SearchActionTypes["Search"] = "SEARCH";
447
609
  SearchActionTypes["SearchByTerm"] = "SEARCH_BY_TERM";
448
- SearchActionTypes["ToggleFilter"] = "TOGGLE_SEARCH_FILTER";
449
- SearchActionTypes["ShowFilter"] = "SHOW_SEARCH_FILTER";
450
- SearchActionTypes["HideFilter"] = "HIDE_SEARCH_FILTER";
451
610
  })(SearchActionTypes || (SearchActionTypes = {}));
611
+ class SearchAction {
612
+ constructor() {
613
+ this.type = SearchActionTypes.Search;
614
+ }
615
+ }
452
616
  class SearchByTermAction {
453
617
  constructor(payload, searchOptions) {
454
618
  this.payload = payload;
@@ -456,31 +620,15 @@ class SearchByTermAction {
456
620
  this.type = SearchActionTypes.SearchByTerm;
457
621
  }
458
622
  }
459
- class ToggleSearchFilterAction {
460
- constructor() {
461
- this.type = SearchActionTypes.ToggleFilter;
462
- }
463
- }
464
- class ShowSearchFilterAction {
465
- constructor() {
466
- this.type = SearchActionTypes.ShowFilter;
467
- }
468
- }
469
- class HideSearchFilterAction {
470
- constructor() {
471
- this.type = SearchActionTypes.HideFilter;
472
- }
473
- }
474
623
 
475
624
  /*!
476
- * @license
477
- * Alfresco Example Content Application
625
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
478
626
  *
479
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
627
+ * Alfresco Example Content Application
480
628
  *
481
629
  * This file is part of the Alfresco Example Content Application.
482
630
  * If the software was purchased under a paid Alfresco license, the terms of
483
- * the paid license agreement will prevail. Otherwise, the software is
631
+ * the paid license agreement will prevail. Otherwise, the software is
484
632
  * provided under the following open source license terms:
485
633
  *
486
634
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -490,11 +638,11 @@ class HideSearchFilterAction {
490
638
  *
491
639
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
492
640
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
493
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
641
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
494
642
  * GNU Lesser General Public License for more details.
495
643
  *
496
644
  * You should have received a copy of the GNU Lesser General Public License
497
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
645
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
498
646
  */
499
647
  var SnackbarActionTypes;
500
648
  (function (SnackbarActionTypes) {
@@ -513,7 +661,6 @@ class SnackbarInfoAction {
513
661
  this.payload = payload;
514
662
  this.params = params;
515
663
  this.type = SnackbarActionTypes.Info;
516
- this.duration = 4000;
517
664
  }
518
665
  }
519
666
  class SnackbarWarningAction {
@@ -521,7 +668,6 @@ class SnackbarWarningAction {
521
668
  this.payload = payload;
522
669
  this.params = params;
523
670
  this.type = SnackbarActionTypes.Warning;
524
- this.duration = 4000;
525
671
  }
526
672
  }
527
673
  class SnackbarErrorAction {
@@ -529,19 +675,17 @@ class SnackbarErrorAction {
529
675
  this.payload = payload;
530
676
  this.params = params;
531
677
  this.type = SnackbarActionTypes.Error;
532
- this.duration = 4000;
533
678
  }
534
679
  }
535
680
 
536
681
  /*!
537
- * @license
538
- * Alfresco Example Content Application
682
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
539
683
  *
540
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
684
+ * Alfresco Example Content Application
541
685
  *
542
686
  * This file is part of the Alfresco Example Content Application.
543
687
  * If the software was purchased under a paid Alfresco license, the terms of
544
- * the paid license agreement will prevail. Otherwise, the software is
688
+ * the paid license agreement will prevail. Otherwise, the software is
545
689
  * provided under the following open source license terms:
546
690
  *
547
691
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -551,11 +695,11 @@ class SnackbarErrorAction {
551
695
  *
552
696
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
553
697
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
554
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
698
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
555
699
  * GNU Lesser General Public License for more details.
556
700
  *
557
701
  * You should have received a copy of the GNU Lesser General Public License
558
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
702
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
559
703
  */
560
704
  var UploadActionTypes;
561
705
  (function (UploadActionTypes) {
@@ -576,21 +720,21 @@ class UploadFolderAction {
576
720
  }
577
721
  }
578
722
  class UploadFileVersionAction {
579
- constructor(payload) {
723
+ constructor(payload, configuration) {
580
724
  this.payload = payload;
725
+ this.configuration = configuration;
581
726
  this.type = UploadActionTypes.UploadFileVersion;
582
727
  }
583
728
  }
584
729
 
585
730
  /*!
586
- * @license
587
- * Alfresco Example Content Application
731
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
588
732
  *
589
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
733
+ * Alfresco Example Content Application
590
734
  *
591
735
  * This file is part of the Alfresco Example Content Application.
592
736
  * If the software was purchased under a paid Alfresco license, the terms of
593
- * the paid license agreement will prevail. Otherwise, the software is
737
+ * the paid license agreement will prevail. Otherwise, the software is
594
738
  * provided under the following open source license terms:
595
739
  *
596
740
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -600,11 +744,11 @@ class UploadFileVersionAction {
600
744
  *
601
745
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
602
746
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
603
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
747
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
604
748
  * GNU Lesser General Public License for more details.
605
749
  *
606
750
  * You should have received a copy of the GNU Lesser General Public License
607
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
751
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
608
752
  */
609
753
  var ViewerActionTypes;
610
754
  (function (ViewerActionTypes) {
@@ -613,6 +757,7 @@ var ViewerActionTypes;
613
757
  ViewerActionTypes["ViewNodeVersion"] = "VIEW_NODE_VERSION";
614
758
  ViewerActionTypes["FullScreen"] = "FULLSCREEN_VIEWER";
615
759
  ViewerActionTypes["ClosePreview"] = "CLOSE_PREVIEW";
760
+ ViewerActionTypes["RefreshPreview"] = "REFRESH_PREVIEW";
616
761
  ViewerActionTypes["PluginPreview"] = "PLUGIN_PREVIEW";
617
762
  })(ViewerActionTypes || (ViewerActionTypes = {}));
618
763
  class ViewFileAction {
@@ -649,6 +794,12 @@ class ClosePreviewAction {
649
794
  this.type = ViewerActionTypes.ClosePreview;
650
795
  }
651
796
  }
797
+ class RefreshPreviewAction {
798
+ constructor(payload) {
799
+ this.payload = payload;
800
+ this.type = ViewerActionTypes.RefreshPreview;
801
+ }
802
+ }
652
803
  class PluginPreviewAction {
653
804
  constructor(pluginRoute, nodeId) {
654
805
  this.pluginRoute = pluginRoute;
@@ -658,14 +809,13 @@ class PluginPreviewAction {
658
809
  }
659
810
 
660
811
  /*!
661
- * @license
662
- * Alfresco Example Content Application
812
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
663
813
  *
664
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
814
+ * Alfresco Example Content Application
665
815
  *
666
816
  * This file is part of the Alfresco Example Content Application.
667
817
  * If the software was purchased under a paid Alfresco license, the terms of
668
- * the paid license agreement will prevail. Otherwise, the software is
818
+ * the paid license agreement will prevail. Otherwise, the software is
669
819
  * provided under the following open source license terms:
670
820
  *
671
821
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -675,11 +825,11 @@ class PluginPreviewAction {
675
825
  *
676
826
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
677
827
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
678
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
828
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
679
829
  * GNU Lesser General Public License for more details.
680
830
  *
681
831
  * You should have received a copy of the GNU Lesser General Public License
682
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
832
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
683
833
  */
684
834
  const SET_INFO_DRAWER_METADATA_ASPECT = 'SET_INFO_DRAWER_METADATA_ASPECT';
685
835
  class SetInfoDrawerMetadataAspectAction {
@@ -690,14 +840,13 @@ class SetInfoDrawerMetadataAspectAction {
690
840
  }
691
841
 
692
842
  /*!
693
- * @license
694
- * Alfresco Example Content Application
843
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
695
844
  *
696
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
845
+ * Alfresco Example Content Application
697
846
  *
698
847
  * This file is part of the Alfresco Example Content Application.
699
848
  * If the software was purchased under a paid Alfresco license, the terms of
700
- * the paid license agreement will prevail. Otherwise, the software is
849
+ * the paid license agreement will prevail. Otherwise, the software is
701
850
  * provided under the following open source license terms:
702
851
  *
703
852
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -707,19 +856,12 @@ class SetInfoDrawerMetadataAspectAction {
707
856
  *
708
857
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
709
858
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
710
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
859
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
711
860
  * GNU Lesser General Public License for more details.
712
861
  *
713
862
  * You should have received a copy of the GNU Lesser General Public License
714
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
863
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
715
864
  */
716
- var TemplateActionTypes;
717
- (function (TemplateActionTypes) {
718
- TemplateActionTypes["FileFromTemplate"] = "FILE_FROM_TEMPLATE";
719
- TemplateActionTypes["FolderFromTemplate"] = "FOLDER_FROM_TEMPLATE";
720
- TemplateActionTypes["CreateFromTemplate"] = "CREATE_FROM_TEMPLATE";
721
- TemplateActionTypes["CreateFromTemplateSuccess"] = "CREATE_FROM_TEMPLATE_SUCCESS";
722
- })(TemplateActionTypes || (TemplateActionTypes = {}));
723
865
  class FileFromTemplate {
724
866
  constructor() {
725
867
  this.type = TemplateActionTypes.FileFromTemplate;
@@ -744,14 +886,13 @@ class CreateFromTemplateSuccess {
744
886
  }
745
887
 
746
888
  /*!
747
- * @license
748
- * Alfresco Example Content Application
889
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
749
890
  *
750
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
891
+ * Alfresco Example Content Application
751
892
  *
752
893
  * This file is part of the Alfresco Example Content Application.
753
894
  * If the software was purchased under a paid Alfresco license, the terms of
754
- * the paid license agreement will prevail. Otherwise, the software is
895
+ * the paid license agreement will prevail. Otherwise, the software is
755
896
  * provided under the following open source license terms:
756
897
  *
757
898
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -761,16 +902,12 @@ class CreateFromTemplateSuccess {
761
902
  *
762
903
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
763
904
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
764
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
905
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
765
906
  * GNU Lesser General Public License for more details.
766
907
  *
767
908
  * You should have received a copy of the GNU Lesser General Public License
768
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
909
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
769
910
  */
770
- var ContextMenuActionTypes;
771
- (function (ContextMenuActionTypes) {
772
- ContextMenuActionTypes["ContextMenu"] = "CONTEXT_MENU";
773
- })(ContextMenuActionTypes || (ContextMenuActionTypes = {}));
774
911
  class ContextMenu {
775
912
  constructor(event) {
776
913
  this.event = event;
@@ -779,14 +916,13 @@ class ContextMenu {
779
916
  }
780
917
 
781
918
  /*!
782
- * @license
783
- * Alfresco Example Content Application
919
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
784
920
  *
785
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
921
+ * Alfresco Example Content Application
786
922
  *
787
923
  * This file is part of the Alfresco Example Content Application.
788
924
  * If the software was purchased under a paid Alfresco license, the terms of
789
- * the paid license agreement will prevail. Otherwise, the software is
925
+ * the paid license agreement will prevail. Otherwise, the software is
790
926
  * provided under the following open source license terms:
791
927
  *
792
928
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -796,40 +932,33 @@ class ContextMenu {
796
932
  *
797
933
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
798
934
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
799
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
935
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
800
936
  * GNU Lesser General Public License for more details.
801
937
  *
802
938
  * You should have received a copy of the GNU Lesser General Public License
803
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
939
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
804
940
  */
805
941
  class DialogEffects {
806
942
  constructor(actions$, matDialog) {
807
943
  this.actions$ = actions$;
808
944
  this.matDialog = matDialog;
809
- this.closeAll$ = this.actions$.pipe(ofType(AppActionTypes.CloseModalDialogs), map(() => this.matDialog.closeAll()));
810
- }
811
- }
812
- DialogEffects.decorators = [
813
- { type: Injectable }
814
- ];
815
- DialogEffects.ctorParameters = () => [
816
- { type: Actions },
817
- { type: MatDialog }
818
- ];
819
- __decorate([
820
- Effect({ dispatch: false }),
821
- __metadata("design:type", Object)
822
- ], DialogEffects.prototype, "closeAll$", void 0);
945
+ this.closeAll$ = createEffect(() => this.actions$.pipe(ofType(AppActionTypes.CloseModalDialogs), map(() => this.matDialog.closeAll())), { dispatch: false });
946
+ }
947
+ }
948
+ DialogEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DialogEffects, deps: [{ token: i2.Actions }, { token: i2$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
949
+ DialogEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DialogEffects });
950
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DialogEffects, decorators: [{
951
+ type: Injectable
952
+ }], ctorParameters: function () { return [{ type: i2.Actions }, { type: i2$1.MatDialog }]; } });
823
953
 
824
954
  /*!
825
- * @license
826
- * Alfresco Example Content Application
955
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
827
956
  *
828
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
957
+ * Alfresco Example Content Application
829
958
  *
830
959
  * This file is part of the Alfresco Example Content Application.
831
960
  * If the software was purchased under a paid Alfresco license, the terms of
832
- * the paid license agreement will prevail. Otherwise, the software is
961
+ * the paid license agreement will prevail. Otherwise, the software is
833
962
  * provided under the following open source license terms:
834
963
  *
835
964
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -839,35 +968,37 @@ __decorate([
839
968
  *
840
969
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
841
970
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
842
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
971
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
843
972
  * GNU Lesser General Public License for more details.
844
973
  *
845
974
  * You should have received a copy of the GNU Lesser General Public License
846
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
975
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
847
976
  */
848
977
  class RouterEffects {
849
- constructor(store, actions$, router) {
978
+ constructor(store, actions$, router, location) {
850
979
  this.store = store;
851
980
  this.actions$ = actions$;
852
981
  this.router = router;
853
- this.navigateUrl$ = this.actions$.pipe(ofType(RouterActionTypes.NavigateUrl), map((action) => {
982
+ this.location = location;
983
+ this.navigateUrl$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateUrl), map((action) => {
854
984
  if (action.payload) {
855
985
  this.router.navigateByUrl(action.payload);
856
986
  }
857
- }));
858
- this.navigateRoute$ = this.actions$.pipe(ofType(RouterActionTypes.NavigateRoute), map((action) => {
987
+ })), { dispatch: false });
988
+ this.navigateRoute$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateRoute), map((action) => {
859
989
  this.router.navigate(action.payload);
860
- }));
861
- this.navigateToFolder$ = this.actions$.pipe(ofType(RouterActionTypes.NavigateFolder), map((action) => {
990
+ })), { dispatch: false });
991
+ this.navigateToFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateFolder), map((action) => {
862
992
  if (action.payload && action.payload.entry) {
863
993
  this.navigateToFolder(action.payload.entry);
864
994
  }
865
- }));
866
- this.navigateToParentFolder$ = this.actions$.pipe(ofType(RouterActionTypes.NavigateParentFolder), map((action) => {
995
+ })), { dispatch: false });
996
+ this.navigateToParentFolder$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateParentFolder), map((action) => {
867
997
  if (action.payload && action.payload.entry) {
868
998
  this.navigateToParentFolder(action.payload.entry);
869
999
  }
870
- }));
1000
+ })), { dispatch: false });
1001
+ this.navigateToPreviousPage$ = createEffect(() => this.actions$.pipe(ofType(RouterActionTypes.NavigateToPreviousPage), map(() => this.location.back())), { dispatch: false });
871
1002
  }
872
1003
  navigateToFolder(node) {
873
1004
  let link = null;
@@ -914,46 +1045,23 @@ class RouterEffects {
914
1045
  }
915
1046
  }
916
1047
  isLibraryContent(path) {
917
- if (path && path.elements.length >= 2 && path.elements[1].name === 'Sites') {
918
- return true;
919
- }
920
- return false;
921
- }
922
- }
923
- RouterEffects.decorators = [
924
- { type: Injectable }
925
- ];
926
- RouterEffects.ctorParameters = () => [
927
- { type: Store },
928
- { type: Actions },
929
- { type: Router }
930
- ];
931
- __decorate([
932
- Effect({ dispatch: false }),
933
- __metadata("design:type", Object)
934
- ], RouterEffects.prototype, "navigateUrl$", void 0);
935
- __decorate([
936
- Effect({ dispatch: false }),
937
- __metadata("design:type", Object)
938
- ], RouterEffects.prototype, "navigateRoute$", void 0);
939
- __decorate([
940
- Effect({ dispatch: false }),
941
- __metadata("design:type", Object)
942
- ], RouterEffects.prototype, "navigateToFolder$", void 0);
943
- __decorate([
944
- Effect({ dispatch: false }),
945
- __metadata("design:type", Object)
946
- ], RouterEffects.prototype, "navigateToParentFolder$", void 0);
1048
+ return path && path.elements.length >= 2 && path.elements[1].name === 'Sites';
1049
+ }
1050
+ }
1051
+ RouterEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: RouterEffects, deps: [{ token: i1.Store }, { token: i2.Actions }, { token: i3.Router }, { token: i4.Location }], target: i0.ɵɵFactoryTarget.Injectable });
1052
+ RouterEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: RouterEffects });
1053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: RouterEffects, decorators: [{
1054
+ type: Injectable
1055
+ }], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }, { type: i3.Router }, { type: i4.Location }]; } });
947
1056
 
948
1057
  /*!
949
- * @license
950
- * Alfresco Example Content Application
1058
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
951
1059
  *
952
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1060
+ * Alfresco Example Content Application
953
1061
  *
954
1062
  * This file is part of the Alfresco Example Content Application.
955
1063
  * If the software was purchased under a paid Alfresco license, the terms of
956
- * the paid license agreement will prevail. Otherwise, the software is
1064
+ * the paid license agreement will prevail. Otherwise, the software is
957
1065
  * provided under the following open source license terms:
958
1066
  *
959
1067
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -963,11 +1071,11 @@ __decorate([
963
1071
  *
964
1072
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
965
1073
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
966
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1074
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
967
1075
  * GNU Lesser General Public License for more details.
968
1076
  *
969
1077
  * You should have received a copy of the GNU Lesser General Public License
970
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1078
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
971
1079
  */
972
1080
  class SnackbarEffects {
973
1081
  constructor(store, actions$, snackBar, translationService) {
@@ -975,15 +1083,15 @@ class SnackbarEffects {
975
1083
  this.actions$ = actions$;
976
1084
  this.snackBar = snackBar;
977
1085
  this.translationService = translationService;
978
- this.infoEffect = this.actions$.pipe(ofType(SnackbarActionTypes.Info), map((action) => {
979
- this.showSnackBar(action, 'info-snackbar');
980
- }));
981
- this.warningEffect = this.actions$.pipe(ofType(SnackbarActionTypes.Warning), map((action) => {
982
- this.showSnackBar(action, 'warning-snackbar');
983
- }));
984
- this.errorEffect = this.actions$.pipe(ofType(SnackbarActionTypes.Error), map((action) => {
985
- this.showSnackBar(action, 'error-snackbar');
986
- }));
1086
+ this.infoEffect = createEffect(() => this.actions$.pipe(ofType(SnackbarActionTypes.Info), map((action) => {
1087
+ this.showSnackBar(action, 'adf-info-snackbar');
1088
+ })), { dispatch: false });
1089
+ this.warningEffect = createEffect(() => this.actions$.pipe(ofType(SnackbarActionTypes.Warning), map((action) => {
1090
+ this.showSnackBar(action, 'adf-warning-snackbar');
1091
+ })), { dispatch: false });
1092
+ this.errorEffect = createEffect(() => this.actions$.pipe(ofType(SnackbarActionTypes.Error), map((action) => {
1093
+ this.showSnackBar(action, 'adf-error-snackbar');
1094
+ })), { dispatch: false });
987
1095
  }
988
1096
  showSnackBar(action, panelClass) {
989
1097
  const message = this.translate(action.payload, action.params);
@@ -991,10 +1099,14 @@ class SnackbarEffects {
991
1099
  if (action.userAction) {
992
1100
  actionName = this.translate(action.userAction.title);
993
1101
  }
994
- const snackBarRef = this.snackBar.open(message, actionName, {
995
- duration: action.duration || 4000,
996
- panelClass: panelClass
997
- });
1102
+ const snackBarRef = this.snackBar.openFromComponent(SnackbarContentComponent, Object.assign(Object.assign({}, (action.duration !== undefined && action.duration !== null && { duration: action.duration })), { panelClass, data: {
1103
+ message,
1104
+ actionLabel: actionName,
1105
+ actionIcon: 'close',
1106
+ actionIconAriaLabel: 'CLOSE',
1107
+ showAction: true,
1108
+ callActionOnIconClick: false
1109
+ } }));
998
1110
  if (action.userAction) {
999
1111
  snackBarRef.onAction().subscribe(() => {
1000
1112
  this.store.dispatch(action.userAction.action);
@@ -1005,112 +1117,20 @@ class SnackbarEffects {
1005
1117
  return this.translationService.instant(message, params);
1006
1118
  }
1007
1119
  }
1008
- SnackbarEffects.decorators = [
1009
- { type: Injectable }
1010
- ];
1011
- SnackbarEffects.ctorParameters = () => [
1012
- { type: Store },
1013
- { type: Actions },
1014
- { type: MatSnackBar },
1015
- { type: TranslationService }
1016
- ];
1017
- __decorate([
1018
- Effect({ dispatch: false }),
1019
- __metadata("design:type", Object)
1020
- ], SnackbarEffects.prototype, "infoEffect", void 0);
1021
- __decorate([
1022
- Effect({ dispatch: false }),
1023
- __metadata("design:type", Object)
1024
- ], SnackbarEffects.prototype, "warningEffect", void 0);
1025
- __decorate([
1026
- Effect({ dispatch: false }),
1027
- __metadata("design:type", Object)
1028
- ], SnackbarEffects.prototype, "errorEffect", void 0);
1120
+ SnackbarEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SnackbarEffects, deps: [{ token: i1.Store }, { token: i2.Actions }, { token: i3$1.MatSnackBar }, { token: i4$1.TranslationService }], target: i0.ɵɵFactoryTarget.Injectable });
1121
+ SnackbarEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SnackbarEffects });
1122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SnackbarEffects, decorators: [{
1123
+ type: Injectable
1124
+ }], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }, { type: i3$1.MatSnackBar }, { type: i4$1.TranslationService }]; } });
1029
1125
 
1030
1126
  /*!
1031
- * @license
1032
- * Alfresco Example Content Application
1033
- *
1034
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1035
- *
1036
- * This file is part of the Alfresco Example Content Application.
1037
- * If the software was purchased under a paid Alfresco license, the terms of
1038
- * the paid license agreement will prevail. Otherwise, the software is
1039
- * provided under the following open source license terms:
1040
- *
1041
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1042
- * it under the terms of the GNU Lesser General Public License as published by
1043
- * the Free Software Foundation, either version 3 of the License, or
1044
- * (at your option) any later version.
1045
- *
1046
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1047
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1048
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1049
- * GNU Lesser General Public License for more details.
1050
- *
1051
- * You should have received a copy of the GNU Lesser General Public License
1052
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1053
- */
1054
-
1055
- /*!
1056
- * @license
1057
- * Alfresco Example Content Application
1058
- *
1059
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1060
- *
1061
- * This file is part of the Alfresco Example Content Application.
1062
- * If the software was purchased under a paid Alfresco license, the terms of
1063
- * the paid license agreement will prevail. Otherwise, the software is
1064
- * provided under the following open source license terms:
1065
- *
1066
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1067
- * it under the terms of the GNU Lesser General Public License as published by
1068
- * the Free Software Foundation, either version 3 of the License, or
1069
- * (at your option) any later version.
1070
- *
1071
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1072
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1073
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1074
- * GNU Lesser General Public License for more details.
1075
- *
1076
- * You should have received a copy of the GNU Lesser General Public License
1077
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1078
- */
1079
-
1080
- /*!
1081
- * @license
1082
- * Alfresco Example Content Application
1083
- *
1084
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1085
- *
1086
- * This file is part of the Alfresco Example Content Application.
1087
- * If the software was purchased under a paid Alfresco license, the terms of
1088
- * the paid license agreement will prevail. Otherwise, the software is
1089
- * provided under the following open source license terms:
1090
- *
1091
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1092
- * it under the terms of the GNU Lesser General Public License as published by
1093
- * the Free Software Foundation, either version 3 of the License, or
1094
- * (at your option) any later version.
1127
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1095
1128
  *
1096
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1097
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1098
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1099
- * GNU Lesser General Public License for more details.
1100
- *
1101
- * You should have received a copy of the GNU Lesser General Public License
1102
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1103
- */
1104
-
1105
- /*!
1106
- * @license
1107
1129
  * Alfresco Example Content Application
1108
1130
  *
1109
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1110
- *
1111
1131
  * This file is part of the Alfresco Example Content Application.
1112
1132
  * If the software was purchased under a paid Alfresco license, the terms of
1113
- * the paid license agreement will prevail. Otherwise, the software is
1133
+ * the paid license agreement will prevail. Otherwise, the software is
1114
1134
  * provided under the following open source license terms:
1115
1135
  *
1116
1136
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -1120,11 +1140,11 @@ __decorate([
1120
1140
  *
1121
1141
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1122
1142
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1123
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1143
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1124
1144
  * GNU Lesser General Public License for more details.
1125
1145
  *
1126
1146
  * You should have received a copy of the GNU Lesser General Public License
1127
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1147
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1128
1148
  */
1129
1149
  var SearchOptionIds;
1130
1150
  (function (SearchOptionIds) {
@@ -1134,14 +1154,13 @@ var SearchOptionIds;
1134
1154
  })(SearchOptionIds || (SearchOptionIds = {}));
1135
1155
 
1136
1156
  /*!
1137
- * @license
1138
- * Alfresco Example Content Application
1157
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1139
1158
  *
1140
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1159
+ * Alfresco Example Content Application
1141
1160
  *
1142
1161
  * This file is part of the Alfresco Example Content Application.
1143
1162
  * If the software was purchased under a paid Alfresco license, the terms of
1144
- * the paid license agreement will prevail. Otherwise, the software is
1163
+ * the paid license agreement will prevail. Otherwise, the software is
1145
1164
  * provided under the following open source license terms:
1146
1165
  *
1147
1166
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -1151,75 +1170,52 @@ var SearchOptionIds;
1151
1170
  *
1152
1171
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1153
1172
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1154
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1173
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1155
1174
  * GNU Lesser General Public License for more details.
1156
1175
  *
1157
1176
  * You should have received a copy of the GNU Lesser General Public License
1158
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1177
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1159
1178
  */
1160
1179
  const selectApp = (state) => state.app;
1161
- const ɵ0 = (state) => state.headerColor;
1162
- const getHeaderColor = createSelector(selectApp, ɵ0);
1163
- const ɵ1 = (state) => state.appName;
1164
- const getAppName = createSelector(selectApp, ɵ1);
1165
- const ɵ2 = (state) => state.logoPath;
1166
- const getLogoPath = createSelector(selectApp, ɵ2);
1167
- const ɵ3 = (state) => state.headerImagePath;
1168
- const getHeaderImagePath = createSelector(selectApp, ɵ3);
1169
- const ɵ4 = (state) => state.languagePicker;
1170
- const getLanguagePickerState = createSelector(selectApp, ɵ4);
1171
- const ɵ5 = (state) => state.user;
1172
- const getUserProfile = createSelector(selectApp, ɵ5);
1173
- const ɵ6 = (state) => state.navigation.currentFolder;
1174
- const getCurrentFolder = createSelector(selectApp, ɵ6);
1175
- const ɵ7 = (state) => state.currentNodeVersion;
1176
- const getCurrentVersion = createSelector(selectApp, ɵ7);
1177
- const ɵ8 = (state) => state.selection;
1178
- const getAppSelection = createSelector(selectApp, ɵ8);
1179
- const ɵ9 = (state) => state.sharedUrl;
1180
- const getSharedUrl = createSelector(selectApp, ɵ9);
1181
- const ɵ10 = (state) => state.navigation;
1182
- const getNavigationState = createSelector(selectApp, ɵ10);
1183
- const ɵ11 = (state) => state.infoDrawerOpened;
1184
- const isInfoDrawerOpened = createSelector(selectApp, ɵ11);
1185
- const ɵ12 = (state) => state.showFacetFilter;
1186
- const showFacetFilter = createSelector(selectApp, ɵ12);
1187
- const ɵ13 = (state) => state.documentDisplayMode;
1188
- const getDocumentDisplayMode = createSelector(selectApp, ɵ13);
1189
- const ɵ14 = (state) => state.repository;
1190
- const getRepositoryStatus = createSelector(selectApp, ɵ14);
1191
- const ɵ15 = (info) => info.status.isQuickShareEnabled;
1192
- const isQuickShareEnabled = createSelector(getRepositoryStatus, ɵ15);
1193
- const ɵ16 = (state) => state.user.isAdmin;
1194
- const isAdmin = createSelector(selectApp, ɵ16);
1195
- const ɵ17 = (selection, navigation) => {
1196
- return {
1197
- selection,
1198
- navigation
1199
- };
1200
- };
1201
- const getSideNavState = createSelector(getAppSelection, getNavigationState, ɵ17);
1202
- const ɵ18 = (selection, navigation, profile, repository) => {
1203
- return {
1204
- selection,
1205
- navigation,
1206
- profile,
1207
- repository
1208
- };
1209
- };
1210
- const getRuleContext = createSelector(getAppSelection, getNavigationState, getUserProfile, getRepositoryStatus, ɵ18);
1211
- const ɵ19 = (state) => state.infoDrawerMetadataAspect;
1212
- const infoDrawerMetadataAspect = createSelector(selectApp, ɵ19);
1180
+ const getAppName = createSelector(selectApp, (state) => state.appName);
1181
+ const getLogoPath = createSelector(selectApp, (state) => state.logoPath);
1182
+ const getCustomCssPath = createSelector(selectApp, (state) => state.customCssPath);
1183
+ const getCustomWebFontPath = createSelector(selectApp, (state) => state.webFontPath);
1184
+ const getUserProfile = createSelector(selectApp, (state) => state.user);
1185
+ const getCurrentFolder = createSelector(selectApp, (state) => state.navigation.currentFolder);
1186
+ const getCurrentVersion = createSelector(selectApp, (state) => state.currentNodeVersion);
1187
+ const getAppSelection = createSelector(selectApp, (state) => state.selection);
1188
+ const getSharedUrl = createSelector(selectApp, (state) => state.sharedUrl);
1189
+ const getNavigationState = createSelector(selectApp, (state) => state.navigation);
1190
+ const isInfoDrawerOpened = createSelector(selectApp, (state) => state.infoDrawerOpened);
1191
+ const infoDrawerPreview = createSelector(selectApp, (state) => state.infoDrawerPreview);
1192
+ const showFacetFilter = createSelector(selectApp, (state) => state.showFacetFilter);
1193
+ const getDocumentDisplayMode = createSelector(selectApp, (state) => state.documentDisplayMode);
1194
+ const getRepositoryStatus = createSelector(selectApp, (state) => state.repository);
1195
+ const isQuickShareEnabled = createSelector(getRepositoryStatus, (info) => info.status.isQuickShareEnabled);
1196
+ const isAdmin = createSelector(selectApp, (state) => state.user.isAdmin);
1197
+ const getFileUploadingDialog = createSelector(selectApp, (state) => state.fileUploadingDialog);
1198
+ const showLoaderSelector = createSelector(selectApp, (state) => state.showLoader);
1199
+ const getSideNavState = createSelector(getAppSelection, getNavigationState, (selection, navigation) => ({
1200
+ selection,
1201
+ navigation
1202
+ }));
1203
+ const getRuleContext = createSelector(getAppSelection, getNavigationState, getUserProfile, getRepositoryStatus, (selection, navigation, profile, repository) => ({
1204
+ selection,
1205
+ navigation,
1206
+ profile,
1207
+ repository
1208
+ }));
1209
+ const infoDrawerMetadataAspect = createSelector(selectApp, (state) => state.infoDrawerMetadataAspect);
1213
1210
 
1214
1211
  /*!
1215
- * @license
1216
- * Alfresco Example Content Application
1212
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1217
1213
  *
1218
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1214
+ * Alfresco Example Content Application
1219
1215
  *
1220
1216
  * This file is part of the Alfresco Example Content Application.
1221
1217
  * If the software was purchased under a paid Alfresco license, the terms of
1222
- * the paid license agreement will prevail. Otherwise, the software is
1218
+ * the paid license agreement will prevail. Otherwise, the software is
1223
1219
  * provided under the following open source license terms:
1224
1220
  *
1225
1221
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -1229,22 +1225,22 @@ const infoDrawerMetadataAspect = createSelector(selectApp, ɵ19);
1229
1225
  *
1230
1226
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1231
1227
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1232
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1228
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1233
1229
  * GNU Lesser General Public License for more details.
1234
1230
  *
1235
1231
  * You should have received a copy of the GNU Lesser General Public License
1236
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1232
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1237
1233
  */
1234
+ const STORE_INITIAL_APP_DATA = new InjectionToken('STORE_INITIAL_APP_DATA');
1238
1235
 
1239
1236
  /*!
1240
- * @license
1241
- * Alfresco Example Content Application
1237
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1242
1238
  *
1243
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1239
+ * Alfresco Example Content Application
1244
1240
  *
1245
1241
  * This file is part of the Alfresco Example Content Application.
1246
1242
  * If the software was purchased under a paid Alfresco license, the terms of
1247
- * the paid license agreement will prevail. Otherwise, the software is
1243
+ * the paid license agreement will prevail. Otherwise, the software is
1248
1244
  * provided under the following open source license terms:
1249
1245
  *
1250
1246
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -1254,29 +1250,32 @@ const infoDrawerMetadataAspect = createSelector(selectApp, ɵ19);
1254
1250
  *
1255
1251
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1256
1252
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1257
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1253
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1258
1254
  * GNU Lesser General Public License for more details.
1259
1255
  *
1260
1256
  * You should have received a copy of the GNU Lesser General Public License
1261
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1257
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1262
1258
  */
1263
1259
  class SharedStoreModule {
1264
1260
  }
1265
- SharedStoreModule.decorators = [
1266
- { type: NgModule, args: [{
1267
- imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]
1268
- },] }
1269
- ];
1261
+ SharedStoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1262
+ SharedStoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, imports: [i2.EffectsFeatureModule] });
1263
+ SharedStoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])] });
1264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SharedStoreModule, decorators: [{
1265
+ type: NgModule,
1266
+ args: [{
1267
+ imports: [EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]
1268
+ }]
1269
+ }] });
1270
1270
 
1271
1271
  /*!
1272
- * @license
1273
- * Alfresco Example Content Application
1272
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
1274
1273
  *
1275
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1274
+ * Alfresco Example Content Application
1276
1275
  *
1277
1276
  * This file is part of the Alfresco Example Content Application.
1278
1277
  * If the software was purchased under a paid Alfresco license, the terms of
1279
- * the paid license agreement will prevail. Otherwise, the software is
1278
+ * the paid license agreement will prevail. Otherwise, the software is
1280
1279
  * provided under the following open source license terms:
1281
1280
  *
1282
1281
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -1286,16 +1285,16 @@ SharedStoreModule.decorators = [
1286
1285
  *
1287
1286
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1288
1287
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1289
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1288
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1290
1289
  * GNU Lesser General Public License for more details.
1291
1290
  *
1292
1291
  * You should have received a copy of the GNU Lesser General Public License
1293
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1292
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
1294
1293
  */
1295
1294
 
1296
1295
  /**
1297
1296
  * Generated bundle index. Do not edit.
1298
1297
  */
1299
1298
 
1300
- export { AddFavoriteAction, AppActionTypes, CloseModalDialogsAction, ClosePreviewAction, ContextMenu, ContextMenuActionTypes, CopyNodesAction, CreateFolderAction, CreateFromTemplate, CreateFromTemplateSuccess, CreateLibraryAction, DeleteLibraryAction, DeleteNodesAction, DialogEffects, DownloadNodesAction, EditFolderAction, EditOfflineAction, FileFromTemplate, FolderFromTemplate, FullscreenViewerAction, HideSearchFilterAction, LeaveLibraryAction, LibraryActionTypes, LogoutAction, ManagePermissionsAction, ManageVersionsAction, MoveNodesAction, NavigateLibraryAction, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateUrlAction, NodeActionTypes, PluginPreviewAction, PrintFileAction, PurgeDeletedNodesAction, ReloadDocumentListAction, RemoveFavoriteAction, ResetSelectionAction, RestoreDeletedNodesAction, RouterActionTypes, RouterEffects, SET_INFO_DRAWER_METADATA_ASPECT, SearchActionTypes, SearchByTermAction, SearchOptionIds, SetCurrentFolderAction, SetCurrentNodeVersionAction, SetCurrentUrlAction, SetHeaderColorAction, SetInfoDrawerMetadataAspectAction, SetInfoDrawerStateAction, SetInitialStateAction, SetRepositoryInfoAction, SetSelectedNodesAction, SetSettingsParameterAction, SetUserProfileAction, ShareNodeAction, SharedStoreModule, ShowSearchFilterAction, SnackbarActionTypes, SnackbarEffects, SnackbarErrorAction, SnackbarInfoAction, SnackbarUserAction, SnackbarWarningAction, TemplateActionTypes, ToggleDocumentDisplayMode, ToggleInfoDrawerAction, ToggleSearchFilterAction, UndoDeleteNodesAction, UnlockWriteAction, UnshareNodesAction, UpdateLibraryAction, UploadActionTypes, UploadFileVersionAction, UploadFilesAction, UploadFolderAction, ViewFileAction, ViewNodeAction, ViewNodeVersionAction, ViewerActionTypes, getAppName, getAppSelection, getCurrentFolder, getCurrentVersion, getDocumentDisplayMode, getHeaderColor, getHeaderImagePath, getLanguagePickerState, getLogoPath, getNavigationState, getRepositoryStatus, getRuleContext, getSharedUrl, getSideNavState, getUserProfile, infoDrawerMetadataAspect, isAdmin, isInfoDrawerOpened, isQuickShareEnabled, selectApp, showFacetFilter, ɵ0, ɵ1, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ18, ɵ19, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9 };
1301
- //# sourceMappingURL=alfresco-aca-shared-store.js.map
1299
+ export { AddFavoriteAction, AppActionTypes, CloseModalDialogsAction, ClosePreviewAction, ContextMenu, ContextMenuActionTypes, CopyNodesAction, CreateFolderAction, CreateFromTemplate, CreateFromTemplateSuccess, CreateLibraryAction, DeleteLibraryAction, DeleteNodesAction, DialogEffects, DownloadNodesAction, EditFolderAction, EditOfflineAction, ExpandInfoDrawerAction, FileFromTemplate, FolderFromTemplate, FullscreenViewerAction, LeaveLibraryAction, LibraryActionTypes, LogoutAction, ManageAspectsAction, ManagePermissionsAction, ManageRulesAction, ManageVersionsAction, MoveNodesAction, NavigateLibraryAction, NavigateRouteAction, NavigateToFolder, NavigateToParentFolder, NavigateToPreviousPage, NavigateUrlAction, NodeActionTypes, PluginPreviewAction, PrintFileAction, PurgeDeletedNodesAction, RefreshPreviewAction, ReloadDocumentListAction, RemoveFavoriteAction, ResetSelectionAction, RestoreDeletedNodesAction, RouterActionTypes, RouterEffects, SET_INFO_DRAWER_METADATA_ASPECT, STORE_INITIAL_APP_DATA, SearchAction, SearchActionTypes, SearchByTermAction, SearchOptionIds, SetCurrentFolderAction, SetCurrentNodeVersionAction, SetCurrentUrlAction, SetFileUploadingDialogAction, SetInfoDrawerMetadataAspectAction, SetInfoDrawerPreviewStateAction, SetInfoDrawerStateAction, SetInitialStateAction, SetRepositoryInfoAction, SetSelectedNodesAction, SetSettingsParameterAction, SetUserProfileAction, ShareNodeAction, SharedStoreModule, ShowInfoDrawerPreviewAction, ShowLoaderAction, SnackbarActionTypes, SnackbarEffects, SnackbarErrorAction, SnackbarInfoAction, SnackbarUserAction, SnackbarWarningAction, TemplateActionTypes, ToggleDocumentDisplayMode, ToggleInfoDrawerAction, UndoDeleteNodesAction, UnlockWriteAction, UnshareNodesAction, UpdateLibraryAction, UploadActionTypes, UploadFileVersionAction, UploadFilesAction, UploadFolderAction, ViewFileAction, ViewNodeAction, ViewNodeVersionAction, ViewerActionTypes, getAppName, getAppSelection, getCurrentFolder, getCurrentVersion, getCustomCssPath, getCustomWebFontPath, getDocumentDisplayMode, getFileUploadingDialog, getLogoPath, getNavigationState, getRepositoryStatus, getRuleContext, getSharedUrl, getSideNavState, getUserProfile, infoDrawerMetadataAspect, infoDrawerPreview, isAdmin, isInfoDrawerOpened, isQuickShareEnabled, selectApp, showFacetFilter, showLoaderSelector };
1300
+ //# sourceMappingURL=alfresco-aca-shared-store.mjs.map