@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
@@ -26,6 +26,7 @@ import { OnInit, OnDestroy } from '@angular/core';
26
26
  import { Subject } from 'rxjs';
27
27
  import { Store } from '@ngrx/store';
28
28
  import { AppStore } from '@alfresco/aca-shared/store';
29
+ import * as i0 from "@angular/core";
29
30
  export declare class ContextActionsDirective implements OnInit, OnDestroy {
30
31
  private store;
31
32
  private execute$;
@@ -35,8 +36,11 @@ export declare class ContextActionsDirective implements OnInit, OnDestroy {
35
36
  constructor(store: Store<AppStore>);
36
37
  ngOnInit(): void;
37
38
  ngOnDestroy(): void;
38
- execute(event: MouseEvent, target: Element): void;
39
+ execute(event: MouseEvent, target: Element): any;
39
40
  private getTarget;
40
41
  private isSelected;
42
+ private isEmptyTable;
41
43
  private findAncestor;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextActionsDirective, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ContextActionsDirective, "[acaContextActions]", ["acaContextActions"], { "enabled": "acaContextEnable"; }, {}, never, never, false>;
42
46
  }
@@ -1,29 +1,10 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./contextmenu.directive";
25
3
  /**
26
4
  * @deprecated in 1.11.0, use SharedDirectivesModule instead.
27
5
  */
28
6
  export declare class ContextActionsModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextActionsModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ContextActionsModule, [typeof i1.ContextActionsDirective], never, [typeof i1.ContextActionsDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ContextActionsModule>;
29
10
  }
@@ -24,6 +24,7 @@
24
24
  */
25
25
  import { OnInit, OnDestroy } from '@angular/core';
26
26
  import { PaginationComponent, UserPreferencesService, AppConfigService } from '@alfresco/adf-core';
27
+ import * as i0 from "@angular/core";
27
28
  export declare class PaginationDirective implements OnInit, OnDestroy {
28
29
  private pagination;
29
30
  private preferences;
@@ -32,4 +33,6 @@ export declare class PaginationDirective implements OnInit, OnDestroy {
32
33
  constructor(pagination: PaginationComponent, preferences: UserPreferencesService, config: AppConfigService);
33
34
  ngOnInit(): void;
34
35
  ngOnDestroy(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationDirective, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationDirective, "[acaPagination]", never, {}, {}, never, never, false>;
35
38
  }
@@ -1,26 +1,8 @@
1
- /*!
2
- * @license
3
- * Alfresco Example Content Application
4
- *
5
- * Copyright (C) 2005 - 2020 Alfresco Software Limited
6
- *
7
- * This file is part of the Alfresco Example Content Application.
8
- * If the software was purchased under a paid Alfresco license, the terms of
9
- * the paid license agreement will prevail. Otherwise, the software is
10
- * provided under the following open source license terms:
11
- *
12
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License as published by
14
- * the Free Software Foundation, either version 3 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU Lesser General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
- */
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pagination.directive";
3
+ import * as i2 from "./contextmenu/contextmenu.module";
25
4
  export declare class SharedDirectivesModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.PaginationDirective], [typeof i2.ContextActionsModule], [typeof i1.PaginationDirective, typeof i2.ContextActionsModule]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
26
8
  }
@@ -0,0 +1,3 @@
1
+ export interface ModalConfiguration {
2
+ focusedElementOnCloseSelector?: string;
3
+ }
@@ -27,4 +27,8 @@ export interface ViewerRules {
27
27
  * Checks if user can preview the node.
28
28
  */
29
29
  canPreview?: string;
30
+ /**
31
+ * Shows navigation options
32
+ */
33
+ showNavigation?: string;
30
34
  }
@@ -1,34 +1,13 @@
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 { CanActivate, ActivatedRouteSnapshot } from '@angular/router';
26
2
  import { Observable } from 'rxjs';
27
3
  import { Store } from '@ngrx/store';
28
4
  import { AppStore } from '@alfresco/aca-shared/store';
5
+ import * as i0 from "@angular/core";
29
6
  export declare class AppSharedRuleGuard implements CanActivate {
30
7
  isQuickShareEnabled$: Observable<boolean>;
31
8
  constructor(store: Store<AppStore>);
32
9
  canActivate(_: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
33
10
  canActivateChild(route: ActivatedRouteSnapshot): Observable<boolean> | Promise<boolean> | boolean;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppSharedRuleGuard, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppSharedRuleGuard>;
34
13
  }
@@ -0,0 +1,11 @@
1
+ import { AppConfigService } from '@alfresco/adf-core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AlfrescoOfficeExtensionService {
4
+ private appConfigService;
5
+ constructor(appConfigService: AppConfigService);
6
+ enablePlugin(): void;
7
+ disablePlugin(): void;
8
+ isAosPluginEnabled(): boolean;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlfrescoOfficeExtensionService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlfrescoOfficeExtensionService>;
11
+ }
@@ -0,0 +1,55 @@
1
+ import { Subject } from 'rxjs';
2
+ import { SiteEntry } from '@alfresco/js-api';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AppHookService {
5
+ /**
6
+ * Gets emitted when reloads event fired
7
+ */
8
+ reload: Subject<any>;
9
+ /**
10
+ * Gets emitted when user reset the node
11
+ */
12
+ reset: Subject<any>;
13
+ /**
14
+ * Gets emitted when user delete the node
15
+ */
16
+ nodesDeleted: Subject<any>;
17
+ /**
18
+ * Gets emitted when user delete the library
19
+ */
20
+ libraryDeleted: Subject<string>;
21
+ /**
22
+ * Gets emitted when user create the library
23
+ */
24
+ libraryCreated: Subject<SiteEntry>;
25
+ /**
26
+ * Gets emitted when user update the library
27
+ */
28
+ libraryUpdated: Subject<SiteEntry>;
29
+ /**
30
+ * Gets emitted when user join the library
31
+ */
32
+ libraryJoined: Subject<string>;
33
+ /**
34
+ * Gets emitted when user left the library
35
+ */
36
+ libraryLeft: Subject<string>;
37
+ /**
38
+ * Gets emitted when library throws 400 error code
39
+ */
40
+ library400Error: Subject<any>;
41
+ /**
42
+ * Gets emitted when user join the library
43
+ */
44
+ joinLibraryToggle: Subject<string>;
45
+ /**
46
+ * Gets emitted when user unlink the node
47
+ */
48
+ linksUnshared: Subject<any>;
49
+ /**
50
+ * Gets emitted when user mark the the favorite library
51
+ */
52
+ favoriteLibraryToggle: Subject<any>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppHookService, never>;
54
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppHookService>;
55
+ }
@@ -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
  }
@@ -22,18 +22,54 @@
22
22
  * You should have received a copy of the GNU Lesser General Public License
23
23
  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
24
  */
25
- 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 {
25
+ import { OnDestroy } from '@angular/core';
26
+ import { AuthenticationService, AppConfigService, AlfrescoApiService, UploadService, FileUploadErrorEvent, PageTitleService, UserPreferencesService } from '@alfresco/adf-core';
27
+ import { Observable, Subject } from 'rxjs';
28
+ import { GroupService, SearchQueryBuilderService, SharedLinksApiService } from '@alfresco/adf-content-services';
29
+ import { OverlayContainer } from '@angular/cdk/overlay';
30
+ import { ActivatedRoute, Router } from '@angular/router';
31
+ import { AppState, AppStore } from '@alfresco/aca-shared/store';
32
+ import { ContentApiService } from './content-api.service';
33
+ import { RouterExtensionService } from './router.extension.service';
34
+ import { Store } from '@ngrx/store';
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;
31
52
  private ready;
32
53
  ready$: Observable<boolean>;
54
+ pageHeading$: Observable<string>;
55
+ hideSidenavConditions: string[];
56
+ minimizeSidenavConditions: string[];
57
+ onDestroy$: Subject<boolean>;
33
58
  /**
34
59
  * Whether `withCredentials` mode is enabled.
35
60
  * Usually means that `Kerberos` mode is used.
36
61
  */
37
- readonly withCredentials: boolean;
38
- constructor(auth: AuthenticationService, config: AppConfigService, searchQueryBuilderService: SearchQueryBuilderService, routeStrategy: AppRouteReuseStrategy);
62
+ get withCredentials(): boolean;
63
+ 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);
64
+ ngOnDestroy(): void;
65
+ init(): void;
66
+ private loadRepositoryStatus;
67
+ private loadUserProfile;
68
+ loadAppSettings(): void;
69
+ onFileUploadedError(error: FileUploadErrorEvent): void;
70
+ private loadCustomCss;
71
+ private loadCustomWebFont;
72
+ private createLink;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppService, never>;
74
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppService>;
39
75
  }
@@ -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
+ _nodesApi: NodesApi;
9
+ get nodesApi(): NodesApi;
10
+ _trashcanApi: TrashcanApi;
11
+ get trashcanApi(): TrashcanApi;
12
+ _sharedLinksApi: SharedlinksApi;
13
+ get sharedLinksApi(): SharedlinksApi;
14
+ _discoveryApi: DiscoveryApi;
15
+ get discoveryApi(): DiscoveryApi;
16
+ _favoritesApi: FavoritesApi;
17
+ get favoritesApi(): FavoritesApi;
18
+ _contentApi: ContentApi;
19
+ get contentApi(): ContentApi;
20
+ _sitesApi: SitesApi;
21
+ get sitesApi(): SitesApi;
22
+ _searchApi: SearchApi;
23
+ get searchApi(): SearchApi;
24
+ _peopleApi: PeopleApi;
25
+ get peopleApi(): PeopleApi;
26
+ _versionsApi: 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
+ }
@@ -23,6 +23,11 @@
23
23
  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
24
24
  */
25
25
  import { ModuleWithProviders } from '@angular/core';
26
+ import * as i0 from "@angular/core";
27
+ import * as i1 from "./directives/contextmenu/contextmenu.module";
26
28
  export declare class SharedModule {
27
- static forRoot(): ModuleWithProviders;
29
+ static forRoot(): ModuleWithProviders<SharedModule>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
31
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.ContextActionsModule], [typeof i1.ContextActionsModule]>;
32
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
28
33
  }