@ascentgl/ads-ui 0.0.39 → 0.0.40

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 (386) hide show
  1. package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs +8 -8
  2. package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs.map +1 -1
  3. package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs +8 -8
  4. package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs.map +1 -1
  5. package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +8 -8
  6. package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs.map +1 -1
  7. package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs +8 -7
  8. package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs.map +1 -1
  9. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs +8 -8
  10. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs.map +1 -1
  11. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs +8 -8
  12. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs.map +1 -1
  13. package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs +8 -8
  14. package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs.map +1 -1
  15. package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs +8 -8
  16. package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs.map +1 -1
  17. package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +11 -11
  18. package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs.map +1 -1
  19. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs +8 -8
  20. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs.map +1 -1
  21. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +8 -8
  22. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs.map +1 -1
  23. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +8 -8
  24. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs.map +1 -1
  25. package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +8 -8
  26. package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs.map +1 -1
  27. package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs +8 -8
  28. package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs.map +1 -1
  29. package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +8 -8
  30. package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs.map +1 -1
  31. package/fesm2022/ascentgl-ads-ui.mjs +506 -499
  32. package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
  33. package/lib/components/form-fields/abstracts/abstract.base.component.d.ts +1 -1
  34. package/lib/components/form-fields/abstracts/abstract.dropdown.component.d.ts +1 -1
  35. package/lib/components/form-fields/abstracts/abstract.input.component.d.ts +1 -1
  36. package/lib/components/logo/primary-logo/abstract-logo-component.d.ts +1 -1
  37. package/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.d.ts +1 -1
  38. package/lib/components/table/table.component.d.ts +194 -0
  39. package/package.json +8 -40
  40. package/src/assets/sass/ads-ui/abstracts/_functions.scss +6 -3
  41. package/src/assets/sass/ads-ui/abstracts/_mixins.scss +2 -0
  42. package/src/assets/sass/ads-ui/base/_reset.scss +1 -2
  43. package/src/assets/sass/ads-ui/base/_typography.scss +1 -8
  44. package/src/assets/sass/ads-ui/base/_utilities.scss +1 -2
  45. package/src/assets/sass/ads-ui/main.scss +8 -9
  46. package/src/assets/sass/ads-ui/overrides/_angular-material.scss +7 -7
  47. package/src/assets/sass/ads-ui/overrides/angular-material/_bottom-sheet.scss +2 -0
  48. package/src/assets/sass/ads-ui/overrides/angular-material/_datetimepicker.scss +1 -3
  49. package/src/assets/sass/ads-ui/overrides/angular-material/_dropdown.scss +1 -2
  50. package/src/assets/sass/ads-ui/overrides/angular-material/_html.scss +1 -2
  51. package/src/assets/sass/ads-ui/overrides/angular-material/_mat-list.scss +2 -0
  52. package/src/assets/sass/ads-ui/overrides/angular-material/_search-dropdown-modal.scss +2 -0
  53. package/src/assets/sass/ads-ui/overrides/angular-material/_snackbar.scss +1 -2
  54. package/src/assets/sass/ads-ui/overrides/angular-material/_tooltip.scss +1 -2
  55. package/src/lib/components/logo/primary-logo/abstract-logo-component.d.ts +1 -1
  56. package/esm2022/ascentgl-ads-ui.mjs +0 -5
  57. package/esm2022/index.mjs +0 -61
  58. package/esm2022/lib/components/avatar/avatar.component.mjs +0 -50
  59. package/esm2022/lib/components/avatar/avatar.module.mjs +0 -19
  60. package/esm2022/lib/components/avatar/avatar.types.mjs +0 -2
  61. package/esm2022/lib/components/avatar/index.mjs +0 -2
  62. package/esm2022/lib/components/avatar/public-api.mjs +0 -3
  63. package/esm2022/lib/components/badge/index.mjs +0 -2
  64. package/esm2022/lib/components/badge/numeric-badge.component.mjs +0 -35
  65. package/esm2022/lib/components/badge/numeric-badge.module.mjs +0 -19
  66. package/esm2022/lib/components/badge/public-api.mjs +0 -3
  67. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -57
  68. package/esm2022/lib/components/breadcrumb/breadcrumb.module.mjs +0 -21
  69. package/esm2022/lib/components/breadcrumb/breadcrumb.type.mjs +0 -2
  70. package/esm2022/lib/components/breadcrumb/breadcrumb.visual-processor.mjs +0 -151
  71. package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
  72. package/esm2022/lib/components/breadcrumb/public-api.mjs +0 -4
  73. package/esm2022/lib/components/buttons/button/button.component.mjs +0 -35
  74. package/esm2022/lib/components/buttons/button/button.module.mjs +0 -19
  75. package/esm2022/lib/components/buttons/button/index.mjs +0 -2
  76. package/esm2022/lib/components/buttons/button/public-api.mjs +0 -3
  77. package/esm2022/lib/components/buttons/button-container/button-container.component.mjs +0 -17
  78. package/esm2022/lib/components/buttons/button-container/button-container.module.mjs +0 -18
  79. package/esm2022/lib/components/buttons/button-container/index.mjs +0 -2
  80. package/esm2022/lib/components/buttons/button-container/public-api.mjs +0 -3
  81. package/esm2022/lib/components/buttons/icon-button/icon-button.component.mjs +0 -36
  82. package/esm2022/lib/components/buttons/icon-button/icon-button.module.mjs +0 -20
  83. package/esm2022/lib/components/buttons/icon-button/index.mjs +0 -2
  84. package/esm2022/lib/components/buttons/icon-button/public-api.mjs +0 -3
  85. package/esm2022/lib/components/buttons/link-button/index.mjs +0 -2
  86. package/esm2022/lib/components/buttons/link-button/link-button.component.mjs +0 -18
  87. package/esm2022/lib/components/buttons/link-button/link-button.module.mjs +0 -20
  88. package/esm2022/lib/components/buttons/link-button/public-api.mjs +0 -3
  89. package/esm2022/lib/components/card/card.component.mjs +0 -37
  90. package/esm2022/lib/components/card/card.module.mjs +0 -18
  91. package/esm2022/lib/components/card/index.mjs +0 -2
  92. package/esm2022/lib/components/card/public-api.mjs +0 -3
  93. package/esm2022/lib/components/chip/chip.component.mjs +0 -45
  94. package/esm2022/lib/components/chip/chip.module.mjs +0 -19
  95. package/esm2022/lib/components/chip/chip.types.mjs +0 -2
  96. package/esm2022/lib/components/chip/index.mjs +0 -2
  97. package/esm2022/lib/components/chip/public-api.mjs +0 -3
  98. package/esm2022/lib/components/divider/divider.component.mjs +0 -38
  99. package/esm2022/lib/components/divider/divider.module.mjs +0 -18
  100. package/esm2022/lib/components/divider/index.mjs +0 -2
  101. package/esm2022/lib/components/divider/public-api.mjs +0 -3
  102. package/esm2022/lib/components/drag-and-drop-list/dom.element.mjs +0 -62
  103. package/esm2022/lib/components/drag-and-drop-list/drag-and-drop-list.component.mjs +0 -349
  104. package/esm2022/lib/components/drag-and-drop-list/drag-and-drop-list.enums.mjs +0 -2
  105. package/esm2022/lib/components/drag-and-drop-list/drag-and-drop-list.module.mjs +0 -18
  106. package/esm2022/lib/components/drag-and-drop-list/dragged.placeholder.mjs +0 -63
  107. package/esm2022/lib/components/drag-and-drop-list/index.mjs +0 -2
  108. package/esm2022/lib/components/drag-and-drop-list/public-api.mjs +0 -3
  109. package/esm2022/lib/components/error-page/error-page-code/error-page-code.component.mjs +0 -14
  110. package/esm2022/lib/components/error-page/error-page-code/error-page-code.module.mjs +0 -18
  111. package/esm2022/lib/components/error-page/error-page-code/index.mjs +0 -2
  112. package/esm2022/lib/components/error-page/error-page-code/public-api.mjs +0 -3
  113. package/esm2022/lib/components/error-page/error-page.component.mjs +0 -110
  114. package/esm2022/lib/components/error-page/error-page.module.mjs +0 -25
  115. package/esm2022/lib/components/error-page/error-page.types.mjs +0 -7
  116. package/esm2022/lib/components/error-page/index.mjs +0 -2
  117. package/esm2022/lib/components/error-page/public-api.mjs +0 -4
  118. package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +0 -36
  119. package/esm2022/lib/components/expansion-panel/expansion-panel.module.mjs +0 -38
  120. package/esm2022/lib/components/expansion-panel/index.mjs +0 -2
  121. package/esm2022/lib/components/expansion-panel/public-api.mjs +0 -3
  122. package/esm2022/lib/components/footer/container/footer-container.component.mjs +0 -11
  123. package/esm2022/lib/components/footer/container/footer-container.module.mjs +0 -16
  124. package/esm2022/lib/components/footer/container/index.mjs +0 -2
  125. package/esm2022/lib/components/footer/container/public-api.mjs +0 -3
  126. package/esm2022/lib/components/footer/footer.component.mjs +0 -35
  127. package/esm2022/lib/components/footer/footer.component.types.mjs +0 -2
  128. package/esm2022/lib/components/footer/footer.module.mjs +0 -18
  129. package/esm2022/lib/components/footer/index.mjs +0 -2
  130. package/esm2022/lib/components/footer/public-api.mjs +0 -4
  131. package/esm2022/lib/components/form-fields/abstracts/abstract.base.component.mjs +0 -155
  132. package/esm2022/lib/components/form-fields/abstracts/abstract.dropdown.component.mjs +0 -108
  133. package/esm2022/lib/components/form-fields/abstracts/abstract.input.component.mjs +0 -52
  134. package/esm2022/lib/components/form-fields/area/index.mjs +0 -2
  135. package/esm2022/lib/components/form-fields/area/public-api.mjs +0 -3
  136. package/esm2022/lib/components/form-fields/area/textarea.component.mjs +0 -37
  137. package/esm2022/lib/components/form-fields/area/textarea.module.mjs +0 -55
  138. package/esm2022/lib/components/form-fields/common/dropdown-option-template.directive.mjs +0 -17
  139. package/esm2022/lib/components/form-fields/common/error/error.component.mjs +0 -29
  140. package/esm2022/lib/components/form-fields/common/hint/hint.component.mjs +0 -36
  141. package/esm2022/lib/components/form-fields/common/input.tooltip.component.mjs +0 -38
  142. package/esm2022/lib/components/form-fields/common/success/success.component.mjs +0 -29
  143. package/esm2022/lib/components/form-fields/datepickers/date-picker/datepicker.component.mjs +0 -61
  144. package/esm2022/lib/components/form-fields/datepickers/date-picker/datepicker.module.mjs +0 -87
  145. package/esm2022/lib/components/form-fields/datepickers/date-picker/index.mjs +0 -2
  146. package/esm2022/lib/components/form-fields/datepickers/date-picker/public-api.mjs +0 -3
  147. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/custom-datetime-format.mjs +0 -36
  148. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/custom-datetime.adapter.mjs +0 -49
  149. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetime-picker-format-directive.mjs +0 -66
  150. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetime-template.formatter.mjs +0 -171
  151. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetimepicker.component.mjs +0 -398
  152. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetimepicker.module.mjs +0 -87
  153. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/index.mjs +0 -2
  154. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/public-api.mjs +0 -3
  155. package/esm2022/lib/components/form-fields/datepickers/time-picker/index.mjs +0 -2
  156. package/esm2022/lib/components/form-fields/datepickers/time-picker/public-api.mjs +0 -3
  157. package/esm2022/lib/components/form-fields/datepickers/time-picker/timepicker.component.mjs +0 -77
  158. package/esm2022/lib/components/form-fields/datepickers/time-picker/timepicker.module.mjs +0 -90
  159. package/esm2022/lib/components/form-fields/dropdowns/dropdown/dropdown.component.mjs +0 -194
  160. package/esm2022/lib/components/form-fields/dropdowns/dropdown/dropdown.module.mjs +0 -71
  161. package/esm2022/lib/components/form-fields/dropdowns/dropdown/index.mjs +0 -2
  162. package/esm2022/lib/components/form-fields/dropdowns/dropdown/public-api.mjs +0 -3
  163. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/index.mjs +0 -2
  164. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/input-dropdown.component.mjs +0 -103
  165. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/input-dropdown.module.mjs +0 -67
  166. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/public-api.mjs +0 -3
  167. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/index.mjs +0 -2
  168. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -67
  169. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/multi-select-dropdown.module.mjs +0 -71
  170. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/public-api.mjs +0 -3
  171. package/esm2022/lib/components/form-fields/input/index.mjs +0 -2
  172. package/esm2022/lib/components/form-fields/input/input.component.mjs +0 -72
  173. package/esm2022/lib/components/form-fields/input/input.module.mjs +0 -55
  174. package/esm2022/lib/components/form-fields/input/public-api.mjs +0 -3
  175. package/esm2022/lib/components/form-fields/phone-field/index.mjs +0 -2
  176. package/esm2022/lib/components/form-fields/phone-field/phone-field.component.mjs +0 -61
  177. package/esm2022/lib/components/form-fields/phone-field/phone-field.module.mjs +0 -62
  178. package/esm2022/lib/components/form-fields/phone-field/public-api.mjs +0 -3
  179. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/index.mjs +0 -2
  180. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/public-api.mjs +0 -3
  181. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown-highlighter.pipe.mjs +0 -33
  182. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown.component.mjs +0 -683
  183. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown.component.types.mjs +0 -2
  184. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown.module.mjs +0 -75
  185. package/esm2022/lib/components/form-fields/search-fields/search-input/index.mjs +0 -2
  186. package/esm2022/lib/components/form-fields/search-fields/search-input/public-api.mjs +0 -3
  187. package/esm2022/lib/components/form-fields/search-fields/search-input/search-input.component.mjs +0 -43
  188. package/esm2022/lib/components/form-fields/search-fields/search-input/search-input.module.mjs +0 -67
  189. package/esm2022/lib/components/form-fields/selection-fields/checkbox/checkbox.component.mjs +0 -47
  190. package/esm2022/lib/components/form-fields/selection-fields/checkbox/checkbox.module.mjs +0 -39
  191. package/esm2022/lib/components/form-fields/selection-fields/checkbox/index.mjs +0 -2
  192. package/esm2022/lib/components/form-fields/selection-fields/checkbox/public-api.mjs +0 -3
  193. package/esm2022/lib/components/form-fields/selection-fields/radio-button/index.mjs +0 -2
  194. package/esm2022/lib/components/form-fields/selection-fields/radio-button/public-api.mjs +0 -3
  195. package/esm2022/lib/components/form-fields/selection-fields/radio-button/radio-button.component.mjs +0 -53
  196. package/esm2022/lib/components/form-fields/selection-fields/radio-button/radio-button.module.mjs +0 -55
  197. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/index.mjs +0 -2
  198. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/public-api.mjs +0 -3
  199. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/slide-toggle.component.mjs +0 -56
  200. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/slide-toggle.module.mjs +0 -39
  201. package/esm2022/lib/components/form-fields/selection-fields/slider/index.mjs +0 -2
  202. package/esm2022/lib/components/form-fields/selection-fields/slider/public-api.mjs +0 -3
  203. package/esm2022/lib/components/form-fields/selection-fields/slider/slider.component.mjs +0 -44
  204. package/esm2022/lib/components/form-fields/selection-fields/slider/slider.module.mjs +0 -43
  205. package/esm2022/lib/components/general/color-palette/colors.enums.mjs +0 -40
  206. package/esm2022/lib/components/general/color-palette/index.mjs +0 -2
  207. package/esm2022/lib/components/general/color-palette/public-api.mjs +0 -2
  208. package/esm2022/lib/components/header/container/header-container.component.mjs +0 -19
  209. package/esm2022/lib/components/header/container/header-container.module.mjs +0 -16
  210. package/esm2022/lib/components/header/container/index.mjs +0 -2
  211. package/esm2022/lib/components/header/container/public-api.mjs +0 -3
  212. package/esm2022/lib/components/header/header.component.mjs +0 -11
  213. package/esm2022/lib/components/header/header.module.mjs +0 -16
  214. package/esm2022/lib/components/header/index.mjs +0 -2
  215. package/esm2022/lib/components/header/public-api.mjs +0 -3
  216. package/esm2022/lib/components/icon-hover/icon-hover.component.mjs +0 -33
  217. package/esm2022/lib/components/icon-hover/icon-hover.module.mjs +0 -16
  218. package/esm2022/lib/components/icon-hover/index.mjs +0 -2
  219. package/esm2022/lib/components/icon-hover/public-api.mjs +0 -3
  220. package/esm2022/lib/components/logo/ascent-logo/ascent-logo.component.mjs +0 -53
  221. package/esm2022/lib/components/logo/ascent-logo/ascent-logo.module.mjs +0 -18
  222. package/esm2022/lib/components/logo/ascent-logo/index.mjs +0 -2
  223. package/esm2022/lib/components/logo/ascent-logo/public-api.mjs +0 -3
  224. package/esm2022/lib/components/logo/primary-logo/abstract-logo-component.mjs +0 -37
  225. package/esm2022/lib/components/logo/primary-logo/index.mjs +0 -2
  226. package/esm2022/lib/components/logo/primary-logo/primary-logo.component.mjs +0 -16
  227. package/esm2022/lib/components/logo/primary-logo/primary-logo.module.mjs +0 -18
  228. package/esm2022/lib/components/logo/primary-logo/public-api.mjs +0 -3
  229. package/esm2022/lib/components/modal/index.mjs +0 -2
  230. package/esm2022/lib/components/modal/modal.component.mjs +0 -40
  231. package/esm2022/lib/components/modal/modal.module.mjs +0 -21
  232. package/esm2022/lib/components/modal/public-api.mjs +0 -3
  233. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.component.mjs +0 -32
  234. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.module.mjs +0 -19
  235. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/index.mjs +0 -2
  236. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/public-api.mjs +0 -3
  237. package/esm2022/lib/components/nav-bar/nav-menu/index.mjs +0 -2
  238. package/esm2022/lib/components/nav-bar/nav-menu/nav-menu.component.mjs +0 -29
  239. package/esm2022/lib/components/nav-bar/nav-menu/nav-menu.module.mjs +0 -40
  240. package/esm2022/lib/components/nav-bar/nav-menu/nav-menu.types.mjs +0 -2
  241. package/esm2022/lib/components/nav-bar/nav-menu/public-api.mjs +0 -4
  242. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/index.mjs +0 -2
  243. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/public-api.mjs +0 -3
  244. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-nav-item.types.mjs +0 -2
  245. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.component.mjs +0 -73
  246. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.module.mjs +0 -66
  247. package/esm2022/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.mjs +0 -57
  248. package/esm2022/lib/components/nav-bar/side-nav-bar/index.mjs +0 -2
  249. package/esm2022/lib/components/nav-bar/side-nav-bar/nav-item.types.mjs +0 -2
  250. package/esm2022/lib/components/nav-bar/side-nav-bar/public-api.mjs +0 -4
  251. package/esm2022/lib/components/nav-bar/side-nav-bar/side-nav-bar.component.mjs +0 -42
  252. package/esm2022/lib/components/nav-bar/side-nav-bar/side-nav-bar.module.mjs +0 -42
  253. package/esm2022/lib/components/progress-indicators/progress-bar/index.mjs +0 -2
  254. package/esm2022/lib/components/progress-indicators/progress-bar/progress-bar.component.mjs +0 -78
  255. package/esm2022/lib/components/progress-indicators/progress-bar/progress-bar.module.mjs +0 -19
  256. package/esm2022/lib/components/progress-indicators/progress-bar/public-api.mjs +0 -3
  257. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/index.mjs +0 -2
  258. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.component.mjs +0 -79
  259. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.module.mjs +0 -19
  260. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.types.mjs +0 -8
  261. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/public-api.mjs +0 -3
  262. package/esm2022/lib/components/progress-indicators/progress-spinner/index.mjs +0 -2
  263. package/esm2022/lib/components/progress-indicators/progress-spinner/progress-spinner.component.mjs +0 -95
  264. package/esm2022/lib/components/progress-indicators/progress-spinner/progress-spinner.module.mjs +0 -22
  265. package/esm2022/lib/components/progress-indicators/progress-spinner/public-api.mjs +0 -3
  266. package/esm2022/lib/components/shell-layout/index.mjs +0 -2
  267. package/esm2022/lib/components/shell-layout/public-api.mjs +0 -3
  268. package/esm2022/lib/components/shell-layout/shell-layout.component.mjs +0 -25
  269. package/esm2022/lib/components/shell-layout/shell-layout.module.mjs +0 -18
  270. package/esm2022/lib/components/snackbars/inline-snackbar/index.mjs +0 -2
  271. package/esm2022/lib/components/snackbars/inline-snackbar/inline-snackbar.component.mjs +0 -63
  272. package/esm2022/lib/components/snackbars/inline-snackbar/inline-snackbar.module.mjs +0 -19
  273. package/esm2022/lib/components/snackbars/inline-snackbar/public-api.mjs +0 -3
  274. package/esm2022/lib/components/snackbars/snackbar/index.mjs +0 -2
  275. package/esm2022/lib/components/snackbars/snackbar/public-api.mjs +0 -3
  276. package/esm2022/lib/components/snackbars/snackbar/snackbar.component.mjs +0 -38
  277. package/esm2022/lib/components/snackbars/snackbar/snackbar.module.mjs +0 -20
  278. package/esm2022/lib/components/splash-page/index.mjs +0 -2
  279. package/esm2022/lib/components/splash-page/public-api.mjs +0 -3
  280. package/esm2022/lib/components/splash-page/splash-page.component.mjs +0 -20
  281. package/esm2022/lib/components/splash-page/splash-page.module.mjs +0 -18
  282. package/esm2022/lib/components/steppers/numeric-stepper/components/numeric-step.component.mjs +0 -22
  283. package/esm2022/lib/components/steppers/numeric-stepper/index.mjs +0 -2
  284. package/esm2022/lib/components/steppers/numeric-stepper/numeric-step.type.mjs +0 -2
  285. package/esm2022/lib/components/steppers/numeric-stepper/numeric-stepper.component.mjs +0 -18
  286. package/esm2022/lib/components/steppers/numeric-stepper/numeric-stepper.module.mjs +0 -20
  287. package/esm2022/lib/components/steppers/numeric-stepper/public-api.mjs +0 -4
  288. package/esm2022/lib/components/steppers/stepper/index.mjs +0 -2
  289. package/esm2022/lib/components/steppers/stepper/public-api.mjs +0 -4
  290. package/esm2022/lib/components/steppers/stepper/step.type.mjs +0 -2
  291. package/esm2022/lib/components/steppers/stepper/stepper.component.mjs +0 -33
  292. package/esm2022/lib/components/steppers/stepper/stepper.module.mjs +0 -20
  293. package/esm2022/lib/components/steppers/vertical-stepper/index.mjs +0 -2
  294. package/esm2022/lib/components/steppers/vertical-stepper/public-api.mjs +0 -4
  295. package/esm2022/lib/components/steppers/vertical-stepper/vertical-step.type.mjs +0 -2
  296. package/esm2022/lib/components/steppers/vertical-stepper/vertical-stepper.component.mjs +0 -34
  297. package/esm2022/lib/components/steppers/vertical-stepper/vertical-stepper.module.mjs +0 -20
  298. package/esm2022/lib/components/table/index.mjs +0 -2
  299. package/esm2022/lib/components/table/public-api.mjs +0 -3
  300. package/esm2022/lib/components/table/table.component.mjs +0 -94
  301. package/esm2022/lib/components/table/table.module.mjs +0 -20
  302. package/esm2022/lib/components/tags/create-tag/create-tag.component.mjs +0 -259
  303. package/esm2022/lib/components/tags/create-tag/create-tag.module.mjs +0 -48
  304. package/esm2022/lib/components/tags/create-tag/index.mjs +0 -2
  305. package/esm2022/lib/components/tags/create-tag/public-api.mjs +0 -3
  306. package/esm2022/lib/components/tags/tag/index.mjs +0 -2
  307. package/esm2022/lib/components/tags/tag/public-api.mjs +0 -4
  308. package/esm2022/lib/components/tags/tag/tag.component.mjs +0 -68
  309. package/esm2022/lib/components/tags/tag/tag.module.mjs +0 -19
  310. package/esm2022/lib/components/tags/tag/tag.types.mjs +0 -2
  311. package/esm2022/lib/components/tags/tag-container/index.mjs +0 -2
  312. package/esm2022/lib/components/tags/tag-container/public-api.mjs +0 -3
  313. package/esm2022/lib/components/tags/tag-container/tag-container.component.mjs +0 -11
  314. package/esm2022/lib/components/tags/tag-container/tag-container.module.mjs +0 -18
  315. package/esm2022/lib/services/viewport/viewport.service.interface.mjs +0 -2
  316. package/esm2022/lib/services/viewport/viewport.service.mjs +0 -32
  317. package/esm2022/lib/services/window/window.service.interface.mjs +0 -2
  318. package/esm2022/lib/services/window/window.service.mjs +0 -29
  319. package/esm2022/src/lib/components/avatar/ascentgl-ads-ui-src-lib-components-avatar.mjs +0 -5
  320. package/esm2022/src/lib/components/avatar/avatar.component.mjs +0 -50
  321. package/esm2022/src/lib/components/avatar/avatar.module.mjs +0 -19
  322. package/esm2022/src/lib/components/avatar/avatar.types.mjs +0 -2
  323. package/esm2022/src/lib/components/avatar/public-api.mjs +0 -3
  324. package/esm2022/src/lib/components/buttons/button-container/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs +0 -5
  325. package/esm2022/src/lib/components/buttons/button-container/button-container.component.mjs +0 -17
  326. package/esm2022/src/lib/components/buttons/button-container/button-container.module.mjs +0 -18
  327. package/esm2022/src/lib/components/buttons/button-container/public-api.mjs +0 -3
  328. package/esm2022/src/lib/components/drag-and-drop-list/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +0 -5
  329. package/esm2022/src/lib/components/drag-and-drop-list/dom.element.mjs +0 -62
  330. package/esm2022/src/lib/components/drag-and-drop-list/drag-and-drop-list.component.mjs +0 -349
  331. package/esm2022/src/lib/components/drag-and-drop-list/drag-and-drop-list.enums.mjs +0 -2
  332. package/esm2022/src/lib/components/drag-and-drop-list/drag-and-drop-list.module.mjs +0 -18
  333. package/esm2022/src/lib/components/drag-and-drop-list/dragged.placeholder.mjs +0 -63
  334. package/esm2022/src/lib/components/drag-and-drop-list/public-api.mjs +0 -3
  335. package/esm2022/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs +0 -5
  336. package/esm2022/src/lib/components/error-page/error-page-code/error-page-code.component.mjs +0 -14
  337. package/esm2022/src/lib/components/error-page/error-page-code/error-page-code.module.mjs +0 -18
  338. package/esm2022/src/lib/components/error-page/error-page-code/public-api.mjs +0 -3
  339. package/esm2022/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.mjs +0 -5
  340. package/esm2022/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.mjs +0 -5
  341. package/esm2022/src/lib/components/footer/container/footer-container.component.mjs +0 -11
  342. package/esm2022/src/lib/components/footer/container/footer-container.module.mjs +0 -16
  343. package/esm2022/src/lib/components/footer/container/public-api.mjs +0 -3
  344. package/esm2022/src/lib/components/footer/footer.component.mjs +0 -35
  345. package/esm2022/src/lib/components/footer/footer.component.types.mjs +0 -2
  346. package/esm2022/src/lib/components/footer/footer.module.mjs +0 -18
  347. package/esm2022/src/lib/components/footer/public-api.mjs +0 -4
  348. package/esm2022/src/lib/components/header/ascentgl-ads-ui-src-lib-components-header.mjs +0 -5
  349. package/esm2022/src/lib/components/header/container/ascentgl-ads-ui-src-lib-components-header-container.mjs +0 -5
  350. package/esm2022/src/lib/components/header/container/header-container.component.mjs +0 -19
  351. package/esm2022/src/lib/components/header/container/header-container.module.mjs +0 -16
  352. package/esm2022/src/lib/components/header/container/public-api.mjs +0 -3
  353. package/esm2022/src/lib/components/header/header.component.mjs +0 -11
  354. package/esm2022/src/lib/components/header/header.module.mjs +0 -16
  355. package/esm2022/src/lib/components/header/public-api.mjs +0 -3
  356. package/esm2022/src/lib/components/logo/primary-logo/abstract-logo-component.mjs +0 -37
  357. package/esm2022/src/lib/components/logo/primary-logo/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +0 -5
  358. package/esm2022/src/lib/components/logo/primary-logo/primary-logo.component.mjs +0 -16
  359. package/esm2022/src/lib/components/logo/primary-logo/primary-logo.module.mjs +0 -18
  360. package/esm2022/src/lib/components/logo/primary-logo/public-api.mjs +0 -3
  361. package/esm2022/src/lib/components/progress-indicators/progress-bar/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs +0 -5
  362. package/esm2022/src/lib/components/progress-indicators/progress-bar/progress-bar.component.mjs +0 -78
  363. package/esm2022/src/lib/components/progress-indicators/progress-bar/progress-bar.module.mjs +0 -19
  364. package/esm2022/src/lib/components/progress-indicators/progress-bar/public-api.mjs +0 -3
  365. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +0 -5
  366. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.component.mjs +0 -79
  367. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.module.mjs +0 -19
  368. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.types.mjs +0 -8
  369. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/public-api.mjs +0 -3
  370. package/esm2022/src/lib/components/progress-indicators/progress-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +0 -5
  371. package/esm2022/src/lib/components/progress-indicators/progress-spinner/progress-spinner.component.mjs +0 -95
  372. package/esm2022/src/lib/components/progress-indicators/progress-spinner/progress-spinner.module.mjs +0 -22
  373. package/esm2022/src/lib/components/progress-indicators/progress-spinner/public-api.mjs +0 -3
  374. package/esm2022/src/lib/components/shell-layout/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +0 -5
  375. package/esm2022/src/lib/components/shell-layout/public-api.mjs +0 -3
  376. package/esm2022/src/lib/components/shell-layout/shell-layout.component.mjs +0 -25
  377. package/esm2022/src/lib/components/shell-layout/shell-layout.module.mjs +0 -18
  378. package/esm2022/src/lib/components/splash-page/ascentgl-ads-ui-src-lib-components-splash-page.mjs +0 -5
  379. package/esm2022/src/lib/components/splash-page/public-api.mjs +0 -3
  380. package/esm2022/src/lib/components/splash-page/splash-page.component.mjs +0 -20
  381. package/esm2022/src/lib/components/splash-page/splash-page.module.mjs +0 -18
  382. package/esm2022/src/lib/components/tags/tag-container/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +0 -5
  383. package/esm2022/src/lib/components/tags/tag-container/public-api.mjs +0 -3
  384. package/esm2022/src/lib/components/tags/tag-container/tag-container.component.mjs +0 -11
  385. package/esm2022/src/lib/components/tags/tag-container/tag-container.module.mjs +0 -18
  386. package/src/assets/sass/ads-ui/overrides/_ag-grid.scss +0 -2
@@ -1,52 +0,0 @@
1
- import { Directive, Input } from '@angular/core';
2
- import { AbstractBaseComponent } from './abstract.base.component';
3
- import * as i0 from "@angular/core";
4
- export class AbstractInputComponent extends AbstractBaseComponent {
5
- constructor() {
6
- super(...arguments);
7
- this.showExclamationOnError = false;
8
- /** If true, clear button will appear in the input if it is not empty */
9
- this.showClearButton = false;
10
- /** Empty input field placeholder */
11
- this.placeholder = '';
12
- /** Whether the Input is a smaller version */
13
- this.size = 'base';
14
- }
15
- /** @ignore */
16
- get showExclamation() {
17
- return this.showExclamationOnError && this.valueControl.invalid && this.valueControl.touched;
18
- }
19
- /** @ignore */
20
- get canClear() {
21
- return this.showClearButton && !!this.valueControl.value;
22
- }
23
- /** @ignore */
24
- clear(event) {
25
- this.valueControl.setValue(null);
26
- this.valueControl.markAsTouched();
27
- /**
28
- * stop even propagation so that calendar won't open on "clear" button click
29
- */
30
- event.stopPropagation();
31
- }
32
- /** @ignore */
33
- get smallSize() {
34
- return this.size === 'xs';
35
- }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AbstractInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
37
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: AbstractInputComponent, inputs: { showExclamationOnError: "showExclamationOnError", showClearButton: "showClearButton", tooltip: "tooltip", placeholder: "placeholder", size: "size" }, usesInheritance: true, ngImport: i0 }); }
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AbstractInputComponent, decorators: [{
40
- type: Directive
41
- }], propDecorators: { showExclamationOnError: [{
42
- type: Input
43
- }], showClearButton: [{
44
- type: Input
45
- }], tooltip: [{
46
- type: Input
47
- }], placeholder: [{
48
- type: Input
49
- }], size: [{
50
- type: Input
51
- }] } });
52
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QuaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0tZmllbGRzL2Fic3RyYWN0cy9hYnN0cmFjdC5pbnB1dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7O0FBS2xFLE1BQU0sT0FBZ0Isc0JBQXVCLFNBQVEscUJBQXFCO0lBRDFFOztRQUVXLDJCQUFzQixHQUFHLEtBQUssQ0FBQ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gdGhpcy52YWx1ZUNvbnRyb2wudG91Y2hlZDtcbiAgfVxuXG4gIC8qKiBAaWdub3JlICovXG4gIGdldCBjYW5DbGVhcigpIHtcbiAgICByZXR1cm4gdGhpcy5zaG93Q2xlYXJCdXR0b24gJiYgISF0aGlzLnZhbHVlQ29udHJvbC52YWx1ZTtcbiAgfVxuXG4gIC8qKiBAaWdub3JlICovXG4gIGNsZWFyKGV2ZW50OiBNb3VzZUV2ZW50KTogdm9pZCB7XG4gICAgdGhpcy52YWx1ZUNvbnRyb2wuc2V0VmFsdWUobnVsbCk7XG5cbiAgICB0aGlzLnZhbHVlQ29udHJvbC5tYXJrQXNUb3VjaGVkKCk7XG5cbiAgICAvKipcbiAgICAgKiBzdG9wIGV2ZW4gcHJvcGFnYXRpb24gc28gdGhhdCBjYWxlbmRhciB3b24ndCBvcGVuIG9uIFwiY2xlYXJcIiBidXR0b24gY2xpY2tcbiAgICAgKi9cbiAgICBldmVudC5zdG9wUHJvcGFnYXRpb24oKTtcbiAgfVxuXG4gIC8qKiBAaWdub3JlICovXG4gIGdldCBzbWFsbFNpemUoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuc2l6ZSA9PT0gJ3hzJztcbiAgfVxufVxuIl19
@@ -1,2 +0,0 @@
1
- export * from './public-api';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvYXJlYS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './textarea.component';
2
- export * from './textarea.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtLWZpZWxkcy9hcmVhL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90ZXh0YXJlYS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi90ZXh0YXJlYS5tb2R1bGUnO1xuIl19
@@ -1,37 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { AbstractInputComponent } from '../abstracts/abstract.input.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/material/form-field";
6
- import * as i3 from "@angular/material/input";
7
- import * as i4 from "@angular/forms";
8
- import * as i5 from "@ascentgl/ads-icons";
9
- import * as i6 from "@angular/material/button";
10
- import * as i7 from "../common/input.tooltip.component";
11
- import * as i8 from "../common/success/success.component";
12
- import * as i9 from "../common/error/error.component";
13
- import * as i10 from "../common/hint/hint.component";
14
- export class AdsTextareaComponent extends AbstractInputComponent {
15
- constructor() {
16
- super(...arguments);
17
- /** Maximum amount of characters in the input field */
18
- this.maxlength = 2000;
19
- /** Maximum number of rows */
20
- this.rows = 5;
21
- /** Set to false to disallow resize */
22
- this.canResize = true;
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.1", type: AdsTextareaComponent, selector: "ads-textarea", inputs: { maxlength: "maxlength", rows: "rows", canResize: "canResize" }, usesInheritance: true, ngImport: i0, template: "<div [ngStyle]=\"{ minWidth: width }\" class=\"ads-field-container\">\n <div [ngStyle]=\"{ width: width }\">\n <mat-form-field\n [ngClass]=\"{\n 'immediate-validation': immediateValidation,\n 'no-left-padding': canClear && !showExclamation,\n 'success-label': canShowSuccess(),\n 'error-label': canShowError(),\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n <mat-label *ngIf=\"label || required\">{{ label }}</mat-label>\n <textarea\n matInput\n [rows]=\"rows\"\n [maxlength]=\"maxlength\"\n [id]=\"id\"\n [formControl]=\"valueControl\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n [ngStyle]=\"{ resize: canResize ? null : 'none' }\"\n >\n </textarea>\n @if (canClear) {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"clear($event)\">\n <ads-icon name=\"cross\" size=\"xxs\" [theme]=\"'iconPrimary'\" />\n </button>\n }\n </mat-form-field>\n <div class=\"footer-container\">\n @if (canShowError()) {\n <ads-error [error]=\"displayFirstError()\" [ngStyle]=\"{ width: width }\" />\n } @else if (canShowSuccess()) {\n <ads-success [success]=\"successMessage!\" [ngStyle]=\"{ width: width }\" />\n } @else if (hint) {\n <ads-hint [hint]=\"hint\" [control]=\"valueControl\" [ngStyle]=\"{ width: width }\" />\n }\n </div>\n </div>\n @if (tooltip) {\n <ads-input-tooltip [tooltip]=\"tooltip\" />\n }\n</div>\n", styles: [".ads-field-container{display:flex;gap:12px;align-items:flex-start}:host::ng-deep mat-form-field{--mdc-filled-text-field-container-color: var(--color-white);--mdc-filled-text-field-input-text-color: var(--color-medium);--mdc-filled-text-field-error-label-text-color: var(--color-error);--mdc-filled-text-field-label-text-color: var(--color-medium);--mdc-filled-text-field-focus-label-text-color: var(--color-medium);--mdc-filled-text-field-hover-label-text-color: var(--color-medium);--mdc-filled-text-field-label-text-size: 16px}:host::ng-deep mat-form-field .mdc-floating-label--float-above{--mdc-filled-text-field-label-text-size: 12px}:host::ng-deep mat-form-field .mdc-text-field{box-sizing:border-box;border-radius:5px;outline:1px solid var(--color-light);outline-offset:-1px;align-items:center;padding:0 12px;cursor:text;height:48px}:host::ng-deep mat-form-field .mdc-text-field .cross-icon{stroke:var(--color-medium)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex{height:100%}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex .mat-mdc-form-field-infix{align-items:center}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input{height:24px}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-outer-spin-button,:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input[type=number]{-moz-appearance:textfield}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .cross-icon,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .visibility-eye,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .picker{stroke:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .chevron-down,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .search-icon{color:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex{align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix{display:flex;align-items:flex-end;width:120px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label{width:100%}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label .mat-mdc-form-field-required-marker{color:var(--mdc-filled-text-field-error-label-text-color)}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix{display:flex;align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix .mat-mdc-icon-button{display:flex;align-items:center;justify-content:center}:host::ng-deep mat-form-field .action-icon{padding:0;--mdc-icon-button-state-layer-size: 35px}:host::ng-deep mat-form-field .action-icon .mat-mdc-button-touch-target{height:unset;width:unset}:host::ng-deep mat-form-field.x-small .mdc-text-field{height:24px;padding:0 8px}:host::ng-deep mat-form-field.x-small .mdc-text-field .mat-mdc-form-field-input-control{font-size:12px;line-height:16px}:host::ng-deep mat-form-field.x-small .action-icon{--mdc-icon-button-state-layer-size: 22px}:host::ng-deep mat-form-field.readonly .mdc-text-field{background-color:var(--mdc-filled-text-field-disabled-container-color);border:none}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover{background-color:var(--color-light-30);outline:2px solid var(--color-secondary-hover);outline-offset:-2px}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover .visibility-eye{fill:var(--color-light-30)!important}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px;background-color:var(--color-muted)}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field .visibility-eye{fill:var(--color-muted)!important}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{color:var(--mdc-filled-text-field-label-text-color)}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper:before{content:none}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-error-wrapper,:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-hint-wrapper{position:relative;padding:0}:host::ng-deep mat-form-field .mdc-line-ripple{display:none}:host::ng-deep mat-form-field.success-label .mat-mdc-form-field-required-marker,:host::ng-deep mat-form-field.success-label mat-label{color:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .mdc-text-field{outline:2px solid var(--color-success);outline-offset:-2px}:host::ng-deep mat-form-field.success-label .cross-icon,:host::ng-deep mat-form-field.success-label .visibility-eye,:host::ng-deep mat-form-field.success-label .picker{stroke:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .chevron-down,:host::ng-deep mat-form-field.success-label .search-icon{color:var(--color-success)!important}:host::ng-deep mat-form-field.error-label mat-label{color:var(--color-error)}:host::ng-deep mat-hint{display:inline-block}:host::ng-deep .mat-mdc-form-field-hint-spacer{display:none}.info-tooltip{position:relative;top:12px}mat-error{display:flex;padding-top:2px}mat-error .error{display:flex;align-items:flex-start;gap:2px}mat-error .error ads-icon{position:relative;top:2px}\n", ":host::ng-deep mat-form-field .mdc-text-field{height:auto}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label textarea{min-height:30px;margin-top:12px;margin-bottom:6px}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix textarea{line-height:24px;min-height:24px;margin-top:20px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-infix textarea{line-height:24px;position:relative;bottom:1px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-infix textarea::-webkit-resizer{background-size:contain;background-image:url(data:image/svg+xml;utf8;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMjEgMTUtNiA2bTYtMTMtMTMgMTMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=)}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-icon-suffix,:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix{align-self:baseline;height:var(--mat-form-field-container-height);display:flex;align-items:center}\n", ".footer-container{min-height:20px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i3.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: "directive", type: i4.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i7.AdsInputTooltipComponent, selector: "ads-input-tooltip", inputs: ["tooltip", "smallSize"] }, { kind: "component", type: i8.AdsSuccessComponent, selector: "ads-success", inputs: ["success"] }, { kind: "component", type: i9.AdsErrorComponent, selector: "ads-error", inputs: ["error"] }, { kind: "component", type: i10.AdsHintComponent, selector: "ads-hint", inputs: ["control", "hint"] }] }); }
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsTextareaComponent, decorators: [{
28
- type: Component,
29
- args: [{ selector: 'ads-textarea', template: "<div [ngStyle]=\"{ minWidth: width }\" class=\"ads-field-container\">\n <div [ngStyle]=\"{ width: width }\">\n <mat-form-field\n [ngClass]=\"{\n 'immediate-validation': immediateValidation,\n 'no-left-padding': canClear && !showExclamation,\n 'success-label': canShowSuccess(),\n 'error-label': canShowError(),\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n <mat-label *ngIf=\"label || required\">{{ label }}</mat-label>\n <textarea\n matInput\n [rows]=\"rows\"\n [maxlength]=\"maxlength\"\n [id]=\"id\"\n [formControl]=\"valueControl\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n [ngStyle]=\"{ resize: canResize ? null : 'none' }\"\n >\n </textarea>\n @if (canClear) {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"clear($event)\">\n <ads-icon name=\"cross\" size=\"xxs\" [theme]=\"'iconPrimary'\" />\n </button>\n }\n </mat-form-field>\n <div class=\"footer-container\">\n @if (canShowError()) {\n <ads-error [error]=\"displayFirstError()\" [ngStyle]=\"{ width: width }\" />\n } @else if (canShowSuccess()) {\n <ads-success [success]=\"successMessage!\" [ngStyle]=\"{ width: width }\" />\n } @else if (hint) {\n <ads-hint [hint]=\"hint\" [control]=\"valueControl\" [ngStyle]=\"{ width: width }\" />\n }\n </div>\n </div>\n @if (tooltip) {\n <ads-input-tooltip [tooltip]=\"tooltip\" />\n }\n</div>\n", styles: [".ads-field-container{display:flex;gap:12px;align-items:flex-start}:host::ng-deep mat-form-field{--mdc-filled-text-field-container-color: var(--color-white);--mdc-filled-text-field-input-text-color: var(--color-medium);--mdc-filled-text-field-error-label-text-color: var(--color-error);--mdc-filled-text-field-label-text-color: var(--color-medium);--mdc-filled-text-field-focus-label-text-color: var(--color-medium);--mdc-filled-text-field-hover-label-text-color: var(--color-medium);--mdc-filled-text-field-label-text-size: 16px}:host::ng-deep mat-form-field .mdc-floating-label--float-above{--mdc-filled-text-field-label-text-size: 12px}:host::ng-deep mat-form-field .mdc-text-field{box-sizing:border-box;border-radius:5px;outline:1px solid var(--color-light);outline-offset:-1px;align-items:center;padding:0 12px;cursor:text;height:48px}:host::ng-deep mat-form-field .mdc-text-field .cross-icon{stroke:var(--color-medium)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex{height:100%}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex .mat-mdc-form-field-infix{align-items:center}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input{height:24px}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-outer-spin-button,:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input[type=number]{-moz-appearance:textfield}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .cross-icon,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .visibility-eye,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .picker{stroke:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .chevron-down,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .search-icon{color:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex{align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix{display:flex;align-items:flex-end;width:120px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label{width:100%}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label .mat-mdc-form-field-required-marker{color:var(--mdc-filled-text-field-error-label-text-color)}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix{display:flex;align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix .mat-mdc-icon-button{display:flex;align-items:center;justify-content:center}:host::ng-deep mat-form-field .action-icon{padding:0;--mdc-icon-button-state-layer-size: 35px}:host::ng-deep mat-form-field .action-icon .mat-mdc-button-touch-target{height:unset;width:unset}:host::ng-deep mat-form-field.x-small .mdc-text-field{height:24px;padding:0 8px}:host::ng-deep mat-form-field.x-small .mdc-text-field .mat-mdc-form-field-input-control{font-size:12px;line-height:16px}:host::ng-deep mat-form-field.x-small .action-icon{--mdc-icon-button-state-layer-size: 22px}:host::ng-deep mat-form-field.readonly .mdc-text-field{background-color:var(--mdc-filled-text-field-disabled-container-color);border:none}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover{background-color:var(--color-light-30);outline:2px solid var(--color-secondary-hover);outline-offset:-2px}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover .visibility-eye{fill:var(--color-light-30)!important}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px;background-color:var(--color-muted)}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field .visibility-eye{fill:var(--color-muted)!important}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{color:var(--mdc-filled-text-field-label-text-color)}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper:before{content:none}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-error-wrapper,:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-hint-wrapper{position:relative;padding:0}:host::ng-deep mat-form-field .mdc-line-ripple{display:none}:host::ng-deep mat-form-field.success-label .mat-mdc-form-field-required-marker,:host::ng-deep mat-form-field.success-label mat-label{color:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .mdc-text-field{outline:2px solid var(--color-success);outline-offset:-2px}:host::ng-deep mat-form-field.success-label .cross-icon,:host::ng-deep mat-form-field.success-label .visibility-eye,:host::ng-deep mat-form-field.success-label .picker{stroke:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .chevron-down,:host::ng-deep mat-form-field.success-label .search-icon{color:var(--color-success)!important}:host::ng-deep mat-form-field.error-label mat-label{color:var(--color-error)}:host::ng-deep mat-hint{display:inline-block}:host::ng-deep .mat-mdc-form-field-hint-spacer{display:none}.info-tooltip{position:relative;top:12px}mat-error{display:flex;padding-top:2px}mat-error .error{display:flex;align-items:flex-start;gap:2px}mat-error .error ads-icon{position:relative;top:2px}\n", ":host::ng-deep mat-form-field .mdc-text-field{height:auto}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label textarea{min-height:30px;margin-top:12px;margin-bottom:6px}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix textarea{line-height:24px;min-height:24px;margin-top:20px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-infix textarea{line-height:24px;position:relative;bottom:1px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-infix textarea::-webkit-resizer{background-size:contain;background-image:url(data:image/svg+xml;utf8;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMjEgMTUtNiA2bTYtMTMtMTMgMTMiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4=)}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-icon-suffix,:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix{align-self:baseline;height:var(--mat-form-field-container-height);display:flex;align-items:center}\n", ".footer-container{min-height:20px}\n"] }]
30
- }], propDecorators: { maxlength: [{
31
- type: Input
32
- }], rows: [{
33
- type: Input
34
- }], canResize: [{
35
- type: Input
36
- }] } });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0tZmllbGRzL2FyZWEvdGV4dGFyZWEuY29tc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WNjZXNzXT1cInN1Y2Nlc3NNZXNzYWdlIVwiIFtuZ1N0eWxlXT1cInsgd2lkdGg6IHdpZHRoIH1cIiAvPlxuICAgICAgfSBAZWxzZSBpZiAoaGludCkge1xuICAgICAgICA8YWRzLWhpbnQgW2hpbnRdPVwiaGludFwiIFtjb250cm9sXT1cInZhbHVlQ29udHJvbFwiIFtuZ1N0eWxlXT1cInsgd2lkdGg6IHdpZHRoIH1cIiAvPlxuICAgICAgfVxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbiAgQGlmICh0b29sdGlwKSB7XG4gICAgPGFkcy1pbnB1dC10b29sdGlwIFt0b29sdGlwXT1cInRvb2x0aXBcIiAvPlxuICB9XG48L2Rpdj5cbiJdfQ==
@@ -1,55 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { ReactiveFormsModule } from '@angular/forms';
3
- import { MatFormFieldModule } from '@angular/material/form-field';
4
- import { MatInputModule } from '@angular/material/input';
5
- import { AdsIconModule } from '@ascentgl/ads-icons';
6
- import { CommonModule } from '@angular/common';
7
- import { MatIconButton } from '@angular/material/button';
8
- import { AdsInputTooltipComponent } from '../common/input.tooltip.component';
9
- import { AdsSuccessComponent } from '../common/success/success.component';
10
- import { AdsErrorComponent } from '../common/error/error.component';
11
- import { AdsHintComponent } from '../common/hint/hint.component';
12
- import { AdsTextareaComponent } from './textarea.component';
13
- import * as i0 from "@angular/core";
14
- export class AdsTextareaModule {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsTextareaModule, declarations: [AdsTextareaComponent], imports: [CommonModule,
17
- MatFormFieldModule,
18
- MatInputModule,
19
- ReactiveFormsModule,
20
- AdsIconModule,
21
- MatIconButton,
22
- AdsInputTooltipComponent,
23
- AdsSuccessComponent,
24
- AdsErrorComponent,
25
- AdsHintComponent], exports: [AdsTextareaComponent] }); }
26
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsTextareaModule, imports: [CommonModule,
27
- MatFormFieldModule,
28
- MatInputModule,
29
- ReactiveFormsModule,
30
- AdsIconModule,
31
- MatIconButton,
32
- AdsInputTooltipComponent,
33
- AdsSuccessComponent,
34
- AdsErrorComponent] }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsTextareaModule, decorators: [{
37
- type: NgModule,
38
- args: [{
39
- imports: [
40
- CommonModule,
41
- MatFormFieldModule,
42
- MatInputModule,
43
- ReactiveFormsModule,
44
- AdsIconModule,
45
- MatIconButton,
46
- AdsInputTooltipComponent,
47
- AdsSuccessComponent,
48
- AdsErrorComponent,
49
- AdsHintComponent,
50
- ],
51
- declarations: [AdsTextareaComponent],
52
- exports: [AdsTextareaComponent],
53
- }]
54
- }] });
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0tZmllbGRzL2FyZWEvdGV4dGFyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHlCQUF5QixD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geyBBZHNIaW50Q29tcG9uZW50IH0gZnJvbSAnLi4vY29tbW9uL2hpbnQvaGludC5jb21wb25lbnQnO1xuaW1wb3J0IHsgQWRzVGV4dGFyZWFDb21wb25lbnQgfSBmcm9tICcuL3RleHRhcmVhLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTWF0Rm9ybUZpZWxkTW9kdWxlLFxuICAgIE1hdElucHV0TW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgQWRzSWNvbk1vZHVsZSxcbiAgICBNYXRJY29uQnV0dG9uLFxuICAgIEFkc0lucHV0VG9vbHRpcENvbXBvbmVudCxcbiAgICBBZHNTdWNjZXNzQ29tcG9uZW50LFxuICAgIEFkc0Vycm9yQ29tcG9uZW50LFxuICAgIEFkc0hpbnRDb21wb25lbnQsXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW0Fkc1RleHRhcmVhQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW0Fkc1RleHRhcmVhQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQWRzVGV4dGFyZWFNb2R1bGUge31cbiJdfQ==
@@ -1,17 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DropdownOptionTemplateDirective {
4
- static ngTemplateContextGuard(_dir, _ctx) {
5
- return true;
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DropdownOptionTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: DropdownOptionTemplateDirective, isStandalone: true, selector: "ng-template[dropdown-option]", ngImport: i0 }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: DropdownOptionTemplateDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: 'ng-template[dropdown-option]',
14
- standalone: true,
15
- }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tb3B0aW9uLXRlbXBsYXRlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtLWZpZWxkcy9jb21tb24vZHJvcGRvd24tb3B0aW9uLXRlbXBsYXRlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVMxQyxNQUFNLE9BQU8sK0JBQStCO0lBQzFDLE1BQU0sQ0FBQyxzQkFBc0IsQ0FBQyxJQUFxQyxFQUFFLElBQWE7UUFDaEYsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDOzhHQUhVLCtCQUErQjtrR0FBL0IsK0JBQStCOzsyRkFBL0IsK0JBQStCO2tCQUozQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSw4QkFBOEI7b0JBQ3hDLFVBQVUsRUFBRSxJQUFJO2lCQUNqQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRHJvcGRvd25Db21wb25lbnRPcHRpb24gfSBmcm9tICcuLi9hYnN0cmFjdHMvYWJzdHJhY3QuZHJvcGRvd24uY29tcG9uZW50JztcblxuZXhwb3J0IHR5cGUgVEVNUExBVEVfVFlQRSA9IHsgJGltcGxpY2l0OiBEcm9wZG93bkNvbXBvbmVudE9wdGlvbjsgdmFsdWU6IHN0cmluZyB9O1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICduZy10ZW1wbGF0ZVtkcm9wZG93bi1vcHRpb25dJyxcbiAgc3RhbmRhbG9uZTogdHJ1ZSxcbn0pXG5leHBvcnQgY2xhc3MgRHJvcGRvd25PcHRpb25UZW1wbGF0ZURpcmVjdGl2ZSB7XG4gIHN0YXRpYyBuZ1RlbXBsYXRlQ29udGV4dEd1YXJkKF9kaXI6IERyb3Bkb3duT3B0aW9uVGVtcGxhdGVEaXJlY3RpdmUsIF9jdHg6IHVua25vd24pOiBfY3R4IGlzIFRFTVBMQVRFX1RZUEUge1xuICAgIHJldHVybiB0cnVlO1xuICB9XG59XG4iXX0=
@@ -1,29 +0,0 @@
1
- import { Component, input } from '@angular/core';
2
- import { MatError } from '@angular/material/form-field';
3
- import { animate, state, style, transition, trigger } from '@angular/animations';
4
- import { AdsIconModule } from '@ascentgl/ads-icons';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ascentgl/ads-icons";
7
- export class AdsErrorComponent {
8
- constructor() {
9
- /** Set text to show error */
10
- this.error = input.required();
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.1.1", type: AdsErrorComponent, isStandalone: true, selector: "ads-error", inputs: { error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<mat-error class=\"mat-error\" [@fadeInOut]>\n <div class=\"error\">\n <ads-icon [name]=\"'warning'\" [size]=\"'xxs'\" [theme]=\"'warn'\" [stroke]=\"'warn'\" />\n <span [innerHTML]=\"error()\"></span>\n </div>\n</mat-error>\n", styles: [":host{display:flex}:host mat-error{font-size:12px;font-weight:400;line-height:16px;-webkit-font-smoothing:antialiased;display:flex;padding-top:4px}:host mat-error .error{display:flex;align-items:center;gap:2px}\n"], dependencies: [{ kind: "directive", type: MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: AdsIconModule }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }], animations: [
14
- trigger('fadeInOut', [
15
- state('in', style({ opacity: 1, transform: 'translateX(0)' })),
16
- transition('void => *', [style({ opacity: 0, transform: 'translateY(-30%)' }), animate('300ms ease-in')]),
17
- ]),
18
- ] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsErrorComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: 'ads-error', standalone: true, imports: [MatError, AdsIconModule], animations: [
23
- trigger('fadeInOut', [
24
- state('in', style({ opacity: 1, transform: 'translateX(0)' })),
25
- transition('void => *', [style({ opacity: 0, transform: 'translateY(-30%)' }), animate('300ms ease-in')]),
26
- ]),
27
- ], template: "<mat-error class=\"mat-error\" [@fadeInOut]>\n <div class=\"error\">\n <ads-icon [name]=\"'warning'\" [size]=\"'xxs'\" [theme]=\"'warn'\" [stroke]=\"'warn'\" />\n <span [innerHTML]=\"error()\"></span>\n </div>\n</mat-error>\n", styles: [":host{display:flex}:host mat-error{font-size:12px;font-weight:400;line-height:16px;-webkit-font-smoothing:antialiased;display:flex;padding-top:4px}:host mat-error .error{display:flex;align-items:center;gap:2px}\n"] }]
28
- }] });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0tZmllbGRzL2NvbW1vbi9lcnJvci9lcnJvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8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bXG4gICAgdHJpZ2dlcignZmFkZUluT3V0JywgW1xuICAgICAgc3RhdGUoJ2luJywgc3R5bGUoeyBvcGFjaXR5OiAxLCB0cmFuc2Zvcm06ICd0cmFuc2xhdGVYKDApJyB9KSksXG4gICAgICB0cmFuc2l0aW9uKCd2b2lkID0+IConLCBbc3R5bGUoeyBvcGFjaXR5OiAwLCB0cmFuc2Zvcm06ICd0cmFuc2xhdGVZKC0zMCUpJyB9KSwgYW5pbWF0ZSgnMzAwbXMgZWFzZS1pbicpXSksXG4gICAgXSksXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEFkc0Vycm9yQ29tcG9uZW50IHtcbiAgLyoqIFNldCB0ZXh0IHRvIHNob3cgZXJyb3IgKi9cbiAgZXJyb3IgPSBpbnB1dC5yZXF1aXJlZDxzdHJpbmc+KCk7XG59XG4iLCI8bWF0LWVycm9yIGNsYXNzPVwibWF0LWVycm9yXCIgW0BmYWRlSW5PdXRdPlxuICA8ZGl2IGNsYXNzPVwiZXJyb3JcIj5cbiAgICA8YWRzLWljb24gW25hbWVdPVwiJ3dhcm5pbmcnXCIgW3NpemVdPVwiJ3h4cydcIiBbdGhlbWVdPVwiJ3dhcm4nXCIgW3N0cm9rZV09XCInd2FybidcIiAvPlxuICAgIDxzcGFuIFtpbm5lckhUTUxdPVwiZXJyb3IoKVwiPjwvc3Bhbj5cbiAgPC9kaXY+XG48L21hdC1lcnJvcj5cbiJdfQ==
@@ -1,36 +0,0 @@
1
- import { Component, input } from '@angular/core';
2
- import { MatHint } from '@angular/material/form-field';
3
- import { NgIf } from '@angular/common';
4
- import { animate, state, style, transition, trigger } from '@angular/animations';
5
- import * as i0 from "@angular/core";
6
- export class AdsHintComponent {
7
- constructor() {
8
- this.control = input.required();
9
- this.hint = input.required();
10
- this.state = 'off';
11
- }
12
- ngOnInit() {
13
- if (this.control().touched) {
14
- this.state = 'on';
15
- }
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.1.1", type: AdsHintComponent, isStandalone: true, selector: "ads-hint", inputs: { control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: true, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `<mat-hint [@fadeInOut]="state" [innerHTML]="hint()" />`, isInline: true, styles: [":host{display:flex}:host mat-hint{font-size:12px;font-weight:400;line-height:16px;color:var(--color-medium);-webkit-font-smoothing:antialiased}\n"], dependencies: [{ kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }], animations: [
19
- trigger('fadeInOut', [
20
- state('off', style({ opacity: 1, transform: 'translateX(0)' })),
21
- state('on', style({ opacity: 1, transform: 'translateX(0)' })),
22
- transition('void => on', [style({ opacity: 0, transform: 'translateY(-30%)' }), animate('300ms linear')]),
23
- ]),
24
- ] }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsHintComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'ads-hint', template: `<mat-hint [@fadeInOut]="state" [innerHTML]="hint()" />`, standalone: true, imports: [MatHint, NgIf], animations: [
29
- trigger('fadeInOut', [
30
- state('off', style({ opacity: 1, transform: 'translateX(0)' })),
31
- state('on', style({ opacity: 1, transform: 'translateX(0)' })),
32
- transition('void => on', [style({ opacity: 0, transform: 'translateY(-30%)' }), animate('300ms linear')]),
33
- ]),
34
- ], styles: [":host{display:flex}:host mat-hint{font-size:12px;font-weight:400;line-height:16px;color:var(--color-medium);-webkit-font-smoothing:antialiased}\n"] }]
35
- }] });
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGludC5jb21wb25lbnQuanMiLCJzb3VyY2VS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ZW1lbnRzIE9uSW5pdCB7XG4gIGNvbnRyb2wgPSBpbnB1dC5yZXF1aXJlZDxGb3JtQ29udHJvbD4oKTtcbiAgaGludCA9IGlucHV0LnJlcXVpcmVkPHN0cmluZz4oKTtcblxuICBzdGF0ZSA9ICdvZmYnO1xuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGlmICh0aGlzLmNvbnRyb2woKS50b3VjaGVkKSB7XG4gICAgICB0aGlzLnN0YXRlID0gJ29uJztcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -1,38 +0,0 @@
1
- import { Component, input } from '@angular/core';
2
- import { AdsIconModule, AdsIconRegistry } from '@ascentgl/ads-icons';
3
- import { adsIconInformation } from '@ascentgl/ads-icons/icons';
4
- import { MatTooltip } from '@angular/material/tooltip';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ascentgl/ads-icons";
7
- export class AdsInputTooltipComponent {
8
- constructor(registry) {
9
- this.registry = registry;
10
- this.tooltip = input.required();
11
- this.smallSize = input(false);
12
- this.registry.register([adsIconInformation]);
13
- }
14
- get iconPosition() {
15
- return this.smallSize() ? '3px' : '12px';
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsInputTooltipComponent, deps: [{ token: i1.AdsIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.1.1", type: AdsInputTooltipComponent, isStandalone: true, selector: "ads-input-tooltip", inputs: { tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: true, transformFunction: null }, smallSize: { classPropertyName: "smallSize", publicName: "smallSize", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `<ads-icon
19
- [matTooltip]="tooltip()"
20
- [matTooltipPosition]="'above'"
21
- [name]="'information'"
22
- [size]="smallSize() ? 'xxs' : 'sm'"
23
- [theme]="'secondary'"
24
- [style.top]="iconPosition"
25
- />`, isInline: true, styles: ["ads-icon{position:relative;top:12px}\n"], dependencies: [{ kind: "ngmodule", type: AdsIconModule }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsInputTooltipComponent, decorators: [{
28
- type: Component,
29
- args: [{ selector: 'ads-input-tooltip', template: `<ads-icon
30
- [matTooltip]="tooltip()"
31
- [matTooltipPosition]="'above'"
32
- [name]="'information'"
33
- [size]="smallSize() ? 'xxs' : 'sm'"
34
- [theme]="'secondary'"
35
- [style.top]="iconPosition"
36
- />`, standalone: true, imports: [AdsIconModule, MatTooltip], styles: ["ads-icon{position:relative;top:12px}\n"] }]
37
- }], ctorParameters: () => [{ type: i1.AdsIconRegistry }] });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQudG9vbHRpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvY29tbW9uL2lucHV0LnRvb2x0aXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxhQUFhLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFD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TJweCc7XG4gIH1cbn1cbiJdfQ==
@@ -1,29 +0,0 @@
1
- import { Component, input } from '@angular/core';
2
- import { MatError } from '@angular/material/form-field';
3
- import { animate, state, style, transition, trigger } from '@angular/animations';
4
- import { AdsIconModule } from '@ascentgl/ads-icons';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ascentgl/ads-icons";
7
- export class AdsSuccessComponent {
8
- constructor() {
9
- /** Set text to show success */
10
- this.success = input.required();
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.1.1", type: AdsSuccessComponent, isStandalone: true, selector: "ads-success", inputs: { success: { classPropertyName: "success", publicName: "success", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div [@fadeInOut] class=\"container\">\n <div class=\"success\">\n <ads-icon name=\"check_circle_filled\" size=\"xxs\" color=\"--color-success\" stroke=\"white\" />\n <span [innerHTML]=\"success()\"></span>\n </div>\n</div>\n", styles: [":host{display:flex}:host .container{font-size:12px;font-weight:400;color:var(--color-success);line-height:16px;-webkit-font-smoothing:antialiased;display:flex;padding-top:4px}:host .container .success{display:flex;align-items:center;gap:2px}\n"], dependencies: [{ kind: "ngmodule", type: AdsIconModule }, { kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }], animations: [
14
- trigger('fadeInOut', [
15
- state('in', style({ opacity: 1, transform: 'translateX(0)' })),
16
- transition('void => *', [style({ opacity: 0, transform: 'translateY(-30%)' }), animate('300ms ease-in')]),
17
- ]),
18
- ] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsSuccessComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: 'ads-success', standalone: true, imports: [MatError, AdsIconModule], animations: [
23
- trigger('fadeInOut', [
24
- state('in', style({ opacity: 1, transform: 'translateX(0)' })),
25
- transition('void => *', [style({ opacity: 0, transform: 'translateY(-30%)' }), animate('300ms ease-in')]),
26
- ]),
27
- ], template: "<div [@fadeInOut] class=\"container\">\n <div class=\"success\">\n <ads-icon name=\"check_circle_filled\" size=\"xxs\" color=\"--color-success\" stroke=\"white\" />\n <span [innerHTML]=\"success()\"></span>\n </div>\n</div>\n", styles: [":host{display:flex}:host .container{font-size:12px;font-weight:400;color:var(--color-success);line-height:16px;-webkit-font-smoothing:antialiased;display:flex;padding-top:4px}:host .container .success{display:flex;align-items:center;gap:2px}\n"] }]
28
- }] });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VjY2Vzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvY29tbW9uL3N1Y2Nlc3Mvc3VjY2Vzcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvY29tbW9uL3N1Y2Nlc3Mvc3VjY2Vzcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDeEQsT0FBTyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNqRixP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y2Nlc3MgPSBpbnB1dC5yZXF1aXJlZDxzdHJpbmc+KCk7XG59XG4iLCI8ZGl2IFtAZmFkZUluT3V0XSBjbGFzcz1cImNvbnRhaW5lclwiPlxuICA8ZGl2IGNsYXNzPVwic3VjY2Vzc1wiPlxuICAgIDxhZHMtaWNvbiBuYW1lPVwiY2hlY2tfY2lyY2xlX2ZpbGxlZFwiIHNpemU9XCJ4eHNcIiBjb2xvcj1cIi0tY29sb3Itc3VjY2Vzc1wiIHN0cm9rZT1cIndoaXRlXCIgLz5cbiAgICA8c3BhbiBbaW5uZXJIVE1MXT1cInN1Y2Nlc3MoKVwiPjwvc3Bhbj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -1,61 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { AdsDatetimepickerComponent } from '../datetime-picker';
3
- import { format } from 'date-fns';
4
- import { FORMAT_DATE } from '../datetime-picker/custom-datetime-format';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@angular/material/form-field";
8
- import * as i3 from "@angular/material/input";
9
- import * as i4 from "@angular/forms";
10
- import * as i5 from "@ascentgl/ads-icons";
11
- import * as i6 from "@mat-datetimepicker/core";
12
- import * as i7 from "../datetime-picker/datetime-picker-format-directive";
13
- import * as i8 from "../../common/input.tooltip.component";
14
- import * as i9 from "@angular/material/button";
15
- import * as i10 from "../../common/error/error.component";
16
- import * as i11 from "../../common/hint/hint.component";
17
- import * as i12 from "../../common/success/success.component";
18
- export class AdsDatepickerComponent extends AdsDatetimepickerComponent {
19
- constructor() {
20
- super(...arguments);
21
- /** if overrideDisplayFormat=true, this display format will be used */
22
- this.customDisplayFormat = FORMAT_DATE;
23
- /** @ignore */
24
- this.type = 'date';
25
- /** @ignore */
26
- this.twelveHour = false;
27
- /** @ignore */
28
- this.showTimePicker = false;
29
- /** @ignore */
30
- this.defaultErrorMessages = {
31
- matDatepickerParse: 'Date must appear in this format: MM/DD/YYYY',
32
- };
33
- }
34
- /** @ignore */
35
- applyCustomFormat() {
36
- this.customDisplayFormatOverride = {};
37
- if (this.overrideDisplayFormat) {
38
- this.customDisplayFormatOverride = { dateInput: this.customDisplayFormat };
39
- }
40
- }
41
- /** @ignore */
42
- displayedValueToControlValue(value) {
43
- return format(value, 'yyyy-MM-dd');
44
- }
45
- /** @ignore */
46
- onSyncDisplayedValue(valueToApply = this.valueControl.value) {
47
- if (this.valueControl.value !== null) {
48
- valueToApply = this.valueControl.value + 'T00:00:00';
49
- }
50
- this.setControlValue(this.displayControl, valueToApply);
51
- }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsDatepickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.1", type: AdsDatepickerComponent, selector: "ads-datepicker", inputs: { customDisplayFormat: "customDisplayFormat" }, usesInheritance: true, ngImport: i0, template: "<div [ngStyle]=\"{ minWidth: width }\" class=\"ads-field-container\">\n <div [ngStyle]=\"{ width: width }\">\n <mat-form-field\n [ngClass]=\"{\n 'immediate-validation': immediateValidation,\n 'no-left-padding': !showExclamation,\n invalid: canShowError(),\n manual: allowManualInput,\n 'success-label': canShowSuccess(),\n 'x-small': smallSize,\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n @if ((label || required) && !smallSize) {\n <mat-label>{{ label }}</mat-label>\n }\n <mat-datetimepicker\n #datetimePicker\n (viewChanged)=\"onViewChanged($event)\"\n (opened)=\"onOpened()\"\n (closed)=\"onClosed()\"\n [type]=\"type === 'datetime' ? (showTimePicker ? 'datetime' : 'date') : type\"\n [openOnFocus]=\"!allowManualInput\"\n [twelvehour]=\"twelveHour\"\n [timeInterval]=\"5\"\n [mode]=\"'portrait'\"\n />\n <input\n (dateChange)=\"onChanged($event)\"\n dateTimePickerFormat\n [overrideDisplayFormat]=\"overrideDisplayFormat || (type === 'datetime' ? !showTimePicker : false)\"\n [customDisplayFormat]=\"customDisplayFormatOverride\"\n [ngClass]=\"{ invisible: !valueControl.value }\"\n #input\n matInput\n (keydown)=\"allowManualInput ? onKeyDown($event) : null\"\n (input)=\"touchControls()\"\n (blur)=\"touchControls()\"\n [tabIndex]=\"allowManualInput ? 0 : -1\"\n [min]=\"minDate || null\"\n [readonly]=\"!allowManualInput\"\n [formControl]=\"displayControl\"\n [matDatetimepicker]=\"datetimePicker\"\n autocomplete=\"false\"\n [id]=\"id\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n />\n @if (type === 'time') {\n <button\n matTextSuffix\n type=\"button\"\n mat-icon-button\n (click)=\"toggle($event)\"\n [disabled]=\"!showTimePicker\"\n class=\"action-icon\"\n >\n <ads-icon class=\"picker\" name=\"timepicker\" [size]=\"smallSize ? 'xxs' : 'sm'\" [stroke]=\"'iconPrimary'\" />\n </button>\n } @else {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"toggle($event)\" class=\"action-icon\">\n <ads-icon class=\"picker\" name=\"datepicker\" [size]=\"smallSize ? 'xxs' : 'sm'\" [stroke]=\"'iconPrimary'\" />\n @if (type === 'datetime') {\n <ads-icon\n class=\"sub-timepicker mat-mdc-button-persistent-ripple picker\"\n name=\"timepicker\"\n size=\"xxs\"\n [stroke]=\"'iconPrimary'\"\n />\n }\n </button>\n }\n\n @if (canClear) {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"clear($event)\" class=\"action-icon\">\n <ads-icon class=\"cross-icon\" name=\"cross\" [size]=\"smallSize ? 'xxs' : 'xs'\" [theme]=\"'iconPrimary'\" />\n </button>\n }\n </mat-form-field>\n @if (showFooter) {\n <div class=\"footer-container\">\n @if (canShowError()) {\n <ads-error [error]=\"displayFirstError()\" [ngStyle]=\"{ width: width }\" />\n } @else if (canShowSuccess()) {\n <ads-success [success]=\"successMessage!\" [ngStyle]=\"{ width: width }\" />\n } @else if (hint) {\n <ads-hint [hint]=\"hint\" [control]=\"valueControl\" [ngStyle]=\"{ width: width }\" />\n }\n </div>\n }\n </div>\n @if (tooltip) {\n <ads-input-tooltip [tooltip]=\"tooltip\" />\n }\n</div>\n", styles: [".ads-field-container{display:flex;gap:12px;align-items:flex-start}:host::ng-deep mat-form-field{--mdc-filled-text-field-container-color: var(--color-white);--mdc-filled-text-field-input-text-color: var(--color-medium);--mdc-filled-text-field-error-label-text-color: var(--color-error);--mdc-filled-text-field-label-text-color: var(--color-medium);--mdc-filled-text-field-focus-label-text-color: var(--color-medium);--mdc-filled-text-field-hover-label-text-color: var(--color-medium);--mdc-filled-text-field-label-text-size: 16px}:host::ng-deep mat-form-field .mdc-floating-label--float-above{--mdc-filled-text-field-label-text-size: 12px}:host::ng-deep mat-form-field .mdc-text-field{box-sizing:border-box;border-radius:5px;outline:1px solid var(--color-light);outline-offset:-1px;align-items:center;padding:0 12px;cursor:text;height:48px}:host::ng-deep mat-form-field .mdc-text-field .cross-icon{stroke:var(--color-medium)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex{height:100%}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex .mat-mdc-form-field-infix{align-items:center}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input{height:24px}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-outer-spin-button,:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input[type=number]{-moz-appearance:textfield}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .cross-icon,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .visibility-eye,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .picker{stroke:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .chevron-down,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .search-icon{color:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex{align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix{display:flex;align-items:flex-end;width:120px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label{width:100%}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label .mat-mdc-form-field-required-marker{color:var(--mdc-filled-text-field-error-label-text-color)}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix{display:flex;align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix .mat-mdc-icon-button{display:flex;align-items:center;justify-content:center}:host::ng-deep mat-form-field .action-icon{padding:0;--mdc-icon-button-state-layer-size: 35px}:host::ng-deep mat-form-field .action-icon .mat-mdc-button-touch-target{height:unset;width:unset}:host::ng-deep mat-form-field.x-small .mdc-text-field{height:24px;padding:0 8px}:host::ng-deep mat-form-field.x-small .mdc-text-field .mat-mdc-form-field-input-control{font-size:12px;line-height:16px}:host::ng-deep mat-form-field.x-small .action-icon{--mdc-icon-button-state-layer-size: 22px}:host::ng-deep mat-form-field.readonly .mdc-text-field{background-color:var(--mdc-filled-text-field-disabled-container-color);border:none}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover{background-color:var(--color-light-30);outline:2px solid var(--color-secondary-hover);outline-offset:-2px}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover .visibility-eye{fill:var(--color-light-30)!important}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px;background-color:var(--color-muted)}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field .visibility-eye{fill:var(--color-muted)!important}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{color:var(--mdc-filled-text-field-label-text-color)}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper:before{content:none}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-error-wrapper,:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-hint-wrapper{position:relative;padding:0}:host::ng-deep mat-form-field .mdc-line-ripple{display:none}:host::ng-deep mat-form-field.success-label .mat-mdc-form-field-required-marker,:host::ng-deep mat-form-field.success-label mat-label{color:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .mdc-text-field{outline:2px solid var(--color-success);outline-offset:-2px}:host::ng-deep mat-form-field.success-label .cross-icon,:host::ng-deep mat-form-field.success-label .visibility-eye,:host::ng-deep mat-form-field.success-label .picker{stroke:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .chevron-down,:host::ng-deep mat-form-field.success-label .search-icon{color:var(--color-success)!important}:host::ng-deep mat-form-field.error-label mat-label{color:var(--color-error)}:host::ng-deep mat-hint{display:inline-block}:host::ng-deep .mat-mdc-form-field-hint-spacer{display:none}.info-tooltip{position:relative;top:12px}mat-error{display:flex;padding-top:2px}mat-error .error{display:flex;align-items:flex-start;gap:2px}mat-error .error ads-icon{position:relative;top:2px}\n", "button .sub-timepicker{position:absolute;top:18%;left:18%;background-color:var(--color-white);border-radius:50%}mat-form-field:not(.manual) ::ng-deep .mdc-text-field{cursor:pointer}mat-form-field:not(.manual) ::ng-deep .mdc-text-field input{cursor:pointer}::ng-deep .mdc-text-field:hover button .sub-timepicker{background-color:var(--color-light-30)}\n", ".footer-container{min-height:20px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i3.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: "directive", type: i4.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }, { kind: "component", type: i6.MatDatetimepickerComponent, selector: "mat-datetimepicker", inputs: ["multiYearSelector", "twelvehour", "startView", "mode", "timeInterval", "ariaNextMonthLabel", "ariaPrevMonthLabel", "ariaNextYearLabel", "ariaPrevYearLabel", "preventSameDateTimeSelection", "panelClass", "startAt", "openOnFocus", "type", "touchUi", "disabled"], outputs: ["selectedChanged", "opened", "closed", "viewChanged"], exportAs: ["matDatetimepicker"] }, { kind: "directive", type: i6.MatDatetimepickerInputDirective, selector: "input[matDatetimepicker]", inputs: ["matDatetimepicker", "matDatepickerFilter", "value", "min", "max", "disabled"], outputs: ["dateChange", "dateInput"], exportAs: ["matDatepickerInput"] }, { kind: "directive", type: i7.DateTimePickerFormatDirective, selector: "[dateTimePickerFormat]", inputs: ["customDisplayFormat", "overrideDisplayFormat"] }, { kind: "component", type: i8.AdsInputTooltipComponent, selector: "ads-input-tooltip", inputs: ["tooltip", "smallSize"] }, { kind: "component", type: i9.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i10.AdsErrorComponent, selector: "ads-error", inputs: ["error"] }, { kind: "component", type: i11.AdsHintComponent, selector: "ads-hint", inputs: ["control", "hint"] }, { kind: "component", type: i12.AdsSuccessComponent, selector: "ads-success", inputs: ["success"] }] }); }
54
- }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsDatepickerComponent, decorators: [{
56
- type: Component,
57
- args: [{ selector: 'ads-datepicker', template: "<div [ngStyle]=\"{ minWidth: width }\" class=\"ads-field-container\">\n <div [ngStyle]=\"{ width: width }\">\n <mat-form-field\n [ngClass]=\"{\n 'immediate-validation': immediateValidation,\n 'no-left-padding': !showExclamation,\n invalid: canShowError(),\n manual: allowManualInput,\n 'success-label': canShowSuccess(),\n 'x-small': smallSize,\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n @if ((label || required) && !smallSize) {\n <mat-label>{{ label }}</mat-label>\n }\n <mat-datetimepicker\n #datetimePicker\n (viewChanged)=\"onViewChanged($event)\"\n (opened)=\"onOpened()\"\n (closed)=\"onClosed()\"\n [type]=\"type === 'datetime' ? (showTimePicker ? 'datetime' : 'date') : type\"\n [openOnFocus]=\"!allowManualInput\"\n [twelvehour]=\"twelveHour\"\n [timeInterval]=\"5\"\n [mode]=\"'portrait'\"\n />\n <input\n (dateChange)=\"onChanged($event)\"\n dateTimePickerFormat\n [overrideDisplayFormat]=\"overrideDisplayFormat || (type === 'datetime' ? !showTimePicker : false)\"\n [customDisplayFormat]=\"customDisplayFormatOverride\"\n [ngClass]=\"{ invisible: !valueControl.value }\"\n #input\n matInput\n (keydown)=\"allowManualInput ? onKeyDown($event) : null\"\n (input)=\"touchControls()\"\n (blur)=\"touchControls()\"\n [tabIndex]=\"allowManualInput ? 0 : -1\"\n [min]=\"minDate || null\"\n [readonly]=\"!allowManualInput\"\n [formControl]=\"displayControl\"\n [matDatetimepicker]=\"datetimePicker\"\n autocomplete=\"false\"\n [id]=\"id\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n />\n @if (type === 'time') {\n <button\n matTextSuffix\n type=\"button\"\n mat-icon-button\n (click)=\"toggle($event)\"\n [disabled]=\"!showTimePicker\"\n class=\"action-icon\"\n >\n <ads-icon class=\"picker\" name=\"timepicker\" [size]=\"smallSize ? 'xxs' : 'sm'\" [stroke]=\"'iconPrimary'\" />\n </button>\n } @else {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"toggle($event)\" class=\"action-icon\">\n <ads-icon class=\"picker\" name=\"datepicker\" [size]=\"smallSize ? 'xxs' : 'sm'\" [stroke]=\"'iconPrimary'\" />\n @if (type === 'datetime') {\n <ads-icon\n class=\"sub-timepicker mat-mdc-button-persistent-ripple picker\"\n name=\"timepicker\"\n size=\"xxs\"\n [stroke]=\"'iconPrimary'\"\n />\n }\n </button>\n }\n\n @if (canClear) {\n <button matTextSuffix type=\"button\" mat-icon-button (click)=\"clear($event)\" class=\"action-icon\">\n <ads-icon class=\"cross-icon\" name=\"cross\" [size]=\"smallSize ? 'xxs' : 'xs'\" [theme]=\"'iconPrimary'\" />\n </button>\n }\n </mat-form-field>\n @if (showFooter) {\n <div class=\"footer-container\">\n @if (canShowError()) {\n <ads-error [error]=\"displayFirstError()\" [ngStyle]=\"{ width: width }\" />\n } @else if (canShowSuccess()) {\n <ads-success [success]=\"successMessage!\" [ngStyle]=\"{ width: width }\" />\n } @else if (hint) {\n <ads-hint [hint]=\"hint\" [control]=\"valueControl\" [ngStyle]=\"{ width: width }\" />\n }\n </div>\n }\n </div>\n @if (tooltip) {\n <ads-input-tooltip [tooltip]=\"tooltip\" />\n }\n</div>\n", styles: [".ads-field-container{display:flex;gap:12px;align-items:flex-start}:host::ng-deep mat-form-field{--mdc-filled-text-field-container-color: var(--color-white);--mdc-filled-text-field-input-text-color: var(--color-medium);--mdc-filled-text-field-error-label-text-color: var(--color-error);--mdc-filled-text-field-label-text-color: var(--color-medium);--mdc-filled-text-field-focus-label-text-color: var(--color-medium);--mdc-filled-text-field-hover-label-text-color: var(--color-medium);--mdc-filled-text-field-label-text-size: 16px}:host::ng-deep mat-form-field .mdc-floating-label--float-above{--mdc-filled-text-field-label-text-size: 12px}:host::ng-deep mat-form-field .mdc-text-field{box-sizing:border-box;border-radius:5px;outline:1px solid var(--color-light);outline-offset:-1px;align-items:center;padding:0 12px;cursor:text;height:48px}:host::ng-deep mat-form-field .mdc-text-field .cross-icon{stroke:var(--color-medium)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex{height:100%}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--no-label .mat-mdc-form-field-flex .mat-mdc-form-field-infix{align-items:center}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input{height:24px}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-outer-spin-button,:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host::ng-deep mat-form-field .mdc-text-field:not(.mdc-text-field--no-label) .mat-mdc-form-field-infix input[type=number]{-moz-appearance:textfield}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .cross-icon,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .visibility-eye,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .picker{stroke:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .chevron-down,:host::ng-deep mat-form-field .mdc-text-field.mdc-text-field--invalid .search-icon{color:var(--color-error)!important}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex{align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix{display:flex;align-items:flex-end;width:120px}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label{width:100%}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-flex .mat-mdc-form-field-infix label .mat-mdc-form-field-required-marker{color:var(--mdc-filled-text-field-error-label-text-color)}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix{display:flex;align-items:center}:host::ng-deep mat-form-field .mdc-text-field .mat-mdc-form-field-text-suffix .mat-mdc-icon-button{display:flex;align-items:center;justify-content:center}:host::ng-deep mat-form-field .action-icon{padding:0;--mdc-icon-button-state-layer-size: 35px}:host::ng-deep mat-form-field .action-icon .mat-mdc-button-touch-target{height:unset;width:unset}:host::ng-deep mat-form-field.x-small .mdc-text-field{height:24px;padding:0 8px}:host::ng-deep mat-form-field.x-small .mdc-text-field .mat-mdc-form-field-input-control{font-size:12px;line-height:16px}:host::ng-deep mat-form-field.x-small .action-icon{--mdc-icon-button-state-layer-size: 22px}:host::ng-deep mat-form-field.readonly .mdc-text-field{background-color:var(--mdc-filled-text-field-disabled-container-color);border:none}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover{background-color:var(--color-light-30);outline:2px solid var(--color-secondary-hover);outline-offset:-2px}:host::ng-deep mat-form-field:not(.readonly) .mdc-text-field:hover .visibility-eye{fill:var(--color-light-30)!important}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px;background-color:var(--color-muted)}:host::ng-deep mat-form-field:not(.readonly).mat-focused .mdc-text-field .visibility-eye{fill:var(--color-muted)!important}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field{outline:2px solid var(--color-medium);outline-offset:-2px}:host::ng-deep mat-form-field.immediate-validation .mdc-text-field.mdc-text-field--invalid{outline:2px solid var(--color-error);outline-offset:-2px}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{color:var(--mdc-filled-text-field-label-text-color)}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper:before{content:none}:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-error-wrapper,:host::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper .mat-mdc-form-field-hint-wrapper{position:relative;padding:0}:host::ng-deep mat-form-field .mdc-line-ripple{display:none}:host::ng-deep mat-form-field.success-label .mat-mdc-form-field-required-marker,:host::ng-deep mat-form-field.success-label mat-label{color:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .mdc-text-field{outline:2px solid var(--color-success);outline-offset:-2px}:host::ng-deep mat-form-field.success-label .cross-icon,:host::ng-deep mat-form-field.success-label .visibility-eye,:host::ng-deep mat-form-field.success-label .picker{stroke:var(--color-success)!important}:host::ng-deep mat-form-field.success-label .chevron-down,:host::ng-deep mat-form-field.success-label .search-icon{color:var(--color-success)!important}:host::ng-deep mat-form-field.error-label mat-label{color:var(--color-error)}:host::ng-deep mat-hint{display:inline-block}:host::ng-deep .mat-mdc-form-field-hint-spacer{display:none}.info-tooltip{position:relative;top:12px}mat-error{display:flex;padding-top:2px}mat-error .error{display:flex;align-items:flex-start;gap:2px}mat-error .error ads-icon{position:relative;top:2px}\n", "button .sub-timepicker{position:absolute;top:18%;left:18%;background-color:var(--color-white);border-radius:50%}mat-form-field:not(.manual) ::ng-deep .mdc-text-field{cursor:pointer}mat-form-field:not(.manual) ::ng-deep .mdc-text-field input{cursor:pointer}::ng-deep .mdc-text-field:hover button .sub-timepicker{background-color:var(--color-light-30)}\n", ".footer-container{min-height:20px}\n"] }]
58
- }], propDecorators: { customDisplayFormat: [{
59
- type: Input
60
- }] } });
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvZGF0ZXBpY2tlcnMvZGF0ZS1waWNrZXIvZGF0ZXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvZGF0ZXBpY2tlcnMvZGF0ZXRpbWUtcGlja2VyL2RhdGV0aW1lcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRWhFLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDbEMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDJDQUEyQyxDQUFDOzs7Ozs7Ozs7Ozs7OztBQVl4RSxNQUFNLE9BQU8sc0JBQXVCLFNBQVEsMEJBQTBCO0lBVHRFOztRQVVFLHNFQUFzRTtRQUM3RCx3QkFBbUIsR0FBVyxXQUFXLENBQUM7UUFFbkQsY0FB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vd01hbnVhbElucHV0ID8gb25LZXlEb3duKCRldmVudCkgOiBudWxsXCJcbiAgICAgICAgKGlucHV0KT1cInRvdWNoQ29udHJvbHMoKVwiXG4gICAgICAgIChibHVyKT1cInRvdWNoQ29udHJvbHMoKVwiXG4gICAgICAgIFt0YWJJbmRleF09XCJhbGxvd01hbnVhbElucHV0ID8gMCA6IC0xXCJcbiAgICAgICAgW21pbl09XCJtaW5EYXRlIHx8IG51bGxcIlxuICAgICAgICBbcmVhZG9ubHldPVwiIWFsbG93TWFudWFsSW5wdXRcIlxuICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZGlzcGxheUNvbnRyb2xcIlxuICAgICAgICBbbWF0RGF0ZXRpbWVwaWNrZXJdPVwiZGF0ZXRpbWVQaWNrZXJcIlxuICAgICAgICBhdXRvY29tcGxldGU9XCJmYWxzZVwiXG4gICAgICAgIFtpZF09XCJpZFwiXG4gICAgICAgIFtyZXF1aXJlZF09XCJyZXF1aXJlZFwiXG4gICAgICAgIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXG4gICAgICAvPlxuICAgICAgQGlmICh0eXBlID09PSAndGltZScpIHtcbiAgICAgICAgPGJ1dHRvblxuICAgICAgICAgIG1hdFRleHRTdWZmaXhcbiAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICBtYXQtaWNvbi1idXR0b25cbiAgICAgICAgICAoY2xpY2spPVwidG9nZ2xlKCRldmVudClcIlxuICAgICAgICAgIFtkaXNhYmxlZF09XCIhc2hvd1RpbWVQaWNrZXJcIlxuICAgICAgICAgIGNsYXNzPVwiYWN0aW9uLWljb25cIlxuICAgICAgICA+XG4gICAgICAgICAgPGFkcy1pY29uIGNsYXNzPVwicGlja2VyXCIgbmFtZT1cInRpbWVwaWNrZXJcIiBbc2l6ZV09XCJzbWFsbFNpemUgPyAneHhzJyA6ICdzbSdcIiBbc3Ryb2tlXT1cIidpY29uUHJpbWFyeSdcIiAvPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgIH0gQGVsc2Uge1xuICAgICAgICA8YnV0dG9uIG1hdFRleHRTdWZmaXggdHlwZT1cImJ1dHRvblwiIG1hdC1pY29uLWJ1dHRvbiAoY2xpY2spPVwidG9nZ2xlKCRldmVudClcIiBjbGFzcz1cImFjdGlvbi1pY29uXCI+XG4gICAgICAgICAgPGFkcy1pY29uIGNsYXNzPVwicGlja2VyXCIgbmFtZT1cImRhdGVwaWNrZXJcIiBbc2l6ZV09XCJzbWFsbFNpemUgPyAneHhzJyA6ICdzbSdcIiBbc3Ryb2tlXT1cIidpY29uUHJpbWFyeSdcIiAvPlxuICAgICAgICAgIEBpZiAodHlwZSA9PT0gJ2RhdGV0aW1lJykge1xuICAgICAgICAgICAgPGFkcy1pY29uXG4gICAgICAgICAgICAgIGNsYXNzPVwic3ViLXRpbWVwaWNrZXIgbWF0LW1kYy1idXR0b24tcGVyc2lzdGVudC1yaXBwbGUgcGlja2VyXCJcbiAgICAgICAgICAgICAgbmFtZT1cInRpbWVwaWNrZXJcIlxuICAgICAgICAgICAgICBzaXplPVwieHhzXCJcbiAgICAgICAgICAgICAgW3N0cm9rZV09XCInaWNvblByaW1hcnknXCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgfVxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgIH1cblxuICAgICAgQGlmIChjYW5DbGVhcikge1xuICAgICAgICA8YnV0dG9uIG1hdFRleHRTdWZmaXggdHlwZT1cImJ1dHRvblwiIG1hdC1pY29uLWJ1dHRvbiAoY2xpY2spPVwiY2xlYXIoJGV2ZW50KVwiIGNsYXNzPVwiYWN0aW9uLWljb25cIj5cbiAgICAgICAgICA8YWRzLWljb24gY2xhc3M9XCJjcm9zcy1pY29uXCIgbmFtZT1cImNyb3NzXCIgW3NpemVdPVwic21hbGxTaXplID8gJ3h4cycgOiAneHMnXCIgW3RoZW1lXT1cIidpY29uUHJpbWFyeSdcIiAvPlxuICAgICAgICA8L2J1dHRvbj5cbi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