@alfresco/adf-core 8.3.0 → 8.3.1

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 (304) hide show
  1. package/api/lib/adf-http-client.service.d.ts +3 -9
  2. package/app.config.schema.json +4 -3
  3. package/auth/authentication-interceptor/authentication.interceptor.d.ts +1 -3
  4. package/breadcrumbs/components/breadcrumb/breadcrumb.component.d.ts +2 -3
  5. package/breadcrumbs/directives/breadcrumb-focus.directive.d.ts +1 -19
  6. package/bundles/assets/adf-core/i18n/ar.json +0 -5
  7. package/bundles/assets/adf-core/i18n/cs.json +0 -5
  8. package/bundles/assets/adf-core/i18n/da.json +0 -5
  9. package/bundles/assets/adf-core/i18n/de.json +30 -13
  10. package/bundles/assets/adf-core/i18n/en.json +34 -17
  11. package/bundles/assets/adf-core/i18n/es.json +30 -13
  12. package/bundles/assets/adf-core/i18n/fi.json +0 -5
  13. package/bundles/assets/adf-core/i18n/fr.json +30 -13
  14. package/bundles/assets/adf-core/i18n/it.json +30 -13
  15. package/bundles/assets/adf-core/i18n/ja.json +0 -5
  16. package/bundles/assets/adf-core/i18n/nb.json +0 -5
  17. package/bundles/assets/adf-core/i18n/nl.json +0 -5
  18. package/bundles/assets/adf-core/i18n/pl.json +30 -13
  19. package/bundles/assets/adf-core/i18n/pt-BR.json +0 -5
  20. package/bundles/assets/adf-core/i18n/pt.json +30 -13
  21. package/bundles/assets/adf-core/i18n/ru.json +0 -5
  22. package/bundles/assets/adf-core/i18n/sv.json +0 -5
  23. package/bundles/assets/adf-core/i18n/zh-CN.json +0 -5
  24. package/custom-theme/material-theme.scss +13 -13
  25. package/custom-theme/theme/custom-palette-creator.scss +25 -27
  26. package/custom-theme/theme/custom-theme-palettes.scss +7 -7
  27. package/custom-theme/theme/theme-data.scss +13 -13
  28. package/custom-theme/theme/typography.scss +5 -5
  29. package/feature-flags/lib/components/feature-override-indicator.component.d.ts +2 -20
  30. package/feature-flags/lib/components/flags/flags.component.d.ts +4 -4
  31. package/feature-flags/lib/directives/features.directive.d.ts +5 -23
  32. package/feature-flags/lib/directives/not-features.directive.d.ts +5 -23
  33. package/feature-flags/lib/guards/is-feature-off.guard.d.ts +1 -3
  34. package/feature-flags/lib/guards/is-feature-on.guard.d.ts +1 -3
  35. package/feature-flags/lib/guards/is-flags-override-on.guard.d.ts +2 -3
  36. package/feature-flags/lib/services/debug-features.service.d.ts +6 -6
  37. package/feature-flags/lib/services/qa-features.helper.d.ts +2 -21
  38. package/feature-flags/lib/services/storage-features.service.d.ts +4 -4
  39. package/fesm2022/adf-core.mjs +4861 -4176
  40. package/fesm2022/adf-core.mjs.map +1 -1
  41. package/fesm2022/alfresco-adf-core-api.mjs +14 -16
  42. package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
  43. package/fesm2022/alfresco-adf-core-auth.mjs +7 -7
  44. package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
  45. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +21 -20
  46. package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
  47. package/fesm2022/alfresco-adf-core-feature-flags.mjs +84 -129
  48. package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
  49. package/fesm2022/alfresco-adf-core-shell.mjs +24 -32
  50. package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
  51. package/lib/about/about-license-list/about-license-list.component.d.ts +2 -1
  52. package/lib/about/about-license-list/about-license-list.component.scss +7 -0
  53. package/lib/about/about-server-settings/about-server-settings.component.d.ts +1 -3
  54. package/lib/about/interfaces.d.ts +1 -1
  55. package/lib/app-config/app-config-storage-prefix.factory.d.ts +3 -5
  56. package/lib/app-config/app-config.pipe.d.ts +1 -3
  57. package/lib/app-config/app-config.service.d.ts +31 -28
  58. package/lib/auth/authentication-interceptor/auth-bearer.interceptor.d.ts +2 -4
  59. package/lib/auth/basic-auth/basic-alfresco-auth.service.d.ts +2 -6
  60. package/lib/auth/basic-auth/content-auth.d.ts +4 -7
  61. package/lib/auth/basic-auth/process-auth.d.ts +4 -7
  62. package/lib/auth/guard/auth-guard.service.d.ts +7 -31
  63. package/lib/auth/models/oauth-config.model.d.ts +0 -1
  64. package/lib/auth/oidc/auth-config.service.d.ts +2 -5
  65. package/lib/auth/oidc/oidc-authentication.service.d.ts +4 -10
  66. package/lib/auth/oidc/redirect-auth.service.d.ts +6 -6
  67. package/lib/auth/oidc/retry-login.service.d.ts +1 -1
  68. package/lib/auth/services/authentication.service.d.ts +1 -19
  69. package/lib/auth/services/base-authentication.service.d.ts +1 -3
  70. package/lib/auth/services/identity-group.service.d.ts +2 -5
  71. package/lib/auth/services/identity-role.service.d.ts +1 -1
  72. package/lib/auth/services/identity-user.service.d.ts +3 -7
  73. package/lib/auth/services/jwt-helper.service.d.ts +1 -1
  74. package/lib/auth/services/oauth2.service.d.ts +1 -3
  75. package/lib/auth/services/time-sync.service.d.ts +3 -5
  76. package/lib/auth/services/user-access.service.d.ts +2 -5
  77. package/lib/card-view/components/card-view/card-view.component.d.ts +1 -3
  78. package/lib/card-view/components/card-view/card-view.component.scss +0 -90
  79. package/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.scss +1 -9
  80. package/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.d.ts +4 -2
  81. package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.d.ts +5 -10
  82. package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss +36 -41
  83. package/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.d.ts +3 -5
  84. package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.d.ts +4 -1
  85. package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +0 -12
  86. package/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.d.ts +1 -3
  87. package/lib/card-view/components/card-view-textitem/card-view-textitem.component.d.ts +5 -10
  88. package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +18 -19
  89. package/lib/card-view/directives/card-view-property-validator.directive.d.ts +28 -0
  90. package/lib/card-view/models/card-view-dateitem.model.d.ts +0 -2
  91. package/lib/card-view/public-api.d.ts +0 -1
  92. package/lib/card-view/validators/card-view-item-length.validator.d.ts +2 -2
  93. package/lib/card-view/validators/card-view-item-match.validator.d.ts +3 -3
  94. package/lib/card-view/validators/card-view-item-minmax.validator.d.ts +3 -3
  95. package/lib/clipboard/clipboard.directive.d.ts +6 -11
  96. package/lib/clipboard/clipboard.module.d.ts +5 -4
  97. package/lib/clipboard/clipboard.service.d.ts +2 -4
  98. package/lib/comments/comment-list/comment-list.component.d.ts +1 -1
  99. package/lib/comments/comments.component.d.ts +3 -2
  100. package/lib/comments/comments.component.scss +3 -32
  101. package/lib/common/index.d.ts +0 -1
  102. package/lib/common/services/log.service.d.ts +2 -6
  103. package/lib/common/services/page-title.service.d.ts +4 -7
  104. package/lib/common/services/thumbnail.service.d.ts +1 -3
  105. package/lib/common/services/url.service.d.ts +1 -3
  106. package/lib/common/services/user-preferences.service.d.ts +78 -15
  107. package/lib/common/utils/date-fns-adapter.d.ts +3 -5
  108. package/lib/common/utils/date-fns-utils.d.ts +1 -1
  109. package/lib/common/utils/datetime-fns-adapter.d.ts +3 -5
  110. package/lib/common/utils/moment-date-adapter.d.ts +1 -2
  111. package/lib/context-menu/context-menu-list.component.d.ts +8 -8
  112. package/lib/context-menu/context-menu-overlay.d.ts +1 -1
  113. package/lib/context-menu/context-menu-overlay.service.d.ts +2 -21
  114. package/lib/context-menu/context-menu.directive.d.ts +1 -3
  115. package/lib/context-menu/context-menu.tokens.d.ts +2 -1
  116. package/lib/context-menu/interfaces.d.ts +14 -1
  117. package/lib/core.module.d.ts +78 -83
  118. package/lib/datatable/components/amount-cell/amount-cell.component.d.ts +3 -19
  119. package/lib/datatable/components/boolean-cell/boolean-cell.component.d.ts +3 -20
  120. package/lib/datatable/components/columns-selector/columns-search-filter.pipe.d.ts +1 -1
  121. package/lib/datatable/components/columns-selector/columns-selector.component.d.ts +2 -1
  122. package/lib/datatable/components/columns-selector/columns-selector.component.scss +64 -81
  123. package/lib/datatable/components/datatable/datatable.component.d.ts +12 -13
  124. package/lib/datatable/components/datatable/datatable.component.scss +48 -20
  125. package/lib/datatable/components/datatable-cell/datatable-cell.component.d.ts +20 -0
  126. package/lib/datatable/components/datatable-row/datatable-row.component.d.ts +2 -3
  127. package/lib/datatable/components/date-cell/date-cell.component.d.ts +9 -2
  128. package/lib/datatable/components/filesize-cell/filesize-cell.component.d.ts +1 -19
  129. package/lib/datatable/components/icon-cell/icon-cell.component.d.ts +3 -6
  130. package/lib/datatable/components/json-cell/json-cell.component.d.ts +4 -22
  131. package/lib/datatable/components/location-cell/location-cell.component.d.ts +3 -20
  132. package/lib/datatable/components/number-cell/number-cell.component.d.ts +3 -19
  133. package/lib/datatable/data/data-table.schema.d.ts +4 -4
  134. package/lib/datatable/data/datatable-adapter.d.ts +2 -0
  135. package/lib/datatable/data/object-datarow.model.d.ts +1 -1
  136. package/lib/datatable/data-column/data-column-header.component.d.ts +1 -3
  137. package/lib/datatable/directives/drop-zone.directive.d.ts +4 -4
  138. package/lib/datatable/directives/header-filter-template.directive.d.ts +1 -3
  139. package/lib/datatable/directives/loading-template.directive.d.ts +1 -3
  140. package/lib/datatable/directives/main-data-table-action-template.directive.d.ts +1 -3
  141. package/lib/datatable/directives/no-content-template.directive.d.ts +1 -3
  142. package/lib/datatable/directives/no-permission-template.directive.d.ts +1 -3
  143. package/lib/datatable/directives/resizable/resizable.directive.d.ts +8 -3
  144. package/lib/datatable/directives/resizable/resize-handle.directive.d.ts +2 -2
  145. package/lib/dialogs/confirm-dialog/confirm.dialog.d.ts +3 -3
  146. package/lib/dialogs/dialog/dialog.component.d.ts +2 -2
  147. package/lib/dialogs/edit-json/edit-json.dialog.d.ts +1 -2
  148. package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +1 -3
  149. package/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.d.ts +3 -6
  150. package/lib/directives/highlight.directive.d.ts +4 -6
  151. package/lib/directives/infinite-select-scroll.directive.d.ts +1 -3
  152. package/lib/directives/logout.directive.d.ts +6 -10
  153. package/lib/directives/tooltip-card/tooltip-card.component.d.ts +1 -3
  154. package/lib/directives/tooltip-card/tooltip-card.directive.d.ts +4 -6
  155. package/lib/directives/upload.directive.d.ts +7 -7
  156. package/lib/dynamic-chip-list/dynamic-chip-list.component.d.ts +3 -4
  157. package/lib/dynamic-chip-list/dynamic-chip-list.component.scss +1 -1
  158. package/lib/form/components/form-base.component.d.ts +1 -1
  159. package/lib/form/components/form-field/form-field.component.d.ts +5 -0
  160. package/lib/form/components/form-renderer.component.d.ts +7 -7
  161. package/lib/form/components/form-renderer.component.scss +48 -34
  162. package/lib/form/components/widgets/amount/amount.widget.d.ts +26 -6
  163. package/lib/form/components/widgets/base-display-text/base-display-text.widget.d.ts +43 -0
  164. package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -2
  165. package/lib/form/components/widgets/button/button.widget.d.ts +9 -0
  166. package/lib/form/components/widgets/button/button.widget.scss +14 -0
  167. package/lib/form/components/widgets/checkbox/checkbox.widget.d.ts +0 -4
  168. package/lib/form/components/widgets/core/container-column.model.d.ts +2 -0
  169. package/lib/{models/decimal-number.model.d.ts → form/components/widgets/core/container-row.model.d.ts} +9 -5
  170. package/lib/{common/models/user-info-mode.enum.d.ts → form/components/widgets/core/custom-validation-message.token.d.ts} +3 -7
  171. package/lib/form/components/widgets/core/form-field-types.d.ts +5 -0
  172. package/lib/form/components/widgets/core/form-field-validator.d.ts +10 -10
  173. package/lib/form/components/widgets/core/form-field.model.d.ts +29 -2
  174. package/lib/form/components/widgets/core/form.model.d.ts +38 -2
  175. package/lib/{datatable/components/mocks/datatable.mock.d.ts → form/components/widgets/core/handlers/form-field-rule.handler.d.ts} +5 -5
  176. package/lib/{blank-page/public-api.d.ts → form/components/widgets/core/handlers/form-field-visibility-condition.handler.d.ts} +5 -2
  177. package/lib/form/components/widgets/core/index.d.ts +2 -0
  178. package/lib/{login/components/login-dialog/login-dialog-component-data.interface.d.ts → form/components/widgets/core/repeatable-section.model.d.ts} +7 -5
  179. package/lib/form/components/widgets/decimal/decimal.component.d.ts +0 -3
  180. package/lib/form/components/widgets/display-text/display-text.widget.d.ts +5 -5
  181. package/lib/form/components/widgets/error/error.component.d.ts +0 -3
  182. package/lib/form/components/widgets/error/error.component.scss +4 -0
  183. package/lib/form/components/widgets/hyperlink/hyperlink.widget.d.ts +0 -3
  184. package/lib/form/components/widgets/index.d.ts +5 -1
  185. package/lib/form/components/widgets/json/json.widget.d.ts +1 -5
  186. package/lib/form/components/widgets/multiline-text/multiline-text.widget.d.ts +5 -4
  187. package/lib/form/components/widgets/number/number.widget.d.ts +1 -5
  188. package/lib/form/components/widgets/reactive-widget.interface.d.ts +4 -0
  189. package/lib/form/components/widgets/repeat/repeat.widget.d.ts +9 -0
  190. package/lib/form/components/widgets/repeat/repeat.widget.scss +36 -0
  191. package/lib/form/components/widgets/text/text-mask.component.d.ts +6 -7
  192. package/lib/form/components/widgets/text/text.widget.d.ts +13 -4
  193. package/lib/form/components/widgets/unknown/unknown.widget.d.ts +0 -3
  194. package/lib/form/components/widgets/widget.component.d.ts +1 -2
  195. package/lib/form/form-base.module.d.ts +3 -2
  196. package/lib/form/models/widget-visibility.model.d.ts +7 -6
  197. package/lib/form/public-api.d.ts +1 -0
  198. package/lib/form/services/form-expression.service.d.ts +14 -0
  199. package/lib/form/services/form.service.d.ts +3 -3
  200. package/lib/{interface/index.d.ts → icon/icon-alias-map.token.d.ts} +3 -1
  201. package/lib/{interface/public-api.d.ts → icon/icon-alias-map.type.d.ts} +1 -1
  202. package/lib/icon/icon.component.d.ts +31 -4
  203. package/lib/{pipes/multi-value.pipe.d.ts → icon/icon.directive.d.ts} +13 -6
  204. package/lib/icon/icon.module.d.ts +3 -6
  205. package/lib/icon/public-api.d.ts +3 -0
  206. package/lib/info-drawer/info-drawer-layout.component.scss +2 -2
  207. package/lib/info-drawer/info-drawer.component.scss +6 -0
  208. package/lib/language-menu/language-menu.component.d.ts +2 -3
  209. package/lib/language-menu/service/language.service.d.ts +2 -4
  210. package/lib/layout/components/header/header.component.d.ts +1 -3
  211. package/lib/layout/components/sidebar-action/sidebar-action-menu.component.scss +1 -2
  212. package/lib/layout/components/sidenav-layout/sidenav-layout.component.d.ts +3 -5
  213. package/lib/layout/components/sidenav-layout/sidenav-layout.component.scss +4 -4
  214. package/lib/login/components/login/login.component.d.ts +10 -17
  215. package/lib/login/components/login/login.component.scss +6 -8
  216. package/lib/login/directives/login-footer.directive.d.ts +1 -3
  217. package/lib/login/directives/login-header.directive.d.ts +1 -3
  218. package/lib/login/login.module.d.ts +3 -5
  219. package/lib/login/public-api.d.ts +0 -2
  220. package/lib/mock/form/widget-visibility.service.mock.d.ts +1 -0
  221. package/lib/mock/public-api.d.ts +0 -1
  222. package/lib/mock/translation.service.mock.d.ts +2 -2
  223. package/lib/models/public-api.d.ts +0 -2
  224. package/lib/notifications/components/notification-history.component.d.ts +10 -7
  225. package/lib/notifications/models/notification.model.d.ts +7 -6
  226. package/lib/notifications/notification-history.module.d.ts +2 -4
  227. package/lib/notifications/public-api.d.ts +0 -1
  228. package/lib/notifications/services/notification.service.d.ts +3 -5
  229. package/lib/pagination/infinite-pagination.component.d.ts +3 -5
  230. package/lib/pagination/pagination.component.d.ts +6 -9
  231. package/lib/pipes/decimal-number.pipe.d.ts +6 -3
  232. package/lib/pipes/file-size.pipe.d.ts +2 -4
  233. package/lib/pipes/localized-date.pipe.d.ts +3 -6
  234. package/lib/pipes/pipe.module.d.ts +6 -8
  235. package/lib/pipes/public-api.d.ts +0 -1
  236. package/lib/pipes/text-highlight.pipe.d.ts +1 -3
  237. package/lib/pipes/time-ago.pipe.d.ts +1 -2
  238. package/lib/pipes/user-initial.pipe.d.ts +2 -3
  239. package/lib/search-text/models/search-text-input.model.d.ts +5 -4
  240. package/lib/search-text/search-text-input.component.d.ts +4 -5
  241. package/lib/search-text/search-text-input.component.scss +0 -6
  242. package/lib/search-text/search-trigger.directive.d.ts +6 -7
  243. package/lib/snackbar-content/snackbar-content.component.d.ts +1 -1
  244. package/lib/{blank-page/index.d.ts → stories/core-story.providers.d.ts} +7 -1
  245. package/lib/{sorting-picker → stories}/index.d.ts +1 -1
  246. package/lib/styles/_flex.scss +21 -16
  247. package/lib/styles/{material.theme.scss → _globals.scss} +6 -6
  248. package/lib/styles/_index.scss +4 -126
  249. package/lib/styles/_mat-selectors.scss +1 -17
  250. package/lib/templates/empty-content/empty-content.component.scss +2 -5
  251. package/lib/templates/error-content/error-content.component.d.ts +3 -7
  252. package/lib/templates/error-content/error-content.component.scss +1 -1
  253. package/lib/testing/index.d.ts +0 -1
  254. package/lib/testing/noop-translate.module.d.ts +3 -4
  255. package/lib/testing/unit-testing-utils.d.ts +14 -0
  256. package/lib/toolbar/toolbar.component.scss +1 -1
  257. package/lib/translation/provide-i18n.d.ts +5 -0
  258. package/lib/translation/translate-loader.service.d.ts +4 -22
  259. package/lib/translation/translation.service.d.ts +10 -3
  260. package/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.d.ts +4 -2
  261. package/lib/viewer/components/img-viewer/img-viewer.component.d.ts +9 -5
  262. package/lib/viewer/components/media-player/media-player.component.d.ts +3 -5
  263. package/lib/viewer/components/pdf-viewer/pdf-viewer-host.component.scss +28 -0
  264. package/lib/viewer/components/pdf-viewer/pdf-viewer.component.d.ts +52 -17
  265. package/lib/viewer/components/pdf-viewer/pdf-viewer.component.scss +4 -2
  266. package/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.d.ts +1 -3
  267. package/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.d.ts +3 -5
  268. package/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.d.ts +7 -8
  269. package/lib/viewer/components/txt-viewer/txt-viewer.component.d.ts +3 -22
  270. package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +8 -8
  271. package/lib/viewer/components/viewer.component.d.ts +16 -14
  272. package/lib/viewer/components/viewer.component.scss +1 -1
  273. package/lib/viewer/directives/viewer-extension.directive.d.ts +7 -6
  274. package/lib/viewer/models/download-prompt.actions.d.ts +5 -4
  275. package/lib/viewer/models/viewer.model.d.ts +5 -4
  276. package/lib/viewer/services/rendering-queue.services.d.ts +35 -12
  277. package/lib/viewer/services/view-util.service.d.ts +4 -5
  278. package/package.json +4 -5
  279. package/public-api.d.ts +1 -6
  280. package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
  281. package/schematics/migrations/schematics/migrations/7_0_0/index.js +44 -59
  282. package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
  283. package/schematics/migrations/schematics/migrations/collection.json +0 -5
  284. package/shell/lib/components/shell/shell.component.d.ts +7 -10
  285. package/lib/blank-page/blank-page.component.d.ts +0 -5
  286. package/lib/blank-page/blank-page.module.d.ts +0 -8
  287. package/lib/button/button.component.d.ts +0 -19
  288. package/lib/button/button.component.scss +0 -13
  289. package/lib/clipboard/clipboard.theme.scss +0 -19
  290. package/lib/interface/injection.tokens.d.ts +0 -18
  291. package/lib/landing-page/index.d.ts +0 -17
  292. package/lib/landing-page/provider.d.ts +0 -24
  293. package/lib/landing-page/public-api.d.ts +0 -17
  294. package/lib/login/components/login-dialog/login-dialog.component.d.ts +0 -15
  295. package/lib/login/components/login-dialog/login-dialog.component.scss +0 -4
  296. package/lib/mock/data-column.mock.d.ts +0 -51
  297. package/lib/models/product-version.model.d.ts +0 -24
  298. package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
  299. package/lib/progress/progress.component.d.ts +0 -36
  300. package/lib/sorting-picker/public-api.d.ts +0 -17
  301. package/lib/sorting-picker/sorting-picker.component.d.ts +0 -38
  302. package/lib/styles/_theming.scss +0 -3
  303. package/lib/styles/_typography.scss +0 -18
  304. package/lib/testing/core.story.module.d.ts +0 -9
@@ -14,16 +14,15 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
17
+ import { EventEmitter, OnInit } from '@angular/core';
18
18
  import { PaginatedComponent } from './paginated-component.interface';
19
19
  import { PaginationComponentInterface } from './pagination-component.interface';
20
20
  import { RequestPaginationModel } from '../models/request-pagination.model';
21
- import { UserPreferencesService } from '../common/services/user-preferences.service';
22
21
  import { PaginationModel } from '../models/pagination.model';
23
22
  import * as i0 from "@angular/core";
24
23
  export declare class InfinitePaginationComponent implements OnInit, PaginationComponentInterface {
25
- private cdr;
26
- private userPreferencesService;
24
+ private readonly cdr;
25
+ private readonly userPreferencesService;
27
26
  static DEFAULT_PAGINATION: PaginationModel;
28
27
  _target: PaginatedComponent;
29
28
  /** Component that provides custom pagination support. */
@@ -38,7 +37,6 @@ export declare class InfinitePaginationComponent implements OnInit, PaginationCo
38
37
  pagination: PaginationModel;
39
38
  requestPaginationModel: RequestPaginationModel;
40
39
  private readonly destroyRef;
41
- constructor(cdr: ChangeDetectorRef, userPreferencesService: UserPreferencesService);
42
40
  ngOnInit(): void;
43
41
  onLoadMore(): void;
44
42
  reset(): void;
@@ -14,21 +14,19 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
17
+ import { EventEmitter, OnInit } from '@angular/core';
18
18
  import { PaginatedComponent } from './paginated-component.interface';
19
19
  import { PaginationComponentInterface } from './pagination-component.interface';
20
20
  import { PaginationModel } from '../models/pagination.model';
21
- import { UserPreferencesService } from '../common/services/user-preferences.service';
22
- import { TranslateService } from '@ngx-translate/core';
23
21
  import * as i0 from "@angular/core";
24
22
  export type PaginationAction = 'NEXT_PAGE' | 'PREV_PAGE' | 'CHANGE_PAGE_SIZE' | 'CHANGE_PAGE_NUMBER';
25
23
  export declare const DEFAULT_PAGINATION: PaginationModel;
26
24
  export declare class PaginationComponent implements OnInit, PaginationComponentInterface {
27
- private elementRef;
28
- private renderer;
29
- private cdr;
30
- private userPreferencesService;
31
- private translate;
25
+ private readonly elementRef;
26
+ private readonly renderer;
27
+ private readonly cdr;
28
+ private readonly userPreferencesService;
29
+ private readonly translate;
32
30
  private _pagination;
33
31
  private _isEmpty;
34
32
  private _hasItems;
@@ -50,7 +48,6 @@ export declare class PaginationComponent implements OnInit, PaginationComponentI
50
48
  /** Emitted when the previous page is requested. */
51
49
  prevPage: EventEmitter<PaginationModel>;
52
50
  private readonly destroyRef;
53
- constructor(elementRef: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, userPreferencesService: UserPreferencesService, translate: TranslateService);
54
51
  ngOnInit(): void;
55
52
  get lastPage(): number;
56
53
  get current(): number;
@@ -1,8 +1,12 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import { AppConfigService } from '../app-config/app-config.service';
3
3
  import { UserPreferencesService } from '../common/services/user-preferences.service';
4
- import { DecimalNumberModel } from '../models/decimal-number.model';
5
4
  import * as i0 from "@angular/core";
5
+ export interface DecimalNumberModel {
6
+ minIntegerDigits?: number;
7
+ minFractionDigits?: number;
8
+ maxFractionDigits?: number;
9
+ }
6
10
  export declare class DecimalNumberPipe implements PipeTransform {
7
11
  userPreferenceService?: UserPreferencesService;
8
12
  appConfig?: AppConfigService;
@@ -10,11 +14,10 @@ export declare class DecimalNumberPipe implements PipeTransform {
10
14
  static DEFAULT_MIN_INTEGER_DIGITS: number;
11
15
  static DEFAULT_MIN_FRACTION_DIGITS: number;
12
16
  static DEFAULT_MAX_FRACTION_DIGITS: number;
13
- defaultLocale: string;
14
17
  defaultMinIntegerDigits: number;
15
18
  defaultMinFractionDigits: number;
16
19
  defaultMaxFractionDigits: number;
17
- constructor(userPreferenceService?: UserPreferencesService, appConfig?: AppConfigService);
20
+ constructor();
18
21
  transform(value: any, digitsInfo?: DecimalNumberModel, locale?: string): any;
19
22
  static ɵfac: i0.ɵɵFactoryDeclaration<DecimalNumberPipe, never>;
20
23
  static ɵpipe: i0.ɵɵPipeDeclaration<DecimalNumberPipe, "adfDecimalNumber", true>;
@@ -15,12 +15,10 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { PipeTransform } from '@angular/core';
18
- import { TranslationService } from '../translation/translation.service';
19
18
  import * as i0 from "@angular/core";
20
19
  export declare class FileSizePipe implements PipeTransform {
21
- private translation;
22
- constructor(translation: TranslationService);
23
- transform(paramByte: any, decimals?: number): string;
20
+ private readonly translation;
21
+ transform(paramByte: number | string | null, decimals?: number): string;
24
22
  static ɵfac: i0.ɵɵFactoryDeclaration<FileSizePipe, never>;
25
23
  static ɵpipe: i0.ɵɵPipeDeclaration<FileSizePipe, "adfFileSize", true>;
26
24
  }
@@ -1,18 +1,15 @@
1
- import { PipeTransform, OnDestroy } from '@angular/core';
1
+ import { PipeTransform } from '@angular/core';
2
2
  import { AppConfigService } from '../app-config/app-config.service';
3
3
  import { UserPreferencesService } from '../common/services/user-preferences.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare class LocalizedDatePipe implements PipeTransform, OnDestroy {
5
+ export declare class LocalizedDatePipe implements PipeTransform {
6
6
  userPreferenceService?: UserPreferencesService;
7
7
  appConfig?: AppConfigService;
8
8
  static DEFAULT_LOCALE: string;
9
9
  static DEFAULT_DATE_FORMAT: string;
10
- defaultLocale: string;
11
10
  defaultFormat: string;
12
- private onDestroy$;
13
- constructor(userPreferenceService?: UserPreferencesService, appConfig?: AppConfigService);
11
+ constructor();
14
12
  transform(value: Date | string | number, format?: string, locale?: string, timezone?: string): string;
15
- ngOnDestroy(): void;
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedDatePipe, never>;
17
14
  static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedDatePipe, "adfLocalizedDate", true>;
18
15
  }
@@ -5,7 +5,6 @@ import { InitialUsernamePipe } from './user-initial.pipe';
5
5
  import { FullNamePipe } from './full-name.pipe';
6
6
  import { FormatSpacePipe } from './format-space.pipe';
7
7
  import { FileTypePipe } from './file-type.pipe';
8
- import { MultiValuePipe } from './multi-value.pipe';
9
8
  import { LocalizedDatePipe } from './localized-date.pipe';
10
9
  import { DecimalNumberPipe } from './decimal-number.pipe';
11
10
  import { DateTimePipe } from './date-time.pipe';
@@ -18,18 +17,17 @@ import * as i4 from "./text-highlight.pipe";
18
17
  import * as i5 from "./full-name.pipe";
19
18
  import * as i6 from "./format-space.pipe";
20
19
  import * as i7 from "./file-type.pipe";
21
- import * as i8 from "./multi-value.pipe";
22
- import * as i9 from "./decimal-number.pipe";
23
- import * as i10 from "./date-time.pipe";
24
- import * as i11 from "./user-initial.pipe";
25
- import * as i12 from "./truncate.pipe";
26
- export declare const CORE_PIPES: readonly [typeof LocalizedDatePipe, typeof TimeAgoPipe, typeof FileSizePipe, typeof HighlightPipe, typeof FullNamePipe, typeof FormatSpacePipe, typeof FileTypePipe, typeof MultiValuePipe, typeof DecimalNumberPipe, typeof DateTimePipe, typeof InitialUsernamePipe, typeof TruncatePipe];
20
+ import * as i8 from "./decimal-number.pipe";
21
+ import * as i9 from "./date-time.pipe";
22
+ import * as i10 from "./user-initial.pipe";
23
+ import * as i11 from "./truncate.pipe";
24
+ export declare const CORE_PIPES: readonly [typeof LocalizedDatePipe, typeof TimeAgoPipe, typeof FileSizePipe, typeof HighlightPipe, typeof FullNamePipe, typeof FormatSpacePipe, typeof FileTypePipe, typeof DecimalNumberPipe, typeof DateTimePipe, typeof InitialUsernamePipe, typeof TruncatePipe];
27
25
  /**
28
26
  * @deprecated this Module is deprecated and should no longer be used.
29
27
  * Consider importing CORE_PIPES or individual pipes directly.
30
28
  */
31
29
  export declare class PipeModule {
32
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PipeModule, never>;
33
- static ɵmod: i0.ɵɵNgModuleDeclaration<PipeModule, never, [typeof i1.LocalizedDatePipe, typeof i2.TimeAgoPipe, typeof i3.FileSizePipe, typeof i4.HighlightPipe, typeof i5.FullNamePipe, typeof i6.FormatSpacePipe, typeof i7.FileTypePipe, typeof i8.MultiValuePipe, typeof i9.DecimalNumberPipe, typeof i10.DateTimePipe, typeof i11.InitialUsernamePipe, typeof i12.TruncatePipe], [typeof i1.LocalizedDatePipe, typeof i2.TimeAgoPipe, typeof i3.FileSizePipe, typeof i4.HighlightPipe, typeof i5.FullNamePipe, typeof i6.FormatSpacePipe, typeof i7.FileTypePipe, typeof i8.MultiValuePipe, typeof i9.DecimalNumberPipe, typeof i10.DateTimePipe, typeof i11.InitialUsernamePipe, typeof i12.TruncatePipe]>;
31
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PipeModule, never, [typeof i1.LocalizedDatePipe, typeof i2.TimeAgoPipe, typeof i3.FileSizePipe, typeof i4.HighlightPipe, typeof i5.FullNamePipe, typeof i6.FormatSpacePipe, typeof i7.FileTypePipe, typeof i8.DecimalNumberPipe, typeof i9.DateTimePipe, typeof i10.InitialUsernamePipe, typeof i11.TruncatePipe], [typeof i1.LocalizedDatePipe, typeof i2.TimeAgoPipe, typeof i3.FileSizePipe, typeof i4.HighlightPipe, typeof i5.FullNamePipe, typeof i6.FormatSpacePipe, typeof i7.FileTypePipe, typeof i8.DecimalNumberPipe, typeof i9.DateTimePipe, typeof i10.InitialUsernamePipe, typeof i11.TruncatePipe]>;
34
32
  static ɵinj: i0.ɵɵInjectorDeclaration<PipeModule>;
35
33
  }
@@ -20,7 +20,6 @@ export * from './file-type.pipe';
20
20
  export * from './format-space.pipe';
21
21
  export * from './full-name.pipe';
22
22
  export * from './localized-date.pipe';
23
- export * from './multi-value.pipe';
24
23
  export * from './text-highlight.pipe';
25
24
  export * from './time-ago.pipe';
26
25
  export * from './user-initial.pipe';
@@ -15,11 +15,9 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { PipeTransform } from '@angular/core';
18
- import { HighlightTransformService } from '../common/services/highlight-transform.service';
19
18
  import * as i0 from "@angular/core";
20
19
  export declare class HighlightPipe implements PipeTransform {
21
- private highlightTransformService;
22
- constructor(highlightTransformService: HighlightTransformService);
20
+ private readonly highlightTransformService;
23
21
  transform(text: string, search: string): string;
24
22
  static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
25
23
  static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "highlight", true>;
@@ -23,9 +23,8 @@ export declare class TimeAgoPipe implements PipeTransform {
23
23
  appConfig: AppConfigService;
24
24
  static DEFAULT_LOCALE: string;
25
25
  static DEFAULT_DATE_TIME_FORMAT: string;
26
- defaultLocale: string;
27
26
  defaultDateTimeFormat: string;
28
- constructor(userPreferenceService: UserPreferencesService, appConfig: AppConfigService);
27
+ constructor();
29
28
  transform(value: Date, locale?: string): string;
30
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TimeAgoPipe, never>;
31
30
  static ɵpipe: i0.ɵɵPipeDeclaration<TimeAgoPipe, "adfTimeAgo", true>;
@@ -15,12 +15,11 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { PipeTransform } from '@angular/core';
18
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
18
+ import { SafeHtml } from '@angular/platform-browser';
19
19
  import { UserLike } from './user-like.interface';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class InitialUsernamePipe implements PipeTransform {
22
- private sanitized;
23
- constructor(sanitized: DomSanitizer);
22
+ private readonly sanitized;
24
23
  transform(user: UserLike & {
25
24
  displayName?: string;
26
25
  }, className?: string, delimiter?: string): SafeHtml;
@@ -14,10 +14,11 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- export declare enum SearchTextStateEnum {
18
- expanded = "expanded",
19
- collapsed = "collapsed"
20
- }
17
+ export declare const SearchTextStateEnum: {
18
+ readonly expanded: "expanded";
19
+ readonly collapsed: "collapsed";
20
+ };
21
+ export type SearchTextStateEnum = (typeof SearchTextStateEnum)[keyof typeof SearchTextStateEnum];
21
22
  export interface SearchAnimationState {
22
23
  value: string;
23
24
  params?: any;
@@ -1,10 +1,9 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
- import { UserPreferencesService } from '../common';
4
3
  import { SearchAnimationDirection, SearchTextStateEnum } from './models/search-text-input.model';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class SearchTextInputComponent implements OnInit, OnDestroy {
7
- private userPreferencesService;
6
+ private readonly userPreferencesService;
8
7
  /** Toggles auto-completion of the search input field. */
9
8
  autocomplete: boolean;
10
9
  /**
@@ -62,11 +61,11 @@ export declare class SearchTextInputComponent implements OnInit, OnDestroy {
62
61
  private dir;
63
62
  private toggleSearch;
64
63
  private focusSubscription;
65
- private valueChange;
66
- private toggleSubscription;
64
+ private readonly valueChange;
65
+ private readonly toggleSubscription;
67
66
  toggle$: Observable<any>;
68
67
  private readonly destroyRef;
69
- constructor(userPreferencesService: UserPreferencesService);
68
+ constructor();
70
69
  ngOnInit(): void;
71
70
  applySearchFocus(animationDoneEvent: any): void;
72
71
  getAutoComplete(): string;
@@ -1,14 +1,8 @@
1
- @use '../styles/mat-selectors' as ms;
2
-
3
1
  .adf-search-container {
4
2
  &:has(.adf-input-form-field-divider) {
5
3
  overflow: hidden;
6
4
  }
7
5
 
8
- #{ms.$mat-form-field-subscript-wrapper} {
9
- display: none;
10
- }
11
-
12
6
  .adf-search-container-transition {
13
7
  display: flex;
14
8
  align-items: center;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
1
+ import { OnDestroy } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
4
  import { SearchComponentInterface } from '../common/interface/search-component.interface';
@@ -8,10 +8,10 @@ export declare const SEARCH_AUTOCOMPLETE_VALUE_ACCESSOR: any;
8
8
  * Directive selectors without adf- prefix will be deprecated on 3.0.0
9
9
  */
10
10
  export declare class SearchTriggerDirective implements ControlValueAccessor, OnDestroy {
11
- private element;
12
- private ngZone;
13
- private changeDetectorRef;
14
- private document;
11
+ private readonly element;
12
+ private readonly ngZone;
13
+ private readonly changeDetectorRef;
14
+ private readonly document;
15
15
  searchPanel: SearchComponentInterface;
16
16
  autocomplete: string;
17
17
  private _panelOpen;
@@ -20,7 +20,6 @@ export declare class SearchTriggerDirective implements ControlValueAccessor, OnD
20
20
  onChange: (value: any) => void;
21
21
  onTouched: () => void;
22
22
  private readonly destroyRef;
23
- constructor(element: ElementRef, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, document: any);
24
23
  ngOnDestroy(): void;
25
24
  get panelOpen(): boolean;
26
25
  openPanel(): void;
@@ -37,6 +36,6 @@ export declare class SearchTriggerDirective implements ControlValueAccessor, OnD
37
36
  private subscribeToClosingActions;
38
37
  private setTriggerValue;
39
38
  private setValueAndClose;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchTriggerDirective, [null, null, null, { optional: true; }]>;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchTriggerDirective, never>;
41
40
  static ɵdir: i0.ɵɵDirectiveDeclaration<SearchTriggerDirective, "input[searchAutocomplete], textarea[searchAutocomplete]", never, { "searchPanel": { "alias": "searchAutocomplete"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, true, never>;
42
41
  }
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
4
4
  export declare class SnackbarContentComponent {
5
5
  snackBarRef: MatSnackBarRef<SnackbarContentComponent>;
6
6
  data: SnackBarData;
7
- constructor(snackBarRef: MatSnackBarRef<SnackbarContentComponent>, data: SnackBarData);
7
+ constructor();
8
8
  onIconClicked(): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarContentComponent, never>;
10
10
  static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarContentComponent, "adf-snackbar-content", never, {}, {}, never, never, true, never>;
@@ -14,4 +14,10 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- export * from './public-api';
17
+ import { Provider, EnvironmentProviders } from '@angular/core';
18
+ /**
19
+ * Provides the core providers for the storybook.
20
+ *
21
+ * @returns An array of providers for the core module.
22
+ */
23
+ export declare function provideStoryCore(): (Provider | EnvironmentProviders)[];
@@ -14,4 +14,4 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- export * from './public-api';
17
+ export * from './core-story.providers';
@@ -1,4 +1,5 @@
1
1
  @charset "UTF-8";
2
+ @use 'sass:map';
2
3
  /* stylelint-disable */
3
4
 
4
5
  // Non-overlapping Material Design breakpoints
@@ -23,7 +24,7 @@ $breakpoints: (
23
24
  xl: (
24
25
  begin: 1920px,
25
26
  end: 4999.99px
26
- ),
27
+ )
27
28
  ) !default;
28
29
 
29
30
  // Overlapping breakpoints that are greater than defined
@@ -33,7 +34,7 @@ $overlapping-gt: (
33
34
  gt-xs: 600px,
34
35
  gt-sm: 960px,
35
36
  gt-md: 1280px,
36
- gt-lg: 1920px,
37
+ gt-lg: 1920px
37
38
  ) !default;
38
39
 
39
40
  // Overlapping breakpoints that are less than defined
@@ -43,10 +44,9 @@ $overlapping-lt: (
43
44
  lt-sm: 599.9px,
44
45
  lt-md: 959.9px,
45
46
  lt-lg: 1279.9px,
46
- lt-xl: 1919.9px,
47
+ lt-xl: 1919.9px
47
48
  ) !default;
48
49
 
49
-
50
50
  // Media Query Mixin, takes a breakpoint and returns a wrapping
51
51
  // media query statement
52
52
  // e.g.
@@ -61,18 +61,23 @@ $overlapping-lt: (
61
61
  // background-color: red;
62
62
  // }
63
63
  @mixin layout-bp($bp) {
64
- @if map-has-key($breakpoints, $bp) {
65
- $min: map-get(map-get($breakpoints, $bp), begin);
66
- $max: map-get(map-get($breakpoints, $bp), end);
67
- @media (min-width: $min) and (max-width: $max) { @content; }
68
- }
69
- @else if map-has-key($overlapping-gt, $bp) {
70
- $min: map-get($overlapping-gt, $bp);
71
- @media (min-width: $min) { @content; }
72
- }
73
- @else if map-has-key($overlapping-lt, $bp) {
74
- $max: map-get($overlapping-lt, $bp);
75
- @media (max-width: $max) { @content; }
64
+ @if map.has-key($breakpoints, $bp) {
65
+ $min: map.get(map.get($breakpoints, $bp), begin);
66
+ $max: map.get(map.get($breakpoints, $bp), end);
67
+ @media (min-width: $min) and (max-width: $max) {
68
+ @content;
69
+ }
70
+ } @else if map.has-key($overlapping-gt, $bp) {
71
+ $min: map.get($overlapping-gt, $bp);
72
+ @media (min-width: $min) {
73
+ @content;
74
+ }
75
+ } @else if map.has-key($overlapping-lt, $bp) {
76
+ $max: map.get($overlapping-lt, $bp);
77
+ @media (max-width: $max) {
78
+ @content;
79
+ }
76
80
  }
77
81
  }
82
+
78
83
  /* stylelint-enable */
@@ -1,6 +1,6 @@
1
1
  @use './mat-selectors' as ms;
2
2
 
3
- @mixin adf-material-theme() {
3
+ @mixin globals() {
4
4
  #{ms.$mat-expansion-panel} {
5
5
  & #{ms.$mat-expansion-panel-header}.cdk-keyboard-focused,
6
6
  & #{ms.$mat-expansion-panel-header}.cdk-program-focused,
@@ -17,19 +17,19 @@
17
17
  color: var(--adf-theme-foreground-text-color-087);
18
18
 
19
19
  &:disabled {
20
- color: var(--adf-theme-foreground-text-color-054);
20
+ color: var(--adf-theme-foreground-text-color-064);
21
21
  }
22
22
  }
23
23
  }
24
24
 
25
25
  #{ms.$mat-calendar-content} {
26
26
  #{ms.$mat-calendar-table-header} th {
27
- color: var(--adf-theme-foreground-text-color-054);
27
+ color: var(--adf-theme-foreground-text-color-064);
28
28
  }
29
29
 
30
30
  #{ms.$mat-calendar-body-disabled} > div {
31
31
  /* stylelint-disable-next-line declaration-no-important */
32
- color: var(--adf-theme-foreground-text-color-054) !important;
32
+ color: var(--adf-theme-foreground-text-color-064) !important;
33
33
  }
34
34
  }
35
35
  }
@@ -51,11 +51,11 @@
51
51
 
52
52
  #{ms.$mat-datetimepicker-calendar-content} {
53
53
  #{ms.$mat-datetimepicker-calendar-table-header} th {
54
- color: var(--adf-theme-foreground-text-color-054);
54
+ color: var(--adf-theme-foreground-text-color-064);
55
55
  }
56
56
 
57
57
  #{ms.$mat-datetimepicker-calendar-body-disabled} > div {
58
- color: var(--adf-theme-foreground-text-color-054);
58
+ color: var(--adf-theme-foreground-text-color-064);
59
59
  }
60
60
  }
61
61
  }
@@ -1,126 +1,4 @@
1
- /* stylelint-disable value-keyword-case */
2
- @use '@angular/material' as mat;
3
- @use '@mat-datetimepicker/core/datetimepicker/datetimepicker-theme';
4
- /* stylelint-disable value-list-max-empty-lines */
5
- /* stylelint-disable scss/no-global-function-names */
6
- /* stylelint-disable scss/at-import-partial-extension */
7
- @import './mixins';
8
- @import './mat-selectors';
9
- @import '../form/components/widgets/form.theme';
10
- @import '../clipboard/clipboard.theme';
11
- @import './material.theme';
12
-
13
- @mixin alfresco-material-theme($theme) {
14
- @include adf-core-theme($theme);
15
- }
16
-
17
- @mixin adf-core-theme($theme, $custom-css-variables: $adf-custom-theme-sizes) {
18
- $foreground: map-get($theme, foreground);
19
- $background: map-get($theme, background);
20
- $warn: map-get($theme, warn);
21
- $accent: map-get($theme, accent);
22
- $primary: map-get($theme, primary);
23
- $typography: map-get($theme, typography);
24
-
25
- // map SCSS variables to expose as CSS variables
26
- $defaults: (
27
- // theme colors
28
- --theme-primary-color: mat.m2-get-color-from-palette($primary),
29
- --theme-primary-color-default-contrast: mat.m2-get-color-from-palette($primary, default-contrast),
30
- --theme-header-text-color: mat.m2-get-color-from-palette($primary, default-contrast),
31
- --adf-theme-primary-50: mat.m2-get-color-from-palette($primary, 50),
32
- --adf-theme-primary-100: mat.m2-get-color-from-palette($primary, 100),
33
- --adf-theme-primary-300: mat.m2-get-color-from-palette($primary, 300),
34
- --adf-theme-primary-900: mat.m2-get-color-from-palette($primary, 900),
35
- --theme-warn-color: mat.m2-get-color-from-palette($warn),
36
- --theme-warn-color-a700: mat.m2-get-color-from-palette($warn, A700),
37
- --theme-warn-color-default-contrast: mat.m2-get-color-from-palette($warn, default-contrast),
38
- --theme-accent-color: mat.m2-get-color-from-palette($accent),
39
- --theme-accent-color-a200: mat.m2-get-color-from-palette($accent, A200),
40
- --theme-accent-color-default-contrast: mat.m2-get-color-from-palette($accent, default-contrast),
41
- --theme-accent-500: mat.m2-get-color-from-palette($accent, 500),
42
- --adf-theme-foreground-base-color: mat.m2-get-color-from-palette($foreground, base),
43
- --adf-theme-foreground-base-color-065: mat.m2-get-color-from-palette($foreground, base, 0.65),
44
- --adf-theme-foreground-base-color-045: mat.m2-get-color-from-palette($foreground, base, 0.45),
45
- --adf-theme-foreground-disabled-text-color: mat.m2-get-color-from-palette($foreground, disabled-text),
46
- --adf-theme-foreground-divider-color: mat.m2-get-color-from-palette($foreground, divider),
47
- --adf-theme-foreground-icon-color: mat.m2-get-color-from-palette($foreground, icon),
48
- --adf-theme-foreground-icon-color-054: mat.m2-get-color-from-palette($foreground, icon, 0.54),
49
- --adf-theme-foreground-secondary-text-color: mat.m2-get-color-from-palette($foreground, secondary-text),
50
- --adf-theme-foreground-text-color: mat.m2-get-color-from-palette($foreground, text),
51
- --adf-theme-foreground-text-color-087: mat.m2-get-color-from-palette($foreground, text, 0.87),
52
- --adf-theme-foreground-text-color-075: mat.m2-get-color-from-palette($foreground, text, 0.75),
53
- --adf-theme-foreground-text-color-064: mat.m2-get-color-from-palette($foreground, text, 0.64),
54
- --adf-theme-foreground-text-color-054: mat.m2-get-color-from-palette($foreground, text, 0.54),
55
- --adf-theme-foreground-text-color-040: mat.m2-get-color-from-palette($foreground, text, 0.4),
56
- --adf-theme-foreground-text-color-027: mat.m2-get-color-from-palette($foreground, text, 0.27),
57
- --adf-theme-foreground-text-color-025: mat.m2-get-color-from-palette($foreground, text, 0.25),
58
- --adf-theme-foreground-text-color-014: mat.m2-get-color-from-palette($foreground, text, 0.14),
59
- --adf-theme-foreground-text-color-007: mat.m2-get-color-from-palette($foreground, text, 0.07),
60
- --adf-theme-background-card-color: mat.m2-get-color-from-palette($background, card),
61
- --adf-theme-background-card-color-087: mat.m2-get-color-from-palette($background, card, 0.87),
62
- --theme-background-color: mat.m2-get-color-from-palette($background, background),
63
- --adf-theme-background-dialog-color: mat.m2-get-color-from-palette($background, dialog),
64
- --adf-theme-background-hover-color: mat.m2-get-color-from-palette($background, hover),
65
- --adf-theme-background-selected-button-color: mat.m2-get-color-from-palette($background, selected-button),
66
- --adf-theme-background-status-bar-color: mat.m2-get-color-from-palette($background, status-bar),
67
- --adf-theme-background-unselected-chip-color: mat.m2-get-color-from-palette($background, unselected-chip),
68
- // typography
69
- --theme-font-family: mat.m2-font-family($typography),
70
- --theme-font-weight: normal,
71
- --theme-body-1-font-size: mat.m2-font-size($typography, body-2),
72
- --theme-body-2-font-size: mat.m2-font-size($typography, subtitle-2),
73
- --theme-body-1-line-height: mat.m2-line-height($typography, body-2),
74
- --theme-display-1-font-size: mat.m2-font-size($typography, headline-4),
75
- --theme-display-3-font-size: mat.m2-font-size($typography, headline-2),
76
- --theme-display-4-font-size: mat.m2-font-size($typography, headline-1),
77
- --theme-caption-font-size: mat.m2-font-size($typography, caption),
78
- --theme-title-font-size: mat.m2-font-size($typography, headline-6),
79
- --theme-subheading-1-font-size: mat.m2-font-size($typography, body-1),
80
- --theme-subheading-2-font-size: mat.m2-font-size($typography, subtitle-1),
81
- --theme-button-font-size: mat.m2-font-size($typography, button),
82
- --theme-headline-font-size: mat.m2-font-size($typography, headline-5),
83
- --theme-headline-line-height: mat.m2-line-height($typography, headline-5),
84
- --theme-adf-icon-1-font-size: map-get($custom-css-variables, 'theme-adf-icon-1-font-size'),
85
- --theme-adf-picture-1-font-size: map-get($custom-css-variables, 'theme-adf-picture-1-font-size'),
86
- --theme-adf-task-footer-font-size: map-get($custom-css-variables, 'theme-adf-task-footer-font-size'),
87
- --theme-adf-task-title-font-size: map-get($custom-css-variables, 'theme-adf-task-title-font-size'),
88
- // specific colors
89
- --adf-theme-mat-grey-color-a200: mat.m2-get-color-from-palette(mat.$m2-grey-palette, 'A200'),
90
- --adf-theme-mat-grey-color-a400: mat.m2-get-color-from-palette(mat.$m2-grey-palette, 'A400'),
91
- --adf-theme-mat-grey-color-50: mat.m2-get-color-from-palette(mat.$m2-grey-palette, 50),
92
- // spacing
93
- --adf-theme-spacing: map-get($custom-css-variables, 'theme-adf-spacing'),
94
- // components
95
- --adf-metadata-property-panel-border-color: rgba(0, 0, 0, 0.12),
96
- --adf-metadata-buttons-background-color: rgba(33, 33, 33, 0.05),
97
- --adf-metadata-action-button-clear-color: rgba(33, 35, 40, 0.698),
98
- --adf-metadata-property-panel-text-color: rgba(33, 35, 40, 0.7),
99
- --adf-metadata-property-panel-label-color: rgba(33, 33, 33, 0.24),
100
- --adf-metadata-property-panel-title-color: rgb(33, 33, 33),
101
- --adf-error-color: #ba1b1b,
102
- --adf-secondary-button-background: #2121210d,
103
- --adf-secondary-modal-text-color: #212121,
104
- --adf-disabled-button-background: rgba(0, 0, 0, 0.12),
105
- --adf-chip-border-color: #757575,
106
- --adf-sidenav-active-text-color: rgba(0, 48, 100, 1)
107
- );
108
-
109
- // propagates SCSS variables into the CSS variables scope
110
- :root {
111
- @each $name, $value in $defaults {
112
- #{$name}: #{$value};
113
- }
114
- }
115
-
116
- @include datetimepicker-theme.mat-datetimepicker-theme($theme);
117
- @include adf-material-theme;
118
- }
119
-
120
- $adf-custom-theme-sizes: (
121
- 'theme-adf-icon-1-font-size': 17px,
122
- 'theme-adf-picture-1-font-size': 18px,
123
- 'theme-adf-task-footer-font-size': 18px,
124
- 'theme-adf-task-title-font-size': 18px,
125
- 'theme-adf-spacing': 16px
126
- );
1
+ @forward './globals';
2
+ @forward './flex';
3
+ @forward './mixins';
4
+ @forward './mat-selectors';