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

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,462 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(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")):"function"==typeof define&&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"],t):t(((e=e||self).alfresco=e.alfresco||{},e.alfresco["aca-shared"]=e.alfresco["aca-shared"]||{},e.alfresco["aca-shared"].store={}),e.effects,e.ng.core,e.rxjs.operators,e.ng.material.dialog,e.ng.router,e.store,e.adfCore,e.ng.material.snackBar)}(this,(function(e,t,o,i,n,a,r,s,c){"use strict";
2
- /*!
3
- * @license
4
- * Alfresco Example Content Application
5
- *
6
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
7
- *
8
- * This file is part of the Alfresco Example Content Application.
9
- * If the software was purchased under a paid Alfresco license, the terms of
10
- * the paid license agreement will prevail. Otherwise, the software is
11
- * provided under the following open source license terms:
12
- *
13
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
14
- * it under the terms of the GNU Lesser General Public License as published by
15
- * the Free Software Foundation, either version 3 of the License, or
16
- * (at your option) any later version.
17
- *
18
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
19
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
- * GNU Lesser General Public License for more details.
22
- *
23
- * You should have received a copy of the GNU Lesser General Public License
24
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
25
- */var p;(p=e.AppActionTypes||(e.AppActionTypes={})).SetSettingsParameter="SET_SETTINGS_PARAMETER",p.SetInitialState="SET_INITIAL_STATE",p.SetHeaderColor="SET_HEADER_COLOR",p.SetCurrentFolder="SET_CURRENT_FOLDER",p.SetCurrentVersion="SET_CURRENT_VERSION",p.SetCurrentUrl="SET_CURRENT_URL",p.SetUserProfile="SET_USER_PROFILE",p.SetRepositoryInfo="SET_REPOSITORY_INFO",p.ToggleInfoDrawer="TOGGLE_INFO_DRAWER",p.ToggleDocumentDisplayMode="TOGGLE_DOCUMENT_DISPLAY_MODE",p.Logout="LOGOUT",p.ReloadDocumentList="RELOAD_DOCUMENT_LIST",p.ResetSelection="RESET_SELECTION",p.SetInfoDrawerState="SET_INFO_DRAWER_STATE",p.SetInfoDrawerMetadataAspect="SET_INFO_DRAWER_METADATA_ASPECT",p.CloseModalDialogs="CLOSE_MODAL_DIALOGS";var l,y=function(t){this.payload=t,this.type=e.AppActionTypes.SetSettingsParameter},d=function(t){this.payload=t,this.type=e.AppActionTypes.SetInitialState},A=function(t){this.color=t,this.type=e.AppActionTypes.SetHeaderColor},u=function(t){this.payload=t,this.type=e.AppActionTypes.SetCurrentFolder},f=function(t){this.payload=t,this.type=e.AppActionTypes.SetCurrentVersion},h=function(t){this.payload=t,this.type=e.AppActionTypes.SetCurrentUrl},T=function(t){this.payload=t,this.type=e.AppActionTypes.SetUserProfile},E=function(){this.type=e.AppActionTypes.ToggleInfoDrawer},S=function(){this.type=e.AppActionTypes.ToggleDocumentDisplayMode},g=function(){this.type=e.AppActionTypes.Logout},R=function(t){this.payload=t,this.type=e.AppActionTypes.ReloadDocumentList},N=function(t){this.payload=t,this.type=e.AppActionTypes.ResetSelection},F=function(t){this.payload=t,this.type=e.AppActionTypes.SetInfoDrawerState},_=function(){this.type=e.AppActionTypes.CloseModalDialogs},v=function(t){this.payload=t,this.type=e.AppActionTypes.SetRepositoryInfo};(
26
- /*!
27
- * @license
28
- * Alfresco Example Content Application
29
- *
30
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
31
- *
32
- * This file is part of the Alfresco Example Content Application.
33
- * If the software was purchased under a paid Alfresco license, the terms of
34
- * the paid license agreement will prevail. Otherwise, the software is
35
- * provided under the following open source license terms:
36
- *
37
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
38
- * it under the terms of the GNU Lesser General Public License as published by
39
- * the Free Software Foundation, either version 3 of the License, or
40
- * (at your option) any later version.
41
- *
42
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
43
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
44
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45
- * GNU Lesser General Public License for more details.
46
- *
47
- * You should have received a copy of the GNU Lesser General Public License
48
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
49
- */
50
- l=e.LibraryActionTypes||(e.LibraryActionTypes={})).Delete="DELETE_LIBRARY",l.Create="CREATE_LIBRARY",l.Navigate="NAVIGATE_LIBRARY",l.Update="UPDATE_LIBRARY",l.Leave="LEAVE_LIBRARY";var D,O=function(t){this.payload=t,this.type=e.LibraryActionTypes.Delete},m=function(){this.type=e.LibraryActionTypes.Create},I=function(t,o){this.payload=t,this.route=o,this.type=e.LibraryActionTypes.Navigate},L=function(t){this.payload=t,this.type=e.LibraryActionTypes.Update},C=function(t){this.payload=t,this.type=e.LibraryActionTypes.Leave};(
51
- /*!
52
- * @license
53
- * Alfresco Example Content Application
54
- *
55
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
56
- *
57
- * This file is part of the Alfresco Example Content Application.
58
- * If the software was purchased under a paid Alfresco license, the terms of
59
- * the paid license agreement will prevail. Otherwise, the software is
60
- * provided under the following open source license terms:
61
- *
62
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
63
- * it under the terms of the GNU Lesser General Public License as published by
64
- * the Free Software Foundation, either version 3 of the License, or
65
- * (at your option) any later version.
66
- *
67
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
68
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
69
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
70
- * GNU Lesser General Public License for more details.
71
- *
72
- * You should have received a copy of the GNU Lesser General Public License
73
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
74
- */
75
- D=e.NodeActionTypes||(e.NodeActionTypes={})).SetSelection="SET_SELECTED_NODES",D.Delete="DELETE_NODES",D.UndoDelete="UNDO_DELETE_NODES",D.RestoreDeleted="RESTORE_DELETED_NODES",D.PurgeDeleted="PURGE_DELETED_NODES",D.Download="DOWNLOAD_NODES",D.CreateFolder="CREATE_FOLDER",D.EditFolder="EDIT_FOLDER",D.Share="SHARE_NODE",D.Unshare="UNSHARE_NODES",D.Copy="COPY_NODES",D.Move="MOVE_NODES",D.ManagePermissions="MANAGE_PERMISSIONS",D.PrintFile="PRINT_FILE",D.ManageVersions="MANAGE_VERSIONS",D.EditOffline="EDIT_OFFLINE",D.UnlockForWriting="UNLOCK_WRITE_LOCK",D.AddFavorite="ADD_FAVORITE",D.RemoveFavorite="REMOVE_FAVORITE";var P,U=function(t){void 0===t&&(t=[]),this.payload=t,this.type=e.NodeActionTypes.SetSelection},b=function(t){void 0===t&&(t=[]),this.payload=t,this.type=e.NodeActionTypes.Delete},M=function(t){void 0===t&&(t=[]),this.payload=t,this.type=e.NodeActionTypes.UndoDelete},w=function(t){this.payload=t,this.type=e.NodeActionTypes.RestoreDeleted},V=function(t){this.payload=t,this.type=e.NodeActionTypes.PurgeDeleted},k=function(t){void 0===t&&(t=[]),this.payload=t,this.type=e.NodeActionTypes.Download},W=function(t){this.payload=t,this.type=e.NodeActionTypes.CreateFolder},j=function(t){this.payload=t,this.type=e.NodeActionTypes.EditFolder},B=function(t){this.payload=t,this.type=e.NodeActionTypes.Share},G=function(t){this.payload=t,this.type=e.NodeActionTypes.Unshare},$=function(t){this.payload=t,this.type=e.NodeActionTypes.Copy},x=function(t){this.payload=t,this.type=e.NodeActionTypes.Move},H=function(t){this.payload=t,this.type=e.NodeActionTypes.ManagePermissions},Y=function(t){this.payload=t,this.type=e.NodeActionTypes.PrintFile},q=function(t){this.payload=t,this.type=e.NodeActionTypes.ManageVersions},K=function(t){this.payload=t,this.type=e.NodeActionTypes.EditOffline},Q=function(t){this.payload=t,this.type=e.NodeActionTypes.UnlockForWriting},X=function(t){this.payload=t,this.type=e.NodeActionTypes.AddFavorite},z=function(t){this.payload=t,this.type=e.NodeActionTypes.RemoveFavorite};(
76
- /*!
77
- * @license
78
- * Alfresco Example Content Application
79
- *
80
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
81
- *
82
- * This file is part of the Alfresco Example Content Application.
83
- * If the software was purchased under a paid Alfresco license, the terms of
84
- * the paid license agreement will prevail. Otherwise, the software is
85
- * provided under the following open source license terms:
86
- *
87
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
88
- * it under the terms of the GNU Lesser General Public License as published by
89
- * the Free Software Foundation, either version 3 of the License, or
90
- * (at your option) any later version.
91
- *
92
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
93
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
94
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
95
- * GNU Lesser General Public License for more details.
96
- *
97
- * You should have received a copy of the GNU Lesser General Public License
98
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
99
- */
100
- P=e.RouterActionTypes||(e.RouterActionTypes={})).NavigateUrl="NAVIGATE_URL",P.NavigateRoute="NAVIGATE_ROUTE",P.NavigateFolder="NAVIGATE_FOLDER",P.NavigateParentFolder="NAVIGATE_PARENT_FOLDER";var J,Z=function(t){this.payload=t,this.type=e.RouterActionTypes.NavigateUrl},ee=function(t){this.payload=t,this.type=e.RouterActionTypes.NavigateRoute},te=function(t){this.payload=t,this.type=e.RouterActionTypes.NavigateFolder},oe=function(t){this.payload=t,this.type=e.RouterActionTypes.NavigateParentFolder};(
101
- /*!
102
- * @license
103
- * Alfresco Example Content Application
104
- *
105
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
106
- *
107
- * This file is part of the Alfresco Example Content Application.
108
- * If the software was purchased under a paid Alfresco license, the terms of
109
- * the paid license agreement will prevail. Otherwise, the software is
110
- * provided under the following open source license terms:
111
- *
112
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
113
- * it under the terms of the GNU Lesser General Public License as published by
114
- * the Free Software Foundation, either version 3 of the License, or
115
- * (at your option) any later version.
116
- *
117
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
118
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
119
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
120
- * GNU Lesser General Public License for more details.
121
- *
122
- * You should have received a copy of the GNU Lesser General Public License
123
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
124
- */
125
- J=e.SearchActionTypes||(e.SearchActionTypes={})).SearchByTerm="SEARCH_BY_TERM",J.ToggleFilter="TOGGLE_SEARCH_FILTER",J.ShowFilter="SHOW_SEARCH_FILTER",J.HideFilter="HIDE_SEARCH_FILTER";var ie,ne=function(t,o){this.payload=t,this.searchOptions=o,this.type=e.SearchActionTypes.SearchByTerm},ae=function(){this.type=e.SearchActionTypes.ToggleFilter},re=function(){this.type=e.SearchActionTypes.ShowFilter},se=function(){this.type=e.SearchActionTypes.HideFilter};(
126
- /*!
127
- * @license
128
- * Alfresco Example Content Application
129
- *
130
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
131
- *
132
- * This file is part of the Alfresco Example Content Application.
133
- * If the software was purchased under a paid Alfresco license, the terms of
134
- * the paid license agreement will prevail. Otherwise, the software is
135
- * provided under the following open source license terms:
136
- *
137
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
138
- * it under the terms of the GNU Lesser General Public License as published by
139
- * the Free Software Foundation, either version 3 of the License, or
140
- * (at your option) any later version.
141
- *
142
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
143
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
144
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
145
- * GNU Lesser General Public License for more details.
146
- *
147
- * You should have received a copy of the GNU Lesser General Public License
148
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
149
- */
150
- ie=e.SnackbarActionTypes||(e.SnackbarActionTypes={})).Info="SNACKBAR_INFO",ie.Warning="SNACKBAR_WARNING",ie.Error="SNACKBAR_ERROR";var ce,pe=function(e,t){this.title=e,this.action=t},le=function(t,o){this.payload=t,this.params=o,this.type=e.SnackbarActionTypes.Info,this.duration=4e3},ye=function(t,o){this.payload=t,this.params=o,this.type=e.SnackbarActionTypes.Warning,this.duration=4e3},de=function(t,o){this.payload=t,this.params=o,this.type=e.SnackbarActionTypes.Error,this.duration=4e3};(
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
- ce=e.UploadActionTypes||(e.UploadActionTypes={})).UploadFiles="UPLOAD_FILES",ce.UploadFolder="UPLOAD_FOLDER",ce.UploadFileVersion="UPLOAD_FILE_VERSION";var Ae,ue=function(t){this.payload=t,this.type=e.UploadActionTypes.UploadFiles},fe=function(t){this.payload=t,this.type=e.UploadActionTypes.UploadFolder},he=function(t){this.payload=t,this.type=e.UploadActionTypes.UploadFileVersion};(
176
- /*!
177
- * @license
178
- * Alfresco Example Content Application
179
- *
180
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
181
- *
182
- * This file is part of the Alfresco Example Content Application.
183
- * If the software was purchased under a paid Alfresco license, the terms of
184
- * the paid license agreement will prevail. Otherwise, the software is
185
- * provided under the following open source license terms:
186
- *
187
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
188
- * it under the terms of the GNU Lesser General Public License as published by
189
- * the Free Software Foundation, either version 3 of the License, or
190
- * (at your option) any later version.
191
- *
192
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
193
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
194
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
195
- * GNU Lesser General Public License for more details.
196
- *
197
- * You should have received a copy of the GNU Lesser General Public License
198
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
199
- */
200
- Ae=e.ViewerActionTypes||(e.ViewerActionTypes={})).ViewFile="VIEW_FILE",Ae.ViewNode="VIEW_NODE",Ae.ViewNodeVersion="VIEW_NODE_VERSION",Ae.FullScreen="FULLSCREEN_VIEWER",Ae.ClosePreview="CLOSE_PREVIEW",Ae.PluginPreview="PLUGIN_PREVIEW";var Te,Ee=function(t,o){this.payload=t,this.parentId=o,this.type=e.ViewerActionTypes.ViewFile},Se=function(t,o){this.nodeId=t,this.viewNodeExtras=o,this.type=e.ViewerActionTypes.ViewNode},ge=function(t,o,i){this.nodeId=t,this.versionId=o,this.viewNodeExtras=i,this.type=e.ViewerActionTypes.ViewNodeVersion},Re=function(t){this.payload=t,this.type=e.ViewerActionTypes.FullScreen},Ne=function(t){this.payload=t,this.type=e.ViewerActionTypes.ClosePreview},Fe=function(t,o){this.pluginRoute=t,this.nodeId=o,this.type=e.ViewerActionTypes.PluginPreview},_e=function(e){this.payload=e,this.type="SET_INFO_DRAWER_METADATA_ASPECT"};(
201
- /*!
202
- * @license
203
- * Alfresco Example Content Application
204
- *
205
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
206
- *
207
- * This file is part of the Alfresco Example Content Application.
208
- * If the software was purchased under a paid Alfresco license, the terms of
209
- * the paid license agreement will prevail. Otherwise, the software is
210
- * provided under the following open source license terms:
211
- *
212
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
213
- * it under the terms of the GNU Lesser General Public License as published by
214
- * the Free Software Foundation, either version 3 of the License, or
215
- * (at your option) any later version.
216
- *
217
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
218
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
219
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
220
- * GNU Lesser General Public License for more details.
221
- *
222
- * You should have received a copy of the GNU Lesser General Public License
223
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
224
- */
225
- Te=e.TemplateActionTypes||(e.TemplateActionTypes={})).FileFromTemplate="FILE_FROM_TEMPLATE",Te.FolderFromTemplate="FOLDER_FROM_TEMPLATE",Te.CreateFromTemplate="CREATE_FROM_TEMPLATE",Te.CreateFromTemplateSuccess="CREATE_FROM_TEMPLATE_SUCCESS";var ve=function(){this.type=e.TemplateActionTypes.FileFromTemplate},De=function(){this.type=e.TemplateActionTypes.FolderFromTemplate},Oe=function(t){this.payload=t,this.type=e.TemplateActionTypes.CreateFromTemplate},me=function(t){this.node=t,this.type=e.TemplateActionTypes.CreateFromTemplateSuccess};(e.ContextMenuActionTypes||(e.ContextMenuActionTypes={})).ContextMenu="CONTEXT_MENU";var Ie=function(t){this.event=t,this.type=e.ContextMenuActionTypes.ContextMenu};
226
- /*! *****************************************************************************
227
- Copyright (c) Microsoft Corporation.
228
-
229
- Permission to use, copy, modify, and/or distribute this software for any
230
- purpose with or without fee is hereby granted.
231
-
232
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
233
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
234
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
235
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
236
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
237
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
238
- PERFORMANCE OF THIS SOFTWARE.
239
- ***************************************************************************** */function Le(e,t,o,i){var n,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(r=(a<3?n(r):a>3?n(t,o,r):n(t,o))||r);return a>3&&r&&Object.defineProperty(t,o,r),r}function Ce(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}Object.create;Object.create;
240
- /*!
241
- * @license
242
- * Alfresco Example Content Application
243
- *
244
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
245
- *
246
- * This file is part of the Alfresco Example Content Application.
247
- * If the software was purchased under a paid Alfresco license, the terms of
248
- * the paid license agreement will prevail. Otherwise, the software is
249
- * provided under the following open source license terms:
250
- *
251
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
252
- * it under the terms of the GNU Lesser General Public License as published by
253
- * the Free Software Foundation, either version 3 of the License, or
254
- * (at your option) any later version.
255
- *
256
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
257
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
258
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
259
- * GNU Lesser General Public License for more details.
260
- *
261
- * You should have received a copy of the GNU Lesser General Public License
262
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
263
- */
264
- var Pe=function(o,n){var a=this;this.actions$=o,this.matDialog=n,this.closeAll$=this.actions$.pipe(t.ofType(e.AppActionTypes.CloseModalDialogs),i.map((function(){return a.matDialog.closeAll()})))};Pe.decorators=[{type:o.Injectable}],Pe.ctorParameters=function(){return[{type:t.Actions},{type:n.MatDialog}]},Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Pe.prototype,"closeAll$",void 0);
265
- /*!
266
- * @license
267
- * Alfresco Example Content Application
268
- *
269
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
270
- *
271
- * This file is part of the Alfresco Example Content Application.
272
- * If the software was purchased under a paid Alfresco license, the terms of
273
- * the paid license agreement will prevail. Otherwise, the software is
274
- * provided under the following open source license terms:
275
- *
276
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
277
- * it under the terms of the GNU Lesser General Public License as published by
278
- * the Free Software Foundation, either version 3 of the License, or
279
- * (at your option) any later version.
280
- *
281
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
282
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
283
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
284
- * GNU Lesser General Public License for more details.
285
- *
286
- * You should have received a copy of the GNU Lesser General Public License
287
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
288
- */
289
- var Ue=function(){function o(o,n,a){var r=this;this.store=o,this.actions$=n,this.router=a,this.navigateUrl$=this.actions$.pipe(t.ofType(e.RouterActionTypes.NavigateUrl),i.map((function(e){e.payload&&r.router.navigateByUrl(e.payload)}))),this.navigateRoute$=this.actions$.pipe(t.ofType(e.RouterActionTypes.NavigateRoute),i.map((function(e){r.router.navigate(e.payload)}))),this.navigateToFolder$=this.actions$.pipe(t.ofType(e.RouterActionTypes.NavigateFolder),i.map((function(e){e.payload&&e.payload.entry&&r.navigateToFolder(e.payload.entry)}))),this.navigateToParentFolder$=this.actions$.pipe(t.ofType(e.RouterActionTypes.NavigateParentFolder),i.map((function(e){e.payload&&e.payload.entry&&r.navigateToParentFolder(e.payload.entry)})))}return o.prototype.navigateToFolder=function(e){var t=this,o=null,i=e.path,n=e.id;if(i&&i.name&&i.elements){var a=this.isLibraryContent(i),r=i.elements[i.elements.length-1],s=a?"/libraries":"/personal-files";o=a?[s,"Sites"===r.name?{}:n]:[s,n],setTimeout((function(){t.router.navigate(o)}),10)}else this.router.navigate(["/personal-files",e.id])},o.prototype.navigateToParentFolder=function(e){var t=this,o=null,i=e.path;if(i&&i.name&&i.elements){var n=this.isLibraryContent(i),a=i.elements[i.elements.length-1],r=n?"/libraries":"/personal-files";o=n?[r,"Sites"===a.name?{}:a.id]:[r,a.id],setTimeout((function(){t.router.navigate(o)}),10)}else this.store.dispatch(new de("APP.MESSAGES.ERRORS.CANNOT_NAVIGATE_LOCATION"))},o.prototype.isLibraryContent=function(e){return!!(e&&e.elements.length>=2&&"Sites"===e.elements[1].name)},o}();Ue.decorators=[{type:o.Injectable}],Ue.ctorParameters=function(){return[{type:r.Store},{type:t.Actions},{type:a.Router}]},Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Ue.prototype,"navigateUrl$",void 0),Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Ue.prototype,"navigateRoute$",void 0),Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Ue.prototype,"navigateToFolder$",void 0),Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Ue.prototype,"navigateToParentFolder$",void 0);
290
- /*!
291
- * @license
292
- * Alfresco Example Content Application
293
- *
294
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
295
- *
296
- * This file is part of the Alfresco Example Content Application.
297
- * If the software was purchased under a paid Alfresco license, the terms of
298
- * the paid license agreement will prevail. Otherwise, the software is
299
- * provided under the following open source license terms:
300
- *
301
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
302
- * it under the terms of the GNU Lesser General Public License as published by
303
- * the Free Software Foundation, either version 3 of the License, or
304
- * (at your option) any later version.
305
- *
306
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
307
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
308
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
309
- * GNU Lesser General Public License for more details.
310
- *
311
- * You should have received a copy of the GNU Lesser General Public License
312
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
313
- */
314
- var be,Me=function(){function o(o,n,a,r){var s=this;this.store=o,this.actions$=n,this.snackBar=a,this.translationService=r,this.infoEffect=this.actions$.pipe(t.ofType(e.SnackbarActionTypes.Info),i.map((function(e){s.showSnackBar(e,"info-snackbar")}))),this.warningEffect=this.actions$.pipe(t.ofType(e.SnackbarActionTypes.Warning),i.map((function(e){s.showSnackBar(e,"warning-snackbar")}))),this.errorEffect=this.actions$.pipe(t.ofType(e.SnackbarActionTypes.Error),i.map((function(e){s.showSnackBar(e,"error-snackbar")})))}return o.prototype.showSnackBar=function(e,t){var o=this,i=this.translate(e.payload,e.params),n=null;e.userAction&&(n=this.translate(e.userAction.title));var a=this.snackBar.open(i,n,{duration:e.duration||4e3,panelClass:t});e.userAction&&a.onAction().subscribe((function(){o.store.dispatch(e.userAction.action)}))},o.prototype.translate=function(e,t){return this.translationService.instant(e,t)},o}();Me.decorators=[{type:o.Injectable}],Me.ctorParameters=function(){return[{type:r.Store},{type:t.Actions},{type:c.MatSnackBar},{type:s.TranslationService}]},Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Me.prototype,"infoEffect",void 0),Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Me.prototype,"warningEffect",void 0),Le([t.Effect({dispatch:!1}),Ce("design:type",Object)],Me.prototype,"errorEffect",void 0),(
315
- /*!
316
- * @license
317
- * Alfresco Example Content Application
318
- *
319
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
320
- *
321
- * This file is part of the Alfresco Example Content Application.
322
- * If the software was purchased under a paid Alfresco license, the terms of
323
- * the paid license agreement will prevail. Otherwise, the software is
324
- * provided under the following open source license terms:
325
- *
326
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
327
- * it under the terms of the GNU Lesser General Public License as published by
328
- * the Free Software Foundation, either version 3 of the License, or
329
- * (at your option) any later version.
330
- *
331
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
332
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
333
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
334
- * GNU Lesser General Public License for more details.
335
- *
336
- * You should have received a copy of the GNU Lesser General Public License
337
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
338
- */
339
- /*!
340
- * @license
341
- * Alfresco Example Content Application
342
- *
343
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
344
- *
345
- * This file is part of the Alfresco Example Content Application.
346
- * If the software was purchased under a paid Alfresco license, the terms of
347
- * the paid license agreement will prevail. Otherwise, the software is
348
- * provided under the following open source license terms:
349
- *
350
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
351
- * it under the terms of the GNU Lesser General Public License as published by
352
- * the Free Software Foundation, either version 3 of the License, or
353
- * (at your option) any later version.
354
- *
355
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
356
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
357
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
358
- * GNU Lesser General Public License for more details.
359
- *
360
- * You should have received a copy of the GNU Lesser General Public License
361
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
362
- */
363
- /*!
364
- * @license
365
- * Alfresco Example Content Application
366
- *
367
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
368
- *
369
- * This file is part of the Alfresco Example Content Application.
370
- * If the software was purchased under a paid Alfresco license, the terms of
371
- * the paid license agreement will prevail. Otherwise, the software is
372
- * provided under the following open source license terms:
373
- *
374
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
375
- * it under the terms of the GNU Lesser General Public License as published by
376
- * the Free Software Foundation, either version 3 of the License, or
377
- * (at your option) any later version.
378
- *
379
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
380
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
381
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
382
- * GNU Lesser General Public License for more details.
383
- *
384
- * You should have received a copy of the GNU Lesser General Public License
385
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
386
- */
387
- /*!
388
- * @license
389
- * Alfresco Example Content Application
390
- *
391
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
392
- *
393
- * This file is part of the Alfresco Example Content Application.
394
- * If the software was purchased under a paid Alfresco license, the terms of
395
- * the paid license agreement will prevail. Otherwise, the software is
396
- * provided under the following open source license terms:
397
- *
398
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
399
- * it under the terms of the GNU Lesser General Public License as published by
400
- * the Free Software Foundation, either version 3 of the License, or
401
- * (at your option) any later version.
402
- *
403
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
404
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
405
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
406
- * GNU Lesser General Public License for more details.
407
- *
408
- * You should have received a copy of the GNU Lesser General Public License
409
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
410
- */
411
- be=e.SearchOptionIds||(e.SearchOptionIds={})).Files="content",be.Folders="folder",be.Libraries="libraries";
412
- /*!
413
- * @license
414
- * Alfresco Example Content Application
415
- *
416
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
417
- *
418
- * This file is part of the Alfresco Example Content Application.
419
- * If the software was purchased under a paid Alfresco license, the terms of
420
- * the paid license agreement will prevail. Otherwise, the software is
421
- * provided under the following open source license terms:
422
- *
423
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
424
- * it under the terms of the GNU Lesser General Public License as published by
425
- * the Free Software Foundation, either version 3 of the License, or
426
- * (at your option) any later version.
427
- *
428
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
429
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
430
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
431
- * GNU Lesser General Public License for more details.
432
- *
433
- * You should have received a copy of the GNU Lesser General Public License
434
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
435
- */
436
- var we=function(e){return e.app},Ve=function(e){return e.headerColor},ke=r.createSelector(we,Ve),We=function(e){return e.appName},je=r.createSelector(we,We),Be=function(e){return e.logoPath},Ge=r.createSelector(we,Be),$e=function(e){return e.headerImagePath},xe=r.createSelector(we,$e),He=function(e){return e.languagePicker},Ye=r.createSelector(we,He),qe=function(e){return e.user},Ke=r.createSelector(we,qe),Qe=function(e){return e.navigation.currentFolder},Xe=r.createSelector(we,Qe),ze=function(e){return e.currentNodeVersion},Je=r.createSelector(we,ze),Ze=function(e){return e.selection},et=r.createSelector(we,Ze),tt=function(e){return e.sharedUrl},ot=r.createSelector(we,tt),it=function(e){return e.navigation},nt=r.createSelector(we,it),at=function(e){return e.infoDrawerOpened},rt=r.createSelector(we,at),st=function(e){return e.showFacetFilter},ct=r.createSelector(we,st),pt=function(e){return e.documentDisplayMode},lt=r.createSelector(we,pt),yt=function(e){return e.repository},dt=r.createSelector(we,yt),At=function(e){return e.status.isQuickShareEnabled},ut=r.createSelector(dt,At),ft=function(e){return e.user.isAdmin},ht=r.createSelector(we,ft),Tt=function(e,t){return{selection:e,navigation:t}},Et=r.createSelector(et,nt,Tt),St=function(e,t,o,i){return{selection:e,navigation:t,profile:o,repository:i}},gt=r.createSelector(et,nt,Ke,dt,St),Rt=function(e){return e.infoDrawerMetadataAspect},Nt=r.createSelector(we,Rt),Ft=function(){};Ft.decorators=[{type:o.NgModule,args:[{imports:[t.EffectsModule.forFeature([Me,Pe,Ue])]}]}],
437
- /*!
438
- * @license
439
- * Alfresco Example Content Application
440
- *
441
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
442
- *
443
- * This file is part of the Alfresco Example Content Application.
444
- * If the software was purchased under a paid Alfresco license, the terms of
445
- * the paid license agreement will prevail. Otherwise, the software is
446
- * provided under the following open source license terms:
447
- *
448
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
449
- * it under the terms of the GNU Lesser General Public License as published by
450
- * the Free Software Foundation, either version 3 of the License, or
451
- * (at your option) any later version.
452
- *
453
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
454
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
455
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
456
- * GNU Lesser General Public License for more details.
457
- *
458
- * You should have received a copy of the GNU Lesser General Public License
459
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
460
- */
461
- e.AddFavoriteAction=X,e.CloseModalDialogsAction=_,e.ClosePreviewAction=Ne,e.ContextMenu=Ie,e.CopyNodesAction=$,e.CreateFolderAction=W,e.CreateFromTemplate=Oe,e.CreateFromTemplateSuccess=me,e.CreateLibraryAction=m,e.DeleteLibraryAction=O,e.DeleteNodesAction=b,e.DialogEffects=Pe,e.DownloadNodesAction=k,e.EditFolderAction=j,e.EditOfflineAction=K,e.FileFromTemplate=ve,e.FolderFromTemplate=De,e.FullscreenViewerAction=Re,e.HideSearchFilterAction=se,e.LeaveLibraryAction=C,e.LogoutAction=g,e.ManagePermissionsAction=H,e.ManageVersionsAction=q,e.MoveNodesAction=x,e.NavigateLibraryAction=I,e.NavigateRouteAction=ee,e.NavigateToFolder=te,e.NavigateToParentFolder=oe,e.NavigateUrlAction=Z,e.PluginPreviewAction=Fe,e.PrintFileAction=Y,e.PurgeDeletedNodesAction=V,e.ReloadDocumentListAction=R,e.RemoveFavoriteAction=z,e.ResetSelectionAction=N,e.RestoreDeletedNodesAction=w,e.RouterEffects=Ue,e.SET_INFO_DRAWER_METADATA_ASPECT="SET_INFO_DRAWER_METADATA_ASPECT",e.SearchByTermAction=ne,e.SetCurrentFolderAction=u,e.SetCurrentNodeVersionAction=f,e.SetCurrentUrlAction=h,e.SetHeaderColorAction=A,e.SetInfoDrawerMetadataAspectAction=_e,e.SetInfoDrawerStateAction=F,e.SetInitialStateAction=d,e.SetRepositoryInfoAction=v,e.SetSelectedNodesAction=U,e.SetSettingsParameterAction=y,e.SetUserProfileAction=T,e.ShareNodeAction=B,e.SharedStoreModule=Ft,e.ShowSearchFilterAction=re,e.SnackbarEffects=Me,e.SnackbarErrorAction=de,e.SnackbarInfoAction=le,e.SnackbarUserAction=pe,e.SnackbarWarningAction=ye,e.ToggleDocumentDisplayMode=S,e.ToggleInfoDrawerAction=E,e.ToggleSearchFilterAction=ae,e.UndoDeleteNodesAction=M,e.UnlockWriteAction=Q,e.UnshareNodesAction=G,e.UpdateLibraryAction=L,e.UploadFileVersionAction=he,e.UploadFilesAction=ue,e.UploadFolderAction=fe,e.ViewFileAction=Ee,e.ViewNodeAction=Se,e.ViewNodeVersionAction=ge,e.getAppName=je,e.getAppSelection=et,e.getCurrentFolder=Xe,e.getCurrentVersion=Je,e.getDocumentDisplayMode=lt,e.getHeaderColor=ke,e.getHeaderImagePath=xe,e.getLanguagePickerState=Ye,e.getLogoPath=Ge,e.getNavigationState=nt,e.getRepositoryStatus=dt,e.getRuleContext=gt,e.getSharedUrl=ot,e.getSideNavState=Et,e.getUserProfile=Ke,e.infoDrawerMetadataAspect=Nt,e.isAdmin=ht,e.isInfoDrawerOpened=rt,e.isQuickShareEnabled=ut,e.selectApp=we,e.showFacetFilter=ct,e.ɵ0=Ve,e.ɵ1=We,e.ɵ10=it,e.ɵ11=at,e.ɵ12=st,e.ɵ13=pt,e.ɵ14=yt,e.ɵ15=At,e.ɵ16=ft,e.ɵ17=Tt,e.ɵ18=St,e.ɵ19=Rt,e.ɵ2=Be,e.ɵ3=$e,e.ɵ4=He,e.ɵ5=qe,e.ɵ6=Qe,e.ɵ7=ze,e.ɵ8=Ze,e.ɵ9=tt,Object.defineProperty(e,"__esModule",{value:!0})}));
462
- //# sourceMappingURL=alfresco-aca-shared-store.umd.min.js.map