@ardium-ui/ui 2.3.2 → 3.0.0

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 (410) hide show
  1. package/esm2022/lib/_internal/boolean-component.mjs +3 -2
  2. package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +9 -6
  3. package/esm2022/lib/_internal/disablable-component.mjs +13 -8
  4. package/esm2022/lib/_internal/focusable-component.mjs +11 -4
  5. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +30 -23
  6. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +4 -5
  7. package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +7 -8
  8. package/esm2022/lib/_internal/models/pagination.model.mjs +3 -3
  9. package/esm2022/lib/_internal/models/queue.mjs +59 -0
  10. package/esm2022/lib/_internal/ngmodel-component.mjs +4 -3
  11. package/esm2022/lib/_internal/selectable-list-component.mjs +31 -42
  12. package/esm2022/lib/badge/badge.defaults.mjs +20 -0
  13. package/esm2022/lib/badge/badge.directive.mjs +18 -15
  14. package/esm2022/lib/badge/index.mjs +3 -2
  15. package/esm2022/lib/buttons/_button-base.defaults.mjs +16 -0
  16. package/esm2022/lib/buttons/_button-base.mjs +12 -12
  17. package/esm2022/lib/buttons/button/button.component.mjs +15 -15
  18. package/esm2022/lib/buttons/button/button.defaults.mjs +17 -0
  19. package/esm2022/lib/buttons/button/index.mjs +3 -2
  20. package/esm2022/lib/buttons/fab/fab.component.mjs +16 -15
  21. package/esm2022/lib/buttons/fab/fab.defaults.mjs +17 -0
  22. package/esm2022/lib/buttons/fab/index.mjs +3 -2
  23. package/esm2022/lib/buttons/general-button.types.mjs +2 -2
  24. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +16 -13
  25. package/esm2022/lib/buttons/icon-button/icon-button.defaults.mjs +9 -0
  26. package/esm2022/lib/buttons/icon-button/index.mjs +3 -2
  27. package/esm2022/lib/card/card.children.mjs +15 -15
  28. package/esm2022/lib/card/card.component.mjs +6 -5
  29. package/esm2022/lib/card/card.defaults.mjs +17 -0
  30. package/esm2022/lib/card/index.mjs +4 -3
  31. package/esm2022/lib/checkbox/checkbox.component.mjs +16 -19
  32. package/esm2022/lib/checkbox/checkbox.defaults.mjs +17 -0
  33. package/esm2022/lib/checkbox/index.mjs +3 -2
  34. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +19 -21
  35. package/esm2022/lib/checkbox-list/checkbox-list.defaults.mjs +25 -0
  36. package/esm2022/lib/checkbox-list/index.mjs +3 -2
  37. package/esm2022/lib/chip/chip.component.mjs +17 -16
  38. package/esm2022/lib/chip/chip.defaults.mjs +20 -0
  39. package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +18 -20
  40. package/esm2022/lib/chip/deletable-chip/deletable-chip.defaults.mjs +17 -0
  41. package/esm2022/lib/chip/index.mjs +5 -2
  42. package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +21 -21
  43. package/esm2022/lib/chip/selectable-chip/selectable-chip.defaults.mjs +18 -0
  44. package/esm2022/lib/color/color-display/color-display.component.mjs +13 -12
  45. package/esm2022/lib/color/color-display/color-display.defaults.mjs +16 -0
  46. package/esm2022/lib/color/color-display/index.mjs +3 -2
  47. package/esm2022/lib/dialog/dialog.component.mjs +23 -22
  48. package/esm2022/lib/dialog/dialog.defaults.mjs +24 -0
  49. package/esm2022/lib/dialog/dialog.types.mjs +1 -1
  50. package/esm2022/lib/dialog/index.mjs +4 -3
  51. package/esm2022/lib/divider/divider.component.mjs +10 -12
  52. package/esm2022/lib/divider/divider.defaults.mjs +13 -0
  53. package/esm2022/lib/divider/index.mjs +3 -2
  54. package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +10 -9
  55. package/esm2022/lib/dropdown-panel/dropdown-panel.defaults.mjs +17 -0
  56. package/esm2022/lib/dropdown-panel/index.mjs +3 -2
  57. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +14 -12
  58. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.defaults.mjs +18 -0
  59. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
  60. package/esm2022/lib/file-inputs/file-drop-area/index.mjs +3 -2
  61. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +23 -25
  62. package/esm2022/lib/file-inputs/file-input/file-input.defaults.mjs +23 -0
  63. package/esm2022/lib/file-inputs/file-input/index.mjs +3 -2
  64. package/esm2022/lib/file-inputs/file-input-base.defaults.mjs +8 -0
  65. package/esm2022/lib/file-inputs/file-input-base.mjs +2 -2
  66. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +12 -8
  67. package/esm2022/lib/form-field-frame/form-field-frame.defaults.mjs +18 -0
  68. package/esm2022/lib/form-field-frame/index.mjs +3 -2
  69. package/esm2022/lib/icon/icon.component.mjs +6 -4
  70. package/esm2022/lib/icon/icon.defaults.mjs +17 -0
  71. package/esm2022/lib/icon/index.mjs +3 -2
  72. package/esm2022/lib/inputs/_simple-input-base.mjs +159 -0
  73. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +17 -15
  74. package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +21 -0
  75. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
  76. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
  77. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  78. package/esm2022/lib/inputs/digit-input/index.mjs +3 -2
  79. package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +24 -23
  80. package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +26 -0
  81. package/esm2022/lib/inputs/hex-input/hex-input.model.mjs +97 -0
  82. package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
  83. package/esm2022/lib/inputs/hex-input/index.mjs +3 -2
  84. package/esm2022/lib/inputs/input/index.mjs +1 -1
  85. package/esm2022/lib/inputs/input/input.component.mjs +28 -48
  86. package/esm2022/lib/inputs/input/input.defaults.mjs +17 -0
  87. package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
  88. package/esm2022/lib/inputs/input/input.module.mjs +1 -1
  89. package/esm2022/lib/inputs/input-transformers.mjs +1 -1
  90. package/esm2022/lib/inputs/input-utils.mjs +1 -1
  91. package/esm2022/lib/inputs/number-input/index.mjs +3 -2
  92. package/esm2022/lib/inputs/number-input/number-input.component.mjs +34 -30
  93. package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +27 -0
  94. package/esm2022/lib/inputs/password-input/index.mjs +3 -2
  95. package/esm2022/lib/inputs/password-input/password-input.component.mjs +23 -18
  96. package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +24 -0
  97. package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
  98. package/esm2022/lib/inputs/simple-input/index.mjs +3 -2
  99. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +15 -145
  100. package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +25 -0
  101. package/esm2022/lib/kbd/index.mjs +2 -1
  102. package/esm2022/lib/kbd/kbd.component.mjs +6 -4
  103. package/esm2022/lib/kbd/kbd.defaults.mjs +15 -0
  104. package/esm2022/lib/kbd/kbd.directive.mjs +1 -1
  105. package/esm2022/lib/kbd/kbd.pipe.mjs +7 -3
  106. package/esm2022/lib/kbd-shortcut/index.mjs +3 -2
  107. package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +12 -7
  108. package/esm2022/lib/kbd-shortcut/kbd-shortcut.defaults.mjs +8 -0
  109. package/esm2022/lib/modal/index.mjs +3 -2
  110. package/esm2022/lib/modal/modal.component.mjs +14 -11
  111. package/esm2022/lib/modal/modal.defaults.mjs +20 -0
  112. package/esm2022/lib/option/index.mjs +1 -1
  113. package/esm2022/lib/option/option.component.mjs +1 -1
  114. package/esm2022/lib/progress-bar/index.mjs +4 -3
  115. package/esm2022/lib/progress-bar/progress-bar.component.mjs +19 -18
  116. package/esm2022/lib/progress-bar/progress-bar.defaults.mjs +21 -0
  117. package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
  118. package/esm2022/lib/progress-circle/index.mjs +4 -3
  119. package/esm2022/lib/progress-circle/progress-circle.component.mjs +18 -22
  120. package/esm2022/lib/progress-circle/progress-circle.defaults.mjs +21 -0
  121. package/esm2022/lib/progress-circle/progress-circle.module.mjs +4 -4
  122. package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
  123. package/esm2022/lib/radio/index.mjs +4 -3
  124. package/esm2022/lib/radio/radio/radio.component.mjs +13 -10
  125. package/esm2022/lib/radio/radio/radio.defaults.mjs +16 -0
  126. package/esm2022/lib/radio/radio-group.component.mjs +7 -7
  127. package/esm2022/lib/search-functions.mjs +2 -2
  128. package/esm2022/lib/segment/index.mjs +3 -2
  129. package/esm2022/lib/segment/segment.component.mjs +22 -21
  130. package/esm2022/lib/segment/segment.defaults.mjs +26 -0
  131. package/esm2022/lib/segment/segment.directives.mjs +1 -1
  132. package/esm2022/lib/select/index.mjs +3 -2
  133. package/esm2022/lib/select/select.component.mjs +76 -101
  134. package/esm2022/lib/select/select.defaults.mjs +53 -0
  135. package/esm2022/lib/select/select.directive.mjs +1 -1
  136. package/esm2022/lib/select/select.types.mjs +1 -1
  137. package/esm2022/lib/slide-toggle/index.mjs +2 -1
  138. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +17 -15
  139. package/esm2022/lib/slide-toggle/slide-toggle.defaults.mjs +21 -0
  140. package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
  141. package/esm2022/lib/slider/abstract-slider.mjs +44 -34
  142. package/esm2022/lib/slider/index.mjs +5 -4
  143. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +13 -9
  144. package/esm2022/lib/slider/slider.component.mjs +13 -9
  145. package/esm2022/lib/slider/slider.defaults.mjs +14 -0
  146. package/esm2022/lib/slider/slider.module.mjs +1 -1
  147. package/esm2022/lib/slider/slider.types.mjs +1 -1
  148. package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
  149. package/esm2022/lib/snackbar/snackbar.component.mjs +3 -3
  150. package/esm2022/lib/snackbar/snackbar.service.mjs +10 -14
  151. package/esm2022/lib/snackbar/snackbar.token.mjs +12 -6
  152. package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
  153. package/esm2022/lib/spinner/index.mjs +3 -2
  154. package/esm2022/lib/spinner/spinner.component.mjs +7 -6
  155. package/esm2022/lib/spinner/spinner.defaults.mjs +14 -0
  156. package/esm2022/lib/star/index.mjs +3 -2
  157. package/esm2022/lib/star/star-button/index.mjs +3 -2
  158. package/esm2022/lib/star/star-button/star-button.component.mjs +14 -11
  159. package/esm2022/lib/star/star-button/star-button.defaults.mjs +18 -0
  160. package/esm2022/lib/star/star-display/index.mjs +3 -2
  161. package/esm2022/lib/star/star-display/star-display.component.mjs +10 -8
  162. package/esm2022/lib/star/star-display/star-display.defaults.mjs +16 -0
  163. package/esm2022/lib/star/star-input/index.mjs +3 -2
  164. package/esm2022/lib/star/star-input/star-input.component.mjs +14 -11
  165. package/esm2022/lib/star/star-input/star-input.defaults.mjs +17 -0
  166. package/esm2022/lib/star/star.component.mjs +15 -8
  167. package/esm2022/lib/star/star.defaults.mjs +15 -0
  168. package/esm2022/lib/statebox/index.mjs +2 -1
  169. package/esm2022/lib/statebox/statebox.component.mjs +19 -25
  170. package/esm2022/lib/statebox/statebox.defaults.mjs +20 -0
  171. package/esm2022/lib/statebox/statebox.types.mjs +1 -1
  172. package/esm2022/lib/tabber/index.mjs +5 -3
  173. package/esm2022/lib/tabber/tab/tab.component.mjs +7 -5
  174. package/esm2022/lib/tabber/tab/tab.defaults.mjs +13 -0
  175. package/esm2022/lib/tabber/tabber.component.mjs +13 -11
  176. package/esm2022/lib/tabber/tabber.defaults.mjs +19 -0
  177. package/esm2022/lib/tabber/tabber.module.mjs +1 -1
  178. package/esm2022/lib/table/index.mjs +3 -2
  179. package/esm2022/lib/table/table-item-storage.mjs +4 -4
  180. package/esm2022/lib/table/table.component.mjs +69 -50
  181. package/esm2022/lib/table/table.defaults.mjs +53 -0
  182. package/esm2022/lib/table/table.directives.mjs +1 -1
  183. package/esm2022/lib/table/table.module.mjs +8 -7
  184. package/esm2022/lib/table-from-csv/index.mjs +3 -2
  185. package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +44 -44
  186. package/esm2022/lib/table-from-csv/table-from-csv.defaults.mjs +15 -0
  187. package/esm2022/lib/table-pagination/index.mjs +3 -2
  188. package/esm2022/lib/table-pagination/table-pagination.component.mjs +13 -9
  189. package/esm2022/lib/table-pagination/table-pagination.defaults.mjs +25 -0
  190. package/esm2022/lib/types/button.types.mjs +1 -1
  191. package/esm2022/lib/types/item-storage.types.mjs +1 -1
  192. package/esm2022/lib/types/utility.types.mjs +1 -1
  193. package/esm2022/public-api.mjs +1 -1
  194. package/fesm2022/ardium-ui-ui.mjs +3049 -2265
  195. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  196. package/lib/_internal/boolean-component.d.ts +5 -1
  197. package/lib/_internal/clear-button/clear-button.component.d.ts +1 -0
  198. package/lib/_internal/disablable-component.d.ts +9 -2
  199. package/lib/_internal/focusable-component.d.ts +6 -1
  200. package/lib/_internal/item-storages/dropdown-item-storage.d.ts +9 -19
  201. package/lib/_internal/item-storages/simple-item-storage.d.ts +1 -1
  202. package/lib/_internal/item-storages/simplest-item-storage.d.ts +3 -3
  203. package/lib/_internal/models/pagination.model.d.ts +2 -2
  204. package/lib/_internal/ngmodel-component.d.ts +6 -2
  205. package/lib/_internal/selectable-list-component.d.ts +18 -13
  206. package/lib/badge/badge.defaults.d.ts +13 -0
  207. package/lib/badge/badge.directive.d.ts +4 -4
  208. package/lib/badge/index.d.ts +2 -1
  209. package/lib/buttons/_button-base.d.ts +6 -1
  210. package/lib/buttons/_button-base.defaults.d.ts +15 -0
  211. package/lib/buttons/button/button.component.d.ts +4 -3
  212. package/lib/buttons/button/button.defaults.d.ts +11 -0
  213. package/lib/buttons/button/index.d.ts +2 -1
  214. package/lib/buttons/fab/fab.component.d.ts +5 -6
  215. package/lib/buttons/fab/fab.defaults.d.ts +8 -0
  216. package/lib/buttons/fab/index.d.ts +2 -1
  217. package/lib/buttons/general-button.types.d.ts +2 -2
  218. package/lib/buttons/icon-button/icon-button.component.d.ts +3 -0
  219. package/lib/buttons/icon-button/icon-button.defaults.d.ts +6 -0
  220. package/lib/buttons/icon-button/index.d.ts +2 -1
  221. package/lib/card/card.children.d.ts +1 -1
  222. package/lib/card/card.component.d.ts +1 -0
  223. package/lib/card/card.defaults.d.ts +10 -0
  224. package/lib/card/index.d.ts +3 -2
  225. package/lib/checkbox/checkbox.component.d.ts +4 -2
  226. package/lib/checkbox/checkbox.defaults.d.ts +9 -0
  227. package/lib/checkbox/index.d.ts +2 -1
  228. package/lib/checkbox-list/checkbox-list.component.d.ts +4 -5
  229. package/lib/checkbox-list/checkbox-list.defaults.d.ts +19 -0
  230. package/lib/checkbox-list/index.d.ts +2 -1
  231. package/lib/chip/chip.component.d.ts +3 -0
  232. package/lib/chip/chip.defaults.d.ts +15 -0
  233. package/lib/chip/deletable-chip/deletable-chip.component.d.ts +3 -3
  234. package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +8 -0
  235. package/lib/chip/index.d.ts +4 -1
  236. package/lib/chip/selectable-chip/selectable-chip.component.d.ts +3 -3
  237. package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +9 -0
  238. package/lib/color/color-display/color-display.component.d.ts +2 -1
  239. package/lib/color/color-display/color-display.defaults.d.ts +9 -0
  240. package/lib/color/color-display/index.d.ts +2 -1
  241. package/lib/dialog/dialog.component.d.ts +1 -0
  242. package/lib/dialog/dialog.defaults.d.ts +16 -0
  243. package/lib/dialog/index.d.ts +3 -2
  244. package/lib/divider/divider.component.d.ts +1 -1
  245. package/lib/divider/divider.defaults.d.ts +6 -0
  246. package/lib/divider/index.d.ts +2 -1
  247. package/lib/dropdown-panel/dropdown-panel.component.d.ts +1 -0
  248. package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -0
  249. package/lib/dropdown-panel/index.d.ts +2 -1
  250. package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -2
  251. package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -0
  252. package/lib/file-inputs/file-drop-area/index.d.ts +2 -1
  253. package/lib/file-inputs/file-input/file-input.component.d.ts +4 -4
  254. package/lib/file-inputs/file-input/file-input.defaults.d.ts +15 -0
  255. package/lib/file-inputs/file-input/index.d.ts +2 -1
  256. package/lib/file-inputs/file-input-base.d.ts +2 -0
  257. package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
  258. package/lib/form-field-frame/form-field-frame.component.d.ts +3 -0
  259. package/lib/form-field-frame/form-field-frame.defaults.d.ts +10 -0
  260. package/lib/form-field-frame/index.d.ts +2 -1
  261. package/lib/icon/icon.component.d.ts +7 -3
  262. package/lib/icon/icon.defaults.d.ts +11 -0
  263. package/lib/icon/index.d.ts +2 -1
  264. package/lib/inputs/_simple-input-base.d.ts +62 -0
  265. package/lib/inputs/digit-input/digit-input.component.d.ts +3 -0
  266. package/lib/inputs/digit-input/digit-input.defaults.d.ts +13 -0
  267. package/lib/inputs/digit-input/index.d.ts +2 -1
  268. package/lib/inputs/hex-input/hex-input.component.d.ts +4 -4
  269. package/lib/inputs/hex-input/hex-input.defaults.d.ts +19 -0
  270. package/lib/inputs/{hex-input.model.d.ts → hex-input/hex-input.model.d.ts} +2 -2
  271. package/lib/inputs/hex-input/index.d.ts +2 -1
  272. package/lib/inputs/input/input.component.d.ts +10 -17
  273. package/lib/inputs/input/input.defaults.d.ts +9 -0
  274. package/lib/inputs/number-input/index.d.ts +2 -1
  275. package/lib/inputs/number-input/number-input.component.d.ts +3 -1
  276. package/lib/inputs/number-input/number-input.defaults.d.ts +19 -0
  277. package/lib/inputs/password-input/index.d.ts +2 -1
  278. package/lib/inputs/password-input/password-input.component.d.ts +3 -0
  279. package/lib/inputs/password-input/password-input.defaults.d.ts +17 -0
  280. package/lib/inputs/simple-input/index.d.ts +2 -1
  281. package/lib/inputs/simple-input/simple-input.component.d.ts +6 -50
  282. package/lib/inputs/simple-input/simple-input.defaults.d.ts +6 -0
  283. package/lib/kbd/index.d.ts +1 -0
  284. package/lib/kbd/kbd.component.d.ts +1 -0
  285. package/lib/kbd/kbd.defaults.d.ts +8 -0
  286. package/lib/kbd/kbd.pipe.d.ts +1 -0
  287. package/lib/kbd-shortcut/index.d.ts +2 -1
  288. package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +2 -0
  289. package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
  290. package/lib/modal/index.d.ts +2 -1
  291. package/lib/modal/modal.component.d.ts +1 -0
  292. package/lib/modal/modal.defaults.d.ts +14 -0
  293. package/lib/progress-bar/index.d.ts +3 -2
  294. package/lib/progress-bar/progress-bar.component.d.ts +3 -1
  295. package/lib/progress-bar/progress-bar.defaults.d.ts +14 -0
  296. package/lib/progress-circle/index.d.ts +3 -2
  297. package/lib/progress-circle/progress-circle.component.d.ts +3 -1
  298. package/lib/progress-circle/progress-circle.defaults.d.ts +14 -0
  299. package/lib/progress-circle/progress-circle.module.d.ts +1 -1
  300. package/lib/radio/index.d.ts +3 -2
  301. package/lib/radio/radio/radio.component.d.ts +5 -2
  302. package/lib/radio/radio/radio.defaults.d.ts +8 -0
  303. package/lib/segment/index.d.ts +2 -1
  304. package/lib/segment/segment.component.d.ts +3 -0
  305. package/lib/segment/segment.defaults.d.ts +18 -0
  306. package/lib/select/index.d.ts +2 -1
  307. package/lib/select/select.component.d.ts +11 -22
  308. package/lib/select/select.defaults.d.ts +49 -0
  309. package/lib/slide-toggle/index.d.ts +1 -0
  310. package/lib/slide-toggle/slide-toggle.component.d.ts +9 -6
  311. package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
  312. package/lib/slider/abstract-slider.d.ts +22 -5
  313. package/lib/slider/index.d.ts +4 -3
  314. package/lib/slider/range-slider/range-slider.component.d.ts +3 -0
  315. package/lib/slider/slider.component.d.ts +3 -0
  316. package/lib/slider/slider.defaults.d.ts +6 -0
  317. package/lib/snackbar/snackbar.service.d.ts +1 -2
  318. package/lib/snackbar/snackbar.token.d.ts +3 -3
  319. package/lib/spinner/index.d.ts +2 -1
  320. package/lib/spinner/spinner.component.d.ts +1 -0
  321. package/lib/spinner/spinner.defaults.d.ts +7 -0
  322. package/lib/star/index.d.ts +2 -1
  323. package/lib/star/star-button/index.d.ts +2 -1
  324. package/lib/star/star-button/star-button.component.d.ts +3 -0
  325. package/lib/star/star-button/star-button.defaults.d.ts +10 -0
  326. package/lib/star/star-display/index.d.ts +2 -1
  327. package/lib/star/star-display/star-display.component.d.ts +1 -0
  328. package/lib/star/star-display/star-display.defaults.d.ts +9 -0
  329. package/lib/star/star-input/index.d.ts +2 -1
  330. package/lib/star/star-input/star-input.component.d.ts +3 -1
  331. package/lib/star/star-input/star-input.defaults.d.ts +9 -0
  332. package/lib/star/star.component.d.ts +4 -2
  333. package/lib/star/star.defaults.d.ts +8 -0
  334. package/lib/statebox/index.d.ts +1 -0
  335. package/lib/statebox/statebox.component.d.ts +7 -6
  336. package/lib/statebox/statebox.defaults.d.ts +10 -0
  337. package/lib/tabber/index.d.ts +4 -2
  338. package/lib/tabber/tab/tab.component.d.ts +1 -0
  339. package/lib/tabber/tab/tab.defaults.d.ts +6 -0
  340. package/lib/tabber/tabber.component.d.ts +3 -1
  341. package/lib/tabber/tabber.defaults.d.ts +12 -0
  342. package/lib/table/index.d.ts +2 -1
  343. package/lib/table/table-item-storage.d.ts +5 -10
  344. package/lib/table/table.component.d.ts +11 -9
  345. package/lib/table/table.defaults.d.ts +50 -0
  346. package/lib/table/table.module.d.ts +2 -1
  347. package/lib/table-from-csv/index.d.ts +2 -1
  348. package/lib/table-from-csv/table-from-csv.component.d.ts +7 -5
  349. package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
  350. package/lib/table-pagination/index.d.ts +2 -1
  351. package/lib/table-pagination/table-pagination.component.d.ts +3 -0
  352. package/lib/table-pagination/table-pagination.defaults.d.ts +20 -0
  353. package/lib/types/button.types.d.ts +1 -1
  354. package/lib/types/item-storage.types.d.ts +3 -63
  355. package/package.json +1 -1
  356. package/prebuilt-themes/default/buttons/fab.css +1 -1
  357. package/prebuilt-themes/default/buttons/icon-button.css +7 -12
  358. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  359. package/prebuilt-themes/default/checkbox.css.map +1 -1
  360. package/prebuilt-themes/default/inputs/color-input.css +5 -0
  361. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  362. package/prebuilt-themes/default/inputs/file-input.css +5 -0
  363. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  364. package/prebuilt-themes/default/inputs/hex-input.css +5 -0
  365. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  366. package/prebuilt-themes/default/inputs/input.css +5 -0
  367. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  368. package/prebuilt-themes/default/inputs/number-input.css +5 -0
  369. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  370. package/prebuilt-themes/default/inputs/password-input.css +5 -0
  371. package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
  372. package/prebuilt-themes/default/inputs/search-bar.css +5 -0
  373. package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
  374. package/prebuilt-themes/default/inputs/simple-input.css +5 -0
  375. package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
  376. package/prebuilt-themes/default/segment.css.map +1 -1
  377. package/prebuilt-themes/default/select.css +4 -0
  378. package/prebuilt-themes/default/select.css.map +1 -1
  379. package/prebuilt-themes/default/tabber.css +2 -0
  380. package/prebuilt-themes/default/tabber.css.map +1 -1
  381. package/prebuilt-themes/default/table.css +17 -0
  382. package/prebuilt-themes/default/table.css.map +1 -1
  383. package/themes/default/_clear-button.scss +73 -73
  384. package/themes/default/badge.scss +94 -94
  385. package/themes/default/buttons/button.scss +72 -72
  386. package/themes/default/buttons/fab.scss +74 -74
  387. package/themes/default/buttons/icon-button.scss +55 -62
  388. package/themes/default/card.scss +129 -129
  389. package/themes/default/checkbox.scss +1 -1
  390. package/themes/default/chips.scss +200 -200
  391. package/themes/default/core.scss +99 -99
  392. package/themes/default/inputs/_shared.scss +5 -0
  393. package/themes/default/inputs/digit-input.scss +56 -56
  394. package/themes/default/inputs/file-input.scss +85 -85
  395. package/themes/default/inputs/hex-input.scss +27 -27
  396. package/themes/default/modal.scss +93 -93
  397. package/themes/default/segment.scss +355 -351
  398. package/themes/default/select.scss +259 -255
  399. package/themes/default/snackbar.scss +58 -58
  400. package/themes/default/tabber.scss +89 -87
  401. package/themes/default/table.scss +20 -0
  402. package/esm2022/lib/_internal/queue.mjs +0 -59
  403. package/esm2022/lib/color/color-picker/color-picker.types.mjs +0 -11
  404. package/esm2022/lib/inputs/color-input/color-input.directives.mjs +0 -101
  405. package/esm2022/lib/inputs/color-input/color-input.types.mjs +0 -2
  406. package/esm2022/lib/inputs/hex-input.model.mjs +0 -97
  407. package/lib/color/color-picker/color-picker.types.d.ts +0 -21
  408. package/lib/inputs/color-input/color-input.directives.d.ts +0 -52
  409. package/lib/inputs/color-input/color-input.types.d.ts +0 -5
  410. /package/lib/_internal/{queue.d.ts → models/queue.d.ts} +0 -0
@@ -1,4 +1,7 @@
1
- export * from './chip.module';
2
1
  export * from './chip.component';
2
+ export * from './chip.defaults';
3
+ export * from './chip.module';
3
4
  export * from './deletable-chip/deletable-chip.component';
5
+ export * from './deletable-chip/deletable-chip.defaults';
4
6
  export * from './selectable-chip/selectable-chip.component';
7
+ export * from './selectable-chip/selectable-chip.defaults';
@@ -3,11 +3,11 @@ import { SimpleOneAxisAlignment } from '../../types/alignment.types';
3
3
  import { ComponentColor } from '../../types/colors.types';
4
4
  import { DecorationElementAppearance, FormElementVariant } from '../../types/theming.types';
5
5
  import { _BooleanComponentBase } from './../../_internal/boolean-component';
6
+ import { ArdSelectableChipDefaults } from './selectable-chip.defaults';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ArdiumSelectableChipComponent extends _BooleanComponentBase implements ControlValueAccessor {
8
- readonly DEFAULTS: {
9
- chipTitle: string;
10
- };
9
+ protected readonly _DEFAULTS: ArdSelectableChipDefaults;
10
+ constructor(defaults: ArdSelectableChipDefaults);
11
11
  readonly chipTitle: import("@angular/core").InputSignal<string>;
12
12
  readonly hideSelectionIcon: import("@angular/core").InputSignalWithTransform<boolean, any>;
13
13
  readonly contentAlignment: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _BooleanComponentDefaults } from '../../_internal/boolean-component';
3
+ import { ArdChipDefaults } from '../chip.defaults';
4
+ export interface ArdSelectableChipDefaults extends ArdChipDefaults, _BooleanComponentDefaults {
5
+ chipTitle: string;
6
+ hideSelectionIcon: boolean;
7
+ }
8
+ export declare const ARD_SELECTABLE_CHIP_DEFAULTS: InjectionToken<ArdSelectableChipDefaults>;
9
+ export declare function provideSelectableChipDefaults(config: Partial<ArdSelectableChipDefaults>): Provider;
@@ -3,10 +3,11 @@ import { Nullable } from '../../types/utility.types';
3
3
  import { ColorDisplayAppearance } from './color-display.types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ArdiumColorDisplayComponent implements AfterViewInit {
6
+ private readonly _DEFAULTS;
6
7
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
7
8
  readonly withLabel: import("@angular/core").InputSignalWithTransform<boolean, any>;
8
9
  readonly appearance: import("@angular/core").InputSignal<ColorDisplayAppearance>;
9
- get ngClasses(): string;
10
+ readonly ngClasses: import("@angular/core").Signal<string>;
10
11
  readonly color: import("@angular/core").InputSignalWithTransform<Nullable<string>, any>;
11
12
  ngAfterViewInit(): void;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumColorDisplayComponent, never>;
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { ColorDisplayAppearance } from './color-display.types';
3
+ export interface ArdColorDisplayDefaults {
4
+ ariaLabel: string;
5
+ withLabel: boolean;
6
+ appearance: ColorDisplayAppearance;
7
+ }
8
+ export declare const ARD_COLOR_DISPLAY_DEFAULTS: InjectionToken<ArdColorDisplayDefaults>;
9
+ export declare function provideColorDisplayDefaults(config: Partial<ArdColorDisplayDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './color-display.module';
2
1
  export * from './color-display.component';
2
+ export * from './color-display.defaults';
3
+ export * from './color-display.module';
3
4
  export * from './color-display.types';
@@ -5,6 +5,7 @@ import { ArdDialogButtonsTemplateDirective } from './dialog.directives';
5
5
  import { DialogButtonsContext, DialogResult } from './dialog.types';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ArdiumDialogComponent {
8
+ private readonly _DEFAULTS;
8
9
  readonly appearance: import("@angular/core").InputSignal<"raised">;
9
10
  readonly variant: import("@angular/core").InputSignal<PanelVariant>;
10
11
  readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
@@ -0,0 +1,16 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { ArdModalDefaults } from '../modal/modal.defaults';
3
+ import { ButtonAppearance } from './../buttons/general-button.types';
4
+ import { ComponentColor } from './../types/colors.types';
5
+ export interface ArdDialogDefaults extends ArdModalDefaults {
6
+ confirmButtonText: string;
7
+ confirmButtonColor: ComponentColor;
8
+ confirmButtonAppearance: ButtonAppearance;
9
+ rejectButtonText: string;
10
+ rejectButtonColor: ComponentColor;
11
+ rejectButtonAppearance: ButtonAppearance;
12
+ noRejectButton: boolean;
13
+ canConfirm: boolean;
14
+ }
15
+ export declare const ARD_DIALOG_DEFAULTS: InjectionToken<ArdDialogDefaults>;
16
+ export declare function provideDialogDefaults(config: Partial<ArdDialogDefaults>): Provider;
@@ -1,4 +1,5 @@
1
- export * from './dialog.module';
2
1
  export * from './dialog.component';
3
- export * from './dialog.types';
2
+ export * from './dialog.defaults';
4
3
  export * from './dialog.directives';
4
+ export * from './dialog.module';
5
+ export * from './dialog.types';
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class ArdiumDividerComponent {
3
+ protected readonly _DEFAULTS: import("./divider.defaults").ArdDividerDefaults;
3
4
  readonly vertical: import("@angular/core").InputSignalWithTransform<boolean, any>;
4
- get _verticalHostAttribute(): boolean;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumDividerComponent, never>;
6
6
  static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDividerComponent, "ard-divider", never, { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
7
7
  }
@@ -0,0 +1,6 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ export interface ArdDividerDefaults {
3
+ vertical: boolean;
4
+ }
5
+ export declare const ARD_DIVIDER_DEFAULTS: InjectionToken<ArdDividerDefaults>;
6
+ export declare function provideDividerDefaults(config: Partial<ArdDividerDefaults>): Provider;
@@ -1,2 +1,3 @@
1
- export * from './divider.module';
2
1
  export * from './divider.component';
2
+ export * from './divider.defaults';
3
+ export * from './divider.module';
@@ -3,6 +3,7 @@ import { Nullable } from '../types/utility.types';
3
3
  import { DropdownPanelAppearance, DropdownPanelVariant, ScrollAlignment } from './dropdown-panel.types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ArdiumDropdownPanelComponent implements AfterViewChecked {
6
+ private readonly _DEFAULTS;
6
7
  private readonly _scrollElementRef;
7
8
  private readonly _scrollEl;
8
9
  readonly panelId: import("@angular/core").InputSignal<string | undefined>;
@@ -0,0 +1,10 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { DropdownPanelAppearance, DropdownPanelVariant } from './dropdown-panel.types';
3
+ export interface ArdDropdownPanelDefaults {
4
+ filterValue: string;
5
+ appearance: DropdownPanelAppearance;
6
+ variant: DropdownPanelVariant;
7
+ compact: boolean;
8
+ }
9
+ export declare const ARD_DROPDOWN_PANEL_DEFAULTS: InjectionToken<ArdDropdownPanelDefaults>;
10
+ export declare function provideDropdownPanelDefaults(config: Partial<ArdDropdownPanelDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './dropdown-panel.module';
2
1
  export * from './dropdown-panel.component';
2
+ export * from './dropdown-panel.defaults';
3
+ export * from './dropdown-panel.module';
3
4
  export * from './dropdown-panel.types';
@@ -1,10 +1,13 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
1
+ import { TemplateRef } from '@angular/core';
2
2
  import { ComponentColor } from '../../types/colors.types';
3
3
  import { FormElementVariant } from '../../types/theming.types';
4
4
  import { _FileInputComponentBase } from '../file-input-base';
5
5
  import { FileInputBrowseContext, FileInputFileAmountContext, FileInputFilesContext } from '../file-input-types';
6
+ import { ArdFileDropAreaDefaults } from './file-drop-area.defaults';
6
7
  import * as i0 from "@angular/core";
7
- export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase implements OnInit {
8
+ export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase {
9
+ protected readonly _DEFAULTS: ArdFileDropAreaDefaults;
10
+ constructor(defaults: ArdFileDropAreaDefaults);
8
11
  readonly componentId = "010";
9
12
  readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
10
13
  readonly color: import("@angular/core").InputSignal<ComponentColor>;
@@ -0,0 +1,10 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _FileInputBaseDefaults } from '../file-input-base.defaults';
3
+ import { ComponentColor } from './../../types/colors.types';
4
+ import { FormElementVariant } from './../../types/theming.types';
5
+ export interface ArdFileDropAreaDefaults extends _FileInputBaseDefaults {
6
+ variant: FormElementVariant;
7
+ color: ComponentColor;
8
+ }
9
+ export declare const ARD_FILE_DROP_AREA_DEFAULTS: InjectionToken<ArdFileDropAreaDefaults>;
10
+ export declare function provideFileDropAreaDefaults(config: Partial<ArdFileDropAreaDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './file-drop-area.module';
2
1
  export * from './file-drop-area.component';
2
+ export * from './file-drop-area.defaults';
3
3
  export * from './file-drop-area.directives';
4
+ export * from './file-drop-area.module';
@@ -3,11 +3,11 @@ import { ComponentColor } from '../../types/colors.types';
3
3
  import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
4
4
  import { _FileInputComponentBase } from '../file-input-base';
5
5
  import { FileInputBrowseContext, FileInputFileAmountContext, FileInputFilesContext } from '../file-input-types';
6
+ import { ArdFileInputDefaults } from './file-input.defaults';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
8
- readonly DEFAULTS: {
9
- clearButtonTitle: string;
10
- };
9
+ protected readonly _DEFAULTS: ArdFileInputDefaults;
10
+ constructor(defaults: ArdFileInputDefaults);
11
11
  readonly componentId = "011";
12
12
  readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
13
13
  readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
@@ -33,5 +33,5 @@ export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
33
33
  getDragoverContext(): FileInputFileAmountContext;
34
34
  getUploadedContext(): FileInputFilesContext;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileInputComponent, "ard-file-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; }, { "clearEvent": "clearEvent"; }, ["placeholderTemplate", "prefixTemplate", "suffixTemplate", "idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileInputComponent, "ard-file-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; }, { "clearEvent": "clear"; }, ["placeholderTemplate", "prefixTemplate", "suffixTemplate", "idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
37
37
  }
@@ -0,0 +1,15 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _FileInputBaseDefaults } from '../file-input-base.defaults';
3
+ import { ComponentColor } from './../../types/colors.types';
4
+ import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
5
+ export interface ArdFileInputDefaults extends _FileInputBaseDefaults {
6
+ appearance: FormElementAppearance;
7
+ variant: FormElementVariant;
8
+ color: ComponentColor;
9
+ inputAttrs: Record<string, any>;
10
+ placeholder: string;
11
+ clearable: boolean;
12
+ clearButtonTitle: string;
13
+ }
14
+ export declare const ARD_FILE_INPUT_DEFAULTS: InjectionToken<ArdFileInputDefaults>;
15
+ export declare function provideFileInputDefaults(config: Partial<ArdFileInputDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './file-input.module';
2
1
  export * from './file-input.component';
2
+ export * from './file-input.defaults';
3
3
  export * from './file-input.directives';
4
+ export * from './file-input.module';
@@ -1,7 +1,9 @@
1
1
  import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
2
2
  import { _NgModelComponentBase } from '../_internal/ngmodel-component';
3
+ import { _FileInputBaseDefaults } from './file-input-base.defaults';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare abstract class _FileInputComponentBase extends _NgModelComponentBase implements OnInit, AfterViewInit {
6
+ protected readonly _DEFAULTS: _FileInputBaseDefaults;
5
7
  abstract readonly componentId: string;
6
8
  readonly fileInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
7
9
  readonly htmlId: import("@angular/core").InputSignal<string>;
@@ -0,0 +1,7 @@
1
+ import { _NgModelComponentDefaults } from '../_internal/ngmodel-component';
2
+ export interface _FileInputBaseDefaults extends _NgModelComponentDefaults {
3
+ compact: boolean;
4
+ multiple: boolean;
5
+ blockAfterUpload: boolean;
6
+ }
7
+ export declare const _fileInputBaseDefaults: _FileInputBaseDefaults;
@@ -2,9 +2,12 @@ import { TemplateRef } from '@angular/core';
2
2
  import { _FocusableComponentBase } from '../_internal/focusable-component';
3
3
  import { FormElementAppearance, FormElementVariant } from '../types/theming.types';
4
4
  import { Nullable } from '../types/utility.types';
5
+ import { ArdFormFieldFrameDefaults } from './form-field-frame.defaults';
5
6
  import { ArdFormFieldPrefixTemplateDirective, ArdFormFieldSuffixTemplateDirective } from './form-field-frame.directives';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ArdiumFormFieldFrameComponent extends _FocusableComponentBase {
9
+ protected readonly _DEFAULTS: ArdFormFieldFrameDefaults;
10
+ constructor(defaults: ArdFormFieldFrameDefaults);
8
11
  isFocused: boolean;
9
12
  /**
10
13
  * The appearance of the component, aka the styling.
@@ -0,0 +1,10 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _FocusableComponentDefaults } from '../_internal/focusable-component';
3
+ import { FormElementAppearance, FormElementVariant } from './../types/theming.types';
4
+ export interface ArdFormFieldFrameDefaults extends _FocusableComponentDefaults {
5
+ appearance: FormElementAppearance;
6
+ variant: FormElementVariant;
7
+ compact: boolean;
8
+ }
9
+ export declare const ARD_FORM_FIELD_FRAME_DEFAULTS: InjectionToken<ArdFormFieldFrameDefaults>;
10
+ export declare function provideFormFieldFrameDefaults(config: Partial<ArdFormFieldFrameDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './form-field-frame.module';
2
1
  export * from './form-field-frame.component';
2
+ export * from './form-field-frame.defaults';
3
3
  export * from './form-field-frame.directives';
4
+ export * from './form-field-frame.module';
@@ -3,17 +3,21 @@ import { Nullable } from '../types/utility.types';
3
3
  import * as i0 from "@angular/core";
4
4
  type WeightNumber = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
5
5
  type WeightString = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
6
+ export type Weight = WeightNumber | WeightString;
6
7
  type GradeNumber = -25 | 0 | 200;
7
8
  type GradeString = '-25' | '0' | '200';
9
+ export type Grade = GradeNumber | GradeString;
8
10
  type OpticalSizeNumber = 20 | 24 | 40 | 48;
9
11
  type OpticalSizeString = '20' | '24' | '40' | '48';
12
+ export type OpticalSize = OpticalSizeNumber | OpticalSizeString;
10
13
  export declare class ArdiumIconComponent implements AfterViewInit {
14
+ protected readonly _DEFAULTS: import("./icon.defaults").ArdIconDefaults;
11
15
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
12
16
  readonly icon: import("@angular/core").InputSignal<Nullable<string>>;
13
17
  readonly filled: import("@angular/core").InputSignalWithTransform<boolean, any>;
14
- readonly weight: import("@angular/core").InputSignalWithTransform<WeightNumber | undefined, Nullable<WeightNumber | WeightString>>;
15
- readonly grade: import("@angular/core").InputSignalWithTransform<GradeNumber | undefined, Nullable<GradeNumber | GradeString>>;
16
- readonly opticalSize: import("@angular/core").InputSignalWithTransform<OpticalSizeNumber | undefined, Nullable<OpticalSizeNumber | OpticalSizeString>>;
18
+ readonly weight: import("@angular/core").InputSignalWithTransform<WeightNumber | undefined, Nullable<Weight>>;
19
+ readonly grade: import("@angular/core").InputSignalWithTransform<GradeNumber | undefined, Nullable<GradeNumber>>;
20
+ readonly opticalSize: import("@angular/core").InputSignalWithTransform<OpticalSizeNumber | undefined, Nullable<OpticalSize>>;
17
21
  readonly fontVariationSettings: import("@angular/core").Signal<string>;
18
22
  readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
19
23
  ngAfterViewInit(): void;
@@ -0,0 +1,11 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { Grade, OpticalSize, Weight } from './icon.component';
3
+ export interface ArdIconDefaults {
4
+ filled: boolean;
5
+ weight: Weight;
6
+ grade: Grade;
7
+ opticalSize: OpticalSize;
8
+ ariaLabel: string;
9
+ }
10
+ export declare const ARD_ICON_DEFAULTS: InjectionToken<ArdIconDefaults>;
11
+ export declare function provideIconDefaults(config: Partial<ArdIconDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './icon.module';
2
1
  export * from './icon.component';
2
+ export * from './icon.defaults';
3
+ export * from './icon.module';
3
4
  export * from './icon.pipe';
@@ -0,0 +1,62 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { _NgModelComponentBase, _NgModelComponentDefaults } from '../_internal/ngmodel-component';
3
+ import { SimpleOneAxisAlignment } from './../types/alignment.types';
4
+ import { FormElementAppearance, FormElementVariant } from './../types/theming.types';
5
+ import { Nullable } from './../types/utility.types';
6
+ import { SimpleInputModel } from './input-utils';
7
+ import { ArdSimpleInputPlaceholderTemplateDirective, ArdSimpleInputPrefixTemplateDirective, ArdSimpleInputSuffixTemplateDirective } from './simple-input';
8
+ import * as i0 from "@angular/core";
9
+ export interface _SimpleInputComponentDefaults extends _NgModelComponentDefaults {
10
+ appearance: FormElementAppearance;
11
+ variant: FormElementVariant;
12
+ compact: boolean;
13
+ placeholder: string;
14
+ alignText: SimpleOneAxisAlignment;
15
+ clearable: boolean;
16
+ clearButtonTitle: string;
17
+ inputAttrs: Record<string, any>;
18
+ maxLength: Nullable<number>;
19
+ }
20
+ export declare const _simpleInputComponentDefaults: _SimpleInputComponentDefaults;
21
+ export declare abstract class _SimpleInputComponentBase extends _NgModelComponentBase implements AfterViewInit {
22
+ protected readonly _DEFAULTS: _SimpleInputComponentDefaults;
23
+ readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
24
+ protected readonly inputModel: SimpleInputModel;
25
+ private _wasViewInit;
26
+ ngAfterViewInit(): void;
27
+ readonly placeholder: import("@angular/core").InputSignal<string>;
28
+ readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
29
+ readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
30
+ readonly prefixTemplate: import("@angular/core").Signal<ArdSimpleInputPrefixTemplateDirective | undefined>;
31
+ readonly suffixTemplate: import("@angular/core").Signal<ArdSimpleInputSuffixTemplateDirective | undefined>;
32
+ readonly placeholderTemplate: import("@angular/core").Signal<ArdSimpleInputPlaceholderTemplateDirective | undefined>;
33
+ readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
34
+ readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
35
+ readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
36
+ readonly alignText: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
37
+ readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
38
+ readonly ngClasses: import("@angular/core").Signal<string>;
39
+ readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
40
+ readonly maxLength: import("@angular/core").InputSignalWithTransform<Nullable<number>, any>;
41
+ readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
42
+ writeValue(v: any): void;
43
+ protected _valueBeforeInit?: string | null;
44
+ set value(v: string | null);
45
+ get value(): string | null;
46
+ readonly valueChange: import("@angular/core").OutputEmitterRef<string | null>;
47
+ readonly inputEvent: import("@angular/core").OutputEmitterRef<string | null>;
48
+ readonly changeEvent: import("@angular/core").OutputEmitterRef<string | null>;
49
+ readonly clearEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;
50
+ onInput(newVal: string): void;
51
+ protected _emitInput(): void;
52
+ onFocusMaster(event: FocusEvent): void;
53
+ onBlurMaster(event: FocusEvent): void;
54
+ onChange(event: Event): void;
55
+ protected _emitChange(): void;
56
+ readonly shouldShowClearButton: import("@angular/core").Signal<boolean>;
57
+ onClearButtonClick(event: MouseEvent): void;
58
+ onCopy(event: ClipboardEvent): void;
59
+ protected _setInputAttributes(): void;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<_SimpleInputComponentBase, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_SimpleInputComponentBase, never, never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "alignText": { "alias": "alignText"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
62
+ }
@@ -2,10 +2,13 @@ import { ElementRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
4
4
  import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
5
+ import { ArdDigitInputDefaults } from './digit-input.defaults';
5
6
  import { DigitInputConfig, DigitInputShape } from './digit-input.types';
6
7
  import { DigitInputModelHost } from './digit-input.utils';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class ArdiumDigitInputComponent extends _NgModelComponentBase implements ControlValueAccessor, DigitInputModelHost {
10
+ protected readonly _DEFAULTS: ArdDigitInputDefaults;
11
+ constructor(defaults: ArdDigitInputDefaults);
9
12
  readonly inputs: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
10
13
  private readonly model;
11
14
  readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
@@ -0,0 +1,13 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _NgModelComponentDefaults } from '../../_internal/ngmodel-component';
3
+ import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
4
+ import { DigitInputShape } from './digit-input.types';
5
+ export interface ArdDigitInputDefaults extends _NgModelComponentDefaults {
6
+ appearance: FormElementAppearance;
7
+ variant: FormElementVariant;
8
+ shape: DigitInputShape;
9
+ compact: boolean;
10
+ outputAsString: boolean;
11
+ }
12
+ export declare const ARD_DIGIT_INPUT_DEFAULTS: InjectionToken<ArdDigitInputDefaults>;
13
+ export declare function provideDigitInputDefaults(config: Partial<ArdDigitInputDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './digit-input.module';
2
1
  export * from './digit-input.component';
2
+ export * from './digit-input.defaults';
3
+ export * from './digit-input.module';
3
4
  export * from './digit-input.types';
@@ -3,18 +3,18 @@ import { ControlValueAccessor } from '@angular/forms';
3
3
  import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
4
4
  import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
5
5
  import { Nullable } from '../../types/utility.types';
6
- import { HexInputModel, HexInputModelHost } from '../hex-input.model';
7
6
  import { CaseTransformerType } from '../input-types';
7
+ import { ArdHexInputDefaults } from './hex-input.defaults';
8
8
  import { ArdHexInputPlaceholderTemplateDirective, ArdHexInputPrefixTemplateDirective, ArdHexInputSuffixTemplateDirective } from './hex-input.directives';
9
+ import { HexInputModel, HexInputModelHost } from './hex-input.model';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class ArdiumHexInputComponent extends _NgModelComponentBase implements ControlValueAccessor, HexInputModelHost, AfterViewInit {
12
+ protected readonly _DEFAULTS: ArdHexInputDefaults;
13
+ constructor(defaults: ArdHexInputDefaults);
11
14
  readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
12
15
  protected readonly inputModel: HexInputModel;
13
16
  protected _wasViewInit: boolean;
14
17
  ngAfterViewInit(): void;
15
- readonly DEFAULTS: {
16
- clearButtonTitle: string;
17
- };
18
18
  readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
19
19
  readonly prefixTemplate: import("@angular/core").Signal<ArdHexInputPrefixTemplateDirective | undefined>;
20
20
  readonly suffixTemplate: import("@angular/core").Signal<ArdHexInputSuffixTemplateDirective | undefined>;
@@ -0,0 +1,19 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _NgModelComponentDefaults } from '../../_internal/ngmodel-component';
3
+ import { Nullable } from '../../types/utility.types';
4
+ import { CaseTransformerType } from '../input-types';
5
+ import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
6
+ export interface ArdHexInputDefaults extends _NgModelComponentDefaults {
7
+ appearance: FormElementAppearance;
8
+ variant: FormElementVariant;
9
+ compact: boolean;
10
+ placeholder: string;
11
+ case: CaseTransformerType;
12
+ maxDigits: Nullable<number>;
13
+ hideHash: boolean;
14
+ clearable: boolean;
15
+ clearButtonTitle: string;
16
+ inputAttrs: Record<string, any>;
17
+ }
18
+ export declare const ARD_HEX_INPUT_DEFAULTS: InjectionToken<ArdHexInputDefaults>;
19
+ export declare function provideHexInputDefaults(config: Partial<ArdHexInputDefaults>): Provider;
@@ -1,6 +1,6 @@
1
- import { CaseTransformerType } from './input-types';
2
1
  import { ElementRef, Signal } from '@angular/core';
3
- import { Nullable } from '../types/utility.types';
2
+ import { Nullable } from '../../types/utility.types';
3
+ import { CaseTransformerType } from '../input-types';
4
4
  export interface HexInputModelHost {
5
5
  readonly case: Signal<CaseTransformerType>;
6
6
  readonly maxDigits: Signal<Nullable<number>>;
@@ -1,3 +1,4 @@
1
- export * from './hex-input.module';
2
1
  export * from './hex-input.component';
2
+ export * from './hex-input.defaults';
3
3
  export * from './hex-input.directives';
4
+ export * from './hex-input.module';
@@ -1,26 +1,21 @@
1
- import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
2
- import { AfterViewInit, ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, TemplateRef } from '@angular/core';
3
2
  import { SimplestItemStorage, SimplestItemStorageHost } from '../../_internal/item-storages/simplest-item-storage';
4
3
  import { DropdownPanelAppearance, DropdownPanelVariant } from '../../dropdown-panel/dropdown-panel.types';
5
4
  import { ArdSimplestStorageItem } from '../../types/item-storage.types';
6
5
  import { Nullable } from '../../types/utility.types';
7
- import { ArdiumSimpleInputComponent } from '../simple-input/simple-input.component';
6
+ import { _SimpleInputComponentBase } from '../_simple-input-base';
8
7
  import { OptionContext } from './../../types/item-storage.types';
9
8
  import { InputModel, InputModelHost } from './../input-utils';
9
+ import { ArdInputDefaults } from './input.defaults';
10
10
  import { ArdInputLoadingTemplateDirective, ArdInputPlaceholderTemplateDirective, ArdInputPrefixTemplateDirective, ArdInputSuffixTemplateDirective, ArdSuggestionTemplateDirective } from './input.directives';
11
11
  import * as i0 from "@angular/core";
12
- export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent implements InputModelHost, SimplestItemStorageHost, AfterViewInit {
13
- private viewContainerRef;
14
- private overlay;
15
- private scrollStrategyOpts;
16
- private readonly element;
17
- constructor(viewContainerRef: ViewContainerRef, overlay: Overlay, scrollStrategyOpts: ScrollStrategyOptions);
18
- readonly DEFAULTS: {
19
- clearButtonTitle: string;
20
- valueFrom: string;
21
- labelFrom: string;
22
- suggestionsLoadingText: string;
23
- };
12
+ export declare class ArdiumInputComponent extends _SimpleInputComponentBase implements InputModelHost, SimplestItemStorageHost, AfterViewInit {
13
+ private readonly overlay;
14
+ private readonly scrollStrategyOpts;
15
+ private readonly viewContainerRef;
16
+ protected readonly _DEFAULTS: ArdInputDefaults;
17
+ readonly DEFAULTS: ArdInputDefaults;
18
+ constructor(defaults: ArdInputDefaults);
24
19
  protected readonly inputModel: InputModel;
25
20
  readonly charlistFromInput: import("@angular/core").InputSignalWithTransform<RegExp | undefined, string>;
26
21
  readonly charlistCaseInsensitive: import("@angular/core").InputSignalWithTransform<boolean, any>;
@@ -37,7 +32,6 @@ export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent imp
37
32
  readonly acceptSuggestionEvent: import("@angular/core").OutputEmitterRef<any>;
38
33
  readonly suggestionItems: import("@angular/core").Signal<ArdSimplestStorageItem[]>;
39
34
  set suggestions(value: any);
40
- private _printPrimitiveWarnings;
41
35
  private readonly _suggestionDropdowOpen;
42
36
  readonly shouldDisplaySuggestions: import("@angular/core").Signal<boolean>;
43
37
  readonly areSuggestionsLoading: import("@angular/core").InputSignalWithTransform<boolean, any>;
@@ -49,7 +43,6 @@ export declare class ArdiumInputComponent extends ArdiumSimpleInputComponent imp
49
43
  private dropdownOverlay;
50
44
  ngAfterViewInit(): void;
51
45
  setOverlaySize(): void;
52
- onWindowResize(): void;
53
46
  getOptionContext(item: ArdSimplestStorageItem): OptionContext<ArdSimplestStorageItem>;
54
47
  private _isMouseBeingUsed;
55
48
  onMouseMove(): void;
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _SimpleInputComponentDefaults } from '../_simple-input-base';
3
+ export interface ArdInputDefaults extends _SimpleInputComponentDefaults {
4
+ suggValueFrom: string;
5
+ suggLabelFrom: string;
6
+ suggestionsLoadingText: string;
7
+ }
8
+ export declare const ARD_INPUT_DEFAULTS: InjectionToken<ArdInputDefaults>;
9
+ export declare function provideInputDefaults(config: Partial<ArdInputDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './number-input.module';
2
1
  export * from './number-input.component';
2
+ export * from './number-input.defaults';
3
3
  export * from './number-input.directives';
4
+ export * from './number-input.module';
@@ -6,9 +6,12 @@ import { OneAxisAlignment } from '../../types/alignment.types';
6
6
  import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
7
7
  import { Nullable } from '../../types/utility.types';
8
8
  import { NumberInputModel, NumberInputModelHost } from '../input-utils';
9
+ import { ArdNumberInputDefaults } from './number-input.defaults';
9
10
  import { ArdNumberInputPlaceholderTemplateDirective } from './number-input.directives';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class ArdiumNumberInputComponent extends _NgModelComponentBase implements ControlValueAccessor, NumberInputModelHost, AfterViewInit {
13
+ protected readonly _DEFAULTS: ArdNumberInputDefaults;
14
+ constructor(defaults: ArdNumberInputDefaults);
12
15
  readonly inputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
13
16
  protected readonly inputModel: NumberInputModel;
14
17
  private _wasViewInit;
@@ -29,7 +32,6 @@ export declare class ArdiumNumberInputComponent extends _NgModelComponentBase im
29
32
  protected _valueBeforeInit?: string | null;
30
33
  set value(v: string | number | null);
31
34
  readonly valueChange: import("@angular/core").OutputEmitterRef<number | null>;
32
- constructor();
33
35
  readonly inputEvent: import("@angular/core").OutputEmitterRef<number | null>;
34
36
  readonly changeEvent: import("@angular/core").OutputEmitterRef<number | null>;
35
37
  readonly clearEvent: import("@angular/core").OutputEmitterRef<MouseEvent>;