@alfresco/adf-core 7.0.0-alpha.8-13181043953 → 7.0.0-alpha.8-13181987261

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 (968) hide show
  1. package/api/index.d.ts +1 -1
  2. package/api/lib/alfresco-api/alfresco-api.param-encoder.d.ts +1 -1
  3. package/api/lib/alfresco-api/alfresco-api.response-error.d.ts +1 -1
  4. package/api/lib/alfresco-api/alfresco-api.utils.d.ts +1 -1
  5. package/api/lib/interfaces.d.ts +1 -1
  6. package/api/lib/types.d.ts +1 -1
  7. package/auth/authentication-interceptor/authentication.interceptor.d.ts +1 -1
  8. package/auth/authentication.d.ts +1 -1
  9. package/auth/index.d.ts +1 -1
  10. package/breadcrumbs/components/breadcrumb/breadcrumb.component.d.ts +1 -1
  11. package/breadcrumbs/components/breadcrumb-item/breadcrumb-item.component.d.ts +1 -1
  12. package/breadcrumbs/directives/breadcrumb-focus.directive.d.ts +1 -1
  13. package/breadcrumbs/index.d.ts +1 -1
  14. package/bundles/assets/adf-core/i18n/en.json +1 -0
  15. package/esm2022/api/index.mjs +2 -2
  16. package/esm2022/api/lib/adf-http-client.service.mjs +6 -6
  17. package/esm2022/api/lib/alfresco-api/alfresco-api.param-encoder.mjs +2 -2
  18. package/esm2022/api/lib/alfresco-api/alfresco-api.response-error.mjs +2 -2
  19. package/esm2022/api/lib/alfresco-api/alfresco-api.utils.mjs +3 -3
  20. package/esm2022/api/lib/interfaces.mjs +2 -2
  21. package/esm2022/api/lib/types.mjs +3 -2
  22. package/esm2022/auth/authentication-interceptor/authentication.interceptor.mjs +8 -7
  23. package/esm2022/auth/authentication.mjs +2 -2
  24. package/esm2022/auth/index.mjs +2 -2
  25. package/esm2022/breadcrumbs/components/breadcrumb/breadcrumb.component.mjs +7 -7
  26. package/esm2022/breadcrumbs/components/breadcrumb-item/breadcrumb-item.component.mjs +7 -7
  27. package/esm2022/breadcrumbs/directives/breadcrumb-focus.directive.mjs +6 -6
  28. package/esm2022/breadcrumbs/index.mjs +2 -2
  29. package/esm2022/feature-flags/index.mjs +2 -2
  30. package/esm2022/feature-flags/lib/components/feature-flags-wrapper.mjs +5 -5
  31. package/esm2022/feature-flags/lib/components/feature-override-indicator.component.mjs +7 -7
  32. package/esm2022/feature-flags/lib/components/flags/flags.component.mjs +7 -7
  33. package/esm2022/feature-flags/lib/directives/features.directive.mjs +7 -7
  34. package/esm2022/feature-flags/lib/directives/not-features.directive.mjs +7 -7
  35. package/esm2022/feature-flags/lib/guards/is-feature-off.guard.mjs +7 -7
  36. package/esm2022/feature-flags/lib/guards/is-feature-on.guard.mjs +7 -7
  37. package/esm2022/feature-flags/lib/guards/is-flags-override-on.guard.mjs +7 -7
  38. package/esm2022/feature-flags/lib/interfaces/features.interface.mjs +2 -2
  39. package/esm2022/feature-flags/lib/mocks/features-service-mock.factory.mjs +2 -2
  40. package/esm2022/feature-flags/lib/providers/debug-feature-flags.provider.mjs +2 -2
  41. package/esm2022/feature-flags/lib/providers/dummy-feature-flags.provider.mjs +2 -2
  42. package/esm2022/feature-flags/lib/services/debug-features.service.mjs +7 -7
  43. package/esm2022/feature-flags/lib/services/dummy-features.service.mjs +5 -5
  44. package/esm2022/feature-flags/lib/services/flagset.parser.mjs +2 -2
  45. package/esm2022/feature-flags/lib/services/qa-features.helper.mjs +7 -7
  46. package/esm2022/feature-flags/lib/services/storage-features.service.mjs +7 -7
  47. package/esm2022/lib/about/about-extension-list/about-extension-list.component.mjs +5 -5
  48. package/esm2022/lib/about/about-license-list/about-license-list.component.mjs +5 -5
  49. package/esm2022/lib/about/about-module-list/module-list.component.mjs +5 -5
  50. package/esm2022/lib/about/about-package/package-list.component.mjs +5 -5
  51. package/esm2022/lib/about/about-panel.directive.mjs +5 -5
  52. package/esm2022/lib/about/about-repository-info/about-repository-info.component.mjs +5 -5
  53. package/esm2022/lib/about/about-repository-info/repository-info.interface.mjs +2 -2
  54. package/esm2022/lib/about/about-server-settings/about-server-settings.component.mjs +6 -6
  55. package/esm2022/lib/about/about-status-list/about-status-list.component.mjs +5 -5
  56. package/esm2022/lib/about/about.component.mjs +5 -5
  57. package/esm2022/lib/about/about.module.mjs +6 -6
  58. package/esm2022/lib/about/index.mjs +2 -2
  59. package/esm2022/lib/about/interfaces.mjs +2 -2
  60. package/esm2022/lib/about/public-api.mjs +2 -2
  61. package/esm2022/lib/app-config/app-config-storage-prefix.factory.mjs +10 -8
  62. package/esm2022/lib/app-config/app-config.loader.mjs +3 -2
  63. package/esm2022/lib/app-config/app-config.module.mjs +6 -6
  64. package/esm2022/lib/app-config/app-config.pipe.mjs +6 -6
  65. package/esm2022/lib/app-config/app-config.service.mjs +6 -6
  66. package/esm2022/lib/app-config/debug-app-config.service.mjs +6 -6
  67. package/esm2022/lib/app-config/index.mjs +2 -2
  68. package/esm2022/lib/app-config/public-api.mjs +2 -2
  69. package/esm2022/lib/auth/authentication-interceptor/auth-bearer.interceptor.mjs +12 -9
  70. package/esm2022/lib/auth/basic-auth/basic-alfresco-auth.service.mjs +6 -6
  71. package/esm2022/lib/auth/basic-auth/content-auth.mjs +7 -7
  72. package/esm2022/lib/auth/basic-auth/process-auth.mjs +7 -8
  73. package/esm2022/lib/auth/guard/auth-guard-bpm.service.mjs +2 -2
  74. package/esm2022/lib/auth/guard/auth-guard-ecm.service.mjs +2 -2
  75. package/esm2022/lib/auth/guard/auth-guard-sso-role.service.mjs +3 -3
  76. package/esm2022/lib/auth/guard/auth-guard.mjs +2 -2
  77. package/esm2022/lib/auth/guard/auth-guard.service.mjs +6 -6
  78. package/esm2022/lib/auth/index.mjs +2 -2
  79. package/esm2022/lib/auth/interfaces/authentication-service.interface.mjs +2 -2
  80. package/esm2022/lib/auth/interfaces/authentication.interface.mjs +2 -2
  81. package/esm2022/lib/auth/interfaces/identity-group.interface.mjs +2 -2
  82. package/esm2022/lib/auth/interfaces/identity-user.service.interface.mjs +2 -2
  83. package/esm2022/lib/auth/interfaces/openid-configuration.interface.mjs +2 -2
  84. package/esm2022/lib/auth/models/application-access.model.mjs +2 -2
  85. package/esm2022/lib/auth/models/identity-group.model.mjs +2 -2
  86. package/esm2022/lib/auth/models/identity-role.model.mjs +2 -2
  87. package/esm2022/lib/auth/models/identity-user.model.mjs +2 -2
  88. package/esm2022/lib/auth/models/oauth-config.model.mjs +2 -2
  89. package/esm2022/lib/auth/models/redirection.model.mjs +2 -2
  90. package/esm2022/lib/auth/models/user-access.model.mjs +2 -2
  91. package/esm2022/lib/auth/oidc/auth-config.mjs +2 -2
  92. package/esm2022/lib/auth/oidc/auth-config.service.mjs +7 -7
  93. package/esm2022/lib/auth/oidc/auth-routing.module.mjs +6 -6
  94. package/esm2022/lib/auth/oidc/auth.module.mjs +6 -6
  95. package/esm2022/lib/auth/oidc/auth.service.mjs +2 -2
  96. package/esm2022/lib/auth/oidc/oidc-auth.guard.mjs +2 -2
  97. package/esm2022/lib/auth/oidc/oidc-authentication.service.mjs +6 -6
  98. package/esm2022/lib/auth/oidc/public-api.mjs +2 -2
  99. package/esm2022/lib/auth/oidc/redirect-auth.service.mjs +7 -7
  100. package/esm2022/lib/auth/oidc/retry-login.service.mjs +5 -5
  101. package/esm2022/lib/auth/oidc/token.interceptor.mjs +5 -5
  102. package/esm2022/lib/auth/oidc/view/authentication-confirmation/authentication-confirmation.component.mjs +6 -6
  103. package/esm2022/lib/auth/public-api.mjs +2 -2
  104. package/esm2022/lib/auth/services/authentication.service.mjs +6 -6
  105. package/esm2022/lib/auth/services/base-authentication.service.mjs +2 -2
  106. package/esm2022/lib/auth/services/identity-group.service.mjs +7 -7
  107. package/esm2022/lib/auth/services/identity-role.service.mjs +6 -6
  108. package/esm2022/lib/auth/services/identity-user.service.mjs +9 -7
  109. package/esm2022/lib/auth/services/jwt-helper.service.mjs +5 -5
  110. package/esm2022/lib/auth/services/oauth2.service.mjs +6 -6
  111. package/esm2022/lib/auth/services/time-sync.service.mjs +9 -9
  112. package/esm2022/lib/auth/services/user-access.service.mjs +8 -10
  113. package/esm2022/lib/avatar/avatar.component.mjs +5 -5
  114. package/esm2022/lib/blank-page/blank-page.component.mjs +5 -5
  115. package/esm2022/lib/blank-page/blank-page.module.mjs +6 -6
  116. package/esm2022/lib/blank-page/index.mjs +2 -2
  117. package/esm2022/lib/blank-page/public-api.mjs +2 -2
  118. package/esm2022/lib/button/button.component.mjs +6 -6
  119. package/esm2022/lib/card-view/card-view.module.mjs +6 -6
  120. package/esm2022/lib/card-view/components/base-card-view.mjs +6 -6
  121. package/esm2022/lib/card-view/components/card-view/card-view.component.mjs +5 -5
  122. package/esm2022/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.mjs +5 -5
  123. package/esm2022/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.mjs +5 -5
  124. package/esm2022/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.mjs +7 -7
  125. package/esm2022/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.mjs +7 -7
  126. package/esm2022/lib/card-view/components/card-view-keyvaluepairsitem/card-view-keyvaluepairsitem.component.mjs +5 -5
  127. package/esm2022/lib/card-view/components/card-view-mapitem/card-view-mapitem.component.mjs +5 -5
  128. package/esm2022/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.mjs +5 -5
  129. package/esm2022/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.mjs +7 -7
  130. package/esm2022/lib/card-view/components/card-view-textitem/card-view-textitem.component.mjs +6 -6
  131. package/esm2022/lib/card-view/components/card-view.components.mjs +2 -2
  132. package/esm2022/lib/card-view/index.mjs +2 -2
  133. package/esm2022/lib/card-view/interfaces/base-card-view-update.interface.mjs +2 -2
  134. package/esm2022/lib/card-view/interfaces/card-view-arrayitem-properties.interface.mjs +2 -2
  135. package/esm2022/lib/card-view/interfaces/card-view-boolitem-properties.interface.mjs +2 -2
  136. package/esm2022/lib/card-view/interfaces/card-view-dateitem-properties.interface.mjs +2 -2
  137. package/esm2022/lib/card-view/interfaces/card-view-item-properties.interface.mjs +2 -2
  138. package/esm2022/lib/card-view/interfaces/card-view-item-validator.interface.mjs +2 -2
  139. package/esm2022/lib/card-view/interfaces/card-view-item.interface.mjs +2 -2
  140. package/esm2022/lib/card-view/interfaces/card-view-keyvaluepairsitem-properties.interface.mjs +2 -2
  141. package/esm2022/lib/card-view/interfaces/card-view-selectitem-properties.interface.mjs +2 -2
  142. package/esm2022/lib/card-view/interfaces/card-view-textitem-pipe-property.interface.mjs +2 -2
  143. package/esm2022/lib/card-view/interfaces/card-view-textitem-properties.interface.mjs +2 -2
  144. package/esm2022/lib/card-view/interfaces/card-view.interfaces.mjs +2 -2
  145. package/esm2022/lib/card-view/interfaces/click-notification.interface.mjs +2 -2
  146. package/esm2022/lib/card-view/interfaces/update-notification.interface.mjs +2 -2
  147. package/esm2022/lib/card-view/models/card-view-arrayitem.model.mjs +2 -2
  148. package/esm2022/lib/card-view/models/card-view-baseitem.model.mjs +2 -2
  149. package/esm2022/lib/card-view/models/card-view-boolitem.model.mjs +2 -2
  150. package/esm2022/lib/card-view/models/card-view-dateitem.model.mjs +2 -2
  151. package/esm2022/lib/card-view/models/card-view-datetimeitem.model.mjs +2 -2
  152. package/esm2022/lib/card-view/models/card-view-floatitem.model.mjs +2 -2
  153. package/esm2022/lib/card-view/models/card-view-intitem.model.mjs +2 -2
  154. package/esm2022/lib/card-view/models/card-view-keyvaluepairs.model.mjs +2 -2
  155. package/esm2022/lib/card-view/models/card-view-longitem.model.mjs +2 -2
  156. package/esm2022/lib/card-view/models/card-view-mapitem.model.mjs +2 -2
  157. package/esm2022/lib/card-view/models/card-view-selectitem.model.mjs +2 -2
  158. package/esm2022/lib/card-view/models/card-view-textitem.model.mjs +2 -2
  159. package/esm2022/lib/card-view/models/card-view.models.mjs +2 -2
  160. package/esm2022/lib/card-view/public-api.mjs +2 -2
  161. package/esm2022/lib/card-view/services/card-item-types.service.mjs +5 -5
  162. package/esm2022/lib/card-view/services/card-view-update.service.mjs +5 -5
  163. package/esm2022/lib/card-view/services/card-view.services.mjs +2 -2
  164. package/esm2022/lib/card-view/validators/card-view-item-float.validator.mjs +2 -2
  165. package/esm2022/lib/card-view/validators/card-view-item-int.validator.mjs +3 -3
  166. package/esm2022/lib/card-view/validators/card-view-item-length.validator.mjs +2 -2
  167. package/esm2022/lib/card-view/validators/card-view-item-long.validator.mjs +2 -2
  168. package/esm2022/lib/card-view/validators/card-view-item-match.validator.mjs +2 -2
  169. package/esm2022/lib/card-view/validators/card-view-item-minmax.validator.mjs +2 -2
  170. package/esm2022/lib/card-view/validators/card-view-item-only-positive-int.validator.mjs +5 -3
  171. package/esm2022/lib/card-view/validators/card-view-item-only-positive-long.validator.mjs +2 -2
  172. package/esm2022/lib/card-view/validators/card-view.validators.mjs +2 -2
  173. package/esm2022/lib/card-view/validators/validators.map.mjs +2 -2
  174. package/esm2022/lib/clipboard/clipboard.directive.mjs +9 -9
  175. package/esm2022/lib/clipboard/clipboard.module.mjs +6 -6
  176. package/esm2022/lib/clipboard/clipboard.service.mjs +7 -7
  177. package/esm2022/lib/clipboard/index.mjs +2 -2
  178. package/esm2022/lib/clipboard/public-api.mjs +2 -2
  179. package/esm2022/lib/comments/comment-list/comment-list.component.mjs +5 -5
  180. package/esm2022/lib/comments/comment-list/comment-list.module.mjs +6 -6
  181. package/esm2022/lib/comments/comment-list/index.mjs +2 -2
  182. package/esm2022/lib/comments/comment-list/public-api.mjs +2 -2
  183. package/esm2022/lib/comments/comments.component.mjs +4 -4
  184. package/esm2022/lib/comments/comments.module.mjs +6 -6
  185. package/esm2022/lib/comments/index.mjs +2 -2
  186. package/esm2022/lib/comments/interfaces/comments-service.interface.mjs +2 -2
  187. package/esm2022/lib/comments/interfaces/comments.token.mjs +2 -2
  188. package/esm2022/lib/comments/public-api.mjs +2 -2
  189. package/esm2022/lib/common/index.mjs +2 -2
  190. package/esm2022/lib/common/interface/search-component.interface.mjs +2 -2
  191. package/esm2022/lib/common/mock/app-config.service.mock.mjs +6 -6
  192. package/esm2022/lib/common/models/default-languages.model.mjs +2 -2
  193. package/esm2022/lib/common/models/log-levels.model.mjs +2 -2
  194. package/esm2022/lib/common/models/user-info-mode.enum.mjs +2 -2
  195. package/esm2022/lib/common/services/cookie.service.mjs +12 -9
  196. package/esm2022/lib/common/services/download.service.mjs +8 -7
  197. package/esm2022/lib/common/services/dynamic-component-mapper.service.mjs +2 -2
  198. package/esm2022/lib/common/services/highlight-transform.service.mjs +6 -9
  199. package/esm2022/lib/common/services/language-item.interface.mjs +2 -2
  200. package/esm2022/lib/common/services/log.service.mjs +6 -6
  201. package/esm2022/lib/common/services/page-title.service.mjs +6 -6
  202. package/esm2022/lib/common/services/sort-by-category.service.mjs +5 -5
  203. package/esm2022/lib/common/services/storage.service.mjs +6 -6
  204. package/esm2022/lib/common/services/thumbnail.service.mjs +7 -7
  205. package/esm2022/lib/common/services/url.service.mjs +6 -6
  206. package/esm2022/lib/common/services/user-preferences.service.mjs +6 -6
  207. package/esm2022/lib/common/utils/date-fns-adapter.mjs +7 -7
  208. package/esm2022/lib/common/utils/date-fns-utils.mjs +2 -2
  209. package/esm2022/lib/common/utils/datetime-fns-adapter.mjs +17 -17
  210. package/esm2022/lib/common/utils/file-utils.mjs +2 -2
  211. package/esm2022/lib/common/utils/index.mjs +2 -2
  212. package/esm2022/lib/common/utils/moment-date-adapter.mjs +6 -6
  213. package/esm2022/lib/common/utils/moment-date-formats.model.mjs +2 -2
  214. package/esm2022/lib/common/utils/object-utils.mjs +10 -9
  215. package/esm2022/lib/common/utils/public-api.mjs +2 -2
  216. package/esm2022/lib/common/utils/string-utils.mjs +3 -3
  217. package/esm2022/lib/context-menu/animations.mjs +2 -2
  218. package/esm2022/lib/context-menu/context-menu-list.component.mjs +7 -7
  219. package/esm2022/lib/context-menu/context-menu-overlay.mjs +2 -2
  220. package/esm2022/lib/context-menu/context-menu-overlay.service.mjs +10 -11
  221. package/esm2022/lib/context-menu/context-menu.directive.mjs +6 -6
  222. package/esm2022/lib/context-menu/context-menu.module.mjs +6 -6
  223. package/esm2022/lib/context-menu/context-menu.tokens.mjs +2 -2
  224. package/esm2022/lib/context-menu/index.mjs +2 -2
  225. package/esm2022/lib/context-menu/interfaces.mjs +2 -2
  226. package/esm2022/lib/context-menu/public-api.mjs +2 -2
  227. package/esm2022/lib/core.module.mjs +7 -7
  228. package/esm2022/lib/datatable/components/amount-cell/amount-cell.component.mjs +5 -5
  229. package/esm2022/lib/datatable/components/boolean-cell/boolean-cell.component.mjs +5 -5
  230. package/esm2022/lib/datatable/components/columns-selector/columns-search-filter.pipe.mjs +5 -5
  231. package/esm2022/lib/datatable/components/columns-selector/columns-selector.component.mjs +5 -5
  232. package/esm2022/lib/datatable/components/data-cell.event.mjs +2 -2
  233. package/esm2022/lib/datatable/components/data-row-action.event.mjs +2 -2
  234. package/esm2022/lib/datatable/components/datatable/datatable.component.mjs +7 -7
  235. package/esm2022/lib/datatable/components/datatable-cell/datatable-cell.component.mjs +5 -5
  236. package/esm2022/lib/datatable/components/datatable-row/datatable-row.component.mjs +7 -7
  237. package/esm2022/lib/datatable/components/date-cell/date-cell.component.mjs +5 -5
  238. package/esm2022/lib/datatable/components/empty-list/empty-list.component.mjs +15 -15
  239. package/esm2022/lib/datatable/components/filesize-cell/filesize-cell.component.mjs +5 -5
  240. package/esm2022/lib/datatable/components/icon-cell/icon-cell.component.mjs +6 -6
  241. package/esm2022/lib/datatable/components/json-cell/json-cell.component.mjs +7 -7
  242. package/esm2022/lib/datatable/components/location-cell/location-cell.component.mjs +6 -6
  243. package/esm2022/lib/datatable/components/mocks/datatable.mock.mjs +3 -3
  244. package/esm2022/lib/datatable/components/number-cell/number-cell.component.mjs +5 -5
  245. package/esm2022/lib/datatable/data/data-column.model.mjs +2 -2
  246. package/esm2022/lib/datatable/data/data-row-event.model.mjs +2 -2
  247. package/esm2022/lib/datatable/data/data-row-update.model.mjs +2 -2
  248. package/esm2022/lib/datatable/data/data-row.model.mjs +2 -2
  249. package/esm2022/lib/datatable/data/data-sorting.model.mjs +2 -2
  250. package/esm2022/lib/datatable/data/data-table.schema.mjs +6 -6
  251. package/esm2022/lib/datatable/data/datatable-adapter.mjs +2 -2
  252. package/esm2022/lib/datatable/data/object-datacolumn.model.mjs +2 -2
  253. package/esm2022/lib/datatable/data/object-datarow.model.mjs +2 -2
  254. package/esm2022/lib/datatable/data/object-datatable-adapter.mjs +2 -2
  255. package/esm2022/lib/datatable/data-column/data-column-header.component.mjs +6 -6
  256. package/esm2022/lib/datatable/data-column/data-column-list.component.mjs +5 -5
  257. package/esm2022/lib/datatable/data-column/data-column.component.mjs +5 -5
  258. package/esm2022/lib/datatable/data-column/index.mjs +2 -2
  259. package/esm2022/lib/datatable/data-column/public-api.mjs +2 -2
  260. package/esm2022/lib/datatable/datatable.module.mjs +6 -6
  261. package/esm2022/lib/datatable/directives/custom-empty-content-template.directive.mjs +5 -5
  262. package/esm2022/lib/datatable/directives/custom-loading-template.directive.mjs +5 -5
  263. package/esm2022/lib/datatable/directives/custom-no-permission-template.directive.mjs +5 -5
  264. package/esm2022/lib/datatable/directives/drop-zone.directive.mjs +6 -6
  265. package/esm2022/lib/datatable/directives/header-filter-template.directive.mjs +6 -6
  266. package/esm2022/lib/datatable/directives/loading-template.directive.mjs +6 -6
  267. package/esm2022/lib/datatable/directives/main-data-table-action-template.directive.mjs +6 -6
  268. package/esm2022/lib/datatable/directives/no-content-template.directive.mjs +6 -6
  269. package/esm2022/lib/datatable/directives/no-permission-template.directive.mjs +6 -6
  270. package/esm2022/lib/datatable/directives/resizable/resizable.directive.mjs +6 -6
  271. package/esm2022/lib/datatable/directives/resizable/resize-handle.directive.mjs +6 -6
  272. package/esm2022/lib/datatable/directives/resizable/types.mjs +2 -2
  273. package/esm2022/lib/datatable/index.mjs +2 -2
  274. package/esm2022/lib/datatable/public-api.mjs +2 -2
  275. package/esm2022/lib/datatable/services/datatable.service.mjs +5 -5
  276. package/esm2022/lib/dialogs/confirm-dialog/confirm.dialog.mjs +7 -7
  277. package/esm2022/lib/dialogs/confirm-dialog/confirm.dialog.module.mjs +6 -6
  278. package/esm2022/lib/dialogs/dialog/dialog-data.interface.mjs +2 -2
  279. package/esm2022/lib/dialogs/dialog/dialog.component.mjs +7 -7
  280. package/esm2022/lib/dialogs/dialog/dialog.model.mjs +2 -2
  281. package/esm2022/lib/dialogs/dialog/index.mjs +2 -2
  282. package/esm2022/lib/dialogs/edit-json/edit-json.dialog.mjs +7 -7
  283. package/esm2022/lib/dialogs/edit-json/edit-json.dialog.module.mjs +24 -7
  284. package/esm2022/lib/dialogs/index.mjs +2 -2
  285. package/esm2022/lib/dialogs/public-api.mjs +2 -2
  286. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +7 -7
  287. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.model.mjs +2 -2
  288. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +6 -6
  289. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.mjs +6 -6
  290. package/esm2022/lib/directives/directive.module.mjs +6 -6
  291. package/esm2022/lib/directives/highlight.directive.mjs +6 -6
  292. package/esm2022/lib/directives/index.mjs +2 -2
  293. package/esm2022/lib/directives/infinite-select-scroll.directive.mjs +7 -7
  294. package/esm2022/lib/directives/logout.directive.mjs +6 -6
  295. package/esm2022/lib/directives/public-api.mjs +2 -2
  296. package/esm2022/lib/directives/tooltip-card/tooltip-card.component.mjs +6 -6
  297. package/esm2022/lib/directives/tooltip-card/tooltip-card.directive.mjs +6 -6
  298. package/esm2022/lib/directives/upload.directive.mjs +6 -6
  299. package/esm2022/lib/dynamic-chip-list/chip.mjs +2 -2
  300. package/esm2022/lib/dynamic-chip-list/dynamic-chip-list.component.mjs +6 -6
  301. package/esm2022/lib/dynamic-chip-list/dynamic-chip-list.module.mjs +6 -6
  302. package/esm2022/lib/dynamic-chip-list/index.mjs +2 -2
  303. package/esm2022/lib/dynamic-chip-list/public-api.mjs +2 -2
  304. package/esm2022/lib/events/base-ui.event.mjs +2 -2
  305. package/esm2022/lib/events/base.event.mjs +2 -2
  306. package/esm2022/lib/events/index.mjs +2 -2
  307. package/esm2022/lib/events/public-api.mjs +2 -2
  308. package/esm2022/lib/form/components/form-base.component.mjs +5 -5
  309. package/esm2022/lib/form/components/form-custom-button.directive.mjs +5 -5
  310. package/esm2022/lib/form/components/form-field/form-field.component.mjs +5 -5
  311. package/esm2022/lib/form/components/form-renderer.component.mjs +9 -9
  312. package/esm2022/lib/form/components/inplace-form-input/inplace-form-input.component.mjs +6 -6
  313. package/esm2022/lib/form/components/middlewares/decimal-middleware.service.mjs +5 -5
  314. package/esm2022/lib/form/components/middlewares/middleware.mjs +2 -2
  315. package/esm2022/lib/form/components/widgets/amount/amount.widget.mjs +7 -7
  316. package/esm2022/lib/form/components/widgets/base-viewer/base-viewer.widget.mjs +6 -6
  317. package/esm2022/lib/form/components/widgets/checkbox/checkbox.widget.mjs +6 -6
  318. package/esm2022/lib/form/components/widgets/core/container-column.model.mjs +2 -2
  319. package/esm2022/lib/form/components/widgets/core/container.model.mjs +2 -2
  320. package/esm2022/lib/form/components/widgets/core/content-link.model.mjs +2 -2
  321. package/esm2022/lib/form/components/widgets/core/displayable-cm-properties.model.mjs +2 -2
  322. package/esm2022/lib/form/components/widgets/core/error-message.model.mjs +2 -2
  323. package/esm2022/lib/form/components/widgets/core/external-content-link.mjs +2 -2
  324. package/esm2022/lib/form/components/widgets/core/external-content.mjs +2 -2
  325. package/esm2022/lib/form/components/widgets/core/form-field-file-source.mjs +2 -2
  326. package/esm2022/lib/form/components/widgets/core/form-field-metadata.mjs +2 -2
  327. package/esm2022/lib/form/components/widgets/core/form-field-option.mjs +2 -2
  328. package/esm2022/lib/form/components/widgets/core/form-field-rule.mjs +2 -2
  329. package/esm2022/lib/form/components/widgets/core/form-field-selected-folder.mjs +2 -2
  330. package/esm2022/lib/form/components/widgets/core/form-field-templates.mjs +2 -2
  331. package/esm2022/lib/form/components/widgets/core/form-field-types.mjs +2 -2
  332. package/esm2022/lib/form/components/widgets/core/form-field-utils.mjs +2 -2
  333. package/esm2022/lib/form/components/widgets/core/form-field-validator.mjs +2 -2
  334. package/esm2022/lib/form/components/widgets/core/form-field-variable-options.mjs +2 -2
  335. package/esm2022/lib/form/components/widgets/core/form-field.model.mjs +3 -3
  336. package/esm2022/lib/form/components/widgets/core/form-outcome-event.model.mjs +2 -2
  337. package/esm2022/lib/form/components/widgets/core/form-outcome.model.mjs +2 -2
  338. package/esm2022/lib/form/components/widgets/core/form-values.mjs +2 -2
  339. package/esm2022/lib/form/components/widgets/core/form-variable.model.mjs +2 -2
  340. package/esm2022/lib/form/components/widgets/core/form-widget.model.mjs +2 -2
  341. package/esm2022/lib/form/components/widgets/core/form.model.mjs +2 -2
  342. package/esm2022/lib/form/components/widgets/core/group.model.mjs +2 -2
  343. package/esm2022/lib/form/components/widgets/core/index.mjs +2 -2
  344. package/esm2022/lib/form/components/widgets/core/predefined-theme.mjs +2 -2
  345. package/esm2022/lib/form/components/widgets/core/process-form-model.interface.mjs +2 -2
  346. package/esm2022/lib/form/components/widgets/core/process-variable.model.mjs +2 -2
  347. package/esm2022/lib/form/components/widgets/core/tab.model.mjs +2 -2
  348. package/esm2022/lib/form/components/widgets/core/theme.model.mjs +2 -2
  349. package/esm2022/lib/form/components/widgets/core/upload-widget-content-link.model.mjs +2 -2
  350. package/esm2022/lib/form/components/widgets/core/widget-schema.model.mjs +2 -2
  351. package/esm2022/lib/form/components/widgets/date/date.widget.mjs +5 -5
  352. package/esm2022/lib/form/components/widgets/date-time/date-time.widget.mjs +5 -5
  353. package/esm2022/lib/form/components/widgets/decimal/decimal.component.mjs +6 -6
  354. package/esm2022/lib/form/components/widgets/display-text/display-text.schema.mjs +2 -2
  355. package/esm2022/lib/form/components/widgets/display-text/display-text.widget.mjs +6 -6
  356. package/esm2022/lib/form/components/widgets/display-text/index.mjs +2 -2
  357. package/esm2022/lib/form/components/widgets/error/error.component.mjs +6 -6
  358. package/esm2022/lib/form/components/widgets/header/header.schema.mjs +2 -2
  359. package/esm2022/lib/form/components/widgets/header/header.widget.mjs +5 -5
  360. package/esm2022/lib/form/components/widgets/header/index.mjs +2 -2
  361. package/esm2022/lib/form/components/widgets/hyperlink/hyperlink.widget.mjs +6 -6
  362. package/esm2022/lib/form/components/widgets/index.mjs +2 -2
  363. package/esm2022/lib/form/components/widgets/json/json.widget.mjs +6 -6
  364. package/esm2022/lib/form/components/widgets/multiline-text/multiline-text.widget.mjs +6 -6
  365. package/esm2022/lib/form/components/widgets/number/number.widget.mjs +6 -6
  366. package/esm2022/lib/form/components/widgets/reactive-widget.interface.mjs +2 -2
  367. package/esm2022/lib/form/components/widgets/text/text-mask.component.mjs +8 -8
  368. package/esm2022/lib/form/components/widgets/text/text.widget.mjs +6 -6
  369. package/esm2022/lib/form/components/widgets/unknown/unknown.widget.mjs +6 -6
  370. package/esm2022/lib/form/components/widgets/widget.component.mjs +6 -6
  371. package/esm2022/lib/form/events/form-error.event.mjs +2 -2
  372. package/esm2022/lib/form/events/form-field.event.mjs +2 -2
  373. package/esm2022/lib/form/events/form-rules.event.mjs +2 -2
  374. package/esm2022/lib/form/events/form-spinner.event.mjs +2 -2
  375. package/esm2022/lib/form/events/form.event.mjs +2 -2
  376. package/esm2022/lib/form/events/index.mjs +2 -2
  377. package/esm2022/lib/form/events/validate-form-field.event.mjs +2 -2
  378. package/esm2022/lib/form/events/validate-form.event.mjs +2 -2
  379. package/esm2022/lib/form/form-base.module.mjs +6 -6
  380. package/esm2022/lib/form/index.mjs +2 -2
  381. package/esm2022/lib/form/models/form-rules.model.mjs +2 -2
  382. package/esm2022/lib/form/models/task-process-variable.model.mjs +2 -2
  383. package/esm2022/lib/form/models/widget-visibility.model.mjs +2 -2
  384. package/esm2022/lib/form/pipes/field-style.pipe.mjs +5 -5
  385. package/esm2022/lib/form/pipes/index.mjs +2 -2
  386. package/esm2022/lib/form/public-api.mjs +2 -2
  387. package/esm2022/lib/form/services/form-rendering.service.mjs +5 -5
  388. package/esm2022/lib/form/services/form-validation-service.interface.mjs +2 -2
  389. package/esm2022/lib/form/services/form.service.mjs +6 -6
  390. package/esm2022/lib/form/services/widget-visibility.service.mjs +5 -5
  391. package/esm2022/lib/header/header.component.mjs +6 -6
  392. package/esm2022/lib/header/index.mjs +2 -2
  393. package/esm2022/lib/header/navbar/navbar-item.component.mjs +5 -5
  394. package/esm2022/lib/header/navbar/navbar.component.mjs +6 -6
  395. package/esm2022/lib/header/public-api.mjs +2 -2
  396. package/esm2022/lib/icon/icon.component.mjs +5 -5
  397. package/esm2022/lib/icon/icon.module.mjs +6 -6
  398. package/esm2022/lib/icon/index.mjs +2 -2
  399. package/esm2022/lib/icon/public-api.mjs +2 -2
  400. package/esm2022/lib/identity-user-info/identity-user-info.component.mjs +5 -5
  401. package/esm2022/lib/identity-user-info/identity-user-info.module.mjs +6 -6
  402. package/esm2022/lib/identity-user-info/index.mjs +2 -2
  403. package/esm2022/lib/identity-user-info/public-api.mjs +2 -2
  404. package/esm2022/lib/info-drawer/index.mjs +2 -2
  405. package/esm2022/lib/info-drawer/info-drawer-layout.component.mjs +15 -15
  406. package/esm2022/lib/info-drawer/info-drawer.component.mjs +10 -10
  407. package/esm2022/lib/info-drawer/info-drawer.module.mjs +6 -6
  408. package/esm2022/lib/info-drawer/public-api.mjs +2 -2
  409. package/esm2022/lib/interface/index.mjs +2 -2
  410. package/esm2022/lib/interface/injection.tokens.mjs +2 -2
  411. package/esm2022/lib/interface/public-api.mjs +2 -2
  412. package/esm2022/lib/language-menu/index.mjs +2 -2
  413. package/esm2022/lib/language-menu/language-menu.component.mjs +7 -7
  414. package/esm2022/lib/language-menu/language-menu.module.mjs +6 -6
  415. package/esm2022/lib/language-menu/language-picker.component.mjs +6 -6
  416. package/esm2022/lib/language-menu/public-api.mjs +2 -2
  417. package/esm2022/lib/language-menu/service/language.service.interface.mjs +2 -2
  418. package/esm2022/lib/language-menu/service/language.service.mjs +5 -5
  419. package/esm2022/lib/layout/components/header/header.component.mjs +7 -7
  420. package/esm2022/lib/layout/components/layout-container/layout-container.component.mjs +7 -7
  421. package/esm2022/lib/layout/components/sidebar-action/sidebar-action-menu.component.mjs +15 -15
  422. package/esm2022/lib/layout/components/sidenav-layout/sidenav-layout.component.mjs +7 -7
  423. package/esm2022/lib/layout/directives/sidenav-layout-content.directive.mjs +5 -5
  424. package/esm2022/lib/layout/directives/sidenav-layout-header.directive.mjs +5 -5
  425. package/esm2022/lib/layout/directives/sidenav-layout-navigation.directive.mjs +5 -5
  426. package/esm2022/lib/layout/index.mjs +2 -2
  427. package/esm2022/lib/layout/layout.module.mjs +6 -6
  428. package/esm2022/lib/layout/public-api.mjs +2 -2
  429. package/esm2022/lib/login/components/login/login.component.mjs +8 -8
  430. package/esm2022/lib/login/components/login-dialog/login-dialog-component-data.interface.mjs +2 -2
  431. package/esm2022/lib/login/components/login-dialog/login-dialog.component.mjs +13 -8
  432. package/esm2022/lib/login/components/login-dialog-panel/login-dialog-panel.component.mjs +10 -6
  433. package/esm2022/lib/login/directives/login-footer.directive.mjs +6 -6
  434. package/esm2022/lib/login/directives/login-header.directive.mjs +6 -6
  435. package/esm2022/lib/login/index.mjs +2 -2
  436. package/esm2022/lib/login/login.module.mjs +6 -6
  437. package/esm2022/lib/login/models/login-error.event.mjs +2 -2
  438. package/esm2022/lib/login/models/login-submit.event.mjs +2 -2
  439. package/esm2022/lib/login/models/login-success.event.mjs +2 -2
  440. package/esm2022/lib/login/public-api.mjs +2 -2
  441. package/esm2022/lib/material.module.mjs +6 -6
  442. package/esm2022/lib/mock/cookie.service.mock.mjs +5 -5
  443. package/esm2022/lib/mock/data-column.mock.mjs +41 -9
  444. package/esm2022/lib/mock/event.mock.mjs +2 -2
  445. package/esm2022/lib/mock/form/form-definition-readonly.mock.mjs +4 -4
  446. package/esm2022/lib/mock/form/form-definition-visibility.mock.mjs +6 -6
  447. package/esm2022/lib/mock/form/form-definition.mock.mjs +8 -8
  448. package/esm2022/lib/mock/form/form.component.mock.mjs +6 -6
  449. package/esm2022/lib/mock/form/form.service.mock.mjs +6 -6
  450. package/esm2022/lib/mock/form/widget-visibility.service.mock.mjs +52 -84
  451. package/esm2022/lib/mock/index.mjs +2 -2
  452. package/esm2022/lib/mock/public-api.mjs +2 -2
  453. package/esm2022/lib/mock/translation.service.mock.mjs +5 -5
  454. package/esm2022/lib/models/comment.model.mjs +2 -2
  455. package/esm2022/lib/models/component.model.mjs +2 -2
  456. package/esm2022/lib/models/decimal-number.model.mjs +2 -2
  457. package/esm2022/lib/models/general-user.model.mjs +2 -2
  458. package/esm2022/lib/models/index.mjs +2 -2
  459. package/esm2022/lib/models/pagination.model.mjs +2 -2
  460. package/esm2022/lib/models/path.model.mjs +2 -2
  461. package/esm2022/lib/models/product-version.model.mjs +2 -2
  462. package/esm2022/lib/models/public-api.mjs +2 -2
  463. package/esm2022/lib/models/request-pagination.model.mjs +2 -2
  464. package/esm2022/lib/notifications/components/add-notification.stories.component.mjs +6 -6
  465. package/esm2022/lib/notifications/components/notification-history.component.mjs +7 -7
  466. package/esm2022/lib/notifications/helpers/notification.factory.mjs +2 -2
  467. package/esm2022/lib/notifications/index.mjs +2 -2
  468. package/esm2022/lib/notifications/models/notification.model.mjs +2 -2
  469. package/esm2022/lib/notifications/notification-history.module.mjs +6 -6
  470. package/esm2022/lib/notifications/public-api.mjs +2 -2
  471. package/esm2022/lib/notifications/services/notification.service.mjs +8 -8
  472. package/esm2022/lib/pagination/index.mjs +2 -2
  473. package/esm2022/lib/pagination/infinite-pagination.component.mjs +7 -7
  474. package/esm2022/lib/pagination/paginated-component.interface.mjs +2 -2
  475. package/esm2022/lib/pagination/pagination-component.interface.mjs +2 -2
  476. package/esm2022/lib/pagination/pagination.component.mjs +6 -6
  477. package/esm2022/lib/pagination/pagination.module.mjs +6 -6
  478. package/esm2022/lib/pagination/public-api.mjs +2 -2
  479. package/esm2022/lib/pipes/date-time.pipe.mjs +5 -5
  480. package/esm2022/lib/pipes/decimal-number.pipe.mjs +6 -6
  481. package/esm2022/lib/pipes/file-size.pipe.mjs +6 -6
  482. package/esm2022/lib/pipes/file-type.pipe.mjs +5 -5
  483. package/esm2022/lib/pipes/format-space.pipe.mjs +5 -5
  484. package/esm2022/lib/pipes/full-name.pipe.mjs +5 -5
  485. package/esm2022/lib/pipes/index.mjs +2 -2
  486. package/esm2022/lib/pipes/localized-date.pipe.mjs +6 -6
  487. package/esm2022/lib/pipes/multi-value.pipe.mjs +5 -5
  488. package/esm2022/lib/pipes/pipe.module.mjs +6 -6
  489. package/esm2022/lib/pipes/public-api.mjs +2 -2
  490. package/esm2022/lib/pipes/text-highlight.pipe.mjs +6 -6
  491. package/esm2022/lib/pipes/time-ago.pipe.mjs +6 -6
  492. package/esm2022/lib/pipes/truncate.pipe.mjs +5 -5
  493. package/esm2022/lib/pipes/user-initial.pipe.mjs +6 -6
  494. package/esm2022/lib/pipes/user-like.interface.mjs +3 -2
  495. package/esm2022/lib/progress/progress.component.mjs +5 -5
  496. package/esm2022/lib/search-text/animations.mjs +2 -2
  497. package/esm2022/lib/search-text/index.mjs +2 -2
  498. package/esm2022/lib/search-text/models/search-text-input.model.mjs +2 -2
  499. package/esm2022/lib/search-text/public-api.mjs +2 -2
  500. package/esm2022/lib/search-text/search-text-input.component.mjs +5 -5
  501. package/esm2022/lib/search-text/search-text-input.module.mjs +6 -6
  502. package/esm2022/lib/search-text/search-trigger.directive.mjs +7 -7
  503. package/esm2022/lib/snackbar-content/index.mjs +2 -2
  504. package/esm2022/lib/snackbar-content/public-api.mjs +2 -2
  505. package/esm2022/lib/snackbar-content/snack-bar-data.mjs +2 -2
  506. package/esm2022/lib/snackbar-content/snackbar-content.component.mjs +7 -7
  507. package/esm2022/lib/snackbar-content/snackbar-content.module.mjs +27 -9
  508. package/esm2022/lib/sorting-picker/index.mjs +2 -2
  509. package/esm2022/lib/sorting-picker/public-api.mjs +2 -2
  510. package/esm2022/lib/sorting-picker/sorting-picker.component.mjs +5 -5
  511. package/esm2022/lib/templates/empty-content/empty-content.component.mjs +6 -6
  512. package/esm2022/lib/templates/error-content/error-content.component.mjs +7 -7
  513. package/esm2022/lib/templates/index.mjs +2 -2
  514. package/esm2022/lib/templates/public-api.mjs +2 -2
  515. package/esm2022/lib/templates/template.module.mjs +6 -6
  516. package/esm2022/lib/testing/core.story.module.mjs +6 -6
  517. package/esm2022/lib/testing/core.testing.module.mjs +6 -6
  518. package/esm2022/lib/testing/index.mjs +2 -2
  519. package/esm2022/lib/testing/noop-auth.module.mjs +10 -11
  520. package/esm2022/lib/testing/noop-translate.module.mjs +9 -9
  521. package/esm2022/lib/testing/unit-testing-utils.mjs +2 -2
  522. package/esm2022/lib/toolbar/index.mjs +2 -2
  523. package/esm2022/lib/toolbar/public-api.mjs +2 -2
  524. package/esm2022/lib/toolbar/toolbar-divider.component.mjs +5 -5
  525. package/esm2022/lib/toolbar/toolbar-title.component.mjs +6 -6
  526. package/esm2022/lib/toolbar/toolbar.component.mjs +6 -6
  527. package/esm2022/lib/toolbar/toolbar.module.mjs +6 -6
  528. package/esm2022/lib/translation/index.mjs +2 -2
  529. package/esm2022/lib/translation/public-api.mjs +2 -2
  530. package/esm2022/lib/translation/translate-loader.service.mjs +6 -6
  531. package/esm2022/lib/translation/translation.service.mjs +7 -7
  532. package/esm2022/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.mjs +5 -5
  533. package/esm2022/lib/viewer/components/img-viewer/img-viewer.component.mjs +6 -6
  534. package/esm2022/lib/viewer/components/media-player/media-player.component.mjs +6 -6
  535. package/esm2022/lib/viewer/components/pdf-viewer/pdf-viewer.component.mjs +7 -7
  536. package/esm2022/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.mjs +7 -7
  537. package/esm2022/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.mjs +5 -5
  538. package/esm2022/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.mjs +7 -7
  539. package/esm2022/lib/viewer/components/txt-viewer/txt-viewer.component.mjs +6 -6
  540. package/esm2022/lib/viewer/components/unknown-format/unknown-format.component.mjs +5 -5
  541. package/esm2022/lib/viewer/components/viewer-more-actions.component.mjs +6 -6
  542. package/esm2022/lib/viewer/components/viewer-open-with.component.mjs +6 -6
  543. package/esm2022/lib/viewer/components/viewer-render/viewer-render.component.mjs +7 -7
  544. package/esm2022/lib/viewer/components/viewer-sidebar.component.mjs +6 -6
  545. package/esm2022/lib/viewer/components/viewer-toolbar-actions.component.mjs +6 -6
  546. package/esm2022/lib/viewer/components/viewer-toolbar-custom-actions.component.mjs +6 -6
  547. package/esm2022/lib/viewer/components/viewer-toolbar.component.mjs +6 -6
  548. package/esm2022/lib/viewer/components/viewer.component.mjs +7 -7
  549. package/esm2022/lib/viewer/directives/viewer-extension.directive.mjs +6 -6
  550. package/esm2022/lib/viewer/index.mjs +2 -2
  551. package/esm2022/lib/viewer/models/download-prompt.actions.mjs +2 -2
  552. package/esm2022/lib/viewer/models/viewer.model.mjs +2 -2
  553. package/esm2022/lib/viewer/public-api.mjs +2 -2
  554. package/esm2022/lib/viewer/services/rendering-queue.services.mjs +5 -5
  555. package/esm2022/lib/viewer/services/view-util.service.mjs +6 -6
  556. package/esm2022/lib/viewer/viewer.module.mjs +6 -6
  557. package/esm2022/public-api.mjs +2 -2
  558. package/esm2022/shell/index.mjs +2 -2
  559. package/esm2022/shell/lib/components/shell/shell.component.mjs +7 -7
  560. package/esm2022/shell/lib/services/shell-app.service.mjs +2 -2
  561. package/esm2022/shell/lib/shell.module.mjs +6 -6
  562. package/esm2022/shell/lib/shell.routes.mjs +2 -2
  563. package/feature-flags/index.d.ts +1 -1
  564. package/feature-flags/lib/components/feature-override-indicator.component.d.ts +1 -1
  565. package/feature-flags/lib/directives/features.directive.d.ts +1 -1
  566. package/feature-flags/lib/directives/not-features.directive.d.ts +1 -1
  567. package/feature-flags/lib/interfaces/features.interface.d.ts +1 -1
  568. package/feature-flags/lib/mocks/features-service-mock.factory.d.ts +1 -1
  569. package/feature-flags/lib/providers/debug-feature-flags.provider.d.ts +1 -1
  570. package/feature-flags/lib/providers/dummy-feature-flags.provider.d.ts +1 -1
  571. package/feature-flags/lib/services/flagset.parser.d.ts +1 -1
  572. package/feature-flags/lib/services/qa-features.helper.d.ts +1 -1
  573. package/fesm2022/adf-core.mjs +1725 -1673
  574. package/fesm2022/adf-core.mjs.map +1 -1
  575. package/fesm2022/alfresco-adf-core-api.mjs +14 -13
  576. package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
  577. package/fesm2022/alfresco-adf-core-auth.mjs +9 -8
  578. package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
  579. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +19 -19
  580. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
  581. package/fesm2022/alfresco-adf-core-feature-flags.mjs +75 -75
  582. package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
  583. package/fesm2022/alfresco-adf-core-shell.mjs +15 -15
  584. package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
  585. package/lib/about/about-package/package-list.component.d.ts +1 -1
  586. package/lib/about/about-panel.directive.d.ts +1 -1
  587. package/lib/about/about-repository-info/about-repository-info.component.d.ts +1 -1
  588. package/lib/about/about-repository-info/repository-info.interface.d.ts +1 -1
  589. package/lib/about/about-server-settings/about-server-settings.component.d.ts +1 -1
  590. package/lib/about/about.component.d.ts +1 -1
  591. package/lib/about/index.d.ts +1 -1
  592. package/lib/about/interfaces.d.ts +1 -1
  593. package/lib/about/public-api.d.ts +1 -1
  594. package/lib/app-config/app-config-storage-prefix.factory.d.ts +1 -1
  595. package/lib/app-config/app-config.loader.d.ts +1 -1
  596. package/lib/app-config/app-config.pipe.d.ts +1 -1
  597. package/lib/app-config/app-config.service.d.ts +1 -1
  598. package/lib/app-config/index.d.ts +1 -1
  599. package/lib/app-config/public-api.d.ts +1 -1
  600. package/lib/auth/authentication-interceptor/auth-bearer.interceptor.d.ts +1 -1
  601. package/lib/auth/guard/auth-guard-bpm.service.d.ts +1 -1
  602. package/lib/auth/guard/auth-guard-ecm.service.d.ts +1 -1
  603. package/lib/auth/guard/auth-guard-sso-role.service.d.ts +1 -1
  604. package/lib/auth/guard/auth-guard.d.ts +1 -1
  605. package/lib/auth/guard/auth-guard.service.d.ts +1 -1
  606. package/lib/auth/index.d.ts +1 -1
  607. package/lib/auth/interfaces/authentication-service.interface.d.ts +1 -1
  608. package/lib/auth/interfaces/authentication.interface.d.ts +1 -1
  609. package/lib/auth/interfaces/identity-group.interface.d.ts +1 -1
  610. package/lib/auth/interfaces/identity-user.service.interface.d.ts +1 -1
  611. package/lib/auth/interfaces/openid-configuration.interface.d.ts +1 -1
  612. package/lib/auth/models/application-access.model.d.ts +1 -1
  613. package/lib/auth/models/identity-group.model.d.ts +1 -1
  614. package/lib/auth/models/identity-role.model.d.ts +1 -1
  615. package/lib/auth/models/identity-user.model.d.ts +1 -1
  616. package/lib/auth/models/oauth-config.model.d.ts +1 -1
  617. package/lib/auth/models/redirection.model.d.ts +1 -1
  618. package/lib/auth/models/user-access.model.d.ts +1 -1
  619. package/lib/auth/oidc/auth-config.d.ts +1 -1
  620. package/lib/auth/oidc/auth.module.d.ts +1 -1
  621. package/lib/auth/oidc/auth.service.d.ts +1 -1
  622. package/lib/auth/oidc/oidc-auth.guard.d.ts +1 -1
  623. package/lib/auth/oidc/public-api.d.ts +1 -1
  624. package/lib/auth/public-api.d.ts +1 -1
  625. package/lib/auth/services/authentication.service.d.ts +1 -1
  626. package/lib/auth/services/base-authentication.service.d.ts +1 -1
  627. package/lib/blank-page/index.d.ts +1 -1
  628. package/lib/blank-page/public-api.d.ts +1 -1
  629. package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.d.ts +1 -1
  630. package/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.d.ts +1 -1
  631. package/lib/card-view/components/card-view-keyvaluepairsitem/card-view-keyvaluepairsitem.component.d.ts +1 -1
  632. package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.d.ts +1 -1
  633. package/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.d.ts +1 -1
  634. package/lib/card-view/components/card-view-textitem/card-view-textitem.component.d.ts +1 -1
  635. package/lib/card-view/components/card-view.components.d.ts +1 -1
  636. package/lib/card-view/index.d.ts +1 -1
  637. package/lib/card-view/interfaces/base-card-view-update.interface.d.ts +1 -1
  638. package/lib/card-view/interfaces/card-view-arrayitem-properties.interface.d.ts +1 -1
  639. package/lib/card-view/interfaces/card-view-boolitem-properties.interface.d.ts +1 -1
  640. package/lib/card-view/interfaces/card-view-dateitem-properties.interface.d.ts +1 -1
  641. package/lib/card-view/interfaces/card-view-item-properties.interface.d.ts +1 -1
  642. package/lib/card-view/interfaces/card-view-item-validator.interface.d.ts +1 -1
  643. package/lib/card-view/interfaces/card-view-item.interface.d.ts +1 -1
  644. package/lib/card-view/interfaces/card-view-keyvaluepairsitem-properties.interface.d.ts +1 -1
  645. package/lib/card-view/interfaces/card-view-selectitem-properties.interface.d.ts +1 -1
  646. package/lib/card-view/interfaces/card-view-textitem-pipe-property.interface.d.ts +1 -1
  647. package/lib/card-view/interfaces/card-view-textitem-properties.interface.d.ts +1 -1
  648. package/lib/card-view/interfaces/card-view.interfaces.d.ts +1 -1
  649. package/lib/card-view/interfaces/click-notification.interface.d.ts +1 -1
  650. package/lib/card-view/interfaces/update-notification.interface.d.ts +1 -1
  651. package/lib/card-view/models/card-view-arrayitem.model.d.ts +1 -1
  652. package/lib/card-view/models/card-view-baseitem.model.d.ts +1 -1
  653. package/lib/card-view/models/card-view-boolitem.model.d.ts +1 -1
  654. package/lib/card-view/models/card-view-dateitem.model.d.ts +1 -1
  655. package/lib/card-view/models/card-view-datetimeitem.model.d.ts +1 -1
  656. package/lib/card-view/models/card-view-floatitem.model.d.ts +1 -1
  657. package/lib/card-view/models/card-view-intitem.model.d.ts +1 -1
  658. package/lib/card-view/models/card-view-keyvaluepairs.model.d.ts +1 -1
  659. package/lib/card-view/models/card-view-longitem.model.d.ts +1 -1
  660. package/lib/card-view/models/card-view-mapitem.model.d.ts +1 -1
  661. package/lib/card-view/models/card-view-selectitem.model.d.ts +1 -1
  662. package/lib/card-view/models/card-view-textitem.model.d.ts +1 -1
  663. package/lib/card-view/models/card-view.models.d.ts +1 -1
  664. package/lib/card-view/public-api.d.ts +1 -1
  665. package/lib/card-view/services/card-item-types.service.d.ts +1 -1
  666. package/lib/card-view/services/card-view.services.d.ts +1 -1
  667. package/lib/card-view/validators/card-view-item-float.validator.d.ts +1 -1
  668. package/lib/card-view/validators/card-view-item-int.validator.d.ts +1 -1
  669. package/lib/card-view/validators/card-view-item-length.validator.d.ts +1 -1
  670. package/lib/card-view/validators/card-view-item-long.validator.d.ts +1 -1
  671. package/lib/card-view/validators/card-view-item-match.validator.d.ts +1 -1
  672. package/lib/card-view/validators/card-view-item-minmax.validator.d.ts +1 -1
  673. package/lib/card-view/validators/card-view-item-only-positive-int.validator.d.ts +1 -1
  674. package/lib/card-view/validators/card-view-item-only-positive-long.validator.d.ts +1 -1
  675. package/lib/card-view/validators/card-view.validators.d.ts +1 -1
  676. package/lib/card-view/validators/validators.map.d.ts +1 -1
  677. package/lib/clipboard/clipboard.directive.d.ts +1 -1
  678. package/lib/clipboard/index.d.ts +1 -1
  679. package/lib/clipboard/public-api.d.ts +1 -1
  680. package/lib/comments/comment-list/comment-list.component.d.ts +1 -1
  681. package/lib/comments/comment-list/index.d.ts +1 -1
  682. package/lib/comments/comment-list/public-api.d.ts +1 -1
  683. package/lib/comments/comments.component.d.ts +1 -1
  684. package/lib/comments/index.d.ts +1 -1
  685. package/lib/comments/interfaces/comments-service.interface.d.ts +1 -1
  686. package/lib/comments/interfaces/comments.token.d.ts +1 -1
  687. package/lib/comments/public-api.d.ts +1 -1
  688. package/lib/common/index.d.ts +1 -1
  689. package/lib/common/interface/search-component.interface.d.ts +1 -1
  690. package/lib/common/models/default-languages.model.d.ts +1 -1
  691. package/lib/common/models/log-levels.model.d.ts +1 -1
  692. package/lib/common/models/user-info-mode.enum.d.ts +1 -1
  693. package/lib/common/services/dynamic-component-mapper.service.d.ts +1 -1
  694. package/lib/common/services/language-item.interface.d.ts +1 -1
  695. package/lib/common/utils/date-fns-adapter.d.ts +1 -1
  696. package/lib/common/utils/date-fns-utils.d.ts +1 -1
  697. package/lib/common/utils/file-utils.d.ts +1 -1
  698. package/lib/common/utils/index.d.ts +1 -1
  699. package/lib/common/utils/moment-date-formats.model.d.ts +1 -1
  700. package/lib/common/utils/object-utils.d.ts +1 -1
  701. package/lib/common/utils/public-api.d.ts +1 -1
  702. package/lib/common/utils/string-utils.d.ts +1 -1
  703. package/lib/context-menu/animations.d.ts +1 -1
  704. package/lib/context-menu/context-menu-overlay.d.ts +1 -1
  705. package/lib/context-menu/context-menu-overlay.service.d.ts +1 -1
  706. package/lib/context-menu/context-menu.tokens.d.ts +1 -1
  707. package/lib/context-menu/index.d.ts +1 -1
  708. package/lib/context-menu/interfaces.d.ts +1 -1
  709. package/lib/context-menu/public-api.d.ts +1 -1
  710. package/lib/core.module.d.ts +1 -1
  711. package/lib/datatable/components/amount-cell/amount-cell.component.d.ts +1 -1
  712. package/lib/datatable/components/boolean-cell/boolean-cell.component.d.ts +1 -1
  713. package/lib/datatable/components/columns-selector/columns-search-filter.pipe.d.ts +1 -1
  714. package/lib/datatable/components/columns-selector/columns-selector.component.d.ts +1 -1
  715. package/lib/datatable/components/data-cell.event.d.ts +1 -1
  716. package/lib/datatable/components/data-row-action.event.d.ts +1 -1
  717. package/lib/datatable/components/datatable/datatable.component.d.ts +1 -1
  718. package/lib/datatable/components/datatable-cell/datatable-cell.component.d.ts +1 -1
  719. package/lib/datatable/components/datatable-row/datatable-row.component.d.ts +1 -1
  720. package/lib/datatable/components/date-cell/date-cell.component.d.ts +1 -1
  721. package/lib/datatable/components/filesize-cell/filesize-cell.component.d.ts +1 -1
  722. package/lib/datatable/components/json-cell/json-cell.component.d.ts +1 -1
  723. package/lib/datatable/components/location-cell/location-cell.component.d.ts +1 -1
  724. package/lib/datatable/components/mocks/datatable.mock.d.ts +1 -1
  725. package/lib/datatable/components/number-cell/number-cell.component.d.ts +1 -1
  726. package/lib/datatable/data/data-column.model.d.ts +1 -1
  727. package/lib/datatable/data/data-row-event.model.d.ts +1 -1
  728. package/lib/datatable/data/data-row-update.model.d.ts +1 -1
  729. package/lib/datatable/data/data-row.model.d.ts +1 -1
  730. package/lib/datatable/data/data-sorting.model.d.ts +1 -1
  731. package/lib/datatable/data/datatable-adapter.d.ts +1 -1
  732. package/lib/datatable/data/object-datacolumn.model.d.ts +1 -1
  733. package/lib/datatable/data/object-datarow.model.d.ts +1 -1
  734. package/lib/datatable/data/object-datatable-adapter.d.ts +1 -1
  735. package/lib/datatable/data-column/data-column-header.component.d.ts +1 -1
  736. package/lib/datatable/data-column/data-column-list.component.d.ts +1 -1
  737. package/lib/datatable/data-column/data-column.component.d.ts +1 -1
  738. package/lib/datatable/data-column/index.d.ts +1 -1
  739. package/lib/datatable/data-column/public-api.d.ts +1 -1
  740. package/lib/datatable/directives/drop-zone.directive.d.ts +1 -1
  741. package/lib/datatable/directives/header-filter-template.directive.d.ts +1 -1
  742. package/lib/datatable/directives/loading-template.directive.d.ts +1 -1
  743. package/lib/datatable/directives/main-data-table-action-template.directive.d.ts +1 -1
  744. package/lib/datatable/directives/no-content-template.directive.d.ts +1 -1
  745. package/lib/datatable/directives/no-permission-template.directive.d.ts +1 -1
  746. package/lib/datatable/directives/resizable/resizable.directive.d.ts +1 -1
  747. package/lib/datatable/directives/resizable/resize-handle.directive.d.ts +1 -1
  748. package/lib/datatable/directives/resizable/types.d.ts +1 -1
  749. package/lib/datatable/index.d.ts +1 -1
  750. package/lib/datatable/public-api.d.ts +1 -1
  751. package/lib/dialogs/dialog/dialog-data.interface.d.ts +1 -1
  752. package/lib/dialogs/dialog/dialog.component.d.ts +1 -1
  753. package/lib/dialogs/dialog/dialog.model.d.ts +1 -1
  754. package/lib/dialogs/dialog/index.d.ts +1 -1
  755. package/lib/dialogs/edit-json/edit-json.dialog.d.ts +1 -1
  756. package/lib/dialogs/index.d.ts +1 -1
  757. package/lib/dialogs/public-api.d.ts +1 -1
  758. package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +1 -1
  759. package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.model.d.ts +1 -1
  760. package/lib/directives/highlight.directive.d.ts +1 -1
  761. package/lib/directives/index.d.ts +1 -1
  762. package/lib/directives/infinite-select-scroll.directive.d.ts +1 -1
  763. package/lib/directives/logout.directive.d.ts +1 -1
  764. package/lib/directives/public-api.d.ts +1 -1
  765. package/lib/directives/tooltip-card/tooltip-card.directive.d.ts +1 -1
  766. package/lib/directives/upload.directive.d.ts +1 -1
  767. package/lib/dynamic-chip-list/chip.d.ts +1 -1
  768. package/lib/dynamic-chip-list/dynamic-chip-list.component.d.ts +1 -1
  769. package/lib/dynamic-chip-list/index.d.ts +1 -1
  770. package/lib/dynamic-chip-list/public-api.d.ts +1 -1
  771. package/lib/events/base-ui.event.d.ts +1 -1
  772. package/lib/events/base.event.d.ts +1 -1
  773. package/lib/events/index.d.ts +1 -1
  774. package/lib/events/public-api.d.ts +1 -1
  775. package/lib/form/components/form-base.component.d.ts +1 -1
  776. package/lib/form/components/form-field/form-field.component.d.ts +1 -1
  777. package/lib/form/components/middlewares/middleware.d.ts +1 -1
  778. package/lib/form/components/widgets/core/container-column.model.d.ts +1 -1
  779. package/lib/form/components/widgets/core/container.model.d.ts +1 -1
  780. package/lib/form/components/widgets/core/content-link.model.d.ts +1 -1
  781. package/lib/form/components/widgets/core/displayable-cm-properties.model.d.ts +1 -1
  782. package/lib/form/components/widgets/core/error-message.model.d.ts +1 -1
  783. package/lib/form/components/widgets/core/external-content-link.d.ts +1 -1
  784. package/lib/form/components/widgets/core/external-content.d.ts +1 -1
  785. package/lib/form/components/widgets/core/form-field-file-source.d.ts +1 -1
  786. package/lib/form/components/widgets/core/form-field-metadata.d.ts +1 -1
  787. package/lib/form/components/widgets/core/form-field-option.d.ts +1 -1
  788. package/lib/form/components/widgets/core/form-field-rule.d.ts +1 -1
  789. package/lib/form/components/widgets/core/form-field-selected-folder.d.ts +1 -1
  790. package/lib/form/components/widgets/core/form-field-templates.d.ts +1 -1
  791. package/lib/form/components/widgets/core/form-field-types.d.ts +1 -1
  792. package/lib/form/components/widgets/core/form-field-utils.d.ts +1 -1
  793. package/lib/form/components/widgets/core/form-field-validator.d.ts +1 -1
  794. package/lib/form/components/widgets/core/form-field-variable-options.d.ts +1 -1
  795. package/lib/form/components/widgets/core/form-field.model.d.ts +1 -1
  796. package/lib/form/components/widgets/core/form-outcome-event.model.d.ts +1 -1
  797. package/lib/form/components/widgets/core/form-outcome.model.d.ts +1 -1
  798. package/lib/form/components/widgets/core/form-values.d.ts +1 -1
  799. package/lib/form/components/widgets/core/form-variable.model.d.ts +1 -1
  800. package/lib/form/components/widgets/core/form-widget.model.d.ts +1 -1
  801. package/lib/form/components/widgets/core/form.model.d.ts +1 -1
  802. package/lib/form/components/widgets/core/group.model.d.ts +1 -1
  803. package/lib/form/components/widgets/core/index.d.ts +1 -1
  804. package/lib/form/components/widgets/core/predefined-theme.d.ts +1 -1
  805. package/lib/form/components/widgets/core/process-form-model.interface.d.ts +1 -1
  806. package/lib/form/components/widgets/core/process-variable.model.d.ts +1 -1
  807. package/lib/form/components/widgets/core/tab.model.d.ts +1 -1
  808. package/lib/form/components/widgets/core/theme.model.d.ts +1 -1
  809. package/lib/form/components/widgets/core/upload-widget-content-link.model.d.ts +1 -1
  810. package/lib/form/components/widgets/core/widget-schema.model.d.ts +1 -1
  811. package/lib/form/components/widgets/display-text/display-text.schema.d.ts +1 -1
  812. package/lib/form/components/widgets/display-text/index.d.ts +1 -1
  813. package/lib/form/components/widgets/header/header.schema.d.ts +1 -1
  814. package/lib/form/components/widgets/header/index.d.ts +1 -1
  815. package/lib/form/components/widgets/index.d.ts +1 -1
  816. package/lib/form/components/widgets/reactive-widget.interface.d.ts +1 -1
  817. package/lib/form/components/widgets/text/text-mask.component.d.ts +1 -1
  818. package/lib/form/components/widgets/widget.component.d.ts +1 -1
  819. package/lib/form/events/form-error.event.d.ts +1 -1
  820. package/lib/form/events/form-field.event.d.ts +1 -1
  821. package/lib/form/events/form-rules.event.d.ts +1 -1
  822. package/lib/form/events/form-spinner.event.d.ts +1 -1
  823. package/lib/form/events/form.event.d.ts +1 -1
  824. package/lib/form/events/index.d.ts +1 -1
  825. package/lib/form/events/validate-form-field.event.d.ts +1 -1
  826. package/lib/form/events/validate-form.event.d.ts +1 -1
  827. package/lib/form/index.d.ts +1 -1
  828. package/lib/form/models/form-rules.model.d.ts +1 -1
  829. package/lib/form/models/task-process-variable.model.d.ts +1 -1
  830. package/lib/form/models/widget-visibility.model.d.ts +1 -1
  831. package/lib/form/pipes/field-style.pipe.d.ts +1 -1
  832. package/lib/form/pipes/index.d.ts +1 -1
  833. package/lib/form/public-api.d.ts +1 -1
  834. package/lib/form/services/form-rendering.service.d.ts +1 -1
  835. package/lib/form/services/form-validation-service.interface.d.ts +1 -1
  836. package/lib/header/index.d.ts +1 -1
  837. package/lib/header/public-api.d.ts +1 -1
  838. package/lib/icon/index.d.ts +1 -1
  839. package/lib/icon/public-api.d.ts +1 -1
  840. package/lib/identity-user-info/index.d.ts +1 -1
  841. package/lib/identity-user-info/public-api.d.ts +1 -1
  842. package/lib/info-drawer/index.d.ts +1 -1
  843. package/lib/info-drawer/info-drawer.component.d.ts +1 -1
  844. package/lib/info-drawer/public-api.d.ts +1 -1
  845. package/lib/interface/index.d.ts +1 -1
  846. package/lib/interface/injection.tokens.d.ts +1 -1
  847. package/lib/interface/public-api.d.ts +1 -1
  848. package/lib/language-menu/index.d.ts +1 -1
  849. package/lib/language-menu/language-menu.component.d.ts +1 -1
  850. package/lib/language-menu/language-picker.component.d.ts +1 -1
  851. package/lib/language-menu/public-api.d.ts +1 -1
  852. package/lib/language-menu/service/language.service.d.ts +1 -1
  853. package/lib/language-menu/service/language.service.interface.d.ts +1 -1
  854. package/lib/layout/components/header/header.component.d.ts +1 -1
  855. package/lib/layout/components/layout-container/layout-container.component.d.ts +1 -1
  856. package/lib/layout/components/sidenav-layout/sidenav-layout.component.d.ts +1 -1
  857. package/lib/layout/directives/sidenav-layout-content.directive.d.ts +1 -1
  858. package/lib/layout/directives/sidenav-layout-header.directive.d.ts +1 -1
  859. package/lib/layout/directives/sidenav-layout-navigation.directive.d.ts +1 -1
  860. package/lib/layout/index.d.ts +1 -1
  861. package/lib/layout/public-api.d.ts +1 -1
  862. package/lib/login/components/login-dialog/login-dialog-component-data.interface.d.ts +1 -1
  863. package/lib/login/components/login-dialog-panel/login-dialog-panel.component.d.ts +1 -1
  864. package/lib/login/directives/login-footer.directive.d.ts +1 -1
  865. package/lib/login/directives/login-header.directive.d.ts +1 -1
  866. package/lib/login/index.d.ts +1 -1
  867. package/lib/login/models/login-error.event.d.ts +1 -1
  868. package/lib/login/models/login-submit.event.d.ts +1 -1
  869. package/lib/login/models/login-success.event.d.ts +1 -1
  870. package/lib/login/public-api.d.ts +1 -1
  871. package/lib/mock/data-column.mock.d.ts +1 -1
  872. package/lib/mock/event.mock.d.ts +1 -1
  873. package/lib/mock/form/form-definition-readonly.mock.d.ts +1 -1
  874. package/lib/mock/form/form-definition-visibility.mock.d.ts +1 -1
  875. package/lib/mock/form/form-definition.mock.d.ts +1 -1
  876. package/lib/mock/form/form.component.mock.d.ts +1 -1
  877. package/lib/mock/form/form.service.mock.d.ts +1 -1
  878. package/lib/mock/form/widget-visibility.service.mock.d.ts +1 -1
  879. package/lib/mock/index.d.ts +1 -1
  880. package/lib/mock/public-api.d.ts +1 -1
  881. package/lib/models/comment.model.d.ts +1 -1
  882. package/lib/models/component.model.d.ts +1 -1
  883. package/lib/models/decimal-number.model.d.ts +1 -1
  884. package/lib/models/general-user.model.d.ts +1 -1
  885. package/lib/models/index.d.ts +1 -1
  886. package/lib/models/pagination.model.d.ts +1 -1
  887. package/lib/models/path.model.d.ts +1 -1
  888. package/lib/models/product-version.model.d.ts +1 -1
  889. package/lib/models/public-api.d.ts +1 -1
  890. package/lib/models/request-pagination.model.d.ts +1 -1
  891. package/lib/notifications/components/notification-history.component.d.ts +1 -1
  892. package/lib/notifications/components/notification-history.component.scss +0 -1
  893. package/lib/notifications/helpers/notification.factory.d.ts +1 -1
  894. package/lib/notifications/index.d.ts +1 -1
  895. package/lib/notifications/models/notification.model.d.ts +1 -1
  896. package/lib/notifications/public-api.d.ts +1 -1
  897. package/lib/pagination/index.d.ts +1 -1
  898. package/lib/pagination/infinite-pagination.component.d.ts +1 -1
  899. package/lib/pagination/paginated-component.interface.d.ts +1 -1
  900. package/lib/pagination/pagination-component.interface.d.ts +1 -1
  901. package/lib/pagination/pagination.component.d.ts +1 -1
  902. package/lib/pagination/public-api.d.ts +1 -1
  903. package/lib/pipes/date-time.pipe.d.ts +1 -1
  904. package/lib/pipes/file-size.pipe.d.ts +1 -1
  905. package/lib/pipes/file-type.pipe.d.ts +1 -1
  906. package/lib/pipes/format-space.pipe.d.ts +1 -1
  907. package/lib/pipes/full-name.pipe.d.ts +1 -1
  908. package/lib/pipes/index.d.ts +1 -1
  909. package/lib/pipes/multi-value.pipe.d.ts +1 -1
  910. package/lib/pipes/public-api.d.ts +1 -1
  911. package/lib/pipes/text-highlight.pipe.d.ts +1 -1
  912. package/lib/pipes/time-ago.pipe.d.ts +1 -1
  913. package/lib/pipes/truncate.pipe.d.ts +1 -1
  914. package/lib/pipes/user-initial.pipe.d.ts +1 -1
  915. package/lib/pipes/user-like.interface.d.ts +1 -1
  916. package/lib/prebuilt-themes/adf-blue-orange.css +1 -1
  917. package/lib/prebuilt-themes/adf-blue-purple.css +1 -1
  918. package/lib/prebuilt-themes/adf-cyan-orange.css +1 -1
  919. package/lib/prebuilt-themes/adf-cyan-purple.css +1 -1
  920. package/lib/prebuilt-themes/adf-green-orange.css +1 -1
  921. package/lib/prebuilt-themes/adf-green-purple.css +1 -1
  922. package/lib/prebuilt-themes/adf-indigo-pink.css +1 -1
  923. package/lib/prebuilt-themes/adf-pink-bluegrey.css +1 -1
  924. package/lib/prebuilt-themes/adf-purple-green.css +1 -1
  925. package/lib/search-text/animations.d.ts +1 -1
  926. package/lib/search-text/index.d.ts +1 -1
  927. package/lib/search-text/models/search-text-input.model.d.ts +1 -1
  928. package/lib/search-text/public-api.d.ts +1 -1
  929. package/lib/snackbar-content/index.d.ts +1 -1
  930. package/lib/snackbar-content/public-api.d.ts +1 -1
  931. package/lib/snackbar-content/snack-bar-data.d.ts +1 -1
  932. package/lib/sorting-picker/index.d.ts +1 -1
  933. package/lib/sorting-picker/public-api.d.ts +1 -1
  934. package/lib/sorting-picker/sorting-picker.component.d.ts +1 -1
  935. package/lib/styles/_mat-selectors.scss +0 -2
  936. package/lib/styles/material.theme.scss +0 -4
  937. package/lib/templates/error-content/error-content.component.d.ts +1 -1
  938. package/lib/templates/index.d.ts +1 -1
  939. package/lib/templates/public-api.d.ts +1 -1
  940. package/lib/testing/index.d.ts +1 -1
  941. package/lib/testing/noop-auth.module.d.ts +1 -1
  942. package/lib/testing/unit-testing-utils.d.ts +1 -1
  943. package/lib/toolbar/index.d.ts +1 -1
  944. package/lib/toolbar/public-api.d.ts +1 -1
  945. package/lib/translation/index.d.ts +1 -1
  946. package/lib/translation/public-api.d.ts +1 -1
  947. package/lib/translation/translate-loader.service.d.ts +1 -1
  948. package/lib/translation/translation.service.d.ts +1 -1
  949. package/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.d.ts +1 -1
  950. package/lib/viewer/components/txt-viewer/txt-viewer.component.d.ts +1 -1
  951. package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +1 -1
  952. package/lib/viewer/directives/viewer-extension.directive.d.ts +1 -1
  953. package/lib/viewer/index.d.ts +1 -1
  954. package/lib/viewer/models/download-prompt.actions.d.ts +1 -1
  955. package/lib/viewer/models/viewer.model.d.ts +1 -1
  956. package/lib/viewer/public-api.d.ts +1 -1
  957. package/package.json +17 -17
  958. package/public-api.d.ts +1 -1
  959. package/schematics/migrations/package.json +62 -0
  960. package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -1
  961. package/schematics/migrations/schematics/migrations/7_0_0/index.js +1 -1
  962. package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
  963. package/schematics/migrations/schematics/migrations/collection.json +8 -8
  964. package/shell/index.d.ts +1 -1
  965. package/shell/lib/components/shell/shell.component.d.ts +1 -1
  966. package/shell/lib/services/shell-app.service.d.ts +1 -1
  967. package/shell/lib/shell.module.d.ts +1 -1
  968. package/shell/lib/shell.routes.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  import { SHOULD_ADD_AUTH_TOKEN } from '@alfresco/adf-core/auth';
2
2
  import * as i1 from '@angular/common/http';
3
- import { HttpEventType, HttpUrlEncodingCodec, HttpParams, HttpContext, HttpHeaders } from '@angular/common/http';
3
+ import { HttpEventType, HttpParams, HttpUrlEncodingCodec, HttpContext, HttpHeaders } from '@angular/common/http';
4
4
  import * as i0 from '@angular/core';
5
5
  import { Injectable } from '@angular/core';
6
6
  import { Subject, of, throwError } from 'rxjs';
@@ -9,7 +9,7 @@ import ee from 'event-emitter';
9
9
 
10
10
  /*!
11
11
  * @license
12
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
12
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
13
13
  *
14
14
  * Licensed under the Apache License, Version 2.0 (the "License");
15
15
  * you may not use this file except in compliance with the License.
@@ -23,10 +23,11 @@ import ee from 'event-emitter';
23
23
  * See the License for the specific language governing permissions and
24
24
  * limitations under the License.
25
25
  */
26
+ ;
26
27
 
27
28
  /*!
28
29
  * @license
29
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
30
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
30
31
  *
31
32
  * Licensed under the Apache License, Version 2.0 (the "License");
32
33
  * you may not use this file except in compliance with the License.
@@ -46,7 +47,7 @@ const isDate = (value) => value instanceof Date;
46
47
  const isXML = (value) => typeof value === 'string' && value.startsWith('<?xml');
47
48
  const isBlobResponse = (response, returnType) => returnType === 'blob' || response.body instanceof Blob;
48
49
  const isConstructor = (value) => typeof value === 'function' && !!value?.prototype?.constructor.name;
49
- const convertParamsToString = (value) => (isDate(value) ? value.toISOString() : value);
50
+ const convertParamsToString = (value) => isDate(value) ? value.toISOString() : value;
50
51
  const getQueryParamsWithCustomEncoder = (obj, encoder = new HttpUrlEncodingCodec()) => {
51
52
  if (!obj) {
52
53
  return undefined;
@@ -105,7 +106,7 @@ const convertObjectToFormData = (formParams) => {
105
106
 
106
107
  /*!
107
108
  * @license
108
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
109
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
109
110
  *
110
111
  * Licensed under the Apache License, Version 2.0 (the "License");
111
112
  * you may not use this file except in compliance with the License.
@@ -138,7 +139,7 @@ class AlfrescoApiParamEncoder {
138
139
 
139
140
  /*!
140
141
  * @license
141
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
142
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
142
143
  *
143
144
  * Licensed under the Apache License, Version 2.0 (the "License");
144
145
  * you may not use this file except in compliance with the License.
@@ -163,7 +164,7 @@ class AlfrescoApiResponseError extends Error {
163
164
 
164
165
  /*!
165
166
  * @license
166
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
167
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
167
168
  *
168
169
  * Licensed under the Apache License, Version 2.0 (the "License");
169
170
  * you may not use this file except in compliance with the License.
@@ -451,19 +452,19 @@ class AdfHttpClient {
451
452
  static deserializeBlobResponse(response) {
452
453
  return new Blob([response.body], { type: response.headers.get('Content-Type') });
453
454
  }
454
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AdfHttpClient, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
455
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AdfHttpClient, providedIn: 'root' }); }
455
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AdfHttpClient, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
456
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AdfHttpClient, providedIn: 'root' }); }
456
457
  }
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AdfHttpClient, decorators: [{
458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AdfHttpClient, decorators: [{
458
459
  type: Injectable,
459
460
  args: [{
460
461
  providedIn: 'root'
461
462
  }]
462
- }], ctorParameters: () => [{ type: i1.HttpClient }] });
463
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
463
464
 
464
465
  /*!
465
466
  * @license
466
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
467
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
467
468
  *
468
469
  * Licensed under the Apache License, Version 2.0 (the "License");
469
470
  * you may not use this file except in compliance with the License.
@@ -480,7 +481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
480
481
 
481
482
  /*!
482
483
  * @license
483
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
484
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
484
485
  *
485
486
  * Licensed under the Apache License, Version 2.0 (the "License");
486
487
  * you may not use this file except in compliance with the License.
@@ -1 +1 @@
1
- {"version":3,"file":"alfresco-adf-core-api.mjs","sources":["../../../../lib/core/api/src/lib/types.ts","../../../../lib/core/api/src/lib/alfresco-api/alfresco-api.utils.ts","../../../../lib/core/api/src/lib/alfresco-api/alfresco-api.param-encoder.ts","../../../../lib/core/api/src/lib/alfresco-api/alfresco-api.response-error.ts","../../../../lib/core/api/src/lib/adf-http-client.service.ts","../../../../lib/core/api/src/lib/interfaces.ts","../../../../lib/core/api/src/index.ts","../../../../lib/core/api/src/alfresco-adf-core-api.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface Dictionary<T> {\n [key: string]: T;\n}\n\nexport type Constructor<T> = new (...args: any[]) => T;\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n HttpEvent,\n HttpUploadProgressEvent,\n HttpEventType,\n HttpResponse,\n HttpParams,\n HttpParameterCodec,\n HttpUrlEncodingCodec\n} from '@angular/common/http';\nimport { Constructor } from '../types';\n\nexport const isHttpUploadProgressEvent = <T>(val: HttpEvent<T>): val is HttpUploadProgressEvent => val.type === HttpEventType.UploadProgress;\nexport const isHttpResponseEvent = <T>(val: HttpEvent<T>): val is HttpResponse<T> => val.type === HttpEventType.Response;\nexport const isDate = (value: unknown): value is Date => value instanceof Date;\nexport const isXML = (value: unknown): boolean => typeof value === 'string' && value.startsWith('<?xml');\nexport const isBlobResponse = (response: HttpResponse<any>, returnType: Constructor<unknown> | 'blob'): response is HttpResponse<Blob> =>\n returnType === 'blob' || response.body instanceof Blob;\nexport const isConstructor = <T = unknown>(value: any): value is Constructor<T> =>\n typeof value === 'function' && !!value?.prototype?.constructor.name;\n\nconst convertParamsToString = (value: any): any => (isDate(value) ? value.toISOString() : value);\nexport const getQueryParamsWithCustomEncoder = (\n obj: Record<string | number, unknown>,\n encoder: HttpParameterCodec = new HttpUrlEncodingCodec()\n): HttpParams | undefined => {\n if (!obj) {\n return undefined;\n }\n\n let httpParams = new HttpParams({\n encoder\n });\n\n const params = removeNilValues(obj);\n\n for (const key in params) {\n if (Object.prototype.hasOwnProperty.call(params, key)) {\n const value = params[key];\n if (value instanceof Array) {\n const array = value.map(convertParamsToString).filter(Boolean);\n httpParams = httpParams.appendAll({\n [key]: array\n });\n } else {\n httpParams = httpParams.append(key, convertParamsToString(value));\n }\n }\n }\n\n return httpParams;\n};\n\n/**\n * Removes null and undefined values from an object.\n *\n * @param obj object to process\n * @returns object with updated values\n */\nexport const removeNilValues = (obj: Record<string | number, unknown>) => {\n if (!obj) {\n return {};\n }\n\n return Object.keys(obj).reduce((acc, key) => {\n const value = obj[key];\n const isNil = value === undefined || value === null;\n return isNil ? acc : { ...acc, [key]: value };\n }, {});\n};\n\nexport const convertObjectToFormData = (formParams: Record<string | number, string | Blob>): FormData => {\n const formData = new FormData();\n\n for (const key in formParams) {\n if (Object.prototype.hasOwnProperty.call(formParams, key)) {\n const value = formParams[key];\n if (value instanceof File) {\n formData.append(key, value, value.name);\n } else {\n formData.append(key, value);\n }\n }\n }\n\n return formData;\n};\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpParameterCodec } from '@angular/common/http';\n\n// The default implementation of HttpParameterCodec from angular\n// does not encode some special characters like + with is causing issues with the alfresco js API and returns 500 error\n\nexport class AlfrescoApiParamEncoder implements HttpParameterCodec {\n encodeKey(key: string): string {\n return encodeURIComponent(key);\n }\n\n encodeValue(value: string): string {\n return encodeURIComponent(value);\n }\n\n decodeKey(key: string): string {\n return decodeURIComponent(key);\n }\n\n decodeValue(value: string): string {\n return decodeURIComponent(value);\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class AlfrescoApiResponseError extends Error {\n public name = 'AlfrescoApiResponseError';\n\n constructor(msg: string, public status: number, public response: Record<string, any>) {\n super(msg);\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { SHOULD_ADD_AUTH_TOKEN } from '@alfresco/adf-core/auth';\nimport { Emitters as JsApiEmitters, HttpClient as JsApiHttpClient } from '@alfresco/js-api';\nimport { HttpClient, HttpContext, HttpErrorResponse, HttpEvent, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable, of, Subject, throwError } from 'rxjs';\nimport { catchError, map, takeUntil } from 'rxjs/operators';\nimport {\n convertObjectToFormData,\n getQueryParamsWithCustomEncoder,\n isBlobResponse,\n isConstructor,\n isHttpResponseEvent,\n isHttpUploadProgressEvent,\n removeNilValues\n} from './alfresco-api/alfresco-api.utils';\nimport { AlfrescoApiParamEncoder } from './alfresco-api/alfresco-api.param-encoder';\nimport { AlfrescoApiResponseError } from './alfresco-api/alfresco-api.response-error';\nimport { Constructor } from './types';\nimport { RequestOptions, SecurityOptions } from './interfaces';\nimport ee, { Emitter } from 'event-emitter';\n\nexport interface Emitters {\n readonly eventEmitter: Emitter;\n readonly apiClientEmitter: Emitter;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AdfHttpClient implements ee.Emitter, JsApiHttpClient {\n on: ee.EmitterMethod;\n off: ee.EmitterMethod;\n once: ee.EmitterMethod;\n _disableCsrf: boolean;\n\n emit: (type: string, ...args: any[]) => void;\n\n get disableCsrf(): boolean {\n return this._disableCsrf;\n }\n\n set disableCsrf(disableCsrf: boolean) {\n this._disableCsrf = disableCsrf;\n }\n\n private defaultSecurityOptions = {\n withCredentials: true,\n isBpmRequest: false,\n authentications: {},\n defaultHeaders: {}\n };\n\n constructor(private httpClient: HttpClient) {\n ee(this);\n }\n\n setDefaultSecurityOption(options: any) {\n this.defaultSecurityOptions = this.merge(this.defaultSecurityOptions, options);\n }\n\n merge(...objects): any {\n const result = {};\n\n objects.forEach((source) => {\n Object.keys(source).forEach((prop) => {\n if (prop in result && Array.isArray(result[prop])) {\n result[prop] = result[prop].concat(source[prop]);\n } else if (prop in result && typeof result[prop] === 'object') {\n result[prop] = this.merge(result[prop], source[prop]);\n } else {\n result[prop] = source[prop];\n }\n });\n });\n\n return result;\n }\n\n request<T = any>(url: string, options?: RequestOptions, sc: SecurityOptions = this.defaultSecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n const body = AdfHttpClient.getBody(options);\n const params = getQueryParamsWithCustomEncoder(options.queryParams, new AlfrescoApiParamEncoder());\n const responseType = AdfHttpClient.getResponseType(options);\n const context = new HttpContext().set(SHOULD_ADD_AUTH_TOKEN, true);\n const security: SecurityOptions = { ...this.defaultSecurityOptions, ...sc };\n const headers = this.getHeaders(options);\n if (!emitters) {\n emitters = this.getEventEmitters();\n }\n\n const request = this.httpClient.request(options.httpMethod, url, {\n context,\n ...(body && { body }),\n ...(responseType && { responseType }),\n ...security,\n ...(params && { params }),\n headers,\n observe: 'events',\n reportProgress: true\n });\n\n return this.requestWithLegacyEventEmitters<T>(request, emitters, options.returnType);\n }\n\n post<T = any>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'POST' }, sc, emitters);\n }\n\n put<T = any>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'PUT' }, sc, emitters);\n }\n\n get<T = any>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'GET' }, sc, emitters);\n }\n\n delete<T = void>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'DELETE' }, sc, emitters);\n }\n\n private addPromiseListeners<T = any>(promise: Promise<T>, eventEmitter: any) {\n const eventPromise = Object.assign(promise, {\n on() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.on.apply(eventEmitter, arguments);\n return this;\n },\n once() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.once.apply(eventEmitter, arguments);\n return this;\n },\n emit() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.emit.apply(eventEmitter, arguments);\n return this;\n },\n off() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.off.apply(eventEmitter, arguments);\n return this;\n }\n });\n\n return eventPromise;\n }\n\n private getEventEmitters(): Emitters {\n const apiClientEmitter = {\n on: this.on.bind(this),\n off: this.off.bind(this),\n once: this.once.bind(this),\n emit: this.emit.bind(this)\n };\n\n return {\n apiClientEmitter,\n eventEmitter: ee({})\n };\n }\n\n private requestWithLegacyEventEmitters<T = any>(request$: Observable<HttpEvent<T>>, emitters: JsApiEmitters, returnType: any): Promise<T> {\n const abort$ = new Subject<void>();\n const { eventEmitter, apiClientEmitter } = emitters;\n\n const promise = request$\n .pipe(\n map((res) => {\n if (isHttpUploadProgressEvent(res)) {\n const percent = Math.round((res.loaded / res.total) * 100);\n eventEmitter.emit('progress', { loaded: res.loaded, total: res.total, percent });\n }\n\n if (isHttpResponseEvent(res)) {\n eventEmitter.emit('success', res.body);\n return AdfHttpClient.deserialize(res, returnType);\n }\n }),\n catchError((err: HttpErrorResponse): Observable<AlfrescoApiResponseError> => {\n // since we can't always determinate ahead of time if the response is going to be xml or plain text response\n // we need to handle false positive cases here.\n\n if (err.status === 200) {\n eventEmitter.emit('success', err.error.text);\n return of(err.error.text);\n }\n\n eventEmitter.emit('error', err);\n apiClientEmitter.emit('error', { ...err, response: { req: err } });\n\n if (err.status === 401) {\n eventEmitter.emit('unauthorized');\n apiClientEmitter.emit('unauthorized');\n }\n\n // for backwards compatibility we need to convert it to error class as the HttpErrorResponse only implements Error interface, not extending it,\n // and we need to be able to correctly pass instanceof Error conditions used inside repository\n // we also need to pass error as Stringify string as we are detecting statusCodes using JSON.parse(error.message) in some places\n const msg = typeof err.error === 'string' ? err.error : JSON.stringify(err.error);\n\n // for backwards compatibility to handle cases in code where we try read response.error.response.body;\n\n const error = {\n ...err,\n body: err.error\n };\n\n const alfrescoApiError = new AlfrescoApiResponseError(msg, err.status, error);\n return throwError(alfrescoApiError);\n }),\n takeUntil(abort$)\n )\n .toPromise();\n\n (promise as any).abort = function () {\n eventEmitter.emit('abort');\n abort$.next();\n abort$.complete();\n return this;\n };\n\n return this.addPromiseListeners(promise, eventEmitter);\n }\n\n private static getBody(options: RequestOptions): any {\n const contentType = options.contentType ? options.contentType : AdfHttpClient.jsonPreferredMime(options.contentTypes);\n const isFormData = contentType === 'multipart/form-data';\n const isFormUrlEncoded = contentType === 'application/x-www-form-urlencoded';\n const body = options.bodyParam;\n\n if (isFormData) {\n return convertObjectToFormData(options.formParams);\n }\n\n if (isFormUrlEncoded) {\n return new HttpParams({ fromObject: removeNilValues(options.formParams) });\n }\n\n return body;\n }\n\n private getHeaders(options: RequestOptions): HttpHeaders {\n const contentType = options.contentType || AdfHttpClient.jsonPreferredMime(options.contentTypes);\n const accept = options.accept || AdfHttpClient.jsonPreferredMime(options.accepts);\n\n const optionsHeaders = {\n ...options.headerParams,\n ...(accept && { Accept: accept }),\n ...(contentType && { 'Content-Type': contentType })\n };\n\n if (!this.disableCsrf) {\n this.setCsrfToken(optionsHeaders);\n }\n\n return new HttpHeaders(optionsHeaders);\n }\n\n /**\n * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.\n *\n * @param contentTypes a contentType array\n * @returns The chosen content type, preferring JSON.\n */\n private static jsonPreferredMime(contentTypes: readonly string[]): string {\n if (!contentTypes?.length) {\n return 'application/json';\n }\n\n for (let i = 0; i < contentTypes.length; i++) {\n if (AdfHttpClient.isJsonMime(contentTypes[i])) {\n return contentTypes[i];\n }\n }\n return contentTypes[0];\n }\n\n /**\n * Checks whether the given content type represents JSON.<br>\n * JSON content type examples:<br>\n * <ul>\n * <li>application/json</li>\n * <li>application/json; charset=UTF8</li>\n * <li>APPLICATION/JSON</li>\n * </ul>\n *\n * @param contentType The MIME content type to check.\n * @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.\n */\n private static isJsonMime(contentType: string): boolean {\n return Boolean(contentType?.match(/^application\\/json(;.*)?$/i));\n }\n\n private setCsrfToken(optionsHeaders: any) {\n const token = this.createCSRFToken();\n optionsHeaders['X-CSRF-TOKEN'] = token;\n\n try {\n document.cookie = 'CSRF-TOKEN=' + token + ';path=/';\n } catch (err) {\n /* continue regardless of error */\n }\n }\n\n private createCSRFToken(a?: any): string {\n const randomValue = AdfHttpClient.getSecureRandomValue();\n return a ? (a ^ ((randomValue * 16) >> (a / 4))).toString(16) : ([1e16] + (1e16).toString()).replace(/[01]/g, this.createCSRFToken);\n }\n\n private static getSecureRandomValue(): number {\n const max = Math.pow(2, 32);\n return window.crypto.getRandomValues(new Uint32Array(1))[0] / max;\n }\n\n private static getResponseType(options: RequestOptions): 'blob' | 'json' | 'text' {\n const isBlobType = options.returnType?.toString().toLowerCase() === 'blob' || options.responseType?.toString().toLowerCase() === 'blob';\n\n if (isBlobType) {\n return 'blob';\n }\n\n if (options.returnType === 'String') {\n return 'text';\n }\n\n return 'json';\n }\n\n /**\n * Deserialize an HTTP response body into a value of the specified type.\n *\n * @param response response object\n * @param returnType return type\n * @returns deserialized object\n */\n private static deserialize<T>(response: HttpResponse<T>, returnType?: Constructor<unknown> | 'blob'): any {\n if (response === null) {\n return null;\n }\n\n const body = response.body;\n\n if (!returnType) {\n // for backwards compatibility we need to return empty string instead of null,\n // to avoid issues when accessing null response would break application [C309878]\n // cannot read property 'entry' of null in cases like\n // return this.post(apiUrl, saveFormRepresentation).pipe(map((res: any) => res.entry))\n\n return body !== null ? body : '';\n }\n\n if (isBlobResponse(response, returnType)) {\n return AdfHttpClient.deserializeBlobResponse(response);\n }\n\n if (!isConstructor(returnType)) {\n return body;\n }\n\n if (Array.isArray(body)) {\n return body.map((element) => new returnType(element));\n }\n\n return new returnType(body);\n }\n\n private static deserializeBlobResponse(response: HttpResponse<Blob>) {\n return new Blob([response.body], { type: response.headers.get('Content-Type') });\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface SecurityOptions {\n readonly withCredentials?: boolean;\n readonly authentications?: Authentication;\n readonly defaultHeaders?: Record<string, string>;\n}\n\nexport interface Oauth2 {\n refreshToken?: string;\n accessToken?: string;\n}\n\nexport interface BasicAuth {\n username?: string;\n password?: string;\n ticket?: string;\n}\n\nexport interface Authentication {\n basicAuth?: BasicAuth;\n oauth2?: Oauth2;\n cookie?: string;\n type?: string;\n}\n\nexport interface RequestOptions {\n httpMethod?: string;\n pathParams?: any;\n queryParams?: any;\n headerParams?: any;\n formParams?: any;\n bodyParam?: any;\n returnType?: any;\n responseType?: string;\n accepts?: string[];\n contentTypes?: string[];\n readonly accept?: string;\n readonly contentType?: string;\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/types';\nexport * from './lib/adf-http-client.service';\nexport * from './lib/interfaces';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;;ACfH;;;;;;;;;;;;;;;AAeG;AAaI,MAAM,yBAAyB,GAAG,CAAI,GAAiB,KAAqC,GAAG,CAAC,IAAI,KAAK,aAAa,CAAC,cAAc;AACrI,MAAM,mBAAmB,GAAG,CAAI,GAAiB,KAA6B,GAAG,CAAC,IAAI,KAAK,aAAa,CAAC,QAAQ;AACjH,MAAM,MAAM,GAAG,CAAC,KAAc,KAAoB,KAAK,YAAY,IAAI;AACvE,MAAM,KAAK,GAAG,CAAC,KAAc,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC;AACjG,MAAM,cAAc,GAAG,CAAC,QAA2B,EAAE,UAAyC,KACjG,UAAU,KAAK,MAAM,IAAI,QAAQ,CAAC,IAAI,YAAY,IAAI;AACnD,MAAM,aAAa,GAAG,CAAc,KAAU,KACjD,OAAO,KAAK,KAAK,UAAU,IAAI,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,IAAI;AAEvE,MAAM,qBAAqB,GAAG,CAAC,KAAU,MAAW,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC;AACzF,MAAM,+BAA+B,GAAG,CAC3C,GAAqC,EACrC,OAAA,GAA8B,IAAI,oBAAoB,EAAE,KAChC;IACxB,IAAI,CAAC,GAAG,EAAE;AACN,QAAA,OAAO,SAAS;;AAGpB,IAAA,IAAI,UAAU,GAAG,IAAI,UAAU,CAAC;QAC5B;AACH,KAAA,CAAC;AAEF,IAAA,MAAM,MAAM,GAAG,eAAe,CAAC,GAAG,CAAC;AAEnC,IAAA,KAAK,MAAM,GAAG,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AE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC;;8GAjV3E,aAAa,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAb,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,cAFV,MAAM,EAAA,CAAA,CAAA;;2FAET,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE;AACf,iBAAA;;;AC7CD;;;;;;;;;;;;;;;AAeG;;ACfH;;;;;;;;;;;;;;;AAeG;;ACfH;;AAEG;;;;"}
1
+ {"version":3,"file":"alfresco-adf-core-api.mjs","sources":["../../../../lib/core/api/src/lib/types.ts","../../../../lib/core/api/src/lib/alfresco-api/alfresco-api.utils.ts","../../../../lib/core/api/src/lib/alfresco-api/alfresco-api.param-encoder.ts","../../../../lib/core/api/src/lib/alfresco-api/alfresco-api.response-error.ts","../../../../lib/core/api/src/lib/adf-http-client.service.ts","../../../../lib/core/api/src/lib/interfaces.ts","../../../../lib/core/api/src/index.ts","../../../../lib/core/api/src/alfresco-adf-core-api.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface Dictionary<T> {\n [key: string]: T;\n};\n\nexport type Constructor<T> = new (...args: any[]) => T;\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpEvent, HttpUploadProgressEvent, HttpEventType, HttpResponse, HttpParams, HttpParameterCodec, HttpUrlEncodingCodec } from '@angular/common/http';\nimport { Constructor } from '../types';\n\nexport const isHttpUploadProgressEvent = <T>(val: HttpEvent<T>): val is HttpUploadProgressEvent => val.type === HttpEventType.UploadProgress;\nexport const isHttpResponseEvent = <T>(val: HttpEvent<T>): val is HttpResponse<T> => val.type === HttpEventType.Response;\nexport const isDate = (value: unknown): value is Date => value instanceof Date;\nexport const isXML = (value: unknown): boolean => typeof value === 'string' && value.startsWith('<?xml');\nexport const isBlobResponse = (response: HttpResponse<any>, returnType: Constructor<unknown> | 'blob'): response is HttpResponse<Blob> => returnType === 'blob' || response.body instanceof Blob;\nexport const isConstructor = <T = unknown>(value: any): value is Constructor<T> => typeof value === 'function' && !!value?.prototype?.constructor.name;\n\nconst convertParamsToString = (value: any): any => isDate(value) ? value.toISOString() : value;\nexport const getQueryParamsWithCustomEncoder = (obj: Record<string | number, unknown>, encoder: HttpParameterCodec = new HttpUrlEncodingCodec()): HttpParams | undefined => {\n if (!obj) {\n return undefined;\n }\n\n let httpParams = new HttpParams({\n encoder\n });\n\n const params = removeNilValues(obj);\n\n for (const key in params) {\n\n if (Object.prototype.hasOwnProperty.call(params, key)) {\n const value = params[key];\n if (value instanceof Array) {\n const array = value.map(convertParamsToString).filter(Boolean);\n httpParams = httpParams.appendAll({\n [key]: array\n });\n } else {\n httpParams = httpParams.append(key, convertParamsToString(value));\n }\n }\n }\n\n return httpParams;\n};\n\n/**\n * Removes null and undefined values from an object.\n *\n * @param obj object to process\n * @returns object with updated values\n */\nexport const removeNilValues = (obj: Record<string | number, unknown>) => {\n\n if (!obj) {\n return {};\n }\n\n return Object.keys(obj).reduce((acc, key) => {\n const value = obj[key];\n const isNil = value === undefined || value === null;\n return isNil ? acc : { ...acc, [key]: value };\n }, {});\n};\n\n\nexport const convertObjectToFormData = (formParams: Record<string | number, string | Blob>): FormData => {\n\n const formData = new FormData();\n\n for (const key in formParams) {\n if (Object.prototype.hasOwnProperty.call(formParams, key)) {\n const value = formParams[key];\n if (value instanceof File) {\n formData.append(key, value, value.name);\n } else {\n formData.append(key, value);\n }\n }\n }\n\n return formData;\n};\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpParameterCodec } from '@angular/common/http';\n\n// The default implementation of HttpParameterCodec from angular\n// does not encode some special characters like + with is causing issues with the alfresco js API and returns 500 error\n\nexport class AlfrescoApiParamEncoder implements HttpParameterCodec {\n\n encodeKey(key: string): string {\n return encodeURIComponent(key);\n }\n\n encodeValue(value: string): string {\n return encodeURIComponent(value);\n }\n\n decodeKey(key: string): string {\n return decodeURIComponent(key);\n }\n\n decodeValue(value: string): string {\n return decodeURIComponent(value);\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class AlfrescoApiResponseError extends Error {\n\n public name = 'AlfrescoApiResponseError';\n\n constructor(msg: string, public status: number, public response: Record<string, any> ) {\n super(msg);\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { SHOULD_ADD_AUTH_TOKEN } from '@alfresco/adf-core/auth';\nimport { Emitters as JsApiEmitters, HttpClient as JsApiHttpClient } from '@alfresco/js-api';\nimport { HttpClient, HttpContext, HttpErrorResponse, HttpEvent, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable, of, Subject, throwError } from 'rxjs';\nimport { catchError, map, takeUntil } from 'rxjs/operators';\nimport {\n convertObjectToFormData,\n getQueryParamsWithCustomEncoder,\n isBlobResponse,\n isConstructor,\n isHttpResponseEvent,\n isHttpUploadProgressEvent,\n removeNilValues\n} from './alfresco-api/alfresco-api.utils';\nimport { AlfrescoApiParamEncoder } from './alfresco-api/alfresco-api.param-encoder';\nimport { AlfrescoApiResponseError } from './alfresco-api/alfresco-api.response-error';\nimport { Constructor } from './types';\nimport { RequestOptions, SecurityOptions } from './interfaces';\nimport ee, { Emitter } from 'event-emitter';\n\nexport interface Emitters {\n readonly eventEmitter: Emitter;\n readonly apiClientEmitter: Emitter;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AdfHttpClient implements ee.Emitter, JsApiHttpClient {\n on: ee.EmitterMethod;\n off: ee.EmitterMethod;\n once: ee.EmitterMethod;\n _disableCsrf: boolean;\n\n emit: (type: string, ...args: any[]) => void;\n\n get disableCsrf(): boolean {\n return this._disableCsrf;\n }\n\n set disableCsrf(disableCsrf: boolean) {\n this._disableCsrf = disableCsrf;\n }\n\n private defaultSecurityOptions = {\n withCredentials: true,\n isBpmRequest: false,\n authentications: {},\n defaultHeaders: {}\n };\n\n constructor(private httpClient: HttpClient) {\n ee(this);\n }\n\n setDefaultSecurityOption(options: any) {\n this.defaultSecurityOptions = this.merge(this.defaultSecurityOptions, options);\n }\n\n merge(...objects): any {\n const result = {};\n\n objects.forEach((source) => {\n Object.keys(source).forEach((prop) => {\n if (prop in result && Array.isArray(result[prop])) {\n result[prop] = result[prop].concat(source[prop]);\n } else if (prop in result && typeof result[prop] === 'object') {\n result[prop] = this.merge(result[prop], source[prop]);\n } else {\n result[prop] = source[prop];\n }\n });\n });\n\n return result;\n }\n\n request<T = any>(url: string, options?: RequestOptions, sc: SecurityOptions = this.defaultSecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n const body = AdfHttpClient.getBody(options);\n const params = getQueryParamsWithCustomEncoder(options.queryParams, new AlfrescoApiParamEncoder());\n const responseType = AdfHttpClient.getResponseType(options);\n const context = new HttpContext().set(SHOULD_ADD_AUTH_TOKEN, true);\n const security: SecurityOptions = { ...this.defaultSecurityOptions, ...sc };\n const headers = this.getHeaders(options);\n if (!emitters) {\n emitters = this.getEventEmitters();\n }\n\n const request = this.httpClient.request(options.httpMethod, url, {\n context,\n ...(body && { body }),\n ...(responseType && { responseType }),\n ...security,\n ...(params && { params }),\n headers,\n observe: 'events',\n reportProgress: true\n });\n\n return this.requestWithLegacyEventEmitters<T>(request, emitters, options.returnType);\n }\n\n post<T = any>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'POST' }, sc, emitters);\n }\n\n put<T = any>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'PUT' }, sc, emitters);\n }\n\n get<T = any>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'GET' }, sc, emitters);\n }\n\n delete<T = void>(url: string, options?: RequestOptions, sc?: SecurityOptions, emitters?: JsApiEmitters): Promise<T> {\n return this.request<T>(url, { ...options, httpMethod: 'DELETE' }, sc, emitters);\n }\n\n private addPromiseListeners<T = any>(promise: Promise<T>, eventEmitter: any) {\n const eventPromise = Object.assign(promise, {\n on() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.on.apply(eventEmitter, arguments);\n return this;\n },\n once() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.once.apply(eventEmitter, arguments);\n return this;\n },\n emit() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.emit.apply(eventEmitter, arguments);\n return this;\n },\n off() {\n // eslint-disable-next-line prefer-spread, prefer-rest-params\n eventEmitter.off.apply(eventEmitter, arguments);\n return this;\n }\n });\n\n return eventPromise;\n }\n\n private getEventEmitters(): Emitters {\n const apiClientEmitter = {\n on: this.on.bind(this),\n off: this.off.bind(this),\n once: this.once.bind(this),\n emit: this.emit.bind(this)\n };\n\n return {\n apiClientEmitter,\n eventEmitter: ee({})\n };\n }\n\n private requestWithLegacyEventEmitters<T = any>(request$: Observable<HttpEvent<T>>, emitters: JsApiEmitters, returnType: any): Promise<T> {\n const abort$ = new Subject<void>();\n const { eventEmitter, apiClientEmitter } = emitters;\n\n const promise = request$\n .pipe(\n map((res) => {\n if (isHttpUploadProgressEvent(res)) {\n const percent = Math.round((res.loaded / res.total) * 100);\n eventEmitter.emit('progress', { loaded: res.loaded, total: res.total, percent });\n }\n\n if (isHttpResponseEvent(res)) {\n eventEmitter.emit('success', res.body);\n return AdfHttpClient.deserialize(res, returnType);\n }\n }),\n catchError((err: HttpErrorResponse): Observable<AlfrescoApiResponseError> => {\n // since we can't always determinate ahead of time if the response is going to be xml or plain text response\n // we need to handle false positive cases here.\n\n if (err.status === 200) {\n eventEmitter.emit('success', err.error.text);\n return of(err.error.text);\n }\n\n eventEmitter.emit('error', err);\n apiClientEmitter.emit('error', { ...err, response: { req: err } });\n\n if (err.status === 401) {\n eventEmitter.emit('unauthorized');\n apiClientEmitter.emit('unauthorized');\n }\n\n // for backwards compatibility we need to convert it to error class as the HttpErrorResponse only implements Error interface, not extending it,\n // and we need to be able to correctly pass instanceof Error conditions used inside repository\n // we also need to pass error as Stringify string as we are detecting statusCodes using JSON.parse(error.message) in some places\n const msg = typeof err.error === 'string' ? err.error : JSON.stringify(err.error);\n\n // for backwards compatibility to handle cases in code where we try read response.error.response.body;\n\n const error = {\n ...err,\n body: err.error\n };\n\n const alfrescoApiError = new AlfrescoApiResponseError(msg, err.status, error);\n return throwError(alfrescoApiError);\n }),\n takeUntil(abort$)\n )\n .toPromise();\n\n (promise as any).abort = function () {\n eventEmitter.emit('abort');\n abort$.next();\n abort$.complete();\n return this;\n };\n\n return this.addPromiseListeners(promise, eventEmitter);\n }\n\n private static getBody(options: RequestOptions): any {\n const contentType = options.contentType ? options.contentType : AdfHttpClient.jsonPreferredMime(options.contentTypes);\n const isFormData = contentType === 'multipart/form-data';\n const isFormUrlEncoded = contentType === 'application/x-www-form-urlencoded';\n const body = options.bodyParam;\n\n if (isFormData) {\n return convertObjectToFormData(options.formParams);\n }\n\n if (isFormUrlEncoded) {\n return new HttpParams({ fromObject: removeNilValues(options.formParams) });\n }\n\n return body;\n }\n\n private getHeaders(options: RequestOptions): HttpHeaders {\n const contentType = options.contentType || AdfHttpClient.jsonPreferredMime(options.contentTypes);\n const accept = options.accept || AdfHttpClient.jsonPreferredMime(options.accepts);\n\n const optionsHeaders = {\n ...options.headerParams,\n ...(accept && { Accept: accept }),\n ...(contentType && { 'Content-Type': contentType })\n };\n\n if (!this.disableCsrf) {\n this.setCsrfToken(optionsHeaders);\n }\n\n return new HttpHeaders(optionsHeaders);\n }\n\n /**\n * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.\n *\n * @param contentTypes a contentType array\n * @returns The chosen content type, preferring JSON.\n */\n private static jsonPreferredMime(contentTypes: readonly string[]): string {\n if (!contentTypes?.length) {\n return 'application/json';\n }\n\n for (let i = 0; i < contentTypes.length; i++) {\n if (AdfHttpClient.isJsonMime(contentTypes[i])) {\n return contentTypes[i];\n }\n }\n return contentTypes[0];\n }\n\n /**\n * Checks whether the given content type represents JSON.<br>\n * JSON content type examples:<br>\n * <ul>\n * <li>application/json</li>\n * <li>application/json; charset=UTF8</li>\n * <li>APPLICATION/JSON</li>\n * </ul>\n *\n * @param contentType The MIME content type to check.\n * @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.\n */\n private static isJsonMime(contentType: string): boolean {\n return Boolean(contentType?.match(/^application\\/json(;.*)?$/i));\n }\n\n private setCsrfToken(optionsHeaders: any) {\n const token = this.createCSRFToken();\n optionsHeaders['X-CSRF-TOKEN'] = token;\n\n try {\n document.cookie = 'CSRF-TOKEN=' + token + ';path=/';\n } catch (err) {\n /* continue regardless of error */\n }\n }\n\n private createCSRFToken(a?: any): string {\n const randomValue = AdfHttpClient.getSecureRandomValue();\n return a ? (a ^ ((randomValue * 16) >> (a / 4))).toString(16) : ([1e16] + (1e16).toString()).replace(/[01]/g, this.createCSRFToken);\n }\n\n private static getSecureRandomValue(): number {\n const max = Math.pow(2, 32);\n return window.crypto.getRandomValues(new Uint32Array(1))[0] / max;\n }\n\n private static getResponseType(options: RequestOptions): 'blob' | 'json' | 'text' {\n const isBlobType = options.returnType?.toString().toLowerCase() === 'blob' || options.responseType?.toString().toLowerCase() === 'blob';\n\n if (isBlobType) {\n return 'blob';\n }\n\n if (options.returnType === 'String') {\n return 'text';\n }\n\n return 'json';\n }\n\n /**\n * Deserialize an HTTP response body into a value of the specified type.\n *\n * @param response response object\n * @param returnType return type\n * @returns deserialized object\n */\n private static deserialize<T>(response: HttpResponse<T>, returnType?: Constructor<unknown> | 'blob'): any {\n if (response === null) {\n return null;\n }\n\n const body = response.body;\n\n if (!returnType) {\n // for backwards compatibility we need to return empty string instead of null,\n // to avoid issues when accessing null response would break application [C309878]\n // cannot read property 'entry' of null in cases like\n // return this.post(apiUrl, saveFormRepresentation).pipe(map((res: any) => res.entry))\n\n return body !== null ? body : '';\n }\n\n if (isBlobResponse(response, returnType)) {\n return AdfHttpClient.deserializeBlobResponse(response);\n }\n\n if (!isConstructor(returnType)) {\n return body;\n }\n\n if (Array.isArray(body)) {\n return body.map((element) => new returnType(element));\n }\n\n return new returnType(body);\n }\n\n private static deserializeBlobResponse(response: HttpResponse<Blob>) {\n return new Blob([response.body], { type: response.headers.get('Content-Type') });\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface SecurityOptions {\n readonly withCredentials?: boolean;\n readonly authentications?: Authentication;\n readonly defaultHeaders?: Record<string, string>;\n}\n\nexport interface Oauth2 {\n refreshToken?: string;\n accessToken?: string;\n}\n\nexport interface BasicAuth {\n username?: string;\n password?: string;\n ticket?: string;\n}\n\nexport interface Authentication {\n basicAuth?: BasicAuth;\n oauth2?: Oauth2;\n cookie?: string;\n type?: string;\n}\n\nexport interface RequestOptions {\n httpMethod?: string;\n pathParams?: any;\n queryParams?: any;\n headerParams?: any;\n formParams?: any;\n bodyParam?: any;\n returnType?: any;\n responseType?: string;\n accepts?: string[];\n contentTypes?: string[];\n readonly accept?: string;\n readonly contentType?: string;\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './lib/types';\nexport * from './lib/adf-http-client.service';\nexport * from './lib/interfaces';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAIF;;ACnBD;;;;;;;;;;;;;;;AAeG;AAKI,MAAM,yBAAyB,GAAG,CAAI,GAAiB,KAAqC,GAAG,CAAC,IAAI,KAAK,aAAa,CAAC,cAAc,CAAC;AACtI,MAAM,mBAAmB,GAAG,CAAI,GAAiB,KAA6B,GAAG,CAAC,IAAI,KAAK,aAAa,CAAC,QAAQ,CAAC;AAClH,MAAM,MAAM,GAAG,CAAC,KAAc,KAAoB,KAAK,YAAY,IAAI,CAAC;AACxE,MAAM,KAAK,GAAG,CAAC,KAAc,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClG,MAAM,cAAc,GAAG,CAAC,QAA2B,EAAE,UAAyC,KAAqC,UAAU,KAAK,MAAM,IAAI,QAAQ,CAAC,IAAI,YAAY,IA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@@ import { mergeMap, catchError } from 'rxjs/operators';
6
6
 
7
7
  /*!
8
8
  * @license
9
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
9
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
10
10
  *
11
11
  * Licensed under the Apache License, Version 2.0 (the "License");
12
12
  * you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ class Authentication {
25
25
 
26
26
  /*!
27
27
  * @license
28
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
28
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
29
29
  *
30
30
  * Licensed under the Apache License, Version 2.0 (the "License");
31
31
  * you may not use this file except in compliance with the License.
@@ -49,7 +49,8 @@ class AuthenticationInterceptor {
49
49
  return this.authService.addTokenToHeader(req.url, req.headers).pipe(mergeMap((headersWithBearer) => {
50
50
  const headerWithContentType = this.appendJsonContentType(headersWithBearer);
51
51
  const kcReq = req.clone({ headers: headerWithContentType });
52
- return next.handle(kcReq).pipe(catchError((error) => throwError(error)));
52
+ return next.handle(kcReq)
53
+ .pipe(catchError((error) => throwError(error)));
53
54
  }));
54
55
  }
55
56
  return next.handle(req).pipe(catchError((error) => throwError(error)));
@@ -65,16 +66,16 @@ class AuthenticationInterceptor {
65
66
  }
66
67
  return headers;
67
68
  }
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuthenticationInterceptor, deps: [{ token: Authentication }], target: i0.ɵɵFactoryTarget.Injectable }); }
69
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuthenticationInterceptor }); }
69
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AuthenticationInterceptor, deps: [{ token: Authentication }], target: i0.ɵɵFactoryTarget.Injectable }); }
70
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AuthenticationInterceptor }); }
70
71
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuthenticationInterceptor, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: AuthenticationInterceptor, decorators: [{
72
73
  type: Injectable
73
- }], ctorParameters: () => [{ type: Authentication }] });
74
+ }], ctorParameters: function () { return [{ type: Authentication }]; } });
74
75
 
75
76
  /*!
76
77
  * @license
77
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
78
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
78
79
  *
79
80
  * Licensed under the Apache License, Version 2.0 (the "License");
80
81
  * you may not use this file except in compliance with the License.
@@ -1 +1 @@
1
- {"version":3,"file":"alfresco-adf-core-auth.mjs","sources":["../../../../lib/core/auth/src/authentication.ts","../../../../lib/core/auth/src/authentication-interceptor/authentication.interceptor.ts","../../../../lib/core/auth/src/index.ts","../../../../lib/core/auth/src/alfresco-adf-core-auth.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpHeaders } from '@angular/common/http';\nimport { Observable } from 'rxjs';\n\nexport abstract class Authentication {\n public abstract addTokenToHeader(requestUrl: string, headers: HttpHeaders): Observable<HttpHeaders>;\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n HttpContextToken,\n HttpHandler,\n HttpHeaderResponse,\n HttpHeaders,\n HttpInterceptor,\n HttpProgressEvent,\n HttpRequest,\n HttpResponse,\n HttpSentEvent,\n HttpUserEvent\n} from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable, throwError as observableThrowError } from 'rxjs';\nimport { catchError, mergeMap } from 'rxjs/operators';\nimport { Authentication } from '../authentication';\n\nexport const SHOULD_ADD_AUTH_TOKEN = new HttpContextToken<boolean>(() => false);\n\n@Injectable()\nexport class AuthenticationInterceptor implements HttpInterceptor {\n constructor(private authService: Authentication) {}\n\n intercept(\n req: HttpRequest<any>,\n next: HttpHandler\n ): Observable<HttpSentEvent | HttpHeaderResponse | HttpProgressEvent | HttpResponse<any> | HttpUserEvent<any>> {\n if (req.context.get(SHOULD_ADD_AUTH_TOKEN)) {\n return this.authService.addTokenToHeader(req.url, req.headers).pipe(\n mergeMap((headersWithBearer) => {\n const headerWithContentType = this.appendJsonContentType(headersWithBearer);\n const kcReq = req.clone({ headers: headerWithContentType });\n return next.handle(kcReq).pipe(catchError((error) => observableThrowError(error)));\n })\n );\n }\n\n return next.handle(req).pipe(catchError((error) => observableThrowError(error)));\n }\n\n private appendJsonContentType(headers: HttpHeaders): HttpHeaders {\n // prevent adding any content type, to properly handle formData with boundary browser generated value,\n // as adding any Content-Type its going to break the upload functionality\n\n if (headers.get('Content-Type') === 'multipart/form-data') {\n return headers.delete('Content-Type');\n }\n\n if (!headers.get('Content-Type')) {\n return headers.set('Content-Type', 'application/json;charset=UTF-8');\n }\n\n return headers;\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './authentication';\nexport * from './authentication-interceptor/authentication.interceptor';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["observableThrowError","i1.Authentication"],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAKmB,cAAc,CAAA;AAEnC;;ACtBD;;;;;;;;;;;;;;;AAeG;AAmBI,MAAM,qBAAqB,GAAG,IAAI,gBAAgB,CAAU,MAAM,KAAK;MAGjE,yBAAyB,CAAA;AAClC,IAAA,WAAA,CAAoB,WAA2B,EAAA;QAA3B,IAAW,CAAA,WAAA,GAAX,WAAW;;IAE/B,SAAS,CACL,GAAqB,EACrB,IAAiB,EAAA;QAEjB,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,EAAE;YACxC,OAAO,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAC/D,QAAQ,CAAC,CAAC,iBAAiB,KAAI;gBAC3B,MAAM,qBAAqB,GAAG,IAAI,CAAC,qBAAqB,CAAC,iBAAiB,CAAC;AAC3E,gBAAA,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAAC;gBAC3D,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,KAAKA,UAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;aACrF,CAAC,CACL;;QAGL,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,KAAKA,UAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;;AAG5E,IAAA,qBAAqB,CAAC,OAAoB,EAAA;;;QAI9C,IAAI,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,EAAE;AACvD,YAAA,OAAO,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC;;QAGzC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE;YAC9B,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,gCAAgC,CAAC;;AAGxE,QAAA,OAAO,OAAO;;8GAhCT,yBAAyB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAC,cAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAzB,yBAAyB,EAAA,CAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;;ACpCD;;;;;;;;;;;;;;;AAeG;;ACfH;;AAEG;;;;"}
1
+ {"version":3,"file":"alfresco-adf-core-auth.mjs","sources":["../../../../lib/core/auth/src/authentication.ts","../../../../lib/core/auth/src/authentication-interceptor/authentication.interceptor.ts","../../../../lib/core/auth/src/index.ts","../../../../lib/core/auth/src/alfresco-adf-core-auth.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { HttpHeaders } from '@angular/common/http';\nimport { Observable } from 'rxjs';\n\nexport abstract class Authentication {\n public abstract addTokenToHeader(requestUrl: string, headers: HttpHeaders): Observable<HttpHeaders>;\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n HttpContextToken,\n HttpHandler,\n HttpHeaderResponse,\n HttpHeaders,\n HttpInterceptor,\n HttpProgressEvent,\n HttpRequest,\n HttpResponse,\n HttpSentEvent,\n HttpUserEvent\n} from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable, throwError as observableThrowError } from 'rxjs';\nimport { catchError, mergeMap } from 'rxjs/operators';\nimport { Authentication } from '../authentication';\n\nexport const SHOULD_ADD_AUTH_TOKEN = new HttpContextToken<boolean>(() => false);\n\n@Injectable()\nexport class AuthenticationInterceptor implements HttpInterceptor {\n\n constructor( private authService: Authentication) { }\n\n intercept(req: HttpRequest<any>, next: HttpHandler):\n Observable<HttpSentEvent | HttpHeaderResponse | HttpProgressEvent | HttpResponse<any> | HttpUserEvent<any>> {\n\n if (req.context.get(SHOULD_ADD_AUTH_TOKEN)) {\n return this.authService.addTokenToHeader(req.url, req.headers).pipe(\n mergeMap((headersWithBearer) => {\n const headerWithContentType = this.appendJsonContentType(headersWithBearer);\n const kcReq = req.clone({ headers: headerWithContentType});\n return next.handle(kcReq)\n .pipe(\n catchError((error) => observableThrowError(error))\n );\n })\n );\n }\n\n return next.handle(req).pipe(catchError((error) => observableThrowError(error)));\n }\n\n private appendJsonContentType(headers: HttpHeaders): HttpHeaders {\n\n // prevent adding any content type, to properly handle formData with boundary browser generated value,\n // as adding any Content-Type its going to break the upload functionality\n\n if (headers.get('Content-Type') === 'multipart/form-data') {\n return headers.delete('Content-Type');\n }\n\n if (!headers.get('Content-Type')) {\n return headers.set('Content-Type', 'application/json;charset=UTF-8');\n }\n\n return headers;\n }\n\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './authentication';\nexport * from './authentication-interceptor/authentication.interceptor';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["observableThrowError","i1.Authentication"],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAKmB,cAAc,CAAA;AAEnC;;ACtBD;;;;;;;;;;;;;;;AAeG;AAmBI,MAAM,qBAAqB,GAAG,IAAI,gBAAgB,CAAU,MAAM,KAAK,EAAE;MAGnE,yBAAyB,CAAA;AAElC,IAAA,WAAA,CAAqB,WAA2B,EAAA;QAA3B,IAAW,CAAA,WAAA,GAAX,WAAW,CAAgB;KAAK;IAErD,SAAS,CAAC,GAAqB,EAAE,IAAiB,EAAA;QAGhD,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,EAAE;YACxC,OAAO,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,CAAC,CAA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,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, ViewChild, Component, EventEmitter, ContentChildren, ViewChildren, Output, Input, ChangeDetectionStrategy } from '@angular/core';
2
+ import { Directive, Component, ViewChild, EventEmitter, ChangeDetectionStrategy, Input, Output, ViewChildren, ContentChildren } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i4 from '@angular/material/button';
@@ -12,7 +12,7 @@ import { TranslateModule } from '@ngx-translate/core';
12
12
 
13
13
  /*!
14
14
  * @license
15
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
15
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
16
16
  *
17
17
  * Licensed under the Apache License, Version 2.0 (the "License");
18
18
  * you may not use this file except in compliance with the License.
@@ -38,10 +38,10 @@ class BreadcrumbFocusDirective {
38
38
  const allFocusableElements = `button, a, input, select, textarea, [tabindex]:not([tabindex="-1"])`;
39
39
  return Array.from(root.querySelectorAll(allFocusableElements)).filter((element) => !element.hasAttribute('disabled') && element.tabIndex >= 0);
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.3", type: BreadcrumbFocusDirective, isStandalone: true, selector: "[adf-breadcrumb-focus]", host: { classAttribute: "adf-breadcrumb-focus" }, ngImport: i0 }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BreadcrumbFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.9", type: BreadcrumbFocusDirective, isStandalone: true, selector: "[adf-breadcrumb-focus]", host: { classAttribute: "adf-breadcrumb-focus" }, ngImport: i0 }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbFocusDirective, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BreadcrumbFocusDirective, decorators: [{
45
45
  type: Directive,
46
46
  args: [{
47
47
  standalone: true,
@@ -50,11 +50,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
50
50
  class: 'adf-breadcrumb-focus'
51
51
  }
52
52
  }]
53
- }], ctorParameters: () => [{ type: i0.ElementRef }] });
53
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
54
54
 
55
55
  /*!
56
56
  * @license
57
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
57
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
58
58
  *
59
59
  * Licensed under the Apache License, Version 2.0 (the "License");
60
60
  * you may not use this file except in compliance with the License.
@@ -69,21 +69,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
69
69
  * limitations under the License.
70
70
  */
71
71
  class BreadcrumbItemComponent {
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", type: BreadcrumbItemComponent, isStandalone: true, selector: "adf-breadcrumb-item", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["breadcrumbItemTemplate"], descendants: true, static: true }], ngImport: i0, template: `
72
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BreadcrumbItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: BreadcrumbItemComponent, isStandalone: true, selector: "adf-breadcrumb-item", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["breadcrumbItemTemplate"], descendants: true, static: true }], ngImport: i0, template: `
74
74
  <ng-template #breadcrumbItemTemplate>
75
- <ng-content />
75
+ <ng-content></ng-content>
76
76
  </ng-template>
77
77
  `, isInline: true }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbItemComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BreadcrumbItemComponent, decorators: [{
80
80
  type: Component,
81
81
  args: [{
82
82
  standalone: true,
83
83
  selector: 'adf-breadcrumb-item',
84
84
  template: `
85
85
  <ng-template #breadcrumbItemTemplate>
86
- <ng-content />
86
+ <ng-content></ng-content>
87
87
  </ng-template>
88
88
  `
89
89
  }]
@@ -94,7 +94,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
94
94
 
95
95
  /*!
96
96
  * @license
97
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
97
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
98
98
  *
99
99
  * Licensed under the Apache License, Version 2.0 (the "License");
100
100
  * you may not use this file except in compliance with the License.
@@ -144,13 +144,13 @@ class BreadcrumbComponent {
144
144
  mapToTemplateRefs(breadcrumbItems) {
145
145
  return breadcrumbItems.toArray().map((breadcrumbItem) => breadcrumbItem.templateRef);
146
146
  }
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", type: BreadcrumbComponent, isStandalone: true, selector: "adf-breadcrumb", inputs: { compact: "compact" }, outputs: { compactChange: "compactChange" }, queries: [{ propertyName: "breadcrumbItems", predicate: BreadcrumbItemComponent }], viewQueries: [{ propertyName: "breadcrumbFocusItems", predicate: BreadcrumbFocusDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container>\n <nav class=\"adf-breadcrumb\" [class.adf-breadcrumb--compact]=\"compact\" [attr.aria-label]=\"'CORE.BREADCRUMBS.TITLE' | translate\" >\n <ol>\n <ng-container *ngFor=\"let breadcrumbTemplate of selectedBreadcrumbs; last as last\">\n <li adf-breadcrumb-focus class=\"adf-breadcrumb__item-wrapper\">\n <ng-container *ngTemplateOutlet=\"breadcrumbTemplate\" />\n <div *ngIf=\"!last\" class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-before--compact]=\"compact\" ></div>\n </li>\n\n <li *ngIf=\"!last && compact === true\" class=\"adf-breadcrumb__show-all-button-wrapper\">\n <button\n mat-icon-button\n (click)=\"toggleCompact()\"\n color=\"primary\"\n [title]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n [attr.aria-label]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n >\n <mat-icon class=\"adf-breadcrumb__show-all-button-icon--rotate\">more_vert</mat-icon >\n </button>\n <div class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-after--compact]=\"compact\" ></div>\n </li>\n </ng-container>\n </ol>\n </nav>\n</ng-container>\n", styles: ["ol{margin:0;padding:0;display:flex;flex-wrap:wrap;min-height:40px}.adf-breadcrumb__item-wrapper{display:flex;align-items:center}.adf-breadcrumb__chevron{background-image:url('data:image/svg+xml,<svg width=\"5\" height=\"8\" viewBox=\"0 0 5 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.229292 0.234315C-0.0751287 0.546734 -0.0751287 1.05327 0.229292 1.36569L2.79616 4L0.229293 6.63432C-0.0751284 6.94673 -0.0751284 7.45327 0.229293 7.76569C0.533714 8.0781 1.02728 8.0781 1.3317 7.76569L4.44943 4.56604L5.00098 4L1.3317 0.234315C1.02728 -0.0781049 0.533713 -0.0781049 0.229292 0.234315Z\" fill=\"%236B7280\"/>%0A</svg>%0A');background-repeat:no-repeat;background-position:center;width:5px;height:8px;margin:0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron{transform:scaleX(-1)}.adf-breadcrumb__chevron-before--compact{margin:0 4px 0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-before--compact{margin:0 8px 0 4px}.adf-breadcrumb__chevron-after--compact{margin:0 8px 0 4px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-after--compact{margin:0 4px 0 8px}.adf-breadcrumb__show-all-button-wrapper{display:flex;align-items:center}.adf-breadcrumb__show-all-button-icon--rotate{transform:rotate(90deg)}\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: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: BreadcrumbFocusDirective, selector: "[adf-breadcrumb-focus]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BreadcrumbComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
148
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: BreadcrumbComponent, isStandalone: true, selector: "adf-breadcrumb", inputs: { compact: "compact" }, outputs: { compactChange: "compactChange" }, queries: [{ propertyName: "breadcrumbItems", predicate: BreadcrumbItemComponent }], viewQueries: [{ propertyName: "breadcrumbFocusItems", predicate: BreadcrumbFocusDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container>\n <nav class=\"adf-breadcrumb\" [class.adf-breadcrumb--compact]=\"compact\" [attr.aria-label]=\"'CORE.BREADCRUMBS.TITLE' | translate\" >\n <ol>\n <ng-container *ngFor=\"let breadcrumbTemplate of selectedBreadcrumbs; last as last\">\n <li adf-breadcrumb-focus class=\"adf-breadcrumb__item-wrapper\">\n <ng-container *ngTemplateOutlet=\"breadcrumbTemplate\" />\n <div *ngIf=\"!last\" class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-before--compact]=\"compact\" ></div>\n </li>\n\n <li *ngIf=\"!last && compact === true\" class=\"adf-breadcrumb__show-all-button-wrapper\">\n <button\n mat-icon-button\n (click)=\"toggleCompact()\"\n color=\"primary\"\n [title]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n [attr.aria-label]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n >\n <mat-icon class=\"adf-breadcrumb__show-all-button-icon--rotate\">more_vert</mat-icon >\n </button>\n <div class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-after--compact]=\"compact\" ></div>\n </li>\n </ng-container>\n </ol>\n </nav>\n</ng-container>\n", styles: ["ol{margin:0;padding:0;display:flex;flex-wrap:wrap;min-height:40px}.adf-breadcrumb__item-wrapper{display:flex;align-items:center}.adf-breadcrumb__chevron{background-image:url(\"data:image/svg+xml,%3Csvg width%3D%225%22 height%3D%228%22 viewBox%3D%220 0 5 8%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0.229292 0.234315C-0.0751287 0.546734 -0.0751287 1.05327 0.229292 1.36569L2.79616 4L0.229293 6.63432C-0.0751284 6.94673 -0.0751284 7.45327 0.229293 7.76569C0.533714 8.0781 1.02728 8.0781 1.3317 7.76569L4.44943 4.56604L5.00098 4L1.3317 0.234315C1.02728 -0.0781049 0.533713 -0.0781049 0.229292 0.234315Z%22 fill%3D%22%236B7280%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-position:center;width:5px;height:8px;margin:0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron{transform:scaleX(-1)}.adf-breadcrumb__chevron-before--compact{margin:0 4px 0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-before--compact{margin:0 8px 0 4px}.adf-breadcrumb__chevron-after--compact{margin:0 8px 0 4px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-after--compact{margin:0 4px 0 8px}.adf-breadcrumb__show-all-button-wrapper{display:flex;align-items:center}.adf-breadcrumb__show-all-button-icon--rotate{transform:rotate(90deg)}\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: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: BreadcrumbFocusDirective, selector: "[adf-breadcrumb-focus]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
149
149
  }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbComponent, decorators: [{
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: BreadcrumbComponent, decorators: [{
151
151
  type: Component,
152
- args: [{ standalone: true, selector: 'adf-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, MatIconModule, TranslateModule, MatButtonModule, BreadcrumbFocusDirective], template: "<ng-container>\n <nav class=\"adf-breadcrumb\" [class.adf-breadcrumb--compact]=\"compact\" [attr.aria-label]=\"'CORE.BREADCRUMBS.TITLE' | translate\" >\n <ol>\n <ng-container *ngFor=\"let breadcrumbTemplate of selectedBreadcrumbs; last as last\">\n <li adf-breadcrumb-focus class=\"adf-breadcrumb__item-wrapper\">\n <ng-container *ngTemplateOutlet=\"breadcrumbTemplate\" />\n <div *ngIf=\"!last\" class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-before--compact]=\"compact\" ></div>\n </li>\n\n <li *ngIf=\"!last && compact === true\" class=\"adf-breadcrumb__show-all-button-wrapper\">\n <button\n mat-icon-button\n (click)=\"toggleCompact()\"\n color=\"primary\"\n [title]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n [attr.aria-label]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n >\n <mat-icon class=\"adf-breadcrumb__show-all-button-icon--rotate\">more_vert</mat-icon >\n </button>\n <div class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-after--compact]=\"compact\" ></div>\n </li>\n </ng-container>\n </ol>\n </nav>\n</ng-container>\n", styles: ["ol{margin:0;padding:0;display:flex;flex-wrap:wrap;min-height:40px}.adf-breadcrumb__item-wrapper{display:flex;align-items:center}.adf-breadcrumb__chevron{background-image:url('data:image/svg+xml,<svg width=\"5\" height=\"8\" viewBox=\"0 0 5 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.229292 0.234315C-0.0751287 0.546734 -0.0751287 1.05327 0.229292 1.36569L2.79616 4L0.229293 6.63432C-0.0751284 6.94673 -0.0751284 7.45327 0.229293 7.76569C0.533714 8.0781 1.02728 8.0781 1.3317 7.76569L4.44943 4.56604L5.00098 4L1.3317 0.234315C1.02728 -0.0781049 0.533713 -0.0781049 0.229292 0.234315Z\" fill=\"%236B7280\"/>%0A</svg>%0A');background-repeat:no-repeat;background-position:center;width:5px;height:8px;margin:0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron{transform:scaleX(-1)}.adf-breadcrumb__chevron-before--compact{margin:0 4px 0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-before--compact{margin:0 8px 0 4px}.adf-breadcrumb__chevron-after--compact{margin:0 8px 0 4px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-after--compact{margin:0 4px 0 8px}.adf-breadcrumb__show-all-button-wrapper{display:flex;align-items:center}.adf-breadcrumb__show-all-button-icon--rotate{transform:rotate(90deg)}\n"] }]
153
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { compact: [{
152
+ args: [{ standalone: true, selector: 'adf-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, MatIconModule, TranslateModule, MatButtonModule, BreadcrumbFocusDirective], template: "<ng-container>\n <nav class=\"adf-breadcrumb\" [class.adf-breadcrumb--compact]=\"compact\" [attr.aria-label]=\"'CORE.BREADCRUMBS.TITLE' | translate\" >\n <ol>\n <ng-container *ngFor=\"let breadcrumbTemplate of selectedBreadcrumbs; last as last\">\n <li adf-breadcrumb-focus class=\"adf-breadcrumb__item-wrapper\">\n <ng-container *ngTemplateOutlet=\"breadcrumbTemplate\" />\n <div *ngIf=\"!last\" class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-before--compact]=\"compact\" ></div>\n </li>\n\n <li *ngIf=\"!last && compact === true\" class=\"adf-breadcrumb__show-all-button-wrapper\">\n <button\n mat-icon-button\n (click)=\"toggleCompact()\"\n color=\"primary\"\n [title]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n [attr.aria-label]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n >\n <mat-icon class=\"adf-breadcrumb__show-all-button-icon--rotate\">more_vert</mat-icon >\n </button>\n <div class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-after--compact]=\"compact\" ></div>\n </li>\n </ng-container>\n </ol>\n </nav>\n</ng-container>\n", styles: ["ol{margin:0;padding:0;display:flex;flex-wrap:wrap;min-height:40px}.adf-breadcrumb__item-wrapper{display:flex;align-items:center}.adf-breadcrumb__chevron{background-image:url(\"data:image/svg+xml,%3Csvg width%3D%225%22 height%3D%228%22 viewBox%3D%220 0 5 8%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M0.229292 0.234315C-0.0751287 0.546734 -0.0751287 1.05327 0.229292 1.36569L2.79616 4L0.229293 6.63432C-0.0751284 6.94673 -0.0751284 7.45327 0.229293 7.76569C0.533714 8.0781 1.02728 8.0781 1.3317 7.76569L4.44943 4.56604L5.00098 4L1.3317 0.234315C1.02728 -0.0781049 0.533713 -0.0781049 0.229292 0.234315Z%22 fill%3D%22%236B7280%22%2F%3E%3C%2Fsvg%3E\");background-repeat:no-repeat;background-position:center;width:5px;height:8px;margin:0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron{transform:scaleX(-1)}.adf-breadcrumb__chevron-before--compact{margin:0 4px 0 8px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-before--compact{margin:0 8px 0 4px}.adf-breadcrumb__chevron-after--compact{margin:0 8px 0 4px}:host-context([dir=rtl]) .adf-breadcrumb__chevron-after--compact{margin:0 4px 0 8px}.adf-breadcrumb__show-all-button-wrapper{display:flex;align-items:center}.adf-breadcrumb__show-all-button-icon--rotate{transform:rotate(90deg)}\n"] }]
153
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { compact: [{
154
154
  type: Input
155
155
  }], compactChange: [{
156
156
  type: Output
@@ -164,7 +164,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
164
164
 
165
165
  /*!
166
166
  * @license
167
- * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
167
+ * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
168
168
  *
169
169
  * Licensed under the Apache License, Version 2.0 (the "License");
170
170
  * you may not use this file except in compliance with the License.
@@ -1 +1 @@
1
- {"version":3,"file":"alfresco-adf-core-breadcrumbs.mjs","sources":["../../../../lib/core/breadcrumbs/src/directives/breadcrumb-focus.directive.ts","../../../../lib/core/breadcrumbs/src/components/breadcrumb-item/breadcrumb-item.component.ts","../../../../lib/core/breadcrumbs/src/components/breadcrumb/breadcrumb.component.ts","../../../../lib/core/breadcrumbs/src/components/breadcrumb/breadcrumb.component.html","../../../../lib/core/breadcrumbs/src/index.ts","../../../../lib/core/breadcrumbs/src/alfresco-adf-core-breadcrumbs.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ElementRef } from '@angular/core';\n\n/** @internal */\n@Directive({\n standalone: true,\n selector: '[adf-breadcrumb-focus]',\n host: {\n class: 'adf-breadcrumb-focus'\n }\n})\nexport class BreadcrumbFocusDirective {\n constructor(private elementRef: ElementRef) {}\n\n focusOnFirstFocusableElement() {\n this.getFocusableElements(this.elementRef.nativeElement)[0].focus();\n }\n\n private getFocusableElements(root: HTMLElement): HTMLElement[] {\n const allFocusableElements = `button, a, input, select, textarea, [tabindex]:not([tabindex=\"-1\"])`;\n return Array.from(root.querySelectorAll(allFocusableElements) as NodeListOf<HTMLElement>).filter(\n (element) => !element.hasAttribute('disabled') && element.tabIndex >= 0\n );\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n standalone: true,\n selector: 'adf-breadcrumb-item',\n template: `\n <ng-template #breadcrumbItemTemplate>\n <ng-content />\n </ng-template>\n `\n})\nexport class BreadcrumbItemComponent {\n @ViewChild('breadcrumbItemTemplate', { static: true })\n templateRef!: TemplateRef<any>;\n}\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n TemplateRef,\n ViewChildren\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { map, startWith } from 'rxjs/operators';\nimport { TranslateModule } from '@ngx-translate/core';\n\nimport { BreadcrumbFocusDirective } from '../../directives/breadcrumb-focus.directive';\nimport { BreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';\n\n@Component({\n standalone: true,\n selector: 'adf-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, MatIconModule, TranslateModule, MatButtonModule, BreadcrumbFocusDirective]\n})\nexport class BreadcrumbComponent implements AfterContentInit, OnChanges {\n private _breadcrumbTemplateRefs: Array<TemplateRef<unknown>> = [];\n\n @Input()\n compact = false;\n\n @Output()\n compactChange: EventEmitter<boolean> = new EventEmitter();\n\n @ViewChildren(BreadcrumbFocusDirective)\n breadcrumbFocusItems!: QueryList<BreadcrumbFocusDirective>;\n\n @ContentChildren(BreadcrumbItemComponent)\n breadcrumbItems!: QueryList<BreadcrumbItemComponent>;\n\n selectedBreadcrumbs: Array<TemplateRef<unknown>> = [];\n\n constructor(private cdr: ChangeDetectorRef) {}\n\n ngAfterContentInit() {\n this.breadcrumbItems.changes\n .pipe(\n startWith(this.breadcrumbItems),\n map((breadcrumbItems: QueryList<BreadcrumbItemComponent>) => this.mapToTemplateRefs(breadcrumbItems))\n )\n .subscribe((templateRefs) => {\n this._breadcrumbTemplateRefs = templateRefs;\n this.setBreadcrumbs(templateRefs);\n });\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.compact) {\n this.setBreadcrumbs(this._breadcrumbTemplateRefs);\n }\n }\n\n toggleCompact(compact = false) {\n this.compact = compact;\n this.setBreadcrumbs(this._breadcrumbTemplateRefs);\n this.compactChange.emit(this.compact);\n if (!compact) {\n this.breadcrumbFocusItems.get(1)?.focusOnFirstFocusableElement();\n }\n }\n\n private setBreadcrumbs(breadcrumbs: Array<TemplateRef<unknown>>) {\n this.selectedBreadcrumbs = this.compact && breadcrumbs.length > 2 ? [breadcrumbs[0], breadcrumbs[breadcrumbs.length - 1]] : [...breadcrumbs];\n this.cdr.detectChanges();\n }\n\n private mapToTemplateRefs(breadcrumbItems: QueryList<BreadcrumbItemComponent>) {\n return breadcrumbItems.toArray().map((breadcrumbItem) => breadcrumbItem.templateRef);\n }\n}\n","<ng-container>\n <nav class=\"adf-breadcrumb\" [class.adf-breadcrumb--compact]=\"compact\" [attr.aria-label]=\"'CORE.BREADCRUMBS.TITLE' | translate\" >\n <ol>\n <ng-container *ngFor=\"let breadcrumbTemplate of selectedBreadcrumbs; last as last\">\n <li adf-breadcrumb-focus class=\"adf-breadcrumb__item-wrapper\">\n <ng-container *ngTemplateOutlet=\"breadcrumbTemplate\" />\n <div *ngIf=\"!last\" class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-before--compact]=\"compact\" ></div>\n </li>\n\n <li *ngIf=\"!last && compact === true\" class=\"adf-breadcrumb__show-all-button-wrapper\">\n <button\n mat-icon-button\n (click)=\"toggleCompact()\"\n color=\"primary\"\n [title]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n [attr.aria-label]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n >\n <mat-icon class=\"adf-breadcrumb__show-all-button-icon--rotate\">more_vert</mat-icon >\n </button>\n <div class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-after--compact]=\"compact\" ></div>\n </li>\n </ng-container>\n </ol>\n </nav>\n</ng-container>\n","/*!\n * @license\n * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';\nexport { BreadcrumbItemComponent } from './components/breadcrumb-item/breadcrumb-item.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAIH;MAQa,wBAAwB,CAAA;AACjC,IAAA,WAAA,CAAoB,UAAsB,EAAA;QAAtB,IAAU,CAAA,UAAA,GAAV,UAAU;;IAE9B,4BAA4B,GAAA;AACxB,QAAA,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE;;AAG/D,IAAA,oBAAoB,CAAC,IAAiB,EAAA;QAC1C,MAAM,oBAAoB,GAAG,CAAA,mEAAA,CAAqE;AAClG,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,CAA4B,CAAC,CAAC,MAAM,CAC5F,CAAC,OAAO,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,QAAQ,IAAI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AA,CAAA;kBAR/B,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,YACN,gBAAgB,EAAA,eAAA,EAGT,uBAAuB,CAAC,MAAM,EACtC,OAAA,EAAA,CAAC,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,wBAAwB,CAAC,EAAA,QAAA,EAAA,stCAAA,EAAA,MAAA,EAAA,CAAA,uwCAAA,CAAA,EAAA;sFAMlG,OAAO,EAAA,CAAA;sBADN;gBAID,aAAa,EAAA,CAAA;sBADZ;gBAID,oBAAoB,EAAA,CAAA;sBADnB,YAAY;uBAAC,wBAAwB;gBAItC,eAAe,EAAA,CAAA;sBADd,eAAe;uBAAC,uBAAuB;;;AE7D5C;;;;;;;;;;;;;;;AAeG;;ACfH;;AAEG;;;;"}
1
+ {"version":3,"file":"alfresco-adf-core-breadcrumbs.mjs","sources":["../../../../lib/core/breadcrumbs/src/directives/breadcrumb-focus.directive.ts","../../../../lib/core/breadcrumbs/src/components/breadcrumb-item/breadcrumb-item.component.ts","../../../../lib/core/breadcrumbs/src/components/breadcrumb/breadcrumb.component.ts","../../../../lib/core/breadcrumbs/src/components/breadcrumb/breadcrumb.component.html","../../../../lib/core/breadcrumbs/src/index.ts","../../../../lib/core/breadcrumbs/src/alfresco-adf-core-breadcrumbs.ts"],"sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Directive, ElementRef } from '@angular/core';\n\n/** @internal */\n@Directive({\n standalone: true,\n selector: '[adf-breadcrumb-focus]',\n host: {\n class: 'adf-breadcrumb-focus'\n }\n})\nexport class BreadcrumbFocusDirective {\n constructor(private elementRef: ElementRef) {}\n\n focusOnFirstFocusableElement() {\n this.getFocusableElements(this.elementRef.nativeElement)[0].focus();\n }\n\n private getFocusableElements(root: HTMLElement): HTMLElement[] {\n const allFocusableElements = `button, a, input, select, textarea, [tabindex]:not([tabindex=\"-1\"])`;\n return Array.from(\n root.querySelectorAll(\n allFocusableElements\n ) as NodeListOf<HTMLElement>\n ).filter(\n (element) =>\n !element.hasAttribute('disabled') && element.tabIndex >= 0\n );\n }\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n standalone: true,\n selector: 'adf-breadcrumb-item',\n template: `\n <ng-template #breadcrumbItemTemplate>\n <ng-content></ng-content>\n </ng-template>\n `\n})\nexport class BreadcrumbItemComponent {\n @ViewChild('breadcrumbItemTemplate', { static: true })\n templateRef!: TemplateRef<any>;\n}\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n TemplateRef,\n ViewChildren\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { map, startWith } from 'rxjs/operators';\nimport { TranslateModule } from '@ngx-translate/core';\n\nimport { BreadcrumbFocusDirective } from '../../directives/breadcrumb-focus.directive';\nimport { BreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';\n\n@Component({\n standalone: true,\n selector: 'adf-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, MatIconModule, TranslateModule, MatButtonModule, BreadcrumbFocusDirective]\n})\nexport class BreadcrumbComponent implements AfterContentInit, OnChanges {\n private _breadcrumbTemplateRefs: Array<TemplateRef<unknown>> = [];\n\n @Input()\n compact = false;\n\n @Output()\n compactChange: EventEmitter<boolean> = new EventEmitter();\n\n @ViewChildren(BreadcrumbFocusDirective)\n breadcrumbFocusItems!: QueryList<BreadcrumbFocusDirective>;\n\n @ContentChildren(BreadcrumbItemComponent)\n breadcrumbItems!: QueryList<BreadcrumbItemComponent>;\n\n selectedBreadcrumbs: Array<TemplateRef<unknown>> = [];\n\n constructor(private cdr: ChangeDetectorRef) {}\n\n ngAfterContentInit() {\n this.breadcrumbItems.changes\n .pipe(\n startWith(this.breadcrumbItems),\n map((breadcrumbItems: QueryList<BreadcrumbItemComponent>) => this.mapToTemplateRefs(breadcrumbItems))\n )\n .subscribe((templateRefs) => {\n this._breadcrumbTemplateRefs = templateRefs;\n this.setBreadcrumbs(templateRefs);\n });\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.compact) {\n this.setBreadcrumbs(this._breadcrumbTemplateRefs);\n }\n }\n\n toggleCompact(compact = false) {\n this.compact = compact;\n this.setBreadcrumbs(this._breadcrumbTemplateRefs);\n this.compactChange.emit(this.compact);\n if (!compact) {\n this.breadcrumbFocusItems.get(1)?.focusOnFirstFocusableElement();\n }\n }\n\n private setBreadcrumbs(breadcrumbs: Array<TemplateRef<unknown>>) {\n this.selectedBreadcrumbs = this.compact && breadcrumbs.length > 2 ? [breadcrumbs[0], breadcrumbs[breadcrumbs.length - 1]] : [...breadcrumbs];\n this.cdr.detectChanges();\n }\n\n private mapToTemplateRefs(breadcrumbItems: QueryList<BreadcrumbItemComponent>) {\n return breadcrumbItems.toArray().map((breadcrumbItem) => breadcrumbItem.templateRef);\n }\n}\n","<ng-container>\n <nav class=\"adf-breadcrumb\" [class.adf-breadcrumb--compact]=\"compact\" [attr.aria-label]=\"'CORE.BREADCRUMBS.TITLE' | translate\" >\n <ol>\n <ng-container *ngFor=\"let breadcrumbTemplate of selectedBreadcrumbs; last as last\">\n <li adf-breadcrumb-focus class=\"adf-breadcrumb__item-wrapper\">\n <ng-container *ngTemplateOutlet=\"breadcrumbTemplate\" />\n <div *ngIf=\"!last\" class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-before--compact]=\"compact\" ></div>\n </li>\n\n <li *ngIf=\"!last && compact === true\" class=\"adf-breadcrumb__show-all-button-wrapper\">\n <button\n mat-icon-button\n (click)=\"toggleCompact()\"\n color=\"primary\"\n [title]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n [attr.aria-label]=\"'CORE.BREADCRUMBS.SHOWALL' | translate\"\n >\n <mat-icon class=\"adf-breadcrumb__show-all-button-icon--rotate\">more_vert</mat-icon >\n </button>\n <div class=\"adf-breadcrumb__chevron\" [class.adf-breadcrumb__chevron-after--compact]=\"compact\" ></div>\n </li>\n </ng-container>\n </ol>\n </nav>\n</ng-container>\n","/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';\nexport { BreadcrumbItemComponent } from './components/breadcrumb-item/breadcrumb-item.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAIH;MAQa,wBAAwB,CAAA;AACjC,IAAA,WAAA,CAAoB,UAAsB,EAAA;QAAtB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;KAAI;IAE9C,4BAA4B,GAAA;AACxB,QAAA,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;KACvE;AAEO,IAAA,oBAAoB,CAAC,IAAiB,EAAA;QAC1C,MAAM,oBAAoB,GAAG,CAAA,mEAAA,CAAqE,CAAC;AACnG,QAAA,OAAO,KAAK,CAAC,IAAI,CACb,IAAI,CAAC,gBAAgB,CACjB,oBAAoB,CACI,CAC/B,CAAC,MAAM,CACJ,CAAC,OAAO,KACJ,CAAC,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,CACjE,CAAC;KACL;8GAjBQ,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,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