@alfresco/aca-content 5.1.1 → 6.0.0-11114941325

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 (329) hide show
  1. package/esm2022/about/about.component.mjs +70 -0
  2. package/esm2022/about/aca-about.module.mjs +47 -0
  3. package/esm2022/folder-rules/folder-rules.module.mjs +116 -0
  4. package/esm2022/folder-rules/manage-rules/manage-rules.smart-component.mjs +280 -0
  5. package/esm2022/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +117 -0
  6. package/esm2022/folder-rules/rule-details/actions/rule-action.ui-component.mjs +359 -0
  7. package/esm2022/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +171 -0
  8. package/esm2022/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +237 -0
  9. package/esm2022/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +80 -0
  10. package/esm2022/folder-rules/rule-details/options/rule-options.ui-component.mjs +129 -0
  11. package/esm2022/folder-rules/rule-details/rule-details.ui-component.mjs +192 -0
  12. package/esm2022/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +87 -0
  13. package/esm2022/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +166 -0
  14. package/esm2022/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +80 -0
  15. package/esm2022/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +59 -0
  16. package/esm2022/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +125 -0
  17. package/esm2022/folder-rules/services/actions.service.mjs +117 -0
  18. package/esm2022/folder-rules/services/folder-rule-sets.service.mjs +229 -0
  19. package/esm2022/folder-rules/services/folder-rules.service.mjs +195 -0
  20. package/esm2022/lib/aca-content.module.mjs +301 -0
  21. package/esm2022/lib/components/bulk-actions-dropdown/bulk-actions-dropdown.component.mjs +82 -0
  22. package/{esm2020 → esm2022}/lib/components/common/language-picker/language-picker.component.mjs +7 -6
  23. package/esm2022/lib/components/common/location-link/location-link.component.mjs +182 -0
  24. package/{esm2020 → esm2022}/lib/components/common/logout/logout.component.mjs +8 -6
  25. package/esm2022/lib/components/common/toggle-shared/toggle-shared.component.mjs +81 -0
  26. package/esm2022/lib/components/common/user-info/user-info.component.mjs +46 -0
  27. package/esm2022/lib/components/context-menu/context-menu-item.component.mjs +65 -0
  28. package/esm2022/lib/components/context-menu/context-menu-outside-event.directive.mjs +62 -0
  29. package/esm2022/lib/components/context-menu/context-menu-overlay.mjs +33 -0
  30. package/esm2022/lib/components/context-menu/context-menu.component.mjs +119 -0
  31. package/esm2022/lib/components/context-menu/context-menu.service.mjs +104 -0
  32. package/esm2022/lib/components/details/details.component.mjs +154 -0
  33. package/esm2022/lib/components/dl-custom-components/datatable-cell-badges/datatable-cell-badges.component.mjs +75 -0
  34. package/esm2022/lib/components/dl-custom-components/name-column/name-column.component.mjs +107 -0
  35. package/esm2022/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +52 -0
  36. package/esm2022/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +77 -0
  37. package/esm2022/lib/components/favorite-libraries/favorite-libraries.component.mjs +126 -0
  38. package/esm2022/lib/components/favorites/favorites.component.mjs +105 -0
  39. package/esm2022/lib/components/files/files.component.mjs +336 -0
  40. package/esm2022/lib/components/home/home.component.mjs +46 -0
  41. package/esm2022/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +62 -0
  42. package/esm2022/lib/components/info-drawer/info.drawer.module.mjs +74 -0
  43. package/esm2022/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +213 -0
  44. package/esm2022/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +47 -0
  45. package/esm2022/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +147 -0
  46. package/esm2022/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +95 -0
  47. package/esm2022/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.mjs +139 -0
  48. package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.mjs +183 -0
  49. package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.mjs +88 -0
  50. package/esm2022/lib/components/knowledge-retrieval/search-ai/search-ai-results/search-ai-results.component.mjs +212 -0
  51. package/esm2022/lib/components/libraries/libraries.component.mjs +81 -0
  52. package/esm2022/lib/components/recent-files/recent-files.component.mjs +80 -0
  53. package/esm2022/lib/components/search/search-action-menu/search-action-menu.component.mjs +66 -0
  54. package/esm2022/lib/components/search/search-input/search-input.component.mjs +299 -0
  55. package/esm2022/lib/components/search/search-input-control/search-input-control.component.mjs +94 -0
  56. package/esm2022/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +93 -0
  57. package/esm2022/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +160 -0
  58. package/esm2022/lib/components/search/search-navigation.service.mjs +62 -0
  59. package/esm2022/lib/components/search/search-results/search-results.component.mjs +262 -0
  60. package/esm2022/lib/components/search/search-results-row/search-results-row.component.mjs +149 -0
  61. package/esm2022/lib/components/shared-files/shared-files.component.mjs +85 -0
  62. package/esm2022/lib/components/shared-link-view/shared-link-view.component.mjs +89 -0
  63. package/esm2022/lib/components/sidenav/components/button-menu.component.mjs +66 -0
  64. package/esm2022/lib/components/sidenav/components/expand-menu.component.mjs +70 -0
  65. package/esm2022/lib/components/sidenav/components/sidenav-header.component.mjs +65 -0
  66. package/esm2022/lib/components/sidenav/directives/action.directive.mjs +79 -0
  67. package/esm2022/lib/components/sidenav/directives/active-link.directive.mjs +100 -0
  68. package/esm2022/lib/components/sidenav/directives/expansion-panel.directive.mjs +107 -0
  69. package/esm2022/lib/components/sidenav/directives/menu-panel.directive.mjs +103 -0
  70. package/esm2022/lib/components/sidenav/sidenav.component.mjs +93 -0
  71. package/esm2022/lib/components/sidenav/user-menu/user-menu.component.mjs +57 -0
  72. package/esm2022/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +143 -0
  73. package/esm2022/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +91 -0
  74. package/esm2022/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +112 -0
  75. package/esm2022/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +77 -0
  76. package/esm2022/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +107 -0
  77. package/{esm2020 → esm2022}/lib/components/toolbar/toggle-join-library/toggle-join-library-menu.component.mjs +7 -6
  78. package/esm2022/lib/components/toolbar/view-node/view-node.component.mjs +128 -0
  79. package/esm2022/lib/components/trashcan/trashcan.component.mjs +66 -0
  80. package/esm2022/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +55 -0
  81. package/esm2022/lib/components/view-profile/view-profile.component.mjs +200 -0
  82. package/esm2022/lib/dialogs/node-template/create-from-template.dialog.mjs +127 -0
  83. package/esm2022/lib/directives/document-list.directive.mjs +207 -0
  84. package/esm2022/lib/extensions/core.extensions.module.mjs +56 -0
  85. package/esm2022/lib/services/content-management.service.mjs +887 -0
  86. package/esm2022/lib/services/content-url.service.mjs +74 -0
  87. package/esm2022/lib/services/modal-ai.service.mjs +65 -0
  88. package/esm2022/lib/services/node-actions.service.mjs +609 -0
  89. package/esm2022/lib/services/node-template.service.mjs +145 -0
  90. package/esm2022/lib/services/search-ai-navigation.service.mjs +54 -0
  91. package/esm2022/lib/store/app-store.module.mjs +103 -0
  92. package/esm2022/lib/store/effects/app.effects.mjs +46 -0
  93. package/esm2022/lib/store/effects/contextmenu.effects.mjs +52 -0
  94. package/esm2022/lib/store/effects/download.effects.mjs +153 -0
  95. package/esm2022/lib/store/effects/favorite.effects.mjs +72 -0
  96. package/esm2022/lib/store/effects/library.effects.mjs +108 -0
  97. package/esm2022/lib/store/effects/node.effects.mjs +318 -0
  98. package/esm2022/lib/store/effects/search-ai.effects.mjs +53 -0
  99. package/esm2022/lib/store/effects/search.effects.mjs +56 -0
  100. package/esm2022/lib/store/effects/template.effects.mjs +116 -0
  101. package/esm2022/lib/store/effects/upload.effects.mjs +166 -0
  102. package/esm2022/lib/store/effects/viewer.effects.mjs +169 -0
  103. package/esm2022/ms-office/actions/aos.actions.mjs +32 -0
  104. package/esm2022/ms-office/aos-extension.module.mjs +53 -0
  105. package/esm2022/ms-office/aos-extension.service.mjs +136 -0
  106. package/esm2022/ms-office/effects/aos.effects.mjs +45 -0
  107. package/esm2022/viewer/lib/components/preview/preview.component.mjs +246 -0
  108. package/esm2022/viewer/lib/components/viewer/viewer.component.mjs +261 -0
  109. package/esm2022/viewer/lib/services/viewer.service.mjs +229 -0
  110. package/esm2022/viewer/lib/viewer.module.mjs +53 -0
  111. package/{fesm2015 → fesm2022}/alfresco-aca-content-about.mjs +16 -18
  112. package/{fesm2015 → fesm2022}/alfresco-aca-content-about.mjs.map +1 -1
  113. package/{fesm2020 → fesm2022}/alfresco-aca-content-folder-rules.mjs +353 -312
  114. package/fesm2022/alfresco-aca-content-folder-rules.mjs.map +1 -0
  115. package/{fesm2020 → fesm2022}/alfresco-aca-content-ms-office.mjs +28 -26
  116. package/fesm2022/alfresco-aca-content-ms-office.mjs.map +1 -0
  117. package/{fesm2020 → fesm2022}/alfresco-aca-content-viewer.mjs +93 -62
  118. package/{fesm2020 → fesm2022}/alfresco-aca-content-viewer.mjs.map +1 -1
  119. package/{fesm2020 → fesm2022}/alfresco-aca-content.mjs +1497 -1302
  120. package/fesm2022/alfresco-aca-content.mjs.map +1 -0
  121. package/folder-rules/rule-details/actions/rule-action-list.ui-component.d.ts +1 -1
  122. package/folder-rules/rule-details/actions/rule-action.ui-component.d.ts +1 -1
  123. package/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.d.ts +1 -1
  124. package/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.d.ts +1 -1
  125. package/folder-rules/rule-details/options/rule-options.ui-component.d.ts +1 -1
  126. package/folder-rules/rule-details/rule-details.ui-component.d.ts +1 -1
  127. package/folder-rules/rule-list/rule-list/rule-list.ui-component.d.ts +1 -1
  128. package/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.d.ts +1 -1
  129. package/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.d.ts +1 -1
  130. package/lib/components/bulk-actions-dropdown/bulk-actions-dropdown.component.d.ts +5 -10
  131. package/lib/components/common/location-link/location-link.component.d.ts +1 -1
  132. package/lib/components/common/toggle-shared/toggle-shared.component.d.ts +1 -1
  133. package/lib/components/context-menu/context-menu-item.component.d.ts +1 -1
  134. package/lib/components/context-menu/context-menu-outside-event.directive.d.ts +1 -1
  135. package/lib/components/details/details.component.d.ts +1 -1
  136. package/lib/components/dl-custom-components/datatable-cell-badges/datatable-cell-badges.component.d.ts +1 -1
  137. package/lib/components/dl-custom-components/tags-column/tags-column.component.d.ts +1 -1
  138. package/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.d.ts +1 -1
  139. package/lib/components/info-drawer/comments-tab/comments-tab.component.d.ts +1 -1
  140. package/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.d.ts +1 -1
  141. package/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.d.ts +1 -1
  142. package/lib/components/info-drawer/metadata-tab/metadata-tab.component.d.ts +1 -1
  143. package/lib/components/info-drawer/versions-tab/versions-tab.component.d.ts +1 -1
  144. package/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.d.ts +1 -1
  145. package/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.d.ts +1 -1
  146. package/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.d.ts +1 -1
  147. package/lib/components/search/search-input/search-input.component.d.ts +10 -39
  148. package/lib/components/search/search-input-control/search-input-control.component.d.ts +1 -1
  149. package/lib/components/search/search-results-row/search-results-row.component.d.ts +1 -1
  150. package/lib/components/sidenav/components/button-menu.component.d.ts +1 -1
  151. package/lib/components/sidenav/components/expand-menu.component.d.ts +1 -1
  152. package/lib/components/sidenav/directives/action.directive.d.ts +1 -1
  153. package/lib/components/sidenav/directives/active-link.directive.d.ts +1 -1
  154. package/lib/components/sidenav/directives/expansion-panel.directive.d.ts +1 -1
  155. package/lib/components/sidenav/directives/menu-panel.directive.d.ts +1 -1
  156. package/lib/components/sidenav/sidenav.component.d.ts +1 -1
  157. package/lib/components/sidenav/user-menu/user-menu.component.d.ts +1 -1
  158. package/lib/components/toolbar/toggle-favorite/toggle-favorite.component.d.ts +1 -1
  159. package/lib/components/toolbar/view-node/view-node.component.d.ts +1 -1
  160. package/lib/store/effects/app.effects.d.ts +2 -3
  161. package/lib/store/effects/contextmenu.effects.d.ts +2 -3
  162. package/lib/store/effects/download.effects.d.ts +0 -30
  163. package/lib/store/effects/favorite.effects.d.ts +0 -28
  164. package/lib/store/effects/library.effects.d.ts +2 -7
  165. package/lib/store/effects/node.effects.d.ts +7 -38
  166. package/lib/store/effects/search-ai.effects.d.ts +0 -4
  167. package/lib/store/effects/search.effects.d.ts +0 -27
  168. package/lib/store/effects/template.effects.d.ts +5 -7
  169. package/lib/store/effects/upload.effects.d.ts +8 -32
  170. package/lib/store/effects/viewer.effects.d.ts +0 -29
  171. package/ms-office/effects/aos.effects.d.ts +0 -3
  172. package/package.json +21 -35
  173. package/ui/theme.scss +9 -4
  174. package/esm2020/about/about.component.mjs +0 -71
  175. package/esm2020/about/aca-about.module.mjs +0 -46
  176. package/esm2020/folder-rules/folder-rules.module.mjs +0 -115
  177. package/esm2020/folder-rules/manage-rules/manage-rules.smart-component.mjs +0 -261
  178. package/esm2020/folder-rules/rule-details/actions/rule-action-list.ui-component.mjs +0 -117
  179. package/esm2020/folder-rules/rule-details/actions/rule-action.ui-component.mjs +0 -351
  180. package/esm2020/folder-rules/rule-details/conditions/rule-composite-condition.ui-component.mjs +0 -172
  181. package/esm2020/folder-rules/rule-details/conditions/rule-simple-condition.ui-component.mjs +0 -234
  182. package/esm2020/folder-rules/rule-details/edit-rule-dialog.ui-component.mjs +0 -74
  183. package/esm2020/folder-rules/rule-details/options/rule-options.ui-component.mjs +0 -129
  184. package/esm2020/folder-rules/rule-details/rule-details.ui-component.mjs +0 -185
  185. package/esm2020/folder-rules/rule-details/triggers/rule-triggers.ui-component.mjs +0 -88
  186. package/esm2020/folder-rules/rule-list/rule-list/rule-list.ui-component.mjs +0 -164
  187. package/esm2020/folder-rules/rule-list/rule-list-grouping/rule-list-grouping.ui-component.mjs +0 -81
  188. package/esm2020/folder-rules/rule-list/rule-list-item/rule-list-item.ui-component.mjs +0 -58
  189. package/esm2020/folder-rules/rule-set-picker/rule-set-picker.smart-component.mjs +0 -120
  190. package/esm2020/folder-rules/services/actions.service.mjs +0 -114
  191. package/esm2020/folder-rules/services/folder-rule-sets.service.mjs +0 -225
  192. package/esm2020/folder-rules/services/folder-rules.service.mjs +0 -193
  193. package/esm2020/lib/aca-content.module.mjs +0 -299
  194. package/esm2020/lib/components/bulk-actions-dropdown/bulk-actions-dropdown.component.mjs +0 -83
  195. package/esm2020/lib/components/common/location-link/location-link.component.mjs +0 -180
  196. package/esm2020/lib/components/common/toggle-shared/toggle-shared.component.mjs +0 -76
  197. package/esm2020/lib/components/common/user-info/user-info.component.mjs +0 -47
  198. package/esm2020/lib/components/context-menu/context-menu-item.component.mjs +0 -62
  199. package/esm2020/lib/components/context-menu/context-menu-outside-event.directive.mjs +0 -63
  200. package/esm2020/lib/components/context-menu/context-menu-overlay.mjs +0 -32
  201. package/esm2020/lib/components/context-menu/context-menu.component.mjs +0 -114
  202. package/esm2020/lib/components/context-menu/context-menu.service.mjs +0 -99
  203. package/esm2020/lib/components/details/details.component.mjs +0 -147
  204. package/esm2020/lib/components/dl-custom-components/datatable-cell-badges/datatable-cell-badges.component.mjs +0 -71
  205. package/esm2020/lib/components/dl-custom-components/name-column/name-column.component.mjs +0 -101
  206. package/esm2020/lib/components/dl-custom-components/tags-column/tags-column.component.mjs +0 -48
  207. package/esm2020/lib/components/dl-custom-components/thumbnail-column/thumbnail-column.component.mjs +0 -75
  208. package/esm2020/lib/components/favorite-libraries/favorite-libraries.component.mjs +0 -120
  209. package/esm2020/lib/components/favorites/favorites.component.mjs +0 -103
  210. package/esm2020/lib/components/files/files.component.mjs +0 -330
  211. package/esm2020/lib/components/home/home.component.mjs +0 -47
  212. package/esm2020/lib/components/info-drawer/comments-tab/comments-tab.component.mjs +0 -59
  213. package/esm2020/lib/components/info-drawer/info.drawer.module.mjs +0 -73
  214. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-form.component.mjs +0 -206
  215. package/esm2020/lib/components/info-drawer/library-metadata-tab/library-metadata-tab.component.mjs +0 -45
  216. package/esm2020/lib/components/info-drawer/metadata-tab/metadata-tab.component.mjs +0 -134
  217. package/esm2020/lib/components/info-drawer/versions-tab/versions-tab.component.mjs +0 -95
  218. package/esm2020/lib/components/knowledge-retrieval/search-ai/agents-button/agents-button.component.mjs +0 -129
  219. package/esm2020/lib/components/knowledge-retrieval/search-ai/search-ai-input/search-ai-input.component.mjs +0 -171
  220. package/esm2020/lib/components/knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component.mjs +0 -82
  221. package/esm2020/lib/components/knowledge-retrieval/search-ai/search-ai-results/search-ai-results.component.mjs +0 -199
  222. package/esm2020/lib/components/libraries/libraries.component.mjs +0 -79
  223. package/esm2020/lib/components/recent-files/recent-files.component.mjs +0 -82
  224. package/esm2020/lib/components/search/search-action-menu/search-action-menu.component.mjs +0 -64
  225. package/esm2020/lib/components/search/search-input/search-input.component.mjs +0 -301
  226. package/esm2020/lib/components/search/search-input-control/search-input-control.component.mjs +0 -94
  227. package/esm2020/lib/components/search/search-libraries-results/search-libraries-query-builder.service.mjs +0 -90
  228. package/esm2020/lib/components/search/search-libraries-results/search-libraries-results.component.mjs +0 -153
  229. package/esm2020/lib/components/search/search-navigation.service.mjs +0 -60
  230. package/esm2020/lib/components/search/search-results/search-results.component.mjs +0 -255
  231. package/esm2020/lib/components/search/search-results-row/search-results-row.component.mjs +0 -142
  232. package/esm2020/lib/components/shared-files/shared-files.component.mjs +0 -83
  233. package/esm2020/lib/components/shared-link-view/shared-link-view.component.mjs +0 -82
  234. package/esm2020/lib/components/sidenav/components/button-menu.component.mjs +0 -62
  235. package/esm2020/lib/components/sidenav/components/expand-menu.component.mjs +0 -67
  236. package/esm2020/lib/components/sidenav/components/sidenav-header.component.mjs +0 -66
  237. package/esm2020/lib/components/sidenav/directives/action.directive.mjs +0 -75
  238. package/esm2020/lib/components/sidenav/directives/active-link.directive.mjs +0 -93
  239. package/esm2020/lib/components/sidenav/directives/expansion-panel.directive.mjs +0 -102
  240. package/esm2020/lib/components/sidenav/directives/menu-panel.directive.mjs +0 -99
  241. package/esm2020/lib/components/sidenav/sidenav.component.mjs +0 -89
  242. package/esm2020/lib/components/sidenav/user-menu/user-menu.component.mjs +0 -56
  243. package/esm2020/lib/components/toolbar/toggle-edit-offline/toggle-edit-offline.component.mjs +0 -137
  244. package/esm2020/lib/components/toolbar/toggle-favorite/toggle-favorite.component.mjs +0 -86
  245. package/esm2020/lib/components/toolbar/toggle-favorite-library/toggle-favorite-library.component.mjs +0 -107
  246. package/esm2020/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.mjs +0 -74
  247. package/esm2020/lib/components/toolbar/toggle-join-library/toggle-join-library-button.component.mjs +0 -105
  248. package/esm2020/lib/components/toolbar/view-node/view-node.component.mjs +0 -122
  249. package/esm2020/lib/components/trashcan/trashcan.component.mjs +0 -68
  250. package/esm2020/lib/components/upload-files-dialog/upload-files-dialog.component.mjs +0 -52
  251. package/esm2020/lib/components/view-profile/view-profile.component.mjs +0 -193
  252. package/esm2020/lib/dialogs/node-template/create-from-template.dialog.mjs +0 -120
  253. package/esm2020/lib/directives/document-list.directive.mjs +0 -199
  254. package/esm2020/lib/extensions/core.extensions.module.mjs +0 -55
  255. package/esm2020/lib/services/content-management.service.mjs +0 -873
  256. package/esm2020/lib/services/content-url.service.mjs +0 -71
  257. package/esm2020/lib/services/modal-ai.service.mjs +0 -66
  258. package/esm2020/lib/services/node-actions.service.mjs +0 -600
  259. package/esm2020/lib/services/node-template.service.mjs +0 -144
  260. package/esm2020/lib/services/search-ai-navigation.service.mjs +0 -52
  261. package/esm2020/lib/store/app-store.module.mjs +0 -102
  262. package/esm2020/lib/store/effects/app.effects.mjs +0 -49
  263. package/esm2020/lib/store/effects/contextmenu.effects.mjs +0 -55
  264. package/esm2020/lib/store/effects/download.effects.mjs +0 -159
  265. package/esm2020/lib/store/effects/favorite.effects.mjs +0 -76
  266. package/esm2020/lib/store/effects/library.effects.mjs +0 -113
  267. package/esm2020/lib/store/effects/node.effects.mjs +0 -325
  268. package/esm2020/lib/store/effects/search-ai.effects.mjs +0 -57
  269. package/esm2020/lib/store/effects/search.effects.mjs +0 -60
  270. package/esm2020/lib/store/effects/template.effects.mjs +0 -121
  271. package/esm2020/lib/store/effects/upload.effects.mjs +0 -166
  272. package/esm2020/lib/store/effects/viewer.effects.mjs +0 -175
  273. package/esm2020/ms-office/actions/aos.actions.mjs +0 -31
  274. package/esm2020/ms-office/aos-extension.module.mjs +0 -52
  275. package/esm2020/ms-office/aos-extension.service.mjs +0 -132
  276. package/esm2020/ms-office/effects/aos.effects.mjs +0 -48
  277. package/esm2020/viewer/lib/components/preview/preview.component.mjs +0 -236
  278. package/esm2020/viewer/lib/components/viewer/viewer.component.mjs +0 -240
  279. package/esm2020/viewer/lib/services/viewer.service.mjs +0 -226
  280. package/esm2020/viewer/lib/viewer.module.mjs +0 -52
  281. package/fesm2015/alfresco-aca-content-folder-rules.mjs +0 -2662
  282. package/fesm2015/alfresco-aca-content-folder-rules.mjs.map +0 -1
  283. package/fesm2015/alfresco-aca-content-ms-office.mjs +0 -256
  284. package/fesm2015/alfresco-aca-content-ms-office.mjs.map +0 -1
  285. package/fesm2015/alfresco-aca-content-viewer.mjs +0 -700
  286. package/fesm2015/alfresco-aca-content-viewer.mjs.map +0 -1
  287. package/fesm2015/alfresco-aca-content.mjs +0 -9835
  288. package/fesm2015/alfresco-aca-content.mjs.map +0 -1
  289. package/fesm2020/alfresco-aca-content-about.mjs +0 -193
  290. package/fesm2020/alfresco-aca-content-about.mjs.map +0 -1
  291. package/fesm2020/alfresco-aca-content-folder-rules.mjs.map +0 -1
  292. package/fesm2020/alfresco-aca-content-ms-office.mjs.map +0 -1
  293. package/fesm2020/alfresco-aca-content.mjs.map +0 -1
  294. /package/{esm2020 → esm2022}/about/alfresco-aca-content-about.mjs +0 -0
  295. /package/{esm2020 → esm2022}/about/dev-mode.tokens.mjs +0 -0
  296. /package/{esm2020 → esm2022}/about/package-json.token.mjs +0 -0
  297. /package/{esm2020 → esm2022}/about/public-api.mjs +0 -0
  298. /package/{esm2020 → esm2022}/alfresco-aca-content.mjs +0 -0
  299. /package/{esm2020 → esm2022}/folder-rules/alfresco-aca-content-folder-rules.mjs +0 -0
  300. /package/{esm2020 → esm2022}/folder-rules/folder-rules.rules.mjs +0 -0
  301. /package/{esm2020 → esm2022}/folder-rules/model/action-parameter-constraint.model.mjs +0 -0
  302. /package/{esm2020 → esm2022}/folder-rules/model/rule-action.model.mjs +0 -0
  303. /package/{esm2020 → esm2022}/folder-rules/model/rule-composite-condition.model.mjs +0 -0
  304. /package/{esm2020 → esm2022}/folder-rules/model/rule-grouping-item.model.mjs +0 -0
  305. /package/{esm2020 → esm2022}/folder-rules/model/rule-set.model.mjs +0 -0
  306. /package/{esm2020 → esm2022}/folder-rules/model/rule-simple-condition.model.mjs +0 -0
  307. /package/{esm2020 → esm2022}/folder-rules/model/rule.model.mjs +0 -0
  308. /package/{esm2020 → esm2022}/folder-rules/public-api.mjs +0 -0
  309. /package/{esm2020 → esm2022}/folder-rules/rule-details/conditions/rule-condition-comparators.mjs +0 -0
  310. /package/{esm2020 → esm2022}/folder-rules/rule-details/conditions/rule-condition-fields.mjs +0 -0
  311. /package/{esm2020 → esm2022}/folder-rules/rule-details/validators/rule-actions.validator.mjs +0 -0
  312. /package/{esm2020 → esm2022}/folder-rules/rule-details/validators/rule-composite-condition.validator.mjs +0 -0
  313. /package/{esm2020 → esm2022}/lib/aca-content.routes.mjs +0 -0
  314. /package/{esm2020 → esm2022}/lib/components/common/index.mjs +0 -0
  315. /package/{esm2020 → esm2022}/lib/components/context-menu/direction.token.mjs +0 -0
  316. /package/{esm2020 → esm2022}/lib/components/context-menu/interfaces.mjs +0 -0
  317. /package/{esm2020 → esm2022}/lib/components/knowledge-retrieval/search-ai/search-ai-utils.mjs +0 -0
  318. /package/{esm2020 → esm2022}/lib/components/search/index.mjs +0 -0
  319. /package/{esm2020 → esm2022}/lib/components/sidenav/index.mjs +0 -0
  320. /package/{esm2020 → esm2022}/lib/components/toolbar/index.mjs +0 -0
  321. /package/{esm2020 → esm2022}/lib/components/view-profile/view-profile.guard.mjs +0 -0
  322. /package/{esm2020 → esm2022}/lib/store/effects.mjs +0 -0
  323. /package/{esm2020 → esm2022}/lib/store/initial-state.mjs +0 -0
  324. /package/{esm2020 → esm2022}/lib/store/reducers/app.reducer.mjs +0 -0
  325. /package/{esm2020 → esm2022}/ms-office/alfresco-aca-content-ms-office.mjs +0 -0
  326. /package/{esm2020 → esm2022}/ms-office/public-api.mjs +0 -0
  327. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  328. /package/{esm2020 → esm2022}/viewer/alfresco-aca-content-viewer.mjs +0 -0
  329. /package/{esm2020 → esm2022}/viewer/public-api.mjs +0 -0
@@ -0,0 +1,85 @@
1
+ /*!
2
+ * Copyright © 2005-2024 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 { Component, ViewEncapsulation } from '@angular/core';
25
+ import { debounceTime } from 'rxjs/operators';
26
+ import { AppHookService, ContextActionsDirective, InfoDrawerComponent, PageComponent, PageLayoutComponent, PaginationDirective, ToolbarComponent } from '@alfresco/aca-shared';
27
+ import { DynamicColumnComponent } from '@alfresco/adf-extensions';
28
+ import { CommonModule } from '@angular/common';
29
+ import { DocumentListModule } from '@alfresco/adf-content-services';
30
+ import { DataTableModule, EmptyContentComponent, PaginationComponent } from '@alfresco/adf-core';
31
+ import { DocumentListDirective } from '../../directives/document-list.directive';
32
+ import { TranslateModule } from '@ngx-translate/core';
33
+ import { SearchAiInputContainerComponent } from '../knowledge-retrieval/search-ai/search-ai-input-container/search-ai-input-container.component';
34
+ import * as i0 from "@angular/core";
35
+ import * as i1 from "@alfresco/aca-shared";
36
+ import * as i2 from "@angular/common";
37
+ import * as i3 from "@alfresco/adf-content-services";
38
+ import * as i4 from "@alfresco/adf-core";
39
+ import * as i5 from "@ngx-translate/core";
40
+ class SharedFilesComponent extends PageComponent {
41
+ appHookService;
42
+ columns = [];
43
+ constructor(appHookService) {
44
+ super();
45
+ this.appHookService = appHookService;
46
+ }
47
+ ngOnInit() {
48
+ super.ngOnInit();
49
+ this.subscriptions = this.subscriptions.concat([
50
+ this.appHookService.linksUnshared.pipe(debounceTime(300)).subscribe(() => this.reload()),
51
+ this.uploadService.fileUploadComplete.pipe(debounceTime(300)).subscribe(() => this.reload()),
52
+ this.uploadService.fileUploadDeleted.pipe(debounceTime(300)).subscribe(() => this.reload())
53
+ ]);
54
+ this.columns = this.extensions.documentListPresets.shared || [];
55
+ }
56
+ preview(node) {
57
+ this.showPreview(node, { location: this.router.url });
58
+ }
59
+ handleNodeClick(event) {
60
+ this.preview(event.detail?.node);
61
+ }
62
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedFilesComponent, deps: [{ token: i1.AppHookService }], target: i0.ɵɵFactoryTarget.Component });
63
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: SharedFilesComponent, isStandalone: true, selector: "aca-shared-files", usesInheritance: true, ngImport: i0, template: "<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <aca-search-ai-input-container\n *ngIf=\"searchAiInputState.active; else header\"\n [agentId]=\"searchAiInputState.selectedAgentId\">\n </aca-search-ai-input-container>\n <ng-template #header>\n <div class=\"aca-header-container\">\n <h1 class=\"aca-page-title\">\n {{ (selectedRowItemsCount < 1 ? 'APP.BROWSE.SHARED.TITLE' : 'APP.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }}\n </h1>\n\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n </ng-template>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"aca-main-content\">\n <adf-document-list\n #documentList\n acaDocumentList\n acaContextActions\n [currentFolderId]=\"'-sharedlinks-'\"\n [selectionMode]=\"'multiple'\"\n [multiselect]=\"true\"\n [sorting]=\"['modifiedAt', 'desc']\"\n [imageResolver]=\"imageResolver\"\n [sortingMode]=\"'client'\"\n [isResizingEnabled]=\"true\"\n [displayCheckboxesOnHover]=\"true\"\n (selectedItemsCountChanged)=\"onSelectedItemsCountChanged($event)\"\n [blurOnResize]=\"false\"\n (node-dblclick)=\"handleNodeClick($event)\"\n (name-click)=\"handleNodeClick($event)\"\n >\n <adf-custom-empty-content-template>\n <adf-empty-content icon=\"people\" [title]=\"'APP.BROWSE.SHARED.EMPTY_STATE.TITLE'\" subtitle=\"APP.BROWSE.SHARED.EMPTY_STATE.TEXT\">\n </adf-empty-content>\n </adf-custom-empty-content-template>\n\n <data-columns>\n <ng-container *ngFor=\"let column of columns; trackBy: trackByColumnId\">\n <ng-container *ngIf=\"column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n >\n <ng-template let-context>\n <adf-dynamic-column [id]=\"column.template\" [context]=\"context\"> </adf-dynamic-column>\n </ng-template>\n </data-column>\n </ng-container>\n\n <ng-container *ngIf=\"!column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [isHidden]=\"column.isHidden\"\n [sortingKey]=\"column.sortingKey || column.key\"\n >\n </data-column>\n </ng-container>\n </ng-container>\n </data-columns>\n </adf-document-list>\n\n <adf-pagination acaPagination [target]=\"documentList\"></adf-pagination>\n </div>\n\n <div class=\"aca-sidebar\" *ngIf=\"infoDrawerOpened$ | async\">\n <aca-info-drawer [node]=\"selection.last\"></aca-info-drawer>\n </div>\n </div>\n</aca-page-layout>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: DocumentListModule }, { kind: "component", type: i3.DocumentListComponent, selector: "adf-document-list", inputs: ["includeFields", "where", "permissionsStyle", "locationFormat", "navigate", "showHeader", "navigationMode", "thumbnails", "selectionMode", "multiselect", "contentActions", "contentActionsPosition", "contextMenuActions", "emptyFolderImageUrl", "allowDropFiles", "sorting", "additionalSorting", "sortingMode", "rowStyle", "rowStyleClass", "loading", "_rowFilter", "rowFilter", "imageResolver", "stickyHeader", "headerFilters", "filterValue", "currentFolderId", "preselectNodes", "node", "maxItems", "columnsPresetKey", "setColumnsVisibility", "setColumnsWidths", "setColumnsOrder", "maxColumnsVisible", "isResizingEnabled", "blurOnResize", "displayCheckboxesOnHover"], outputs: ["nodeClick", "nodeDblClick", "folderChange", "preview", "ready", "error", "nodeSelected", "filterSelection", "columnsWidthChanged", "columnsVisibilityChanged", "columnsOrderChanged", "selectedItemsCountChanged"] }, { kind: "directive", type: DocumentListDirective, selector: "[acaDocumentList]" }, { kind: "directive", type: ContextActionsDirective, selector: "[acaContextActions]", inputs: ["acaContextEnable"], exportAs: ["acaContextActions"] }, { kind: "ngmodule", type: DataTableModule }, { kind: "component", type: i4.DataColumnComponent, selector: "data-column", inputs: ["id", "key", "customData", "type", "format", "sortable", "draggable", "resizable", "isHidden", "title", "formatTooltip", "sr-title", "class", "copyContent", "editable", "focus", "sortingKey", "order", "currencyConfig", "decimalConfig", "dateConfig"] }, { kind: "component", type: i4.DataColumnListComponent, selector: "data-columns" }, { kind: "directive", type: i4.CustomEmptyContentTemplateDirective, selector: "adf-custom-empty-content-template, empty-folder-content" }, { kind: "component", type: PaginationComponent, selector: "adf-pagination", inputs: ["target", "supportedPageSizes", "pagination"], outputs: ["change", "changePageNumber", "changePageSize", "nextPage", "prevPage"] }, { kind: "component", type: InfoDrawerComponent, selector: "aca-info-drawer", inputs: ["nodeId", "node"] }, { kind: "directive", type: PaginationDirective, selector: "[acaPagination]" }, { kind: "component", type: PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }, { kind: "component", type: SearchAiInputContainerComponent, selector: "aca-search-ai-input-container", inputs: ["placeholder", "agentId", "useStoredNodes"] }, { kind: "component", type: EmptyContentComponent, selector: "adf-empty-content", inputs: ["icon", "title", "subtitle"] }, { kind: "component", type: DynamicColumnComponent, selector: "adf-dynamic-column", inputs: ["id", "context"] }], encapsulation: i0.ViewEncapsulation.None });
64
+ }
65
+ export { SharedFilesComponent };
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedFilesComponent, decorators: [{
67
+ type: Component,
68
+ args: [{ standalone: true, imports: [
69
+ CommonModule,
70
+ DocumentListModule,
71
+ DocumentListDirective,
72
+ ContextActionsDirective,
73
+ DataTableModule,
74
+ PaginationComponent,
75
+ InfoDrawerComponent,
76
+ PaginationDirective,
77
+ PageLayoutComponent,
78
+ TranslateModule,
79
+ ToolbarComponent,
80
+ SearchAiInputContainerComponent,
81
+ EmptyContentComponent,
82
+ DynamicColumnComponent
83
+ ], encapsulation: ViewEncapsulation.None, selector: 'aca-shared-files', template: "<aca-page-layout>\n <div class=\"aca-page-layout-header\">\n <aca-search-ai-input-container\n *ngIf=\"searchAiInputState.active; else header\"\n [agentId]=\"searchAiInputState.selectedAgentId\">\n </aca-search-ai-input-container>\n <ng-template #header>\n <div class=\"aca-header-container\">\n <h1 class=\"aca-page-title\">\n {{ (selectedRowItemsCount < 1 ? 'APP.BROWSE.SHARED.TITLE' : 'APP.HEADER.SELECTED') | translate: { count: selectedRowItemsCount } }}\n </h1>\n\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n </ng-template>\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"aca-main-content\">\n <adf-document-list\n #documentList\n acaDocumentList\n acaContextActions\n [currentFolderId]=\"'-sharedlinks-'\"\n [selectionMode]=\"'multiple'\"\n [multiselect]=\"true\"\n [sorting]=\"['modifiedAt', 'desc']\"\n [imageResolver]=\"imageResolver\"\n [sortingMode]=\"'client'\"\n [isResizingEnabled]=\"true\"\n [displayCheckboxesOnHover]=\"true\"\n (selectedItemsCountChanged)=\"onSelectedItemsCountChanged($event)\"\n [blurOnResize]=\"false\"\n (node-dblclick)=\"handleNodeClick($event)\"\n (name-click)=\"handleNodeClick($event)\"\n >\n <adf-custom-empty-content-template>\n <adf-empty-content icon=\"people\" [title]=\"'APP.BROWSE.SHARED.EMPTY_STATE.TITLE'\" subtitle=\"APP.BROWSE.SHARED.EMPTY_STATE.TEXT\">\n </adf-empty-content>\n </adf-custom-empty-content-template>\n\n <data-columns>\n <ng-container *ngFor=\"let column of columns; trackBy: trackByColumnId\">\n <ng-container *ngIf=\"column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n >\n <ng-template let-context>\n <adf-dynamic-column [id]=\"column.template\" [context]=\"context\"> </adf-dynamic-column>\n </ng-template>\n </data-column>\n </ng-container>\n\n <ng-container *ngIf=\"!column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [isHidden]=\"column.isHidden\"\n [sortingKey]=\"column.sortingKey || column.key\"\n >\n </data-column>\n </ng-container>\n </ng-container>\n </data-columns>\n </adf-document-list>\n\n <adf-pagination acaPagination [target]=\"documentList\"></adf-pagination>\n </div>\n\n <div class=\"aca-sidebar\" *ngIf=\"infoDrawerOpened$ | async\">\n <aca-info-drawer [node]=\"selection.last\"></aca-info-drawer>\n </div>\n </div>\n</aca-page-layout>\n" }]
84
+ }], ctorParameters: function () { return [{ type: i1.AppHookService }]; } });
85
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmVkLWZpbGVzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQtZmlsZXMvc2hhcmVkLWZpbGVzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQtZmlsZXMvc2hhcmVkLWZpbGVzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBc0JHO0FBRUgsT0FBTyxFQUFFLFNBQVMsRUFBVSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNyRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFOUMsT0FBTyxFQUNMLGNBQWMsRUFDZCx1QkFBdUIsRUFDdkIsbUJBQW1CLEVBQ25CLGFBQWEsRUFDYixtQkFBbUIsRUFDbkIsbUJBQW1CLEVBQ25CLGdCQUFnQixFQUNqQixNQUFNLHNCQUFzQixDQUFDO0FBQzlCLE9BQU8sRUFBeUIsc0JBQXNCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN6RixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDcEUsT0FBTyxFQUFFLGVBQWUsRUFBRSxx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Jlc2l6ZV09XCJmYWxzZVwiXG4gICAgICAgIChub2RlLWRibGNsaWNrKT1cImhhbmRsZU5vZGVDbGljaygkZXZlbnQpXCJcbiAgICAgICAgKG5hbWUtY2xpY2spPVwiaGFuZGxlTm9kZUNsaWNrKCRldmVudClcIlxuICAgICAgPlxuICAgICAgICA8YWRmLWN1c3RvbS1lbXB0eS1jb250ZW50LXRlbXBsYXRlPlxuICAgICAgICAgIDxhZGYtZW1wdHktY29udGVudCBpY29uPVwicGVvcGxlXCIgW3RpdGxlXT1cIidBUFAuQlJPV1NFLlNIQVJFRC5FTVBUWV9TVEFURS5USVRMRSdcIiBzdWJ0aXRsZT1cIkFQUC5CUk9XU0UuU0hBUkVELkVNUFRZX1NUQVRFLlRFWFRcIj5cbiAgICAgICAgICA8L2FkZi1lbXB0eS1jb250ZW50PlxuICAgICAgICA8L2FkZi1jdXN0b20tZW1wdHktY29udGVudC10ZW1wbGF0ZT5cblxuICAgICAgICA8ZGF0YS1jb2x1bW5zPlxuICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IGNvbHVtbiBvZiBjb2x1bW5zOyB0cmFja0J5OiB0cmFja0J5Q29sdW1uSWRcIj5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJjb2x1bW4udGVtcGxhdGUgJiYgIShjb2x1bW4uZGVza3RvcE9ubHkgJiYgaXNTbWFsbFNjcmVlbilcIj5cbiAgICAgICAgICAgICAgPGRhdGEtY29sdW1uXG4gICAgICAgICAgICAgICAgW2lkXT1cImNvbHVtbi5pZFwiXG4gICAgICAgICAgICAgICAgW2tleV09XCJjb2x1bW4ua2V5XCJcbiAgICAgICAgICAgICAgICBbdGl0bGVdPVwiY29sdW1uLnRpdGxlXCJcbiAgICAgICAgICAgICAgICBbdHlwZV09XCJjb2x1bW4udHlwZVwiXG4gICAgICAgICAgICAgICAgW2Zvcm1hdF09XCJjb2x1bW4uZm9ybWF0XCJcbiAgICAgICAgICAgICAgICBbY2xhc3NdPVwiY29sdW1uLmNsYXNzXCJcbiAgICAgICAgICAgICAgICBbc29ydGFibGVdPVwiY29sdW1uLnNvcnRhYmxlXCJcbiAgICAgICAgICAgICAgICBbaXNIaWRkZW5dPVwiY29sdW1uLmlzSGlkZGVuXCJcbiAgICAgICAgICAgICAgICBbZHJhZ2dhYmxlXT1cImNvbHVtbi5kcmFnZ2FibGVcIlxuICAgICAgICAgICAgICAgIFtyZXNpemFibGVdPVwiY29sdW1uLnJlc2l6YWJsZVwiXG4gICAgICAgICAgICAgICAgW3NvcnRpbmdLZXldPVwiY29sdW1uLnNvcnRpbmdLZXkgfHwgY29sdW1uLmtleVwiXG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgbGV0LWNvbnRleHQ+XG4gICAgICAgICAgICAgICAgICA8YWRmLWR5bmFtaWMtY29sdW1uIFtpZF09XCJjb2x1bW4udGVtcGxhdGVcIiBbY29udGV4dF09XCJjb250ZXh0XCI+IDwvYWRmLWR5bmFtaWMtY29sdW1uPlxuICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgIDwvZGF0YS1jb2x1bW4+XG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cblxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFjb2x1bW4udGVtcGxhdGUgJiYgIShjb2x1bW4uZGVza3RvcE9ubHkgJiYgaXNTbWFsbFNjcmVlbilcIj5cbiAgICAgICAgICAgICAgPGRhdGEtY29sdW1uXG4gICAgICAgICAgICAgICAgW2lkXT1cImNvbHVtbi5pZFwiXG4gICAgICAgICAgICAgICAgW2RyYWdnYWJsZV09XCJjb2x1bW4uZHJhZ2dhYmxlXCJcbiAgICAgICAgICAgICAgICBbcmVzaXphYmxlXT1cImNvbHVtbi5yZXNpemFibGVcIlxuICAgICAgICAgICAgICAgIFtrZXldPVwiY29sdW1uLmtleVwiXG4gICAgICAgICAgICAgICAgW3RpdGxlXT1cImNvbHVtbi50aXRsZVwiXG4gICAgICAgICAgICAgICAgW3R5cGVdPVwiY29sdW1uLnR5cGVcIlxuICAgICAgICAgICAgICAgIFtmb3JtYXRdPVwiY29sdW1uLmZvcm1hdFwiXG4gICAgICAgICAgICAgICAgW2NsYXNzXT1cImNvbHVtbi5jbGFzc1wiXG4gICAgICAgICAgICAgICAgW3NvcnRhYmxlXT1cImNvbHVtbi5zb3J0YWJsZVwiXG4gICAgICAgICAgICAgICAgW2lzSGlkZGVuXT1cImNvbHVtbi5pc0hpZGRlblwiXG4gICAgICAgICAgICAgICAgW3NvcnRpbmdLZXldPVwiY29sdW1uLnNvcnRpbmdLZXkgfHwgY29sdW1uLmtleVwiXG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgPC9kYXRhLWNvbHVtbj5cbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8L2RhdGEtY29sdW1ucz5cbiAgICAgIDwvYWRmLWRvY3VtZW50LWxpc3Q+XG5cbiAgICAgIDxhZGYtcGFnaW5hdGlvbiBhY2FQYWdpbmF0aW9uIFt0YXJnZXRdPVwiZG9jdW1lbnRMaXN0XCI+PC9hZGYtcGFnaW5hdGlvbj5cbiAgICA8L2Rpdj5cblxuICAgIDxkaXYgY2xhc3M9XCJhY2Etc2lkZWJhclwiICpuZ0lmPVwiaW5mb0RyYXdlck9wZW5lZCQgfCBhc3luY1wiPlxuICAgICAgPGFjYS1pbmZvLWRyYXdlciBbbm9kZV09XCJzZWxlY3Rpb24ubGFzdFwiPjwvYWNhLWluZm8tZHJhd2VyPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvYWNhLXBhZ2UtbGF5b3V0PlxuIl19
@@ -0,0 +1,89 @@
1
+ /*!
2
+ * Copyright © 2005-2024 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 { SetSelectedNodesAction } from '@alfresco/aca-shared/store';
25
+ import { ViewerModule } from '@alfresco/adf-core';
26
+ import { SharedlinksApi } from '@alfresco/js-api';
27
+ import { Component, ViewEncapsulation } from '@angular/core';
28
+ import { ActivatedRoute } from '@angular/router';
29
+ import { Store } from '@ngrx/store';
30
+ import { forkJoin, from, of, Subject } from 'rxjs';
31
+ import { catchError, mergeMap, takeUntil } from 'rxjs/operators';
32
+ import { AppExtensionService, AppService, ToolbarComponent } from '@alfresco/aca-shared';
33
+ import { CommonModule } from '@angular/common';
34
+ import { AlfrescoApiService, AlfrescoViewerModule } from '@alfresco/adf-content-services';
35
+ import * as i0 from "@angular/core";
36
+ import * as i1 from "@angular/router";
37
+ import * as i2 from "@ngrx/store";
38
+ import * as i3 from "@alfresco/aca-shared";
39
+ import * as i4 from "@alfresco/adf-content-services";
40
+ import * as i5 from "@angular/common";
41
+ import * as i6 from "@alfresco/adf-core";
42
+ class SharedLinkViewComponent {
43
+ route;
44
+ store;
45
+ extensions;
46
+ alfrescoApiService;
47
+ appService;
48
+ onDestroy$ = new Subject();
49
+ sharedLinksApi;
50
+ sharedLinkId = null;
51
+ viewerToolbarActions = [];
52
+ constructor(route, store, extensions, alfrescoApiService, appService) {
53
+ this.route = route;
54
+ this.store = store;
55
+ this.extensions = extensions;
56
+ this.alfrescoApiService = alfrescoApiService;
57
+ this.appService = appService;
58
+ this.sharedLinksApi = new SharedlinksApi(this.alfrescoApiService.getInstance());
59
+ }
60
+ ngOnInit() {
61
+ this.route.params
62
+ .pipe(mergeMap((params) => forkJoin([from(this.sharedLinksApi.getSharedLink(params.id)), of(params.id)]).pipe(catchError(() => of([null, params.id])))))
63
+ .subscribe(([sharedEntry, sharedId]) => {
64
+ if (sharedEntry) {
65
+ this.store.dispatch(new SetSelectedNodesAction([sharedEntry]));
66
+ this.appService.openMobileAppDialog();
67
+ }
68
+ this.sharedLinkId = sharedId;
69
+ });
70
+ this.extensions
71
+ .getSharedLinkViewerToolbarActions()
72
+ .pipe(takeUntil(this.onDestroy$))
73
+ .subscribe((actions) => {
74
+ this.viewerToolbarActions = actions;
75
+ });
76
+ }
77
+ ngOnDestroy() {
78
+ this.onDestroy$.next(true);
79
+ this.onDestroy$.complete();
80
+ }
81
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedLinkViewComponent, deps: [{ token: i1.ActivatedRoute }, { token: i2.Store }, { token: i3.AppExtensionService }, { token: i4.AlfrescoApiService }, { token: i3.AppService }], target: i0.ɵɵFactoryTarget.Component });
82
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: SharedLinkViewComponent, isStandalone: true, selector: "app-shared-link-view", host: { classAttribute: "app-shared-link-view" }, ngImport: i0, template: "<ng-container *ngIf=\"sharedLinkId\">\n <adf-alfresco-viewer [allowPrint]=\"false\" [allowDownload]=\"false\" [allowFullScreen]=\"false\" [sharedLinkId]=\"sharedLinkId\" [allowGoBack]=\"false\">\n <adf-viewer-toolbar-actions>\n <aca-toolbar [items]=\"viewerToolbarActions\"></aca-toolbar>\n </adf-viewer-toolbar-actions>\n </adf-alfresco-viewer>\n</ng-container>\n", styles: [".app-shared-link-view{width:100%;height:100%}.app-shared-link-view .adf-alfresco-viewer .adf-viewer{position:relative}.app-shared-link-view .adf-viewer-toolbar .adf-toolbar-divider{display:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ViewerModule }, { kind: "component", type: i6.ViewerToolbarActionsComponent, selector: "adf-viewer-toolbar-actions" }, { kind: "ngmodule", type: AlfrescoViewerModule }, { kind: "component", type: i4.AlfrescoViewerComponent, selector: "adf-alfresco-viewer", inputs: ["nodeId", "versionId", "sharedLinkId", "showViewer", "maxRetries", "allowGoBack", "showToolbar", "overlayMode", "allowNavigate", "canNavigateBefore", "canNavigateNext", "allowLeftSidebar", "allowRightSidebar", "showRightSidebar", "showLeftSidebar", "allowDownload", "allowPrint", "allowFullScreen", "hideInfoButton", "closeButtonPosition", "sidebarRightTemplate", "sidebarLeftTemplate"], outputs: ["invalidSharedLink", "navigateBefore", "navigateNext", "showViewerChange"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
83
+ }
84
+ export { SharedLinkViewComponent };
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SharedLinkViewComponent, decorators: [{
86
+ type: Component,
87
+ args: [{ standalone: true, imports: [CommonModule, ViewerModule, AlfrescoViewerModule, ToolbarComponent], selector: 'app-shared-link-view', encapsulation: ViewEncapsulation.None, host: { class: 'app-shared-link-view' }, template: "<ng-container *ngIf=\"sharedLinkId\">\n <adf-alfresco-viewer [allowPrint]=\"false\" [allowDownload]=\"false\" [allowFullScreen]=\"false\" [sharedLinkId]=\"sharedLinkId\" [allowGoBack]=\"false\">\n <adf-viewer-toolbar-actions>\n <aca-toolbar [items]=\"viewerToolbarActions\"></aca-toolbar>\n </adf-viewer-toolbar-actions>\n </adf-alfresco-viewer>\n</ng-container>\n", styles: [".app-shared-link-view{width:100%;height:100%}.app-shared-link-view .adf-alfresco-viewer .adf-viewer{position:relative}.app-shared-link-view .adf-viewer-toolbar .adf-toolbar-divider{display:none}\n"] }]
88
+ }], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i2.Store }, { type: i3.AppExtensionService }, { type: i4.AlfrescoApiService }, { type: i3.AppService }]; } });
89
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmVkLWxpbmstdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY2EtY29udGVudC9zcmMvbGliL2NvbXBvbmVudHMvc2hhcmVkLWxpbmstdmlldy9zaGFyZWQtbGluay12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FjYS1jb250ZW50L3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQtbGluay12aWV3L3NoYXJlZC1saW5rLXZpZXcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FzQkc7QUFFSCxPQUFPLEVBQVksc0JBQXNCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM5RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFbEQsT0FBTyxFQUFtQixjQUFjLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNuRSxPQUFPLEVBQUUsU0FBUyxFQUFxQixpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDakQsT0FBTyxFQUFFLEtBQU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5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5vbkRlc3Ryb3kkLm5leHQodHJ1ZSk7XG4gICAgdGhpcy5vbkRlc3Ryb3kkLmNvbXBsZXRlKCk7XG4gIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKm5nSWY9XCJzaGFyZWRMaW5rSWRcIj5cbiAgPGFkZi1hbGZyZXNjby12aWV3ZXIgW2FsbG93UHJpbnRdPVwiZmFsc2VcIiBbYWxsb3dEb3dubG9hZF09XCJmYWxzZVwiIFthbGxvd0Z1bGxTY3JlZW5dPVwiZmFsc2VcIiBbc2hhcmVkTGlua0lkXT1cInNoYXJlZExpbmtJZFwiIFthbGxvd0dvQmFja109XCJmYWxzZVwiPlxuICAgIDxhZGYtdmlld2VyLXRvb2xiYXItYWN0aW9ucz5cbiAgICAgIDxhY2EtdG9vbGJhciBbaXRlbXNdPVwidmlld2VyVG9vbGJhckFjdGlvbnNcIj48L2FjYS10b29sYmFyPlxuICAgIDwvYWRmLXZpZXdlci10b29sYmFyLWFjdGlvbnM+XG4gIDwvYWRmLWFsZnJlc2NvLXZpZXdlcj5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -0,0 +1,66 @@
1
+ /*!
2
+ * Copyright © 2005-2024 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 { Component, Input, ViewEncapsulation, ChangeDetectorRef } from '@angular/core';
25
+ import { OverlayContainer } from '@angular/cdk/overlay';
26
+ import { CommonModule } from '@angular/common';
27
+ import { TranslateModule } from '@ngx-translate/core';
28
+ import { IconModule } from '@alfresco/adf-core';
29
+ import { MatMenuModule } from '@angular/material/menu';
30
+ import { MatButtonModule } from '@angular/material/button';
31
+ import { ActiveLinkDirective } from '../directives/active-link.directive';
32
+ import { ActionDirective } from '../directives/action.directive';
33
+ import { MenuPanelDirective } from '../directives/menu-panel.directive';
34
+ import * as i0 from "@angular/core";
35
+ import * as i1 from "@angular/cdk/overlay";
36
+ import * as i2 from "@angular/common";
37
+ import * as i3 from "@ngx-translate/core";
38
+ import * as i4 from "@alfresco/adf-core";
39
+ import * as i5 from "@angular/material/menu";
40
+ import * as i6 from "@angular/material/button";
41
+ class ButtonMenuComponent {
42
+ cd;
43
+ overlayContainer;
44
+ item;
45
+ constructor(cd, overlayContainer) {
46
+ this.cd = cd;
47
+ this.overlayContainer = overlayContainer;
48
+ this.overlayContainer.getContainerElement().classList.add('aca-menu-panel');
49
+ }
50
+ ngOnInit() {
51
+ this.cd.detectChanges();
52
+ }
53
+ trackById(_index, obj) {
54
+ return obj.id;
55
+ }
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ButtonMenuComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.OverlayContainer }], target: i0.ɵɵFactoryTarget.Component });
57
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ButtonMenuComponent, isStandalone: true, selector: "app-button-menu", inputs: { item: "item" }, host: { classAttribute: "app-button-menu" }, ngImport: i0, template: "<ng-container *ngIf=\"!item.children\">\n <button\n class=\"action-button\"\n mat-icon-button\n acaActiveLink=\"action-button--active\"\n [action]=\"item\"\n [id]=\"item.id\"\n [attr.aria-label]=\"item.title | translate\"\n [attr.title]=\"item.description | translate\"\n [attr.data-automation-id]=\"item.id\"\n >\n <adf-icon [value]=\"item.icon\"></adf-icon>\n </button>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <button\n [matMenuTriggerFor]=\"menu\"\n [acaMenuPanel]=\"item\"\n #acaMenuPanel=\"acaMenuPanel\"\n mat-icon-button\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n [attr.aria-label]=\"item.title | translate\"\n class=\"action-button\"\n [ngClass]=\"{\n 'action-button--active': acaMenuPanel.hasActiveChildren\n }\"\n >\n <adf-icon [value]=\"item.icon\"></adf-icon>\n </button>\n\n <mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\">\n <button\n *ngFor=\"let child of item.children; trackBy: trackById\"\n acaActiveLink=\"action-button--active\"\n [action]=\"child\"\n [attr.aria-label]=\"child.title | translate\"\n [id]=\"child.id\"\n [attr.title]=\"child.description | translate\"\n [attr.data-automation-id]=\"child.id\"\n mat-menu-item\n class=\"action-button\"\n >\n <adf-icon *ngIf=\"child.icon\" [value]=\"child.icon\"></adf-icon>\n <span class=\"action-button__label\">{{ child.title | translate }}</span>\n </button>\n </mat-menu>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i4.IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: ActiveLinkDirective, selector: "[acaActiveLink]", inputs: ["acaActiveLink"], exportAs: ["acaActiveLink"] }, { kind: "directive", type: ActionDirective, selector: "[action]", inputs: ["action"], exportAs: ["action"] }, { kind: "directive", type: MenuPanelDirective, selector: "[acaMenuPanel]", inputs: ["acaMenuPanel"], exportAs: ["acaMenuPanel"] }], encapsulation: i0.ViewEncapsulation.None });
58
+ }
59
+ export { ButtonMenuComponent };
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ButtonMenuComponent, decorators: [{
61
+ type: Component,
62
+ args: [{ standalone: true, imports: [CommonModule, TranslateModule, IconModule, MatMenuModule, MatButtonModule, ActiveLinkDirective, ActionDirective, MenuPanelDirective], selector: 'app-button-menu', host: { class: 'app-button-menu' }, encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"!item.children\">\n <button\n class=\"action-button\"\n mat-icon-button\n acaActiveLink=\"action-button--active\"\n [action]=\"item\"\n [id]=\"item.id\"\n [attr.aria-label]=\"item.title | translate\"\n [attr.title]=\"item.description | translate\"\n [attr.data-automation-id]=\"item.id\"\n >\n <adf-icon [value]=\"item.icon\"></adf-icon>\n </button>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <button\n [matMenuTriggerFor]=\"menu\"\n [acaMenuPanel]=\"item\"\n #acaMenuPanel=\"acaMenuPanel\"\n mat-icon-button\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n [attr.aria-label]=\"item.title | translate\"\n class=\"action-button\"\n [ngClass]=\"{\n 'action-button--active': acaMenuPanel.hasActiveChildren\n }\"\n >\n <adf-icon [value]=\"item.icon\"></adf-icon>\n </button>\n\n <mat-menu #menu=\"matMenu\" [overlapTrigger]=\"false\">\n <button\n *ngFor=\"let child of item.children; trackBy: trackById\"\n acaActiveLink=\"action-button--active\"\n [action]=\"child\"\n [attr.aria-label]=\"child.title | translate\"\n [id]=\"child.id\"\n [attr.title]=\"child.description | translate\"\n [attr.data-automation-id]=\"child.id\"\n mat-menu-item\n class=\"action-button\"\n >\n <adf-icon *ngIf=\"child.icon\" [value]=\"child.icon\"></adf-icon>\n <span class=\"action-button__label\">{{ child.title | translate }}</span>\n </button>\n </mat-menu>\n</ng-container>\n" }]
63
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.OverlayContainer }]; }, propDecorators: { item: [{
64
+ type: Input
65
+ }] } });
66
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLWNvbnRlbnQvc3JjL2xpYi9jb21wb25lbnRzL3NpZGVuYXYvY29tcG9uZW50cy9idXR0b24tbWVudS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY2EtY29udGVudC9zcmMvbGliL2NvbXBvbmVudHMvc2lkZW5hdi9jb21wb25lbnRzL2J1dHRvbi1tZW51LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7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WxkcmVuXG4gICAgfVwiXG4gID5cbiAgICA8YWRmLWljb24gW3ZhbHVlXT1cIml0ZW0uaWNvblwiPjwvYWRmLWljb24+XG4gIDwvYnV0dG9uPlxuXG4gIDxtYXQtbWVudSAjbWVudT1cIm1hdE1lbnVcIiBbb3ZlcmxhcFRyaWdnZXJdPVwiZmFsc2VcIj5cbiAgICA8YnV0dG9uXG4gICAgICAqbmdGb3I9XCJsZXQgY2hpbGQgb2YgaXRlbS5jaGlsZHJlbjsgdHJhY2tCeTogdHJhY2tCeUlkXCJcbiAgICAgIGFjYUFjdGl2ZUxpbms9XCJhY3Rpb24tYnV0dG9uLS1hY3RpdmVcIlxuICAgICAgW2FjdGlvbl09XCJjaGlsZFwiXG4gICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cImNoaWxkLnRpdGxlIHwgdHJhbnNsYXRlXCJcbiAgICAgIFtpZF09XCJjaGlsZC5pZFwiXG4gICAgICBbYXR0ci50aXRsZV09XCJjaGlsZC5kZXNjcmlwdGlvbiB8IHRyYW5zbGF0ZVwiXG4gICAgICBbYXR0ci5kYXRhLWF1dG9tYXRpb24taWRdPVwiY2hpbGQuaWRcIlxuICAgICAgbWF0LW1lbnUtaXRlbVxuICAgICAgY2xhc3M9XCJhY3Rpb24tYnV0dG9uXCJcbiAgICA+XG4gICAgICA8YWRmLWljb24gKm5nSWY9XCJjaGlsZC5pY29uXCIgW3ZhbHVlXT1cImNoaWxkLmljb25cIj48L2FkZi1pY29uPlxuICAgICAgPHNwYW4gY2xhc3M9XCJhY3Rpb24tYnV0dG9uX19sYWJlbFwiPnt7IGNoaWxkLnRpdGxlIHwgdHJhbnNsYXRlIH19PC9zcGFuPlxuICAgIDwvYnV0dG9uPlxuICA8L21hdC1tZW51PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -0,0 +1,70 @@
1
+ /*!
2
+ * Copyright © 2005-2024 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 { Component, Input, ViewEncapsulation, ChangeDetectorRef } from '@angular/core';
25
+ import { CommonModule } from '@angular/common';
26
+ import { TranslateModule } from '@ngx-translate/core';
27
+ import { IconModule } from '@alfresco/adf-core';
28
+ import { MatButtonModule } from '@angular/material/button';
29
+ import { ActiveLinkDirective } from '../directives/active-link.directive';
30
+ import { ActionDirective } from '../directives/action.directive';
31
+ import { MatExpansionModule } from '@angular/material/expansion';
32
+ import { ExpansionPanelDirective } from '../directives/expansion-panel.directive';
33
+ import * as i0 from "@angular/core";
34
+ import * as i1 from "@angular/common";
35
+ import * as i2 from "@ngx-translate/core";
36
+ import * as i3 from "@alfresco/adf-core";
37
+ import * as i4 from "@angular/material/button";
38
+ import * as i5 from "@angular/material/expansion";
39
+ class ExpandMenuComponent {
40
+ cd;
41
+ item;
42
+ constructor(cd) {
43
+ this.cd = cd;
44
+ }
45
+ ngOnInit() {
46
+ this.cd.detectChanges();
47
+ }
48
+ trackById(_index, obj) {
49
+ return obj.id;
50
+ }
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ExpandMenuComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ExpandMenuComponent, isStandalone: true, selector: "app-expand-menu", inputs: { item: "item" }, host: { classAttribute: "app-expand-menu" }, ngImport: i0, template: "<ng-container *ngIf=\"!item.children\">\n <div class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"item\"\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\"></adf-icon>\n <span class=\"action-button__label\">{{ item.title | translate }}</span>\n </button>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <mat-expansion-panel\n class=\"aca-expansion-panel\"\n [expanded]=\"true\"\n [acaExpansionPanel]=\"item\"\n [@.disabled]=\"true\"\n >\n <mat-expansion-panel-header expandedHeight=\"32px\" collapsedHeight=\"32px\" role=\"group\" class=\"aca-expansion-panel-header\">\n <mat-panel-title class=\"aca-expansion-panel-header-title\">\n <div class=\"aca-expansion-panel-item\">\n <span\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n [attr.data-automation-id]=\"item.id\"\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\"></adf-icon>\n <span class=\"aca-action-button__label\">{{ item.title | translate }}</span>\n </span>\n </div>\n </mat-panel-title>\n </mat-expansion-panel-header>\n <div class=\"aca-expansion-panel-body\">\n <div *ngFor=\"let child of item.children; trackBy: trackById\" class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"child\"\n [attr.aria-label]=\"child.title | translate\"\n [id]=\"child.id\"\n [attr.data-automation-id]=\"child.id\"\n [attr.title]=\"child.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"child.icon\" [value]=\"child.icon\"></adf-icon>\n <span class=\"aca-action-button__label\">{{ child.title | translate }}</span>\n </button>\n </div>\n </div>\n </mat-expansion-panel>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i3.IconComponent, selector: "adf-icon", inputs: ["color", "fontSet", "value"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: ActiveLinkDirective, selector: "[acaActiveLink]", inputs: ["acaActiveLink"], exportAs: ["acaActiveLink"] }, { kind: "directive", type: ActionDirective, selector: "[action]", inputs: ["action"], exportAs: ["action"] }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "component", type: i5.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i5.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i5.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: ExpansionPanelDirective, selector: "[acaExpansionPanel]", inputs: ["acaExpansionPanel"], exportAs: ["acaExpansionPanel"] }], encapsulation: i0.ViewEncapsulation.None });
53
+ }
54
+ export { ExpandMenuComponent };
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ExpandMenuComponent, decorators: [{
56
+ type: Component,
57
+ args: [{ standalone: true, imports: [
58
+ CommonModule,
59
+ TranslateModule,
60
+ IconModule,
61
+ MatButtonModule,
62
+ ActiveLinkDirective,
63
+ ActionDirective,
64
+ MatExpansionModule,
65
+ ExpansionPanelDirective
66
+ ], selector: 'app-expand-menu', encapsulation: ViewEncapsulation.None, host: { class: 'app-expand-menu' }, template: "<ng-container *ngIf=\"!item.children\">\n <div class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"item\"\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.data-automation-id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\"></adf-icon>\n <span class=\"action-button__label\">{{ item.title | translate }}</span>\n </button>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"item.children && item.children.length\">\n <mat-expansion-panel\n class=\"aca-expansion-panel\"\n [expanded]=\"true\"\n [acaExpansionPanel]=\"item\"\n [@.disabled]=\"true\"\n >\n <mat-expansion-panel-header expandedHeight=\"32px\" collapsedHeight=\"32px\" role=\"group\" class=\"aca-expansion-panel-header\">\n <mat-panel-title class=\"aca-expansion-panel-header-title\">\n <div class=\"aca-expansion-panel-item\">\n <span\n [attr.aria-label]=\"item.title | translate\"\n [id]=\"item.id\"\n [attr.title]=\"item.description | translate\"\n [attr.data-automation-id]=\"item.id\"\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"item.icon\" [value]=\"item.icon\"></adf-icon>\n <span class=\"aca-action-button__label\">{{ item.title | translate }}</span>\n </span>\n </div>\n </mat-panel-title>\n </mat-expansion-panel-header>\n <div class=\"aca-expansion-panel-body\">\n <div *ngFor=\"let child of item.children; trackBy: trackById\" class=\"aca-expansion-panel-item\">\n <button\n acaActiveLink=\"aca-action-button--active\"\n [action]=\"child\"\n [attr.aria-label]=\"child.title | translate\"\n [id]=\"child.id\"\n [attr.data-automation-id]=\"child.id\"\n [attr.title]=\"child.description | translate\"\n mat-button\n class=\"aca-action-button aca-full-width\"\n >\n <adf-icon *ngIf=\"child.icon\" [value]=\"child.icon\"></adf-icon>\n <span class=\"aca-action-button__label\">{{ child.title | translate }}</span>\n </button>\n </div>\n </div>\n </mat-expansion-panel>\n</ng-container>\n" }]
67
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { item: [{
68
+ type: Input
69
+ }] } });
70
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNhLWNvbnRlbnQvc3JjL2xpYi9jb21wb25lbnRzL3NpZGVuYXYvY29tcG9uZW50cy9leHBhbmQtbWVudS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY2EtY29udGVudC9zcmMvbGliL2NvbXBvbmVudHMvc2lkZW5hdi9jb21wb25lbnRzL2V4cGFuZC1tZW51LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBc0JHO0FBRUgsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsaUJBQWlCLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0YsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ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AgICAgID5cbiAgICAgICAgICA8YWRmLWljb24gKm5nSWY9XCJjaGlsZC5pY29uXCIgW3ZhbHVlXT1cImNoaWxkLmljb25cIj48L2FkZi1pY29uPlxuICAgICAgICAgIDxzcGFuIGNsYXNzPVwiYWNhLWFjdGlvbi1idXR0b25fX2xhYmVsXCI+e3sgY2hpbGQudGl0bGUgfCB0cmFuc2xhdGUgfX08L3NwYW4+XG4gICAgICAgIDwvYnV0dG9uPlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvbWF0LWV4cGFuc2lvbi1wYW5lbD5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -0,0 +1,65 @@
1
+ /*!
2
+ * Copyright © 2005-2024 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 { Component, EventEmitter, inject, Output, ViewEncapsulation } from '@angular/core';
25
+ import { Subject } from 'rxjs';
26
+ import { AppExtensionService, AppSettingsService, ToolbarComponent } from '@alfresco/aca-shared';
27
+ import { takeUntil } from 'rxjs/operators';
28
+ import { CommonModule } from '@angular/common';
29
+ import { TranslateModule } from '@ngx-translate/core';
30
+ import { RouterModule } from '@angular/router';
31
+ import * as i0 from "@angular/core";
32
+ import * as i1 from "@ngx-translate/core";
33
+ import * as i2 from "@angular/router";
34
+ class SidenavHeaderComponent {
35
+ onDestroy$ = new Subject();
36
+ appSettings = inject(AppSettingsService);
37
+ appExtensions = inject(AppExtensionService);
38
+ appName = this.appSettings.appName;
39
+ logoUrl = this.appSettings.appLogoUrl;
40
+ landingPage = this.appSettings.landingPage;
41
+ actions = [];
42
+ toggleNavBar = new EventEmitter();
43
+ ngOnInit() {
44
+ this.appExtensions
45
+ .getHeaderActions()
46
+ .pipe(takeUntil(this.onDestroy$))
47
+ .subscribe((actions) => {
48
+ this.actions = actions;
49
+ });
50
+ }
51
+ ngOnDestroy() {
52
+ this.onDestroy$.next(true);
53
+ this.onDestroy$.complete();
54
+ }
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SidenavHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: SidenavHeaderComponent, isStandalone: true, selector: "app-sidenav-header", outputs: { toggleNavBar: "toggleNavBar" }, host: { classAttribute: "app-sidenav-header" }, ngImport: i0, template: "<div class=\"aca-sidenav-header\" data-automation-id=\"app-sidenav-header\">\n <div class=\"aca-sidenav-header-title\" data-automation-id=\"app-sidenav-header-title\">\n <div class=\"aca-sidenav-header-title-logo\"\n tabindex=0\n data-automation-id=\"app-sidenav-header-title-logo\"\n (click)=\"toggleNavBar.emit()\"\n (keypress)=\"toggleNavBar.emit()\">\n <img\n src=\"{{ logoUrl }}\"\n title=\"{{'APP.TOOLTIPS.COLLAPSE_NAVIGATION' | translate}}\"\n alt=\"{{ 'CORE.HEADER.LOGO_ARIA' | translate }}\" />\n </div>\n\n <div\n class=\"aca-sidenav-header-title-text\"\n data-automation-id=\"app-sidenav-header-title-text\"\n [routerLink]=\"landingPage\">\n {{ appName | translate }}\n </div>\n\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }], encapsulation: i0.ViewEncapsulation.None });
57
+ }
58
+ export { SidenavHeaderComponent };
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: SidenavHeaderComponent, decorators: [{
60
+ type: Component,
61
+ args: [{ standalone: true, imports: [CommonModule, TranslateModule, RouterModule, ToolbarComponent], selector: 'app-sidenav-header', encapsulation: ViewEncapsulation.None, host: { class: 'app-sidenav-header' }, template: "<div class=\"aca-sidenav-header\" data-automation-id=\"app-sidenav-header\">\n <div class=\"aca-sidenav-header-title\" data-automation-id=\"app-sidenav-header-title\">\n <div class=\"aca-sidenav-header-title-logo\"\n tabindex=0\n data-automation-id=\"app-sidenav-header-title-logo\"\n (click)=\"toggleNavBar.emit()\"\n (keypress)=\"toggleNavBar.emit()\">\n <img\n src=\"{{ logoUrl }}\"\n title=\"{{'APP.TOOLTIPS.COLLAPSE_NAVIGATION' | translate}}\"\n alt=\"{{ 'CORE.HEADER.LOGO_ARIA' | translate }}\" />\n </div>\n\n <div\n class=\"aca-sidenav-header-title-text\"\n data-automation-id=\"app-sidenav-header-title-text\"\n [routerLink]=\"landingPage\">\n {{ appName | translate }}\n </div>\n\n <aca-toolbar [items]=\"actions\"></aca-toolbar>\n </div>\n</div>\n" }]
62
+ }], propDecorators: { toggleNavBar: [{
63
+ type: Output
64
+ }] } });
65
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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