@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
@@ -1 +0,0 @@
1
- {"version":3,"file":"alfresco-aca-shared.js.map","sources":["ng://@alfresco/aca-shared/lib/adf-extensions/extensions-data-loader.guard.ts","ng://@alfresco/aca-shared/lib/components/page-layout/page-layout-content.component.ts","ng://@alfresco/aca-shared/lib/components/page-layout/page-layout-error.component.ts","ng://@alfresco/aca-shared/lib/components/page-layout/page-layout-header.component.ts","ng://@alfresco/aca-shared/lib/components/page-layout/page-layout.component.ts","ng://@alfresco/aca-shared/lib/components/page-layout/page-layout.module.ts","ng://@alfresco/aca-shared/lib/components/locked-by/locked-by.component.ts","ng://@alfresco/aca-shared/lib/components/locked-by/locked-by.module.ts","ng://@alfresco/aca-shared/lib/services/node-permission.service.ts","ng://@alfresco/aca-shared/lib/services/app.extension.service.ts","ng://@alfresco/aca-shared/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.ts","ng://@alfresco/aca-shared/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.ts","ng://@alfresco/aca-shared/lib/components/tool-bar/toolbar-action/toolbar-action.component.ts","ng://@alfresco/aca-shared/lib/components/tool-bar/toolbar-button/toolbar-button.component.ts","ng://@alfresco/aca-shared/lib/components/tool-bar/shared-toolbar.module.ts","ng://@alfresco/aca-shared/lib/services/content-api.service.ts","ng://@alfresco/aca-shared/lib/components/info-drawer/info-drawer.component.ts","ng://@alfresco/aca-shared/lib/components/info-drawer/shared-info-drawer.module.ts","ng://@alfresco/aca-shared/lib/routing/app.routes.strategy.ts","ng://@alfresco/aca-shared/lib/routing/shared.guard.ts","ng://@alfresco/aca-shared/lib/services/app.service.ts","ng://@alfresco/aca-shared/lib/components/generic-error/generic-error.component.ts","ng://@alfresco/aca-shared/lib/components/generic-error/generic-error.module.ts","ng://@alfresco/aca-shared/lib/directives/contextmenu/contextmenu.directive.ts","ng://@alfresco/aca-shared/lib/directives/contextmenu/contextmenu.module.ts","ng://@alfresco/aca-shared/lib/directives/pagination.directive.ts","ng://@alfresco/aca-shared/lib/directives/shared.directives.module.ts","ng://@alfresco/aca-shared/lib/utils/node.utils.ts","ng://@alfresco/aca-shared/lib/shared.module.ts"],"sourcesContent":["/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable, InjectionToken, Inject } from '@angular/core';\nimport { CanActivate, ActivatedRouteSnapshot } from '@angular/router';\nimport { Observable, forkJoin, of } from 'rxjs';\nimport { map, catchError } from 'rxjs/operators';\n\nexport type ExtensionLoaderCallback = (\n route: ActivatedRouteSnapshot\n) => Observable<boolean>;\n\nexport function DefaultExtensionLoaderFactory() {\n return [];\n}\n\nexport const EXTENSION_DATA_LOADERS = new InjectionToken<\n ExtensionLoaderCallback[]\n>('EXTENSION_DATA_LOADERS', {\n providedIn: 'root',\n factory: DefaultExtensionLoaderFactory\n});\n\n@Injectable({ providedIn: 'root' })\nexport class ExtensionsDataLoaderGuard implements CanActivate {\n private invoked = false;\n\n constructor(\n @Inject(EXTENSION_DATA_LOADERS)\n private extensionDataLoaders: ExtensionLoaderCallback[]\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot): Observable<boolean> {\n if (!this.invoked) {\n this.invoked = true;\n\n if (!this.extensionDataLoaders.length) {\n return of(true);\n }\n\n const dataLoaderCallbacks = this.extensionDataLoaders.map(callback =>\n callback(route)\n );\n\n // Undocumented forkJoin behaviour/bug:\n // https://github.com/ReactiveX/rxjs/issues/3246\n // So all callbacks need to emit before completion, otherwise forkJoin will short circuit\n return forkJoin(...dataLoaderCallbacks).pipe(\n map(() => true),\n catchError(e => {\n // tslint:disable-next-line\n console.error(\n 'Some of the extension data loader guards has been errored.'\n );\n // tslint:disable-next-line\n console.error(e);\n return of(true);\n })\n );\n } else {\n return of(true);\n }\n }\n\n canActivateChild(): Observable<boolean> {\n return of(true);\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Input,\n HostBinding\n} from '@angular/core';\n\n@Component({\n selector: 'aca-page-layout-content',\n template: `\n <ng-content></ng-content>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'aca-page-layout-content' }\n})\nexport class PageLayoutContentComponent {\n @Input()\n @HostBinding('class.scrollable')\n scrollable = false;\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy\n} from '@angular/core';\n\n@Component({\n selector: 'aca-page-layout-error',\n template: `\n <ng-content></ng-content>\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'aca-page-layout-error' }\n})\nexport class PageLayoutErrorComponent {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy\n} from '@angular/core';\n\n@Component({\n selector: 'aca-page-layout-header',\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'aca-page-layout-header' }\n})\nexport class PageLayoutHeaderComponent {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Input\n} from '@angular/core';\n\n@Component({\n selector: 'aca-page-layout',\n templateUrl: 'page-layout.component.html',\n styleUrls: ['./page-layout.component.scss'],\n encapsulation: ViewEncapsulation.None,\n host: { class: 'aca-page-layout' },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PageLayoutComponent {\n @Input()\n hasError = false;\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { PageLayoutContentComponent } from './page-layout-content.component';\nimport { PageLayoutErrorComponent } from './page-layout-error.component';\nimport { PageLayoutHeaderComponent } from './page-layout-header.component';\nimport { PageLayoutComponent } from './page-layout.component';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n PageLayoutContentComponent,\n PageLayoutErrorComponent,\n PageLayoutHeaderComponent,\n PageLayoutComponent\n ],\n exports: [\n PageLayoutContentComponent,\n PageLayoutErrorComponent,\n PageLayoutHeaderComponent,\n PageLayoutComponent\n ]\n})\nexport class PageLayoutModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n Input,\n OnInit,\n ChangeDetectionStrategy,\n ViewEncapsulation\n} from '@angular/core';\n\nimport { NodeEntry } from '@alfresco/js-api';\n\n@Component({\n selector: 'aca-locked-by',\n template: `\n <mat-icon class=\"locked_by--icon\">lock</mat-icon>\n <span class=\"locked_by--name\">{{ writeLockedBy() }}</span>\n `,\n styleUrls: ['./locked-by.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'aca-locked-by'\n }\n})\nexport class LockedByComponent implements OnInit {\n @Input()\n context: any;\n\n node: NodeEntry;\n\n constructor() {}\n\n ngOnInit() {\n this.node = this.context.row.node;\n }\n\n writeLockedBy() {\n return (\n this.node &&\n this.node.entry.properties &&\n this.node.entry.properties['cm:lockOwner'] &&\n this.node.entry.properties['cm:lockOwner'].displayName\n );\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { LockedByComponent } from './locked-by.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n imports: [CommonModule, MatIconModule],\n declarations: [LockedByComponent],\n exports: [LockedByComponent]\n})\nexport class LockedByModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable } from '@angular/core';\nimport { NodePermissions } from '@alfresco/adf-extensions';\nimport { Node, SharedLink, SharedLinkEntry, NodeEntry } from '@alfresco/js-api';\n\nexport type PermissionSource = NodeEntry | SharedLinkEntry | Node;\n\nexport interface PermissionOptions {\n target?: string;\n operation?: string;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NodePermissionService implements NodePermissions {\n static DEFAULT_OPERATION = 'OR';\n\n private defaultOptions: PermissionOptions = {\n operation: NodePermissionService.DEFAULT_OPERATION,\n target: null\n };\n\n check(\n source: PermissionSource | PermissionSource[],\n permissions: string[],\n options?: PermissionOptions\n ): boolean {\n const opts = Object.assign({}, this.defaultOptions, options || {});\n\n if (!source) {\n return false;\n }\n\n if (Array.isArray(source)) {\n source = source.filter(item => item);\n\n if (source.length > 0) {\n return source.every(node =>\n this.isOperationAllowed(node, permissions, opts)\n );\n }\n return false;\n } else {\n return this.isOperationAllowed(source, permissions, opts);\n }\n }\n\n private isOperationAllowed(\n node: PermissionSource,\n permissions: string[],\n options: PermissionOptions\n ): boolean {\n const allowableOperations = this.getAllowableOperations(\n node,\n options.target\n );\n\n if (allowableOperations.length) {\n if (options.operation === NodePermissionService.DEFAULT_OPERATION) {\n return permissions.some(permission =>\n allowableOperations.includes(permission)\n );\n } else {\n return permissions.every(permission =>\n allowableOperations.includes(permission)\n );\n }\n }\n\n return false;\n }\n\n private getAllowableOperations(\n node: PermissionSource,\n property?: string\n ): string[] {\n let entry: Node | SharedLink;\n\n if ('entry' in node) {\n entry = node.entry;\n } else {\n entry = node;\n }\n\n if (property) {\n return entry[property] || [];\n }\n\n if ('allowableOperationsOnTarget' in entry) {\n return entry.allowableOperationsOnTarget || [];\n } else {\n return entry.allowableOperations || [];\n }\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable, Type } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { MatIconRegistry } from '@angular/material/icon';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport {\n AppStore,\n getRuleContext,\n getLanguagePickerState\n} from '@alfresco/aca-shared/store';\nimport {\n SelectionState,\n NavigationState,\n ExtensionConfig,\n RuleEvaluator,\n ContentActionRef,\n ContentActionType,\n ExtensionLoaderService,\n SidebarTabRef,\n NavBarGroupRef,\n sortByOrder,\n reduceSeparators,\n reduceEmptyMenus,\n ExtensionService,\n ProfileState,\n mergeObjects,\n ExtensionRef,\n RuleContext,\n DocumentListPresetRef,\n IconRef\n} from '@alfresco/adf-extensions';\nimport {\n AppConfigService,\n AuthenticationService,\n LogService\n} from '@alfresco/adf-core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport { RepositoryInfo, NodeEntry } from '@alfresco/js-api';\nimport { ViewerRules } from '../models/viewer.rules';\nimport { SettingsGroupRef, ExtensionRoute } from '../models/types';\nimport { NodePermissionService } from '../services/node-permission.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppExtensionService implements RuleContext {\n private _references = new BehaviorSubject<ExtensionRef[]>([]);\n\n defaults = {\n layout: 'app.layout.main',\n auth: ['app.auth']\n };\n\n headerActions: Array<ContentActionRef> = [];\n toolbarActions: Array<ContentActionRef> = [];\n viewerToolbarActions: Array<ContentActionRef> = [];\n sharedLinkViewerToolbarActions: Array<ContentActionRef> = [];\n contextMenuActions: Array<ContentActionRef> = [];\n openWithActions: Array<ContentActionRef> = [];\n createActions: Array<ContentActionRef> = [];\n navbar: Array<NavBarGroupRef> = [];\n sidebarTabs: Array<SidebarTabRef> = [];\n sidebarActions: Array<ContentActionRef> = [];\n contentMetadata: any;\n viewerRules: ViewerRules = {};\n userActions: Array<ContentActionRef> = [];\n settingGroups: Array<SettingsGroupRef> = [];\n\n documentListPresets: {\n files: Array<DocumentListPresetRef>;\n libraries: Array<DocumentListPresetRef>;\n favoriteLibraries: Array<DocumentListPresetRef>;\n shared: Array<DocumentListPresetRef>;\n recent: Array<DocumentListPresetRef>;\n favorites: Array<DocumentListPresetRef>;\n trashcan: Array<DocumentListPresetRef>;\n searchLibraries: Array<DocumentListPresetRef>;\n } = {\n files: [],\n libraries: [],\n favoriteLibraries: [],\n shared: [],\n recent: [],\n favorites: [],\n trashcan: [],\n searchLibraries: []\n };\n\n selection: SelectionState;\n navigation: NavigationState;\n profile: ProfileState;\n repository: RepositoryInfo;\n withCredentials: boolean;\n languagePicker: boolean;\n\n references$: Observable<ExtensionRef[]>;\n\n constructor(\n public auth: AuthenticationService,\n protected store: Store<AppStore>,\n protected loader: ExtensionLoaderService,\n protected extensions: ExtensionService,\n public permissions: NodePermissionService,\n protected appConfig: AppConfigService,\n protected matIconRegistry: MatIconRegistry,\n protected sanitizer: DomSanitizer,\n protected logger: LogService\n ) {\n this.references$ = this._references.asObservable();\n\n this.store.select(getRuleContext).subscribe(result => {\n this.selection = result.selection;\n this.navigation = result.navigation;\n this.profile = result.profile;\n this.repository = result.repository;\n });\n\n this.store.select(getLanguagePickerState).subscribe(result => {\n this.languagePicker = result;\n });\n }\n\n async load() {\n const config = await this.extensions.load();\n this.setup(config);\n }\n\n setup(config: ExtensionConfig) {\n if (!config) {\n this.logger.error('Extension configuration not found');\n return;\n }\n\n this.settingGroups = this.loader.getElements<SettingsGroupRef>(\n config,\n 'settings'\n );\n\n this.headerActions = this.loader.getContentActions(\n config,\n 'features.header'\n );\n this.sidebarActions = this.loader.getContentActions(\n config,\n 'features.sidebar.toolbar'\n );\n this.toolbarActions = this.loader.getContentActions(\n config,\n 'features.toolbar'\n );\n this.viewerToolbarActions = this.loader.getContentActions(\n config,\n 'features.viewer.toolbarActions'\n );\n this.sharedLinkViewerToolbarActions = this.loader.getContentActions(\n config,\n 'features.viewer.shared.toolbarActions'\n );\n\n this.contextMenuActions = this.loader.getContentActions(\n config,\n 'features.contextMenu'\n );\n this.openWithActions = this.loader.getContentActions(\n config,\n 'features.viewer.openWith'\n );\n this.createActions = this.loader.getElements<ContentActionRef>(\n config,\n 'features.create'\n );\n this.navbar = this.loadNavBar(config);\n this.sidebarTabs = this.loader.getElements<SidebarTabRef>(\n config,\n 'features.sidebar.tabs'\n );\n this.userActions = this.loader.getContentActions(\n config,\n 'features.userActions'\n );\n this.contentMetadata = this.loadContentMetadata(config);\n\n this.documentListPresets = {\n files: this.getDocumentListPreset(config, 'files'),\n libraries: this.getDocumentListPreset(config, 'libraries'),\n favoriteLibraries: this.getDocumentListPreset(\n config,\n 'favoriteLibraries'\n ),\n shared: this.getDocumentListPreset(config, 'shared'),\n recent: this.getDocumentListPreset(config, 'recent'),\n favorites: this.getDocumentListPreset(config, 'favorites'),\n trashcan: this.getDocumentListPreset(config, 'trashcan'),\n searchLibraries: this.getDocumentListPreset(config, 'search-libraries')\n };\n\n this.withCredentials = this.appConfig.get<boolean>(\n 'auth.withCredentials',\n false\n );\n\n if (config.features && config.features.viewer) {\n this.viewerRules = (config.features.viewer['rules'] as ViewerRules) || {};\n }\n\n this.registerIcons(config);\n\n const references = (config.$references || [])\n .filter(entry => typeof entry === 'object')\n .map(entry => entry as ExtensionRef);\n this._references.next(references);\n }\n\n protected registerIcons(config: ExtensionConfig) {\n const icons: Array<IconRef> = this.loader\n .getElements<IconRef>(config, 'features.icons')\n .filter(entry => !entry.disabled);\n\n for (const icon of icons) {\n const [ns, id] = icon.id.split(':');\n const value = icon.value;\n\n if (!value) {\n console.warn(`Missing icon value for \"${icon.id}\".`);\n } else if (!ns || !id) {\n console.warn(`Incorrect icon id format: \"${icon.id}\".`);\n } else {\n this.matIconRegistry.addSvgIconInNamespace(\n ns,\n id,\n this.sanitizer.bypassSecurityTrustResourceUrl(value)\n );\n }\n }\n }\n\n protected loadNavBar(config: ExtensionConfig): Array<NavBarGroupRef> {\n return this.loader.getElements<NavBarGroupRef>(config, 'features.navbar');\n }\n\n protected getDocumentListPreset(config: ExtensionConfig, key: string) {\n return this.loader\n .getElements<DocumentListPresetRef>(\n config,\n `features.documentList.${key}`\n )\n .filter(entry => !entry.disabled);\n }\n\n getApplicationNavigation(elements): Array<NavBarGroupRef> {\n return elements\n .filter(group => this.filterVisible(group))\n .map(group => {\n return {\n ...group,\n items: (group.items || [])\n .filter(entry => !entry.disabled)\n .filter(item => this.filterVisible(item))\n .sort(sortByOrder)\n .map(item => {\n if (item.children && item.children.length > 0) {\n item.children = item.children\n .filter(entry => !entry.disabled)\n .filter(child => this.filterVisible(child))\n .sort(sortByOrder)\n .map(child => {\n if (child.component) {\n return {\n ...child\n };\n }\n\n if (!child.click) {\n const childRouteRef = this.extensions.getRouteById(\n child.route\n );\n const childUrl = `/${\n childRouteRef ? childRouteRef.path : child.route\n }`;\n return {\n ...child,\n url: childUrl\n };\n }\n\n return {\n ...child,\n action: child.click\n };\n });\n\n return {\n ...item\n };\n }\n\n if (item.component) {\n return { ...item };\n }\n\n if (!item.click) {\n const routeRef = this.extensions.getRouteById(item.route);\n const url = `/${routeRef ? routeRef.path : item.route}`;\n return {\n ...item,\n url\n };\n }\n\n return {\n ...item,\n action: item.click\n };\n })\n .reduce(reduceEmptyMenus, [])\n };\n });\n }\n\n loadContentMetadata(config: ExtensionConfig): any {\n const elements = this.loader.getElements<any>(\n config,\n 'features.content-metadata-presets'\n );\n if (!elements.length) {\n return null;\n }\n\n let presets = {};\n presets = this.filterDisabled(mergeObjects(presets, ...elements));\n\n try {\n this.appConfig.config['content-metadata'] = { presets };\n } catch (error) {\n this.logger.error(\n error,\n '- could not change content-metadata from app.config -'\n );\n }\n\n return { presets };\n }\n\n filterDisabled(object: Array<{ disabled: boolean }> | { disabled: boolean }) {\n if (Array.isArray(object)) {\n return object\n .filter(item => !item.disabled)\n .map(item => this.filterDisabled(item));\n } else if (typeof object === 'object') {\n if (!object.disabled) {\n Object.keys(object).forEach(prop => {\n object[prop] = this.filterDisabled(object[prop]);\n });\n return object;\n }\n } else {\n return object;\n }\n }\n\n getNavigationGroups(): Array<NavBarGroupRef> {\n return this.navbar;\n }\n\n getSidebarTabs(): Array<SidebarTabRef> {\n return this.sidebarTabs.filter(action => this.filterVisible(action));\n }\n\n getComponentById(id: string): Type<{}> {\n return this.extensions.getComponentById(id);\n }\n\n getApplicationRoutes(): Array<ExtensionRoute> {\n return this.extensions.routes.map(route => {\n const guards = this.extensions.getAuthGuards(\n route.auth && route.auth.length > 0 ? route.auth : this.defaults.auth\n );\n\n return {\n path: route.path,\n component: this.getComponentById(route.layout || this.defaults.layout),\n canActivateChild: guards,\n canActivate: guards,\n parentRoute: route.parentRoute,\n children: [\n {\n path: '',\n component: this.getComponentById(route.component),\n data: route.data\n }\n ]\n };\n });\n }\n\n getCreateActions(): Array<ContentActionRef> {\n return this.createActions\n .filter(action => this.filterVisible(action))\n .map(action => this.copyAction(action))\n .map(action => this.buildMenu(action))\n .map(action => {\n let disabled = false;\n\n if (action.rules && action.rules.enabled) {\n disabled = !this.extensions.evaluateRule(action.rules.enabled, this);\n }\n\n return {\n ...action,\n disabled\n };\n });\n }\n\n private buildMenu(actionRef: ContentActionRef): ContentActionRef {\n if (\n actionRef.type === ContentActionType.menu &&\n actionRef.children &&\n actionRef.children.length > 0\n ) {\n const children = actionRef.children\n .filter(action => this.filterVisible(action))\n .map(action => this.buildMenu(action));\n\n actionRef.children = children\n .map(action => {\n let disabled = false;\n\n if (action.rules && action.rules.enabled) {\n disabled = !this.extensions.evaluateRule(\n action.rules.enabled,\n this\n );\n }\n\n return {\n ...action,\n disabled\n };\n })\n .sort(sortByOrder)\n .reduce(reduceEmptyMenus, [])\n .reduce(reduceSeparators, []);\n }\n\n return actionRef;\n }\n\n private getAllowedActions(actions: ContentActionRef[]): ContentActionRef[] {\n return (actions || [])\n .filter(action => this.filterVisible(action))\n .map(action => {\n if (action.type === ContentActionType.menu) {\n const copy = this.copyAction(action);\n if (copy.children && copy.children.length > 0) {\n copy.children = copy.children\n .filter(entry => !entry.disabled)\n .filter(childAction => this.filterVisible(childAction))\n .sort(sortByOrder)\n .reduce(reduceSeparators, []);\n }\n return copy;\n }\n return action;\n })\n .reduce(reduceEmptyMenus, [])\n .reduce(reduceSeparators, []);\n }\n\n getAllowedSidebarActions(): Array<ContentActionRef> {\n return this.getAllowedActions(this.sidebarActions);\n }\n\n getAllowedToolbarActions(): Array<ContentActionRef> {\n return this.getAllowedActions(this.toolbarActions);\n }\n\n getViewerToolbarActions(): Array<ContentActionRef> {\n return this.getAllowedActions(this.viewerToolbarActions);\n }\n\n getSharedLinkViewerToolbarActions(): Array<ContentActionRef> {\n return this.getAllowedActions(this.sharedLinkViewerToolbarActions);\n }\n\n getHeaderActions(): Array<ContentActionRef> {\n return this.headerActions\n .filter(action => this.filterVisible(action))\n .map(action => {\n if (action.type === ContentActionType.menu) {\n const copy = this.copyAction(action);\n if (copy.children && copy.children.length > 0) {\n copy.children = copy.children\n .filter(childAction => this.filterVisible(childAction))\n .sort(sortByOrder)\n .reduce(reduceEmptyMenus, [])\n .reduce(reduceSeparators, []);\n }\n return copy;\n }\n\n return action;\n })\n .sort(sortByOrder)\n .reduce(reduceEmptyMenus, [])\n .reduce(reduceSeparators, []);\n }\n\n getAllowedContextMenuActions(): Array<ContentActionRef> {\n return this.getAllowedActions(this.contextMenuActions);\n }\n\n getUserActions(): Array<ContentActionRef> {\n return this.userActions\n .filter(action => this.filterVisible(action))\n .sort(sortByOrder);\n }\n\n getSettingsGroups(): Array<SettingsGroupRef> {\n return this.settingGroups.filter(group => this.filterVisible(group));\n }\n\n copyAction(action: ContentActionRef): ContentActionRef {\n return {\n ...action,\n children: (action.children || []).map(child => this.copyAction(child))\n };\n }\n\n filterVisible(\n action: ContentActionRef | SettingsGroupRef | SidebarTabRef\n ): boolean {\n if (action && action.rules && action.rules.visible) {\n return this.extensions.evaluateRule(action.rules.visible, this);\n }\n return true;\n }\n\n isViewerExtensionDisabled(extension: any): boolean {\n if (extension) {\n if (extension.disabled) {\n return true;\n }\n\n if (extension.rules && extension.rules.disabled) {\n return this.extensions.evaluateRule(extension.rules.disabled, this);\n }\n }\n\n return false;\n }\n\n runActionById(id: string) {\n const action = this.extensions.getActionById(id);\n if (action) {\n const { type, payload } = action;\n const context = {\n selection: this.selection\n };\n const expression = this.extensions.runExpression(payload, context);\n\n this.store.dispatch({ type, payload: expression });\n } else {\n this.store.dispatch({ type: id });\n }\n }\n\n // todo: move to ADF/RuleService\n isRuleDefined(ruleId: string): boolean {\n return ruleId && this.getEvaluator(ruleId) ? true : false;\n }\n\n // todo: move to ADF/RuleService\n evaluateRule(ruleId: string, ...args: any[]): boolean {\n const evaluator = this.getEvaluator(ruleId);\n\n if (evaluator) {\n return evaluator(this, ...args);\n }\n\n return false;\n }\n\n getEvaluator(key: string): RuleEvaluator {\n return this.extensions.getEvaluator(key);\n }\n\n canPreviewNode(node: NodeEntry) {\n const rules = this.viewerRules;\n\n if (this.isRuleDefined(rules.canPreview)) {\n const canPreview = this.evaluateRule(rules.canPreview, node);\n\n if (!canPreview) {\n return false;\n }\n }\n\n return true;\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, Input, ViewEncapsulation } from '@angular/core';\nimport { ContentActionRef } from '@alfresco/adf-extensions';\nimport { AppExtensionService } from '../../../services/app.extension.service';\n\n@Component({\n selector: 'app-toolbar-menu-item',\n templateUrl: 'toolbar-menu-item.component.html',\n styles: [\n `\n .app-toolbar-menu-item:last-child > .mat-divider-horizontal {\n display: none;\n }\n `\n ],\n encapsulation: ViewEncapsulation.None,\n host: { class: 'app-toolbar-menu-item' }\n})\nexport class ToolbarMenuItemComponent {\n @Input()\n actionRef: ContentActionRef;\n\n constructor(private extensions: AppExtensionService) {}\n\n runAction() {\n if (this.hasClickAction(this.actionRef)) {\n this.extensions.runActionById(this.actionRef.actions.click);\n }\n }\n\n private hasClickAction(actionRef: ContentActionRef): boolean {\n if (actionRef && actionRef.actions && actionRef.actions.click) {\n return true;\n }\n return false;\n }\n\n trackById(_: number, obj: { id: string }) {\n return obj.id;\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, Input, ViewEncapsulation } from '@angular/core';\nimport { ContentActionRef } from '@alfresco/adf-extensions';\n\n@Component({\n selector: 'app-toolbar-menu',\n templateUrl: 'toolbar-menu.component.html',\n encapsulation: ViewEncapsulation.None,\n host: { class: 'app-toolbar-menu' }\n})\nexport class ToolbarMenuComponent {\n @Input()\n actionRef: ContentActionRef;\n\n @Input()\n color = '';\n\n get hasChildren(): boolean {\n return (\n this.actionRef &&\n this.actionRef.children &&\n this.actionRef.children.length > 0\n );\n }\n\n trackById(_: number, obj: { id: string }) {\n return obj.id;\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Input,\n DoCheck,\n ChangeDetectorRef\n} from '@angular/core';\nimport { ContentActionRef } from '@alfresco/adf-extensions';\n\n@Component({\n selector: 'aca-toolbar-action',\n templateUrl: './toolbar-action.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'aca-toolbar-action' }\n})\nexport class ToolbarActionComponent implements DoCheck {\n @Input()\n type = 'icon-button';\n\n @Input()\n color = '';\n\n @Input()\n actionRef: ContentActionRef;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n // todo: review after ADF 2.6\n // preview component : change detection workaround for children without input\n ngDoCheck() {\n if (this.actionRef.id.includes('app.viewer')) {\n this.cd.markForCheck();\n }\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Component, Input, ViewEncapsulation } from '@angular/core';\nimport { ContentActionRef } from '@alfresco/adf-extensions';\nimport { AppExtensionService } from '../../../services/app.extension.service';\n\nexport enum ToolbarButtonType {\n ICON_BUTTON = 'icon-button',\n MENU_ITEM = 'menu-item'\n}\n\n@Component({\n selector: 'app-toolbar-button',\n templateUrl: 'toolbar-button.component.html',\n encapsulation: ViewEncapsulation.None,\n host: { class: 'app-toolbar-button' }\n})\nexport class ToolbarButtonComponent {\n @Input()\n type: ToolbarButtonType = ToolbarButtonType.ICON_BUTTON;\n\n @Input()\n color = '';\n\n @Input()\n actionRef: ContentActionRef;\n\n constructor(private extensions: AppExtensionService) {}\n\n runAction() {\n if (this.hasClickAction(this.actionRef)) {\n this.extensions.runActionById(this.actionRef.actions.click);\n }\n }\n\n private hasClickAction(actionRef: ContentActionRef): boolean {\n if (actionRef && actionRef.actions && actionRef.actions.click) {\n return true;\n }\n return false;\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ToolbarMenuItemComponent } from './toolbar-menu-item/toolbar-menu-item.component';\nimport { ToolbarMenuComponent } from './toolbar-menu/toolbar-menu.component';\nimport { ToolbarActionComponent } from './toolbar-action/toolbar-action.component';\nimport { ToolbarButtonComponent } from './toolbar-button/toolbar-button.component';\nimport { CoreModule } from '@alfresco/adf-core';\nimport { ExtensionsModule } from '@alfresco/adf-extensions';\n\n@NgModule({\n imports: [CommonModule, CoreModule, ExtensionsModule],\n declarations: [\n ToolbarButtonComponent,\n ToolbarActionComponent,\n ToolbarMenuItemComponent,\n ToolbarMenuComponent\n ],\n exports: [\n ToolbarButtonComponent,\n ToolbarActionComponent,\n ToolbarMenuItemComponent,\n ToolbarMenuComponent\n ]\n})\nexport class SharedToolbarModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable } from '@angular/core';\nimport { AlfrescoApiService, UserPreferencesService } from '@alfresco/adf-core';\nimport { Observable, from } from 'rxjs';\nimport {\n MinimalNodeEntity,\n NodePaging,\n Node,\n DeletedNodesPaging,\n PersonEntry,\n NodeEntry,\n DiscoveryEntry,\n FavoritePaging,\n SharedLinkPaging,\n SearchRequest,\n ResultSetPaging,\n SiteBody,\n SiteEntry,\n FavoriteBody,\n FavoriteEntry\n} from '@alfresco/js-api';\nimport { map } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ContentApiService {\n constructor(\n private api: AlfrescoApiService,\n private preferences: UserPreferencesService\n ) {}\n\n /**\n * Moves a node to the trashcan.\n * @param nodeId ID of the target node\n * @param options Optional parameters supported by JS-API\n * @returns Empty result that notifies when the deletion is complete\n */\n deleteNode(\n nodeId: string,\n options: { permanent?: boolean } = {}\n ): Observable<void> {\n return from(this.api.nodesApi.deleteNode(nodeId, options));\n }\n\n /**\n * Gets the stored information about a node.\n * @param nodeId ID of the target node\n * @param options Optional parameters supported by JS-API\n * @returns Node information\n */\n getNode(nodeId: string, options: any = {}): Observable<MinimalNodeEntity> {\n const defaults = {\n include: ['path', 'properties', 'allowableOperations', 'permissions']\n };\n const queryOptions = Object.assign(defaults, options);\n\n return from(this.api.nodesApi.getNode(nodeId, queryOptions));\n }\n\n getNodeInfo(nodeId: string, options?: any): Observable<Node> {\n const defaults = {\n include: ['isFavorite', 'allowableOperations', 'path']\n };\n const queryOptions = Object.assign(defaults, options || {});\n\n return from(this.api.nodesApi.getNodeInfo(nodeId, queryOptions));\n }\n\n /**\n * Gets the items contained in a folder node.\n * @param nodeId ID of the target node\n * @param options Optional parameters supported by JS-API\n * @returns List of child items from the folder\n */\n getNodeChildren(nodeId: string, options: any = {}): Observable<NodePaging> {\n const defaults = {\n maxItems: this.preferences.paginationSize,\n skipCount: 0,\n include: [\n 'isLocked',\n 'path',\n 'properties',\n 'allowableOperations',\n 'permissions'\n ]\n };\n const queryOptions = Object.assign(defaults, options);\n\n return from(this.api.nodesApi.getNodeChildren(nodeId, queryOptions));\n }\n\n deleteSharedLink(linkId: string): Observable<any> {\n return from(this.api.sharedLinksApi.deleteSharedLink(linkId));\n }\n\n getDeletedNodes(options: any = {}): Observable<DeletedNodesPaging> {\n const defaults = {\n include: ['path']\n };\n const queryOptions = Object.assign(defaults, options);\n\n return from(this.api.nodesApi.getDeletedNodes(queryOptions));\n }\n\n restoreNode(nodeId: string): Observable<MinimalNodeEntity> {\n return from(this.api.nodesApi.restoreNode(nodeId));\n }\n\n purgeDeletedNode(nodeId: string): Observable<any> {\n return from(this.api.nodesApi.purgeDeletedNode(nodeId));\n }\n\n /**\n * Gets information about a user identified by their username.\n * @param personId ID of the target user\n * @returns User information\n */\n getPerson(\n personId: string,\n options?: { fields?: Array<string> }\n ): Observable<PersonEntry> {\n return from(this.api.peopleApi.getPerson(personId, options));\n }\n\n /**\n * Copy a node to destination node\n *\n * @param nodeId The id of the node to be copied\n * @param targetParentId The id of the folder-node where the node have to be copied to\n * @param name The new name for the copy that would be added on the destination folder\n */\n copyNode(\n nodeId: string,\n targetParentId: string,\n name?: string,\n opts?: { include?: Array<string>; fields?: Array<string> }\n ): Observable<NodeEntry> {\n return from(\n this.api.nodesApi.copyNode(nodeId, { targetParentId, name }, opts)\n );\n }\n\n /**\n * Gets product information for Content Services.\n * @returns ProductVersionModel containing product details\n */\n getRepositoryInformation(): Observable<DiscoveryEntry> {\n return from(\n this.api.getInstance().discovery.discoveryApi.getRepositoryInformation()\n );\n }\n\n getFavorites(\n personId: string,\n opts?: {\n skipCount?: number;\n maxItems?: number;\n where?: string;\n fields?: Array<string>;\n }\n ): Observable<FavoritePaging> {\n return from(this.api.favoritesApi.getFavorites(personId, opts));\n }\n\n getFavoriteLibraries(\n personId: string = '-me-',\n opts?: any\n ): Observable<FavoritePaging> {\n return this.getFavorites(personId, {\n ...opts,\n where: '(EXISTS(target/site))'\n }).pipe(\n map((response: FavoritePaging) => {\n return {\n list: {\n entries: response.list.entries.map(({ entry }: any) => {\n entry.target.site.createdAt = entry.createdAt;\n return {\n entry: entry.target.site\n };\n }),\n pagination: response.list.pagination\n }\n };\n })\n );\n }\n\n findSharedLinks(opts?: any): Observable<SharedLinkPaging> {\n return from(this.api.sharedLinksApi.findSharedLinks(opts));\n }\n\n getSharedLinkContent(sharedId: string, attachment?: boolean): string {\n return this.api.contentApi.getSharedLinkContentUrl(sharedId, attachment);\n }\n\n search(request: SearchRequest): Observable<ResultSetPaging> {\n return from(this.api.searchApi.search(request));\n }\n\n getContentUrl(nodeId: string, attachment?: boolean): string {\n return this.api.contentApi.getContentUrl(nodeId, attachment);\n }\n\n deleteSite(siteId?: string, opts?: { permanent?: boolean }): Observable<any> {\n return from(this.api.sitesApi.deleteSite(siteId, opts));\n }\n\n leaveSite(siteId?: string): Observable<any> {\n return from(this.api.sitesApi.removeSiteMember(siteId, '-me-'));\n }\n\n createSite(\n siteBody: SiteBody,\n opts?: {\n fields?: Array<string>;\n skipConfiguration?: boolean;\n skipAddToFavorites?: boolean;\n }\n ): Observable<SiteEntry> {\n return from(this.api.sitesApi.createSite(siteBody, opts));\n }\n\n getSite(\n siteId?: string,\n opts?: { relations?: Array<string>; fields?: Array<string> }\n ): Observable<SiteEntry> {\n return from(this.api.sitesApi.getSite(siteId, opts));\n }\n\n updateLibrary(siteId: string, siteBody: SiteBody): Observable<SiteEntry> {\n return from(this.api.sitesApi.updateSite(siteId, siteBody));\n }\n\n addFavorite(nodes: Array<MinimalNodeEntity>): Observable<FavoriteEntry> {\n const payload: FavoriteBody[] = nodes.map(node => {\n const { isFolder, nodeId, id } = node.entry as any;\n const siteId = node.entry['guid'];\n const type = siteId ? 'site' : isFolder ? 'folder' : 'file';\n const guid = siteId || nodeId || id;\n\n return {\n target: {\n [type]: {\n guid\n }\n }\n };\n });\n\n return from(this.api.favoritesApi.addFavorite('-me-', payload as any));\n }\n\n removeFavorite(nodes: Array<MinimalNodeEntity>): Observable<any> {\n return from(\n Promise.all(\n nodes.map((node: any) => {\n const id = node.entry.nodeId || node.entry.id;\n return this.api.favoritesApi.removeFavoriteSite('-me-', id);\n })\n )\n );\n }\n\n unlockNode(nodeId: string, opts?: any) {\n return this.api.nodesApi.unlockNode(nodeId, opts);\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n HostListener,\n Input,\n OnChanges,\n OnDestroy,\n OnInit\n} from '@angular/core';\nimport {\n MinimalNodeEntity,\n MinimalNodeEntryEntity,\n SiteEntry\n} from '@alfresco/js-api';\nimport { ContentActionRef, SidebarTabRef } from '@alfresco/adf-extensions';\nimport { Store } from '@ngrx/store';\nimport {\n getAppSelection,\n SetInfoDrawerStateAction,\n ToggleInfoDrawerAction\n} from '@alfresco/aca-shared/store';\nimport { AppExtensionService } from '../../services/app.extension.service';\nimport { ContentApiService } from '../../services/content-api.service';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n@Component({\n selector: 'aca-info-drawer',\n templateUrl: './info-drawer.component.html'\n})\nexport class InfoDrawerComponent implements OnChanges, OnInit, OnDestroy {\n @Input()\n nodeId: string;\n @Input()\n node: MinimalNodeEntity;\n\n isLoading = false;\n displayNode: MinimalNodeEntryEntity | SiteEntry;\n tabs: Array<SidebarTabRef> = [];\n actions: Array<ContentActionRef> = [];\n onDestroy$ = new Subject<boolean>();\n\n @HostListener('keydown.escape')\n onEscapeKeyboardEvent(): void {\n this.close();\n }\n\n constructor(\n private store: Store<any>,\n private contentApi: ContentApiService,\n private extensions: AppExtensionService\n ) {}\n\n ngOnInit() {\n this.tabs = this.extensions.getSidebarTabs();\n this.store\n .select(getAppSelection)\n .pipe(takeUntil(this.onDestroy$))\n .subscribe(() => {\n this.actions = this.extensions.getAllowedSidebarActions();\n });\n }\n\n ngOnDestroy() {\n this.onDestroy$.next(true);\n this.onDestroy$.complete();\n this.store.dispatch(new SetInfoDrawerStateAction(false));\n }\n\n ngOnChanges() {\n if (this.node) {\n if (this.node['isLibrary']) {\n return this.setDisplayNode(this.node);\n }\n\n const entry: any = this.node.entry;\n\n const id = entry.nodeId || entry.id;\n return this.loadNodeInfo(id);\n }\n }\n\n trackByActionId(_: number, action: ContentActionRef) {\n return action.id;\n }\n\n private close() {\n this.store.dispatch(new ToggleInfoDrawerAction());\n }\n\n private loadNodeInfo(nodeId: string) {\n if (nodeId) {\n this.isLoading = true;\n\n this.contentApi.getNodeInfo(nodeId).subscribe(\n entity => {\n this.setDisplayNode(entity);\n this.isLoading = false;\n },\n () => (this.isLoading = false)\n );\n }\n }\n\n private setDisplayNode(node: any) {\n this.displayNode = node;\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { InfoDrawerComponent } from './info-drawer.component';\nimport { InfoDrawerModule, ToolbarModule } from '@alfresco/adf-core';\nimport { ExtensionsModule } from '@alfresco/adf-extensions';\nimport { MatProgressBarModule } from '@angular/material';\nimport { SharedToolbarModule } from '../tool-bar/shared-toolbar.module';\n\n@NgModule({\n imports: [\n CommonModule,\n InfoDrawerModule,\n MatProgressBarModule,\n ExtensionsModule,\n ToolbarModule,\n SharedToolbarModule\n ],\n declarations: [InfoDrawerComponent],\n exports: [InfoDrawerComponent]\n})\nexport class SharedInfoDrawerModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n RouteReuseStrategy,\n DetachedRouteHandle,\n ActivatedRouteSnapshot\n} from '@angular/router';\nimport { ComponentRef } from '@angular/core';\n\ninterface RouteData {\n reuse: boolean;\n}\n\ninterface RouteInfo {\n handle: DetachedRouteHandle;\n data: RouteData;\n}\n\nexport class AppRouteReuseStrategy implements RouteReuseStrategy {\n private routeCache = new Map<string, RouteInfo>();\n\n resetCache() {\n this.routeCache.forEach(value => {\n this.deactivateComponent(value.handle);\n });\n this.routeCache.clear();\n }\n\n private deactivateComponent(handle: DetachedRouteHandle): void {\n if (!handle) {\n return;\n }\n const componentRef: ComponentRef<any> = handle['componentRef'];\n if (componentRef) {\n componentRef.destroy();\n }\n }\n\n shouldReuseRoute(\n future: ActivatedRouteSnapshot,\n curr: ActivatedRouteSnapshot\n ): boolean {\n const ret = future.routeConfig === curr.routeConfig;\n if (ret) {\n this.addRedirectsRecursively(future); // update redirects\n }\n return ret;\n }\n\n shouldDetach(route: ActivatedRouteSnapshot): boolean {\n const data = this.getRouteData(route);\n return data && data.reuse;\n }\n\n store(route: ActivatedRouteSnapshot, handle: DetachedRouteHandle): void {\n const url = this.getFullRouteUrl(route);\n const data = this.getRouteData(route);\n this.routeCache.set(url, { handle, data });\n this.addRedirectsRecursively(route);\n }\n\n shouldAttach(route: ActivatedRouteSnapshot): boolean {\n const url = this.getFullRouteUrl(route);\n return this.routeCache.has(url);\n }\n\n retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle {\n const url = this.getFullRouteUrl(route);\n const data = this.getRouteData(route);\n return data && data.reuse && this.routeCache.has(url)\n ? this.routeCache.get(url).handle\n : null;\n }\n\n private addRedirectsRecursively(route: ActivatedRouteSnapshot): void {\n const config = route.routeConfig;\n if (config) {\n if (!config.loadChildren) {\n const routeFirstChild = route.firstChild;\n const routeFirstChildUrl = routeFirstChild\n ? this.getRouteUrlPaths(routeFirstChild).join('/')\n : '';\n const childConfigs = config.children;\n if (childConfigs) {\n const childConfigWithRedirect = childConfigs.find(\n c => c.path === '' && !!c.redirectTo\n );\n if (childConfigWithRedirect) {\n childConfigWithRedirect.redirectTo = routeFirstChildUrl;\n }\n }\n }\n route.children.forEach(childRoute =>\n this.addRedirectsRecursively(childRoute)\n );\n }\n }\n\n private getFullRouteUrl(route: ActivatedRouteSnapshot): string {\n return this.getFullRouteUrlPaths(route)\n .filter(Boolean)\n .join('/');\n }\n\n private getFullRouteUrlPaths(route: ActivatedRouteSnapshot): string[] {\n const paths = this.getRouteUrlPaths(route);\n return route.parent\n ? [...this.getFullRouteUrlPaths(route.parent), ...paths]\n : paths;\n }\n\n private getRouteUrlPaths(route: ActivatedRouteSnapshot): string[] {\n return route.url.map(urlSegment => urlSegment.path);\n }\n\n private getRouteData(route: ActivatedRouteSnapshot): RouteData {\n return route.routeConfig && (route.routeConfig.data as RouteData);\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable } from '@angular/core';\nimport { CanActivate, ActivatedRouteSnapshot } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { Store } from '@ngrx/store';\nimport { AppStore, isQuickShareEnabled } from '@alfresco/aca-shared/store';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppSharedRuleGuard implements CanActivate {\n isQuickShareEnabled$: Observable<boolean>;\n\n constructor(store: Store<AppStore>) {\n this.isQuickShareEnabled$ = store.select(isQuickShareEnabled);\n }\n\n canActivate(\n _: ActivatedRouteSnapshot\n ): Observable<boolean> | Promise<boolean> | boolean {\n return this.isQuickShareEnabled$;\n }\n\n canActivateChild(\n route: ActivatedRouteSnapshot\n ): Observable<boolean> | Promise<boolean> | boolean {\n return this.canActivate(route);\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Injectable, Inject } from '@angular/core';\nimport { AuthenticationService, AppConfigService } from '@alfresco/adf-core';\nimport { Observable, BehaviorSubject } from 'rxjs';\nimport { RouteReuseStrategy } from '@angular/router';\nimport { AppRouteReuseStrategy } from '../routing/app.routes.strategy';\nimport { SearchQueryBuilderService } from '@alfresco/adf-content-services';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AppService {\n private ready: BehaviorSubject<boolean>;\n ready$: Observable<boolean>;\n\n /**\n * Whether `withCredentials` mode is enabled.\n * Usually means that `Kerberos` mode is used.\n */\n get withCredentials(): boolean {\n return this.config.get<boolean>('auth.withCredentials', false);\n }\n\n constructor(\n auth: AuthenticationService,\n private config: AppConfigService,\n searchQueryBuilderService: SearchQueryBuilderService,\n @Inject(RouteReuseStrategy) routeStrategy: AppRouteReuseStrategy\n ) {\n this.ready = new BehaviorSubject(auth.isLoggedIn() || this.withCredentials);\n this.ready$ = this.ready.asObservable();\n\n auth.onLogin.subscribe(() => {\n routeStrategy.resetCache();\n this.ready.next(true);\n });\n\n auth.onLogout.subscribe(() => {\n searchQueryBuilderService.resetToDefaults();\n routeStrategy.resetCache();\n });\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n Input\n} from '@angular/core';\n\n@Component({\n selector: 'aca-generic-error',\n templateUrl: './generic-error.component.html',\n styleUrls: ['./generic-error.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'aca-generic-error' }\n})\nexport class GenericErrorComponent {\n @Input()\n text = 'APP.MESSAGES.ERRORS.MISSING_CONTENT';\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { GenericErrorComponent } from './generic-error.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@NgModule({\n imports: [CommonModule, MatIconModule, TranslateModule.forChild()],\n declarations: [GenericErrorComponent],\n exports: [GenericErrorComponent]\n})\nexport class GenericErrorModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {\n Directive,\n HostListener,\n Input,\n OnInit,\n OnDestroy\n} from '@angular/core';\nimport { debounceTime, takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\nimport { Store } from '@ngrx/store';\nimport { AppStore, ContextMenu } from '@alfresco/aca-shared/store';\n\n@Directive({\n selector: '[acaContextActions]',\n exportAs: 'acaContextActions'\n})\nexport class ContextActionsDirective implements OnInit, OnDestroy {\n private execute$: Subject<any> = new Subject();\n onDestroy$: Subject<boolean> = new Subject<boolean>();\n\n // tslint:disable-next-line:no-input-rename\n @Input('acaContextEnable')\n enabled = true;\n\n @HostListener('contextmenu', ['$event'])\n onContextMenuEvent(event: MouseEvent) {\n if (event) {\n event.preventDefault();\n\n if (this.enabled) {\n const target = this.getTarget(event);\n if (target) {\n this.execute(event, target);\n }\n }\n }\n }\n\n constructor(private store: Store<AppStore>) {}\n\n ngOnInit() {\n this.execute$\n .pipe(\n debounceTime(300),\n takeUntil(this.onDestroy$)\n )\n .subscribe((event: MouseEvent) => {\n this.store.dispatch(new ContextMenu(event));\n });\n }\n\n ngOnDestroy() {\n this.onDestroy$.next(true);\n this.onDestroy$.complete();\n }\n\n execute(event: MouseEvent, target: Element) {\n if (!this.isSelected(target)) {\n target.dispatchEvent(new MouseEvent('click'));\n }\n\n this.execute$.next(event);\n }\n\n private getTarget(event: MouseEvent): Element {\n const target = event.target as Element;\n return this.findAncestor(target, 'adf-datatable-cell');\n }\n\n private isSelected(target: Element): boolean {\n if (!target) {\n return false;\n }\n\n return this.findAncestor(target, 'adf-datatable-row').classList.contains(\n 'adf-is-selected'\n );\n }\n\n private findAncestor(el: Element, className: string): Element {\n if (el.classList.contains(className)) {\n return el;\n }\n // tslint:disable-next-line:curly\n while ((el = el.parentElement) && !el.classList.contains(className));\n return el;\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { ContextActionsDirective } from './contextmenu.directive';\n\n/**\n * @deprecated in 1.11.0, use SharedDirectivesModule instead.\n */\n@NgModule({\n declarations: [ContextActionsDirective],\n exports: [ContextActionsDirective]\n})\nexport class ContextActionsModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Directive, OnInit, OnDestroy } from '@angular/core';\nimport {\n PaginationComponent,\n UserPreferencesService,\n PaginationModel,\n AppConfigService\n} from '@alfresco/adf-core';\nimport { Subscription } from 'rxjs';\n\n@Directive({\n selector: '[acaPagination]'\n})\nexport class PaginationDirective implements OnInit, OnDestroy {\n private subscriptions: Subscription[] = [];\n\n constructor(\n private pagination: PaginationComponent,\n private preferences: UserPreferencesService,\n private config: AppConfigService\n ) {}\n\n ngOnInit() {\n this.pagination.supportedPageSizes = this.config.get(\n 'pagination.supportedPageSizes'\n );\n\n this.subscriptions.push(\n this.pagination.changePageSize.subscribe((event: PaginationModel) => {\n this.preferences.paginationSize = event.maxItems;\n })\n );\n }\n\n ngOnDestroy() {\n this.subscriptions.forEach(subscription => subscription.unsubscribe());\n this.subscriptions = [];\n }\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { NgModule } from '@angular/core';\nimport { PaginationDirective } from './pagination.directive';\nimport { ContextActionsModule } from './contextmenu/contextmenu.module';\n\n@NgModule({\n imports: [ContextActionsModule],\n declarations: [PaginationDirective],\n exports: [PaginationDirective, ContextActionsModule]\n})\nexport class SharedDirectivesModule {}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { Node } from '@alfresco/js-api';\n\nexport function isLocked(node: { entry: Node }): boolean {\n const { entry } = node;\n\n return (\n (entry && entry.isLocked) ||\n (entry.properties &&\n (entry.properties['cm:lockType'] === 'READ_ONLY_LOCK' ||\n entry.properties['cm:lockType'] === 'WRITE_LOCK'))\n );\n}\n\nexport function isLibrary(node: { entry: Node | any }): boolean {\n const { entry } = node;\n\n return (\n (entry.guid &&\n entry.id &&\n entry.preset &&\n entry.title &&\n entry.visibility) ||\n entry.nodeType === 'st:site'\n );\n}\n","/*!\n * @license\n * Alfresco Example Content Application\n *\n * Copyright (C) 2005 - 2020 Alfresco Software Limited\n *\n * This file is part of the Alfresco Example Content Application.\n * If the software was purchased under a paid Alfresco license, the terms of\n * the paid license agreement will prevail. Otherwise, the software is\n * provided under the following open source license terms:\n *\n * The Alfresco Example Content Application is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * The Alfresco Example Content Application is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport { ModuleWithProviders, NgModule } from '@angular/core';\nimport { ContentApiService } from './services/content-api.service';\nimport { NodePermissionService } from './services/node-permission.service';\nimport { AppService } from './services/app.service';\nimport { ContextActionsModule } from './directives/contextmenu/contextmenu.module';\n\n@NgModule({\n imports: [ContextActionsModule],\n exports: [ContextActionsModule]\n})\nexport class SharedModule {\n static forRoot(): ModuleWithProviders {\n return {\n ngModule: SharedModule,\n providers: [ContentApiService, NodePermissionService, AppService]\n };\n }\n}\n"],"names":["tslib_1.__values"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,6BAA6B;IAC3C,OAAO,EAAE,CAAC;CACX;;AAED,IAAa,sBAAsB,GAAG,IAAI,cAAc,CAEtD,wBAAwB,EAAE;IAC1B,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,6BAA6B;CACvC,CAAC;AAEF;IAIE,mCAEU,oBAA+C;QAA/C,yBAAoB,GAApB,oBAAoB,CAA2B;QAJjD,YAAO,GAAG,KAAK,CAAC;KAKpB;;;;;IAEJ,+CAAW;;;;IAAX,UAAY,KAA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EACtD;CACH;;;;;AAED,SAAgB,SAAS,CAAC,IAA2B;IAC3C,IAAA,kBAAK;IAEb,QACE,CAAC,KAAK,CAAC,IAAI;QACT,KAAK,CAAC,EAAE;QACR,KAAK,CAAC,MAAM;QACZ,KAAK,CAAC,KAAK;QACX,KAAK,CAAC,UAAU;QAClB,KAAK,CAAC,QAAQ,KAAK,SAAS,EAC5B;CACH;;;;;;;IClBD;KAWC;;;;IANQ,oBAAO;;;IAAd;QACE,OAAO;YACL,QAAQ,EAAE,YAAY;YACtB,SAAS,EAAE,CAAC,iBAAiB,EAAE,qBAAqB,EAAE,UAAU,CAAC;SAClE,CAAC;KACH;;gBAVF,QAAQ,SAAC;oBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;oBAC/B,OAAO,EAAE,CAAC,oBAAoB,CAAC;iBAChC;;IAQD,mBAAC;CAXD;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"AcaRuleContext":{"__symbolic":"interface"},"canCopyNode":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasSelection"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotLibraries"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canAddFavorite":{"__symbolic":"function"},"canRemoveFavorite":{"__symbolic":"function"},"canShareFile":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasQuickShareEnabled"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isShared"},"arguments":[{"__symbolic":"reference","name":"context"}]}}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canToggleJoinLibrary":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasLibrarySelected"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isPrivateLibrary"},"arguments":[{"__symbolic":"reference","name":"context"}]}},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasNoLibraryRole"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canEditFolder":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canUpdateSelectedFolder"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"isShared":{"__symbolic":"function"},"canDeleteSelection":{"__symbolic":"function"},"canUnshareNodes":{"__symbolic":"function"},"hasSelection":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"isEmpty"}}},"canCreateFolder":{"__symbolic":"function"},"canUpload":{"__symbolic":"function"},"canDownloadSelection":{"__symbolic":"function"},"hasFolderSelected":{"__symbolic":"function"},"hasLibrarySelected":{"__symbolic":"function"},"isPrivateLibrary":{"__symbolic":"function"},"hasLibraryRole":{"__symbolic":"function"},"hasNoLibraryRole":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasLibraryRole"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"hasFileSelected":{"__symbolic":"function"},"canUpdateSelectedNode":{"__symbolic":"function"},"canUpdateSelectedFolder":{"__symbolic":"function"},"hasLockedFiles":{"__symbolic":"function"},"isWriteLocked":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"context"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"}},"right":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"}},"right":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"},"member":"entry"}},"right":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"},"member":"entry"},"member":"properties"}},"right":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"},"member":"entry"},"member":"properties"},"index":"cm:lockType"},"right":"WRITE_LOCK"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"},"member":"entry"},"member":"properties"},"index":"cm:lockType"},"right":"READ_ONLY_LOCK"}}}}}},"isUserWriteLockOwner":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isWriteLocked"},"arguments":[{"__symbolic":"reference","name":"context"}]},"right":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"},"member":"entry"},"member":"properties"},"index":"cm:lockOwner"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"file"},"member":"entry"},"member":"properties"},"index":"cm:lockOwner"},"member":"id"},"right":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"profile"},"member":"id"}}}}},"canLockFile":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isWriteLocked"},"arguments":[{"__symbolic":"reference","name":"context"}]}},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canUpdateSelectedNode"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"canUnlockFile":{"__symbolic":"function"},"canUploadVersion":{"__symbolic":"function"},"isTrashcanItemSelected":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasSelection"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canViewFile":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasFileSelected"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canLeaveLibrary":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasLibrarySelected"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasLibraryRole"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canToggleSharedLink":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasFileSelected"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canShareFile"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isShared"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"some"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canShowInfoDrawer":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasSelection"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotLibraries"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canManageFileVersions":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasFileSelected"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasLockedFiles"},"arguments":[{"__symbolic":"reference","name":"context"}]}}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canManagePermissions":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canUpdateSelectedNode"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canToggleEditOffline":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasFileSelected"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNotTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"binop","operator":"||","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canLockFile"},"arguments":[{"__symbolic":"reference","name":"context"}]},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canUnlockFile"},"arguments":[{"__symbolic":"reference","name":"context"}]}}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canToggleFavorite":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canAddFavorite"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"canRemoveFavorite"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"some"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]},{"__symbolic":"call","expression":{"__symbolic":"select","expression":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isRecentFiles"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isSharedFiles"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isSearchResults"},"arguments":[{"__symbolic":"reference","name":"context"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isFavorites"},"arguments":[{"__symbolic":"reference","name":"context"}]}],"member":"some"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}],"member":"every"},"arguments":[{"__symbolic":"reference","name":"Boolean"}]}},"canShowLanguagePicker":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"languagePicker"}},"canShowLogout":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"withCredentials"}}},"isLibraryManager":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"hasLibrarySelected"},"arguments":[{"__symbolic":"reference","name":"context"}]},"right":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"library"},"member":"entry"}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"selection"},"member":"library"},"member":"entry"},"member":"role"},"right":"SiteManager"}}},"isPreview":{"__symbolic":"function"},"isFavorites":{"__symbolic":"function"},"isNotFavorites":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isFavorites"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"isSharedFiles":{"__symbolic":"function"},"isNotSharedFiles":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isSharedFiles"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"isTrashcan":{"__symbolic":"function"},"isNotTrashcan":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isTrashcan"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"isPersonalFiles":{"__symbolic":"function"},"isLibraryFiles":{"__symbolic":"function"},"isLibraries":{"__symbolic":"function"},"isNotLibraries":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isLibraries"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"isRecentFiles":{"__symbolic":"function"},"isNotRecentFiles":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isRecentFiles"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"isSearchResults":{"__symbolic":"function"},"isNotSearchResults":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isSearchResults"},"arguments":[{"__symbolic":"reference","name":"context"}]}}},"isSharedPreview":{"__symbolic":"function"},"isFavoritesPreview":{"__symbolic":"function"},"isSharedFileViewer":{"__symbolic":"function"},"hasQuickShareEnabled":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"repository"},"member":"status"},"member":"isQuickShareEnabled"}},"isAdmin":{"__symbolic":"function","parameters":["context"],"value":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"context"},"member":"profile"},"member":"isAdmin"}}},"origins":{"AcaRuleContext":"./app.rules","canCopyNode":"./app.rules","canAddFavorite":"./app.rules","canRemoveFavorite":"./app.rules","canShareFile":"./app.rules","canToggleJoinLibrary":"./app.rules","canEditFolder":"./app.rules","isShared":"./app.rules","canDeleteSelection":"./app.rules","canUnshareNodes":"./app.rules","hasSelection":"./app.rules","canCreateFolder":"./app.rules","canUpload":"./app.rules","canDownloadSelection":"./app.rules","hasFolderSelected":"./app.rules","hasLibrarySelected":"./app.rules","isPrivateLibrary":"./app.rules","hasLibraryRole":"./app.rules","hasNoLibraryRole":"./app.rules","hasFileSelected":"./app.rules","canUpdateSelectedNode":"./app.rules","canUpdateSelectedFolder":"./app.rules","hasLockedFiles":"./app.rules","isWriteLocked":"./app.rules","isUserWriteLockOwner":"./app.rules","canLockFile":"./app.rules","canUnlockFile":"./app.rules","canUploadVersion":"./app.rules","isTrashcanItemSelected":"./app.rules","canViewFile":"./app.rules","canLeaveLibrary":"./app.rules","canToggleSharedLink":"./app.rules","canShowInfoDrawer":"./app.rules","canManageFileVersions":"./app.rules","canManagePermissions":"./app.rules","canToggleEditOffline":"./app.rules","canToggleFavorite":"./app.rules","canShowLanguagePicker":"./app.rules","canShowLogout":"./app.rules","isLibraryManager":"./app.rules","isPreview":"./navigation.rules","isFavorites":"./navigation.rules","isNotFavorites":"./navigation.rules","isSharedFiles":"./navigation.rules","isNotSharedFiles":"./navigation.rules","isTrashcan":"./navigation.rules","isNotTrashcan":"./navigation.rules","isPersonalFiles":"./navigation.rules","isLibraryFiles":"./navigation.rules","isLibraries":"./navigation.rules","isNotLibraries":"./navigation.rules","isRecentFiles":"./navigation.rules","isNotRecentFiles":"./navigation.rules","isSearchResults":"./navigation.rules","isNotSearchResults":"./navigation.rules","isSharedPreview":"./navigation.rules","isFavoritesPreview":"./navigation.rules","isSharedFileViewer":"./navigation.rules","hasQuickShareEnabled":"./repository.rules","isAdmin":"./user.rules"},"importAs":"@alfresco/aca-shared/rules"}
@@ -1,13 +0,0 @@
1
- {
2
- "main": "../bundles/alfresco-aca-shared-rules.umd.js",
3
- "module": "../fesm5/alfresco-aca-shared-rules.js",
4
- "es2015": "../fesm2015/alfresco-aca-shared-rules.js",
5
- "esm5": "../esm5/rules/alfresco-aca-shared-rules.js",
6
- "esm2015": "../esm2015/rules/alfresco-aca-shared-rules.js",
7
- "fesm5": "../fesm5/alfresco-aca-shared-rules.js",
8
- "fesm2015": "../fesm2015/alfresco-aca-shared-rules.js",
9
- "typings": "alfresco-aca-shared-rules.d.ts",
10
- "metadata": "alfresco-aca-shared-rules.metadata.json",
11
- "sideEffects": false,
12
- "name": "@alfresco/aca-shared/rules"
13
- }
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"AppActionTypes":{"SetSettingsParameter":"SET_SETTINGS_PARAMETER","SetInitialState":"SET_INITIAL_STATE","SetHeaderColor":"SET_HEADER_COLOR","SetCurrentFolder":"SET_CURRENT_FOLDER","SetCurrentUrl":"SET_CURRENT_URL","SetUserProfile":"SET_USER_PROFILE","SetRepositoryInfo":"SET_REPOSITORY_INFO","ToggleInfoDrawer":"TOGGLE_INFO_DRAWER","ToggleDocumentDisplayMode":"TOGGLE_DOCUMENT_DISPLAY_MODE","Logout":"LOGOUT","ReloadDocumentList":"RELOAD_DOCUMENT_LIST","ResetSelection":"RESET_SELECTION","SetInfoDrawerState":"SET_INFO_DRAWER_STATE","SetInfoDrawerMetadataAspect":"SET_INFO_DRAWER_METADATA_ASPECT","CloseModalDialogs":"CLOSE_MODAL_DIALOGS"},"SetSettingsParameterAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":50,"character":30,"module":"./actions/app.actions"}]}]}},"SetInitialStateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"AppState"}]}]}},"SetHeaderColorAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"SetCurrentFolderAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"Node","line":68,"character":30}]}]}},"SetCurrentUrlAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"SetUserProfileAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":80,"character":30,"module":"./actions/app.actions"}]}]}},"ToggleInfoDrawerAction":{"__symbolic":"class","members":{}},"ToggleDocumentDisplayMode":{"__symbolic":"class","members":{}},"LogoutAction":{"__symbolic":"class","members":{}},"ReloadDocumentListAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"ResetSelectionAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"SetInfoDrawerStateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"boolean"}]}]}},"CloseModalDialogsAction":{"__symbolic":"class","members":{}},"SetRepositoryInfoAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"RepositoryInfo","line":120,"character":30}]}]}},"LibraryActionTypes":{"Delete":"DELETE_LIBRARY","Create":"CREATE_LIBRARY","Navigate":"NAVIGATE_LIBRARY","Update":"UPDATE_LIBRARY","Leave":"LEAVE_LIBRARY"},"DeleteLibraryAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"CreateLibraryAction":{"__symbolic":"class","members":{}},"NavigateLibraryAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}]}},"UpdateLibraryAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"SiteBody","line":55,"character":31}]}]}},"LeaveLibraryAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"NodeActionTypes":{"SetSelection":"SET_SELECTED_NODES","Delete":"DELETE_NODES","UndoDelete":"UNDO_DELETE_NODES","RestoreDeleted":"RESTORE_DELETED_NODES","PurgeDeleted":"PURGE_DELETED_NODES","Download":"DOWNLOAD_NODES","CreateFolder":"CREATE_FOLDER","EditFolder":"EDIT_FOLDER","Share":"SHARE_NODE","Unshare":"UNSHARE_NODES","Copy":"COPY_NODES","Move":"MOVE_NODES","ManagePermissions":"MANAGE_PERMISSIONS","PrintFile":"PRINT_FILE","ManageVersions":"MANAGE_VERSIONS","EditOffline":"EDIT_OFFLINE","UnlockForWriting":"UNLOCK_WRITE_LOCK","AddFavorite":"ADD_FAVORITE","RemoveFavorite":"REMOVE_FAVORITE"},"SetSelectedNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"DeleteNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"UndoDeleteNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"RestoreDeletedNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"PurgeDeletedNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"DownloadNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"CreateFolderAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"EditFolderAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}},"ShareNodeAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}},"UnshareNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"CopyNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"MoveNodesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"ManagePermissionsAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}},"PrintFileAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}},"ManageVersionsAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}},"EditOfflineAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"UnlockWriteAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"AddFavoriteAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"RemoveFavoriteAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":53,"character":30}]}]}]}},"RouterActionTypes":{"NavigateUrl":"NAVIGATE_URL","NavigateRoute":"NAVIGATE_ROUTE","NavigateFolder":"NAVIGATE_FOLDER","NavigateParentFolder":"NAVIGATE_PARENT_FOLDER"},"NavigateUrlAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"NavigateRouteAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"NavigateToFolder":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":50,"character":30}]}]}},"NavigateToParentFolder":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":50,"character":30}]}]}},"SearchActionTypes":{"SearchByTerm":"SEARCH_BY_TERM","ToggleFilter":"TOGGLE_SEARCH_FILTER","ShowFilter":"SHOW_SEARCH_FILTER","HideFilter":"HIDE_SEARCH_FILTER"},"SearchByTermAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"SearchOptionModel"}]}]}]}},"ToggleSearchFilterAction":{"__symbolic":"class","members":{}},"ShowSearchFilterAction":{"__symbolic":"class","members":{}},"HideSearchFilterAction":{"__symbolic":"class","members":{}},"SnackbarActionTypes":{"Info":"SNACKBAR_INFO","Warning":"SNACKBAR_WARNING","Error":"SNACKBAR_ERROR"},"SnackbarAction":{"__symbolic":"interface"},"SnackbarUserAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@ngrx/store","name":"Action","line":41,"character":51}]}]}},"SnackbarInfoAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Object"}]}]}},"SnackbarWarningAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Object"}]}]}},"SnackbarErrorAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"Object"}]}]}},"UploadActionTypes":{"UploadFiles":"UPLOAD_FILES","UploadFolder":"UPLOAD_FOLDER","UploadFileVersion":"UPLOAD_FILE_VERSION"},"UploadFilesAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"UploadFolderAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"UploadFileVersionAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":48,"character":30,"context":{"typeName":"CustomEvent"},"module":"./actions/upload.actions"}]}]}},"ViewerActionTypes":{"ViewFile":"VIEW_FILE","ViewNode":"VIEW_NODE","FullScreen":"FULLSCREEN_VIEWER","ClosePreview":"CLOSE_PREVIEW"},"ViewNodeExtras":{"__symbolic":"interface"},"ViewFileAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":43,"character":31},{"__symbolic":"reference","name":"string"}]}]}},"ViewNodeAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"FullscreenViewerAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":43,"character":31}]}]}},"ClosePreviewAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"MinimalNodeEntity","line":43,"character":31}]}]}},"SET_INFO_DRAWER_METADATA_ASPECT":"SET_INFO_DRAWER_METADATA_ASPECT","SetInfoDrawerMetadataAspectAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"TemplateActionTypes":{"FileFromTemplate":"FILE_FROM_TEMPLATE","FolderFromTemplate":"FOLDER_FROM_TEMPLATE","CreateFromTemplate":"CREATE_FROM_TEMPLATE","CreateFromTemplateSuccess":"CREATE_FROM_TEMPLATE_SUCCESS"},"FileFromTemplate":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}]}},"FolderFromTemplate":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}]}},"CreateFromTemplate":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"Node","line":50,"character":30}]}]}},"CreateFromTemplateSuccess":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@alfresco/js-api","name":"Node","line":50,"character":30}]}]}},"ContextMenuActionTypes":{"ContextMenu":"CONTEXT_MENU"},"ContextMenu":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":34,"character":28,"context":{"typeName":"MouseEvent"},"module":"./actions/contextmenu.actions"}]}]}},"DialogEffects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":34,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ngrx/effects","name":"Actions","line":36,"character":32},{"__symbolic":"reference","module":"@angular/material/dialog","name":"MatDialog","line":36,"character":60}]}],"closeAll$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":38,"character":3},"arguments":[{"dispatch":false}]}]}]}},"RouterEffects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":41,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Store","module":"@ngrx/store","arguments":[{"__symbolic":"reference","name":"AppStore"}]},{"__symbolic":"reference","module":"@ngrx/effects","name":"Actions","line":45,"character":22},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":46,"character":20}]}],"navigateUrl$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":49,"character":3},"arguments":[{"dispatch":false}]}]}],"navigateRoute$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":59,"character":3},"arguments":[{"dispatch":false}]}]}],"navigateToFolder$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":67,"character":3},"arguments":[{"dispatch":false}]}]}],"navigateToParentFolder$":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":77,"character":3},"arguments":[{"dispatch":false}]}]}],"navigateToFolder":[{"__symbolic":"method"}],"navigateToParentFolder":[{"__symbolic":"method"}],"isLibraryContent":[{"__symbolic":"method"}]}},"SnackbarEffects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":40,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Store","module":"@ngrx/store","arguments":[{"__symbolic":"reference","name":"AppStore"}]},{"__symbolic":"reference","module":"@ngrx/effects","name":"Actions","line":44,"character":22},{"__symbolic":"reference","module":"@angular/material/snack-bar","name":"MatSnackBar","line":45,"character":22},{"__symbolic":"reference","module":"@alfresco/adf-core","name":"TranslationService","line":46,"character":32}]}],"infoEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":49,"character":3},"arguments":[{"dispatch":false}]}]}],"warningEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":57,"character":3},"arguments":[{"dispatch":false}]}]}],"errorEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"Effect","line":65,"character":3},"arguments":[{"dispatch":false}]}]}],"showSnackBar":[{"__symbolic":"method"}],"translate":[{"__symbolic":"method"}]}},"DeleteStatus":{"__symbolic":"interface"},"DeletedNodeInfo":{"__symbolic":"interface"},"NodeInfo":{"__symbolic":"interface"},"SearchOptionIds":{"Files":"content","Folders":"folder","Libraries":"libraries"},"SearchOptionModel":{"__symbolic":"interface"},"selectApp":{"__symbolic":"error","message":"Lambda not supported","line":28,"character":25,"module":"./selectors/app.selectors"},"getHeaderColor":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":30,"character":30},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":32,"character":2,"module":"./selectors/app.selectors"}]},"getAppName":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":35,"character":26},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":37,"character":2,"module":"./selectors/app.selectors"}]},"getLogoPath":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":40,"character":27},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":42,"character":2,"module":"./selectors/app.selectors"}]},"getHeaderImagePath":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":45,"character":34},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":47,"character":2,"module":"./selectors/app.selectors"}]},"getLanguagePickerState":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":50,"character":38},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":52,"character":2,"module":"./selectors/app.selectors"}]},"getUserProfile":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":55,"character":30},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":57,"character":2,"module":"./selectors/app.selectors"}]},"getCurrentFolder":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":60,"character":32},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":62,"character":2,"module":"./selectors/app.selectors"}]},"getAppSelection":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":65,"character":31},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":67,"character":2,"module":"./selectors/app.selectors"}]},"getSharedUrl":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":70,"character":28},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":72,"character":2,"module":"./selectors/app.selectors"}]},"getNavigationState":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":75,"character":34},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":77,"character":2,"module":"./selectors/app.selectors"}]},"isInfoDrawerOpened":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":80,"character":34},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":82,"character":2,"module":"./selectors/app.selectors"}]},"showFacetFilter":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":85,"character":31},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":87,"character":2,"module":"./selectors/app.selectors"}]},"getDocumentDisplayMode":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":90,"character":38},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":92,"character":2,"module":"./selectors/app.selectors"}]},"getRepositoryStatus":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":95,"character":35},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":97,"character":2,"module":"./selectors/app.selectors"}]},"isQuickShareEnabled":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":100,"character":35},"arguments":[{"__symbolic":"reference","name":"getRepositoryStatus"},{"__symbolic":"error","message":"Lambda not supported","line":102,"character":2,"module":"./selectors/app.selectors"}]},"isAdmin":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":105,"character":23},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":107,"character":2,"module":"./selectors/app.selectors"}]},"getSideNavState":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":110,"character":31},"arguments":[{"__symbolic":"reference","name":"getAppSelection"},{"__symbolic":"reference","name":"getNavigationState"},{"__symbolic":"error","message":"Lambda not supported","line":113,"character":2,"module":"./selectors/app.selectors"}]},"getRuleContext":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":121,"character":30},"arguments":[{"__symbolic":"reference","name":"getAppSelection"},{"__symbolic":"reference","name":"getNavigationState"},{"__symbolic":"reference","name":"getUserProfile"},{"__symbolic":"reference","name":"getRepositoryStatus"},{"__symbolic":"error","message":"Lambda not supported","line":126,"character":2,"module":"./selectors/app.selectors"}]},"infoDrawerMetadataAspect":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createSelector","line":136,"character":40},"arguments":[{"__symbolic":"reference","name":"selectApp"},{"__symbolic":"error","message":"Lambda not supported","line":138,"character":2,"module":"./selectors/app.selectors"}]},"AppState":{"__symbolic":"interface"},"AppStore":{"__symbolic":"interface"},"SharedStoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":31,"character":1},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngrx/effects","name":"EffectsModule","line":33,"character":4},"member":"forFeature"},"arguments":[[{"__symbolic":"reference","name":"SnackbarEffects"},{"__symbolic":"reference","name":"DialogEffects"},{"__symbolic":"reference","name":"RouterEffects"}]]}]}]}],"members":{}}},"origins":{"AppActionTypes":"./actions/app.actions","SetSettingsParameterAction":"./actions/app.actions","SetInitialStateAction":"./actions/app.actions","SetHeaderColorAction":"./actions/app.actions","SetCurrentFolderAction":"./actions/app.actions","SetCurrentUrlAction":"./actions/app.actions","SetUserProfileAction":"./actions/app.actions","ToggleInfoDrawerAction":"./actions/app.actions","ToggleDocumentDisplayMode":"./actions/app.actions","LogoutAction":"./actions/app.actions","ReloadDocumentListAction":"./actions/app.actions","ResetSelectionAction":"./actions/app.actions","SetInfoDrawerStateAction":"./actions/app.actions","CloseModalDialogsAction":"./actions/app.actions","SetRepositoryInfoAction":"./actions/app.actions","LibraryActionTypes":"./actions/library.actions","DeleteLibraryAction":"./actions/library.actions","CreateLibraryAction":"./actions/library.actions","NavigateLibraryAction":"./actions/library.actions","UpdateLibraryAction":"./actions/library.actions","LeaveLibraryAction":"./actions/library.actions","NodeActionTypes":"./actions/node.actions","SetSelectedNodesAction":"./actions/node.actions","DeleteNodesAction":"./actions/node.actions","UndoDeleteNodesAction":"./actions/node.actions","RestoreDeletedNodesAction":"./actions/node.actions","PurgeDeletedNodesAction":"./actions/node.actions","DownloadNodesAction":"./actions/node.actions","CreateFolderAction":"./actions/node.actions","EditFolderAction":"./actions/node.actions","ShareNodeAction":"./actions/node.actions","UnshareNodesAction":"./actions/node.actions","CopyNodesAction":"./actions/node.actions","MoveNodesAction":"./actions/node.actions","ManagePermissionsAction":"./actions/node.actions","PrintFileAction":"./actions/node.actions","ManageVersionsAction":"./actions/node.actions","EditOfflineAction":"./actions/node.actions","UnlockWriteAction":"./actions/node.actions","AddFavoriteAction":"./actions/node.actions","RemoveFavoriteAction":"./actions/node.actions","RouterActionTypes":"./actions/router.actions","NavigateUrlAction":"./actions/router.actions","NavigateRouteAction":"./actions/router.actions","NavigateToFolder":"./actions/router.actions","NavigateToParentFolder":"./actions/router.actions","SearchActionTypes":"./actions/search.actions","SearchByTermAction":"./actions/search.actions","ToggleSearchFilterAction":"./actions/search.actions","ShowSearchFilterAction":"./actions/search.actions","HideSearchFilterAction":"./actions/search.actions","SnackbarActionTypes":"./actions/snackbar.actions","SnackbarAction":"./actions/snackbar.actions","SnackbarUserAction":"./actions/snackbar.actions","SnackbarInfoAction":"./actions/snackbar.actions","SnackbarWarningAction":"./actions/snackbar.actions","SnackbarErrorAction":"./actions/snackbar.actions","UploadActionTypes":"./actions/upload.actions","UploadFilesAction":"./actions/upload.actions","UploadFolderAction":"./actions/upload.actions","UploadFileVersionAction":"./actions/upload.actions","ViewerActionTypes":"./actions/viewer.actions","ViewNodeExtras":"./actions/viewer.actions","ViewFileAction":"./actions/viewer.actions","ViewNodeAction":"./actions/viewer.actions","FullscreenViewerAction":"./actions/viewer.actions","ClosePreviewAction":"./actions/viewer.actions","SET_INFO_DRAWER_METADATA_ASPECT":"./actions/metadata-aspect.actions","SetInfoDrawerMetadataAspectAction":"./actions/metadata-aspect.actions","TemplateActionTypes":"./actions/template.actions","FileFromTemplate":"./actions/template.actions","FolderFromTemplate":"./actions/template.actions","CreateFromTemplate":"./actions/template.actions","CreateFromTemplateSuccess":"./actions/template.actions","ContextMenuActionTypes":"./actions/contextmenu.actions","ContextMenu":"./actions/contextmenu.actions","DialogEffects":"./effects/dialog.effects","RouterEffects":"./effects/router.effects","SnackbarEffects":"./effects/snackbar.effects","DeleteStatus":"./models/delete-status.model","DeletedNodeInfo":"./models/deleted-node-info.model","NodeInfo":"./models/node-info.model","SearchOptionIds":"./models/search-option.model","SearchOptionModel":"./models/search-option.model","selectApp":"./selectors/app.selectors","getHeaderColor":"./selectors/app.selectors","getAppName":"./selectors/app.selectors","getLogoPath":"./selectors/app.selectors","getHeaderImagePath":"./selectors/app.selectors","getLanguagePickerState":"./selectors/app.selectors","getUserProfile":"./selectors/app.selectors","getCurrentFolder":"./selectors/app.selectors","getAppSelection":"./selectors/app.selectors","getSharedUrl":"./selectors/app.selectors","getNavigationState":"./selectors/app.selectors","isInfoDrawerOpened":"./selectors/app.selectors","showFacetFilter":"./selectors/app.selectors","getDocumentDisplayMode":"./selectors/app.selectors","getRepositoryStatus":"./selectors/app.selectors","isQuickShareEnabled":"./selectors/app.selectors","isAdmin":"./selectors/app.selectors","getSideNavState":"./selectors/app.selectors","getRuleContext":"./selectors/app.selectors","infoDrawerMetadataAspect":"./selectors/app.selectors","AppState":"./states/app.state","AppStore":"./states/app.state","SharedStoreModule":"./store.module"},"importAs":"@alfresco/aca-shared/store"}
@@ -1,13 +0,0 @@
1
- {
2
- "main": "../bundles/alfresco-aca-shared-store.umd.js",
3
- "module": "../fesm5/alfresco-aca-shared-store.js",
4
- "es2015": "../fesm2015/alfresco-aca-shared-store.js",
5
- "esm5": "../esm5/store/alfresco-aca-shared-store.js",
6
- "esm2015": "../esm2015/store/alfresco-aca-shared-store.js",
7
- "fesm5": "../fesm5/alfresco-aca-shared-store.js",
8
- "fesm2015": "../fesm2015/alfresco-aca-shared-store.js",
9
- "typings": "alfresco-aca-shared-store.d.ts",
10
- "metadata": "alfresco-aca-shared-store.metadata.json",
11
- "sideEffects": false,
12
- "name": "@alfresco/aca-shared/store"
13
- }