@alfresco/aca-shared 1.12.0 → 4.0.0-4895233349

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 (321) hide show
  1. package/README.md +7 -6
  2. package/esm2020/alfresco-aca-shared.mjs +5 -0
  3. package/esm2020/lib/adf-extensions/extensions-data-loader.guard.mjs +73 -0
  4. package/esm2020/lib/components/document-base-page/document-base-page.component.mjs +176 -0
  5. package/esm2020/lib/components/document-base-page/document-base-page.service.mjs +26 -0
  6. package/esm2020/lib/components/generic-error/generic-error.component.mjs +41 -0
  7. package/esm2020/lib/components/generic-error/generic-error.module.mjs +44 -0
  8. package/esm2020/lib/components/info-drawer/info-drawer.component.mjs +123 -0
  9. package/esm2020/lib/components/info-drawer/shared-info-drawer.module.mjs +46 -0
  10. package/esm2020/lib/components/locked-by/locked-by.component.mjs +52 -0
  11. package/esm2020/lib/components/locked-by/locked-by.module.mjs +44 -0
  12. package/esm2020/lib/components/open-in-app/open-in-app.component.mjs +58 -0
  13. package/esm2020/lib/components/page-layout/page-layout-content.component.mjs +48 -0
  14. package/esm2020/lib/components/page-layout/page-layout-error.component.mjs +40 -0
  15. package/esm2020/lib/components/page-layout/page-layout-header.component.mjs +40 -0
  16. package/esm2020/lib/components/page-layout/page-layout.component.mjs +57 -0
  17. package/esm2020/lib/components/page-layout/page-layout.module.mjs +47 -0
  18. package/esm2020/lib/components/tool-bar/shared-toolbar.module.mjs +46 -0
  19. package/esm2020/lib/components/tool-bar/toolbar-action/toolbar-action.component.mjs +59 -0
  20. package/esm2020/lib/components/tool-bar/toolbar-button/toolbar-button.component.mjs +69 -0
  21. package/esm2020/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.mjs +82 -0
  22. package/esm2020/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.mjs +68 -0
  23. package/esm2020/lib/directives/contextmenu/contextmenu.directive.mjs +106 -0
  24. package/esm2020/lib/directives/contextmenu/contextmenu.module.mjs +42 -0
  25. package/esm2020/lib/directives/pagination.directive.mjs +54 -0
  26. package/esm2020/lib/directives/shared.directives.module.mjs +41 -0
  27. package/esm2020/lib/models/modal-configuration.mjs +25 -0
  28. package/esm2020/lib/models/types.mjs +25 -0
  29. package/esm2020/lib/models/viewer.rules.mjs +25 -0
  30. package/esm2020/lib/routing/shared.guard.mjs +48 -0
  31. package/esm2020/lib/services/aca-file-auto-download.service.mjs +55 -0
  32. package/esm2020/lib/services/aca-mobile-app-switcher.service.mjs +107 -0
  33. package/esm2020/lib/services/alfresco-office-extension.service.mjs +63 -0
  34. package/esm2020/lib/services/app-hook.service.mjs +87 -0
  35. package/esm2020/lib/services/app.extension.service.mjs +444 -0
  36. package/esm2020/lib/services/app.service.mjs +223 -0
  37. package/esm2020/lib/services/content-api.service.mjs +266 -0
  38. package/esm2020/lib/services/node-permission.service.mjs +89 -0
  39. package/esm2020/lib/services/router.extension.service.mjs +105 -0
  40. package/esm2020/lib/shared.module.mjs +54 -0
  41. package/esm2020/lib/testing/lib-testing-module.mjs +115 -0
  42. package/esm2020/lib/utils/node.utils.mjs +42 -0
  43. package/esm2020/public-api.mjs +62 -0
  44. package/esm2020/rules/alfresco-aca-shared-rules.mjs +5 -0
  45. package/esm2020/rules/app.rules.mjs +526 -0
  46. package/esm2020/rules/navigation.rules.mjs +156 -0
  47. package/esm2020/rules/public-api.mjs +28 -0
  48. package/esm2020/rules/repository.rules.mjs +33 -0
  49. package/esm2020/rules/user.rules.mjs +29 -0
  50. package/esm2020/store/actions/app-action-types.mjs +46 -0
  51. package/esm2020/store/actions/app.actions.mjs +128 -0
  52. package/esm2020/store/actions/context-menu-action-types.mjs +28 -0
  53. package/esm2020/store/actions/contextmenu.actions.mjs +31 -0
  54. package/esm2020/store/actions/library.actions.mjs +63 -0
  55. package/esm2020/store/actions/metadata-aspect.actions.mjs +31 -0
  56. package/esm2020/store/actions/node.actions.mjs +188 -0
  57. package/esm2020/store/actions/router-action-types.mjs +32 -0
  58. package/esm2020/store/actions/router.actions.mjs +54 -0
  59. package/esm2020/store/actions/search.actions.mjs +41 -0
  60. package/esm2020/store/actions/snackbar.actions.mjs +57 -0
  61. package/esm2020/store/actions/template-action-types.mjs +31 -0
  62. package/esm2020/store/actions/template.actions.mjs +47 -0
  63. package/esm2020/store/actions/upload.actions.mjs +49 -0
  64. package/esm2020/store/actions/viewer.actions.mjs +81 -0
  65. package/esm2020/store/alfresco-aca-shared-store.mjs +5 -0
  66. package/esm2020/store/effects/dialog.effects.mjs +44 -0
  67. package/esm2020/store/effects/router.effects.mjs +116 -0
  68. package/esm2020/store/effects/snackbar.effects.mjs +85 -0
  69. package/esm2020/store/models/delete-status.model.mjs +25 -0
  70. package/esm2020/store/models/deleted-node-info.model.mjs +25 -0
  71. package/esm2020/store/models/modal-configuration.mjs +25 -0
  72. package/esm2020/store/models/node-info.model.mjs +25 -0
  73. package/esm2020/store/models/search-option.model.mjs +30 -0
  74. package/esm2020/store/public-api.mjs +49 -0
  75. package/esm2020/store/selectors/app.selectors.mjs +56 -0
  76. package/esm2020/store/states/app.state.mjs +26 -0
  77. package/esm2020/store/store.module.mjs +42 -0
  78. package/fesm2015/alfresco-aca-shared-rules.mjs +775 -0
  79. package/fesm2015/alfresco-aca-shared-rules.mjs.map +1 -0
  80. package/fesm2015/alfresco-aca-shared-store.mjs +1300 -0
  81. package/fesm2015/alfresco-aca-shared-store.mjs.map +1 -0
  82. package/fesm2015/alfresco-aca-shared.mjs +2902 -0
  83. package/fesm2015/alfresco-aca-shared.mjs.map +1 -0
  84. package/fesm2020/alfresco-aca-shared-rules.mjs +771 -0
  85. package/fesm2020/alfresco-aca-shared-rules.mjs.map +1 -0
  86. package/fesm2020/alfresco-aca-shared-store.mjs +1376 -0
  87. package/fesm2020/alfresco-aca-shared-store.mjs.map +1 -0
  88. package/fesm2020/alfresco-aca-shared.mjs +3049 -0
  89. package/fesm2020/alfresco-aca-shared.mjs.map +1 -0
  90. package/{rules/alfresco-aca-shared-rules.d.ts → index.d.ts} +1 -0
  91. package/lib/adf-extensions/extensions-data-loader.guard.d.ts +9 -7
  92. package/lib/components/document-base-page/document-base-page.component.d.ts +76 -0
  93. package/lib/components/document-base-page/document-base-page.service.d.ts +28 -0
  94. package/lib/components/generic-error/generic-error.component.d.ts +3 -24
  95. package/lib/components/generic-error/generic-error.module.d.ts +8 -24
  96. package/lib/components/info-drawer/info-drawer.component.d.ts +11 -6
  97. package/lib/components/info-drawer/shared-info-drawer.module.d.ts +11 -24
  98. package/lib/components/locked-by/locked-by.component.d.ts +5 -30
  99. package/lib/components/locked-by/locked-by.module.d.ts +8 -24
  100. package/lib/components/open-in-app/open-in-app.component.d.ts +16 -0
  101. package/lib/components/page-layout/page-layout-content.component.d.ts +3 -24
  102. package/lib/components/page-layout/page-layout-error.component.d.ts +3 -24
  103. package/lib/components/page-layout/page-layout-header.component.d.ts +3 -24
  104. package/lib/components/page-layout/page-layout.component.d.ts +18 -7
  105. package/lib/components/page-layout/page-layout.module.d.ts +12 -24
  106. package/lib/components/tool-bar/shared-toolbar.module.d.ts +11 -24
  107. package/lib/components/tool-bar/toolbar-action/toolbar-action.component.d.ts +16 -8
  108. package/lib/components/tool-bar/toolbar-button/toolbar-button.component.d.ts +10 -25
  109. package/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.d.ts +25 -12
  110. package/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.d.ts +7 -27
  111. package/lib/directives/contextmenu/contextmenu.directive.d.ts +10 -7
  112. package/lib/directives/contextmenu/contextmenu.module.d.ts +5 -24
  113. package/lib/directives/pagination.directive.d.ts +8 -6
  114. package/lib/directives/shared.directives.module.d.ts +6 -24
  115. package/lib/models/modal-configuration.d.ts +26 -0
  116. package/lib/models/types.d.ts +5 -6
  117. package/lib/models/viewer.rules.d.ts +9 -6
  118. package/lib/routing/shared.guard.d.ts +5 -26
  119. package/lib/services/aca-file-auto-download.service.d.ts +13 -0
  120. package/lib/services/aca-mobile-app-switcher.service.d.ts +48 -0
  121. package/lib/services/alfresco-office-extension.service.d.ts +11 -0
  122. package/lib/services/app-hook.service.d.ts +55 -0
  123. package/lib/services/app.extension.service.d.ts +31 -53
  124. package/lib/services/app.service.d.ts +52 -13
  125. package/lib/services/content-api.service.d.ts +35 -25
  126. package/lib/services/node-permission.service.d.ts +3 -24
  127. package/lib/services/router.extension.service.d.ts +21 -0
  128. package/lib/shared.module.d.ts +16 -7
  129. package/lib/testing/lib-testing-module.d.ts +41 -0
  130. package/lib/utils/node.utils.d.ts +5 -6
  131. package/package.json +61 -21
  132. package/public-api.d.ts +24 -11
  133. package/rules/app.rules.d.ts +128 -36
  134. package/{store/alfresco-aca-shared-store.d.ts → rules/index.d.ts} +1 -0
  135. package/rules/navigation.rules.d.ts +12 -12
  136. package/rules/public-api.d.ts +5 -6
  137. package/rules/repository.rules.d.ts +7 -7
  138. package/rules/user.rules.d.ts +6 -7
  139. package/store/actions/app-action-types.d.ts +44 -0
  140. package/store/actions/app.actions.d.ts +30 -29
  141. package/store/actions/context-menu-action-types.d.ts +26 -0
  142. package/store/actions/contextmenu.actions.d.ts +6 -9
  143. package/store/actions/library.actions.d.ts +8 -7
  144. package/store/actions/metadata-aspect.actions.d.ts +5 -6
  145. package/store/actions/node.actions.d.ts +38 -13
  146. package/store/actions/router-action-types.d.ts +30 -0
  147. package/store/actions/router.actions.d.ts +10 -12
  148. package/store/actions/search.actions.d.ts +11 -19
  149. package/store/actions/snackbar.actions.d.ts +13 -17
  150. package/store/actions/template-action-types.d.ts +29 -0
  151. package/store/actions/template.actions.d.ts +6 -12
  152. package/store/actions/upload.actions.d.ts +8 -7
  153. package/store/actions/viewer.actions.d.ts +27 -7
  154. package/store/effects/dialog.effects.d.ts +9 -7
  155. package/store/effects/router.effects.d.ts +11 -29
  156. package/store/effects/snackbar.effects.d.ts +11 -9
  157. package/store/index.d.ts +5 -0
  158. package/store/models/delete-status.model.d.ts +5 -6
  159. package/store/models/deleted-node-info.model.d.ts +5 -6
  160. package/store/models/modal-configuration.d.ts +26 -0
  161. package/store/models/node-info.model.d.ts +5 -6
  162. package/store/models/search-option.model.d.ts +5 -6
  163. package/store/public-api.d.ts +9 -6
  164. package/store/selectors/app.selectors.d.ts +35 -25
  165. package/store/states/app.state.d.ts +14 -10
  166. package/store/store.module.d.ts +5 -24
  167. package/alfresco-aca-shared.d.ts +0 -11
  168. package/alfresco-aca-shared.metadata.json +0 -1
  169. package/bundles/alfresco-aca-shared-rules.umd.js +0 -895
  170. package/bundles/alfresco-aca-shared-rules.umd.js.map +0 -1
  171. package/bundles/alfresco-aca-shared-rules.umd.min.js +0 -75
  172. package/bundles/alfresco-aca-shared-rules.umd.min.js.map +0 -1
  173. package/bundles/alfresco-aca-shared-store.umd.js +0 -1399
  174. package/bundles/alfresco-aca-shared-store.umd.js.map +0 -1
  175. package/bundles/alfresco-aca-shared-store.umd.min.js +0 -26
  176. package/bundles/alfresco-aca-shared-store.umd.min.js.map +0 -1
  177. package/bundles/alfresco-aca-shared.umd.js +0 -2845
  178. package/bundles/alfresco-aca-shared.umd.js.map +0 -1
  179. package/bundles/alfresco-aca-shared.umd.min.js +0 -27
  180. package/bundles/alfresco-aca-shared.umd.min.js.map +0 -1
  181. package/esm2015/alfresco-aca-shared.js +0 -16
  182. package/esm2015/lib/adf-extensions/extensions-data-loader.guard.js +0 -106
  183. package/esm2015/lib/components/generic-error/generic-error.component.js +0 -52
  184. package/esm2015/lib/components/generic-error/generic-error.module.js +0 -43
  185. package/esm2015/lib/components/info-drawer/info-drawer.component.js +0 -179
  186. package/esm2015/lib/components/info-drawer/shared-info-drawer.module.js +0 -52
  187. package/esm2015/lib/components/locked-by/locked-by.component.js +0 -74
  188. package/esm2015/lib/components/locked-by/locked-by.module.js +0 -42
  189. package/esm2015/lib/components/page-layout/page-layout-content.component.js +0 -53
  190. package/esm2015/lib/components/page-layout/page-layout-error.component.js +0 -43
  191. package/esm2015/lib/components/page-layout/page-layout-header.component.js +0 -41
  192. package/esm2015/lib/components/page-layout/page-layout.component.js +0 -52
  193. package/esm2015/lib/components/page-layout/page-layout.module.js +0 -54
  194. package/esm2015/lib/components/tool-bar/shared-toolbar.module.js +0 -56
  195. package/esm2015/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -81
  196. package/esm2015/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -96
  197. package/esm2015/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -69
  198. package/esm2015/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -95
  199. package/esm2015/lib/directives/contextmenu/contextmenu.directive.js +0 -156
  200. package/esm2015/lib/directives/contextmenu/contextmenu.module.js +0 -42
  201. package/esm2015/lib/directives/pagination.directive.js +0 -93
  202. package/esm2015/lib/directives/shared.directives.module.js +0 -41
  203. package/esm2015/lib/models/types.js +0 -67
  204. package/esm2015/lib/models/viewer.rules.js +0 -40
  205. package/esm2015/lib/routing/app.routes.strategy.js +0 -207
  206. package/esm2015/lib/routing/shared.guard.js +0 -70
  207. package/esm2015/lib/services/app.extension.service.js +0 -686
  208. package/esm2015/lib/services/app.service.js +0 -95
  209. package/esm2015/lib/services/content-api.service.js +0 -331
  210. package/esm2015/lib/services/node-permission.service.js +0 -133
  211. package/esm2015/lib/shared.module.js +0 -51
  212. package/esm2015/lib/utils/node.utils.js +0 -53
  213. package/esm2015/public-api.js +0 -53
  214. package/esm2015/rules/alfresco-aca-shared-rules.js +0 -9
  215. package/esm2015/rules/app.rules.js +0 -563
  216. package/esm2015/rules/navigation.rules.js +0 -211
  217. package/esm2015/rules/public-api.js +0 -33
  218. package/esm2015/rules/repository.rules.js +0 -38
  219. package/esm2015/rules/user.rules.js +0 -38
  220. package/esm2015/store/actions/app.actions.js +0 -234
  221. package/esm2015/store/actions/contextmenu.actions.js +0 -49
  222. package/esm2015/store/actions/library.actions.js +0 -111
  223. package/esm2015/store/actions/metadata-aspect.actions.js +0 -46
  224. package/esm2015/store/actions/node.actions.js +0 -337
  225. package/esm2015/store/actions/router.actions.js +0 -97
  226. package/esm2015/store/actions/search.actions.js +0 -83
  227. package/esm2015/store/actions/snackbar.actions.js +0 -138
  228. package/esm2015/store/actions/template.actions.js +0 -85
  229. package/esm2015/store/actions/upload.actions.js +0 -81
  230. package/esm2015/store/actions/viewer.actions.js +0 -115
  231. package/esm2015/store/alfresco-aca-shared-store.js +0 -9
  232. package/esm2015/store/effects/dialog.effects.js +0 -72
  233. package/esm2015/store/effects/router.effects.js +0 -192
  234. package/esm2015/store/effects/snackbar.effects.js +0 -144
  235. package/esm2015/store/models/delete-status.model.js +0 -55
  236. package/esm2015/store/models/deleted-node-info.model.js +0 -41
  237. package/esm2015/store/models/node-info.model.js +0 -45
  238. package/esm2015/store/models/search-option.model.js +0 -52
  239. package/esm2015/store/public-api.js +0 -50
  240. package/esm2015/store/selectors/app.selectors.js +0 -82
  241. package/esm2015/store/states/app.state.js +0 -71
  242. package/esm2015/store/store.module.js +0 -43
  243. package/esm5/alfresco-aca-shared.js +0 -16
  244. package/esm5/lib/adf-extensions/extensions-data-loader.guard.js +0 -115
  245. package/esm5/lib/components/generic-error/generic-error.component.js +0 -54
  246. package/esm5/lib/components/generic-error/generic-error.module.js +0 -47
  247. package/esm5/lib/components/info-drawer/info-drawer.component.js +0 -209
  248. package/esm5/lib/components/info-drawer/shared-info-drawer.module.js +0 -56
  249. package/esm5/lib/components/locked-by/locked-by.component.js +0 -80
  250. package/esm5/lib/components/locked-by/locked-by.module.js +0 -46
  251. package/esm5/lib/components/page-layout/page-layout-content.component.js +0 -53
  252. package/esm5/lib/components/page-layout/page-layout-error.component.js +0 -45
  253. package/esm5/lib/components/page-layout/page-layout-header.component.js +0 -45
  254. package/esm5/lib/components/page-layout/page-layout.component.js +0 -54
  255. package/esm5/lib/components/page-layout/page-layout.module.js +0 -58
  256. package/esm5/lib/components/tool-bar/shared-toolbar.module.js +0 -60
  257. package/esm5/lib/components/tool-bar/toolbar-action/toolbar-action.component.js +0 -88
  258. package/esm5/lib/components/tool-bar/toolbar-button/toolbar-button.component.js +0 -103
  259. package/esm5/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.js +0 -80
  260. package/esm5/lib/components/tool-bar/toolbar-menu-item/toolbar-menu-item.component.js +0 -103
  261. package/esm5/lib/directives/contextmenu/contextmenu.directive.js +0 -187
  262. package/esm5/lib/directives/contextmenu/contextmenu.module.js +0 -46
  263. package/esm5/lib/directives/pagination.directive.js +0 -97
  264. package/esm5/lib/directives/shared.directives.module.js +0 -45
  265. package/esm5/lib/models/types.js +0 -67
  266. package/esm5/lib/models/viewer.rules.js +0 -40
  267. package/esm5/lib/routing/app.routes.strategy.js +0 -268
  268. package/esm5/lib/routing/shared.guard.js +0 -77
  269. package/esm5/lib/services/app.extension.service.js +0 -835
  270. package/esm5/lib/services/app.service.js +0 -100
  271. package/esm5/lib/services/content-api.service.js +0 -495
  272. package/esm5/lib/services/node-permission.service.js +0 -161
  273. package/esm5/lib/shared.module.js +0 -58
  274. package/esm5/lib/utils/node.utils.js +0 -53
  275. package/esm5/public-api.js +0 -53
  276. package/esm5/rules/alfresco-aca-shared-rules.js +0 -9
  277. package/esm5/rules/app.rules.js +0 -563
  278. package/esm5/rules/navigation.rules.js +0 -211
  279. package/esm5/rules/public-api.js +0 -33
  280. package/esm5/rules/repository.rules.js +0 -38
  281. package/esm5/rules/user.rules.js +0 -38
  282. package/esm5/store/actions/app.actions.js +0 -232
  283. package/esm5/store/actions/contextmenu.actions.js +0 -48
  284. package/esm5/store/actions/library.actions.js +0 -108
  285. package/esm5/store/actions/metadata-aspect.actions.js +0 -45
  286. package/esm5/store/actions/node.actions.js +0 -322
  287. package/esm5/store/actions/router.actions.js +0 -93
  288. package/esm5/store/actions/search.actions.js +0 -87
  289. package/esm5/store/actions/snackbar.actions.js +0 -130
  290. package/esm5/store/actions/template.actions.js +0 -87
  291. package/esm5/store/actions/upload.actions.js +0 -78
  292. package/esm5/store/actions/viewer.actions.js +0 -109
  293. package/esm5/store/alfresco-aca-shared-store.js +0 -9
  294. package/esm5/store/effects/dialog.effects.js +0 -71
  295. package/esm5/store/effects/router.effects.js +0 -207
  296. package/esm5/store/effects/snackbar.effects.js +0 -154
  297. package/esm5/store/models/delete-status.model.js +0 -55
  298. package/esm5/store/models/deleted-node-info.model.js +0 -41
  299. package/esm5/store/models/node-info.model.js +0 -45
  300. package/esm5/store/models/search-option.model.js +0 -52
  301. package/esm5/store/public-api.js +0 -50
  302. package/esm5/store/selectors/app.selectors.js +0 -82
  303. package/esm5/store/states/app.state.js +0 -71
  304. package/esm5/store/store.module.js +0 -47
  305. package/fesm2015/alfresco-aca-shared-rules.js +0 -827
  306. package/fesm2015/alfresco-aca-shared-rules.js.map +0 -1
  307. package/fesm2015/alfresco-aca-shared-store.js +0 -1354
  308. package/fesm2015/alfresco-aca-shared-store.js.map +0 -1
  309. package/fesm2015/alfresco-aca-shared.js +0 -2096
  310. package/fesm2015/alfresco-aca-shared.js.map +0 -1
  311. package/fesm5/alfresco-aca-shared-rules.js +0 -827
  312. package/fesm5/alfresco-aca-shared-rules.js.map +0 -1
  313. package/fesm5/alfresco-aca-shared-store.js +0 -1278
  314. package/fesm5/alfresco-aca-shared-store.js.map +0 -1
  315. package/fesm5/alfresco-aca-shared.js +0 -2637
  316. package/fesm5/alfresco-aca-shared.js.map +0 -1
  317. package/lib/routing/app.routes.strategy.d.ts +0 -40
  318. package/rules/alfresco-aca-shared-rules.metadata.json +0 -1
  319. package/rules/package.json +0 -13
  320. package/store/alfresco-aca-shared-store.metadata.json +0 -1
  321. package/store/package.json +0 -13
@@ -1,28 +1,3 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
- import { Type } from '@angular/core';
26
1
  import { Store } from '@ngrx/store';
27
2
  import { MatIconRegistry } from '@angular/material/icon';
28
3
  import { DomSanitizer } from '@angular/platform-browser';
@@ -32,37 +7,36 @@ import { AppConfigService, AuthenticationService, LogService } from '@alfresco/a
32
7
  import { Observable } from 'rxjs';
33
8
  import { RepositoryInfo, NodeEntry } from '@alfresco/js-api';
34
9
  import { ViewerRules } from '../models/viewer.rules';
35
- import { SettingsGroupRef, ExtensionRoute } from '../models/types';
10
+ import { SettingsGroupRef } from '../models/types';
36
11
  import { NodePermissionService } from '../services/node-permission.service';
12
+ import { ModalConfiguration } from '../models/modal-configuration';
13
+ import * as i0 from "@angular/core";
37
14
  export declare class AppExtensionService implements RuleContext {
38
15
  auth: AuthenticationService;
39
16
  protected store: Store<AppStore>;
40
17
  protected loader: ExtensionLoaderService;
41
18
  protected extensions: ExtensionService;
42
19
  permissions: NodePermissionService;
43
- protected appConfig: AppConfigService;
20
+ appConfig: AppConfigService;
44
21
  protected matIconRegistry: MatIconRegistry;
45
22
  protected sanitizer: DomSanitizer;
46
23
  protected logger: LogService;
47
24
  private _references;
48
- defaults: {
49
- layout: string;
50
- auth: string[];
51
- };
52
- headerActions: Array<ContentActionRef>;
53
- toolbarActions: Array<ContentActionRef>;
54
- viewerToolbarActions: Array<ContentActionRef>;
55
- sharedLinkViewerToolbarActions: Array<ContentActionRef>;
56
- contextMenuActions: Array<ContentActionRef>;
57
- openWithActions: Array<ContentActionRef>;
58
- createActions: Array<ContentActionRef>;
59
25
  navbar: Array<NavBarGroupRef>;
60
26
  sidebarTabs: Array<SidebarTabRef>;
61
- sidebarActions: Array<ContentActionRef>;
62
27
  contentMetadata: any;
28
+ search: any;
63
29
  viewerRules: ViewerRules;
64
- userActions: Array<ContentActionRef>;
65
30
  settingGroups: Array<SettingsGroupRef>;
31
+ private _headerActions;
32
+ private _toolbarActions;
33
+ private _viewerToolbarActions;
34
+ private _sharedLinkViewerToolbarActions;
35
+ private _contextMenuActions;
36
+ private _openWithActions;
37
+ private _createActions;
38
+ private _mainActions;
39
+ private _sidebarActions;
66
40
  documentListPresets: {
67
41
  files: Array<DocumentListPresetRef>;
68
42
  libraries: Array<DocumentListPresetRef>;
@@ -78,8 +52,8 @@ export declare class AppExtensionService implements RuleContext {
78
52
  profile: ProfileState;
79
53
  repository: RepositoryInfo;
80
54
  withCredentials: boolean;
81
- languagePicker: boolean;
82
55
  references$: Observable<ExtensionRef[]>;
56
+ config: ExtensionConfig;
83
57
  constructor(auth: AuthenticationService, store: Store<AppStore>, loader: ExtensionLoaderService, extensions: ExtensionService, permissions: NodePermissionService, appConfig: AppConfigService, matIconRegistry: MatIconRegistry, sanitizer: DomSanitizer, logger: LogService);
84
58
  load(): Promise<void>;
85
59
  setup(config: ExtensionConfig): void;
@@ -88,6 +62,7 @@ export declare class AppExtensionService implements RuleContext {
88
62
  protected getDocumentListPreset(config: ExtensionConfig, key: string): DocumentListPresetRef[];
89
63
  getApplicationNavigation(elements: any): Array<NavBarGroupRef>;
90
64
  loadContentMetadata(config: ExtensionConfig): any;
65
+ loadSearchForms(config: ExtensionConfig): any;
91
66
  filterDisabled(object: Array<{
92
67
  disabled: boolean;
93
68
  }> | {
@@ -95,25 +70,28 @@ export declare class AppExtensionService implements RuleContext {
95
70
  }): any;
96
71
  getNavigationGroups(): Array<NavBarGroupRef>;
97
72
  getSidebarTabs(): Array<SidebarTabRef>;
98
- getComponentById(id: string): Type<{}>;
99
- getApplicationRoutes(): Array<ExtensionRoute>;
100
- getCreateActions(): Array<ContentActionRef>;
73
+ private setActionDisabledFromRule;
74
+ getCreateActions(): Observable<Array<ContentActionRef>>;
75
+ getMainAction(): Observable<ContentActionRef>;
101
76
  private buildMenu;
102
77
  private getAllowedActions;
103
- getAllowedSidebarActions(): Array<ContentActionRef>;
104
- getAllowedToolbarActions(): Array<ContentActionRef>;
105
- getViewerToolbarActions(): Array<ContentActionRef>;
106
- getSharedLinkViewerToolbarActions(): Array<ContentActionRef>;
107
- getHeaderActions(): Array<ContentActionRef>;
108
- getAllowedContextMenuActions(): Array<ContentActionRef>;
109
- getUserActions(): Array<ContentActionRef>;
78
+ getAllowedSidebarActions(): Observable<Array<ContentActionRef>>;
79
+ getAllowedToolbarActions(): Observable<Array<ContentActionRef>>;
80
+ getViewerToolbarActions(): Observable<Array<ContentActionRef>>;
81
+ getOpenWithActions(): Observable<Array<ContentActionRef>>;
82
+ getSharedLinkViewerToolbarActions(): Observable<Array<ContentActionRef>>;
83
+ getHeaderActions(): Observable<Array<ContentActionRef>>;
84
+ getAllowedContextMenuActions(): Observable<Array<ContentActionRef>>;
110
85
  getSettingsGroups(): Array<SettingsGroupRef>;
111
86
  copyAction(action: ContentActionRef): ContentActionRef;
112
- filterVisible(action: ContentActionRef | SettingsGroupRef | SidebarTabRef): boolean;
87
+ filterVisible(action: ContentActionRef | SettingsGroupRef | SidebarTabRef | DocumentListPresetRef): boolean;
113
88
  isViewerExtensionDisabled(extension: any): boolean;
114
- runActionById(id: string): void;
89
+ runActionById(id: string, additionalPayload?: ModalConfiguration): void;
115
90
  isRuleDefined(ruleId: string): boolean;
116
91
  evaluateRule(ruleId: string, ...args: any[]): boolean;
117
92
  getEvaluator(key: string): RuleEvaluator;
118
93
  canPreviewNode(node: NodeEntry): boolean;
94
+ canShowViewerNavigation(node: NodeEntry): boolean;
95
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppExtensionService, never>;
96
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppExtensionService>;
119
97
  }
@@ -1,12 +1,11 @@
1
1
  /*!
2
- * @license
3
- * Alfresco Example Content Application
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
4
3
  *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
4
+ * Alfresco Example Content Application
6
5
  *
7
6
  * This file is part of the Alfresco Example Content Application.
8
7
  * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
8
+ * the paid license agreement will prevail. Otherwise, the software is
10
9
  * provided under the following open source license terms:
11
10
  *
12
11
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -16,24 +15,64 @@
16
15
  *
17
16
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
17
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
19
  * GNU Lesser General Public License for more details.
21
20
  *
22
21
  * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
24
23
  */
25
- import { AuthenticationService, AppConfigService } from '@alfresco/adf-core';
26
- import { Observable } from 'rxjs';
27
- import { AppRouteReuseStrategy } from '../routing/app.routes.strategy';
28
- import { SearchQueryBuilderService } from '@alfresco/adf-content-services';
29
- export declare class AppService {
24
+ import { OnDestroy } from '@angular/core';
25
+ import { AuthenticationService, AppConfigService, AlfrescoApiService, PageTitleService, UserPreferencesService } from '@alfresco/adf-core';
26
+ import { Observable, Subject } from 'rxjs';
27
+ import { GroupService, SearchQueryBuilderService, SharedLinksApiService, UploadService, FileUploadErrorEvent } from '@alfresco/adf-content-services';
28
+ import { OverlayContainer } from '@angular/cdk/overlay';
29
+ import { ActivatedRoute, Router } from '@angular/router';
30
+ import { AppState, AppStore } from '@alfresco/aca-shared/store';
31
+ import { ContentApiService } from './content-api.service';
32
+ import { RouterExtensionService } from './router.extension.service';
33
+ import { Store } from '@ngrx/store';
34
+ import { AcaMobileAppSwitcherService } from './aca-mobile-app-switcher.service';
35
+ import * as i0 from "@angular/core";
36
+ export declare class AppService implements OnDestroy {
37
+ preferencesService: UserPreferencesService;
38
+ private authenticationService;
39
+ private store;
40
+ private router;
41
+ private activatedRoute;
30
42
  private config;
43
+ private pageTitle;
44
+ private alfrescoApiService;
45
+ private uploadService;
46
+ private routerExtensionService;
47
+ private contentApi;
48
+ private sharedLinksApiService;
49
+ private groupService;
50
+ private overlayContainer;
51
+ private initialAppState;
52
+ private acaMobileAppSwitcherService;
31
53
  private ready;
32
54
  ready$: Observable<boolean>;
55
+ pageHeading$: Observable<string>;
56
+ appNavNarMode$: Subject<'collapsed' | 'expanded'>;
57
+ toggleAppNavBar$: Subject<unknown>;
58
+ hideSidenavConditions: string[];
59
+ minimizeSidenavConditions: string[];
60
+ onDestroy$: Subject<boolean>;
33
61
  /**
34
62
  * Whether `withCredentials` mode is enabled.
35
63
  * Usually means that `Kerberos` mode is used.
36
64
  */
37
- readonly withCredentials: boolean;
38
- constructor(auth: AuthenticationService, config: AppConfigService, searchQueryBuilderService: SearchQueryBuilderService, routeStrategy: AppRouteReuseStrategy);
65
+ get withCredentials(): boolean;
66
+ constructor(preferencesService: UserPreferencesService, authenticationService: AuthenticationService, store: Store<AppStore>, router: Router, activatedRoute: ActivatedRoute, config: AppConfigService, pageTitle: PageTitleService, alfrescoApiService: AlfrescoApiService, uploadService: UploadService, routerExtensionService: RouterExtensionService, contentApi: ContentApiService, sharedLinksApiService: SharedLinksApiService, groupService: GroupService, overlayContainer: OverlayContainer, initialAppState: AppState, searchQueryBuilderService: SearchQueryBuilderService, acaMobileAppSwitcherService: AcaMobileAppSwitcherService);
67
+ ngOnDestroy(): void;
68
+ init(): void;
69
+ private loadRepositoryStatus;
70
+ private loadUserProfile;
71
+ loadAppSettings(): void;
72
+ onFileUploadedError(error: FileUploadErrorEvent): void;
73
+ private loadCustomCss;
74
+ private loadCustomWebFont;
75
+ private createLink;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppService, never>;
77
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppService>;
39
78
  }
@@ -1,36 +1,34 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
1
  import { AlfrescoApiService, UserPreferencesService } from '@alfresco/adf-core';
26
2
  import { Observable } from 'rxjs';
27
- import { MinimalNodeEntity, NodePaging, Node, DeletedNodesPaging, PersonEntry, NodeEntry, DiscoveryEntry, FavoritePaging, SharedLinkPaging, SearchRequest, ResultSetPaging, SiteBody, SiteEntry, FavoriteEntry } from '@alfresco/js-api';
3
+ import { MinimalNodeEntity, NodePaging, Node, DeletedNodesPaging, PersonEntry, NodeEntry, DiscoveryEntry, FavoritePaging, SharedLinkPaging, SearchRequest, ResultSetPaging, SiteBody, SiteEntry, FavoriteEntry, NodesApi, TrashcanApi, SharedlinksApi, DiscoveryApi, FavoritesApi, ContentApi, SitesApi, SearchApi, PeopleApi, VersionsApi, DirectAccessUrlEntry, VersionPaging } from '@alfresco/js-api';
4
+ import * as i0 from "@angular/core";
28
5
  export declare class ContentApiService {
29
6
  private api;
30
7
  private preferences;
8
+ private _nodesApi;
9
+ get nodesApi(): NodesApi;
10
+ private _trashcanApi;
11
+ get trashcanApi(): TrashcanApi;
12
+ private _sharedLinksApi;
13
+ get sharedLinksApi(): SharedlinksApi;
14
+ private _discoveryApi;
15
+ get discoveryApi(): DiscoveryApi;
16
+ private _favoritesApi;
17
+ get favoritesApi(): FavoritesApi;
18
+ private _contentApi;
19
+ get contentApi(): ContentApi;
20
+ private _sitesApi;
21
+ get sitesApi(): SitesApi;
22
+ private _searchApi;
23
+ get searchApi(): SearchApi;
24
+ private _peopleApi;
25
+ get peopleApi(): PeopleApi;
26
+ private _versionsApi;
27
+ get versionsApi(): VersionsApi;
31
28
  constructor(api: AlfrescoApiService, preferences: UserPreferencesService);
32
29
  /**
33
30
  * Moves a node to the trashcan.
31
+ *
34
32
  * @param nodeId ID of the target node
35
33
  * @param options Optional parameters supported by JS-API
36
34
  * @returns Empty result that notifies when the deletion is complete
@@ -40,6 +38,7 @@ export declare class ContentApiService {
40
38
  }): Observable<void>;
41
39
  /**
42
40
  * Gets the stored information about a node.
41
+ *
43
42
  * @param nodeId ID of the target node
44
43
  * @param options Optional parameters supported by JS-API
45
44
  * @returns Node information
@@ -48,6 +47,7 @@ export declare class ContentApiService {
48
47
  getNodeInfo(nodeId: string, options?: any): Observable<Node>;
49
48
  /**
50
49
  * Gets the items contained in a folder node.
50
+ *
51
51
  * @param nodeId ID of the target node
52
52
  * @param options Optional parameters supported by JS-API
53
53
  * @returns List of child items from the folder
@@ -59,7 +59,9 @@ export declare class ContentApiService {
59
59
  purgeDeletedNode(nodeId: string): Observable<any>;
60
60
  /**
61
61
  * Gets information about a user identified by their username.
62
+ *
62
63
  * @param personId ID of the target user
64
+ * @param options Api options
63
65
  * @returns User information
64
66
  */
65
67
  getPerson(personId: string, options?: {
@@ -71,6 +73,7 @@ export declare class ContentApiService {
71
73
  * @param nodeId The id of the node to be copied
72
74
  * @param targetParentId The id of the folder-node where the node have to be copied to
73
75
  * @param name The new name for the copy that would be added on the destination folder
76
+ * @param opts Api options
74
77
  */
75
78
  copyNode(nodeId: string, targetParentId: string, name?: string, opts?: {
76
79
  include?: Array<string>;
@@ -78,6 +81,7 @@ export declare class ContentApiService {
78
81
  }): Observable<NodeEntry>;
79
82
  /**
80
83
  * Gets product information for Content Services.
84
+ *
81
85
  * @returns ProductVersionModel containing product details
82
86
  */
83
87
  getRepositoryInformation(): Observable<DiscoveryEntry>;
@@ -92,6 +96,7 @@ export declare class ContentApiService {
92
96
  getSharedLinkContent(sharedId: string, attachment?: boolean): string;
93
97
  search(request: SearchRequest): Observable<ResultSetPaging>;
94
98
  getContentUrl(nodeId: string, attachment?: boolean): string;
99
+ getVersionContentUrl(nodeId: string, versionId: string, attachment?: boolean): string;
95
100
  deleteSite(siteId?: string, opts?: {
96
101
  permanent?: boolean;
97
102
  }): Observable<any>;
@@ -109,4 +114,9 @@ export declare class ContentApiService {
109
114
  addFavorite(nodes: Array<MinimalNodeEntity>): Observable<FavoriteEntry>;
110
115
  removeFavorite(nodes: Array<MinimalNodeEntity>): Observable<any>;
111
116
  unlockNode(nodeId: string, opts?: any): Promise<MinimalNodeEntity>;
117
+ getNodeVersions(nodeId: string, opts?: any): Observable<VersionPaging>;
118
+ requestNodeDirectAccessUrl(nodeId: string): Observable<DirectAccessUrlEntry>;
119
+ requestVersionDirectAccessUrl(nodeId: string, versionId: string): Observable<DirectAccessUrlEntry>;
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentApiService, never>;
121
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContentApiService>;
112
122
  }
@@ -1,29 +1,6 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
25
1
  import { NodePermissions } from '@alfresco/adf-extensions';
26
2
  import { Node, SharedLinkEntry, NodeEntry } from '@alfresco/js-api';
3
+ import * as i0 from "@angular/core";
27
4
  export declare type PermissionSource = NodeEntry | SharedLinkEntry | Node;
28
5
  export interface PermissionOptions {
29
6
  target?: string;
@@ -35,4 +12,6 @@ export declare class NodePermissionService implements NodePermissions {
35
12
  check(source: PermissionSource | PermissionSource[], permissions: string[], options?: PermissionOptions): boolean;
36
13
  private isOperationAllowed;
37
14
  private getAllowableOperations;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<NodePermissionService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<NodePermissionService>;
38
17
  }
@@ -0,0 +1,21 @@
1
+ import { ExtensionService } from '@alfresco/adf-extensions';
2
+ import { ExtensionRoute } from '../models/types';
3
+ import { Router } from '@angular/router';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RouterExtensionService {
6
+ private router;
7
+ protected extensions: ExtensionService;
8
+ defaults: {
9
+ layout: string;
10
+ auth: string[];
11
+ };
12
+ constructor(router: Router, extensions: ExtensionService);
13
+ mapExtensionRoutes(): void;
14
+ getApplicationRoutes(): Array<ExtensionRoute>;
15
+ private getComponentById;
16
+ private extensionRouteHasChild;
17
+ private convertExtensionRouteToRoute;
18
+ private findRoute;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouterExtensionService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouterExtensionService>;
21
+ }
@@ -1,12 +1,11 @@
1
1
  /*!
2
- * @license
3
- * Alfresco Example Content Application
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
4
3
  *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
4
+ * Alfresco Example Content Application
6
5
  *
7
6
  * This file is part of the Alfresco Example Content Application.
8
7
  * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
8
+ * the paid license agreement will prevail. Otherwise, the software is
10
9
  * provided under the following open source license terms:
11
10
  *
12
11
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -16,13 +15,23 @@
16
15
  *
17
16
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
17
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
19
  * GNU Lesser General Public License for more details.
21
20
  *
22
21
  * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
24
23
  */
25
24
  import { ModuleWithProviders } from '@angular/core';
25
+ import * as i0 from "@angular/core";
26
+ import * as i1 from "./components/open-in-app/open-in-app.component";
27
+ import * as i2 from "./directives/contextmenu/contextmenu.module";
28
+ import * as i3 from "@angular/material/button";
29
+ import * as i4 from "@angular/material/icon";
30
+ import * as i5 from "@angular/material/dialog";
31
+ import * as i6 from "@ngx-translate/core";
26
32
  export declare class SharedModule {
27
- static forRoot(): ModuleWithProviders;
33
+ static forRoot(): ModuleWithProviders<SharedModule>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
35
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.OpenInAppComponent], [typeof i2.ContextActionsModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatDialogModule, typeof i6.TranslateModule], [typeof i2.ContextActionsModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatDialogModule, typeof i6.TranslateModule]>;
36
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
28
37
  }
@@ -0,0 +1,41 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/platform-browser/animations";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/common/http";
5
+ import * as i4 from "@angular/router/testing";
6
+ import * as i5 from "@ngrx/store";
7
+ import * as i6 from "@ngrx/effects";
8
+ import * as i7 from "@ngx-translate/core";
9
+ import * as i8 from "@alfresco/adf-core";
10
+ export declare const initialState: {
11
+ app: {
12
+ appName: string;
13
+ logoPath: string;
14
+ sharedUrl: string;
15
+ user: {
16
+ isAdmin: any;
17
+ id: any;
18
+ firstName: string;
19
+ lastName: string;
20
+ };
21
+ selection: {
22
+ nodes: any[];
23
+ libraries: any[];
24
+ isEmpty: boolean;
25
+ count: number;
26
+ };
27
+ navigation: {
28
+ currentFolder: any;
29
+ };
30
+ infoDrawerOpened: boolean;
31
+ infoDrawerMetadataAspect: string;
32
+ showFacetFilter: boolean;
33
+ documentDisplayMode: string;
34
+ repository: any;
35
+ };
36
+ };
37
+ export declare class LibTestingModule {
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibTestingModule, never>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LibTestingModule, never, [typeof i1.NoopAnimationsModule, typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.RouterTestingModule, typeof i5.StoreModule, typeof i6.EffectsRootModule, typeof i7.TranslateModule, typeof i8.PipeModule], never>;
40
+ static ɵinj: i0.ɵɵInjectorDeclaration<LibTestingModule>;
41
+ }
@@ -1,12 +1,11 @@
1
1
  /*!
2
- * @license
3
- * Alfresco Example Content Application
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
4
3
  *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
4
+ * Alfresco Example Content Application
6
5
  *
7
6
  * This file is part of the Alfresco Example Content Application.
8
7
  * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
8
+ * the paid license agreement will prevail. Otherwise, the software is
10
9
  * provided under the following open source license terms:
11
10
  *
12
11
  * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
@@ -16,11 +15,11 @@
16
15
  *
17
16
  * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
17
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
19
  * GNU Lesser General Public License for more details.
21
20
  *
22
21
  * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
24
23
  */
25
24
  import { Node } from '@alfresco/js-api';
26
25
  export declare function isLocked(node: {
package/package.json CHANGED
@@ -1,28 +1,68 @@
1
1
  {
2
2
  "name": "@alfresco/aca-shared",
3
- "version": "1.12.0",
3
+ "version": "4.0.0-4895233349",
4
+ "commit": "",
5
+ "license": "LGPL-3.0",
4
6
  "peerDependencies": {
5
- "@angular/common": "^7.2.0",
6
- "@angular/core": "^7.2.0",
7
- "@angular/material": "^7.3.7",
8
- "@ngrx/effects": "^7.4.0",
9
- "@ngrx/store": "^7.4.0",
10
- "@alfresco/adf-extensions": "^3.1.0",
11
- "@alfresco/js-api": "^3.1.0",
12
- "rxjs": "^6.4.0",
13
- "@ngx-translate/core": "^11.0.1"
7
+ "@alfresco/adf-content-services": "6.0.0-A.1-37376",
8
+ "@alfresco/adf-core": "6.0.0-A.1-37376",
9
+ "@alfresco/adf-extensions": "6.0.0-A.1-37376",
10
+ "@alfresco/js-api": "5.2.0",
11
+ "@angular/animations": "14.1.2",
12
+ "@angular/common": "14.1.2",
13
+ "@angular/compiler": "14.1.2",
14
+ "@angular/core": "14.1.2",
15
+ "@angular/flex-layout": "^14.0.0-beta.40",
16
+ "@angular/forms": "14.1.2",
17
+ "@angular/material": "14.1.2",
18
+ "@ngrx/effects": "^14.2.0",
19
+ "@ngrx/router-store": "^14.2.0",
20
+ "@ngrx/store": "^14.2.0",
21
+ "@ngx-translate/core": "^14.0.0",
22
+ "rxjs": "6.6.6",
23
+ "zone.js": "0.11.8"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/Alfresco/alfresco-content-app.git"
28
+ },
29
+ "module": "fesm2015/alfresco-aca-shared.mjs",
30
+ "es2020": "fesm2020/alfresco-aca-shared.mjs",
31
+ "esm2020": "esm2020/alfresco-aca-shared.mjs",
32
+ "fesm2020": "fesm2020/alfresco-aca-shared.mjs",
33
+ "fesm2015": "fesm2015/alfresco-aca-shared.mjs",
34
+ "typings": "index.d.ts",
35
+ "exports": {
36
+ "./package.json": {
37
+ "default": "./package.json"
38
+ },
39
+ ".": {
40
+ "types": "./index.d.ts",
41
+ "esm2020": "./esm2020/alfresco-aca-shared.mjs",
42
+ "es2020": "./fesm2020/alfresco-aca-shared.mjs",
43
+ "es2015": "./fesm2015/alfresco-aca-shared.mjs",
44
+ "node": "./fesm2015/alfresco-aca-shared.mjs",
45
+ "default": "./fesm2020/alfresco-aca-shared.mjs"
46
+ },
47
+ "./rules": {
48
+ "types": "./rules/index.d.ts",
49
+ "esm2020": "./esm2020/rules/alfresco-aca-shared-rules.mjs",
50
+ "es2020": "./fesm2020/alfresco-aca-shared-rules.mjs",
51
+ "es2015": "./fesm2015/alfresco-aca-shared-rules.mjs",
52
+ "node": "./fesm2015/alfresco-aca-shared-rules.mjs",
53
+ "default": "./fesm2020/alfresco-aca-shared-rules.mjs"
54
+ },
55
+ "./store": {
56
+ "types": "./store/index.d.ts",
57
+ "esm2020": "./esm2020/store/alfresco-aca-shared-store.mjs",
58
+ "es2020": "./fesm2020/alfresco-aca-shared-store.mjs",
59
+ "es2015": "./fesm2015/alfresco-aca-shared-store.mjs",
60
+ "node": "./fesm2015/alfresco-aca-shared-store.mjs",
61
+ "default": "./fesm2020/alfresco-aca-shared-store.mjs"
62
+ }
14
63
  },
15
- "main": "bundles/alfresco-aca-shared.umd.js",
16
- "module": "fesm5/alfresco-aca-shared.js",
17
- "es2015": "fesm2015/alfresco-aca-shared.js",
18
- "esm5": "esm5/alfresco-aca-shared.js",
19
- "esm2015": "esm2015/alfresco-aca-shared.js",
20
- "fesm5": "fesm5/alfresco-aca-shared.js",
21
- "fesm2015": "fesm2015/alfresco-aca-shared.js",
22
- "typings": "alfresco-aca-shared.d.ts",
23
- "metadata": "alfresco-aca-shared.metadata.json",
24
64
  "sideEffects": false,
25
65
  "dependencies": {
26
- "tslib": "^1.9.0"
66
+ "tslib": "^2.0.0"
27
67
  }
28
- }
68
+ }