@alfresco/aca-content 4.0.0 → 4.1.0-5398682428

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 (331) hide show
  1. package/{lib/components/create-menu/create-menu.component.d.ts → about/about.component.d.ts} +15 -16
  2. package/about/aca-about.module.d.ts +9 -0
  3. package/about/assets/about.plugin.json +47 -0
  4. package/about/dev-mode.tokens.d.ts +25 -0
  5. package/about/index.d.ts +5 -0
  6. package/about/package-json.token.d.ts +25 -0
  7. package/about/public-api.d.ts +27 -0
  8. package/assets/app.extensions.json +158 -131
  9. package/assets/i18n/ar.json +10 -26
  10. package/assets/i18n/cs.json +10 -26
  11. package/assets/i18n/da.json +9 -25
  12. package/assets/i18n/de.json +8 -24
  13. package/assets/i18n/en.json +9 -25
  14. package/assets/i18n/es.json +8 -24
  15. package/assets/i18n/fi.json +9 -25
  16. package/assets/i18n/fr.json +9 -25
  17. package/assets/i18n/it.json +9 -25
  18. package/assets/i18n/ja.json +9 -25
  19. package/assets/i18n/nb.json +9 -25
  20. package/assets/i18n/nl.json +8 -24
  21. package/assets/i18n/pl.json +10 -26
  22. package/assets/i18n/pt-BR.json +9 -25
  23. package/assets/i18n/ru.json +10 -26
  24. package/assets/i18n/sv.json +9 -25
  25. package/assets/i18n/zh-CN.json +8 -24
  26. package/esm2020/about/about.component.mjs +73 -0
  27. package/esm2020/about/aca-about.module.mjs +46 -0
  28. package/esm2020/about/alfresco-aca-content-about.mjs +5 -0
  29. package/esm2020/about/dev-mode.tokens.mjs +26 -0
  30. package/esm2020/about/package-json.token.mjs +26 -0
  31. package/esm2020/about/public-api.mjs +28 -0
  32. package/esm2020/folder-rules/alfresco-aca-content-folder-rules.mjs +5 -0
  33. package/esm2020/folder-rules/folder-rules.module.mjs +123 -0
  34. package/esm2020/folder-rules/folder-rules.rules.mjs +28 -0
  35. package/esm2020/folder-rules/manage-rules/manage-rules.smart-component.mjs +240 -0
  36. package/esm2020/folder-rules/model/action-parameter-constraint.model.mjs +25 -0
  37. package/esm2020/folder-rules/model/rule-action.model.mjs +26 -0
  38. package/esm2020/folder-rules/model/rule-composite-condition.model.mjs +25 -0
  39. package/esm2020/folder-rules/model/rule-grouping-item.model.mjs +25 -0
  40. package/esm2020/folder-rules/model/rule-set.model.mjs +25 -0
  41. package/esm2020/folder-rules/model/rule-simple-condition.model.mjs +25 -0
  42. package/esm2020/folder-rules/model/rule.model.mjs +25 -0
  43. package/esm2020/folder-rules/public-api.mjs +26 -0
  44. package/esm2020/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +112 -0
  45. package/esm2020/folder-rules/rule-details/actions/rule-action.ui-component.mjs +277 -0
  46. package/esm2020/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +159 -0
  47. package/esm2020/folder-rules/rule-details/conditions/rule-condition-comparators.mjs +87 -0
  48. package/esm2020/folder-rules/rule-details/conditions/rule-condition-fields.mjs +62 -0
  49. package/esm2020/folder-rules/rule-details/conditions/rule-mime-types.mjs +25 -0
  50. package/esm2020/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +144 -0
  51. package/esm2020/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +70 -0
  52. package/esm2020/folder-rules/rule-details/options/rule-options.ui-component.mjs +134 -0
  53. package/esm2020/folder-rules/rule-details/rule-details.ui-component.mjs +166 -0
  54. package/esm2020/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +85 -0
  55. package/esm2020/folder-rules/rule-details/validators/rule-actions.validator.mjs +37 -0
  56. package/esm2020/folder-rules/rule-details/validators/rule-composite-condition.validator.mjs +31 -0
  57. package/esm2020/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +142 -0
  58. package/esm2020/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +77 -0
  59. package/esm2020/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +56 -0
  60. package/esm2020/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +104 -0
  61. package/esm2020/folder-rules/services/actions.service.mjs +114 -0
  62. package/esm2020/folder-rules/services/folder-rule-sets.service.mjs +221 -0
  63. package/esm2020/folder-rules/services/folder-rules.service.mjs +193 -0
  64. package/esm2020/lib/aca-content.module.mjs +56 -91
  65. package/esm2020/lib/aca-content.routes.mjs +28 -28
  66. package/esm2020/lib/components/common/common.module.mjs +8 -39
  67. package/esm2020/lib/components/common/language-picker/language-picker.component.mjs +18 -11
  68. package/esm2020/lib/components/common/location-link/location-link.component.mjs +17 -16
  69. package/esm2020/lib/components/common/logout/logout.component.mjs +16 -9
  70. package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +29 -18
  71. package/esm2020/lib/components/common/user-info/user-info.component.mjs +24 -13
  72. package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +16 -10
  73. package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +5 -4
  74. package/esm2020/lib/components/context-menu/context-menu.component.mjs +29 -15
  75. package/esm2020/lib/components/context-menu/context-menu.service.mjs +5 -6
  76. package/esm2020/lib/components/details/details.component.mjs +41 -23
  77. package/esm2020/lib/components/dl-custom-components/document-list-custom-components.module.mjs +7 -15
  78. package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +16 -16
  79. package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +34 -12
  80. package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +32 -15
  81. package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +17 -28
  82. package/esm2020/lib/components/favorites/favorites.component.mjs +18 -34
  83. package/esm2020/lib/components/files/files.component.mjs +28 -43
  84. package/esm2020/lib/components/home/home.component.mjs +7 -6
  85. package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +15 -10
  86. package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +28 -47
  87. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +39 -17
  88. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +10 -7
  89. package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +13 -12
  90. package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +18 -10
  91. package/esm2020/lib/components/libraries/libraries.component.mjs +17 -27
  92. package/esm2020/lib/components/recent-files/recent-files.component.mjs +18 -37
  93. package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +3 -3
  94. package/esm2020/lib/components/search/search-input/search-input.component.mjs +11 -6
  95. package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +5 -5
  96. package/esm2020/lib/components/search/search-input.module.mjs +4 -4
  97. package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +5 -6
  98. package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +21 -30
  99. package/esm2020/lib/components/search/search-navigation.service.mjs +3 -3
  100. package/esm2020/lib/components/search/search-results/search-results.component.mjs +33 -41
  101. package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +6 -7
  102. package/esm2020/lib/components/search/search-results.module.mjs +31 -23
  103. package/esm2020/lib/components/shared-files/shared-files.component.mjs +18 -34
  104. package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +9 -7
  105. package/esm2020/lib/components/shared-link-view/shared-link-view.module.mjs +5 -9
  106. package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +5 -5
  107. package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +5 -5
  108. package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +5 -5
  109. package/esm2020/lib/components/sidenav/directives/action.directive.mjs +3 -3
  110. package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +3 -3
  111. package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +3 -3
  112. package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +3 -3
  113. package/esm2020/lib/components/sidenav/sidenav.component.mjs +3 -3
  114. package/esm2020/lib/components/sidenav/sidenav.module.mjs +11 -9
  115. package/esm2020/lib/components/sidenav/user-menu/user-menu.component.mjs +96 -0
  116. package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +10 -17
  117. package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +3 -3
  118. package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +3 -3
  119. package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +3 -3
  120. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +3 -3
  121. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +3 -3
  122. package/esm2020/lib/components/toolbar/toolbar.module.mjs +7 -13
  123. package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +3 -3
  124. package/esm2020/lib/components/trashcan/trashcan.component.mjs +37 -29
  125. package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +3 -3
  126. package/esm2020/lib/components/view-profile/view-profile.component.mjs +35 -16
  127. package/esm2020/lib/components/view-profile/view-profile.guard.mjs +5 -5
  128. package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +16 -15
  129. package/esm2020/lib/directives/directives.module.mjs +4 -4
  130. package/esm2020/lib/directives/document-list.directive.mjs +3 -3
  131. package/esm2020/lib/extensions/core.extensions.module.mjs +4 -4
  132. package/esm2020/lib/material.module.mjs +4 -4
  133. package/esm2020/lib/services/content-management.service.mjs +3 -3
  134. package/esm2020/lib/services/content-service-extension.service.mjs +3 -3
  135. package/esm2020/lib/services/content-url.service.mjs +3 -3
  136. package/esm2020/lib/services/node-actions.service.mjs +5 -5
  137. package/esm2020/lib/services/node-template.service.mjs +3 -3
  138. package/esm2020/lib/store/app-store.module.mjs +4 -4
  139. package/esm2020/lib/store/effects/app.effects.mjs +3 -3
  140. package/esm2020/lib/store/effects/contextmenu.effects.mjs +3 -3
  141. package/esm2020/lib/store/effects/download.effects.mjs +3 -3
  142. package/esm2020/lib/store/effects/favorite.effects.mjs +3 -3
  143. package/esm2020/lib/store/effects/library.effects.mjs +3 -3
  144. package/esm2020/lib/store/effects/node.effects.mjs +3 -3
  145. package/esm2020/lib/store/effects/search.effects.mjs +3 -3
  146. package/esm2020/lib/store/effects/template.effects.mjs +3 -3
  147. package/esm2020/lib/store/effects/upload.effects.mjs +5 -5
  148. package/esm2020/lib/store/effects/viewer.effects.mjs +5 -5
  149. package/esm2020/ms-office/actions/aos.actions.mjs +31 -0
  150. package/esm2020/ms-office/alfresco-aca-content-ms-office.mjs +5 -0
  151. package/esm2020/ms-office/aos-extension.module.mjs +54 -0
  152. package/esm2020/ms-office/aos-extension.service.mjs +134 -0
  153. package/esm2020/ms-office/effects/aos.effects.mjs +48 -0
  154. package/esm2020/ms-office/public-api.mjs +28 -0
  155. package/esm2020/preview/alfresco-aca-content-preview.mjs +5 -0
  156. package/esm2020/preview/lib/components/preview.component.mjs +406 -0
  157. package/esm2020/preview/lib/preview.module.mjs +84 -0
  158. package/esm2020/preview/public-api.mjs +29 -0
  159. package/esm2020/viewer/alfresco-aca-content-viewer.mjs +5 -0
  160. package/esm2020/viewer/lib/components/viewer/viewer.component.mjs +402 -0
  161. package/esm2020/viewer/lib/viewer.module.mjs +81 -0
  162. package/esm2020/viewer/public-api.mjs +29 -0
  163. package/fesm2015/alfresco-aca-content-about.mjs +194 -0
  164. package/fesm2015/alfresco-aca-content-about.mjs.map +1 -0
  165. package/fesm2015/alfresco-aca-content-folder-rules.mjs +2479 -0
  166. package/fesm2015/alfresco-aca-content-folder-rules.mjs.map +1 -0
  167. package/fesm2015/alfresco-aca-content-ms-office.mjs +260 -0
  168. package/fesm2015/alfresco-aca-content-ms-office.mjs.map +1 -0
  169. package/fesm2015/alfresco-aca-content-preview.mjs +495 -0
  170. package/fesm2015/alfresco-aca-content-preview.mjs.map +1 -0
  171. package/fesm2015/alfresco-aca-content-viewer.mjs +491 -0
  172. package/fesm2015/alfresco-aca-content-viewer.mjs.map +1 -0
  173. package/fesm2015/alfresco-aca-content.mjs +3484 -3874
  174. package/fesm2015/alfresco-aca-content.mjs.map +1 -1
  175. package/fesm2020/alfresco-aca-content-about.mjs +194 -0
  176. package/fesm2020/alfresco-aca-content-about.mjs.map +1 -0
  177. package/fesm2020/alfresco-aca-content-folder-rules.mjs +2538 -0
  178. package/fesm2020/alfresco-aca-content-folder-rules.mjs.map +1 -0
  179. package/fesm2020/alfresco-aca-content-ms-office.mjs +282 -0
  180. package/fesm2020/alfresco-aca-content-ms-office.mjs.map +1 -0
  181. package/fesm2020/alfresco-aca-content-preview.mjs +511 -0
  182. package/fesm2020/alfresco-aca-content-preview.mjs.map +1 -0
  183. package/fesm2020/alfresco-aca-content-viewer.mjs +504 -0
  184. package/fesm2020/alfresco-aca-content-viewer.mjs.map +1 -0
  185. package/fesm2020/alfresco-aca-content.mjs +4649 -5022
  186. package/fesm2020/alfresco-aca-content.mjs.map +1 -1
  187. package/folder-rules/assets/folder-rules.plugin.json +71 -0
  188. package/folder-rules/assets/i18n/ar.json +144 -0
  189. package/folder-rules/assets/i18n/cs.json +144 -0
  190. package/folder-rules/assets/i18n/da.json +144 -0
  191. package/folder-rules/assets/i18n/de.json +144 -0
  192. package/folder-rules/assets/i18n/en.json +144 -0
  193. package/folder-rules/assets/i18n/es.json +144 -0
  194. package/folder-rules/assets/i18n/fi.json +144 -0
  195. package/folder-rules/assets/i18n/fr.json +144 -0
  196. package/folder-rules/assets/i18n/it.json +144 -0
  197. package/folder-rules/assets/i18n/ja.json +144 -0
  198. package/folder-rules/assets/i18n/nb.json +144 -0
  199. package/folder-rules/assets/i18n/nl.json +144 -0
  200. package/folder-rules/assets/i18n/pl.json +144 -0
  201. package/folder-rules/assets/i18n/pt-BR.json +144 -0
  202. package/folder-rules/assets/i18n/ru.json +144 -0
  203. package/folder-rules/assets/i18n/sv.json +144 -0
  204. package/folder-rules/assets/i18n/zh-CN.json +144 -0
  205. package/folder-rules/folder-rules.module.d.ts +51 -0
  206. package/folder-rules/folder-rules.rules.d.ts +27 -0
  207. package/folder-rules/index.d.ts +5 -0
  208. package/folder-rules/manage-rules/manage-rules.smart-component.d.ts +87 -0
  209. package/folder-rules/model/action-parameter-constraint.model.d.ts +31 -0
  210. package/folder-rules/model/rule-action.model.d.ts +48 -0
  211. package/folder-rules/model/rule-composite-condition.model.d.ts +30 -0
  212. package/folder-rules/model/rule-grouping-item.model.d.ts +34 -0
  213. package/folder-rules/model/rule-set.model.d.ts +34 -0
  214. package/folder-rules/model/rule-simple-condition.model.d.ts +28 -0
  215. package/folder-rules/model/rule.model.d.ts +58 -0
  216. package/folder-rules/public-api.d.ts +25 -0
  217. package/folder-rules/rule-details/actions/rule-action-list.ui-component.d.ts +47 -0
  218. package/folder-rules/rule-details/actions/rule-action.ui-component.d.ts +75 -0
  219. package/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.d.ts +60 -0
  220. package/folder-rules/rule-details/conditions/rule-condition-comparators.d.ts +30 -0
  221. package/folder-rules/rule-details/conditions/rule-condition-fields.d.ts +31 -0
  222. package/folder-rules/rule-details/conditions/rule-mime-types.d.ts +27 -0
  223. package/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.d.ts +62 -0
  224. package/folder-rules/rule-details/edit-rule-dialog.ui-component.d.ts +53 -0
  225. package/folder-rules/rule-details/options/rule-options.ui-component.d.ts +55 -0
  226. package/folder-rules/rule-details/rule-details.ui-component.d.ts +54 -0
  227. package/folder-rules/rule-details/triggers/rule-triggers.ui-component.d.ts +43 -0
  228. package/folder-rules/rule-details/validators/rule-actions.validator.d.ts +27 -0
  229. package/folder-rules/rule-details/validators/rule-composite-condition.validator.d.ts +25 -0
  230. package/folder-rules/rule-list/rule-list/rule-list.ui-component.d.ts +57 -0
  231. package/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.d.ts +44 -0
  232. package/{lib/components/node-version/node-version-form.component.d.ts → folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.d.ts} +10 -21
  233. package/folder-rules/rule-set-picker/rule-set-picker.smart-component.d.ts +61 -0
  234. package/folder-rules/services/actions.service.d.ts +28 -0
  235. package/folder-rules/services/folder-rule-sets.service.d.ts +49 -0
  236. package/folder-rules/services/folder-rules.service.d.ts +41 -0
  237. package/lib/aca-content.module.d.ts +37 -37
  238. package/lib/components/common/common.module.d.ts +29 -17
  239. package/lib/components/common/language-picker/language-picker.component.d.ts +1 -1
  240. package/lib/components/common/location-link/location-link.component.d.ts +1 -6
  241. package/lib/components/common/logout/logout.component.d.ts +2 -3
  242. package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +9 -6
  243. package/lib/components/common/user-info/user-info.component.d.ts +15 -3
  244. package/lib/components/context-menu/context-menu-item.component.d.ts +1 -1
  245. package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +1 -1
  246. package/lib/components/context-menu/context-menu.component.d.ts +1 -1
  247. package/lib/components/details/details.component.d.ts +3 -6
  248. package/lib/components/dl-custom-components/document-list-custom-components.module.d.ts +4 -8
  249. package/lib/components/dl-custom-components/name-column/name-column.component.d.ts +3 -3
  250. package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +5 -28
  251. package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +32 -12
  252. package/lib/components/favorite-libraries/favorite-libraries.component.d.ts +3 -8
  253. package/lib/components/favorites/favorites.component.d.ts +2 -12
  254. package/lib/components/files/files.component.d.ts +6 -15
  255. package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +28 -3
  256. package/lib/components/info-drawer/info.drawer.module.d.ts +5 -12
  257. package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +5 -4
  258. package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +1 -1
  259. package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +2 -2
  260. package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +1 -1
  261. package/lib/components/libraries/libraries.component.d.ts +2 -31
  262. package/lib/components/recent-files/recent-files.component.d.ts +2 -13
  263. package/lib/components/search/search-input/search-input.component.d.ts +2 -1
  264. package/lib/components/search/search-libraries-results/search-libraries-results.component.d.ts +2 -31
  265. package/lib/components/search/search-results/search-results.component.d.ts +7 -13
  266. package/lib/components/search/search-results-row/search-results-row.component.d.ts +1 -1
  267. package/lib/components/search/search-results.module.d.ts +7 -5
  268. package/lib/components/shared-files/shared-files.component.d.ts +2 -11
  269. package/lib/components/shared-link-view/shared-link-view.component.d.ts +3 -2
  270. package/lib/components/shared-link-view/shared-link-view.module.d.ts +5 -6
  271. package/lib/components/sidenav/sidenav.module.d.ts +5 -5
  272. package/lib/components/sidenav/user-menu/user-menu.component.d.ts +58 -0
  273. package/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.d.ts +2 -1
  274. package/lib/components/toolbar/toolbar.module.d.ts +13 -15
  275. package/lib/components/trashcan/trashcan.component.d.ts +4 -35
  276. package/lib/components/view-profile/view-profile.component.d.ts +11 -4
  277. package/lib/components/view-profile/view-profile.guard.d.ts +2 -2
  278. package/lib/dialogs/node-template/create-from-template.dialog.d.ts +2 -2
  279. package/lib/store/effects/upload.effects.d.ts +3 -3
  280. package/ms-office/actions/aos.actions.d.ts +31 -0
  281. package/ms-office/aos-extension.module.d.ts +34 -0
  282. package/ms-office/aos-extension.service.d.ts +48 -0
  283. package/ms-office/assets/aos.plugin.json +74 -0
  284. package/ms-office/assets/i18n/ar.json +10 -0
  285. package/ms-office/assets/i18n/cs.json +10 -0
  286. package/ms-office/assets/i18n/da.json +10 -0
  287. package/ms-office/assets/i18n/de.json +10 -0
  288. package/ms-office/assets/i18n/en.json +10 -0
  289. package/ms-office/assets/i18n/es.json +10 -0
  290. package/ms-office/assets/i18n/fi.json +10 -0
  291. package/ms-office/assets/i18n/fr.json +10 -0
  292. package/ms-office/assets/i18n/it.json +10 -0
  293. package/ms-office/assets/i18n/ja.json +10 -0
  294. package/ms-office/assets/i18n/nb.json +10 -0
  295. package/ms-office/assets/i18n/nl.json +10 -0
  296. package/ms-office/assets/i18n/pl.json +10 -0
  297. package/ms-office/assets/i18n/pt-BR.json +10 -0
  298. package/ms-office/assets/i18n/ru.json +10 -0
  299. package/ms-office/assets/i18n/sv.json +10 -0
  300. package/ms-office/assets/i18n/zh-CN.json +10 -0
  301. package/ms-office/effects/aos.effects.d.ts +11 -0
  302. package/ms-office/index.d.ts +5 -0
  303. package/ms-office/public-api.d.ts +27 -0
  304. package/package.json +53 -2
  305. package/preview/index.d.ts +5 -0
  306. package/preview/lib/components/preview.component.d.ts +115 -0
  307. package/preview/lib/preview.module.d.ts +13 -0
  308. package/preview/public-api.d.ts +25 -0
  309. package/ui/application.scss +8 -0
  310. package/ui/overrides/adf-about.theme.scss +0 -5
  311. package/ui/overrides/adf-pagination.theme.scss +0 -1
  312. package/ui/overrides/ay11.scss +1 -1
  313. package/ui/variables/variables.scss +6 -13
  314. package/viewer/index.d.ts +5 -0
  315. package/viewer/lib/components/viewer/viewer.component.d.ts +111 -0
  316. package/viewer/lib/viewer.module.d.ts +13 -0
  317. package/viewer/public-api.d.ts +25 -0
  318. package/esm2020/lib/components/context-menu/context-menu.module.mjs +0 -76
  319. package/esm2020/lib/components/create-menu/create-menu.component.mjs +0 -73
  320. package/esm2020/lib/components/create-menu/create-menu.module.mjs +0 -44
  321. package/esm2020/lib/components/node-version/node-version-form.component.mjs +0 -70
  322. package/esm2020/lib/components/node-version/node-version.module.mjs +0 -78
  323. package/esm2020/lib/components/toolbar/document-display-mode/document-display-mode.component.mjs +0 -84
  324. package/esm2020/lib/components/trashcan/trashcan.module.mjs +0 -74
  325. package/esm2020/lib/components/view-profile/view-profile.module.mjs +0 -42
  326. package/lib/components/context-menu/context-menu.module.d.ts +0 -18
  327. package/lib/components/create-menu/create-menu.module.d.ts +0 -10
  328. package/lib/components/node-version/node-version.module.d.ts +0 -16
  329. package/lib/components/toolbar/document-display-mode/document-display-mode.component.d.ts +0 -13
  330. package/lib/components/trashcan/trashcan.module.d.ts +0 -16
  331. package/lib/components/view-profile/view-profile.module.d.ts +0 -9
@@ -0,0 +1,11 @@
1
+ import { Actions } from '@ngrx/effects';
2
+ import { AosEditOnlineService } from '../aos-extension.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AosEffects {
5
+ private actions$;
6
+ private aosEditOnlineService;
7
+ constructor(actions$: Actions, aosEditOnlineService: AosEditOnlineService);
8
+ openOffice$: import("rxjs").Observable<void> & import("@ngrx/effects").CreateEffectMetadata;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AosEffects, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<AosEffects>;
11
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@alfresco/aca-content/ms-office" />
5
+ export * from './public-api';
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ export * from './aos-extension.service';
25
+ export * from './actions/aos.actions';
26
+ export * from './effects/aos.effects';
27
+ export * from './aos-extension.module';
package/package.json CHANGED
@@ -1,10 +1,21 @@
1
1
  {
2
2
  "name": "@alfresco/aca-content",
3
- "version": "4.0.0",
3
+ "version": "4.1.0-5398682428",
4
4
  "license": "LGPL-3.0",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^14.1.0",
7
- "@angular/core": "^14.1.0"
7
+ "@angular/core": "^14.1.0",
8
+ "@alfresco/adf-core": ">=6.2.0",
9
+ "@alfresco/adf-content-services": ">=6.2.0",
10
+ "@alfresco/adf-extensions": ">=6.2.0",
11
+ "@alfresco/js-api": ">=6.2.0",
12
+ "@angular/animations": "^14.1.3",
13
+ "@angular/cdk": "^14.1.3",
14
+ "@angular/forms": "^14.1.3",
15
+ "@angular/material": "^14.1.3",
16
+ "@ngx-translate/core": "^14.0.0",
17
+ "rxjs": "6.6.6",
18
+ "zone.js": "0.11.8"
8
19
  },
9
20
  "dependencies": {
10
21
  "tslib": "^2.3.0"
@@ -33,6 +44,46 @@
33
44
  "es2015": "./fesm2015/alfresco-aca-content.mjs",
34
45
  "node": "./fesm2015/alfresco-aca-content.mjs",
35
46
  "default": "./fesm2020/alfresco-aca-content.mjs"
47
+ },
48
+ "./about": {
49
+ "types": "./about/index.d.ts",
50
+ "esm2020": "./esm2020/about/alfresco-aca-content-about.mjs",
51
+ "es2020": "./fesm2020/alfresco-aca-content-about.mjs",
52
+ "es2015": "./fesm2015/alfresco-aca-content-about.mjs",
53
+ "node": "./fesm2015/alfresco-aca-content-about.mjs",
54
+ "default": "./fesm2020/alfresco-aca-content-about.mjs"
55
+ },
56
+ "./folder-rules": {
57
+ "types": "./folder-rules/index.d.ts",
58
+ "esm2020": "./esm2020/folder-rules/alfresco-aca-content-folder-rules.mjs",
59
+ "es2020": "./fesm2020/alfresco-aca-content-folder-rules.mjs",
60
+ "es2015": "./fesm2015/alfresco-aca-content-folder-rules.mjs",
61
+ "node": "./fesm2015/alfresco-aca-content-folder-rules.mjs",
62
+ "default": "./fesm2020/alfresco-aca-content-folder-rules.mjs"
63
+ },
64
+ "./ms-office": {
65
+ "types": "./ms-office/index.d.ts",
66
+ "esm2020": "./esm2020/ms-office/alfresco-aca-content-ms-office.mjs",
67
+ "es2020": "./fesm2020/alfresco-aca-content-ms-office.mjs",
68
+ "es2015": "./fesm2015/alfresco-aca-content-ms-office.mjs",
69
+ "node": "./fesm2015/alfresco-aca-content-ms-office.mjs",
70
+ "default": "./fesm2020/alfresco-aca-content-ms-office.mjs"
71
+ },
72
+ "./preview": {
73
+ "types": "./preview/index.d.ts",
74
+ "esm2020": "./esm2020/preview/alfresco-aca-content-preview.mjs",
75
+ "es2020": "./fesm2020/alfresco-aca-content-preview.mjs",
76
+ "es2015": "./fesm2015/alfresco-aca-content-preview.mjs",
77
+ "node": "./fesm2015/alfresco-aca-content-preview.mjs",
78
+ "default": "./fesm2020/alfresco-aca-content-preview.mjs"
79
+ },
80
+ "./viewer": {
81
+ "types": "./viewer/index.d.ts",
82
+ "esm2020": "./esm2020/viewer/alfresco-aca-content-viewer.mjs",
83
+ "es2020": "./fesm2020/alfresco-aca-content-viewer.mjs",
84
+ "es2015": "./fesm2015/alfresco-aca-content-viewer.mjs",
85
+ "node": "./fesm2015/alfresco-aca-content-viewer.mjs",
86
+ "default": "./fesm2020/alfresco-aca-content-viewer.mjs"
36
87
  }
37
88
  },
38
89
  "sideEffects": false
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@alfresco/aca-content/preview" />
5
+ export * from './public-api';
@@ -0,0 +1,115 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { OnInit, OnDestroy } from '@angular/core';
25
+ import { Location } from '@angular/common';
26
+ import { ActivatedRoute } from '@angular/router';
27
+ import { UserPreferencesService } from '@alfresco/adf-core';
28
+ import { PageComponent, AppHookService, ContentApiService } from '@alfresco/aca-shared';
29
+ import { ContentActionRef, ViewerExtensionRef } from '@alfresco/adf-extensions';
30
+ import { Actions } from '@ngrx/effects';
31
+ import { NodesApiService } from '@alfresco/adf-content-services';
32
+ import * as i0 from "@angular/core";
33
+ export declare class PreviewComponent extends PageComponent implements OnInit, OnDestroy {
34
+ private contentApi;
35
+ private preferences;
36
+ private route;
37
+ private nodesApiService;
38
+ private actions$;
39
+ private location;
40
+ private appHookService;
41
+ previewLocation: string;
42
+ routesSkipNavigation: string[];
43
+ navigateSource: string;
44
+ navigationSources: string[];
45
+ folderId: string;
46
+ nodeId: string;
47
+ previousNodeId: string;
48
+ nextNodeId: string;
49
+ navigateMultiple: boolean;
50
+ openWith: Array<ContentActionRef>;
51
+ contentExtensions: Array<ViewerExtensionRef>;
52
+ showRightSide: boolean;
53
+ navigateBackAsClose: boolean;
54
+ simplestMode: boolean;
55
+ recentFileFilters: string[];
56
+ private containersSkipNavigation;
57
+ constructor(contentApi: ContentApiService, preferences: UserPreferencesService, route: ActivatedRoute, nodesApiService: NodesApiService, actions$: Actions, location: Location, appHookService: AppHookService);
58
+ ngOnInit(): void;
59
+ ngOnDestroy(): void;
60
+ /**
61
+ * Loads the particular node into the Viewer
62
+ *
63
+ * @param id Unique identifier for the Node to display
64
+ */
65
+ displayNode(id: string): Promise<void>;
66
+ handleKeyboardEvent(event: KeyboardEvent): void;
67
+ /**
68
+ * Handles the visibility change of the Viewer component.
69
+ *
70
+ * @param isVisible Indicator whether Viewer is visible or hidden.
71
+ */
72
+ onVisibilityChanged(isVisible: boolean): void;
73
+ navigateToFileLocation(shouldNavigate: boolean): void;
74
+ /** Handles navigation to a previous document */
75
+ onNavigateBefore(event: MouseEvent | KeyboardEvent): void;
76
+ /** Handles navigation to a next document */
77
+ onNavigateNext(event: MouseEvent | KeyboardEvent): void;
78
+ /**
79
+ * Generates a node preview route based on folder and node IDs.
80
+ *
81
+ * @param folderId Folder ID
82
+ * @param nodeId Node ID
83
+ */
84
+ getPreviewPath(folderId: string, nodeId: string): any[];
85
+ /**
86
+ * Retrieves nearest node information for the given node and folder.
87
+ *
88
+ * @param nodeId Unique identifier of the document node
89
+ * @param folderId Unique identifier of the containing folder node.
90
+ */
91
+ getNearestNodes(nodeId: string, folderId: string): Promise<{
92
+ left: string;
93
+ right: string;
94
+ }>;
95
+ /**
96
+ * Retrieves a list of node identifiers for the folder and data source.
97
+ *
98
+ * @param source Data source name. Allowed values are: personal-files, libraries, favorites, shared, recent-files.
99
+ * @param folderId Containing folder node identifier for 'personal-files' and 'libraries' sources.
100
+ */
101
+ getFileIds(source: string, folderId?: string): Promise<string[]>;
102
+ private sort;
103
+ /**
104
+ * Get the root field name from the property path.
105
+ * Example: 'property1.some.child.property' => 'property1'
106
+ *
107
+ * @param path Property path
108
+ */
109
+ getRootField(path: string): string;
110
+ private getNavigationCommands;
111
+ private shouldNavigate;
112
+ private isChild;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "app-preview", never, {}, {}, never, never, false>;
115
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/preview.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/router";
5
+ import * as i4 from "@alfresco/adf-core";
6
+ import * as i5 from "@alfresco/adf-extensions";
7
+ import * as i6 from "@alfresco/adf-content-services";
8
+ import * as i7 from "@alfresco/aca-shared";
9
+ export declare class PreviewModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<PreviewModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PreviewModule, [typeof i1.PreviewComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.CoreModule, typeof i5.ExtensionsModule, typeof i6.ContentModule, typeof i6.ContentDirectiveModule, typeof i7.SharedDirectivesModule, typeof i6.ContentDirectiveModule, typeof i7.SharedToolbarModule, typeof i7.InfoDrawerComponent], [typeof i1.PreviewComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<PreviewModule>;
13
+ }
@@ -0,0 +1,25 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ export * from './lib/components/preview.component';
25
+ export * from './lib/preview.module';
@@ -51,3 +51,11 @@ ng-component {
51
51
  height: 100vh;
52
52
  }
53
53
  }
54
+
55
+ .aca-sidebar {
56
+ display: block;
57
+ height: 100%;
58
+ overflow-y: scroll;
59
+ max-width: 350px;
60
+ width: 350px;
61
+ }
@@ -16,13 +16,10 @@
16
16
  margin: 24px !important;
17
17
  width: 95%;
18
18
  border: 1px solid var(--theme-about-panel-border-color);
19
- background-color: var(--theme-about-panel-background-color);
20
19
  }
21
20
 
22
21
  mat-expansion-panel-header {
23
- display: flex;
24
22
  height: 80px !important;
25
- padding: 24px;
26
23
  line-height: 32px;
27
24
  }
28
25
 
@@ -31,8 +28,6 @@
31
28
  font-weight: 700;
32
29
  font-size: 14px;
33
30
  line-height: 24px;
34
- color: var(--theme-about-panel-title-color);
35
31
  }
36
-
37
32
  }
38
33
  }
@@ -12,7 +12,6 @@
12
12
  height: 32px !important;
13
13
  line-height: 24px !important;
14
14
  padding: 16px 0;
15
- background: var(--theme-pagination-background-color);
16
15
  }
17
16
 
18
17
  .adf-pagination__range-block {
@@ -162,7 +162,7 @@
162
162
  }
163
163
 
164
164
  .mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
165
- background-color: var(--theme-datetimepicker-cell-focus-background);
165
+ background-color: var(--theme-about-panel-border-color);
166
166
  color: var(--theme-datetimepicker-font-color);
167
167
  }
168
168
 
@@ -1,9 +1,6 @@
1
1
  /* stylelint-disable scss/no-global-function-names */
2
2
  @use '@angular/material' as mat;
3
3
 
4
- $warn: map-get($custom-theme, warn);
5
- $accent: map-get($custom-theme, accent);
6
- $primary: map-get($custom-theme, primary);
7
4
  $foreground: map-get($custom-theme, foreground);
8
5
  $background: map-get($custom-theme, background);
9
6
 
@@ -25,26 +22,22 @@ $grey-hover-background: rgba(33, 33, 33, 0.24);
25
22
  $blue-save-button-background: #1f74db;
26
23
  $black-heading: #4e4c4c;
27
24
  $grey-dropdown-background: #eee;
25
+ $grey-background-hover: #e0e0e0;
28
26
  $grey-divider: rgba(0, 0, 0, 0.22);
29
27
  $datetimepicker-font-color: rgba(black, 0.87);
30
28
  $datetimepicker-selected-date-background: #2254b2;
31
29
  $datetimepicker-cell-background-color: #fff;
32
30
  $datetimepicker-cell-focus-border-color: #1f74db;
33
- $datetimepicker-cell-focus-background-color: rgba(33, 33, 33, 0.12);
34
31
  $sidenav-background-color: #f8f8f8;
35
32
  $selected-text-color: #212121;
36
33
  $selected-background-color: rgba(31, 116, 219, 0.24);
37
34
  $action-button-text-color: rgba(33, 35, 40, 0.7);
38
35
  $page-layout-header-background-color: #fff;
39
- $aca-toolbar-button-background-color: rgba(33, 33, 33, 0.05);
36
+ $search-chip-icon-color: #757575;
37
+ $disabled-chip-background-color: #f5f5f5;
40
38
 
41
39
  // CSS Variables
42
40
  $defaults: (
43
- --theme-primary-color: mat.get-color-from-palette($primary),
44
- --theme-primary-color-default-contrast: mat.get-color-from-palette($primary, default-contrast),
45
- --theme-warn-color: mat.get-color-from-palette($warn),
46
- --theme-accent-color: mat.get-color-from-palette($accent),
47
- --theme-background-color: mat.get-color-from-palette($background, background),
48
41
  --theme-text-color: mat.get-color-from-palette($foreground, text, 0.54),
49
42
  --theme-text-bold-color: mat.get-color-from-palette($foreground, text, 0.87),
50
43
  --theme-title-color: mat.get-color-from-palette($foreground, text, 0.87),
@@ -64,6 +57,7 @@ $defaults: (
64
57
  --theme-blue-button-color: $blue-save-button-background,
65
58
  --theme-heading-color: $black-heading,
66
59
  --theme-dropdown-color: $grey-dropdown-background,
60
+ --theme-grey-background-hover: $grey-background-hover,
67
61
  --theme-grey-divider-color: $grey-divider,
68
62
  --theme-pagination-background-color: mat.get-color-from-palette($background, background),
69
63
  --theme-about-panel-border-color: $grey-background,
@@ -73,15 +67,14 @@ $defaults: (
73
67
  --theme-datetimepicker-selected-date-background: $datetimepicker-selected-date-background,
74
68
  --theme-datetimepicker-cell-background: $datetimepicker-cell-background-color,
75
69
  --theme-datetimepicker-cell-focus-border: $datetimepicker-cell-focus-border-color,
76
- --theme-datetimepicker-cell-focus-background: $datetimepicker-cell-focus-background-color,
77
70
  --theme-sidenav-background-color: $sidenav-background-color,
78
71
  --theme-selected-text-color: $selected-text-color,
79
72
  --theme-selected-background-color: $selected-background-color,
80
73
  --theme-hover-background-color: $grey-text-background,
81
74
  --theme-action-button-text-color: $action-button-text-color,
82
- --theme-header-border-color: $grey-background,
83
75
  --theme-page-layout-header-background-color: $page-layout-header-background-color,
84
- --theme-app-toolbar-button-background-color: $aca-toolbar-button-background-color
76
+ --theme-search-chip-icon-color: $search-chip-icon-color,
77
+ --theme-disabled-chip-background-color: $disabled-chip-background-color
85
78
  );
86
79
 
87
80
  // propagates SCSS variables into the CSS variables scope
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@alfresco/aca-content/viewer" />
5
+ export * from './public-api';
@@ -0,0 +1,111 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ import { AppExtensionService, AppHookService, ContentApiService } from '@alfresco/aca-shared';
25
+ import { AppStore } from '@alfresco/aca-shared/store';
26
+ import { ContentActionRef, SelectionState } from '@alfresco/adf-extensions';
27
+ import { MinimalNodeEntryEntity, VersionsApi } from '@alfresco/js-api';
28
+ import { OnDestroy, OnInit } from '@angular/core';
29
+ import { ActivatedRoute, Router } from '@angular/router';
30
+ import { AlfrescoApiService, UserPreferencesService } from '@alfresco/adf-core';
31
+ import { Store } from '@ngrx/store';
32
+ import { Observable, Subject } from 'rxjs';
33
+ import { Actions } from '@ngrx/effects';
34
+ import { NodesApiService, UploadService } from '@alfresco/adf-content-services';
35
+ import * as i0 from "@angular/core";
36
+ export declare class AcaViewerComponent implements OnInit, OnDestroy {
37
+ private router;
38
+ private route;
39
+ private store;
40
+ private extensions;
41
+ private contentApi;
42
+ private actions$;
43
+ private preferences;
44
+ private apiService;
45
+ private nodesApiService;
46
+ private uploadService;
47
+ private appHookService;
48
+ private _versionsApi;
49
+ get versionsApi(): VersionsApi;
50
+ onDestroy$: Subject<boolean>;
51
+ fileName: string;
52
+ folderId: string;
53
+ nodeId: string;
54
+ versionId: string;
55
+ node: MinimalNodeEntryEntity;
56
+ selection: SelectionState;
57
+ infoDrawerOpened$: Observable<boolean>;
58
+ showRightSide: boolean;
59
+ openWith: ContentActionRef[];
60
+ toolbarActions: ContentActionRef[];
61
+ navigateSource: string;
62
+ previousNodeId: string;
63
+ nextNodeId: string;
64
+ navigateMultiple: boolean;
65
+ routesSkipNavigation: string[];
66
+ navigationSources: string[];
67
+ recentFileFilters: string[];
68
+ private navigationPath;
69
+ private previewLocation;
70
+ private containersSkipNavigation;
71
+ constructor(router: Router, route: ActivatedRoute, store: Store<AppStore>, extensions: AppExtensionService, contentApi: ContentApiService, actions$: Actions, preferences: UserPreferencesService, apiService: AlfrescoApiService, nodesApiService: NodesApiService, uploadService: UploadService, appHookService: AppHookService);
72
+ ngOnInit(): void;
73
+ onViewerVisibilityChanged(): void;
74
+ ngOnDestroy(): void;
75
+ trackByActionId(_: number, obj: ContentActionRef): string;
76
+ displayNode(nodeId: string): Promise<void>;
77
+ onNavigateBefore(event: MouseEvent | KeyboardEvent): void;
78
+ onNavigateNext(event: MouseEvent | KeyboardEvent): void;
79
+ /**
80
+ * Retrieves nearest node information for the given node and folder.
81
+ *
82
+ * @param nodeId Unique identifier of the document node
83
+ * @param folderId Unique identifier of the containing folder node.
84
+ */
85
+ getNearestNodes(nodeId: string, folderId: string): Promise<{
86
+ left: string;
87
+ right: string;
88
+ }>;
89
+ /**
90
+ * Retrieves a list of node identifiers for the folder and data source.
91
+ *
92
+ * @param source Data source name. Allowed values are: personal-files, libraries, favorites, shared, recent-files.
93
+ * @param folderId Containing folder node identifier for 'personal-files' and 'libraries' sources.
94
+ */
95
+ getFileIds(source: string, folderId?: string): Promise<string[]>;
96
+ /**
97
+ * Get the root field name from the property path.
98
+ * Example: 'property1.some.child.property' => 'property1'
99
+ *
100
+ * @param path Property path
101
+ */
102
+ getRootField(path: string): string;
103
+ handleKeyboardEvent(event: KeyboardEvent): void;
104
+ private sort;
105
+ private navigateToFileLocation;
106
+ private getFileLocation;
107
+ private shouldNavigate;
108
+ private isChild;
109
+ static ɵfac: i0.ɵɵFactoryDeclaration<AcaViewerComponent, never>;
110
+ static ɵcmp: i0.ɵɵComponentDeclaration<AcaViewerComponent, "aca-viewer", never, {}, {}, never, never, false>;
111
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/viewer/viewer.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@alfresco/adf-core";
5
+ import * as i4 from "@angular/router";
6
+ import * as i5 from "@alfresco/adf-extensions";
7
+ import * as i6 from "@alfresco/adf-content-services";
8
+ import * as i7 from "@alfresco/aca-shared";
9
+ export declare class AcaViewerModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AcaViewerModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AcaViewerModule, [typeof i1.AcaViewerComponent], [typeof i2.CommonModule, typeof i3.CoreModule, typeof i4.RouterModule, typeof i5.ExtensionsModule, typeof i6.ContentModule, typeof i6.ContentDirectiveModule, typeof i7.SharedDirectivesModule, typeof i7.InfoDrawerComponent, typeof i7.SharedToolbarModule], [typeof i1.AcaViewerComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<AcaViewerModule>;
13
+ }
@@ -0,0 +1,25 @@
1
+ /*!
2
+ * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
+ *
4
+ * Alfresco Example Content Application
5
+ *
6
+ * This file is part of the Alfresco Example Content Application.
7
+ * If the software was purchased under a paid Alfresco license, the terms of
8
+ * the paid license agreement will prevail. Otherwise, the software is
9
+ * provided under the following open source license terms:
10
+ *
11
+ * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Lesser General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Lesser General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
+ */
24
+ export * from './lib/components/viewer/viewer.component';
25
+ export * from './lib/viewer.module';
@@ -1,76 +0,0 @@
1
- /*!
2
- * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
3
- *
4
- * Alfresco Example Content Application
5
- *
6
- * This file is part of the Alfresco Example Content Application.
7
- * If the software was purchased under a paid Alfresco license, the terms of
8
- * the paid license agreement will prevail. Otherwise, the software is
9
- * provided under the following open source license terms:
10
- *
11
- * The Alfresco Example Content Application is free software: you can redistribute it and/or modify
12
- * it under the terms of the GNU Lesser General Public License as published by
13
- * the Free Software Foundation, either version 3 of the License, or
14
- * (at your option) any later version.
15
- *
16
- * The Alfresco Example Content Application is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU Lesser General Public License for more details.
20
- *
21
- * You should have received a copy of the GNU Lesser General Public License
22
- * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
23
- */
24
- import { CoreModule } from '@alfresco/adf-core';
25
- import { ExtensionsModule } from '@alfresco/adf-extensions';
26
- import { NgModule } from '@angular/core';
27
- import { MatButtonModule } from '@angular/material/button';
28
- import { MatIconModule } from '@angular/material/icon';
29
- import { MatListModule } from '@angular/material/list';
30
- import { MatMenuModule } from '@angular/material/menu';
31
- import { CoreExtensionsModule } from '../../extensions/core.extensions.module';
32
- import { AppCommonModule } from '../common/common.module';
33
- import { ContextMenuItemComponent } from './context-menu-item.component';
34
- import { OutsideEventDirective } from './context-menu-outside-event.directive';
35
- import { ContextMenuComponent } from './context-menu.component';
36
- import { ContextActionsModule } from '@alfresco/aca-shared';
37
- import * as i0 from "@angular/core";
38
- import * as i1 from "../../extensions/core.extensions.module";
39
- import * as i2 from "@alfresco/adf-core";
40
- export class ContextMenuModule {
41
- }
42
- ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
43
- ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuComponent, ContextMenuItemComponent, OutsideEventDirective], imports: [MatMenuModule,
44
- MatListModule,
45
- MatIconModule,
46
- MatButtonModule, i1.CoreExtensionsModule, i2.CoreModule, AppCommonModule,
47
- ExtensionsModule,
48
- ContextActionsModule], exports: [OutsideEventDirective, ContextMenuComponent, ContextMenuItemComponent, ContextActionsModule] });
49
- ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, imports: [MatMenuModule,
50
- MatListModule,
51
- MatIconModule,
52
- MatButtonModule,
53
- CoreExtensionsModule.forChild(),
54
- CoreModule.forChild(),
55
- AppCommonModule,
56
- ExtensionsModule,
57
- ContextActionsModule, ContextActionsModule] });
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContextMenuModule, decorators: [{
59
- type: NgModule,
60
- args: [{
61
- imports: [
62
- MatMenuModule,
63
- MatListModule,
64
- MatIconModule,
65
- MatButtonModule,
66
- CoreExtensionsModule.forChild(),
67
- CoreModule.forChild(),
68
- AppCommonModule,
69
- ExtensionsModule,
70
- ContextActionsModule
71
- ],
72
- declarations: [ContextMenuComponent, ContextMenuItemComponent, OutsideEventDirective],
73
- exports: [OutsideEventDirective, ContextMenuComponent, ContextMenuItemComponent, ContextActionsModule]
74
- }]
75
- }] });
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L3NyYy9saWIvY29tcG9uZW50cy9jb250ZXh0LW1lbnUvY29udGV4dC1tZW51Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNCRztBQUVILE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQX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