@alfresco/adf-core 8.1.0-14489297497 → 8.1.0-14491540427

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 (600) hide show
  1. package/api/lib/alfresco-api/alfresco-api.utils.d.ts +1 -1
  2. package/breadcrumbs/styles/_breadcrumb.theme.scss +4 -4
  3. package/custom-theme/material-theme.scss +7 -4
  4. package/custom-theme/theme/custom-theme-palettes.scss +12 -8
  5. package/custom-theme/theme/typography.scss +26 -26
  6. package/esm2022/adf-core.mjs +5 -0
  7. package/esm2022/api/alfresco-adf-core-api.mjs +5 -0
  8. package/esm2022/api/index.mjs +20 -0
  9. package/esm2022/api/lib/adf-http-client.service.mjs +311 -0
  10. package/esm2022/api/lib/alfresco-api/alfresco-api.param-encoder.mjs +33 -0
  11. package/esm2022/api/lib/alfresco-api/alfresco-api.response-error.mjs +25 -0
  12. package/esm2022/api/lib/alfresco-api/alfresco-api.utils.mjs +80 -0
  13. package/esm2022/api/lib/interfaces.mjs +18 -0
  14. package/esm2022/api/lib/types.mjs +18 -0
  15. package/esm2022/auth/alfresco-adf-core-auth.mjs +5 -0
  16. package/esm2022/auth/authentication-interceptor/authentication.interceptor.mjs +56 -0
  17. package/esm2022/auth/authentication.mjs +19 -0
  18. package/esm2022/auth/index.mjs +19 -0
  19. package/esm2022/breadcrumbs/alfresco-adf-core-breadcrumbs.mjs +5 -0
  20. package/esm2022/breadcrumbs/components/breadcrumb/breadcrumb.component.mjs +83 -0
  21. package/esm2022/breadcrumbs/components/breadcrumb-item/breadcrumb-item.component.mjs +42 -0
  22. package/esm2022/breadcrumbs/directives/breadcrumb-focus.directive.mjs +44 -0
  23. package/esm2022/breadcrumbs/index.mjs +19 -0
  24. package/esm2022/feature-flags/alfresco-adf-core-feature-flags.mjs +5 -0
  25. package/esm2022/feature-flags/index.mjs +29 -0
  26. package/esm2022/feature-flags/lib/components/feature-flags-wrapper.mjs +36 -0
  27. package/esm2022/feature-flags/lib/components/feature-override-indicator.component.mjs +56 -0
  28. package/esm2022/feature-flags/lib/components/flags/flags.component.mjs +130 -0
  29. package/esm2022/feature-flags/lib/directives/features.directive.mjs +63 -0
  30. package/esm2022/feature-flags/lib/directives/not-features.directive.mjs +63 -0
  31. package/esm2022/feature-flags/lib/guards/is-feature-off.guard.mjs +38 -0
  32. package/esm2022/feature-flags/lib/guards/is-feature-on.guard.mjs +38 -0
  33. package/esm2022/feature-flags/lib/guards/is-flags-override-on.guard.mjs +40 -0
  34. package/esm2022/feature-flags/lib/interfaces/features.interface.mjs +24 -0
  35. package/esm2022/feature-flags/lib/mocks/features-service-mock.factory.mjs +62 -0
  36. package/esm2022/feature-flags/lib/providers/debug-feature-flags.provider.mjs +51 -0
  37. package/esm2022/feature-flags/lib/providers/dummy-feature-flags.provider.mjs +36 -0
  38. package/esm2022/feature-flags/lib/services/debug-features.service.mjs +84 -0
  39. package/esm2022/feature-flags/lib/services/dummy-features.service.mjs +40 -0
  40. package/esm2022/feature-flags/lib/services/flagset.parser.mjs +38 -0
  41. package/esm2022/feature-flags/lib/services/qa-features.helper.mjs +62 -0
  42. package/esm2022/feature-flags/lib/services/storage-features.service.mjs +121 -0
  43. package/esm2022/lib/about/about-extension-list/about-extension-list.component.mjs +52 -0
  44. package/esm2022/lib/about/about-license-list/about-license-list.component.mjs +52 -0
  45. package/esm2022/lib/about/about-module-list/module-list.component.mjs +52 -0
  46. package/esm2022/lib/about/about-package/package-list.component.mjs +66 -0
  47. package/esm2022/lib/about/about-panel.directive.mjs +37 -0
  48. package/esm2022/lib/about/about-repository-info/about-repository-info.component.mjs +60 -0
  49. package/esm2022/lib/about/about-repository-info/repository-info.interface.mjs +18 -0
  50. package/esm2022/lib/about/about-server-settings/about-server-settings.component.mjs +43 -0
  51. package/esm2022/lib/about/about-status-list/about-status-list.component.mjs +52 -0
  52. package/esm2022/lib/about/about.component.mjs +35 -0
  53. package/esm2022/lib/about/about.module.mjs +75 -0
  54. package/esm2022/lib/about/index.mjs +18 -0
  55. package/esm2022/lib/about/interfaces.mjs +18 -0
  56. package/esm2022/lib/about/public-api.mjs +28 -0
  57. package/esm2022/lib/app-config/app-config-storage-prefix.factory.mjs +51 -0
  58. package/esm2022/lib/app-config/app-config.loader.mjs +37 -0
  59. package/esm2022/lib/app-config/app-config.module.mjs +33 -0
  60. package/esm2022/lib/app-config/app-config.pipe.mjs +38 -0
  61. package/esm2022/lib/app-config/app-config.service.mjs +243 -0
  62. package/esm2022/lib/app-config/debug-app-config.service.mjs +44 -0
  63. package/esm2022/lib/app-config/index.mjs +18 -0
  64. package/esm2022/lib/app-config/public-api.mjs +22 -0
  65. package/esm2022/lib/auth/authentication-interceptor/auth-bearer.interceptor.mjs +67 -0
  66. package/esm2022/lib/auth/basic-auth/basic-alfresco-auth.service.mjs +356 -0
  67. package/esm2022/lib/auth/basic-auth/content-auth.mjs +189 -0
  68. package/esm2022/lib/auth/basic-auth/process-auth.mjs +193 -0
  69. package/esm2022/lib/auth/guard/auth-guard-bpm.service.mjs +31 -0
  70. package/esm2022/lib/auth/guard/auth-guard-ecm.service.mjs +31 -0
  71. package/esm2022/lib/auth/guard/auth-guard-sso-role.service.mjs +57 -0
  72. package/esm2022/lib/auth/guard/auth-guard.mjs +53 -0
  73. package/esm2022/lib/auth/guard/auth-guard.service.mjs +113 -0
  74. package/esm2022/lib/auth/index.mjs +18 -0
  75. package/esm2022/lib/auth/interfaces/authentication-service.interface.mjs +18 -0
  76. package/esm2022/lib/auth/interfaces/authentication.interface.mjs +18 -0
  77. package/esm2022/lib/auth/interfaces/identity-group.interface.mjs +18 -0
  78. package/esm2022/lib/auth/interfaces/identity-user.service.interface.mjs +18 -0
  79. package/esm2022/lib/auth/interfaces/openid-configuration.interface.mjs +18 -0
  80. package/esm2022/lib/auth/models/application-access.model.mjs +18 -0
  81. package/esm2022/lib/auth/models/identity-group.model.mjs +18 -0
  82. package/esm2022/lib/auth/models/identity-role.model.mjs +30 -0
  83. package/esm2022/lib/auth/models/identity-user.model.mjs +18 -0
  84. package/esm2022/lib/auth/models/oauth-config.model.mjs +18 -0
  85. package/esm2022/lib/auth/models/redirection.model.mjs +28 -0
  86. package/esm2022/lib/auth/models/user-access.model.mjs +18 -0
  87. package/esm2022/lib/auth/oidc/auth-config.mjs +19 -0
  88. package/esm2022/lib/auth/oidc/auth-config.service.mjs +110 -0
  89. package/esm2022/lib/auth/oidc/auth-routing.module.mjs +34 -0
  90. package/esm2022/lib/auth/oidc/auth.module.mjs +112 -0
  91. package/esm2022/lib/auth/oidc/auth.service.mjs +22 -0
  92. package/esm2022/lib/auth/oidc/oidc-auth.guard.mjs +37 -0
  93. package/esm2022/lib/auth/oidc/oidc-authentication.service.mjs +202 -0
  94. package/esm2022/lib/auth/oidc/public-api.mjs +24 -0
  95. package/esm2022/lib/auth/oidc/redirect-auth.service.mjs +267 -0
  96. package/esm2022/lib/auth/oidc/retry-login.service.mjs +66 -0
  97. package/esm2022/lib/auth/oidc/token.interceptor.mjs +62 -0
  98. package/esm2022/lib/auth/oidc/view/authentication-confirmation/authentication-confirmation.component.mjs +31 -0
  99. package/esm2022/lib/auth/public-api.mjs +44 -0
  100. package/esm2022/lib/auth/services/authentication.service.mjs +190 -0
  101. package/esm2022/lib/auth/services/base-authentication.service.mjs +99 -0
  102. package/esm2022/lib/auth/services/identity-group.service.mjs +269 -0
  103. package/esm2022/lib/auth/services/identity-role.service.mjs +99 -0
  104. package/esm2022/lib/auth/services/identity-user.service.mjs +443 -0
  105. package/esm2022/lib/auth/services/jwt-helper.service.mjs +205 -0
  106. package/esm2022/lib/auth/services/oauth2.service.mjs +69 -0
  107. package/esm2022/lib/auth/services/time-sync.service.mjs +83 -0
  108. package/esm2022/lib/auth/services/user-access.service.mjs +110 -0
  109. package/esm2022/lib/avatar/avatar.component.mjs +51 -0
  110. package/esm2022/lib/blank-page/blank-page.component.mjs +31 -0
  111. package/esm2022/lib/blank-page/blank-page.module.mjs +33 -0
  112. package/esm2022/lib/blank-page/index.mjs +18 -0
  113. package/esm2022/lib/blank-page/public-api.mjs +19 -0
  114. package/esm2022/lib/button/button.component.mjs +61 -0
  115. package/esm2022/lib/card-view/card-view.module.mjs +80 -0
  116. package/esm2022/lib/card-view/components/base-card-view.mjs +51 -0
  117. package/esm2022/lib/card-view/components/card-view/card-view.component.mjs +66 -0
  118. package/esm2022/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.mjs +56 -0
  119. package/esm2022/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.mjs +40 -0
  120. package/esm2022/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.mjs +177 -0
  121. package/esm2022/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.mjs +108 -0
  122. package/esm2022/lib/card-view/components/card-view-keyvaluepairsitem/card-view-keyvaluepairsitem.component.mjs +65 -0
  123. package/esm2022/lib/card-view/components/card-view-mapitem/card-view-mapitem.component.mjs +47 -0
  124. package/esm2022/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.mjs +138 -0
  125. package/esm2022/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.mjs +114 -0
  126. package/esm2022/lib/card-view/components/card-view-textitem/card-view-textitem.component.mjs +240 -0
  127. package/esm2022/lib/card-view/components/card-view.components.mjs +28 -0
  128. package/esm2022/lib/card-view/index.mjs +18 -0
  129. package/esm2022/lib/card-view/interfaces/base-card-view-update.interface.mjs +18 -0
  130. package/esm2022/lib/card-view/interfaces/card-view-arrayitem-properties.interface.mjs +18 -0
  131. package/esm2022/lib/card-view/interfaces/card-view-boolitem-properties.interface.mjs +18 -0
  132. package/esm2022/lib/card-view/interfaces/card-view-dateitem-properties.interface.mjs +18 -0
  133. package/esm2022/lib/card-view/interfaces/card-view-item-properties.interface.mjs +18 -0
  134. package/esm2022/lib/card-view/interfaces/card-view-item-validator.interface.mjs +18 -0
  135. package/esm2022/lib/card-view/interfaces/card-view-item.interface.mjs +18 -0
  136. package/esm2022/lib/card-view/interfaces/card-view-keyvaluepairsitem-properties.interface.mjs +18 -0
  137. package/esm2022/lib/card-view/interfaces/card-view-selectitem-properties.interface.mjs +18 -0
  138. package/esm2022/lib/card-view/interfaces/card-view-textitem-pipe-property.interface.mjs +18 -0
  139. package/esm2022/lib/card-view/interfaces/card-view-textitem-properties.interface.mjs +18 -0
  140. package/esm2022/lib/card-view/interfaces/card-view.interfaces.mjs +29 -0
  141. package/esm2022/lib/card-view/interfaces/click-notification.interface.mjs +18 -0
  142. package/esm2022/lib/card-view/interfaces/update-notification.interface.mjs +18 -0
  143. package/esm2022/lib/card-view/models/card-view-arrayitem.model.mjs +28 -0
  144. package/esm2022/lib/card-view/models/card-view-baseitem.model.mjs +64 -0
  145. package/esm2022/lib/card-view/models/card-view-boolitem.model.mjs +36 -0
  146. package/esm2022/lib/card-view/models/card-view-dateitem.model.mjs +58 -0
  147. package/esm2022/lib/card-view/models/card-view-datetimeitem.model.mjs +28 -0
  148. package/esm2022/lib/card-view/models/card-view-floatitem.model.mjs +33 -0
  149. package/esm2022/lib/card-view/models/card-view-intitem.model.mjs +36 -0
  150. package/esm2022/lib/card-view/models/card-view-keyvaluepairs.model.mjs +27 -0
  151. package/esm2022/lib/card-view/models/card-view-longitem.model.mjs +36 -0
  152. package/esm2022/lib/card-view/models/card-view-mapitem.model.mjs +32 -0
  153. package/esm2022/lib/card-view/models/card-view-selectitem.model.mjs +41 -0
  154. package/esm2022/lib/card-view/models/card-view-textitem.model.mjs +40 -0
  155. package/esm2022/lib/card-view/models/card-view.models.mjs +29 -0
  156. package/esm2022/lib/card-view/public-api.mjs +25 -0
  157. package/esm2022/lib/card-view/services/card-item-types.service.mjs +54 -0
  158. package/esm2022/lib/card-view/services/card-view-update.service.mjs +59 -0
  159. package/esm2022/lib/card-view/services/card-view.services.mjs +19 -0
  160. package/esm2022/lib/card-view/validators/card-view-item-float.validator.mjs +31 -0
  161. package/esm2022/lib/card-view/validators/card-view-item-int.validator.mjs +35 -0
  162. package/esm2022/lib/card-view/validators/card-view-item-length.validator.mjs +34 -0
  163. package/esm2022/lib/card-view/validators/card-view-item-long.validator.mjs +35 -0
  164. package/esm2022/lib/card-view/validators/card-view-item-match.validator.mjs +35 -0
  165. package/esm2022/lib/card-view/validators/card-view-item-minmax.validator.mjs +35 -0
  166. package/esm2022/lib/card-view/validators/card-view-item-only-positive-int.validator.mjs +32 -0
  167. package/esm2022/lib/card-view/validators/card-view-item-only-positive-long.validator.mjs +31 -0
  168. package/esm2022/lib/card-view/validators/card-view.validators.mjs +26 -0
  169. package/esm2022/lib/card-view/validators/validators.map.mjs +26 -0
  170. package/esm2022/lib/clipboard/clipboard.directive.mjs +99 -0
  171. package/esm2022/lib/clipboard/clipboard.module.mjs +34 -0
  172. package/esm2022/lib/clipboard/clipboard.service.mjs +103 -0
  173. package/esm2022/lib/clipboard/index.mjs +18 -0
  174. package/esm2022/lib/clipboard/public-api.mjs +21 -0
  175. package/esm2022/lib/comments/comment-list/comment-list.component.mjs +53 -0
  176. package/esm2022/lib/comments/comment-list/comment-list.module.mjs +33 -0
  177. package/esm2022/lib/comments/comment-list/index.mjs +18 -0
  178. package/esm2022/lib/comments/comment-list/public-api.mjs +19 -0
  179. package/esm2022/lib/comments/comments.component.mjs +128 -0
  180. package/esm2022/lib/comments/comments.module.mjs +33 -0
  181. package/esm2022/lib/comments/index.mjs +18 -0
  182. package/esm2022/lib/comments/interfaces/comments-service.interface.mjs +18 -0
  183. package/esm2022/lib/comments/interfaces/comments.token.mjs +19 -0
  184. package/esm2022/lib/comments/public-api.mjs +22 -0
  185. package/esm2022/lib/common/index.mjs +35 -0
  186. package/esm2022/lib/common/interface/search-component.interface.mjs +18 -0
  187. package/esm2022/lib/common/mock/app-config.service.mock.mjs +47 -0
  188. package/esm2022/lib/common/models/default-languages.model.mjs +36 -0
  189. package/esm2022/lib/common/models/log-levels.model.mjs +33 -0
  190. package/esm2022/lib/common/models/user-info-mode.enum.mjs +25 -0
  191. package/esm2022/lib/common/services/cookie.service.mjs +82 -0
  192. package/esm2022/lib/common/services/download.service.mjs +102 -0
  193. package/esm2022/lib/common/services/dynamic-component-mapper.service.mjs +89 -0
  194. package/esm2022/lib/common/services/highlight-transform.service.mjs +61 -0
  195. package/esm2022/lib/common/services/language-item.interface.mjs +18 -0
  196. package/esm2022/lib/common/services/log.service.mjs +171 -0
  197. package/esm2022/lib/common/services/page-title.service.mjs +63 -0
  198. package/esm2022/lib/common/services/sort-by-category.service.mjs +81 -0
  199. package/esm2022/lib/common/services/storage.service.mjs +143 -0
  200. package/esm2022/lib/common/services/thumbnail.service.mjs +194 -0
  201. package/esm2022/lib/common/services/url.service.mjs +45 -0
  202. package/esm2022/lib/common/services/user-preferences.service.mjs +238 -0
  203. package/esm2022/lib/common/utils/date-fns-adapter.mjs +115 -0
  204. package/esm2022/lib/common/utils/date-fns-utils.mjs +222 -0
  205. package/esm2022/lib/common/utils/datetime-fns-adapter.mjs +134 -0
  206. package/esm2022/lib/common/utils/file-utils.mjs +65 -0
  207. package/esm2022/lib/common/utils/index.mjs +18 -0
  208. package/esm2022/lib/common/utils/moment-date-adapter.mjs +202 -0
  209. package/esm2022/lib/common/utils/moment-date-formats.model.mjs +32 -0
  210. package/esm2022/lib/common/utils/object-utils.mjs +107 -0
  211. package/esm2022/lib/common/utils/public-api.mjs +25 -0
  212. package/esm2022/lib/common/utils/string-utils.mjs +45 -0
  213. package/esm2022/lib/context-menu/animations.mjs +33 -0
  214. package/esm2022/lib/context-menu/context-menu-list.component.mjs +92 -0
  215. package/esm2022/lib/context-menu/context-menu-overlay.mjs +25 -0
  216. package/esm2022/lib/context-menu/context-menu-overlay.service.mjs +109 -0
  217. package/esm2022/lib/context-menu/context-menu.directive.mjs +63 -0
  218. package/esm2022/lib/context-menu/context-menu.module.mjs +35 -0
  219. package/esm2022/lib/context-menu/context-menu.tokens.mjs +19 -0
  220. package/esm2022/lib/context-menu/index.mjs +18 -0
  221. package/esm2022/lib/context-menu/interfaces.mjs +18 -0
  222. package/esm2022/lib/context-menu/public-api.mjs +21 -0
  223. package/esm2022/lib/core.module.mjs +314 -0
  224. package/esm2022/lib/datatable/components/amount-cell/amount-cell.component.mjs +45 -0
  225. package/esm2022/lib/datatable/components/boolean-cell/boolean-cell.component.mjs +65 -0
  226. package/esm2022/lib/datatable/components/columns-selector/columns-search-filter.pipe.mjs +55 -0
  227. package/esm2022/lib/datatable/components/columns-selector/columns-selector.component.mjs +114 -0
  228. package/esm2022/lib/datatable/components/data-cell.event.mjs +31 -0
  229. package/esm2022/lib/datatable/components/data-row-action.event.mjs +34 -0
  230. package/esm2022/lib/datatable/components/datatable/datatable.component.mjs +915 -0
  231. package/esm2022/lib/datatable/components/datatable-cell/datatable-cell.component.mjs +126 -0
  232. package/esm2022/lib/datatable/components/datatable-row/datatable-row.component.mjs +98 -0
  233. package/esm2022/lib/datatable/components/date-cell/date-cell.component.mjs +78 -0
  234. package/esm2022/lib/datatable/components/empty-list/empty-list.component.mjs +60 -0
  235. package/esm2022/lib/datatable/components/filesize-cell/filesize-cell.component.mjs +49 -0
  236. package/esm2022/lib/datatable/components/icon-cell/icon-cell.component.mjs +67 -0
  237. package/esm2022/lib/datatable/components/json-cell/json-cell.component.mjs +86 -0
  238. package/esm2022/lib/datatable/components/location-cell/location-cell.component.mjs +69 -0
  239. package/esm2022/lib/datatable/components/mocks/datatable.mock.mjs +153 -0
  240. package/esm2022/lib/datatable/components/number-cell/number-cell.component.mjs +42 -0
  241. package/esm2022/lib/datatable/data/data-column.model.mjs +18 -0
  242. package/esm2022/lib/datatable/data/data-row-event.model.mjs +26 -0
  243. package/esm2022/lib/datatable/data/data-row-update.model.mjs +18 -0
  244. package/esm2022/lib/datatable/data/data-row.model.mjs +18 -0
  245. package/esm2022/lib/datatable/data/data-sorting.model.mjs +24 -0
  246. package/esm2022/lib/datatable/data/data-table.schema.mjs +132 -0
  247. package/esm2022/lib/datatable/data/datatable-adapter.mjs +18 -0
  248. package/esm2022/lib/datatable/data/object-datacolumn.model.mjs +46 -0
  249. package/esm2022/lib/datatable/data/object-datarow.model.mjs +38 -0
  250. package/esm2022/lib/datatable/data/object-datatable-adapter.mjs +134 -0
  251. package/esm2022/lib/datatable/data-column/data-column-header.component.mjs +45 -0
  252. package/esm2022/lib/datatable/data-column/data-column-list.component.mjs +36 -0
  253. package/esm2022/lib/datatable/data-column/data-column.component.mjs +114 -0
  254. package/esm2022/lib/datatable/data-column/index.mjs +18 -0
  255. package/esm2022/lib/datatable/data-column/public-api.mjs +20 -0
  256. package/esm2022/lib/datatable/datatable.module.mjs +161 -0
  257. package/esm2022/lib/datatable/directives/custom-empty-content-template.directive.mjs +35 -0
  258. package/esm2022/lib/datatable/directives/custom-loading-template.directive.mjs +30 -0
  259. package/esm2022/lib/datatable/directives/custom-no-permission-template.directive.mjs +35 -0
  260. package/esm2022/lib/datatable/directives/drop-zone.directive.mjs +89 -0
  261. package/esm2022/lib/datatable/directives/header-filter-template.directive.mjs +43 -0
  262. package/esm2022/lib/datatable/directives/loading-template.directive.mjs +46 -0
  263. package/esm2022/lib/datatable/directives/main-data-table-action-template.directive.mjs +43 -0
  264. package/esm2022/lib/datatable/directives/no-content-template.directive.mjs +46 -0
  265. package/esm2022/lib/datatable/directives/no-permission-template.directive.mjs +46 -0
  266. package/esm2022/lib/datatable/directives/resizable/resizable.directive.mjs +173 -0
  267. package/esm2022/lib/datatable/directives/resizable/resize-handle.directive.mjs +72 -0
  268. package/esm2022/lib/datatable/directives/resizable/types.mjs +18 -0
  269. package/esm2022/lib/datatable/index.mjs +18 -0
  270. package/esm2022/lib/datatable/public-api.mjs +55 -0
  271. package/esm2022/lib/datatable/services/datatable.service.mjs +33 -0
  272. package/esm2022/lib/dialogs/confirm-dialog/confirm.dialog.mjs +50 -0
  273. package/esm2022/lib/dialogs/confirm-dialog/confirm.dialog.module.mjs +38 -0
  274. package/esm2022/lib/dialogs/dialog/dialog-data.interface.mjs +18 -0
  275. package/esm2022/lib/dialogs/dialog/dialog.component.mjs +71 -0
  276. package/esm2022/lib/dialogs/dialog/dialog.model.mjs +22 -0
  277. package/esm2022/lib/dialogs/dialog/index.mjs +20 -0
  278. package/esm2022/lib/dialogs/edit-json/edit-json.dialog.mjs +51 -0
  279. package/esm2022/lib/dialogs/edit-json/edit-json.dialog.module.mjs +38 -0
  280. package/esm2022/lib/dialogs/index.mjs +18 -0
  281. package/esm2022/lib/dialogs/public-api.mjs +25 -0
  282. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +74 -0
  283. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.model.mjs +18 -0
  284. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +33 -0
  285. package/esm2022/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.mjs +64 -0
  286. package/esm2022/lib/directives/directive.module.mjs +56 -0
  287. package/esm2022/lib/directives/highlight.directive.mjs +67 -0
  288. package/esm2022/lib/directives/index.mjs +18 -0
  289. package/esm2022/lib/directives/infinite-select-scroll.directive.mjs +67 -0
  290. package/esm2022/lib/directives/logout.directive.mjs +72 -0
  291. package/esm2022/lib/directives/public-api.mjs +24 -0
  292. package/esm2022/lib/directives/tooltip-card/tooltip-card.component.mjs +60 -0
  293. package/esm2022/lib/directives/tooltip-card/tooltip-card.directive.mjs +104 -0
  294. package/esm2022/lib/directives/upload.directive.mjs +241 -0
  295. package/esm2022/lib/dynamic-chip-list/chip.mjs +18 -0
  296. package/esm2022/lib/dynamic-chip-list/dynamic-chip-list.component.mjs +205 -0
  297. package/esm2022/lib/dynamic-chip-list/dynamic-chip-list.module.mjs +33 -0
  298. package/esm2022/lib/dynamic-chip-list/index.mjs +18 -0
  299. package/esm2022/lib/dynamic-chip-list/public-api.mjs +20 -0
  300. package/esm2022/lib/events/base-ui.event.mjs +21 -0
  301. package/esm2022/lib/events/base.event.mjs +29 -0
  302. package/esm2022/lib/events/index.mjs +18 -0
  303. package/esm2022/lib/events/public-api.mjs +19 -0
  304. package/esm2022/lib/form/components/form-base.component.mjs +229 -0
  305. package/esm2022/lib/form/components/form-custom-button.directive.mjs +30 -0
  306. package/esm2022/lib/form/components/form-field/form-field.component.mjs +142 -0
  307. package/esm2022/lib/form/components/form-renderer.component.mjs +171 -0
  308. package/esm2022/lib/form/components/form-section/form-section.component.mjs +46 -0
  309. package/esm2022/lib/form/components/inplace-form-input/inplace-form-input.component.mjs +37 -0
  310. package/esm2022/lib/form/components/middlewares/decimal-middleware.service.mjs +48 -0
  311. package/esm2022/lib/form/components/middlewares/middleware.mjs +19 -0
  312. package/esm2022/lib/form/components/widgets/amount/amount.widget.mjs +78 -0
  313. package/esm2022/lib/form/components/widgets/base-viewer/base-viewer.widget.mjs +60 -0
  314. package/esm2022/lib/form/components/widgets/checkbox/checkbox.widget.mjs +53 -0
  315. package/esm2022/lib/form/components/widgets/core/container-column.model.mjs +28 -0
  316. package/esm2022/lib/form/components/widgets/core/container.model.mjs +50 -0
  317. package/esm2022/lib/form/components/widgets/core/content-link.model.mjs +52 -0
  318. package/esm2022/lib/form/components/widgets/core/displayable-cm-properties.model.mjs +18 -0
  319. package/esm2022/lib/form/components/widgets/core/error-message.model.mjs +38 -0
  320. package/esm2022/lib/form/components/widgets/core/external-content-link.mjs +18 -0
  321. package/esm2022/lib/form/components/widgets/core/external-content.mjs +18 -0
  322. package/esm2022/lib/form/components/widgets/core/form-field-file-source.mjs +18 -0
  323. package/esm2022/lib/form/components/widgets/core/form-field-metadata.mjs +18 -0
  324. package/esm2022/lib/form/components/widgets/core/form-field-option.mjs +18 -0
  325. package/esm2022/lib/form/components/widgets/core/form-field-rule.mjs +18 -0
  326. package/esm2022/lib/form/components/widgets/core/form-field-selected-folder.mjs +18 -0
  327. package/esm2022/lib/form/components/widgets/core/form-field-templates.mjs +18 -0
  328. package/esm2022/lib/form/components/widgets/core/form-field-types.mjs +74 -0
  329. package/esm2022/lib/form/components/widgets/core/form-field-utils.mjs +23 -0
  330. package/esm2022/lib/form/components/widgets/core/form-field-validator.mjs +268 -0
  331. package/esm2022/lib/form/components/widgets/core/form-field-variable-options.mjs +18 -0
  332. package/esm2022/lib/form/components/widgets/core/form-field.model.mjs +482 -0
  333. package/esm2022/lib/form/components/widgets/core/form-outcome-event.model.mjs +32 -0
  334. package/esm2022/lib/form/components/widgets/core/form-outcome.model.mjs +38 -0
  335. package/esm2022/lib/form/components/widgets/core/form-values.mjs +18 -0
  336. package/esm2022/lib/form/components/widgets/core/form-variable.model.mjs +18 -0
  337. package/esm2022/lib/form/components/widgets/core/form-widget.model.mjs +33 -0
  338. package/esm2022/lib/form/components/widgets/core/form.model.mjs +384 -0
  339. package/esm2022/lib/form/components/widgets/core/group.model.mjs +18 -0
  340. package/esm2022/lib/form/components/widgets/core/index.mjs +49 -0
  341. package/esm2022/lib/form/components/widgets/core/predefined-theme.mjs +115 -0
  342. package/esm2022/lib/form/components/widgets/core/process-form-model.interface.mjs +18 -0
  343. package/esm2022/lib/form/components/widgets/core/process-variable.model.mjs +18 -0
  344. package/esm2022/lib/form/components/widgets/core/tab.model.mjs +34 -0
  345. package/esm2022/lib/form/components/widgets/core/theme.model.mjs +18 -0
  346. package/esm2022/lib/form/components/widgets/core/upload-widget-content-link.model.mjs +27 -0
  347. package/esm2022/lib/form/components/widgets/core/widget-schema.model.mjs +18 -0
  348. package/esm2022/lib/form/components/widgets/date/date.widget.mjs +163 -0
  349. package/esm2022/lib/form/components/widgets/date-time/date-time.widget.mjs +154 -0
  350. package/esm2022/lib/form/components/widgets/decimal/decimal.component.mjs +54 -0
  351. package/esm2022/lib/form/components/widgets/display-text/display-text.schema.mjs +86 -0
  352. package/esm2022/lib/form/components/widgets/display-text/display-text.widget.mjs +47 -0
  353. package/esm2022/lib/form/components/widgets/display-text/index.mjs +19 -0
  354. package/esm2022/lib/form/components/widgets/error/error.component.mjs +93 -0
  355. package/esm2022/lib/form/components/widgets/header/header.schema.mjs +86 -0
  356. package/esm2022/lib/form/components/widgets/header/header.widget.mjs +43 -0
  357. package/esm2022/lib/form/components/widgets/header/index.mjs +19 -0
  358. package/esm2022/lib/form/components/widgets/hyperlink/hyperlink.widget.mjs +71 -0
  359. package/esm2022/lib/form/components/widgets/index.mjs +71 -0
  360. package/esm2022/lib/form/components/widgets/json/json.widget.mjs +67 -0
  361. package/esm2022/lib/form/components/widgets/multiline-text/multiline-text.widget.mjs +56 -0
  362. package/esm2022/lib/form/components/widgets/number/number.widget.mjs +66 -0
  363. package/esm2022/lib/form/components/widgets/reactive-widget.interface.mjs +18 -0
  364. package/esm2022/lib/form/components/widgets/text/text-mask.component.mjs +215 -0
  365. package/esm2022/lib/form/components/widgets/text/text.widget.mjs +66 -0
  366. package/esm2022/lib/form/components/widgets/unknown/unknown.widget.mjs +63 -0
  367. package/esm2022/lib/form/components/widgets/widget.component.mjs +110 -0
  368. package/esm2022/lib/form/events/form-error.event.mjs +24 -0
  369. package/esm2022/lib/form/events/form-field.event.mjs +24 -0
  370. package/esm2022/lib/form/events/form-rules.event.mjs +25 -0
  371. package/esm2022/lib/form/events/form-spinner.event.mjs +23 -0
  372. package/esm2022/lib/form/events/form.event.mjs +29 -0
  373. package/esm2022/lib/form/events/index.mjs +24 -0
  374. package/esm2022/lib/form/events/validate-form-field.event.mjs +24 -0
  375. package/esm2022/lib/form/events/validate-form.event.mjs +25 -0
  376. package/esm2022/lib/form/form-base.module.mjs +90 -0
  377. package/esm2022/lib/form/index.mjs +18 -0
  378. package/esm2022/lib/form/models/form-rules.model.mjs +77 -0
  379. package/esm2022/lib/form/models/task-process-variable.model.mjs +19 -0
  380. package/esm2022/lib/form/models/widget-visibility.model.mjs +104 -0
  381. package/esm2022/lib/form/pipes/field-style.pipe.mjs +45 -0
  382. package/esm2022/lib/form/pipes/index.mjs +18 -0
  383. package/esm2022/lib/form/public-api.mjs +34 -0
  384. package/esm2022/lib/form/services/form-rendering.service.mjs +53 -0
  385. package/esm2022/lib/form/services/form-validation-service.interface.mjs +18 -0
  386. package/esm2022/lib/form/services/form.service.mjs +86 -0
  387. package/esm2022/lib/form/services/widget-visibility.service.mjs +294 -0
  388. package/esm2022/lib/header/header.component.mjs +73 -0
  389. package/esm2022/lib/header/index.mjs +18 -0
  390. package/esm2022/lib/header/navbar/navbar-item.component.mjs +37 -0
  391. package/esm2022/lib/header/navbar/navbar.component.mjs +36 -0
  392. package/esm2022/lib/header/public-api.mjs +20 -0
  393. package/esm2022/lib/icon/icon.component.mjs +51 -0
  394. package/esm2022/lib/icon/icon.module.mjs +36 -0
  395. package/esm2022/lib/icon/index.mjs +18 -0
  396. package/esm2022/lib/icon/public-api.mjs +19 -0
  397. package/esm2022/lib/identity-user-info/identity-user-info.component.mjs +87 -0
  398. package/esm2022/lib/identity-user-info/identity-user-info.module.mjs +33 -0
  399. package/esm2022/lib/identity-user-info/index.mjs +18 -0
  400. package/esm2022/lib/identity-user-info/public-api.mjs +19 -0
  401. package/esm2022/lib/info-drawer/index.mjs +18 -0
  402. package/esm2022/lib/info-drawer/info-drawer-layout.component.mjs +71 -0
  403. package/esm2022/lib/info-drawer/info-drawer.component.mjs +114 -0
  404. package/esm2022/lib/info-drawer/info-drawer.module.mjs +53 -0
  405. package/esm2022/lib/info-drawer/public-api.mjs +20 -0
  406. package/esm2022/lib/interface/index.mjs +18 -0
  407. package/esm2022/lib/interface/injection.tokens.mjs +19 -0
  408. package/esm2022/lib/interface/public-api.mjs +18 -0
  409. package/esm2022/lib/language-menu/index.mjs +18 -0
  410. package/esm2022/lib/language-menu/language-menu.component.mjs +61 -0
  411. package/esm2022/lib/language-menu/language-menu.module.mjs +35 -0
  412. package/esm2022/lib/language-menu/language-picker.component.mjs +78 -0
  413. package/esm2022/lib/language-menu/public-api.mjs +21 -0
  414. package/esm2022/lib/language-menu/service/language.service.interface.mjs +18 -0
  415. package/esm2022/lib/language-menu/service/language.service.mjs +34 -0
  416. package/esm2022/lib/layout/components/header/header.component.mjs +100 -0
  417. package/esm2022/lib/layout/components/layout-container/layout-container.component.mjs +180 -0
  418. package/esm2022/lib/layout/components/sidebar-action/sidebar-action-menu.component.mjs +82 -0
  419. package/esm2022/lib/layout/components/sidenav-layout/sidenav-layout.component.mjs +145 -0
  420. package/esm2022/lib/layout/directives/sidenav-layout-content.directive.mjs +33 -0
  421. package/esm2022/lib/layout/directives/sidenav-layout-header.directive.mjs +33 -0
  422. package/esm2022/lib/layout/directives/sidenav-layout-navigation.directive.mjs +33 -0
  423. package/esm2022/lib/layout/index.mjs +18 -0
  424. package/esm2022/lib/layout/layout.module.mjs +72 -0
  425. package/esm2022/lib/layout/public-api.mjs +25 -0
  426. package/esm2022/lib/login/components/login/login.component.mjs +368 -0
  427. package/esm2022/lib/login/components/login-dialog/login-dialog-component-data.interface.mjs +18 -0
  428. package/esm2022/lib/login/components/login-dialog/login-dialog.component.mjs +58 -0
  429. package/esm2022/lib/login/components/login-dialog-panel/login-dialog-panel.component.mjs +48 -0
  430. package/esm2022/lib/login/directives/login-footer.directive.mjs +41 -0
  431. package/esm2022/lib/login/directives/login-header.directive.mjs +41 -0
  432. package/esm2022/lib/login/index.mjs +18 -0
  433. package/esm2022/lib/login/login.module.mjs +54 -0
  434. package/esm2022/lib/login/models/login-error.event.mjs +22 -0
  435. package/esm2022/lib/login/models/login-submit.event.mjs +32 -0
  436. package/esm2022/lib/login/models/login-success.event.mjs +24 -0
  437. package/esm2022/lib/login/public-api.mjs +27 -0
  438. package/esm2022/lib/material.module.mjs +254 -0
  439. package/esm2022/lib/mock/cookie.service.mock.mjs +43 -0
  440. package/esm2022/lib/mock/data-column.mock.mjs +73 -0
  441. package/esm2022/lib/mock/event.mock.mjs +39 -0
  442. package/esm2022/lib/mock/form/form-definition-readonly.mock.mjs +225 -0
  443. package/esm2022/lib/mock/form/form-definition-visibility.mock.mjs +347 -0
  444. package/esm2022/lib/mock/form/form-definition.mock.mjs +403 -0
  445. package/esm2022/lib/mock/form/form.component.mock.mjs +275 -0
  446. package/esm2022/lib/mock/form/form.service.mock.mjs +248 -0
  447. package/esm2022/lib/mock/form/widget-visibility.service.mock.mjs +1835 -0
  448. package/esm2022/lib/mock/index.mjs +18 -0
  449. package/esm2022/lib/mock/public-api.mjs +27 -0
  450. package/esm2022/lib/mock/translation.service.mock.mjs +44 -0
  451. package/esm2022/lib/models/comment.model.mjs +51 -0
  452. package/esm2022/lib/models/component.model.mjs +24 -0
  453. package/esm2022/lib/models/decimal-number.model.mjs +26 -0
  454. package/esm2022/lib/models/general-user.model.mjs +24 -0
  455. package/esm2022/lib/models/index.mjs +18 -0
  456. package/esm2022/lib/models/pagination.model.mjs +29 -0
  457. package/esm2022/lib/models/path.model.mjs +24 -0
  458. package/esm2022/lib/models/product-version.model.mjs +28 -0
  459. package/esm2022/lib/models/public-api.mjs +24 -0
  460. package/esm2022/lib/models/request-pagination.model.mjs +25 -0
  461. package/esm2022/lib/notifications/components/add-notification.stories.component.mjs +44 -0
  462. package/esm2022/lib/notifications/components/notification-history.component.mjs +139 -0
  463. package/esm2022/lib/notifications/helpers/notification.factory.mjs +43 -0
  464. package/esm2022/lib/notifications/index.mjs +18 -0
  465. package/esm2022/lib/notifications/models/notification.model.mjs +25 -0
  466. package/esm2022/lib/notifications/notification-history.module.mjs +35 -0
  467. package/esm2022/lib/notifications/public-api.mjs +23 -0
  468. package/esm2022/lib/notifications/services/notification.service.mjs +166 -0
  469. package/esm2022/lib/pagination/index.mjs +18 -0
  470. package/esm2022/lib/pagination/infinite-pagination.component.mjs +112 -0
  471. package/esm2022/lib/pagination/paginated-component.interface.mjs +18 -0
  472. package/esm2022/lib/pagination/pagination-component.interface.mjs +18 -0
  473. package/esm2022/lib/pagination/pagination.component.mjs +263 -0
  474. package/esm2022/lib/pagination/pagination.module.mjs +35 -0
  475. package/esm2022/lib/pagination/public-api.mjs +22 -0
  476. package/esm2022/lib/pipes/date-time.pipe.mjs +46 -0
  477. package/esm2022/lib/pipes/decimal-number.pipe.mjs +78 -0
  478. package/esm2022/lib/pipes/file-size.pipe.mjs +54 -0
  479. package/esm2022/lib/pipes/file-type.pipe.mjs +40 -0
  480. package/esm2022/lib/pipes/format-space.pipe.mjs +39 -0
  481. package/esm2022/lib/pipes/full-name.pipe.mjs +43 -0
  482. package/esm2022/lib/pipes/index.mjs +18 -0
  483. package/esm2022/lib/pipes/localized-date.pipe.mjs +70 -0
  484. package/esm2022/lib/pipes/multi-value.pipe.mjs +37 -0
  485. package/esm2022/lib/pipes/pipe.module.mjs +83 -0
  486. package/esm2022/lib/pipes/public-api.mjs +30 -0
  487. package/esm2022/lib/pipes/text-highlight.pipe.mjs +39 -0
  488. package/esm2022/lib/pipes/time-ago.pipe.mjs +65 -0
  489. package/esm2022/lib/pipes/truncate.pipe.mjs +33 -0
  490. package/esm2022/lib/pipes/user-initial.pipe.mjs +52 -0
  491. package/esm2022/lib/pipes/user-like.interface.mjs +18 -0
  492. package/esm2022/lib/progress/progress.component.mjs +90 -0
  493. package/esm2022/lib/search-text/animations.mjs +32 -0
  494. package/esm2022/lib/search-text/index.mjs +18 -0
  495. package/esm2022/lib/search-text/models/search-text-input.model.mjs +23 -0
  496. package/esm2022/lib/search-text/public-api.mjs +22 -0
  497. package/esm2022/lib/search-text/search-text-input.component.mjs +294 -0
  498. package/esm2022/lib/search-text/search-text-input.module.mjs +35 -0
  499. package/esm2022/lib/search-text/search-trigger.directive.mjs +181 -0
  500. package/esm2022/lib/snackbar-content/index.mjs +18 -0
  501. package/esm2022/lib/snackbar-content/public-api.mjs +20 -0
  502. package/esm2022/lib/snackbar-content/snack-bar-data.mjs +18 -0
  503. package/esm2022/lib/snackbar-content/snackbar-content.component.mjs +48 -0
  504. package/esm2022/lib/snackbar-content/snackbar-content.module.mjs +38 -0
  505. package/esm2022/lib/sorting-picker/index.mjs +18 -0
  506. package/esm2022/lib/sorting-picker/public-api.mjs +18 -0
  507. package/esm2022/lib/sorting-picker/sorting-picker.component.mjs +68 -0
  508. package/esm2022/lib/templates/empty-content/empty-content.component.mjs +44 -0
  509. package/esm2022/lib/templates/error-content/error-content.component.mjs +62 -0
  510. package/esm2022/lib/templates/index.mjs +18 -0
  511. package/esm2022/lib/templates/public-api.mjs +20 -0
  512. package/esm2022/lib/templates/template.module.mjs +38 -0
  513. package/esm2022/lib/testing/core.story.module.mjs +39 -0
  514. package/esm2022/lib/testing/core.testing.module.mjs +35 -0
  515. package/esm2022/lib/testing/index.mjs +22 -0
  516. package/esm2022/lib/testing/noop-auth.module.mjs +80 -0
  517. package/esm2022/lib/testing/noop-translate.module.mjs +61 -0
  518. package/esm2022/lib/testing/unit-testing-utils.mjs +364 -0
  519. package/esm2022/lib/toolbar/index.mjs +18 -0
  520. package/esm2022/lib/toolbar/public-api.mjs +21 -0
  521. package/esm2022/lib/toolbar/toolbar-divider.component.mjs +27 -0
  522. package/esm2022/lib/toolbar/toolbar-title.component.mjs +32 -0
  523. package/esm2022/lib/toolbar/toolbar.component.mjs +40 -0
  524. package/esm2022/lib/toolbar/toolbar.module.mjs +36 -0
  525. package/esm2022/lib/translation/index.mjs +18 -0
  526. package/esm2022/lib/translation/public-api.mjs +19 -0
  527. package/esm2022/lib/translation/translate-loader.service.mjs +148 -0
  528. package/esm2022/lib/translation/translation.service.mjs +148 -0
  529. package/esm2022/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.mjs +37 -0
  530. package/esm2022/lib/viewer/components/img-viewer/img-viewer.component.mjs +221 -0
  531. package/esm2022/lib/viewer/components/media-player/media-player.component.mjs +64 -0
  532. package/esm2022/lib/viewer/components/pdf-viewer/pdf-viewer.component.mjs +528 -0
  533. package/esm2022/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.mjs +61 -0
  534. package/esm2022/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.mjs +49 -0
  535. package/esm2022/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.mjs +198 -0
  536. package/esm2022/lib/viewer/components/txt-viewer/txt-viewer.component.mjs +77 -0
  537. package/esm2022/lib/viewer/components/unknown-format/unknown-format.component.mjs +33 -0
  538. package/esm2022/lib/viewer/components/viewer-more-actions.component.mjs +34 -0
  539. package/esm2022/lib/viewer/components/viewer-open-with.component.mjs +34 -0
  540. package/esm2022/lib/viewer/components/viewer-render/viewer-render.component.mjs +211 -0
  541. package/esm2022/lib/viewer/components/viewer-sidebar.component.mjs +46 -0
  542. package/esm2022/lib/viewer/components/viewer-toolbar-actions.component.mjs +34 -0
  543. package/esm2022/lib/viewer/components/viewer-toolbar-custom-actions.component.mjs +34 -0
  544. package/esm2022/lib/viewer/components/viewer-toolbar.component.mjs +34 -0
  545. package/esm2022/lib/viewer/components/viewer.component.mjs +462 -0
  546. package/esm2022/lib/viewer/directives/viewer-extension.directive.mjs +67 -0
  547. package/esm2022/lib/viewer/index.mjs +18 -0
  548. package/esm2022/lib/viewer/models/download-prompt.actions.mjs +23 -0
  549. package/esm2022/lib/viewer/models/viewer.model.mjs +22 -0
  550. package/esm2022/lib/viewer/public-api.mjs +40 -0
  551. package/esm2022/lib/viewer/services/rendering-queue.services.mjs +179 -0
  552. package/esm2022/lib/viewer/services/view-util.service.mjs +149 -0
  553. package/esm2022/lib/viewer/viewer.module.mjs +112 -0
  554. package/esm2022/public-api.mjs +60 -0
  555. package/esm2022/shell/alfresco-adf-core-shell.mjs +5 -0
  556. package/esm2022/shell/index.mjs +20 -0
  557. package/esm2022/shell/lib/components/shell/shell.component.mjs +122 -0
  558. package/esm2022/shell/lib/services/shell-app.service.mjs +22 -0
  559. package/esm2022/shell/lib/shell.module.mjs +79 -0
  560. package/esm2022/shell/lib/shell.routes.mjs +25 -0
  561. package/feature-flags/lib/providers/debug-feature-flags.provider.d.ts +35 -4
  562. package/fesm2022/adf-core.mjs +1012 -976
  563. package/fesm2022/adf-core.mjs.map +1 -1
  564. package/fesm2022/alfresco-adf-core-api.mjs +3 -3
  565. package/fesm2022/alfresco-adf-core-auth.mjs +3 -3
  566. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +10 -10
  567. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
  568. package/fesm2022/alfresco-adf-core-feature-flags.mjs +56 -51
  569. package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
  570. package/fesm2022/alfresco-adf-core-shell.mjs +8 -8
  571. package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
  572. package/lib/card-view/components/base-card-view.d.ts +1 -1
  573. package/lib/datatable/data/data-table.schema.d.ts +1 -1
  574. package/lib/prebuilt-themes/adf-blue-orange.css +1 -1
  575. package/lib/prebuilt-themes/adf-blue-purple.css +1 -1
  576. package/lib/prebuilt-themes/adf-cyan-orange.css +1 -1
  577. package/lib/prebuilt-themes/adf-cyan-purple.css +1 -1
  578. package/lib/prebuilt-themes/adf-green-orange.css +1 -1
  579. package/lib/prebuilt-themes/adf-green-purple.css +1 -1
  580. package/lib/prebuilt-themes/adf-indigo-pink.css +1 -1
  581. package/lib/prebuilt-themes/adf-pink-bluegrey.css +1 -1
  582. package/lib/prebuilt-themes/adf-purple-green.css +1 -1
  583. package/lib/styles/_components-variables.scss +42 -42
  584. package/lib/styles/_index.scss +57 -57
  585. package/lib/styles/_typography.scss +13 -13
  586. package/lib/styles/prebuilt/adf-blue-orange.scss +6 -7
  587. package/lib/styles/prebuilt/adf-blue-purple.scss +6 -7
  588. package/lib/styles/prebuilt/adf-cyan-orange.scss +6 -7
  589. package/lib/styles/prebuilt/adf-cyan-purple.scss +6 -7
  590. package/lib/styles/prebuilt/adf-green-orange.scss +6 -7
  591. package/lib/styles/prebuilt/adf-green-purple.scss +6 -7
  592. package/lib/styles/prebuilt/adf-indigo-pink.scss +6 -7
  593. package/lib/styles/prebuilt/adf-pink-bluegrey.scss +6 -7
  594. package/lib/styles/prebuilt/adf-purple-green.scss +6 -7
  595. package/lib/viewer/components/pdf-viewer/pdf-viewer.component.d.ts +14 -10
  596. package/lib/viewer/components/viewer-render/viewer-render.component.scss +4 -0
  597. package/package.json +15 -3
  598. package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -1
  599. package/schematics/migrations/schematics/migrations/7_0_0/index.js +2 -2
  600. package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
@@ -451,10 +451,10 @@ class AdfHttpClient {
451
451
  static deserializeBlobResponse(response) {
452
452
  return new Blob([response.body], { type: response.headers.get('Content-Type') });
453
453
  }
454
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AdfHttpClient, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
455
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AdfHttpClient, providedIn: 'root' }); }
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' }); }
456
456
  }
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AdfHttpClient, decorators: [{
457
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AdfHttpClient, decorators: [{
458
458
  type: Injectable,
459
459
  args: [{
460
460
  providedIn: 'root'
@@ -65,10 +65,10 @@ class AuthenticationInterceptor {
65
65
  }
66
66
  return headers;
67
67
  }
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthenticationInterceptor, deps: [{ token: Authentication }], target: i0.ɵɵFactoryTarget.Injectable }); }
69
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthenticationInterceptor }); }
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 }); }
70
70
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: AuthenticationInterceptor, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuthenticationInterceptor, decorators: [{
72
72
  type: Injectable
73
73
  }], ctorParameters: () => [{ type: Authentication }] });
74
74
 
@@ -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: "19.2.6", ngImport: i0, type: BreadcrumbFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
42
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.6", 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: "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 }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbFocusDirective, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbFocusDirective, decorators: [{
45
45
  type: Directive,
46
46
  args: [{
47
47
  standalone: true,
@@ -69,14 +69,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
69
69
  * limitations under the License.
70
70
  */
71
71
  class BreadcrumbItemComponent {
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
73
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", 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: "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: `
74
74
  <ng-template #breadcrumbItemTemplate>
75
75
  <ng-content />
76
76
  </ng-template>
77
77
  `, isInline: true }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbItemComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbItemComponent, decorators: [{
80
80
  type: Component,
81
81
  args: [{
82
82
  standalone: true,
@@ -144,12 +144,12 @@ 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: "19.2.6", ngImport: i0, type: BreadcrumbComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", 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: "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 }); }
149
149
  }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BreadcrumbComponent, decorators: [{
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: BreadcrumbComponent, decorators: [{
151
151
  type: Component,
152
- args: [{ 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"] }]
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
153
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { compact: [{
154
154
  type: Input
155
155
  }], compactChange: [{
@@ -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-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(root.querySelectorAll(allFocusableElements) as NodeListOf<HTMLElement>).filter(\n (element) => !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 />\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 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;;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,CAAC,CAC1E;;8GAXI,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,E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AAA,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;;;AE5D5C;;;;;;;;;;;;;;;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(root.querySelectorAll(allFocusableElements) as NodeListOf<HTMLElement>).filter(\n (element) => !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 />\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;;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,CAAC,CAC1E;;8GAXI,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,sBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE;AACV;AACJ,iBAAA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from '@angular/core';
2
- import { InjectionToken, Input, Inject, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive, inject, Injectable, Optional, provideAppInitializer } from '@angular/core';
2
+ import { InjectionToken, Input, Inject, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive, inject, Injectable, Optional, APP_INITIALIZER } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule, DOCUMENT } from '@angular/common';
5
5
  import { BehaviorSubject, combineLatest, of } from 'rxjs';
@@ -19,10 +19,11 @@ import { MatInputModule } from '@angular/material/input';
19
19
  import * as i2 from '@angular/forms';
20
20
  import { FormsModule } from '@angular/forms';
21
21
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
22
- import * as i9 from '@angular/material/dialog';
22
+ import * as i10 from '@angular/material/dialog';
23
23
  import { MatDialogModule } from '@angular/material/dialog';
24
- import * as i10 from '@ngx-translate/core';
24
+ import * as i11 from '@ngx-translate/core';
25
25
  import { TranslateModule } from '@ngx-translate/core';
26
+ import * as i9 from '@angular/material/form-field';
26
27
  import * as i1$1 from '@alfresco/adf-core';
27
28
 
28
29
  /*!
@@ -79,15 +80,15 @@ class FlagsOverrideComponent {
79
80
  });
80
81
  }
81
82
  }
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FlagsOverrideComponent, deps: [{ token: FeaturesServiceToken }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
83
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: FlagsOverrideComponent, isStandalone: true, selector: "adf-feature-flags-override-indicator", inputs: { size: "size" }, ngImport: i0, template: `
83
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FlagsOverrideComponent, deps: [{ token: FeaturesServiceToken }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
84
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", type: FlagsOverrideComponent, isStandalone: true, selector: "adf-feature-flags-override-indicator", inputs: { size: "size" }, ngImport: i0, template: `
84
85
  <span [ngClass]="['activity-indicator', size]" *ngIf="isEnabled; else inActive">🟢</span>
85
86
  <ng-template #inActive><span [ngClass]="['activity-indicator', size]">🔴</span></ng-template>
86
87
  `, isInline: true, styles: [".adf-activity-indicator{font-size:.885rem}\n", ".adf-activity-indicator .small{font-size:.7rem}\n", ".adf-activity-indicator .large{font-size:1.2rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
87
88
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FlagsOverrideComponent, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FlagsOverrideComponent, decorators: [{
89
90
  type: Component,
90
- args: [{ selector: 'adf-feature-flags-override-indicator', imports: [CommonModule], template: `
91
+ args: [{ selector: 'adf-feature-flags-override-indicator', standalone: true, imports: [CommonModule], template: `
91
92
  <span [ngClass]="['activity-indicator', size]" *ngIf="isEnabled; else inActive">🟢</span>
92
93
  <ng-template #inActive><span [ngClass]="['activity-indicator', size]">🔴</span></ng-template>
93
94
  `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".adf-activity-indicator{font-size:.885rem}\n", ".adf-activity-indicator .small{font-size:.7rem}\n", ".adf-activity-indicator .large{font-size:1.2rem}\n"] }]
@@ -174,12 +175,12 @@ class FlagsComponent {
174
175
  onDelete(flag) {
175
176
  this.writableFeaturesService.removeFlag(flag);
176
177
  }
177
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FlagsComponent, deps: [{ token: FeaturesServiceToken }, { token: WritableFeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Component }); }
178
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: FlagsComponent, isStandalone: true, selector: "adf-feature-flags-overrides", ngImport: i0, template: "<mat-toolbar class=\"adf-feature-flags-overrides-header\">\n <div class=\"adf-feature-flags-overrides-header-text\" tabindex=\"0\">\n <adf-feature-flags-override-indicator\n class=\"adf-activity-indicator\"\n size='large' />\n <span>{{ \"CORE.FEATURE-FLAGS.OVERRIDES\" | translate }}</span>\n </div>\n <mat-slide-toggle\n [checked]=\"isEnabled\"\n (change)=\"onEnable($event.checked)\" />\n <button\n class=\"adf-feature-flags-overrides-header-close\"\n mat-icon-button\n mat-dialog-close>\n <mat-icon>close</mat-icon>\n </button>\n</mat-toolbar>\n\n<ng-container *ngIf=\"flags$ | async as flags\">\n <table mat-table [dataSource]=\"flags\" class=\"adf-feature-flags-overrides-table mat-elevation-z0\">\n <ng-container matColumnDef=\"icon\">\n <th mat-header-cell class=\"adf-icon-col adf-header-cell\" *matHeaderCellDef>\n <mat-icon class=\"material-icons-outlined adf-search-icon\">search</mat-icon>\n </th>\n <td mat-cell class=\"adf-icon-col\" *matCellDef=\"let element\">\n <button mat-icon-button *ngIf=\"element.fictive; else flagFromApi\" class=\"adf-fictive-flag-button\" (click)=\"onDelete(element.flag)\">\n <mat-icon class=\"material-icons-outlined adf-custom-flag-icon\" fontIcon=\"memory\" />\n <mat-icon class=\"material-icons-outlined adf-trash-icon\" fontIcon=\"delete\" />\n </button>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"flag\">\n <th mat-header-cell class=\"flag-col header-cell\" *matHeaderCellDef>\n <mat-form-field class=\"adf-flag-form-field\" appearance=\"fill\" floatLabel=\"auto\">\n <input class=\"flag-input\" [placeholder]=\"(isEnabled ? 'CORE.FEATURE-FLAGS.FILTER_OR_ADD_NEW' : 'CORE.FEATURE-FLAGS.FILTER') | translate\" matInput type=\"text\" [(ngModel)]=\"inputValue\" (keyup)=\"onInputChange(inputValue)\" (keypress)=\"onAdd($event)\">\n </mat-form-field>\n </th>\n <td mat-cell class=\"flag-col\" *matCellDef=\"let element\">{{ element.flag }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"value\">\n <th mat-header-cell class=\"adf-val-col header-cell\" *matHeaderCellDef>\n <div class=\"adf-input-field-buttons-container\">\n <button *ngIf=\"showPlusButton$ | async\" mat-icon-button title=\"{{'CORE.FEATURE-FLAGS.ADD_NEW' | translate}}\" color=\"accent\" (click)=\"onAddButtonClick()\">\n <mat-icon class=\"material-icons-outlined\" fontIcon=\"add_circle\" />\n </button>\n <button *ngIf=\"inputValue\" matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"onClearInput()\" class=\"adf-clear-button\">\n <mat-icon>cancel</mat-icon>\n </button>\n </div>\n </th>\n <td mat-cell class=\"adf-val-col\" *matCellDef=\"let element\">\n <mat-slide-toggle\n [checked]=\"element.value\"\n (change)=\"onChange(element.flag, $event.checked)\"\n [disabled]=\"!isEnabled\" />\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n</ng-container>\n\n<ng-template #flagFromApi>\n <mat-icon class=\"material-icons-outlined\">cloud</mat-icon>\n</ng-template>\n\n", styles: [".adf-feature-flags-overrides-header{position:sticky;top:0;height:64px;z-index:101;display:flex}.adf-feature-flags-overrides-header .adf-activity-indicator{margin-right:12px;position:relative;top:-2px}.adf-feature-flags-overrides-header-text{flex:1}.adf-feature-flags-overrides-header-close{margin-left:12px}.adf-feature-flags-overrides-table{width:100%}.adf-feature-flags-overrides-table .adf-search-icon{position:relative;top:4px}.adf-feature-flags-overrides-table .adf-flag-form-field{width:100%;display:flex}.adf-feature-flags-overrides-table .adf-flag-form-field .mat-mdc-form-field-subscript-wrapper,.adf-feature-flags-overrides-table .adf-flag-form-field .mdc-line-ripple{display:none}.adf-feature-flags-overrides-table .adf-input-field-buttons-container{display:flex;justify-content:flex-end}.adf-feature-flags-overrides-table .adf-clear-button{margin-left:-14px}.adf-feature-flags-overrides-table .adf-fictive-flag-button{margin-left:-12px}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-custom-flag-icon{display:block}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-trash-icon,.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-custom-flag-icon{display:none}.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-trash-icon{display:block}.adf-feature-flags-overrides-table .adf-icon-col{width:56px;padding-left:24px}.adf-feature-flags-overrides-table .adf-val-col{width:85px}\n"], dependencies: [{ kind: "component", type: FlagsOverrideComponent, selector: "adf-feature-flags-override-indicator", inputs: ["size"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i8.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i8.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i9.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FlagsComponent, deps: [{ token: FeaturesServiceToken }, { token: WritableFeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Component }); }
179
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", type: FlagsComponent, isStandalone: true, selector: "adf-feature-flags-overrides", ngImport: i0, template: "<mat-toolbar class=\"adf-feature-flags-overrides-header\">\n <div class=\"adf-feature-flags-overrides-header-text\" tabindex=\"0\">\n <adf-feature-flags-override-indicator\n class=\"adf-activity-indicator\"\n size='large' />\n <span>{{ \"CORE.FEATURE-FLAGS.OVERRIDES\" | translate }}</span>\n </div>\n <mat-slide-toggle\n [checked]=\"isEnabled\"\n (change)=\"onEnable($event.checked)\" />\n <button\n class=\"adf-feature-flags-overrides-header-close\"\n mat-icon-button\n mat-dialog-close>\n <mat-icon>close</mat-icon>\n </button>\n</mat-toolbar>\n\n<ng-container *ngIf=\"flags$ | async as flags\">\n <table mat-table [dataSource]=\"flags\" class=\"adf-feature-flags-overrides-table mat-elevation-z0\">\n <ng-container matColumnDef=\"icon\">\n <th mat-header-cell class=\"adf-icon-col adf-header-cell\" *matHeaderCellDef>\n <mat-icon class=\"material-icons-outlined adf-search-icon\">search</mat-icon>\n </th>\n <td mat-cell class=\"adf-icon-col\" *matCellDef=\"let element\">\n <button mat-icon-button *ngIf=\"element.fictive; else flagFromApi\" class=\"adf-fictive-flag-button\" (click)=\"onDelete(element.flag)\">\n <mat-icon class=\"material-icons-outlined adf-custom-flag-icon\" fontIcon=\"memory\" />\n <mat-icon class=\"material-icons-outlined adf-trash-icon\" fontIcon=\"delete\" />\n </button>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"flag\">\n <th mat-header-cell class=\"flag-col header-cell\" *matHeaderCellDef>\n <mat-form-field class=\"adf-flag-form-field\" appearance=\"fill\" floatLabel=\"auto\">\n <input class=\"flag-input\" [placeholder]=\"(isEnabled ? 'CORE.FEATURE-FLAGS.FILTER_OR_ADD_NEW' : 'CORE.FEATURE-FLAGS.FILTER') | translate\" matInput type=\"text\" [(ngModel)]=\"inputValue\" (keyup)=\"onInputChange(inputValue)\" (keypress)=\"onAdd($event)\">\n </mat-form-field>\n </th>\n <td mat-cell class=\"flag-col\" *matCellDef=\"let element\">{{ element.flag }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"value\">\n <th mat-header-cell class=\"adf-val-col header-cell\" *matHeaderCellDef>\n <div class=\"adf-input-field-buttons-container\">\n <button *ngIf=\"showPlusButton$ | async\" mat-icon-button title=\"{{'CORE.FEATURE-FLAGS.ADD_NEW' | translate}}\" color=\"accent\" (click)=\"onAddButtonClick()\">\n <mat-icon class=\"material-icons-outlined\" fontIcon=\"add_circle\" />\n </button>\n <button *ngIf=\"inputValue\" matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"onClearInput()\" class=\"adf-clear-button\">\n <mat-icon>cancel</mat-icon>\n </button>\n </div>\n </th>\n <td mat-cell class=\"adf-val-col\" *matCellDef=\"let element\">\n <mat-slide-toggle\n [checked]=\"element.value\"\n (change)=\"onChange(element.flag, $event.checked)\"\n [disabled]=\"!isEnabled\" />\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n</ng-container>\n\n<ng-template #flagFromApi>\n <mat-icon class=\"material-icons-outlined\">cloud</mat-icon>\n</ng-template>\n\n", styles: [".adf-feature-flags-overrides-header{position:sticky;top:0;height:64px;z-index:101;display:flex}.adf-feature-flags-overrides-header .adf-activity-indicator{margin-right:12px;position:relative;top:-2px}.adf-feature-flags-overrides-header-text{flex:1}.adf-feature-flags-overrides-header-close{margin-left:12px}.adf-feature-flags-overrides-table{width:100%}.adf-feature-flags-overrides-table .adf-search-icon{position:relative;top:4px}.adf-feature-flags-overrides-table .adf-flag-form-field{width:100%;display:flex}.adf-feature-flags-overrides-table .adf-flag-form-field .mat-mdc-form-field-subscript-wrapper,.adf-feature-flags-overrides-table .adf-flag-form-field .mdc-line-ripple{display:none}.adf-feature-flags-overrides-table .adf-input-field-buttons-container{display:flex;justify-content:flex-end}.adf-feature-flags-overrides-table .adf-clear-button{margin-left:-14px}.adf-feature-flags-overrides-table .adf-fictive-flag-button{margin-left:-12px}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-custom-flag-icon{display:block}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-trash-icon,.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-custom-flag-icon{display:none}.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-trash-icon{display:block}.adf-feature-flags-overrides-table .adf-icon-col{width:56px;padding-left:24px}.adf-feature-flags-overrides-table .adf-val-col{width:85px}\n"], dependencies: [{ kind: "component", type: FlagsOverrideComponent, selector: "adf-feature-flags-override-indicator", inputs: ["size"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i10.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
179
180
  }
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FlagsComponent, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FlagsComponent, decorators: [{
181
182
  type: Component,
182
- args: [{ selector: 'adf-feature-flags-overrides', imports: [
183
+ args: [{ selector: 'adf-feature-flags-overrides', standalone: true, imports: [
183
184
  FlagsOverrideComponent,
184
185
  CommonModule,
185
186
  FormsModule,
@@ -217,16 +218,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
217
218
  * limitations under the License.
218
219
  */
219
220
  class FeatureFlagsWrapperComponent {
220
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FeatureFlagsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
221
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: FeatureFlagsWrapperComponent, isStandalone: true, selector: "adf-feature-flags-wrapper", ngImport: i0, template: `
221
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FeatureFlagsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
222
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", type: FeatureFlagsWrapperComponent, isStandalone: true, selector: "adf-feature-flags-wrapper", ngImport: i0, template: `
222
223
  <div class="adf-feature-flags-wrapper">
223
224
  <adf-feature-flags-overrides />
224
225
  </div>
225
226
  `, isInline: true, styles: [".adf-feature-flags-wrapper{width:100%;height:100%}\n"], dependencies: [{ kind: "component", type: FlagsComponent, selector: "adf-feature-flags-overrides" }] }); }
226
227
  }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FeatureFlagsWrapperComponent, decorators: [{
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FeatureFlagsWrapperComponent, decorators: [{
228
229
  type: Component,
229
- args: [{ selector: 'adf-feature-flags-wrapper', imports: [FlagsComponent], template: `
230
+ args: [{ selector: 'adf-feature-flags-wrapper', standalone: true, imports: [FlagsComponent], template: `
230
231
  <div class="adf-feature-flags-wrapper">
231
232
  <adf-feature-flags-overrides />
232
233
  </div>
@@ -274,10 +275,10 @@ class FeaturesDirective {
274
275
  this.hasView = false;
275
276
  }
276
277
  }
277
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FeaturesDirective, deps: [{ token: FeaturesServiceToken }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
278
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.6", type: FeaturesDirective, isStandalone: true, selector: "[adfForFeatures]", inputs: { adfForFeatures: "adfForFeatures" }, ngImport: i0 }); }
278
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FeaturesDirective, deps: [{ token: FeaturesServiceToken }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
279
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.3", type: FeaturesDirective, isStandalone: true, selector: "[adfForFeatures]", inputs: { adfForFeatures: "adfForFeatures" }, ngImport: i0 }); }
279
280
  }
280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FeaturesDirective, decorators: [{
281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: FeaturesDirective, decorators: [{
281
282
  type: Directive,
282
283
  args: [{
283
284
  /* eslint-disable-next-line @angular-eslint/directive-selector */
@@ -332,10 +333,10 @@ class NotFeaturesDirective {
332
333
  this.hasView = false;
333
334
  }
334
335
  }
335
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NotFeaturesDirective, deps: [{ token: FeaturesServiceToken }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
336
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.6", type: NotFeaturesDirective, isStandalone: true, selector: "[adfNotForFeatures]", inputs: { adfNotForFeatures: "adfNotForFeatures" }, ngImport: i0 }); }
336
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: NotFeaturesDirective, deps: [{ token: FeaturesServiceToken }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
337
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.3", type: NotFeaturesDirective, isStandalone: true, selector: "[adfNotForFeatures]", inputs: { adfNotForFeatures: "adfNotForFeatures" }, ngImport: i0 }); }
337
338
  }
338
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: NotFeaturesDirective, decorators: [{
339
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: NotFeaturesDirective, decorators: [{
339
340
  type: Directive,
340
341
  args: [{
341
342
  /* eslint-disable-next-line @angular-eslint/directive-selector */
@@ -373,10 +374,10 @@ class IsFeatureOn {
373
374
  canMatch(route) {
374
375
  return this.featuresServiceToken.isOn$(route?.data?.['feature']);
375
376
  }
376
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFeatureOn, deps: [{ token: FeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
377
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFeatureOn, providedIn: 'root' }); }
377
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFeatureOn, deps: [{ token: FeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
378
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFeatureOn, providedIn: 'root' }); }
378
379
  }
379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFeatureOn, decorators: [{
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFeatureOn, decorators: [{
380
381
  type: Injectable,
381
382
  args: [{ providedIn: 'root' }]
382
383
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -408,10 +409,10 @@ class IsFeatureOff {
408
409
  canMatch(route) {
409
410
  return this.featuresServiceToken.isOff$(route?.data?.['feature']);
410
411
  }
411
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFeatureOff, deps: [{ token: FeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
412
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFeatureOff, providedIn: 'root' }); }
412
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFeatureOff, deps: [{ token: FeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
413
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFeatureOff, providedIn: 'root' }); }
413
414
  }
414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFeatureOff, decorators: [{
415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFeatureOff, decorators: [{
415
416
  type: Injectable,
416
417
  args: [{ providedIn: 'root' }]
417
418
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -443,10 +444,10 @@ class IsFlagsOverrideOn {
443
444
  canMatch() {
444
445
  return !!this.devToolsToken;
445
446
  }
446
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFlagsOverrideOn, deps: [{ token: FlagsOverrideToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
447
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFlagsOverrideOn, providedIn: 'root' }); }
447
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFlagsOverrideOn, deps: [{ token: FlagsOverrideToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
448
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFlagsOverrideOn, providedIn: 'root' }); }
448
449
  }
449
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: IsFlagsOverrideOn, decorators: [{
450
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: IsFlagsOverrideOn, decorators: [{
450
451
  type: Injectable,
451
452
  args: [{ providedIn: 'root' }]
452
453
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -486,10 +487,10 @@ class DummyFeaturesService {
486
487
  getFlags$() {
487
488
  return of({});
488
489
  }
489
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DummyFeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
490
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DummyFeaturesService }); }
490
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DummyFeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
491
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DummyFeaturesService }); }
491
492
  }
492
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DummyFeaturesService, decorators: [{
493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DummyFeaturesService, decorators: [{
493
494
  type: Injectable
494
495
  }] });
495
496
 
@@ -662,10 +663,10 @@ class StorageFeaturesService {
662
663
  });
663
664
  this.flags.next(mergedFlags);
664
665
  }
665
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: StorageFeaturesService, deps: [{ token: i1$1.StorageService }, { token: WritableFeaturesServiceConfigToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
666
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: StorageFeaturesService, providedIn: 'root' }); }
666
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: StorageFeaturesService, deps: [{ token: i1$1.StorageService }, { token: WritableFeaturesServiceConfigToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
667
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: StorageFeaturesService, providedIn: 'root' }); }
667
668
  }
668
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: StorageFeaturesService, decorators: [{
669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: StorageFeaturesService, decorators: [{
669
670
  type: Injectable,
670
671
  args: [{ providedIn: 'root' }]
671
672
  }], ctorParameters: () => [{ type: i1$1.StorageService }, { type: undefined, decorators: [{
@@ -734,10 +735,10 @@ class DebugFeaturesService {
734
735
  isEnabled$() {
735
736
  return this.isInDebugMode$;
736
737
  }
737
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DebugFeaturesService, deps: [{ token: OverridableFeaturesServiceToken }, { token: WritableFeaturesServiceToken }, { token: i1$1.StorageService }, { token: WritableFeaturesServiceConfigToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
738
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DebugFeaturesService }); }
738
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DebugFeaturesService, deps: [{ token: OverridableFeaturesServiceToken }, { token: WritableFeaturesServiceToken }, { token: i1$1.StorageService }, { token: WritableFeaturesServiceConfigToken, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
739
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DebugFeaturesService }); }
739
740
  }
740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: DebugFeaturesService, decorators: [{
741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: DebugFeaturesService, decorators: [{
741
742
  type: Injectable
742
743
  }], ctorParameters: () => [{ type: undefined, decorators: [{
743
744
  type: Inject,
@@ -799,10 +800,10 @@ class QaFeaturesHelper {
799
800
  });
800
801
  return enabled;
801
802
  }
802
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: QaFeaturesHelper, deps: [{ token: i0.ApplicationRef }, { token: FeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
803
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: QaFeaturesHelper }); }
803
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: QaFeaturesHelper, deps: [{ token: i0.ApplicationRef }, { token: FeaturesServiceToken }], target: i0.ɵɵFactoryTarget.Injectable }); }
804
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: QaFeaturesHelper }); }
804
805
  }
805
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: QaFeaturesHelper, decorators: [{
806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: QaFeaturesHelper, decorators: [{
806
807
  type: Injectable
807
808
  }], ctorParameters: () => [{ type: i0.ApplicationRef }, { type: DebugFeaturesService, decorators: [{
808
809
  type: Inject,
@@ -837,16 +838,20 @@ function provideDebugFeatureFlags(config) {
837
838
  { provide: WritableFeaturesServiceConfigToken, useValue: config },
838
839
  { provide: WritableFeaturesServiceToken, useClass: StorageFeaturesService },
839
840
  { provide: QaFeaturesHelper, useClass: QaFeaturesHelper },
840
- provideAppInitializer(() => {
841
- const initializerFn = ((featuresService) => () => featuresService.init())(inject(WritableFeaturesServiceToken));
842
- return initializerFn();
843
- }),
844
- provideAppInitializer(() => {
845
- const initializerFn = ((qaFeaturesHelper, document) => () => {
841
+ {
842
+ provide: APP_INITIALIZER,
843
+ useFactory: (featuresService) => () => featuresService.init(),
844
+ deps: [WritableFeaturesServiceToken],
845
+ multi: true
846
+ },
847
+ {
848
+ provide: APP_INITIALIZER,
849
+ useFactory: (qaFeaturesHelper, document) => () => {
846
850
  document[config.helperExposeKeyOnDocument ?? 'featureOverrides'] = qaFeaturesHelper;
847
- })(inject(QaFeaturesHelper), inject(DOCUMENT));
848
- return initializerFn();
849
- })
851
+ },
852
+ deps: [QaFeaturesHelper, DOCUMENT],
853
+ multi: true
854
+ }
850
855
  ];
851
856
  }
852
857