@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,1784 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@ngrx/effects'), require('@angular/core'), require('rxjs/operators'), require('@angular/material/dialog'), require('@angular/router'), require('@ngrx/store'), require('@alfresco/adf-core'), require('@angular/material/snack-bar')) :
3
- typeof define === 'function' && define.amd ? define('@alfresco/aca-shared/store', ['exports', '@ngrx/effects', '@angular/core', 'rxjs/operators', '@angular/material/dialog', '@angular/router', '@ngrx/store', '@alfresco/adf-core', '@angular/material/snack-bar'], factory) :
4
- (global = global || self, factory((global.alfresco = global.alfresco || {}, global.alfresco['aca-shared'] = global.alfresco['aca-shared'] || {}, global.alfresco['aca-shared'].store = {}), global.effects, global.ng.core, global.rxjs.operators, global.ng.material.dialog, global.ng.router, global.store, global.adfCore, global.ng.material.snackBar));
5
- }(this, (function (exports, effects, core, operators, dialog, router, store, adfCore, snackBar) { 'use strict';
6
-
7
- /*!
8
- * @license
9
- * Alfresco Example Content Application
10
- *
11
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
12
- *
13
- * This file is part of the Alfresco Example Content Application.
14
- * If the software was purchased under a paid Alfresco license, the terms of
15
- * the paid license agreement will prevail. Otherwise, the software is
16
- * provided under the following open source license terms:
17
- *
18
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
19
- * it under the terms of the GNU Lesser General Public License as published by
20
- * the Free Software Foundation, either version 3 of the License, or
21
- * (at your option) any later version.
22
- *
23
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
24
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
- * GNU Lesser General Public License for more details.
27
- *
28
- * You should have received a copy of the GNU Lesser General Public License
29
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
30
- */
31
- (function (AppActionTypes) {
32
- AppActionTypes["SetSettingsParameter"] = "SET_SETTINGS_PARAMETER";
33
- AppActionTypes["SetInitialState"] = "SET_INITIAL_STATE";
34
- AppActionTypes["SetHeaderColor"] = "SET_HEADER_COLOR";
35
- AppActionTypes["SetCurrentFolder"] = "SET_CURRENT_FOLDER";
36
- AppActionTypes["SetCurrentVersion"] = "SET_CURRENT_VERSION";
37
- AppActionTypes["SetCurrentUrl"] = "SET_CURRENT_URL";
38
- AppActionTypes["SetUserProfile"] = "SET_USER_PROFILE";
39
- AppActionTypes["SetRepositoryInfo"] = "SET_REPOSITORY_INFO";
40
- AppActionTypes["ToggleInfoDrawer"] = "TOGGLE_INFO_DRAWER";
41
- AppActionTypes["ToggleDocumentDisplayMode"] = "TOGGLE_DOCUMENT_DISPLAY_MODE";
42
- AppActionTypes["Logout"] = "LOGOUT";
43
- AppActionTypes["ReloadDocumentList"] = "RELOAD_DOCUMENT_LIST";
44
- AppActionTypes["ResetSelection"] = "RESET_SELECTION";
45
- AppActionTypes["SetInfoDrawerState"] = "SET_INFO_DRAWER_STATE";
46
- AppActionTypes["SetInfoDrawerMetadataAspect"] = "SET_INFO_DRAWER_METADATA_ASPECT";
47
- AppActionTypes["CloseModalDialogs"] = "CLOSE_MODAL_DIALOGS";
48
- })(exports.AppActionTypes || (exports.AppActionTypes = {}));
49
- var SetSettingsParameterAction = /** @class */ (function () {
50
- function SetSettingsParameterAction(payload) {
51
- this.payload = payload;
52
- this.type = exports.AppActionTypes.SetSettingsParameter;
53
- }
54
- return SetSettingsParameterAction;
55
- }());
56
- var SetInitialStateAction = /** @class */ (function () {
57
- function SetInitialStateAction(payload) {
58
- this.payload = payload;
59
- this.type = exports.AppActionTypes.SetInitialState;
60
- }
61
- return SetInitialStateAction;
62
- }());
63
- var SetHeaderColorAction = /** @class */ (function () {
64
- function SetHeaderColorAction(color) {
65
- this.color = color;
66
- this.type = exports.AppActionTypes.SetHeaderColor;
67
- }
68
- return SetHeaderColorAction;
69
- }());
70
- var SetCurrentFolderAction = /** @class */ (function () {
71
- function SetCurrentFolderAction(payload) {
72
- this.payload = payload;
73
- this.type = exports.AppActionTypes.SetCurrentFolder;
74
- }
75
- return SetCurrentFolderAction;
76
- }());
77
- var SetCurrentNodeVersionAction = /** @class */ (function () {
78
- function SetCurrentNodeVersionAction(payload) {
79
- this.payload = payload;
80
- this.type = exports.AppActionTypes.SetCurrentVersion;
81
- }
82
- return SetCurrentNodeVersionAction;
83
- }());
84
- var SetCurrentUrlAction = /** @class */ (function () {
85
- function SetCurrentUrlAction(payload) {
86
- this.payload = payload;
87
- this.type = exports.AppActionTypes.SetCurrentUrl;
88
- }
89
- return SetCurrentUrlAction;
90
- }());
91
- var SetUserProfileAction = /** @class */ (function () {
92
- function SetUserProfileAction(payload) {
93
- this.payload = payload;
94
- this.type = exports.AppActionTypes.SetUserProfile;
95
- }
96
- return SetUserProfileAction;
97
- }());
98
- var ToggleInfoDrawerAction = /** @class */ (function () {
99
- function ToggleInfoDrawerAction() {
100
- this.type = exports.AppActionTypes.ToggleInfoDrawer;
101
- }
102
- return ToggleInfoDrawerAction;
103
- }());
104
- var ToggleDocumentDisplayMode = /** @class */ (function () {
105
- function ToggleDocumentDisplayMode() {
106
- this.type = exports.AppActionTypes.ToggleDocumentDisplayMode;
107
- }
108
- return ToggleDocumentDisplayMode;
109
- }());
110
- var LogoutAction = /** @class */ (function () {
111
- function LogoutAction() {
112
- this.type = exports.AppActionTypes.Logout;
113
- }
114
- return LogoutAction;
115
- }());
116
- var ReloadDocumentListAction = /** @class */ (function () {
117
- function ReloadDocumentListAction(payload) {
118
- this.payload = payload;
119
- this.type = exports.AppActionTypes.ReloadDocumentList;
120
- }
121
- return ReloadDocumentListAction;
122
- }());
123
- var ResetSelectionAction = /** @class */ (function () {
124
- function ResetSelectionAction(payload) {
125
- this.payload = payload;
126
- this.type = exports.AppActionTypes.ResetSelection;
127
- }
128
- return ResetSelectionAction;
129
- }());
130
- var SetInfoDrawerStateAction = /** @class */ (function () {
131
- function SetInfoDrawerStateAction(payload) {
132
- this.payload = payload;
133
- this.type = exports.AppActionTypes.SetInfoDrawerState;
134
- }
135
- return SetInfoDrawerStateAction;
136
- }());
137
- var CloseModalDialogsAction = /** @class */ (function () {
138
- function CloseModalDialogsAction() {
139
- this.type = exports.AppActionTypes.CloseModalDialogs;
140
- }
141
- return CloseModalDialogsAction;
142
- }());
143
- var SetRepositoryInfoAction = /** @class */ (function () {
144
- function SetRepositoryInfoAction(payload) {
145
- this.payload = payload;
146
- this.type = exports.AppActionTypes.SetRepositoryInfo;
147
- }
148
- return SetRepositoryInfoAction;
149
- }());
150
-
151
- /*!
152
- * @license
153
- * Alfresco Example Content Application
154
- *
155
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
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
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
174
- */
175
- (function (LibraryActionTypes) {
176
- LibraryActionTypes["Delete"] = "DELETE_LIBRARY";
177
- LibraryActionTypes["Create"] = "CREATE_LIBRARY";
178
- LibraryActionTypes["Navigate"] = "NAVIGATE_LIBRARY";
179
- LibraryActionTypes["Update"] = "UPDATE_LIBRARY";
180
- LibraryActionTypes["Leave"] = "LEAVE_LIBRARY";
181
- })(exports.LibraryActionTypes || (exports.LibraryActionTypes = {}));
182
- var DeleteLibraryAction = /** @class */ (function () {
183
- function DeleteLibraryAction(payload) {
184
- this.payload = payload;
185
- this.type = exports.LibraryActionTypes.Delete;
186
- }
187
- return DeleteLibraryAction;
188
- }());
189
- var CreateLibraryAction = /** @class */ (function () {
190
- function CreateLibraryAction() {
191
- this.type = exports.LibraryActionTypes.Create;
192
- }
193
- return CreateLibraryAction;
194
- }());
195
- var NavigateLibraryAction = /** @class */ (function () {
196
- function NavigateLibraryAction(payload, route) {
197
- this.payload = payload;
198
- this.route = route;
199
- this.type = exports.LibraryActionTypes.Navigate;
200
- }
201
- return NavigateLibraryAction;
202
- }());
203
- var UpdateLibraryAction = /** @class */ (function () {
204
- function UpdateLibraryAction(payload) {
205
- this.payload = payload;
206
- this.type = exports.LibraryActionTypes.Update;
207
- }
208
- return UpdateLibraryAction;
209
- }());
210
- var LeaveLibraryAction = /** @class */ (function () {
211
- function LeaveLibraryAction(payload) {
212
- this.payload = payload;
213
- this.type = exports.LibraryActionTypes.Leave;
214
- }
215
- return LeaveLibraryAction;
216
- }());
217
-
218
- /*!
219
- * @license
220
- * Alfresco Example Content Application
221
- *
222
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
223
- *
224
- * This file is part of the Alfresco Example Content Application.
225
- * If the software was purchased under a paid Alfresco license, the terms of
226
- * the paid license agreement will prevail. Otherwise, the software is
227
- * provided under the following open source license terms:
228
- *
229
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
230
- * it under the terms of the GNU Lesser General Public License as published by
231
- * the Free Software Foundation, either version 3 of the License, or
232
- * (at your option) any later version.
233
- *
234
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
235
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
236
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
237
- * GNU Lesser General Public License for more details.
238
- *
239
- * You should have received a copy of the GNU Lesser General Public License
240
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
241
- */
242
- (function (NodeActionTypes) {
243
- NodeActionTypes["SetSelection"] = "SET_SELECTED_NODES";
244
- NodeActionTypes["Delete"] = "DELETE_NODES";
245
- NodeActionTypes["UndoDelete"] = "UNDO_DELETE_NODES";
246
- NodeActionTypes["RestoreDeleted"] = "RESTORE_DELETED_NODES";
247
- NodeActionTypes["PurgeDeleted"] = "PURGE_DELETED_NODES";
248
- NodeActionTypes["Download"] = "DOWNLOAD_NODES";
249
- NodeActionTypes["CreateFolder"] = "CREATE_FOLDER";
250
- NodeActionTypes["EditFolder"] = "EDIT_FOLDER";
251
- NodeActionTypes["Share"] = "SHARE_NODE";
252
- NodeActionTypes["Unshare"] = "UNSHARE_NODES";
253
- NodeActionTypes["Copy"] = "COPY_NODES";
254
- NodeActionTypes["Move"] = "MOVE_NODES";
255
- NodeActionTypes["ManagePermissions"] = "MANAGE_PERMISSIONS";
256
- NodeActionTypes["PrintFile"] = "PRINT_FILE";
257
- NodeActionTypes["ManageVersions"] = "MANAGE_VERSIONS";
258
- NodeActionTypes["EditOffline"] = "EDIT_OFFLINE";
259
- NodeActionTypes["UnlockForWriting"] = "UNLOCK_WRITE_LOCK";
260
- NodeActionTypes["AddFavorite"] = "ADD_FAVORITE";
261
- NodeActionTypes["RemoveFavorite"] = "REMOVE_FAVORITE";
262
- })(exports.NodeActionTypes || (exports.NodeActionTypes = {}));
263
- var SetSelectedNodesAction = /** @class */ (function () {
264
- function SetSelectedNodesAction(payload) {
265
- if (payload === void 0) { payload = []; }
266
- this.payload = payload;
267
- this.type = exports.NodeActionTypes.SetSelection;
268
- }
269
- return SetSelectedNodesAction;
270
- }());
271
- var DeleteNodesAction = /** @class */ (function () {
272
- function DeleteNodesAction(payload) {
273
- if (payload === void 0) { payload = []; }
274
- this.payload = payload;
275
- this.type = exports.NodeActionTypes.Delete;
276
- }
277
- return DeleteNodesAction;
278
- }());
279
- var UndoDeleteNodesAction = /** @class */ (function () {
280
- function UndoDeleteNodesAction(payload) {
281
- if (payload === void 0) { payload = []; }
282
- this.payload = payload;
283
- this.type = exports.NodeActionTypes.UndoDelete;
284
- }
285
- return UndoDeleteNodesAction;
286
- }());
287
- var RestoreDeletedNodesAction = /** @class */ (function () {
288
- function RestoreDeletedNodesAction(payload) {
289
- this.payload = payload;
290
- this.type = exports.NodeActionTypes.RestoreDeleted;
291
- }
292
- return RestoreDeletedNodesAction;
293
- }());
294
- var PurgeDeletedNodesAction = /** @class */ (function () {
295
- function PurgeDeletedNodesAction(payload) {
296
- this.payload = payload;
297
- this.type = exports.NodeActionTypes.PurgeDeleted;
298
- }
299
- return PurgeDeletedNodesAction;
300
- }());
301
- var DownloadNodesAction = /** @class */ (function () {
302
- function DownloadNodesAction(payload) {
303
- if (payload === void 0) { payload = []; }
304
- this.payload = payload;
305
- this.type = exports.NodeActionTypes.Download;
306
- }
307
- return DownloadNodesAction;
308
- }());
309
- var CreateFolderAction = /** @class */ (function () {
310
- function CreateFolderAction(payload) {
311
- this.payload = payload;
312
- this.type = exports.NodeActionTypes.CreateFolder;
313
- }
314
- return CreateFolderAction;
315
- }());
316
- var EditFolderAction = /** @class */ (function () {
317
- function EditFolderAction(payload) {
318
- this.payload = payload;
319
- this.type = exports.NodeActionTypes.EditFolder;
320
- }
321
- return EditFolderAction;
322
- }());
323
- var ShareNodeAction = /** @class */ (function () {
324
- function ShareNodeAction(payload) {
325
- this.payload = payload;
326
- this.type = exports.NodeActionTypes.Share;
327
- }
328
- return ShareNodeAction;
329
- }());
330
- var UnshareNodesAction = /** @class */ (function () {
331
- function UnshareNodesAction(payload) {
332
- this.payload = payload;
333
- this.type = exports.NodeActionTypes.Unshare;
334
- }
335
- return UnshareNodesAction;
336
- }());
337
- var CopyNodesAction = /** @class */ (function () {
338
- function CopyNodesAction(payload) {
339
- this.payload = payload;
340
- this.type = exports.NodeActionTypes.Copy;
341
- }
342
- return CopyNodesAction;
343
- }());
344
- var MoveNodesAction = /** @class */ (function () {
345
- function MoveNodesAction(payload) {
346
- this.payload = payload;
347
- this.type = exports.NodeActionTypes.Move;
348
- }
349
- return MoveNodesAction;
350
- }());
351
- var ManagePermissionsAction = /** @class */ (function () {
352
- function ManagePermissionsAction(payload) {
353
- this.payload = payload;
354
- this.type = exports.NodeActionTypes.ManagePermissions;
355
- }
356
- return ManagePermissionsAction;
357
- }());
358
- var PrintFileAction = /** @class */ (function () {
359
- function PrintFileAction(payload) {
360
- this.payload = payload;
361
- this.type = exports.NodeActionTypes.PrintFile;
362
- }
363
- return PrintFileAction;
364
- }());
365
- var ManageVersionsAction = /** @class */ (function () {
366
- function ManageVersionsAction(payload) {
367
- this.payload = payload;
368
- this.type = exports.NodeActionTypes.ManageVersions;
369
- }
370
- return ManageVersionsAction;
371
- }());
372
- var EditOfflineAction = /** @class */ (function () {
373
- function EditOfflineAction(payload) {
374
- this.payload = payload;
375
- this.type = exports.NodeActionTypes.EditOffline;
376
- }
377
- return EditOfflineAction;
378
- }());
379
- var UnlockWriteAction = /** @class */ (function () {
380
- function UnlockWriteAction(payload) {
381
- this.payload = payload;
382
- this.type = exports.NodeActionTypes.UnlockForWriting;
383
- }
384
- return UnlockWriteAction;
385
- }());
386
- var AddFavoriteAction = /** @class */ (function () {
387
- function AddFavoriteAction(payload) {
388
- this.payload = payload;
389
- this.type = exports.NodeActionTypes.AddFavorite;
390
- }
391
- return AddFavoriteAction;
392
- }());
393
- var RemoveFavoriteAction = /** @class */ (function () {
394
- function RemoveFavoriteAction(payload) {
395
- this.payload = payload;
396
- this.type = exports.NodeActionTypes.RemoveFavorite;
397
- }
398
- return RemoveFavoriteAction;
399
- }());
400
-
401
- /*!
402
- * @license
403
- * Alfresco Example Content Application
404
- *
405
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
406
- *
407
- * This file is part of the Alfresco Example Content Application.
408
- * If the software was purchased under a paid Alfresco license, the terms of
409
- * the paid license agreement will prevail. Otherwise, the software is
410
- * provided under the following open source license terms:
411
- *
412
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
413
- * it under the terms of the GNU Lesser General Public License as published by
414
- * the Free Software Foundation, either version 3 of the License, or
415
- * (at your option) any later version.
416
- *
417
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
418
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
419
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
420
- * GNU Lesser General Public License for more details.
421
- *
422
- * You should have received a copy of the GNU Lesser General Public License
423
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
424
- */
425
- (function (RouterActionTypes) {
426
- RouterActionTypes["NavigateUrl"] = "NAVIGATE_URL";
427
- RouterActionTypes["NavigateRoute"] = "NAVIGATE_ROUTE";
428
- RouterActionTypes["NavigateFolder"] = "NAVIGATE_FOLDER";
429
- RouterActionTypes["NavigateParentFolder"] = "NAVIGATE_PARENT_FOLDER";
430
- })(exports.RouterActionTypes || (exports.RouterActionTypes = {}));
431
- var NavigateUrlAction = /** @class */ (function () {
432
- function NavigateUrlAction(payload) {
433
- this.payload = payload;
434
- this.type = exports.RouterActionTypes.NavigateUrl;
435
- }
436
- return NavigateUrlAction;
437
- }());
438
- var NavigateRouteAction = /** @class */ (function () {
439
- function NavigateRouteAction(payload) {
440
- this.payload = payload;
441
- this.type = exports.RouterActionTypes.NavigateRoute;
442
- }
443
- return NavigateRouteAction;
444
- }());
445
- var NavigateToFolder = /** @class */ (function () {
446
- function NavigateToFolder(payload) {
447
- this.payload = payload;
448
- this.type = exports.RouterActionTypes.NavigateFolder;
449
- }
450
- return NavigateToFolder;
451
- }());
452
- var NavigateToParentFolder = /** @class */ (function () {
453
- function NavigateToParentFolder(payload) {
454
- this.payload = payload;
455
- this.type = exports.RouterActionTypes.NavigateParentFolder;
456
- }
457
- return NavigateToParentFolder;
458
- }());
459
-
460
- /*!
461
- * @license
462
- * Alfresco Example Content Application
463
- *
464
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
465
- *
466
- * This file is part of the Alfresco Example Content Application.
467
- * If the software was purchased under a paid Alfresco license, the terms of
468
- * the paid license agreement will prevail. Otherwise, the software is
469
- * provided under the following open source license terms:
470
- *
471
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
472
- * it under the terms of the GNU Lesser General Public License as published by
473
- * the Free Software Foundation, either version 3 of the License, or
474
- * (at your option) any later version.
475
- *
476
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
477
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
478
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
479
- * GNU Lesser General Public License for more details.
480
- *
481
- * You should have received a copy of the GNU Lesser General Public License
482
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
483
- */
484
- (function (SearchActionTypes) {
485
- SearchActionTypes["SearchByTerm"] = "SEARCH_BY_TERM";
486
- SearchActionTypes["ToggleFilter"] = "TOGGLE_SEARCH_FILTER";
487
- SearchActionTypes["ShowFilter"] = "SHOW_SEARCH_FILTER";
488
- SearchActionTypes["HideFilter"] = "HIDE_SEARCH_FILTER";
489
- })(exports.SearchActionTypes || (exports.SearchActionTypes = {}));
490
- var SearchByTermAction = /** @class */ (function () {
491
- function SearchByTermAction(payload, searchOptions) {
492
- this.payload = payload;
493
- this.searchOptions = searchOptions;
494
- this.type = exports.SearchActionTypes.SearchByTerm;
495
- }
496
- return SearchByTermAction;
497
- }());
498
- var ToggleSearchFilterAction = /** @class */ (function () {
499
- function ToggleSearchFilterAction() {
500
- this.type = exports.SearchActionTypes.ToggleFilter;
501
- }
502
- return ToggleSearchFilterAction;
503
- }());
504
- var ShowSearchFilterAction = /** @class */ (function () {
505
- function ShowSearchFilterAction() {
506
- this.type = exports.SearchActionTypes.ShowFilter;
507
- }
508
- return ShowSearchFilterAction;
509
- }());
510
- var HideSearchFilterAction = /** @class */ (function () {
511
- function HideSearchFilterAction() {
512
- this.type = exports.SearchActionTypes.HideFilter;
513
- }
514
- return HideSearchFilterAction;
515
- }());
516
-
517
- /*!
518
- * @license
519
- * Alfresco Example Content Application
520
- *
521
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
522
- *
523
- * This file is part of the Alfresco Example Content Application.
524
- * If the software was purchased under a paid Alfresco license, the terms of
525
- * the paid license agreement will prevail. Otherwise, the software is
526
- * provided under the following open source license terms:
527
- *
528
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
529
- * it under the terms of the GNU Lesser General Public License as published by
530
- * the Free Software Foundation, either version 3 of the License, or
531
- * (at your option) any later version.
532
- *
533
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
534
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
535
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
536
- * GNU Lesser General Public License for more details.
537
- *
538
- * You should have received a copy of the GNU Lesser General Public License
539
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
540
- */
541
- (function (SnackbarActionTypes) {
542
- SnackbarActionTypes["Info"] = "SNACKBAR_INFO";
543
- SnackbarActionTypes["Warning"] = "SNACKBAR_WARNING";
544
- SnackbarActionTypes["Error"] = "SNACKBAR_ERROR";
545
- })(exports.SnackbarActionTypes || (exports.SnackbarActionTypes = {}));
546
- var SnackbarUserAction = /** @class */ (function () {
547
- function SnackbarUserAction(title, action) {
548
- this.title = title;
549
- this.action = action;
550
- }
551
- return SnackbarUserAction;
552
- }());
553
- var SnackbarInfoAction = /** @class */ (function () {
554
- function SnackbarInfoAction(payload, params) {
555
- this.payload = payload;
556
- this.params = params;
557
- this.type = exports.SnackbarActionTypes.Info;
558
- this.duration = 4000;
559
- }
560
- return SnackbarInfoAction;
561
- }());
562
- var SnackbarWarningAction = /** @class */ (function () {
563
- function SnackbarWarningAction(payload, params) {
564
- this.payload = payload;
565
- this.params = params;
566
- this.type = exports.SnackbarActionTypes.Warning;
567
- this.duration = 4000;
568
- }
569
- return SnackbarWarningAction;
570
- }());
571
- var SnackbarErrorAction = /** @class */ (function () {
572
- function SnackbarErrorAction(payload, params) {
573
- this.payload = payload;
574
- this.params = params;
575
- this.type = exports.SnackbarActionTypes.Error;
576
- this.duration = 4000;
577
- }
578
- return SnackbarErrorAction;
579
- }());
580
-
581
- /*!
582
- * @license
583
- * Alfresco Example Content Application
584
- *
585
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
586
- *
587
- * This file is part of the Alfresco Example Content Application.
588
- * If the software was purchased under a paid Alfresco license, the terms of
589
- * the paid license agreement will prevail. Otherwise, the software is
590
- * provided under the following open source license terms:
591
- *
592
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
593
- * it under the terms of the GNU Lesser General Public License as published by
594
- * the Free Software Foundation, either version 3 of the License, or
595
- * (at your option) any later version.
596
- *
597
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
598
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
599
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
600
- * GNU Lesser General Public License for more details.
601
- *
602
- * You should have received a copy of the GNU Lesser General Public License
603
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
604
- */
605
- (function (UploadActionTypes) {
606
- UploadActionTypes["UploadFiles"] = "UPLOAD_FILES";
607
- UploadActionTypes["UploadFolder"] = "UPLOAD_FOLDER";
608
- UploadActionTypes["UploadFileVersion"] = "UPLOAD_FILE_VERSION";
609
- })(exports.UploadActionTypes || (exports.UploadActionTypes = {}));
610
- var UploadFilesAction = /** @class */ (function () {
611
- function UploadFilesAction(payload) {
612
- this.payload = payload;
613
- this.type = exports.UploadActionTypes.UploadFiles;
614
- }
615
- return UploadFilesAction;
616
- }());
617
- var UploadFolderAction = /** @class */ (function () {
618
- function UploadFolderAction(payload) {
619
- this.payload = payload;
620
- this.type = exports.UploadActionTypes.UploadFolder;
621
- }
622
- return UploadFolderAction;
623
- }());
624
- var UploadFileVersionAction = /** @class */ (function () {
625
- function UploadFileVersionAction(payload) {
626
- this.payload = payload;
627
- this.type = exports.UploadActionTypes.UploadFileVersion;
628
- }
629
- return UploadFileVersionAction;
630
- }());
631
-
632
- /*!
633
- * @license
634
- * Alfresco Example Content Application
635
- *
636
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
637
- *
638
- * This file is part of the Alfresco Example Content Application.
639
- * If the software was purchased under a paid Alfresco license, the terms of
640
- * the paid license agreement will prevail. Otherwise, the software is
641
- * provided under the following open source license terms:
642
- *
643
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
644
- * it under the terms of the GNU Lesser General Public License as published by
645
- * the Free Software Foundation, either version 3 of the License, or
646
- * (at your option) any later version.
647
- *
648
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
649
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
650
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
651
- * GNU Lesser General Public License for more details.
652
- *
653
- * You should have received a copy of the GNU Lesser General Public License
654
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
655
- */
656
- (function (ViewerActionTypes) {
657
- ViewerActionTypes["ViewFile"] = "VIEW_FILE";
658
- ViewerActionTypes["ViewNode"] = "VIEW_NODE";
659
- ViewerActionTypes["ViewNodeVersion"] = "VIEW_NODE_VERSION";
660
- ViewerActionTypes["FullScreen"] = "FULLSCREEN_VIEWER";
661
- ViewerActionTypes["ClosePreview"] = "CLOSE_PREVIEW";
662
- ViewerActionTypes["PluginPreview"] = "PLUGIN_PREVIEW";
663
- })(exports.ViewerActionTypes || (exports.ViewerActionTypes = {}));
664
- var ViewFileAction = /** @class */ (function () {
665
- function ViewFileAction(payload, parentId) {
666
- this.payload = payload;
667
- this.parentId = parentId;
668
- this.type = exports.ViewerActionTypes.ViewFile;
669
- }
670
- return ViewFileAction;
671
- }());
672
- var ViewNodeAction = /** @class */ (function () {
673
- function ViewNodeAction(nodeId, viewNodeExtras) {
674
- this.nodeId = nodeId;
675
- this.viewNodeExtras = viewNodeExtras;
676
- this.type = exports.ViewerActionTypes.ViewNode;
677
- }
678
- return ViewNodeAction;
679
- }());
680
- var ViewNodeVersionAction = /** @class */ (function () {
681
- function ViewNodeVersionAction(nodeId, versionId, viewNodeExtras) {
682
- this.nodeId = nodeId;
683
- this.versionId = versionId;
684
- this.viewNodeExtras = viewNodeExtras;
685
- this.type = exports.ViewerActionTypes.ViewNodeVersion;
686
- }
687
- return ViewNodeVersionAction;
688
- }());
689
- var FullscreenViewerAction = /** @class */ (function () {
690
- function FullscreenViewerAction(payload) {
691
- this.payload = payload;
692
- this.type = exports.ViewerActionTypes.FullScreen;
693
- }
694
- return FullscreenViewerAction;
695
- }());
696
- var ClosePreviewAction = /** @class */ (function () {
697
- function ClosePreviewAction(payload) {
698
- this.payload = payload;
699
- this.type = exports.ViewerActionTypes.ClosePreview;
700
- }
701
- return ClosePreviewAction;
702
- }());
703
- var PluginPreviewAction = /** @class */ (function () {
704
- function PluginPreviewAction(pluginRoute, nodeId) {
705
- this.pluginRoute = pluginRoute;
706
- this.nodeId = nodeId;
707
- this.type = exports.ViewerActionTypes.PluginPreview;
708
- }
709
- return PluginPreviewAction;
710
- }());
711
-
712
- /*!
713
- * @license
714
- * Alfresco Example Content Application
715
- *
716
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
717
- *
718
- * This file is part of the Alfresco Example Content Application.
719
- * If the software was purchased under a paid Alfresco license, the terms of
720
- * the paid license agreement will prevail. Otherwise, the software is
721
- * provided under the following open source license terms:
722
- *
723
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
724
- * it under the terms of the GNU Lesser General Public License as published by
725
- * the Free Software Foundation, either version 3 of the License, or
726
- * (at your option) any later version.
727
- *
728
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
729
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
730
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
731
- * GNU Lesser General Public License for more details.
732
- *
733
- * You should have received a copy of the GNU Lesser General Public License
734
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
735
- */
736
- var SET_INFO_DRAWER_METADATA_ASPECT = 'SET_INFO_DRAWER_METADATA_ASPECT';
737
- var SetInfoDrawerMetadataAspectAction = /** @class */ (function () {
738
- function SetInfoDrawerMetadataAspectAction(payload) {
739
- this.payload = payload;
740
- this.type = SET_INFO_DRAWER_METADATA_ASPECT;
741
- }
742
- return SetInfoDrawerMetadataAspectAction;
743
- }());
744
-
745
- /*!
746
- * @license
747
- * Alfresco Example Content Application
748
- *
749
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
750
- *
751
- * This file is part of the Alfresco Example Content Application.
752
- * If the software was purchased under a paid Alfresco license, the terms of
753
- * the paid license agreement will prevail. Otherwise, the software is
754
- * provided under the following open source license terms:
755
- *
756
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
757
- * it under the terms of the GNU Lesser General Public License as published by
758
- * the Free Software Foundation, either version 3 of the License, or
759
- * (at your option) any later version.
760
- *
761
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
762
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
763
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
764
- * GNU Lesser General Public License for more details.
765
- *
766
- * You should have received a copy of the GNU Lesser General Public License
767
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
768
- */
769
- (function (TemplateActionTypes) {
770
- TemplateActionTypes["FileFromTemplate"] = "FILE_FROM_TEMPLATE";
771
- TemplateActionTypes["FolderFromTemplate"] = "FOLDER_FROM_TEMPLATE";
772
- TemplateActionTypes["CreateFromTemplate"] = "CREATE_FROM_TEMPLATE";
773
- TemplateActionTypes["CreateFromTemplateSuccess"] = "CREATE_FROM_TEMPLATE_SUCCESS";
774
- })(exports.TemplateActionTypes || (exports.TemplateActionTypes = {}));
775
- var FileFromTemplate = /** @class */ (function () {
776
- function FileFromTemplate() {
777
- this.type = exports.TemplateActionTypes.FileFromTemplate;
778
- }
779
- return FileFromTemplate;
780
- }());
781
- var FolderFromTemplate = /** @class */ (function () {
782
- function FolderFromTemplate() {
783
- this.type = exports.TemplateActionTypes.FolderFromTemplate;
784
- }
785
- return FolderFromTemplate;
786
- }());
787
- var CreateFromTemplate = /** @class */ (function () {
788
- function CreateFromTemplate(payload) {
789
- this.payload = payload;
790
- this.type = exports.TemplateActionTypes.CreateFromTemplate;
791
- }
792
- return CreateFromTemplate;
793
- }());
794
- var CreateFromTemplateSuccess = /** @class */ (function () {
795
- function CreateFromTemplateSuccess(node) {
796
- this.node = node;
797
- this.type = exports.TemplateActionTypes.CreateFromTemplateSuccess;
798
- }
799
- return CreateFromTemplateSuccess;
800
- }());
801
-
802
- /*!
803
- * @license
804
- * Alfresco Example Content Application
805
- *
806
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
807
- *
808
- * This file is part of the Alfresco Example Content Application.
809
- * If the software was purchased under a paid Alfresco license, the terms of
810
- * the paid license agreement will prevail. Otherwise, the software is
811
- * provided under the following open source license terms:
812
- *
813
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
814
- * it under the terms of the GNU Lesser General Public License as published by
815
- * the Free Software Foundation, either version 3 of the License, or
816
- * (at your option) any later version.
817
- *
818
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
819
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
820
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
821
- * GNU Lesser General Public License for more details.
822
- *
823
- * You should have received a copy of the GNU Lesser General Public License
824
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
825
- */
826
- (function (ContextMenuActionTypes) {
827
- ContextMenuActionTypes["ContextMenu"] = "CONTEXT_MENU";
828
- })(exports.ContextMenuActionTypes || (exports.ContextMenuActionTypes = {}));
829
- var ContextMenu = /** @class */ (function () {
830
- function ContextMenu(event) {
831
- this.event = event;
832
- this.type = exports.ContextMenuActionTypes.ContextMenu;
833
- }
834
- return ContextMenu;
835
- }());
836
-
837
- /*! *****************************************************************************
838
- Copyright (c) Microsoft Corporation.
839
-
840
- Permission to use, copy, modify, and/or distribute this software for any
841
- purpose with or without fee is hereby granted.
842
-
843
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
844
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
845
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
846
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
847
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
848
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
849
- PERFORMANCE OF THIS SOFTWARE.
850
- ***************************************************************************** */
851
- /* global Reflect, Promise */
852
- var extendStatics = function (d, b) {
853
- extendStatics = Object.setPrototypeOf ||
854
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
855
- function (d, b) { for (var p in b)
856
- if (Object.prototype.hasOwnProperty.call(b, p))
857
- d[p] = b[p]; };
858
- return extendStatics(d, b);
859
- };
860
- function __extends(d, b) {
861
- extendStatics(d, b);
862
- function __() { this.constructor = d; }
863
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
864
- }
865
- var __assign = function () {
866
- __assign = Object.assign || function __assign(t) {
867
- for (var s, i = 1, n = arguments.length; i < n; i++) {
868
- s = arguments[i];
869
- for (var p in s)
870
- if (Object.prototype.hasOwnProperty.call(s, p))
871
- t[p] = s[p];
872
- }
873
- return t;
874
- };
875
- return __assign.apply(this, arguments);
876
- };
877
- function __rest(s, e) {
878
- var t = {};
879
- for (var p in s)
880
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
881
- t[p] = s[p];
882
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
883
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
884
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
885
- t[p[i]] = s[p[i]];
886
- }
887
- return t;
888
- }
889
- function __decorate(decorators, target, key, desc) {
890
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
891
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
892
- r = Reflect.decorate(decorators, target, key, desc);
893
- else
894
- for (var i = decorators.length - 1; i >= 0; i--)
895
- if (d = decorators[i])
896
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
897
- return c > 3 && r && Object.defineProperty(target, key, r), r;
898
- }
899
- function __param(paramIndex, decorator) {
900
- return function (target, key) { decorator(target, key, paramIndex); };
901
- }
902
- function __metadata(metadataKey, metadataValue) {
903
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
904
- return Reflect.metadata(metadataKey, metadataValue);
905
- }
906
- function __awaiter(thisArg, _arguments, P, generator) {
907
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
908
- return new (P || (P = Promise))(function (resolve, reject) {
909
- function fulfilled(value) { try {
910
- step(generator.next(value));
911
- }
912
- catch (e) {
913
- reject(e);
914
- } }
915
- function rejected(value) { try {
916
- step(generator["throw"](value));
917
- }
918
- catch (e) {
919
- reject(e);
920
- } }
921
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
922
- step((generator = generator.apply(thisArg, _arguments || [])).next());
923
- });
924
- }
925
- function __generator(thisArg, body) {
926
- var _ = { label: 0, sent: function () { if (t[0] & 1)
927
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
928
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
929
- function verb(n) { return function (v) { return step([n, v]); }; }
930
- function step(op) {
931
- if (f)
932
- throw new TypeError("Generator is already executing.");
933
- while (_)
934
- try {
935
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
936
- return t;
937
- if (y = 0, t)
938
- op = [op[0] & 2, t.value];
939
- switch (op[0]) {
940
- case 0:
941
- case 1:
942
- t = op;
943
- break;
944
- case 4:
945
- _.label++;
946
- return { value: op[1], done: false };
947
- case 5:
948
- _.label++;
949
- y = op[1];
950
- op = [0];
951
- continue;
952
- case 7:
953
- op = _.ops.pop();
954
- _.trys.pop();
955
- continue;
956
- default:
957
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
958
- _ = 0;
959
- continue;
960
- }
961
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
962
- _.label = op[1];
963
- break;
964
- }
965
- if (op[0] === 6 && _.label < t[1]) {
966
- _.label = t[1];
967
- t = op;
968
- break;
969
- }
970
- if (t && _.label < t[2]) {
971
- _.label = t[2];
972
- _.ops.push(op);
973
- break;
974
- }
975
- if (t[2])
976
- _.ops.pop();
977
- _.trys.pop();
978
- continue;
979
- }
980
- op = body.call(thisArg, _);
981
- }
982
- catch (e) {
983
- op = [6, e];
984
- y = 0;
985
- }
986
- finally {
987
- f = t = 0;
988
- }
989
- if (op[0] & 5)
990
- throw op[1];
991
- return { value: op[0] ? op[1] : void 0, done: true };
992
- }
993
- }
994
- var __createBinding = Object.create ? (function (o, m, k, k2) {
995
- if (k2 === undefined)
996
- k2 = k;
997
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
998
- }) : (function (o, m, k, k2) {
999
- if (k2 === undefined)
1000
- k2 = k;
1001
- o[k2] = m[k];
1002
- });
1003
- function __exportStar(m, o) {
1004
- for (var p in m)
1005
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
1006
- __createBinding(o, m, p);
1007
- }
1008
- function __values(o) {
1009
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1010
- if (m)
1011
- return m.call(o);
1012
- if (o && typeof o.length === "number")
1013
- return {
1014
- next: function () {
1015
- if (o && i >= o.length)
1016
- o = void 0;
1017
- return { value: o && o[i++], done: !o };
1018
- }
1019
- };
1020
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1021
- }
1022
- function __read(o, n) {
1023
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1024
- if (!m)
1025
- return o;
1026
- var i = m.call(o), r, ar = [], e;
1027
- try {
1028
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
1029
- ar.push(r.value);
1030
- }
1031
- catch (error) {
1032
- e = { error: error };
1033
- }
1034
- finally {
1035
- try {
1036
- if (r && !r.done && (m = i["return"]))
1037
- m.call(i);
1038
- }
1039
- finally {
1040
- if (e)
1041
- throw e.error;
1042
- }
1043
- }
1044
- return ar;
1045
- }
1046
- function __spread() {
1047
- for (var ar = [], i = 0; i < arguments.length; i++)
1048
- ar = ar.concat(__read(arguments[i]));
1049
- return ar;
1050
- }
1051
- function __spreadArrays() {
1052
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
1053
- s += arguments[i].length;
1054
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
1055
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
1056
- r[k] = a[j];
1057
- return r;
1058
- }
1059
- ;
1060
- function __await(v) {
1061
- return this instanceof __await ? (this.v = v, this) : new __await(v);
1062
- }
1063
- function __asyncGenerator(thisArg, _arguments, generator) {
1064
- if (!Symbol.asyncIterator)
1065
- throw new TypeError("Symbol.asyncIterator is not defined.");
1066
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
1067
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
1068
- function verb(n) { if (g[n])
1069
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
1070
- function resume(n, v) { try {
1071
- step(g[n](v));
1072
- }
1073
- catch (e) {
1074
- settle(q[0][3], e);
1075
- } }
1076
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
1077
- function fulfill(value) { resume("next", value); }
1078
- function reject(value) { resume("throw", value); }
1079
- function settle(f, v) { if (f(v), q.shift(), q.length)
1080
- resume(q[0][0], q[0][1]); }
1081
- }
1082
- function __asyncDelegator(o) {
1083
- var i, p;
1084
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
1085
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
1086
- }
1087
- function __asyncValues(o) {
1088
- if (!Symbol.asyncIterator)
1089
- throw new TypeError("Symbol.asyncIterator is not defined.");
1090
- var m = o[Symbol.asyncIterator], i;
1091
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
1092
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
1093
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
1094
- }
1095
- function __makeTemplateObject(cooked, raw) {
1096
- if (Object.defineProperty) {
1097
- Object.defineProperty(cooked, "raw", { value: raw });
1098
- }
1099
- else {
1100
- cooked.raw = raw;
1101
- }
1102
- return cooked;
1103
- }
1104
- ;
1105
- var __setModuleDefault = Object.create ? (function (o, v) {
1106
- Object.defineProperty(o, "default", { enumerable: true, value: v });
1107
- }) : function (o, v) {
1108
- o["default"] = v;
1109
- };
1110
- function __importStar(mod) {
1111
- if (mod && mod.__esModule)
1112
- return mod;
1113
- var result = {};
1114
- if (mod != null)
1115
- for (var k in mod)
1116
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
1117
- __createBinding(result, mod, k);
1118
- __setModuleDefault(result, mod);
1119
- return result;
1120
- }
1121
- function __importDefault(mod) {
1122
- return (mod && mod.__esModule) ? mod : { default: mod };
1123
- }
1124
- function __classPrivateFieldGet(receiver, privateMap) {
1125
- if (!privateMap.has(receiver)) {
1126
- throw new TypeError("attempted to get private field on non-instance");
1127
- }
1128
- return privateMap.get(receiver);
1129
- }
1130
- function __classPrivateFieldSet(receiver, privateMap, value) {
1131
- if (!privateMap.has(receiver)) {
1132
- throw new TypeError("attempted to set private field on non-instance");
1133
- }
1134
- privateMap.set(receiver, value);
1135
- return value;
1136
- }
1137
-
1138
- /*!
1139
- * @license
1140
- * Alfresco Example Content Application
1141
- *
1142
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1143
- *
1144
- * This file is part of the Alfresco Example Content Application.
1145
- * If the software was purchased under a paid Alfresco license, the terms of
1146
- * the paid license agreement will prevail. Otherwise, the software is
1147
- * provided under the following open source license terms:
1148
- *
1149
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1150
- * it under the terms of the GNU Lesser General Public License as published by
1151
- * the Free Software Foundation, either version 3 of the License, or
1152
- * (at your option) any later version.
1153
- *
1154
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1155
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1156
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1157
- * GNU Lesser General Public License for more details.
1158
- *
1159
- * You should have received a copy of the GNU Lesser General Public License
1160
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1161
- */
1162
- var DialogEffects = /** @class */ (function () {
1163
- function DialogEffects(actions$, matDialog) {
1164
- var _this = this;
1165
- this.actions$ = actions$;
1166
- this.matDialog = matDialog;
1167
- this.closeAll$ = this.actions$.pipe(effects.ofType(exports.AppActionTypes.CloseModalDialogs), operators.map(function () { return _this.matDialog.closeAll(); }));
1168
- }
1169
- return DialogEffects;
1170
- }());
1171
- DialogEffects.decorators = [
1172
- { type: core.Injectable }
1173
- ];
1174
- DialogEffects.ctorParameters = function () { return [
1175
- { type: effects.Actions },
1176
- { type: dialog.MatDialog }
1177
- ]; };
1178
- __decorate([
1179
- effects.Effect({ dispatch: false }),
1180
- __metadata("design:type", Object)
1181
- ], DialogEffects.prototype, "closeAll$", void 0);
1182
-
1183
- /*!
1184
- * @license
1185
- * Alfresco Example Content Application
1186
- *
1187
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1188
- *
1189
- * This file is part of the Alfresco Example Content Application.
1190
- * If the software was purchased under a paid Alfresco license, the terms of
1191
- * the paid license agreement will prevail. Otherwise, the software is
1192
- * provided under the following open source license terms:
1193
- *
1194
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1195
- * it under the terms of the GNU Lesser General Public License as published by
1196
- * the Free Software Foundation, either version 3 of the License, or
1197
- * (at your option) any later version.
1198
- *
1199
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1200
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1201
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1202
- * GNU Lesser General Public License for more details.
1203
- *
1204
- * You should have received a copy of the GNU Lesser General Public License
1205
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1206
- */
1207
- var RouterEffects = /** @class */ (function () {
1208
- function RouterEffects(store, actions$, router) {
1209
- var _this = this;
1210
- this.store = store;
1211
- this.actions$ = actions$;
1212
- this.router = router;
1213
- this.navigateUrl$ = this.actions$.pipe(effects.ofType(exports.RouterActionTypes.NavigateUrl), operators.map(function (action) {
1214
- if (action.payload) {
1215
- _this.router.navigateByUrl(action.payload);
1216
- }
1217
- }));
1218
- this.navigateRoute$ = this.actions$.pipe(effects.ofType(exports.RouterActionTypes.NavigateRoute), operators.map(function (action) {
1219
- _this.router.navigate(action.payload);
1220
- }));
1221
- this.navigateToFolder$ = this.actions$.pipe(effects.ofType(exports.RouterActionTypes.NavigateFolder), operators.map(function (action) {
1222
- if (action.payload && action.payload.entry) {
1223
- _this.navigateToFolder(action.payload.entry);
1224
- }
1225
- }));
1226
- this.navigateToParentFolder$ = this.actions$.pipe(effects.ofType(exports.RouterActionTypes.NavigateParentFolder), operators.map(function (action) {
1227
- if (action.payload && action.payload.entry) {
1228
- _this.navigateToParentFolder(action.payload.entry);
1229
- }
1230
- }));
1231
- }
1232
- RouterEffects.prototype.navigateToFolder = function (node) {
1233
- var _this = this;
1234
- var link = null;
1235
- var path = node.path, id = node.id;
1236
- if (path && path.name && path.elements) {
1237
- var isLibraryPath = this.isLibraryContent(path);
1238
- var parent = path.elements[path.elements.length - 1];
1239
- var area = isLibraryPath ? '/libraries' : '/personal-files';
1240
- if (!isLibraryPath) {
1241
- link = [area, id];
1242
- }
1243
- else {
1244
- // parent.id could be 'Site' folder or child as 'documentLibrary'
1245
- link = [area, parent.name === 'Sites' ? {} : id];
1246
- }
1247
- setTimeout(function () {
1248
- _this.router.navigate(link);
1249
- }, 10);
1250
- }
1251
- else {
1252
- this.router.navigate(['/personal-files', node.id]);
1253
- }
1254
- };
1255
- RouterEffects.prototype.navigateToParentFolder = function (node) {
1256
- var _this = this;
1257
- var link = null;
1258
- var path = node.path;
1259
- if (path && path.name && path.elements) {
1260
- var isLibraryPath = this.isLibraryContent(path);
1261
- var parent = path.elements[path.elements.length - 1];
1262
- var area = isLibraryPath ? '/libraries' : '/personal-files';
1263
- if (!isLibraryPath) {
1264
- link = [area, parent.id];
1265
- }
1266
- else {
1267
- // parent.id could be 'Site' folder or child as 'documentLibrary'
1268
- link = [area, parent.name === 'Sites' ? {} : parent.id];
1269
- }
1270
- setTimeout(function () {
1271
- _this.router.navigate(link);
1272
- }, 10);
1273
- }
1274
- else {
1275
- this.store.dispatch(new SnackbarErrorAction('APP.MESSAGES.ERRORS.CANNOT_NAVIGATE_LOCATION'));
1276
- }
1277
- };
1278
- RouterEffects.prototype.isLibraryContent = function (path) {
1279
- if (path && path.elements.length >= 2 && path.elements[1].name === 'Sites') {
1280
- return true;
1281
- }
1282
- return false;
1283
- };
1284
- return RouterEffects;
1285
- }());
1286
- RouterEffects.decorators = [
1287
- { type: core.Injectable }
1288
- ];
1289
- RouterEffects.ctorParameters = function () { return [
1290
- { type: store.Store },
1291
- { type: effects.Actions },
1292
- { type: router.Router }
1293
- ]; };
1294
- __decorate([
1295
- effects.Effect({ dispatch: false }),
1296
- __metadata("design:type", Object)
1297
- ], RouterEffects.prototype, "navigateUrl$", void 0);
1298
- __decorate([
1299
- effects.Effect({ dispatch: false }),
1300
- __metadata("design:type", Object)
1301
- ], RouterEffects.prototype, "navigateRoute$", void 0);
1302
- __decorate([
1303
- effects.Effect({ dispatch: false }),
1304
- __metadata("design:type", Object)
1305
- ], RouterEffects.prototype, "navigateToFolder$", void 0);
1306
- __decorate([
1307
- effects.Effect({ dispatch: false }),
1308
- __metadata("design:type", Object)
1309
- ], RouterEffects.prototype, "navigateToParentFolder$", void 0);
1310
-
1311
- /*!
1312
- * @license
1313
- * Alfresco Example Content Application
1314
- *
1315
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1316
- *
1317
- * This file is part of the Alfresco Example Content Application.
1318
- * If the software was purchased under a paid Alfresco license, the terms of
1319
- * the paid license agreement will prevail. Otherwise, the software is
1320
- * provided under the following open source license terms:
1321
- *
1322
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1323
- * it under the terms of the GNU Lesser General Public License as published by
1324
- * the Free Software Foundation, either version 3 of the License, or
1325
- * (at your option) any later version.
1326
- *
1327
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1328
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1329
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1330
- * GNU Lesser General Public License for more details.
1331
- *
1332
- * You should have received a copy of the GNU Lesser General Public License
1333
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1334
- */
1335
- var SnackbarEffects = /** @class */ (function () {
1336
- function SnackbarEffects(store, actions$, snackBar, translationService) {
1337
- var _this = this;
1338
- this.store = store;
1339
- this.actions$ = actions$;
1340
- this.snackBar = snackBar;
1341
- this.translationService = translationService;
1342
- this.infoEffect = this.actions$.pipe(effects.ofType(exports.SnackbarActionTypes.Info), operators.map(function (action) {
1343
- _this.showSnackBar(action, 'info-snackbar');
1344
- }));
1345
- this.warningEffect = this.actions$.pipe(effects.ofType(exports.SnackbarActionTypes.Warning), operators.map(function (action) {
1346
- _this.showSnackBar(action, 'warning-snackbar');
1347
- }));
1348
- this.errorEffect = this.actions$.pipe(effects.ofType(exports.SnackbarActionTypes.Error), operators.map(function (action) {
1349
- _this.showSnackBar(action, 'error-snackbar');
1350
- }));
1351
- }
1352
- SnackbarEffects.prototype.showSnackBar = function (action, panelClass) {
1353
- var _this = this;
1354
- var message = this.translate(action.payload, action.params);
1355
- var actionName = null;
1356
- if (action.userAction) {
1357
- actionName = this.translate(action.userAction.title);
1358
- }
1359
- var snackBarRef = this.snackBar.open(message, actionName, {
1360
- duration: action.duration || 4000,
1361
- panelClass: panelClass
1362
- });
1363
- if (action.userAction) {
1364
- snackBarRef.onAction().subscribe(function () {
1365
- _this.store.dispatch(action.userAction.action);
1366
- });
1367
- }
1368
- };
1369
- SnackbarEffects.prototype.translate = function (message, params) {
1370
- return this.translationService.instant(message, params);
1371
- };
1372
- return SnackbarEffects;
1373
- }());
1374
- SnackbarEffects.decorators = [
1375
- { type: core.Injectable }
1376
- ];
1377
- SnackbarEffects.ctorParameters = function () { return [
1378
- { type: store.Store },
1379
- { type: effects.Actions },
1380
- { type: snackBar.MatSnackBar },
1381
- { type: adfCore.TranslationService }
1382
- ]; };
1383
- __decorate([
1384
- effects.Effect({ dispatch: false }),
1385
- __metadata("design:type", Object)
1386
- ], SnackbarEffects.prototype, "infoEffect", void 0);
1387
- __decorate([
1388
- effects.Effect({ dispatch: false }),
1389
- __metadata("design:type", Object)
1390
- ], SnackbarEffects.prototype, "warningEffect", void 0);
1391
- __decorate([
1392
- effects.Effect({ dispatch: false }),
1393
- __metadata("design:type", Object)
1394
- ], SnackbarEffects.prototype, "errorEffect", void 0);
1395
-
1396
- /*!
1397
- * @license
1398
- * Alfresco Example Content Application
1399
- *
1400
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1401
- *
1402
- * This file is part of the Alfresco Example Content Application.
1403
- * If the software was purchased under a paid Alfresco license, the terms of
1404
- * the paid license agreement will prevail. Otherwise, the software is
1405
- * provided under the following open source license terms:
1406
- *
1407
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1408
- * it under the terms of the GNU Lesser General Public License as published by
1409
- * the Free Software Foundation, either version 3 of the License, or
1410
- * (at your option) any later version.
1411
- *
1412
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1413
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1415
- * GNU Lesser General Public License for more details.
1416
- *
1417
- * You should have received a copy of the GNU Lesser General Public License
1418
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1419
- */
1420
-
1421
- /*!
1422
- * @license
1423
- * Alfresco Example Content Application
1424
- *
1425
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1426
- *
1427
- * This file is part of the Alfresco Example Content Application.
1428
- * If the software was purchased under a paid Alfresco license, the terms of
1429
- * the paid license agreement will prevail. Otherwise, the software is
1430
- * provided under the following open source license terms:
1431
- *
1432
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1433
- * it under the terms of the GNU Lesser General Public License as published by
1434
- * the Free Software Foundation, either version 3 of the License, or
1435
- * (at your option) any later version.
1436
- *
1437
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1438
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1439
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1440
- * GNU Lesser General Public License for more details.
1441
- *
1442
- * You should have received a copy of the GNU Lesser General Public License
1443
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1444
- */
1445
-
1446
- /*!
1447
- * @license
1448
- * Alfresco Example Content Application
1449
- *
1450
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1451
- *
1452
- * This file is part of the Alfresco Example Content Application.
1453
- * If the software was purchased under a paid Alfresco license, the terms of
1454
- * the paid license agreement will prevail. Otherwise, the software is
1455
- * provided under the following open source license terms:
1456
- *
1457
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1458
- * it under the terms of the GNU Lesser General Public License as published by
1459
- * the Free Software Foundation, either version 3 of the License, or
1460
- * (at your option) any later version.
1461
- *
1462
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1463
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1464
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1465
- * GNU Lesser General Public License for more details.
1466
- *
1467
- * You should have received a copy of the GNU Lesser General Public License
1468
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1469
- */
1470
-
1471
- /*!
1472
- * @license
1473
- * Alfresco Example Content Application
1474
- *
1475
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1476
- *
1477
- * This file is part of the Alfresco Example Content Application.
1478
- * If the software was purchased under a paid Alfresco license, the terms of
1479
- * the paid license agreement will prevail. Otherwise, the software is
1480
- * provided under the following open source license terms:
1481
- *
1482
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1483
- * it under the terms of the GNU Lesser General Public License as published by
1484
- * the Free Software Foundation, either version 3 of the License, or
1485
- * (at your option) any later version.
1486
- *
1487
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1488
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1489
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1490
- * GNU Lesser General Public License for more details.
1491
- *
1492
- * You should have received a copy of the GNU Lesser General Public License
1493
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1494
- */
1495
- (function (SearchOptionIds) {
1496
- SearchOptionIds["Files"] = "content";
1497
- SearchOptionIds["Folders"] = "folder";
1498
- SearchOptionIds["Libraries"] = "libraries";
1499
- })(exports.SearchOptionIds || (exports.SearchOptionIds = {}));
1500
-
1501
- /*!
1502
- * @license
1503
- * Alfresco Example Content Application
1504
- *
1505
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1506
- *
1507
- * This file is part of the Alfresco Example Content Application.
1508
- * If the software was purchased under a paid Alfresco license, the terms of
1509
- * the paid license agreement will prevail. Otherwise, the software is
1510
- * provided under the following open source license terms:
1511
- *
1512
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1513
- * it under the terms of the GNU Lesser General Public License as published by
1514
- * the Free Software Foundation, either version 3 of the License, or
1515
- * (at your option) any later version.
1516
- *
1517
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1518
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1519
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1520
- * GNU Lesser General Public License for more details.
1521
- *
1522
- * You should have received a copy of the GNU Lesser General Public License
1523
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1524
- */
1525
- var selectApp = function (state) { return state.app; };
1526
- var ɵ0 = function (state) { return state.headerColor; };
1527
- var getHeaderColor = store.createSelector(selectApp, ɵ0);
1528
- var ɵ1 = function (state) { return state.appName; };
1529
- var getAppName = store.createSelector(selectApp, ɵ1);
1530
- var ɵ2 = function (state) { return state.logoPath; };
1531
- var getLogoPath = store.createSelector(selectApp, ɵ2);
1532
- var ɵ3 = function (state) { return state.headerImagePath; };
1533
- var getHeaderImagePath = store.createSelector(selectApp, ɵ3);
1534
- var ɵ4 = function (state) { return state.languagePicker; };
1535
- var getLanguagePickerState = store.createSelector(selectApp, ɵ4);
1536
- var ɵ5 = function (state) { return state.user; };
1537
- var getUserProfile = store.createSelector(selectApp, ɵ5);
1538
- var ɵ6 = function (state) { return state.navigation.currentFolder; };
1539
- var getCurrentFolder = store.createSelector(selectApp, ɵ6);
1540
- var ɵ7 = function (state) { return state.currentNodeVersion; };
1541
- var getCurrentVersion = store.createSelector(selectApp, ɵ7);
1542
- var ɵ8 = function (state) { return state.selection; };
1543
- var getAppSelection = store.createSelector(selectApp, ɵ8);
1544
- var ɵ9 = function (state) { return state.sharedUrl; };
1545
- var getSharedUrl = store.createSelector(selectApp, ɵ9);
1546
- var ɵ10 = function (state) { return state.navigation; };
1547
- var getNavigationState = store.createSelector(selectApp, ɵ10);
1548
- var ɵ11 = function (state) { return state.infoDrawerOpened; };
1549
- var isInfoDrawerOpened = store.createSelector(selectApp, ɵ11);
1550
- var ɵ12 = function (state) { return state.showFacetFilter; };
1551
- var showFacetFilter = store.createSelector(selectApp, ɵ12);
1552
- var ɵ13 = function (state) { return state.documentDisplayMode; };
1553
- var getDocumentDisplayMode = store.createSelector(selectApp, ɵ13);
1554
- var ɵ14 = function (state) { return state.repository; };
1555
- var getRepositoryStatus = store.createSelector(selectApp, ɵ14);
1556
- var ɵ15 = function (info) { return info.status.isQuickShareEnabled; };
1557
- var isQuickShareEnabled = store.createSelector(getRepositoryStatus, ɵ15);
1558
- var ɵ16 = function (state) { return state.user.isAdmin; };
1559
- var isAdmin = store.createSelector(selectApp, ɵ16);
1560
- var ɵ17 = function (selection, navigation) {
1561
- return {
1562
- selection: selection,
1563
- navigation: navigation
1564
- };
1565
- };
1566
- var getSideNavState = store.createSelector(getAppSelection, getNavigationState, ɵ17);
1567
- var ɵ18 = function (selection, navigation, profile, repository) {
1568
- return {
1569
- selection: selection,
1570
- navigation: navigation,
1571
- profile: profile,
1572
- repository: repository
1573
- };
1574
- };
1575
- var getRuleContext = store.createSelector(getAppSelection, getNavigationState, getUserProfile, getRepositoryStatus, ɵ18);
1576
- var ɵ19 = function (state) { return state.infoDrawerMetadataAspect; };
1577
- var infoDrawerMetadataAspect = store.createSelector(selectApp, ɵ19);
1578
-
1579
- /*!
1580
- * @license
1581
- * Alfresco Example Content Application
1582
- *
1583
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1584
- *
1585
- * This file is part of the Alfresco Example Content Application.
1586
- * If the software was purchased under a paid Alfresco license, the terms of
1587
- * the paid license agreement will prevail. Otherwise, the software is
1588
- * provided under the following open source license terms:
1589
- *
1590
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1591
- * it under the terms of the GNU Lesser General Public License as published by
1592
- * the Free Software Foundation, either version 3 of the License, or
1593
- * (at your option) any later version.
1594
- *
1595
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1596
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1597
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1598
- * GNU Lesser General Public License for more details.
1599
- *
1600
- * You should have received a copy of the GNU Lesser General Public License
1601
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1602
- */
1603
-
1604
- /*!
1605
- * @license
1606
- * Alfresco Example Content Application
1607
- *
1608
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1609
- *
1610
- * This file is part of the Alfresco Example Content Application.
1611
- * If the software was purchased under a paid Alfresco license, the terms of
1612
- * the paid license agreement will prevail. Otherwise, the software is
1613
- * provided under the following open source license terms:
1614
- *
1615
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1616
- * it under the terms of the GNU Lesser General Public License as published by
1617
- * the Free Software Foundation, either version 3 of the License, or
1618
- * (at your option) any later version.
1619
- *
1620
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1621
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1622
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1623
- * GNU Lesser General Public License for more details.
1624
- *
1625
- * You should have received a copy of the GNU Lesser General Public License
1626
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1627
- */
1628
- var SharedStoreModule = /** @class */ (function () {
1629
- function SharedStoreModule() {
1630
- }
1631
- return SharedStoreModule;
1632
- }());
1633
- SharedStoreModule.decorators = [
1634
- { type: core.NgModule, args: [{
1635
- imports: [effects.EffectsModule.forFeature([SnackbarEffects, DialogEffects, RouterEffects])]
1636
- },] }
1637
- ];
1638
-
1639
- /*!
1640
- * @license
1641
- * Alfresco Example Content Application
1642
- *
1643
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
1644
- *
1645
- * This file is part of the Alfresco Example Content Application.
1646
- * If the software was purchased under a paid Alfresco license, the terms of
1647
- * the paid license agreement will prevail. Otherwise, the software is
1648
- * provided under the following open source license terms:
1649
- *
1650
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
1651
- * it under the terms of the GNU Lesser General Public License as published by
1652
- * the Free Software Foundation, either version 3 of the License, or
1653
- * (at your option) any later version.
1654
- *
1655
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
1656
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1657
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1658
- * GNU Lesser General Public License for more details.
1659
- *
1660
- * You should have received a copy of the GNU Lesser General Public License
1661
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
1662
- */
1663
-
1664
- /**
1665
- * Generated bundle index. Do not edit.
1666
- */
1667
-
1668
- exports.AddFavoriteAction = AddFavoriteAction;
1669
- exports.CloseModalDialogsAction = CloseModalDialogsAction;
1670
- exports.ClosePreviewAction = ClosePreviewAction;
1671
- exports.ContextMenu = ContextMenu;
1672
- exports.CopyNodesAction = CopyNodesAction;
1673
- exports.CreateFolderAction = CreateFolderAction;
1674
- exports.CreateFromTemplate = CreateFromTemplate;
1675
- exports.CreateFromTemplateSuccess = CreateFromTemplateSuccess;
1676
- exports.CreateLibraryAction = CreateLibraryAction;
1677
- exports.DeleteLibraryAction = DeleteLibraryAction;
1678
- exports.DeleteNodesAction = DeleteNodesAction;
1679
- exports.DialogEffects = DialogEffects;
1680
- exports.DownloadNodesAction = DownloadNodesAction;
1681
- exports.EditFolderAction = EditFolderAction;
1682
- exports.EditOfflineAction = EditOfflineAction;
1683
- exports.FileFromTemplate = FileFromTemplate;
1684
- exports.FolderFromTemplate = FolderFromTemplate;
1685
- exports.FullscreenViewerAction = FullscreenViewerAction;
1686
- exports.HideSearchFilterAction = HideSearchFilterAction;
1687
- exports.LeaveLibraryAction = LeaveLibraryAction;
1688
- exports.LogoutAction = LogoutAction;
1689
- exports.ManagePermissionsAction = ManagePermissionsAction;
1690
- exports.ManageVersionsAction = ManageVersionsAction;
1691
- exports.MoveNodesAction = MoveNodesAction;
1692
- exports.NavigateLibraryAction = NavigateLibraryAction;
1693
- exports.NavigateRouteAction = NavigateRouteAction;
1694
- exports.NavigateToFolder = NavigateToFolder;
1695
- exports.NavigateToParentFolder = NavigateToParentFolder;
1696
- exports.NavigateUrlAction = NavigateUrlAction;
1697
- exports.PluginPreviewAction = PluginPreviewAction;
1698
- exports.PrintFileAction = PrintFileAction;
1699
- exports.PurgeDeletedNodesAction = PurgeDeletedNodesAction;
1700
- exports.ReloadDocumentListAction = ReloadDocumentListAction;
1701
- exports.RemoveFavoriteAction = RemoveFavoriteAction;
1702
- exports.ResetSelectionAction = ResetSelectionAction;
1703
- exports.RestoreDeletedNodesAction = RestoreDeletedNodesAction;
1704
- exports.RouterEffects = RouterEffects;
1705
- exports.SET_INFO_DRAWER_METADATA_ASPECT = SET_INFO_DRAWER_METADATA_ASPECT;
1706
- exports.SearchByTermAction = SearchByTermAction;
1707
- exports.SetCurrentFolderAction = SetCurrentFolderAction;
1708
- exports.SetCurrentNodeVersionAction = SetCurrentNodeVersionAction;
1709
- exports.SetCurrentUrlAction = SetCurrentUrlAction;
1710
- exports.SetHeaderColorAction = SetHeaderColorAction;
1711
- exports.SetInfoDrawerMetadataAspectAction = SetInfoDrawerMetadataAspectAction;
1712
- exports.SetInfoDrawerStateAction = SetInfoDrawerStateAction;
1713
- exports.SetInitialStateAction = SetInitialStateAction;
1714
- exports.SetRepositoryInfoAction = SetRepositoryInfoAction;
1715
- exports.SetSelectedNodesAction = SetSelectedNodesAction;
1716
- exports.SetSettingsParameterAction = SetSettingsParameterAction;
1717
- exports.SetUserProfileAction = SetUserProfileAction;
1718
- exports.ShareNodeAction = ShareNodeAction;
1719
- exports.SharedStoreModule = SharedStoreModule;
1720
- exports.ShowSearchFilterAction = ShowSearchFilterAction;
1721
- exports.SnackbarEffects = SnackbarEffects;
1722
- exports.SnackbarErrorAction = SnackbarErrorAction;
1723
- exports.SnackbarInfoAction = SnackbarInfoAction;
1724
- exports.SnackbarUserAction = SnackbarUserAction;
1725
- exports.SnackbarWarningAction = SnackbarWarningAction;
1726
- exports.ToggleDocumentDisplayMode = ToggleDocumentDisplayMode;
1727
- exports.ToggleInfoDrawerAction = ToggleInfoDrawerAction;
1728
- exports.ToggleSearchFilterAction = ToggleSearchFilterAction;
1729
- exports.UndoDeleteNodesAction = UndoDeleteNodesAction;
1730
- exports.UnlockWriteAction = UnlockWriteAction;
1731
- exports.UnshareNodesAction = UnshareNodesAction;
1732
- exports.UpdateLibraryAction = UpdateLibraryAction;
1733
- exports.UploadFileVersionAction = UploadFileVersionAction;
1734
- exports.UploadFilesAction = UploadFilesAction;
1735
- exports.UploadFolderAction = UploadFolderAction;
1736
- exports.ViewFileAction = ViewFileAction;
1737
- exports.ViewNodeAction = ViewNodeAction;
1738
- exports.ViewNodeVersionAction = ViewNodeVersionAction;
1739
- exports.getAppName = getAppName;
1740
- exports.getAppSelection = getAppSelection;
1741
- exports.getCurrentFolder = getCurrentFolder;
1742
- exports.getCurrentVersion = getCurrentVersion;
1743
- exports.getDocumentDisplayMode = getDocumentDisplayMode;
1744
- exports.getHeaderColor = getHeaderColor;
1745
- exports.getHeaderImagePath = getHeaderImagePath;
1746
- exports.getLanguagePickerState = getLanguagePickerState;
1747
- exports.getLogoPath = getLogoPath;
1748
- exports.getNavigationState = getNavigationState;
1749
- exports.getRepositoryStatus = getRepositoryStatus;
1750
- exports.getRuleContext = getRuleContext;
1751
- exports.getSharedUrl = getSharedUrl;
1752
- exports.getSideNavState = getSideNavState;
1753
- exports.getUserProfile = getUserProfile;
1754
- exports.infoDrawerMetadataAspect = infoDrawerMetadataAspect;
1755
- exports.isAdmin = isAdmin;
1756
- exports.isInfoDrawerOpened = isInfoDrawerOpened;
1757
- exports.isQuickShareEnabled = isQuickShareEnabled;
1758
- exports.selectApp = selectApp;
1759
- exports.showFacetFilter = showFacetFilter;
1760
- exports.ɵ0 = ɵ0;
1761
- exports.ɵ1 = ɵ1;
1762
- exports.ɵ10 = ɵ10;
1763
- exports.ɵ11 = ɵ11;
1764
- exports.ɵ12 = ɵ12;
1765
- exports.ɵ13 = ɵ13;
1766
- exports.ɵ14 = ɵ14;
1767
- exports.ɵ15 = ɵ15;
1768
- exports.ɵ16 = ɵ16;
1769
- exports.ɵ17 = ɵ17;
1770
- exports.ɵ18 = ɵ18;
1771
- exports.ɵ19 = ɵ19;
1772
- exports.ɵ2 = ɵ2;
1773
- exports.ɵ3 = ɵ3;
1774
- exports.ɵ4 = ɵ4;
1775
- exports.ɵ5 = ɵ5;
1776
- exports.ɵ6 = ɵ6;
1777
- exports.ɵ7 = ɵ7;
1778
- exports.ɵ8 = ɵ8;
1779
- exports.ɵ9 = ɵ9;
1780
-
1781
- Object.defineProperty(exports, '__esModule', { value: true });
1782
-
1783
- })));
1784
- //# sourceMappingURL=alfresco-aca-shared-store.umd.js.map