@alfresco/aca-shared 1.12.0 → 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 (297) hide show
  1. package/README.md +2 -1
  2. package/esm2020/alfresco-aca-shared.mjs +5 -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/{esm2015/lib/models/types.js → esm2020/lib/components/page-layout/page-layout-error.component.mjs} +16 -42
  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/locked-by/locked-by.module.js → esm2020/lib/directives/contextmenu/contextmenu.module.mjs} +17 -16
  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/esm2020/lib/models/types.mjs +26 -0
  28. package/esm2020/lib/models/viewer.rules.mjs +26 -0
  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/esm2020/lib/services/node-permission.service.mjs +90 -0
  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/esm2020/lib/testing/translation.service.mjs +45 -0
  40. package/esm2020/lib/utils/node.utils.mjs +34 -0
  41. package/esm2020/public-api.mjs +63 -0
  42. package/esm2020/rules/alfresco-aca-shared-rules.mjs +5 -0
  43. package/esm2020/rules/app.rules.mjs +503 -0
  44. package/esm2020/rules/navigation.rules.mjs +152 -0
  45. package/{esm5/store/store.module.js → esm2020/rules/public-api.mjs} +5 -23
  46. package/{esm5/store/actions/metadata-aspect.actions.js → esm2020/rules/repository.rules.mjs} +9 -20
  47. package/{esm2015/rules/repository.rules.js → esm2020/rules/user.rules.mjs} +4 -12
  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/{esm5/lib/components/locked-by/locked-by.module.js → esm2020/store/actions/metadata-aspect.actions.mjs} +7 -21
  54. package/esm2020/store/actions/node.actions.mjs +189 -0
  55. package/esm2020/store/actions/router-action-types.mjs +33 -0
  56. package/esm2020/store/actions/router.actions.mjs +55 -0
  57. package/{esm2015/lib/components/page-layout/page-layout-content.component.js → esm2020/store/actions/search.actions.mjs} +10 -27
  58. package/esm2020/store/actions/snackbar.actions.mjs +58 -0
  59. package/esm2020/store/actions/template-action-types.mjs +32 -0
  60. package/esm2020/store/actions/template.actions.mjs +48 -0
  61. package/esm2020/store/actions/upload.actions.mjs +50 -0
  62. package/esm2020/store/actions/viewer.actions.mjs +82 -0
  63. package/esm2020/store/alfresco-aca-shared-store.mjs +5 -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/esm2020/store/models/delete-status.model.mjs +26 -0
  68. package/esm2020/store/models/deleted-node-info.model.mjs +26 -0
  69. package/esm2020/store/models/modal-configuration.mjs +2 -0
  70. package/{esm2015/lib/components/page-layout/page-layout-error.component.js → esm2020/store/models/node-info.model.mjs} +2 -19
  71. package/{esm5/lib/components/page-layout/page-layout-error.component.js → esm2020/store/models/search-option.model.mjs} +7 -21
  72. package/esm2020/store/public-api.mjs +50 -0
  73. package/esm2020/store/selectors/app.selectors.mjs +60 -0
  74. package/{esm5/lib/directives/shared.directives.module.js → esm2020/store/states/app.state.mjs} +3 -21
  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.mjs +1327 -0
  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} +273 -353
  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/{rules/alfresco-aca-shared-rules.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 +15 -6
  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 +31 -53
  118. package/lib/services/app.service.d.ts +43 -7
  119. package/lib/services/content-api.service.d.ts +35 -25
  120. package/lib/services/node-permission.service.d.ts +3 -24
  121. package/lib/services/router.extension.service.d.ts +21 -0
  122. package/lib/shared.module.d.ts +6 -1
  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 +58 -21
  126. package/public-api.d.ts +19 -5
  127. package/rules/app.rules.d.ts +104 -30
  128. package/{store/alfresco-aca-shared-store.d.ts → rules/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 +25 -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 +22 -1
  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/index.d.ts +5 -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 +33 -19
  153. package/store/states/app.state.d.ts +10 -2
  154. package/store/store.module.d.ts +5 -24
  155. package/alfresco-aca-shared.d.ts +0 -11
  156. package/alfresco-aca-shared.metadata.json +0 -1
  157. package/bundles/alfresco-aca-shared-rules.umd.js +0 -895
  158. package/bundles/alfresco-aca-shared-rules.umd.js.map +0 -1
  159. package/bundles/alfresco-aca-shared-rules.umd.min.js +0 -75
  160. package/bundles/alfresco-aca-shared-rules.umd.min.js.map +0 -1
  161. package/bundles/alfresco-aca-shared-store.umd.js +0 -1399
  162. package/bundles/alfresco-aca-shared-store.umd.js.map +0 -1
  163. package/bundles/alfresco-aca-shared-store.umd.min.js +0 -26
  164. package/bundles/alfresco-aca-shared-store.umd.min.js.map +0 -1
  165. package/bundles/alfresco-aca-shared.umd.js +0 -2845
  166. package/bundles/alfresco-aca-shared.umd.js.map +0 -1
  167. package/bundles/alfresco-aca-shared.umd.min.js +0 -27
  168. package/bundles/alfresco-aca-shared.umd.min.js.map +0 -1
  169. package/esm2015/alfresco-aca-shared.js +0 -16
  170. package/esm2015/lib/adf-extensions/extensions-data-loader.guard.js +0 -106
  171. package/esm2015/lib/components/generic-error/generic-error.component.js +0 -52
  172. package/esm2015/lib/components/generic-error/generic-error.module.js +0 -43
  173. package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -179
  174. package/esm2015/lib/components/info-drawer/shared-info-drawer.module.js +0 -52
  175. package/esm2015/lib/components/locked-by/locked-by.component.js +0 -74
  176. package/esm2015/lib/components/page-layout/page-layout-header.component.js +0 -41
  177. package/esm2015/lib/components/page-layout/page-layout.component.js +0 -52
  178. package/esm2015/lib/components/page-layout/page-layout.module.js +0 -54
  179. package/esm2015/lib/components/tool-bar/shared-toolbar.module.js +0 -56
  180. package/esm2015/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -81
  181. package/esm2015/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -96
  182. package/esm2015/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -69
  183. package/esm2015/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -95
  184. package/esm2015/lib/directives/contextmenu/contextmenu.directive.js +0 -156
  185. package/esm2015/lib/directives/contextmenu/contextmenu.module.js +0 -42
  186. package/esm2015/lib/directives/pagination.directive.js +0 -93
  187. package/esm2015/lib/directives/shared.directives.module.js +0 -41
  188. package/esm2015/lib/models/viewer.rules.js +0 -40
  189. package/esm2015/lib/routing/app.routes.strategy.js +0 -207
  190. package/esm2015/lib/routing/shared.guard.js +0 -70
  191. package/esm2015/lib/services/app.extension.service.js +0 -686
  192. package/esm2015/lib/services/app.service.js +0 -95
  193. package/esm2015/lib/services/content-api.service.js +0 -331
  194. package/esm2015/lib/services/node-permission.service.js +0 -133
  195. package/esm2015/lib/shared.module.js +0 -51
  196. package/esm2015/lib/utils/node.utils.js +0 -53
  197. package/esm2015/public-api.js +0 -53
  198. package/esm2015/rules/alfresco-aca-shared-rules.js +0 -9
  199. package/esm2015/rules/app.rules.js +0 -563
  200. package/esm2015/rules/navigation.rules.js +0 -211
  201. package/esm2015/rules/public-api.js +0 -33
  202. package/esm2015/rules/user.rules.js +0 -38
  203. package/esm2015/store/actions/app.actions.js +0 -234
  204. package/esm2015/store/actions/contextmenu.actions.js +0 -49
  205. package/esm2015/store/actions/library.actions.js +0 -111
  206. package/esm2015/store/actions/metadata-aspect.actions.js +0 -46
  207. package/esm2015/store/actions/node.actions.js +0 -337
  208. package/esm2015/store/actions/router.actions.js +0 -97
  209. package/esm2015/store/actions/search.actions.js +0 -83
  210. package/esm2015/store/actions/snackbar.actions.js +0 -138
  211. package/esm2015/store/actions/template.actions.js +0 -85
  212. package/esm2015/store/actions/upload.actions.js +0 -81
  213. package/esm2015/store/actions/viewer.actions.js +0 -115
  214. package/esm2015/store/alfresco-aca-shared-store.js +0 -9
  215. package/esm2015/store/effects/dialog.effects.js +0 -72
  216. package/esm2015/store/effects/router.effects.js +0 -192
  217. package/esm2015/store/effects/snackbar.effects.js +0 -144
  218. package/esm2015/store/models/delete-status.model.js +0 -55
  219. package/esm2015/store/models/deleted-node-info.model.js +0 -41
  220. package/esm2015/store/models/node-info.model.js +0 -45
  221. package/esm2015/store/models/search-option.model.js +0 -52
  222. package/esm2015/store/public-api.js +0 -50
  223. package/esm2015/store/selectors/app.selectors.js +0 -82
  224. package/esm2015/store/states/app.state.js +0 -71
  225. package/esm2015/store/store.module.js +0 -43
  226. package/esm5/alfresco-aca-shared.js +0 -16
  227. package/esm5/lib/adf-extensions/extensions-data-loader.guard.js +0 -115
  228. package/esm5/lib/components/generic-error/generic-error.component.js +0 -54
  229. package/esm5/lib/components/generic-error/generic-error.module.js +0 -47
  230. package/esm5/lib/components/info-drawer/info-drawer.component.js +0 -209
  231. package/esm5/lib/components/info-drawer/shared-info-drawer.module.js +0 -56
  232. package/esm5/lib/components/locked-by/locked-by.component.js +0 -80
  233. package/esm5/lib/components/page-layout/page-layout-content.component.js +0 -53
  234. package/esm5/lib/components/page-layout/page-layout-header.component.js +0 -45
  235. package/esm5/lib/components/page-layout/page-layout.component.js +0 -54
  236. package/esm5/lib/components/page-layout/page-layout.module.js +0 -58
  237. package/esm5/lib/components/tool-bar/shared-toolbar.module.js +0 -60
  238. package/esm5/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -88
  239. package/esm5/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -103
  240. package/esm5/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -80
  241. package/esm5/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -103
  242. package/esm5/lib/directives/contextmenu/contextmenu.directive.js +0 -187
  243. package/esm5/lib/directives/contextmenu/contextmenu.module.js +0 -46
  244. package/esm5/lib/directives/pagination.directive.js +0 -97
  245. package/esm5/lib/models/types.js +0 -67
  246. package/esm5/lib/models/viewer.rules.js +0 -40
  247. package/esm5/lib/routing/app.routes.strategy.js +0 -268
  248. package/esm5/lib/routing/shared.guard.js +0 -77
  249. package/esm5/lib/services/app.extension.service.js +0 -835
  250. package/esm5/lib/services/app.service.js +0 -100
  251. package/esm5/lib/services/content-api.service.js +0 -495
  252. package/esm5/lib/services/node-permission.service.js +0 -161
  253. package/esm5/lib/shared.module.js +0 -58
  254. package/esm5/lib/utils/node.utils.js +0 -53
  255. package/esm5/public-api.js +0 -53
  256. package/esm5/rules/alfresco-aca-shared-rules.js +0 -9
  257. package/esm5/rules/app.rules.js +0 -563
  258. package/esm5/rules/navigation.rules.js +0 -211
  259. package/esm5/rules/public-api.js +0 -33
  260. package/esm5/rules/repository.rules.js +0 -38
  261. package/esm5/rules/user.rules.js +0 -38
  262. package/esm5/store/actions/app.actions.js +0 -232
  263. package/esm5/store/actions/contextmenu.actions.js +0 -48
  264. package/esm5/store/actions/library.actions.js +0 -108
  265. package/esm5/store/actions/node.actions.js +0 -322
  266. package/esm5/store/actions/router.actions.js +0 -93
  267. package/esm5/store/actions/search.actions.js +0 -87
  268. package/esm5/store/actions/snackbar.actions.js +0 -130
  269. package/esm5/store/actions/template.actions.js +0 -87
  270. package/esm5/store/actions/upload.actions.js +0 -78
  271. package/esm5/store/actions/viewer.actions.js +0 -109
  272. package/esm5/store/alfresco-aca-shared-store.js +0 -9
  273. package/esm5/store/effects/dialog.effects.js +0 -71
  274. package/esm5/store/effects/router.effects.js +0 -207
  275. package/esm5/store/effects/snackbar.effects.js +0 -154
  276. package/esm5/store/models/delete-status.model.js +0 -55
  277. package/esm5/store/models/deleted-node-info.model.js +0 -41
  278. package/esm5/store/models/node-info.model.js +0 -45
  279. package/esm5/store/models/search-option.model.js +0 -52
  280. package/esm5/store/public-api.js +0 -50
  281. package/esm5/store/selectors/app.selectors.js +0 -82
  282. package/esm5/store/states/app.state.js +0 -71
  283. package/fesm2015/alfresco-aca-shared-rules.js.map +0 -1
  284. package/fesm2015/alfresco-aca-shared-store.js +0 -1354
  285. package/fesm2015/alfresco-aca-shared-store.js.map +0 -1
  286. package/fesm2015/alfresco-aca-shared.js +0 -2096
  287. package/fesm2015/alfresco-aca-shared.js.map +0 -1
  288. package/fesm5/alfresco-aca-shared-rules.js +0 -827
  289. package/fesm5/alfresco-aca-shared-rules.js.map +0 -1
  290. package/fesm5/alfresco-aca-shared-store.js +0 -1278
  291. package/fesm5/alfresco-aca-shared-store.js.map +0 -1
  292. package/fesm5/alfresco-aca-shared.js +0 -2637
  293. package/fesm5/alfresco-aca-shared.js.map +0 -1
  294. package/rules/alfresco-aca-shared-rules.metadata.json +0 -1
  295. package/rules/package.json +0 -13
  296. package/store/alfresco-aca-shared-store.metadata.json +0 -1
  297. package/store/package.json +0 -13
@@ -23,9 +23,7 @@
23
23
  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
24
  */
25
25
  import { Action } from '@ngrx/store';
26
- export declare enum ContextMenuActionTypes {
27
- ContextMenu = "CONTEXT_MENU"
28
- }
26
+ import { ContextMenuActionTypes } from './context-menu-action-types';
29
27
  export declare class ContextMenu implements Action {
30
28
  event: MouseEvent;
31
29
  readonly type = ContextMenuActionTypes.ContextMenu;
@@ -24,6 +24,7 @@
24
24
  */
25
25
  import { Action } from '@ngrx/store';
26
26
  import { SiteBody } from '@alfresco/js-api';
27
+ import { ModalConfiguration } from '../models/modal-configuration';
27
28
  export declare enum LibraryActionTypes {
28
29
  Delete = "DELETE_LIBRARY",
29
30
  Create = "CREATE_LIBRARY",
@@ -52,6 +53,7 @@ export declare class UpdateLibraryAction implements Action {
52
53
  }
53
54
  export declare class LeaveLibraryAction implements Action {
54
55
  payload?: string;
56
+ configuration?: ModalConfiguration;
55
57
  readonly type = LibraryActionTypes.Leave;
56
- constructor(payload?: string);
58
+ constructor(payload?: string, configuration?: ModalConfiguration);
57
59
  }
@@ -24,6 +24,7 @@
24
24
  */
25
25
  import { Action } from '@ngrx/store';
26
26
  import { MinimalNodeEntity } from '@alfresco/js-api';
27
+ import { ModalConfiguration } from '../models/modal-configuration';
27
28
  export declare enum NodeActionTypes {
28
29
  SetSelection = "SET_SELECTED_NODES",
29
30
  Delete = "DELETE_NODES",
@@ -43,7 +44,10 @@ export declare enum NodeActionTypes {
43
44
  EditOffline = "EDIT_OFFLINE",
44
45
  UnlockForWriting = "UNLOCK_WRITE_LOCK",
45
46
  AddFavorite = "ADD_FAVORITE",
46
- RemoveFavorite = "REMOVE_FAVORITE"
47
+ RemoveFavorite = "REMOVE_FAVORITE",
48
+ ChangeAspects = "ASPECT_LIST",
49
+ ExpandInfoDrawer = "EXPAND_INFO_DRAWER",
50
+ ManageRules = "MANAGE_RULES"
47
51
  }
48
52
  export declare class SetSelectedNodesAction implements Action {
49
53
  payload: MinimalNodeEntity[];
@@ -72,8 +76,9 @@ export declare class PurgeDeletedNodesAction implements Action {
72
76
  }
73
77
  export declare class DownloadNodesAction implements Action {
74
78
  payload: MinimalNodeEntity[];
79
+ configuration?: ModalConfiguration;
75
80
  readonly type = NodeActionTypes.Download;
76
- constructor(payload?: MinimalNodeEntity[]);
81
+ constructor(payload?: MinimalNodeEntity[], configuration?: ModalConfiguration);
77
82
  }
78
83
  export declare class CreateFolderAction implements Action {
79
84
  payload: string;
@@ -82,13 +87,15 @@ export declare class CreateFolderAction implements Action {
82
87
  }
83
88
  export declare class EditFolderAction implements Action {
84
89
  payload: MinimalNodeEntity;
90
+ configuration?: ModalConfiguration;
85
91
  readonly type = NodeActionTypes.EditFolder;
86
- constructor(payload: MinimalNodeEntity);
92
+ constructor(payload: MinimalNodeEntity, configuration?: ModalConfiguration);
87
93
  }
88
94
  export declare class ShareNodeAction implements Action {
89
95
  payload: MinimalNodeEntity;
96
+ configuration?: ModalConfiguration;
90
97
  readonly type = NodeActionTypes.Share;
91
- constructor(payload: MinimalNodeEntity);
98
+ constructor(payload: MinimalNodeEntity, configuration?: ModalConfiguration);
92
99
  }
93
100
  export declare class UnshareNodesAction implements Action {
94
101
  payload: Array<MinimalNodeEntity>;
@@ -97,19 +104,26 @@ export declare class UnshareNodesAction implements Action {
97
104
  }
98
105
  export declare class CopyNodesAction implements Action {
99
106
  payload: Array<MinimalNodeEntity>;
107
+ configuration?: ModalConfiguration;
100
108
  readonly type = NodeActionTypes.Copy;
101
- constructor(payload: Array<MinimalNodeEntity>);
109
+ constructor(payload: Array<MinimalNodeEntity>, configuration?: ModalConfiguration);
102
110
  }
103
111
  export declare class MoveNodesAction implements Action {
104
112
  payload: Array<MinimalNodeEntity>;
113
+ configuration?: ModalConfiguration;
105
114
  readonly type = NodeActionTypes.Move;
106
- constructor(payload: Array<MinimalNodeEntity>);
115
+ constructor(payload: Array<MinimalNodeEntity>, configuration?: ModalConfiguration);
107
116
  }
108
117
  export declare class ManagePermissionsAction implements Action {
109
118
  payload: MinimalNodeEntity;
110
119
  readonly type = NodeActionTypes.ManagePermissions;
111
120
  constructor(payload: MinimalNodeEntity);
112
121
  }
122
+ export declare class ExpandInfoDrawerAction implements Action {
123
+ payload: MinimalNodeEntity;
124
+ readonly type = NodeActionTypes.ExpandInfoDrawer;
125
+ constructor(payload: MinimalNodeEntity);
126
+ }
113
127
  export declare class PrintFileAction implements Action {
114
128
  payload: MinimalNodeEntity;
115
129
  readonly type = NodeActionTypes.PrintFile;
@@ -117,8 +131,9 @@ export declare class PrintFileAction implements Action {
117
131
  }
118
132
  export declare class ManageVersionsAction implements Action {
119
133
  payload: MinimalNodeEntity;
134
+ configuration?: ModalConfiguration;
120
135
  readonly type = NodeActionTypes.ManageVersions;
121
- constructor(payload: MinimalNodeEntity);
136
+ constructor(payload: MinimalNodeEntity, configuration?: ModalConfiguration);
122
137
  }
123
138
  export declare class EditOfflineAction implements Action {
124
139
  payload: any;
@@ -140,3 +155,14 @@ export declare class RemoveFavoriteAction implements Action {
140
155
  readonly type = NodeActionTypes.RemoveFavorite;
141
156
  constructor(payload: Array<MinimalNodeEntity>);
142
157
  }
158
+ export declare class ManageAspectsAction implements Action {
159
+ payload: MinimalNodeEntity;
160
+ configuration?: ModalConfiguration;
161
+ readonly type = NodeActionTypes.ChangeAspects;
162
+ constructor(payload: MinimalNodeEntity, configuration?: ModalConfiguration);
163
+ }
164
+ export declare class ManageRulesAction implements Action {
165
+ payload: MinimalNodeEntity;
166
+ readonly type = NodeActionTypes.ManageRules;
167
+ constructor(payload: MinimalNodeEntity);
168
+ }
@@ -0,0 +1,31 @@
1
+ /*!
2
+ * @license
3
+ * Alfresco Example Content Application
4
+ *
5
+ * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
+ *
7
+ * This file is part of the Alfresco Example Content Application.
8
+ * If the software was purchased under a paid Alfresco license, the terms of
9
+ * the paid license agreement will prevail. Otherwise, the software is
10
+ * provided under the following open source license terms:
11
+ *
12
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
+ * it under the terms of the GNU Lesser General Public License as published by
14
+ * the Free Software Foundation, either version 3 of the License, or
15
+ * (at your option) any later version.
16
+ *
17
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ * GNU Lesser General Public License for more details.
21
+ *
22
+ * You should have received a copy of the GNU Lesser General Public License
23
+ * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
+ */
25
+ export declare enum RouterActionTypes {
26
+ NavigateUrl = "NAVIGATE_URL",
27
+ NavigateRoute = "NAVIGATE_ROUTE",
28
+ NavigateFolder = "NAVIGATE_FOLDER",
29
+ NavigateParentFolder = "NAVIGATE_PARENT_FOLDER",
30
+ NavigateToPreviousPage = "NAVIGATE_TO_PREVIOUS_PAGE"
31
+ }
@@ -24,12 +24,7 @@
24
24
  */
25
25
  import { Action } from '@ngrx/store';
26
26
  import { MinimalNodeEntity } from '@alfresco/js-api';
27
- export declare enum RouterActionTypes {
28
- NavigateUrl = "NAVIGATE_URL",
29
- NavigateRoute = "NAVIGATE_ROUTE",
30
- NavigateFolder = "NAVIGATE_FOLDER",
31
- NavigateParentFolder = "NAVIGATE_PARENT_FOLDER"
32
- }
27
+ import { RouterActionTypes } from './router-action-types';
33
28
  export declare class NavigateUrlAction implements Action {
34
29
  payload: string;
35
30
  readonly type = RouterActionTypes.NavigateUrl;
@@ -50,3 +45,7 @@ export declare class NavigateToParentFolder implements Action {
50
45
  readonly type = RouterActionTypes.NavigateParentFolder;
51
46
  constructor(payload: MinimalNodeEntity);
52
47
  }
48
+ export declare class NavigateToPreviousPage implements Action {
49
+ readonly type = RouterActionTypes.NavigateToPreviousPage;
50
+ constructor();
51
+ }
@@ -25,10 +25,7 @@
25
25
  import { Action } from '@ngrx/store';
26
26
  import { SearchOptionModel } from '../models/search-option.model';
27
27
  export declare enum SearchActionTypes {
28
- SearchByTerm = "SEARCH_BY_TERM",
29
- ToggleFilter = "TOGGLE_SEARCH_FILTER",
30
- ShowFilter = "SHOW_SEARCH_FILTER",
31
- HideFilter = "HIDE_SEARCH_FILTER"
28
+ SearchByTerm = "SEARCH_BY_TERM"
32
29
  }
33
30
  export declare class SearchByTermAction implements Action {
34
31
  payload: string;
@@ -36,12 +33,3 @@ export declare class SearchByTermAction implements Action {
36
33
  readonly type = SearchActionTypes.SearchByTerm;
37
34
  constructor(payload: string, searchOptions?: SearchOptionModel[]);
38
35
  }
39
- export declare class ToggleSearchFilterAction implements Action {
40
- readonly type = SearchActionTypes.ToggleFilter;
41
- }
42
- export declare class ShowSearchFilterAction implements Action {
43
- readonly type = SearchActionTypes.ShowFilter;
44
- }
45
- export declare class HideSearchFilterAction implements Action {
46
- readonly type = SearchActionTypes.HideFilter;
47
- }
@@ -30,9 +30,9 @@ export declare enum SnackbarActionTypes {
30
30
  }
31
31
  export interface SnackbarAction extends Action {
32
32
  payload: string;
33
- params?: Object;
33
+ params?: any;
34
34
  userAction?: SnackbarUserAction;
35
- duration: number;
35
+ duration?: number;
36
36
  }
37
37
  export declare class SnackbarUserAction {
38
38
  title: string;
@@ -41,25 +41,22 @@ export declare class SnackbarUserAction {
41
41
  }
42
42
  export declare class SnackbarInfoAction implements SnackbarAction {
43
43
  payload: string;
44
- params?: Object;
44
+ params?: any;
45
45
  readonly type = SnackbarActionTypes.Info;
46
46
  userAction?: SnackbarUserAction;
47
- duration: number;
48
- constructor(payload: string, params?: Object);
47
+ constructor(payload: string, params?: any);
49
48
  }
50
49
  export declare class SnackbarWarningAction implements SnackbarAction {
51
50
  payload: string;
52
- params?: Object;
51
+ params?: any;
53
52
  readonly type = SnackbarActionTypes.Warning;
54
53
  userAction?: SnackbarUserAction;
55
- duration: number;
56
- constructor(payload: string, params?: Object);
54
+ constructor(payload: string, params?: any);
57
55
  }
58
56
  export declare class SnackbarErrorAction implements SnackbarAction {
59
57
  payload: string;
60
- params?: Object;
58
+ params?: any;
61
59
  readonly type = SnackbarActionTypes.Error;
62
60
  userAction?: SnackbarUserAction;
63
- duration: number;
64
- constructor(payload: string, params?: Object);
61
+ constructor(payload: string, params?: any);
65
62
  }
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * @license
3
+ * Alfresco Example Content Application
4
+ *
5
+ * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
+ *
7
+ * This file is part of the Alfresco Example Content Application.
8
+ * If the software was purchased under a paid Alfresco license, the terms of
9
+ * the paid license agreement will prevail. Otherwise, the software is
10
+ * provided under the following open source license terms:
11
+ *
12
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
+ * it under the terms of the GNU Lesser General Public License as published by
14
+ * the Free Software Foundation, either version 3 of the License, or
15
+ * (at your option) any later version.
16
+ *
17
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ * GNU Lesser General Public License for more details.
21
+ *
22
+ * You should have received a copy of the GNU Lesser General Public License
23
+ * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
+ */
25
+ export declare enum TemplateActionTypes {
26
+ FileFromTemplate = "FILE_FROM_TEMPLATE",
27
+ FolderFromTemplate = "FOLDER_FROM_TEMPLATE",
28
+ CreateFromTemplate = "CREATE_FROM_TEMPLATE",
29
+ CreateFromTemplateSuccess = "CREATE_FROM_TEMPLATE_SUCCESS"
30
+ }
@@ -24,12 +24,7 @@
24
24
  */
25
25
  import { Action } from '@ngrx/store';
26
26
  import { Node } from '@alfresco/js-api';
27
- export declare enum TemplateActionTypes {
28
- FileFromTemplate = "FILE_FROM_TEMPLATE",
29
- FolderFromTemplate = "FOLDER_FROM_TEMPLATE",
30
- CreateFromTemplate = "CREATE_FROM_TEMPLATE",
31
- CreateFromTemplateSuccess = "CREATE_FROM_TEMPLATE_SUCCESS"
32
- }
27
+ import { TemplateActionTypes } from './template-action-types';
33
28
  export declare class FileFromTemplate implements Action {
34
29
  readonly type = TemplateActionTypes.FileFromTemplate;
35
30
  constructor();
@@ -23,6 +23,7 @@
23
23
  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
24
  */
25
25
  import { Action } from '@ngrx/store';
26
+ import { ModalConfiguration } from '../models/modal-configuration';
26
27
  export declare enum UploadActionTypes {
27
28
  UploadFiles = "UPLOAD_FILES",
28
29
  UploadFolder = "UPLOAD_FOLDER",
@@ -40,6 +41,7 @@ export declare class UploadFolderAction implements Action {
40
41
  }
41
42
  export declare class UploadFileVersionAction implements Action {
42
43
  payload: CustomEvent;
44
+ configuration?: ModalConfiguration;
43
45
  readonly type = UploadActionTypes.UploadFileVersion;
44
- constructor(payload: CustomEvent);
46
+ constructor(payload: CustomEvent, configuration?: ModalConfiguration);
45
47
  }
@@ -27,8 +27,11 @@ import { MinimalNodeEntity } from '@alfresco/js-api';
27
27
  export declare enum ViewerActionTypes {
28
28
  ViewFile = "VIEW_FILE",
29
29
  ViewNode = "VIEW_NODE",
30
+ ViewNodeVersion = "VIEW_NODE_VERSION",
30
31
  FullScreen = "FULLSCREEN_VIEWER",
31
- ClosePreview = "CLOSE_PREVIEW"
32
+ ClosePreview = "CLOSE_PREVIEW",
33
+ RefreshPreview = "REFRESH_PREVIEW",
34
+ PluginPreview = "PLUGIN_PREVIEW"
32
35
  }
33
36
  export interface ViewNodeExtras {
34
37
  location?: string;
@@ -46,6 +49,13 @@ export declare class ViewNodeAction implements Action {
46
49
  readonly type = ViewerActionTypes.ViewNode;
47
50
  constructor(nodeId: string, viewNodeExtras?: ViewNodeExtras);
48
51
  }
52
+ export declare class ViewNodeVersionAction implements Action {
53
+ nodeId: string;
54
+ versionId: string;
55
+ viewNodeExtras?: ViewNodeExtras;
56
+ readonly type = ViewerActionTypes.ViewNodeVersion;
57
+ constructor(nodeId: string, versionId: string, viewNodeExtras?: ViewNodeExtras);
58
+ }
49
59
  export declare class FullscreenViewerAction implements Action {
50
60
  payload: MinimalNodeEntity;
51
61
  readonly type = ViewerActionTypes.FullScreen;
@@ -56,3 +66,14 @@ export declare class ClosePreviewAction implements Action {
56
66
  readonly type = ViewerActionTypes.ClosePreview;
57
67
  constructor(payload?: MinimalNodeEntity);
58
68
  }
69
+ export declare class RefreshPreviewAction implements Action {
70
+ payload?: MinimalNodeEntity;
71
+ readonly type = ViewerActionTypes.RefreshPreview;
72
+ constructor(payload?: MinimalNodeEntity);
73
+ }
74
+ export declare class PluginPreviewAction implements Action {
75
+ pluginRoute: string;
76
+ nodeId: string;
77
+ readonly type = ViewerActionTypes.PluginPreview;
78
+ constructor(pluginRoute: string, nodeId: string);
79
+ }
@@ -24,9 +24,12 @@
24
24
  */
25
25
  import { Actions } from '@ngrx/effects';
26
26
  import { MatDialog } from '@angular/material/dialog';
27
+ import * as i0 from "@angular/core";
27
28
  export declare class DialogEffects {
28
29
  private actions$;
29
30
  private matDialog;
30
31
  constructor(actions$: Actions, matDialog: MatDialog);
31
- closeAll$: import("rxjs").Observable<void>;
32
+ closeAll$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogEffects, never>;
34
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogEffects>;
32
35
  }
@@ -1,41 +1,23 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
1
  import { Router } from '@angular/router';
26
2
  import { Actions } from '@ngrx/effects';
27
3
  import { Store } from '@ngrx/store';
28
4
  import { AppStore } from '../states/app.state';
5
+ import { Location } from '@angular/common';
6
+ import * as i0 from "@angular/core";
29
7
  export declare class RouterEffects {
30
8
  private store;
31
9
  private actions$;
32
10
  private router;
33
- constructor(store: Store<AppStore>, actions$: Actions, router: Router);
34
- navigateUrl$: import("rxjs").Observable<void>;
35
- navigateRoute$: import("rxjs").Observable<void>;
36
- navigateToFolder$: import("rxjs").Observable<void>;
37
- navigateToParentFolder$: import("rxjs").Observable<void>;
11
+ private location;
12
+ constructor(store: Store<AppStore>, actions$: Actions, router: Router, location: Location);
13
+ navigateUrl$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
14
+ navigateRoute$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
15
+ navigateToFolder$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
16
+ navigateToParentFolder$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
17
+ navigateToPreviousPage$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
38
18
  private navigateToFolder;
39
19
  private navigateToParentFolder;
40
20
  private isLibraryContent;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouterEffects, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouterEffects>;
41
23
  }
@@ -27,15 +27,18 @@ import { MatSnackBar } from '@angular/material/snack-bar';
27
27
  import { Actions } from '@ngrx/effects';
28
28
  import { Store } from '@ngrx/store';
29
29
  import { AppStore } from '../states/app.state';
30
+ import * as i0 from "@angular/core";
30
31
  export declare class SnackbarEffects {
31
32
  private store;
32
33
  private actions$;
33
34
  private snackBar;
34
35
  private translationService;
35
36
  constructor(store: Store<AppStore>, actions$: Actions, snackBar: MatSnackBar, translationService: TranslationService);
36
- infoEffect: import("rxjs").Observable<void>;
37
- warningEffect: import("rxjs").Observable<void>;
38
- errorEffect: import("rxjs").Observable<void>;
37
+ infoEffect: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
38
+ warningEffect: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
39
+ errorEffect: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
39
40
  private showSnackBar;
40
41
  private translate;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarEffects, never>;
43
+ static ɵprov: i0.ɵɵInjectableDeclaration<SnackbarEffects>;
41
44
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@alfresco/aca-shared/store" />
5
+ export * from './public-api';
@@ -0,0 +1,3 @@
1
+ export interface ModalConfiguration {
2
+ focusedElementOnCloseSelector?: string;
3
+ }
@@ -22,6 +22,10 @@
22
22
  * You should have received a copy of the GNU Lesser General Public License
23
23
  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
24
  */
25
+ export * from './actions/app-action-types';
26
+ export * from './actions/context-menu-action-types';
27
+ export * from './actions/router-action-types';
28
+ export * from './actions/template-action-types';
25
29
  export * from './actions/app.actions';
26
30
  export * from './actions/library.actions';
27
31
  export * from './actions/node.actions';
@@ -24,30 +24,44 @@
24
24
  */
25
25
  import { AppStore } from '../states/app.state';
26
26
  export declare const selectApp: (state: AppStore) => import("../states/app.state").AppState;
27
- export declare const getHeaderColor: import("@ngrx/store").MemoizedSelector<AppStore, string>;
28
- export declare const getAppName: import("@ngrx/store").MemoizedSelector<AppStore, string>;
29
- export declare const getLogoPath: import("@ngrx/store").MemoizedSelector<AppStore, string>;
30
- export declare const getHeaderImagePath: import("@ngrx/store").MemoizedSelector<AppStore, string>;
31
- export declare const getLanguagePickerState: import("@ngrx/store").MemoizedSelector<AppStore, boolean>;
32
- export declare const getUserProfile: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/adf-extensions").ProfileState>;
33
- export declare const getCurrentFolder: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/js-api").Node>;
34
- export declare const getAppSelection: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/adf-extensions").SelectionState>;
35
- export declare const getSharedUrl: import("@ngrx/store").MemoizedSelector<AppStore, string>;
36
- export declare const getNavigationState: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/adf-extensions").NavigationState>;
37
- export declare const isInfoDrawerOpened: import("@ngrx/store").MemoizedSelector<AppStore, boolean>;
38
- export declare const showFacetFilter: import("@ngrx/store").MemoizedSelector<AppStore, boolean>;
39
- export declare const getDocumentDisplayMode: import("@ngrx/store").MemoizedSelector<AppStore, string>;
40
- export declare const getRepositoryStatus: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/js-api").RepositoryInfo>;
41
- export declare const isQuickShareEnabled: import("@ngrx/store").MemoizedSelector<AppStore, boolean>;
42
- export declare const isAdmin: import("@ngrx/store").MemoizedSelector<AppStore, boolean>;
27
+ export declare const getHeaderColor: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
28
+ export declare const getHeaderTextColor: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
29
+ export declare const getAppName: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
30
+ export declare const getLogoPath: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
31
+ export declare const getCustomCssPath: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
32
+ export declare const getCustomWebFontPath: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
33
+ export declare const getHeaderImagePath: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
34
+ export declare const getUserProfile: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/adf-extensions").ProfileState, import("@ngrx/store").DefaultProjectorFn<import("@alfresco/adf-extensions").ProfileState>>;
35
+ export declare const getCurrentFolder: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/js-api").MinimalNode, import("@ngrx/store").DefaultProjectorFn<import("@alfresco/js-api").MinimalNode>>;
36
+ export declare const getCurrentVersion: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/js-api").VersionEntry, import("@ngrx/store").DefaultProjectorFn<import("@alfresco/js-api").VersionEntry>>;
37
+ export declare const getAppSelection: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/adf-extensions").SelectionState, import("@ngrx/store").DefaultProjectorFn<import("@alfresco/adf-extensions").SelectionState>>;
38
+ export declare const getSharedUrl: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
39
+ export declare const getNavigationState: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/adf-extensions").NavigationState, import("@ngrx/store").DefaultProjectorFn<import("@alfresco/adf-extensions").NavigationState>>;
40
+ export declare const isInfoDrawerOpened: import("@ngrx/store").MemoizedSelector<AppStore, boolean, import("@ngrx/store").DefaultProjectorFn<boolean>>;
41
+ export declare const infoDrawerPreview: import("@ngrx/store").MemoizedSelector<AppStore, boolean, import("@ngrx/store").DefaultProjectorFn<boolean>>;
42
+ export declare const showFacetFilter: import("@ngrx/store").MemoizedSelector<AppStore, boolean, import("@ngrx/store").DefaultProjectorFn<boolean>>;
43
+ export declare const getDocumentDisplayMode: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
44
+ export declare const getRepositoryStatus: import("@ngrx/store").MemoizedSelector<AppStore, import("@alfresco/js-api").RepositoryInfo, import("@ngrx/store").DefaultProjectorFn<import("@alfresco/js-api").RepositoryInfo>>;
45
+ export declare const isQuickShareEnabled: import("@ngrx/store").MemoizedSelector<AppStore, boolean, import("@ngrx/store").DefaultProjectorFn<boolean>>;
46
+ export declare const isAdmin: import("@ngrx/store").MemoizedSelector<AppStore, boolean, import("@ngrx/store").DefaultProjectorFn<boolean>>;
47
+ export declare const getFileUploadingDialog: import("@ngrx/store").MemoizedSelector<AppStore, boolean, import("@ngrx/store").DefaultProjectorFn<boolean>>;
48
+ export declare const showLoaderSelector: import("@ngrx/store").MemoizedSelector<AppStore, boolean, import("@ngrx/store").DefaultProjectorFn<boolean>>;
43
49
  export declare const getSideNavState: import("@ngrx/store").MemoizedSelector<AppStore, {
44
50
  selection: import("@alfresco/adf-extensions").SelectionState;
45
51
  navigation: import("@alfresco/adf-extensions").NavigationState;
46
- }>;
52
+ }, import("@ngrx/store").DefaultProjectorFn<{
53
+ selection: import("@alfresco/adf-extensions").SelectionState;
54
+ navigation: import("@alfresco/adf-extensions").NavigationState;
55
+ }>>;
47
56
  export declare const getRuleContext: import("@ngrx/store").MemoizedSelector<AppStore, {
48
57
  selection: import("@alfresco/adf-extensions").SelectionState;
49
58
  navigation: import("@alfresco/adf-extensions").NavigationState;
50
59
  profile: import("@alfresco/adf-extensions").ProfileState;
51
60
  repository: import("@alfresco/js-api").RepositoryInfo;
52
- }>;
53
- export declare const infoDrawerMetadataAspect: import("@ngrx/store").MemoizedSelector<AppStore, string>;
61
+ }, import("@ngrx/store").DefaultProjectorFn<{
62
+ selection: import("@alfresco/adf-extensions").SelectionState;
63
+ navigation: import("@alfresco/adf-extensions").NavigationState;
64
+ profile: import("@alfresco/adf-extensions").ProfileState;
65
+ repository: import("@alfresco/js-api").RepositoryInfo;
66
+ }>>;
67
+ export declare const infoDrawerMetadataAspect: import("@ngrx/store").MemoizedSelector<AppStore, string, import("@ngrx/store").DefaultProjectorFn<string>>;
@@ -23,22 +23,30 @@
23
23
  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
24
  */
25
25
  import { SelectionState, ProfileState, NavigationState } from '@alfresco/adf-extensions';
26
- import { RepositoryInfo } from '@alfresco/js-api';
26
+ import { RepositoryInfo, VersionEntry } from '@alfresco/js-api';
27
+ import { InjectionToken } from '@angular/core';
28
+ export declare const STORE_INITIAL_APP_DATA: InjectionToken<AppState>;
27
29
  export interface AppState {
28
30
  appName: string;
29
31
  headerColor: string;
32
+ headerTextColor: string;
30
33
  logoPath: string;
34
+ customCssPath: string;
35
+ webFontPath: string;
31
36
  headerImagePath: string;
32
- languagePicker: boolean;
33
37
  sharedUrl: string;
38
+ currentNodeVersion: VersionEntry;
34
39
  selection: SelectionState;
35
40
  user: ProfileState;
36
41
  navigation: NavigationState;
37
42
  infoDrawerOpened: boolean;
43
+ infoDrawerPreview: boolean;
38
44
  infoDrawerMetadataAspect: string;
39
45
  showFacetFilter: boolean;
40
46
  documentDisplayMode: string;
41
47
  repository: RepositoryInfo;
48
+ fileUploadingDialog: boolean;
49
+ showLoader: boolean;
42
50
  }
43
51
  export interface AppStore {
44
52
  app: AppState;
@@ -1,26 +1,7 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@ngrx/effects";
25
3
  export declare class SharedStoreModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedStoreModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedStoreModule, never, [typeof i1.EffectsFeatureModule], never>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedStoreModule>;
26
7
  }
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- export { InfoDrawerComponent as ɵe } from './lib/components/info-drawer/info-drawer.component';
6
- export { ToolbarActionComponent as ɵb } from './lib/components/tool-bar/toolbar-action/toolbar-action.component';
7
- export { ToolbarButtonComponent as ɵa } from './lib/components/tool-bar/toolbar-button/toolbar-button.component';
8
- export { ToolbarMenuItemComponent as ɵc } from './lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component';
9
- export { ToolbarMenuComponent as ɵd } from './lib/components/tool-bar/toolbar-menu/toolbar-menu.component';
10
- export { ContextActionsDirective as ɵf } from './lib/directives/contextmenu/contextmenu.directive';
11
- export { PaginationDirective as ɵg } from './lib/directives/pagination.directive';