@ascentgl/ads-ui 0.0.39 → 0.0.41

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 (396) 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 +571 -583
  32. package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
  33. package/index.d.ts +1 -1
  34. package/lib/components/brand-artifacts/bubble/bubble.component.d.ts +26 -0
  35. package/lib/components/brand-artifacts/bubble/bubble.module.d.ts +9 -0
  36. package/lib/components/brand-artifacts/bubble/public-api.d.ts +2 -0
  37. package/lib/components/buttons/button/button.component.d.ts +1 -6
  38. package/lib/components/form-fields/abstracts/abstract.base.component.d.ts +1 -1
  39. package/lib/components/form-fields/abstracts/abstract.dropdown.component.d.ts +1 -1
  40. package/lib/components/form-fields/abstracts/abstract.input.component.d.ts +1 -1
  41. package/lib/components/logo/primary-logo/abstract-logo-component.d.ts +1 -1
  42. package/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.d.ts +1 -1
  43. package/lib/components/snackbars/snackbar/snackbar.component.d.ts +3 -3
  44. package/lib/components/table/table.component.d.ts +194 -0
  45. package/package.json +4 -36
  46. package/src/assets/sass/ads-ui/abstracts/_functions.scss +6 -3
  47. package/src/assets/sass/ads-ui/abstracts/_mixins.scss +2 -0
  48. package/src/assets/sass/ads-ui/base/_reset.scss +1 -2
  49. package/src/assets/sass/ads-ui/base/_typography.scss +1 -10
  50. package/src/assets/sass/ads-ui/base/_utilities.scss +1 -2
  51. package/src/assets/sass/ads-ui/main.scss +10 -9
  52. package/src/assets/sass/ads-ui/overrides/_angular-material.scss +7 -7
  53. package/src/assets/sass/ads-ui/overrides/angular-material/_bottom-sheet.scss +2 -0
  54. package/src/assets/sass/ads-ui/overrides/angular-material/_datetimepicker.scss +1 -3
  55. package/src/assets/sass/ads-ui/overrides/angular-material/_dropdown.scss +1 -2
  56. package/src/assets/sass/ads-ui/overrides/angular-material/_html.scss +1 -2
  57. package/src/assets/sass/ads-ui/overrides/angular-material/_mat-list.scss +2 -0
  58. package/src/assets/sass/ads-ui/overrides/angular-material/_search-dropdown-modal.scss +2 -0
  59. package/src/assets/sass/ads-ui/overrides/angular-material/_snackbar.scss +1 -2
  60. package/src/assets/sass/ads-ui/overrides/angular-material/_tooltip.scss +1 -2
  61. package/src/lib/components/logo/primary-logo/abstract-logo-component.d.ts +1 -1
  62. package/esm2022/ascentgl-ads-ui.mjs +0 -5
  63. package/esm2022/index.mjs +0 -61
  64. package/esm2022/lib/components/avatar/avatar.component.mjs +0 -50
  65. package/esm2022/lib/components/avatar/avatar.module.mjs +0 -19
  66. package/esm2022/lib/components/avatar/avatar.types.mjs +0 -2
  67. package/esm2022/lib/components/avatar/index.mjs +0 -2
  68. package/esm2022/lib/components/avatar/public-api.mjs +0 -3
  69. package/esm2022/lib/components/badge/index.mjs +0 -2
  70. package/esm2022/lib/components/badge/numeric-badge.component.mjs +0 -35
  71. package/esm2022/lib/components/badge/numeric-badge.module.mjs +0 -19
  72. package/esm2022/lib/components/badge/public-api.mjs +0 -3
  73. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -57
  74. package/esm2022/lib/components/breadcrumb/breadcrumb.module.mjs +0 -21
  75. package/esm2022/lib/components/breadcrumb/breadcrumb.type.mjs +0 -2
  76. package/esm2022/lib/components/breadcrumb/breadcrumb.visual-processor.mjs +0 -151
  77. package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
  78. package/esm2022/lib/components/breadcrumb/public-api.mjs +0 -4
  79. package/esm2022/lib/components/buttons/button/button.component.mjs +0 -35
  80. package/esm2022/lib/components/buttons/button/button.module.mjs +0 -19
  81. package/esm2022/lib/components/buttons/button/index.mjs +0 -2
  82. package/esm2022/lib/components/buttons/button/public-api.mjs +0 -3
  83. package/esm2022/lib/components/buttons/button-container/button-container.component.mjs +0 -17
  84. package/esm2022/lib/components/buttons/button-container/button-container.module.mjs +0 -18
  85. package/esm2022/lib/components/buttons/button-container/index.mjs +0 -2
  86. package/esm2022/lib/components/buttons/button-container/public-api.mjs +0 -3
  87. package/esm2022/lib/components/buttons/icon-button/icon-button.component.mjs +0 -36
  88. package/esm2022/lib/components/buttons/icon-button/icon-button.module.mjs +0 -20
  89. package/esm2022/lib/components/buttons/icon-button/index.mjs +0 -2
  90. package/esm2022/lib/components/buttons/icon-button/public-api.mjs +0 -3
  91. package/esm2022/lib/components/buttons/link-button/index.mjs +0 -2
  92. package/esm2022/lib/components/buttons/link-button/link-button.component.mjs +0 -18
  93. package/esm2022/lib/components/buttons/link-button/link-button.module.mjs +0 -20
  94. package/esm2022/lib/components/buttons/link-button/public-api.mjs +0 -3
  95. package/esm2022/lib/components/card/card.component.mjs +0 -37
  96. package/esm2022/lib/components/card/card.module.mjs +0 -18
  97. package/esm2022/lib/components/card/index.mjs +0 -2
  98. package/esm2022/lib/components/card/public-api.mjs +0 -3
  99. package/esm2022/lib/components/chip/chip.component.mjs +0 -45
  100. package/esm2022/lib/components/chip/chip.module.mjs +0 -19
  101. package/esm2022/lib/components/chip/chip.types.mjs +0 -2
  102. package/esm2022/lib/components/chip/index.mjs +0 -2
  103. package/esm2022/lib/components/chip/public-api.mjs +0 -3
  104. package/esm2022/lib/components/divider/divider.component.mjs +0 -38
  105. package/esm2022/lib/components/divider/divider.module.mjs +0 -18
  106. package/esm2022/lib/components/divider/index.mjs +0 -2
  107. package/esm2022/lib/components/divider/public-api.mjs +0 -3
  108. package/esm2022/lib/components/drag-and-drop-list/dom.element.mjs +0 -62
  109. package/esm2022/lib/components/drag-and-drop-list/drag-and-drop-list.component.mjs +0 -349
  110. package/esm2022/lib/components/drag-and-drop-list/drag-and-drop-list.enums.mjs +0 -2
  111. package/esm2022/lib/components/drag-and-drop-list/drag-and-drop-list.module.mjs +0 -18
  112. package/esm2022/lib/components/drag-and-drop-list/dragged.placeholder.mjs +0 -63
  113. package/esm2022/lib/components/drag-and-drop-list/index.mjs +0 -2
  114. package/esm2022/lib/components/drag-and-drop-list/public-api.mjs +0 -3
  115. package/esm2022/lib/components/error-page/error-page-code/error-page-code.component.mjs +0 -14
  116. package/esm2022/lib/components/error-page/error-page-code/error-page-code.module.mjs +0 -18
  117. package/esm2022/lib/components/error-page/error-page-code/index.mjs +0 -2
  118. package/esm2022/lib/components/error-page/error-page-code/public-api.mjs +0 -3
  119. package/esm2022/lib/components/error-page/error-page.component.mjs +0 -110
  120. package/esm2022/lib/components/error-page/error-page.module.mjs +0 -25
  121. package/esm2022/lib/components/error-page/error-page.types.mjs +0 -7
  122. package/esm2022/lib/components/error-page/index.mjs +0 -2
  123. package/esm2022/lib/components/error-page/public-api.mjs +0 -4
  124. package/esm2022/lib/components/expansion-panel/expansion-panel.component.mjs +0 -36
  125. package/esm2022/lib/components/expansion-panel/expansion-panel.module.mjs +0 -38
  126. package/esm2022/lib/components/expansion-panel/index.mjs +0 -2
  127. package/esm2022/lib/components/expansion-panel/public-api.mjs +0 -3
  128. package/esm2022/lib/components/footer/container/footer-container.component.mjs +0 -11
  129. package/esm2022/lib/components/footer/container/footer-container.module.mjs +0 -16
  130. package/esm2022/lib/components/footer/container/index.mjs +0 -2
  131. package/esm2022/lib/components/footer/container/public-api.mjs +0 -3
  132. package/esm2022/lib/components/footer/footer.component.mjs +0 -35
  133. package/esm2022/lib/components/footer/footer.component.types.mjs +0 -2
  134. package/esm2022/lib/components/footer/footer.module.mjs +0 -18
  135. package/esm2022/lib/components/footer/index.mjs +0 -2
  136. package/esm2022/lib/components/footer/public-api.mjs +0 -4
  137. package/esm2022/lib/components/form-fields/abstracts/abstract.base.component.mjs +0 -155
  138. package/esm2022/lib/components/form-fields/abstracts/abstract.dropdown.component.mjs +0 -108
  139. package/esm2022/lib/components/form-fields/abstracts/abstract.input.component.mjs +0 -52
  140. package/esm2022/lib/components/form-fields/area/index.mjs +0 -2
  141. package/esm2022/lib/components/form-fields/area/public-api.mjs +0 -3
  142. package/esm2022/lib/components/form-fields/area/textarea.component.mjs +0 -37
  143. package/esm2022/lib/components/form-fields/area/textarea.module.mjs +0 -55
  144. package/esm2022/lib/components/form-fields/common/dropdown-option-template.directive.mjs +0 -17
  145. package/esm2022/lib/components/form-fields/common/error/error.component.mjs +0 -29
  146. package/esm2022/lib/components/form-fields/common/hint/hint.component.mjs +0 -36
  147. package/esm2022/lib/components/form-fields/common/input.tooltip.component.mjs +0 -38
  148. package/esm2022/lib/components/form-fields/common/success/success.component.mjs +0 -29
  149. package/esm2022/lib/components/form-fields/datepickers/date-picker/datepicker.component.mjs +0 -61
  150. package/esm2022/lib/components/form-fields/datepickers/date-picker/datepicker.module.mjs +0 -87
  151. package/esm2022/lib/components/form-fields/datepickers/date-picker/index.mjs +0 -2
  152. package/esm2022/lib/components/form-fields/datepickers/date-picker/public-api.mjs +0 -3
  153. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/custom-datetime-format.mjs +0 -36
  154. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/custom-datetime.adapter.mjs +0 -49
  155. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetime-picker-format-directive.mjs +0 -66
  156. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetime-template.formatter.mjs +0 -171
  157. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetimepicker.component.mjs +0 -398
  158. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/datetimepicker.module.mjs +0 -87
  159. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/index.mjs +0 -2
  160. package/esm2022/lib/components/form-fields/datepickers/datetime-picker/public-api.mjs +0 -3
  161. package/esm2022/lib/components/form-fields/datepickers/time-picker/index.mjs +0 -2
  162. package/esm2022/lib/components/form-fields/datepickers/time-picker/public-api.mjs +0 -3
  163. package/esm2022/lib/components/form-fields/datepickers/time-picker/timepicker.component.mjs +0 -77
  164. package/esm2022/lib/components/form-fields/datepickers/time-picker/timepicker.module.mjs +0 -90
  165. package/esm2022/lib/components/form-fields/dropdowns/dropdown/dropdown.component.mjs +0 -194
  166. package/esm2022/lib/components/form-fields/dropdowns/dropdown/dropdown.module.mjs +0 -71
  167. package/esm2022/lib/components/form-fields/dropdowns/dropdown/index.mjs +0 -2
  168. package/esm2022/lib/components/form-fields/dropdowns/dropdown/public-api.mjs +0 -3
  169. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/index.mjs +0 -2
  170. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/input-dropdown.component.mjs +0 -103
  171. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/input-dropdown.module.mjs +0 -67
  172. package/esm2022/lib/components/form-fields/dropdowns/input-dropdown/public-api.mjs +0 -3
  173. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/index.mjs +0 -2
  174. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -67
  175. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/multi-select-dropdown.module.mjs +0 -71
  176. package/esm2022/lib/components/form-fields/dropdowns/multi-select-dropdown/public-api.mjs +0 -3
  177. package/esm2022/lib/components/form-fields/input/index.mjs +0 -2
  178. package/esm2022/lib/components/form-fields/input/input.component.mjs +0 -72
  179. package/esm2022/lib/components/form-fields/input/input.module.mjs +0 -55
  180. package/esm2022/lib/components/form-fields/input/public-api.mjs +0 -3
  181. package/esm2022/lib/components/form-fields/phone-field/index.mjs +0 -2
  182. package/esm2022/lib/components/form-fields/phone-field/phone-field.component.mjs +0 -61
  183. package/esm2022/lib/components/form-fields/phone-field/phone-field.module.mjs +0 -62
  184. package/esm2022/lib/components/form-fields/phone-field/public-api.mjs +0 -3
  185. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/index.mjs +0 -2
  186. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/public-api.mjs +0 -3
  187. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown-highlighter.pipe.mjs +0 -33
  188. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown.component.mjs +0 -683
  189. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown.component.types.mjs +0 -2
  190. package/esm2022/lib/components/form-fields/search-fields/search-dropdown/search-dropdown.module.mjs +0 -75
  191. package/esm2022/lib/components/form-fields/search-fields/search-input/index.mjs +0 -2
  192. package/esm2022/lib/components/form-fields/search-fields/search-input/public-api.mjs +0 -3
  193. package/esm2022/lib/components/form-fields/search-fields/search-input/search-input.component.mjs +0 -43
  194. package/esm2022/lib/components/form-fields/search-fields/search-input/search-input.module.mjs +0 -67
  195. package/esm2022/lib/components/form-fields/selection-fields/checkbox/checkbox.component.mjs +0 -47
  196. package/esm2022/lib/components/form-fields/selection-fields/checkbox/checkbox.module.mjs +0 -39
  197. package/esm2022/lib/components/form-fields/selection-fields/checkbox/index.mjs +0 -2
  198. package/esm2022/lib/components/form-fields/selection-fields/checkbox/public-api.mjs +0 -3
  199. package/esm2022/lib/components/form-fields/selection-fields/radio-button/index.mjs +0 -2
  200. package/esm2022/lib/components/form-fields/selection-fields/radio-button/public-api.mjs +0 -3
  201. package/esm2022/lib/components/form-fields/selection-fields/radio-button/radio-button.component.mjs +0 -53
  202. package/esm2022/lib/components/form-fields/selection-fields/radio-button/radio-button.module.mjs +0 -55
  203. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/index.mjs +0 -2
  204. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/public-api.mjs +0 -3
  205. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/slide-toggle.component.mjs +0 -56
  206. package/esm2022/lib/components/form-fields/selection-fields/slide-toggle/slide-toggle.module.mjs +0 -39
  207. package/esm2022/lib/components/form-fields/selection-fields/slider/index.mjs +0 -2
  208. package/esm2022/lib/components/form-fields/selection-fields/slider/public-api.mjs +0 -3
  209. package/esm2022/lib/components/form-fields/selection-fields/slider/slider.component.mjs +0 -44
  210. package/esm2022/lib/components/form-fields/selection-fields/slider/slider.module.mjs +0 -43
  211. package/esm2022/lib/components/general/color-palette/colors.enums.mjs +0 -40
  212. package/esm2022/lib/components/general/color-palette/index.mjs +0 -2
  213. package/esm2022/lib/components/general/color-palette/public-api.mjs +0 -2
  214. package/esm2022/lib/components/header/container/header-container.component.mjs +0 -19
  215. package/esm2022/lib/components/header/container/header-container.module.mjs +0 -16
  216. package/esm2022/lib/components/header/container/index.mjs +0 -2
  217. package/esm2022/lib/components/header/container/public-api.mjs +0 -3
  218. package/esm2022/lib/components/header/header.component.mjs +0 -11
  219. package/esm2022/lib/components/header/header.module.mjs +0 -16
  220. package/esm2022/lib/components/header/index.mjs +0 -2
  221. package/esm2022/lib/components/header/public-api.mjs +0 -3
  222. package/esm2022/lib/components/icon-hover/icon-hover.component.mjs +0 -33
  223. package/esm2022/lib/components/icon-hover/icon-hover.module.mjs +0 -16
  224. package/esm2022/lib/components/icon-hover/index.mjs +0 -2
  225. package/esm2022/lib/components/icon-hover/public-api.mjs +0 -3
  226. package/esm2022/lib/components/logo/ascent-logo/ascent-logo.component.mjs +0 -53
  227. package/esm2022/lib/components/logo/ascent-logo/ascent-logo.module.mjs +0 -18
  228. package/esm2022/lib/components/logo/ascent-logo/index.mjs +0 -2
  229. package/esm2022/lib/components/logo/ascent-logo/public-api.mjs +0 -3
  230. package/esm2022/lib/components/logo/primary-logo/abstract-logo-component.mjs +0 -37
  231. package/esm2022/lib/components/logo/primary-logo/index.mjs +0 -2
  232. package/esm2022/lib/components/logo/primary-logo/primary-logo.component.mjs +0 -16
  233. package/esm2022/lib/components/logo/primary-logo/primary-logo.module.mjs +0 -18
  234. package/esm2022/lib/components/logo/primary-logo/public-api.mjs +0 -3
  235. package/esm2022/lib/components/modal/index.mjs +0 -2
  236. package/esm2022/lib/components/modal/modal.component.mjs +0 -40
  237. package/esm2022/lib/components/modal/modal.module.mjs +0 -21
  238. package/esm2022/lib/components/modal/public-api.mjs +0 -3
  239. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.component.mjs +0 -32
  240. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/horizontal-nav-bar.module.mjs +0 -19
  241. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/index.mjs +0 -2
  242. package/esm2022/lib/components/nav-bar/horizontal-nav-bar/public-api.mjs +0 -3
  243. package/esm2022/lib/components/nav-bar/nav-menu/index.mjs +0 -2
  244. package/esm2022/lib/components/nav-bar/nav-menu/nav-menu.component.mjs +0 -29
  245. package/esm2022/lib/components/nav-bar/nav-menu/nav-menu.module.mjs +0 -40
  246. package/esm2022/lib/components/nav-bar/nav-menu/nav-menu.types.mjs +0 -2
  247. package/esm2022/lib/components/nav-bar/nav-menu/public-api.mjs +0 -4
  248. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/index.mjs +0 -2
  249. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/public-api.mjs +0 -3
  250. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-nav-item.types.mjs +0 -2
  251. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.component.mjs +0 -73
  252. package/esm2022/lib/components/nav-bar/scms-side-nav-bar/scms-side-nav-bar.module.mjs +0 -66
  253. package/esm2022/lib/components/nav-bar/side-nav-bar/abstract-side-nav-bar.component.mjs +0 -57
  254. package/esm2022/lib/components/nav-bar/side-nav-bar/index.mjs +0 -2
  255. package/esm2022/lib/components/nav-bar/side-nav-bar/nav-item.types.mjs +0 -2
  256. package/esm2022/lib/components/nav-bar/side-nav-bar/public-api.mjs +0 -4
  257. package/esm2022/lib/components/nav-bar/side-nav-bar/side-nav-bar.component.mjs +0 -42
  258. package/esm2022/lib/components/nav-bar/side-nav-bar/side-nav-bar.module.mjs +0 -42
  259. package/esm2022/lib/components/progress-indicators/progress-bar/index.mjs +0 -2
  260. package/esm2022/lib/components/progress-indicators/progress-bar/progress-bar.component.mjs +0 -78
  261. package/esm2022/lib/components/progress-indicators/progress-bar/progress-bar.module.mjs +0 -19
  262. package/esm2022/lib/components/progress-indicators/progress-bar/public-api.mjs +0 -3
  263. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/index.mjs +0 -2
  264. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.component.mjs +0 -79
  265. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.module.mjs +0 -19
  266. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.types.mjs +0 -8
  267. package/esm2022/lib/components/progress-indicators/progress-indicator-spinner/public-api.mjs +0 -3
  268. package/esm2022/lib/components/progress-indicators/progress-spinner/index.mjs +0 -2
  269. package/esm2022/lib/components/progress-indicators/progress-spinner/progress-spinner.component.mjs +0 -95
  270. package/esm2022/lib/components/progress-indicators/progress-spinner/progress-spinner.module.mjs +0 -22
  271. package/esm2022/lib/components/progress-indicators/progress-spinner/public-api.mjs +0 -3
  272. package/esm2022/lib/components/shell-layout/index.mjs +0 -2
  273. package/esm2022/lib/components/shell-layout/public-api.mjs +0 -3
  274. package/esm2022/lib/components/shell-layout/shell-layout.component.mjs +0 -25
  275. package/esm2022/lib/components/shell-layout/shell-layout.module.mjs +0 -18
  276. package/esm2022/lib/components/snackbars/inline-snackbar/index.mjs +0 -2
  277. package/esm2022/lib/components/snackbars/inline-snackbar/inline-snackbar.component.mjs +0 -63
  278. package/esm2022/lib/components/snackbars/inline-snackbar/inline-snackbar.module.mjs +0 -19
  279. package/esm2022/lib/components/snackbars/inline-snackbar/public-api.mjs +0 -3
  280. package/esm2022/lib/components/snackbars/snackbar/index.mjs +0 -2
  281. package/esm2022/lib/components/snackbars/snackbar/public-api.mjs +0 -3
  282. package/esm2022/lib/components/snackbars/snackbar/snackbar.component.mjs +0 -38
  283. package/esm2022/lib/components/snackbars/snackbar/snackbar.module.mjs +0 -20
  284. package/esm2022/lib/components/splash-page/index.mjs +0 -2
  285. package/esm2022/lib/components/splash-page/public-api.mjs +0 -3
  286. package/esm2022/lib/components/splash-page/splash-page.component.mjs +0 -20
  287. package/esm2022/lib/components/splash-page/splash-page.module.mjs +0 -18
  288. package/esm2022/lib/components/steppers/numeric-stepper/components/numeric-step.component.mjs +0 -22
  289. package/esm2022/lib/components/steppers/numeric-stepper/index.mjs +0 -2
  290. package/esm2022/lib/components/steppers/numeric-stepper/numeric-step.type.mjs +0 -2
  291. package/esm2022/lib/components/steppers/numeric-stepper/numeric-stepper.component.mjs +0 -18
  292. package/esm2022/lib/components/steppers/numeric-stepper/numeric-stepper.module.mjs +0 -20
  293. package/esm2022/lib/components/steppers/numeric-stepper/public-api.mjs +0 -4
  294. package/esm2022/lib/components/steppers/stepper/index.mjs +0 -2
  295. package/esm2022/lib/components/steppers/stepper/public-api.mjs +0 -4
  296. package/esm2022/lib/components/steppers/stepper/step.type.mjs +0 -2
  297. package/esm2022/lib/components/steppers/stepper/stepper.component.mjs +0 -33
  298. package/esm2022/lib/components/steppers/stepper/stepper.module.mjs +0 -20
  299. package/esm2022/lib/components/steppers/vertical-stepper/index.mjs +0 -2
  300. package/esm2022/lib/components/steppers/vertical-stepper/public-api.mjs +0 -4
  301. package/esm2022/lib/components/steppers/vertical-stepper/vertical-step.type.mjs +0 -2
  302. package/esm2022/lib/components/steppers/vertical-stepper/vertical-stepper.component.mjs +0 -34
  303. package/esm2022/lib/components/steppers/vertical-stepper/vertical-stepper.module.mjs +0 -20
  304. package/esm2022/lib/components/table/index.mjs +0 -2
  305. package/esm2022/lib/components/table/public-api.mjs +0 -3
  306. package/esm2022/lib/components/table/table.component.mjs +0 -94
  307. package/esm2022/lib/components/table/table.module.mjs +0 -20
  308. package/esm2022/lib/components/tags/create-tag/create-tag.component.mjs +0 -259
  309. package/esm2022/lib/components/tags/create-tag/create-tag.module.mjs +0 -48
  310. package/esm2022/lib/components/tags/create-tag/index.mjs +0 -2
  311. package/esm2022/lib/components/tags/create-tag/public-api.mjs +0 -3
  312. package/esm2022/lib/components/tags/tag/index.mjs +0 -2
  313. package/esm2022/lib/components/tags/tag/public-api.mjs +0 -4
  314. package/esm2022/lib/components/tags/tag/tag.component.mjs +0 -68
  315. package/esm2022/lib/components/tags/tag/tag.module.mjs +0 -19
  316. package/esm2022/lib/components/tags/tag/tag.types.mjs +0 -2
  317. package/esm2022/lib/components/tags/tag-container/index.mjs +0 -2
  318. package/esm2022/lib/components/tags/tag-container/public-api.mjs +0 -3
  319. package/esm2022/lib/components/tags/tag-container/tag-container.component.mjs +0 -11
  320. package/esm2022/lib/components/tags/tag-container/tag-container.module.mjs +0 -18
  321. package/esm2022/lib/services/viewport/viewport.service.interface.mjs +0 -2
  322. package/esm2022/lib/services/viewport/viewport.service.mjs +0 -32
  323. package/esm2022/lib/services/window/window.service.interface.mjs +0 -2
  324. package/esm2022/lib/services/window/window.service.mjs +0 -29
  325. package/esm2022/src/lib/components/avatar/ascentgl-ads-ui-src-lib-components-avatar.mjs +0 -5
  326. package/esm2022/src/lib/components/avatar/avatar.component.mjs +0 -50
  327. package/esm2022/src/lib/components/avatar/avatar.module.mjs +0 -19
  328. package/esm2022/src/lib/components/avatar/avatar.types.mjs +0 -2
  329. package/esm2022/src/lib/components/avatar/public-api.mjs +0 -3
  330. package/esm2022/src/lib/components/buttons/button-container/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs +0 -5
  331. package/esm2022/src/lib/components/buttons/button-container/button-container.component.mjs +0 -17
  332. package/esm2022/src/lib/components/buttons/button-container/button-container.module.mjs +0 -18
  333. package/esm2022/src/lib/components/buttons/button-container/public-api.mjs +0 -3
  334. package/esm2022/src/lib/components/drag-and-drop-list/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +0 -5
  335. package/esm2022/src/lib/components/drag-and-drop-list/dom.element.mjs +0 -62
  336. package/esm2022/src/lib/components/drag-and-drop-list/drag-and-drop-list.component.mjs +0 -349
  337. package/esm2022/src/lib/components/drag-and-drop-list/drag-and-drop-list.enums.mjs +0 -2
  338. package/esm2022/src/lib/components/drag-and-drop-list/drag-and-drop-list.module.mjs +0 -18
  339. package/esm2022/src/lib/components/drag-and-drop-list/dragged.placeholder.mjs +0 -63
  340. package/esm2022/src/lib/components/drag-and-drop-list/public-api.mjs +0 -3
  341. package/esm2022/src/lib/components/error-page/error-page-code/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs +0 -5
  342. package/esm2022/src/lib/components/error-page/error-page-code/error-page-code.component.mjs +0 -14
  343. package/esm2022/src/lib/components/error-page/error-page-code/error-page-code.module.mjs +0 -18
  344. package/esm2022/src/lib/components/error-page/error-page-code/public-api.mjs +0 -3
  345. package/esm2022/src/lib/components/footer/ascentgl-ads-ui-src-lib-components-footer.mjs +0 -5
  346. package/esm2022/src/lib/components/footer/container/ascentgl-ads-ui-src-lib-components-footer-container.mjs +0 -5
  347. package/esm2022/src/lib/components/footer/container/footer-container.component.mjs +0 -11
  348. package/esm2022/src/lib/components/footer/container/footer-container.module.mjs +0 -16
  349. package/esm2022/src/lib/components/footer/container/public-api.mjs +0 -3
  350. package/esm2022/src/lib/components/footer/footer.component.mjs +0 -35
  351. package/esm2022/src/lib/components/footer/footer.component.types.mjs +0 -2
  352. package/esm2022/src/lib/components/footer/footer.module.mjs +0 -18
  353. package/esm2022/src/lib/components/footer/public-api.mjs +0 -4
  354. package/esm2022/src/lib/components/header/ascentgl-ads-ui-src-lib-components-header.mjs +0 -5
  355. package/esm2022/src/lib/components/header/container/ascentgl-ads-ui-src-lib-components-header-container.mjs +0 -5
  356. package/esm2022/src/lib/components/header/container/header-container.component.mjs +0 -19
  357. package/esm2022/src/lib/components/header/container/header-container.module.mjs +0 -16
  358. package/esm2022/src/lib/components/header/container/public-api.mjs +0 -3
  359. package/esm2022/src/lib/components/header/header.component.mjs +0 -11
  360. package/esm2022/src/lib/components/header/header.module.mjs +0 -16
  361. package/esm2022/src/lib/components/header/public-api.mjs +0 -3
  362. package/esm2022/src/lib/components/logo/primary-logo/abstract-logo-component.mjs +0 -37
  363. package/esm2022/src/lib/components/logo/primary-logo/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +0 -5
  364. package/esm2022/src/lib/components/logo/primary-logo/primary-logo.component.mjs +0 -16
  365. package/esm2022/src/lib/components/logo/primary-logo/primary-logo.module.mjs +0 -18
  366. package/esm2022/src/lib/components/logo/primary-logo/public-api.mjs +0 -3
  367. package/esm2022/src/lib/components/progress-indicators/progress-bar/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs +0 -5
  368. package/esm2022/src/lib/components/progress-indicators/progress-bar/progress-bar.component.mjs +0 -78
  369. package/esm2022/src/lib/components/progress-indicators/progress-bar/progress-bar.module.mjs +0 -19
  370. package/esm2022/src/lib/components/progress-indicators/progress-bar/public-api.mjs +0 -3
  371. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +0 -5
  372. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.component.mjs +0 -79
  373. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.module.mjs +0 -19
  374. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/progress-indicator-spinner.types.mjs +0 -8
  375. package/esm2022/src/lib/components/progress-indicators/progress-indicator-spinner/public-api.mjs +0 -3
  376. package/esm2022/src/lib/components/progress-indicators/progress-spinner/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +0 -5
  377. package/esm2022/src/lib/components/progress-indicators/progress-spinner/progress-spinner.component.mjs +0 -95
  378. package/esm2022/src/lib/components/progress-indicators/progress-spinner/progress-spinner.module.mjs +0 -22
  379. package/esm2022/src/lib/components/progress-indicators/progress-spinner/public-api.mjs +0 -3
  380. package/esm2022/src/lib/components/shell-layout/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +0 -5
  381. package/esm2022/src/lib/components/shell-layout/public-api.mjs +0 -3
  382. package/esm2022/src/lib/components/shell-layout/shell-layout.component.mjs +0 -25
  383. package/esm2022/src/lib/components/shell-layout/shell-layout.module.mjs +0 -18
  384. package/esm2022/src/lib/components/splash-page/ascentgl-ads-ui-src-lib-components-splash-page.mjs +0 -5
  385. package/esm2022/src/lib/components/splash-page/public-api.mjs +0 -3
  386. package/esm2022/src/lib/components/splash-page/splash-page.component.mjs +0 -20
  387. package/esm2022/src/lib/components/splash-page/splash-page.module.mjs +0 -18
  388. package/esm2022/src/lib/components/tags/tag-container/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +0 -5
  389. package/esm2022/src/lib/components/tags/tag-container/public-api.mjs +0 -3
  390. package/esm2022/src/lib/components/tags/tag-container/tag-container.component.mjs +0 -11
  391. package/esm2022/src/lib/components/tags/tag-container/tag-container.module.mjs +0 -18
  392. package/lib/components/snackbars/inline-snackbar/inline-snackbar.component.d.ts +0 -31
  393. package/lib/components/snackbars/inline-snackbar/inline-snackbar.module.d.ts +0 -9
  394. package/lib/components/snackbars/inline-snackbar/public-api.d.ts +0 -2
  395. package/src/assets/sass/ads-ui/overrides/_ag-grid.scss +0 -2
  396. /package/lib/components/{snackbars/inline-snackbar → brand-artifacts/bubble}/index.d.ts +0 -0
@@ -1,72 +0,0 @@
1
- import { Component, ElementRef, Input, ViewChild } 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 "../common/input.tooltip.component";
10
- import * as i7 from "@angular/material/button";
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 AdsInputComponent extends AbstractInputComponent {
15
- constructor() {
16
- super(...arguments);
17
- /** Maximum amount of characters in the input field */
18
- this.maxlength = 255;
19
- /** Possible input type (as per HTML documentation). NOTE: not all types are allowed */
20
- this.type = 'text';
21
- /** Provide regular expression pattern if input type is set to "pattern" */
22
- this.pattern = '';
23
- /** mark input field as readonly */
24
- this.readonly = false;
25
- /** mark input field as readonly */
26
- this.isPasswordField = false;
27
- /** @ignore */
28
- this.hidePassword = true;
29
- /** @ignore */
30
- this.defaultErrorMessages = {
31
- pattern: 'Provided value does not match pattern',
32
- };
33
- }
34
- ngOnInit() {
35
- /**
36
- * if default value is provided - emit it when input is cleared
37
- */
38
- if (this.defaultValue !== undefined) {
39
- this.valueControl?.valueChanges.subscribe((value) => {
40
- if (!value && value !== this.defaultValue) {
41
- this.valueControl.setValue(this.defaultValue);
42
- }
43
- });
44
- }
45
- }
46
- /** @ignore */
47
- showHidePassword() {
48
- this.hidePassword = !this.hidePassword;
49
- }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
51
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.1", type: AdsInputComponent, selector: "ads-input", inputs: { maxlength: "maxlength", type: "type", pattern: "pattern", defaultValue: "defaultValue", readonly: "readonly", isPasswordField: "isPasswordField" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], 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,\n readonly: readonly,\n 'success-label': canShowSuccess(),\n 'error-label': canShowError(),\n 'x-small': smallSize,\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n @if ((label || required) && !smallSize) {\n <mat-label>{{ label }}</mat-label>\n }\n <input\n #input\n matInput\n [maxlength]=\"maxlength\"\n [readonly]=\"readonly\"\n [pattern]=\"pattern\"\n [id]=\"id\"\n [type]=\"isPasswordField ? (hidePassword ? 'password' : 'text') : type\"\n [formControl]=\"valueControl\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\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\n @if (isPasswordField && !readonly) {\n <button type=\"button\" mat-icon-button matTextSuffix (click)=\"showHidePassword()\" class=\"action-icon\">\n <ads-icon\n class=\"visibility-eye\"\n [name]=\"hidePassword ? 'visibility_eye_none' : 'visibility_eye'\"\n [size]=\"smallSize ? 'xxs' : 'sm'\"\n stroke=\"iconPrimary\"\n color=\"--color-medium\"\n />\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\n @if (tooltip) {\n <ads-input-tooltip [tooltip]=\"tooltip\" [smallSize]=\"smallSize\" />\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", ".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.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { 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.AdsInputTooltipComponent, selector: "ads-input-tooltip", inputs: ["tooltip", "smallSize"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { 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"] }] }); }
52
- }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsInputComponent, decorators: [{
54
- type: Component,
55
- args: [{ selector: 'ads-input', 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,\n readonly: readonly,\n 'success-label': canShowSuccess(),\n 'error-label': canShowError(),\n 'x-small': smallSize,\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n @if ((label || required) && !smallSize) {\n <mat-label>{{ label }}</mat-label>\n }\n <input\n #input\n matInput\n [maxlength]=\"maxlength\"\n [readonly]=\"readonly\"\n [pattern]=\"pattern\"\n [id]=\"id\"\n [type]=\"isPasswordField ? (hidePassword ? 'password' : 'text') : type\"\n [formControl]=\"valueControl\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\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\n @if (isPasswordField && !readonly) {\n <button type=\"button\" mat-icon-button matTextSuffix (click)=\"showHidePassword()\" class=\"action-icon\">\n <ads-icon\n class=\"visibility-eye\"\n [name]=\"hidePassword ? 'visibility_eye_none' : 'visibility_eye'\"\n [size]=\"smallSize ? 'xxs' : 'sm'\"\n stroke=\"iconPrimary\"\n color=\"--color-medium\"\n />\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\n @if (tooltip) {\n <ads-input-tooltip [tooltip]=\"tooltip\" [smallSize]=\"smallSize\" />\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", ".footer-container{min-height:20px}\n"] }]
56
- }], propDecorators: { maxlength: [{
57
- type: Input
58
- }], type: [{
59
- type: Input
60
- }], pattern: [{
61
- type: Input
62
- }], defaultValue: [{
63
- type: Input
64
- }], readonly: [{
65
- type: Input
66
- }], isPasswordField: [{
67
- type: Input
68
- }], input: [{
69
-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iAgICAgICAgICAgIFtzaXplXT1cInNtYWxsU2l6ZSA/ICd4eHMnIDogJ3NtJ1wiXG4gICAgICAgICAgICBzdHJva2U9XCJpY29uUHJpbWFyeVwiXG4gICAgICAgICAgICBjb2xvcj1cIi0tY29sb3ItbWVkaXVtXCJcbiAgICAgICAgICAvPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgIH1cbiAgICA8L21hdC1mb3JtLWZpZWxkPlxuICAgIEBpZiAoc2hvd0Zvb3Rlcikge1xuICAgICAgPGRpdiBjbGFzcz1cImZvb3Rlci1jb250YWluZXJcIj5cbiAgICAgICAgQGlmIChjYW5TaG93RXJyb3IoKSkge1xuICAgICAgICAgIDxhZHMtZXJyb3IgW2Vycm9yXT1cImRpc3BsYXlGaXJzdEVycm9yKClcIiBbbmdTdHlsZV09XCJ7IHdpZHRoOiB3aWR0aCB9XCIgLz5cbiAgICAgICAgfSBAZWxzZSBpZiAoY2FuU2hvd1N1Y2Nlc3MoKSkge1xuICAgICAgICAgIDxhZHMtc3VjY2VzcyBbc3VjY2Vzc109XCJzdWNjZXNzTWVzc2FnZSFcIiBbbmdTdHlsZV09XCJ7IHdpZHRoOiB3aWR0aCB9XCIgLz5cbiAgICAgICAgfSBAZWxzZSBpZiAoaGludCkge1xuICAgICAgICAgIDxhZHMtaGludCBbaGludF09XCJoaW50XCIgW2NvbnRyb2xdPVwidmFsdWVDb250cm9sXCIgW25nU3R5bGVdPVwieyB3aWR0aDogd2lkdGggfVwiIC8+XG4gICAgICAgIH1cbiAgICAgIDwvZGl2PlxuICAgIH1cbiAgPC9kaXY+XG5cbiAgQGlmICh0b29sdGlwKSB7XG4gICAgPGFkcy1pbnB1dC10b29sdGlwIFt0b29sdGlwXT1cInRvb2x0aXBcIiBbc21hbGxTaXplXT1cInNtYWxsU2l6ZVwiIC8+XG4gIH1cbjwvZGl2PlxuIl19
@@ -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 { AdsInputComponent } from './input.component';
7
- import { CommonModule } from '@angular/common';
8
- import { AdsInputTooltipComponent } from '../common/input.tooltip.component';
9
- import { MatIconButton } from '@angular/material/button';
10
- import { AdsSuccessComponent } from '../common/success/success.component';
11
- import { AdsErrorComponent } from '../common/error/error.component';
12
- import { AdsHintComponent } from '../common/hint/hint.component';
13
- import * as i0 from "@angular/core";
14
- export class AdsInputModule {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsInputModule, declarations: [AdsInputComponent], imports: [CommonModule,
17
- MatFormFieldModule,
18
- MatInputModule,
19
- ReactiveFormsModule,
20
- AdsIconModule,
21
- AdsInputTooltipComponent,
22
- MatIconButton,
23
- AdsSuccessComponent,
24
- AdsErrorComponent,
25
- AdsHintComponent], exports: [AdsInputComponent] }); }
26
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsInputModule, imports: [CommonModule,
27
- MatFormFieldModule,
28
- MatInputModule,
29
- ReactiveFormsModule,
30
- AdsIconModule,
31
- AdsInputTooltipComponent,
32
- MatIconButton,
33
- AdsSuccessComponent,
34
- AdsErrorComponent] }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsInputModule, decorators: [{
37
- type: NgModule,
38
- args: [{
39
- imports: [
40
- CommonModule,
41
- MatFormFieldModule,
42
- MatInputModule,
43
- ReactiveFormsModule,
44
- AdsIconModule,
45
- AdsInputTooltipComponent,
46
- MatIconButton,
47
- AdsSuccessComponent,
48
- AdsErrorComponent,
49
- AdsHintComponent,
50
- ],
51
- declarations: [AdsInputComponent],
52
- exports: [AdsInputComponent],
53
- }]
54
- }] });
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0tZmllbGRzL2lucHV0L2lucHV0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDcEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDdEQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN6RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUMxRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNwRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwrQk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ZWNsYXJhdGlvbnM6IFtBZHNJbnB1dENvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtBZHNJbnB1dENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEFkc0lucHV0TW9kdWxlIHt9XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './input.component';
2
- export * from './input.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtLWZpZWxkcy9pbnB1dC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5wdXQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQubW9kdWxlJztcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './public-api';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvcGhvbmUtZmllbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,61 +0,0 @@
1
- import { Component, Input, signal } 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 "ngx-mask";
9
- import * as i6 from "@ascentgl/ads-icons";
10
- import * as i7 from "@angular/material/button";
11
- import * as i8 from "../common/error/error.component";
12
- import * as i9 from "../common/hint/hint.component";
13
- import * as i10 from "../common/success/success.component";
14
- import * as i11 from "../common/input.tooltip.component";
15
- export class AdsPhoneFieldComponent extends AbstractInputComponent {
16
- constructor() {
17
- super(...arguments);
18
- /** Provide country code */
19
- this.selectedCountryCode = '+1';
20
- /** @ignore */
21
- this.phoneMask = signal('');
22
- }
23
- /** @ignore */
24
- addPlusSignIfMissing() {
25
- const value = this.valueControl.value;
26
- if (value && !value.startsWith('+')) {
27
- this.valueControl.setValue(`+${value}`);
28
- }
29
- }
30
- /** @ignore */
31
- ngOnChanges(changes) {
32
- if (changes.selectedCountryCode) {
33
- this.updatePhoneMask();
34
- if (!changes?.control?.currentValue?.value) {
35
- this.setInitialPhoneNumber();
36
- }
37
- }
38
- }
39
- /** @ignore */
40
- updatePhoneMask() {
41
- if (this.selectedCountryCode.length > 2) {
42
- this.phoneMask.set('+00 (000) 000-0000');
43
- }
44
- else {
45
- this.phoneMask.set('+0 (000) 000-0000');
46
- }
47
- }
48
- /** @ignore */
49
- setInitialPhoneNumber() {
50
- this.valueControl.setValue(`${this.selectedCountryCode}`);
51
- }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPhoneFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.1", type: AdsPhoneFieldComponent, selector: "ads-phone-field", inputs: { selectedCountryCode: "selectedCountryCode" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div [ngStyle]=\"{ minWidth: width }\" class=\"ads-field-container\">\n <div [ngStyle]=\"{ width: width }\">\n <mat-form-field\n [floatLabel]=\"valueControl.value ? 'always' : 'auto'\"\n [ngClass]=\"{\n 'immediate-validation': immediateValidation,\n 'no-left-padding': canClear && !showExclamation,\n 'success-label': canShowSuccess(),\n 'error-label': canShowError(),\n 'x-small': smallSize,\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n @if ((label || required) && !smallSize) {\n <mat-label>{{ label }}</mat-label>\n }\n <input\n matInput\n [id]=\"id\"\n [mask]=\"phoneMask()\"\n placeholder=\"Phone number\"\n [formControl]=\"valueControl\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n (blur)=\"addPlusSignIfMissing()\"\n />\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\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", ".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: "directive", type: i5.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "component", type: i6.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i8.AdsErrorComponent, selector: "ads-error", inputs: ["error"] }, { kind: "component", type: i9.AdsHintComponent, selector: "ads-hint", inputs: ["control", "hint"] }, { kind: "component", type: i10.AdsSuccessComponent, selector: "ads-success", inputs: ["success"] }, { kind: "component", type: i11.AdsInputTooltipComponent, selector: "ads-input-tooltip", inputs: ["tooltip", "smallSize"] }] }); }
54
- }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPhoneFieldComponent, decorators: [{
56
- type: Component,
57
- args: [{ selector: 'ads-phone-field', template: "<div [ngStyle]=\"{ minWidth: width }\" class=\"ads-field-container\">\n <div [ngStyle]=\"{ width: width }\">\n <mat-form-field\n [floatLabel]=\"valueControl.value ? 'always' : 'auto'\"\n [ngClass]=\"{\n 'immediate-validation': immediateValidation,\n 'no-left-padding': canClear && !showExclamation,\n 'success-label': canShowSuccess(),\n 'error-label': canShowError(),\n 'x-small': smallSize,\n }\"\n [ngStyle]=\"{ width: width }\"\n >\n @if ((label || required) && !smallSize) {\n <mat-label>{{ label }}</mat-label>\n }\n <input\n matInput\n [id]=\"id\"\n [mask]=\"phoneMask()\"\n placeholder=\"Phone number\"\n [formControl]=\"valueControl\"\n [required]=\"required\"\n [placeholder]=\"placeholder\"\n (blur)=\"addPlusSignIfMissing()\"\n />\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\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", ".footer-container{min-height:20px}\n"] }]
58
- }], propDecorators: { selectedCountryCode: [{
59
- type: Input
60
- }] } });
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0tZmllbGRzL3Bob25lLWZpZWxkL3Bob25lLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtLWZpZWxkcy9waG9uZS1maWVsZC9waG9uZS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBYSxNQUFNLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ25GLE9BQU8sRUFBRSxzQkFBc0IsRU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AodG9vbHRpcCkge1xuICAgIDxhZHMtaW5wdXQtdG9vbHRpcCBbdG9vbHRpcF09XCJ0b29sdGlwXCIgLz5cbiAgfVxuPC9kaXY+XG4iXX0=
@@ -1,62 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
3
- import { MatFormFieldModule } from '@angular/material/form-field';
4
- import { MatInputModule } from '@angular/material/input';
5
- import { CommonModule } from '@angular/common';
6
- import { AdsPhoneFieldComponent } from './phone-field.component';
7
- import { NgxMaskDirective, provideNgxMask } from 'ngx-mask';
8
- import { AdsIconModule } from '@ascentgl/ads-icons';
9
- import { MatIconButton } from '@angular/material/button';
10
- import { AdsErrorComponent } from '../common/error/error.component';
11
- import { AdsHintComponent } from '../common/hint/hint.component';
12
- import { AdsSuccessComponent } from '../common/success/success.component';
13
- import { AdsInputTooltipComponent } from '../common/input.tooltip.component';
14
- import * as i0 from "@angular/core";
15
- export class AdsPhoneFieldModule {
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPhoneFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
17
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsPhoneFieldModule, declarations: [AdsPhoneFieldComponent], imports: [CommonModule,
18
- MatFormFieldModule,
19
- MatInputModule,
20
- ReactiveFormsModule,
21
- NgxMaskDirective,
22
- FormsModule,
23
- AdsIconModule,
24
- MatIconButton,
25
- AdsErrorComponent,
26
- AdsHintComponent,
27
- AdsSuccessComponent,
28
- AdsInputTooltipComponent], exports: [AdsPhoneFieldComponent] }); }
29
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPhoneFieldModule, providers: [provideNgxMask()], imports: [CommonModule,
30
- MatFormFieldModule,
31
- MatInputModule,
32
- ReactiveFormsModule,
33
- FormsModule,
34
- AdsIconModule,
35
- MatIconButton,
36
- AdsErrorComponent,
37
- AdsSuccessComponent,
38
- AdsInputTooltipComponent] }); }
39
- }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsPhoneFieldModule, decorators: [{
41
- type: NgModule,
42
- args: [{
43
- imports: [
44
- CommonModule,
45
- MatFormFieldModule,
46
- MatInputModule,
47
- ReactiveFormsModule,
48
- NgxMaskDirective,
49
- FormsModule,
50
- AdsIconModule,
51
- MatIconButton,
52
- AdsErrorComponent,
53
- AdsHintComponent,
54
- AdsSuccessComponent,
55
- AdsInputTooltipComponent,
56
- ],
57
- declarations: [AdsPhoneFieldComponent],
58
- exports: [AdsPhoneFieldComponent],
59
- providers: [provideNgxMask()],
60
- }]
61
- }] });
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUtZmllbGQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hZHMtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0tZmllbGRzL3Bob25lLWZpZWxkL3Bob25lLWZpZWxkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxz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
- export * from './phone-field.component';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtLWZpZWxkcy9waG9uZS1maWVsZC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcGhvbmUtZmllbGQubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vcGhvbmUtZmllbGQuY29tcG9uZW50JztcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './public-api';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvc2VhcmNoLWZpZWxkcy9zZWFyY2gtZHJvcGRvd24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,3 +0,0 @@
1
- export * from './search-dropdown.component';
2
- export * from './search-dropdown.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYWRzLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtLWZpZWxkcy9zZWFyY2gtZmllbGRzL3NlYXJjaC1kcm9wZG93bi9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLWRyb3Bkb3duLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1kcm9wZG93bi5tb2R1bGUnO1xuIl19
@@ -1,33 +0,0 @@
1
- import { NgModule, Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class AdsSearchDropdownHighlighterPipe {
4
- transform(optionValue, filter) {
5
- if (filter) {
6
- const value = typeof filter == 'string' ? filter : filter.value;
7
- const re = new RegExp(value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'igm');
8
- return optionValue.replace(re, '<span class="highlighted-text">$&</span>');
9
- }
10
- return optionValue;
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsSearchDropdownHighlighterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsSearchDropdownHighlighterPipe, name: "adsSearchDropdownHighlighter" }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsSearchDropdownHighlighterPipe, decorators: [{
16
- type: Pipe,
17
- args: [{
18
- name: 'adsSearchDropdownHighlighter',
19
- }]
20
- }] });
21
- export class AdsSearchDropdownHighlighterPipeModule {
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsSearchDropdownHighlighterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
23
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: AdsSearchDropdownHighlighterPipeModule, declarations: [AdsSearchDropdownHighlighterPipe], exports: [AdsSearchDropdownHighlighterPipe] }); }
24
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsSearchDropdownHighlighterPipeModule }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: AdsSearchDropdownHighlighterPipeModule, decorators: [{
27
- type: NgModule,
28
- args: [{
29
- declarations: [AdsSearchDropdownHighlighterPipe],
30
- exports: [AdsSearchDropdownHighlighterPipe],
31
- }]
32
- }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWRyb3Bkb3duLWhpZ2hsaWdodGVyLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Fkcy11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS1maWVsZHMvc2VhcmNoLWZpZWxkcy9zZWFyY2gtZHJvcGRvd24vc2VhcmNoLWRyb3Bkb3duLWhpZ2hsaWdodGVyLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQU05RCxNQUFNLE9BQU8sZ0NBQWdDO0lBQzNDLFNBQVMsQ0FBQyxXQUFtQixFQUFFLE1BQXlDO1FBQ3RFLElBQUksTUFBTSxFQUFFLENBQUM7WUFDWCxNQUFNLEtBQUssR0FBRyxPQUFPLE1BQU0sSUFBSS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