@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,10 +1,14 @@
1
1
  import { ControlValueAccessor } from '@angular/forms';
2
- import { _NgModelComponentBase } from './ngmodel-component';
2
+ import { _NgModelComponentBase, _NgModelComponentDefaults } from './ngmodel-component';
3
3
  import * as i0 from "@angular/core";
4
+ export interface _BooleanComponentDefaults extends _NgModelComponentDefaults {
5
+ }
6
+ export declare const _booleanComponentDefaults: _BooleanComponentDefaults;
4
7
  /**
5
8
  * Common code for components, which only operate on the "selected" state.
6
9
  */
7
10
  export declare abstract class _BooleanComponentBase extends _NgModelComponentBase implements ControlValueAccessor {
11
+ protected readonly _DEFAULTS: _BooleanComponentDefaults;
8
12
  writeValue(v: any): void;
9
13
  /**
10
14
  * Emits all select-state-related events.
@@ -1,6 +1,7 @@
1
1
  import { _FocusableComponentBase } from './../focusable-component';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class _ClearButtonComponent extends _FocusableComponentBase {
4
+ constructor();
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<_ClearButtonComponent, never>;
5
6
  static ɵcmp: i0.ɵɵComponentDeclaration<_ClearButtonComponent, "ard-clear-button", never, {}, {}, never, never, false, never>;
6
7
  }
@@ -1,11 +1,18 @@
1
1
  import * as i0 from "@angular/core";
2
+ export interface _DisablableComponentDefaults {
3
+ readonly: boolean;
4
+ disabled: boolean;
5
+ }
6
+ export declare const _disablableComponentDefaults: _DisablableComponentDefaults;
2
7
  export declare abstract class _DisablableComponentBase {
8
+ protected readonly _DEFAULTS: _DisablableComponentDefaults;
9
+ constructor(_DEFAULTS: _DisablableComponentDefaults);
3
10
  /**
4
- * Whether the component is read-only. Defines the `readonly` host attribute and `ard-readonly` host class. Coearcible into a boolean.
11
+ * Whether the component is read-only. Defines the `readonly` host attribute and `ard-readonly` host class. Coercible into a boolean.
5
12
  */
6
13
  readonly readonly: import("@angular/core").InputSignalWithTransform<any, boolean>;
7
14
  /**
8
- * Whether the component is disabled. Defines the `disabled` host attribute and `ard-disabled` host class. Coearcible into a boolean.
15
+ * Whether the component is disabled. Defines the `disabled` host attribute and `ard-disabled` host class. Coercible into a boolean.
9
16
  */
10
17
  readonly disabled: import("@angular/core").WritableSignal<boolean>;
11
18
  set _disabled(v: any);
@@ -1,6 +1,11 @@
1
- import { _DisablableComponentBase } from './disablable-component';
1
+ import { _DisablableComponentBase, _DisablableComponentDefaults } from './disablable-component';
2
2
  import * as i0 from "@angular/core";
3
+ export interface _FocusableComponentDefaults extends _DisablableComponentDefaults {
4
+ tabIndex: number;
5
+ }
6
+ export declare const _focusableComponentDefaults: _FocusableComponentDefaults;
3
7
  export declare abstract class _FocusableComponentBase extends _DisablableComponentBase {
8
+ protected readonly _DEFAULTS: _FocusableComponentDefaults;
4
9
  private readonly _focusableElement;
5
10
  /**
6
11
  * Focuses the correct element in the component.
@@ -2,24 +2,14 @@ import { Signal } from '@angular/core';
2
2
  import { AddCustomFn } from '../../select/select.types';
3
3
  import { ArdOption, ArdOptionGroup, CompareWithFn, GroupByFn, SearchFn } from '../../types/item-storage.types';
4
4
  import { Nullable } from '../../types/utility.types';
5
- export interface ItemStorageHostDefaults {
6
- valueFrom: string;
7
- labelFrom: string;
8
- disabledFrom: string;
9
- groupLabelFrom: string;
10
- groupDisabledFrom: string;
11
- childrenFrom: string;
12
- [key: string]: any;
13
- }
14
5
  export interface ItemStorageHost {
15
- readonly valueFrom: Signal<Nullable<string>>;
16
- readonly labelFrom: Signal<Nullable<string>>;
17
- readonly disabledFrom: Signal<Nullable<string>>;
18
- readonly invertDisabled: Signal<Nullable<boolean>>;
19
- readonly groupLabelFrom: Signal<Nullable<string | GroupByFn>>;
20
- readonly groupDisabledFrom: Signal<Nullable<string>>;
21
- readonly childrenFrom: Signal<Nullable<string>>;
22
- readonly DEFAULTS: ItemStorageHostDefaults;
6
+ readonly valueFrom: Signal<string>;
7
+ readonly labelFrom: Signal<string>;
8
+ readonly disabledFrom: Signal<string>;
9
+ readonly invertDisabled: Signal<boolean>;
10
+ readonly groupLabelFrom: Signal<string | GroupByFn>;
11
+ readonly groupDisabledFrom: Signal<string>;
12
+ readonly childrenFrom: Signal<string>;
23
13
  readonly itemsAlreadyGrouped: Signal<Nullable<boolean>>;
24
14
  readonly hideSelected: Signal<boolean>;
25
15
  readonly searchCaseSensitive: Signal<boolean>;
@@ -54,7 +44,7 @@ export declare class ItemStorage {
54
44
  readonly isAnyItemSelected: Signal<boolean>;
55
45
  readonly isAnyItemHighlighted: Signal<boolean>;
56
46
  readonly isItemLimitReached: Signal<boolean>;
57
- setItems(items: any[]): boolean;
47
+ setItems(items: any[]): void;
58
48
  private _addSingleItem;
59
49
  private _primitiveItemsMapFn;
60
50
  private _ungroupAlreadyGroupedItems;
@@ -67,7 +57,7 @@ export declare class ItemStorage {
67
57
  private readonly _wasValueWriteDeferred;
68
58
  handleWriteValue(ngModel: any[]): void;
69
59
  findItemByValue(valueToFind: any): ArdOption | undefined;
70
- addCustomOption(value: string, fn: AddCustomFn<any> | AddCustomFn<Promise<any>>): Promise<ArdOption>;
60
+ addCustomOption(value: string, fn: AddCustomFn<any> | AddCustomFn<Promise<any>>): Promise<ArdOption | null>;
71
61
  clearAllSelected(repopulateGroups?: boolean): any[];
72
62
  clearLastSelected(): ArdOption;
73
63
  selectItem(...items: ArdOption[]): [any[], any[], any[]];
@@ -61,7 +61,7 @@ export declare class SimpleItemStorage {
61
61
  * @param items An array of items to be set as the component's items.
62
62
  * @returns true if at least one of the items is of primitive type, otherwise false.
63
63
  */
64
- setItems(items: unknown[]): boolean;
64
+ setItems(items: unknown[]): void;
65
65
  private _primitiveItemsMapFn;
66
66
  private _setItemsMapFn;
67
67
  /**
@@ -2,8 +2,8 @@ import { Signal } from '@angular/core';
2
2
  import { ArdSimplestStorageItem } from '../../types/item-storage.types';
3
3
  import { Nullable } from '../../types/utility.types';
4
4
  export interface SimplestItemStorageHostDefaults {
5
- valueFrom: string;
6
- labelFrom: string;
5
+ suggValueFrom: string;
6
+ suggLabelFrom: string;
7
7
  }
8
8
  export interface SimplestItemStorageHost {
9
9
  readonly valueFrom: Signal<Nullable<string>>;
@@ -32,7 +32,7 @@ export declare class SimplestItemStorage {
32
32
  * @param items An array of items to be set as the component's items.
33
33
  * @returns true if at least one of the items is of primitive type, otherwise false.
34
34
  */
35
- setItems(items: any[]): boolean;
35
+ setItems(items: any[]): void;
36
36
  private _primitiveItemsMapFn;
37
37
  private _setItemsMapFn;
38
38
  /**
@@ -10,8 +10,8 @@ export interface PaginationModelHost {
10
10
  readonly page: ModelSignal<number>;
11
11
  }
12
12
  export interface PaginationCurrentItemsContext {
13
- readonly currentItemsFirst: number;
14
- readonly currentItemsLast: number;
13
+ readonly currentItemsFrom: number;
14
+ readonly currentItemsTo: number;
15
15
  readonly totalItems: number;
16
16
  readonly totalPages: number;
17
17
  readonly page: number;
@@ -1,12 +1,16 @@
1
1
  import { ControlValueAccessor } from '@angular/forms';
2
- import { _FocusableComponentBase } from './focusable-component';
2
+ import { _FocusableComponentBase, _FocusableComponentDefaults } from './focusable-component';
3
3
  import * as i0 from "@angular/core";
4
+ export interface _NgModelComponentDefaults extends _FocusableComponentDefaults {
5
+ }
6
+ export declare const _ngModelComponentDefaults: _NgModelComponentDefaults;
4
7
  /**
5
- * Common code for components, which implement the ControlValueAccessor.
8
+ * Common code for components which implement the ControlValueAccessor.
6
9
  *
7
10
  * **Warning**: `writeValue` function should be implemented on the child component!
8
11
  */
9
12
  export declare abstract class _NgModelComponentBase extends _FocusableComponentBase implements ControlValueAccessor {
13
+ protected readonly _DEFAULTS: _NgModelComponentDefaults;
10
14
  protected _onChangeRegistered: (_: any) => void;
11
15
  protected _onTouchedRegistered: () => void;
12
16
  /**
@@ -1,30 +1,35 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
1
  import { ControlValueAccessor } from '@angular/forms';
3
2
  import { ArdOptionSimple, CompareWithFn, OptionContext } from '../types/item-storage.types';
4
3
  import { Nullable } from '../types/utility.types';
5
4
  import { SimpleItemStorage, SimpleItemStorageHost } from './item-storages/simple-item-storage';
6
- import { _NgModelComponentBase } from './ngmodel-component';
5
+ import { _NgModelComponentBase, _NgModelComponentDefaults } from './ngmodel-component';
7
6
  import * as i0 from "@angular/core";
7
+ export interface _SelectableListComponentDefaults extends _NgModelComponentDefaults {
8
+ valueFrom: string;
9
+ labelFrom: string;
10
+ disabledFrom: string;
11
+ compareWith: Nullable<CompareWithFn>;
12
+ multiselectable: boolean;
13
+ requireValue: boolean;
14
+ invertDisabled: boolean;
15
+ maxSelectedItems: Nullable<number>;
16
+ }
17
+ export declare const _selectableListComponentDefaults: _SelectableListComponentDefaults;
8
18
  export declare abstract class _SelectableListComponentBase extends _NgModelComponentBase implements ControlValueAccessor, SimpleItemStorageHost {
9
- private _cd;
19
+ protected readonly _DEFAULTS: _SelectableListComponentDefaults;
10
20
  readonly itemStorage: SimpleItemStorage;
11
21
  readonly htmlId: `${string}-${string}-${string}-${string}-${string}`;
12
22
  readonly element: HTMLElement;
13
- readonly DEFAULTS: {
14
- valueFrom: string;
15
- labelFrom: string;
16
- disabledFrom: string;
17
- };
23
+ readonly DEFAULTS: _SelectableListComponentDefaults;
18
24
  abstract readonly _componentId: string;
19
25
  abstract readonly _componentName: string;
20
- constructor(_cd: ChangeDetectorRef);
21
- readonly valueFrom: import("@angular/core").InputSignal<Nullable<string>>;
22
- readonly labelFrom: import("@angular/core").InputSignal<Nullable<string>>;
23
- readonly disabledFrom: import("@angular/core").InputSignal<Nullable<string>>;
26
+ private readonly _cd;
27
+ readonly valueFrom: import("@angular/core").InputSignal<string>;
28
+ readonly labelFrom: import("@angular/core").InputSignal<string>;
29
+ readonly disabledFrom: import("@angular/core").InputSignal<string>;
24
30
  readonly compareWith: import("@angular/core").InputSignal<Nullable<CompareWithFn>>;
25
31
  get items(): any[];
26
32
  set items(value: any);
27
- private _printPrimitiveWarnings;
28
33
  readonly multiselectable: import("@angular/core").InputSignalWithTransform<boolean, any>;
29
34
  get _multiselectableHostAttribute(): boolean;
30
35
  readonly singleselectable: import("@angular/core").Signal<boolean>;
@@ -0,0 +1,13 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { ComponentColor } from './../types/colors.types';
3
+ import { FormElementVariant } from './../types/theming.types';
4
+ import { BadgePosition, BadgeSize } from './badge.types';
5
+ export interface ArdBadgeDefaults {
6
+ color: ComponentColor;
7
+ variant: FormElementVariant;
8
+ size: BadgeSize;
9
+ position: BadgePosition;
10
+ overlap: boolean;
11
+ }
12
+ export declare const ARD_BADGE_DEFAULTS: InjectionToken<ArdBadgeDefaults>;
13
+ export declare function provideBadgeDefaults(config: Partial<ArdBadgeDefaults>): Provider;
@@ -1,12 +1,12 @@
1
- import { AfterViewInit, ElementRef, OnChanges, OnDestroy, Renderer2 } from '@angular/core';
1
+ import { AfterViewInit, OnChanges, OnDestroy } from '@angular/core';
2
2
  import { ComponentColor } from '../types/colors.types';
3
3
  import { FormElementVariant } from '../types/theming.types';
4
4
  import { BadgePosition, BadgeSize } from './badge.types';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ArdiumBadgeDirective implements OnChanges, AfterViewInit, OnDestroy {
7
- private _elRef;
8
- private _renderer;
9
- constructor(_elRef: ElementRef, _renderer: Renderer2);
7
+ private readonly _elRef;
8
+ private readonly _renderer;
9
+ private readonly _DEFAULTS;
10
10
  readonly text: import("@angular/core").InputSignal<string>;
11
11
  readonly color: import("@angular/core").InputSignal<ComponentColor>;
12
12
  readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
@@ -1,3 +1,4 @@
1
- export * from './badge.module';
1
+ export * from './badge.defaults';
2
2
  export * from './badge.directive';
3
+ export * from './badge.module';
3
4
  export * from './badge.types';
@@ -1,15 +1,20 @@
1
1
  import { Signal } from '@angular/core';
2
2
  import { _FocusableComponentBase } from '../_internal/focusable-component';
3
+ import { ButtonType } from '../types/button.types';
3
4
  import { ComponentColor } from '../types/colors.types';
5
+ import { _ButtonBaseDefaults } from './_button-base.defaults';
4
6
  import { ButtonAppearance } from './general-button.types';
5
7
  import * as i0 from "@angular/core";
6
8
  export declare abstract class _ButtonBase extends _FocusableComponentBase {
7
9
  readonly wrapperClasses: import("@angular/core").InputSignal<string>;
10
+ protected readonly _DEFAULTS: _ButtonBaseDefaults;
11
+ constructor(defaults: _ButtonBaseDefaults);
12
+ readonly type: import("@angular/core").InputSignal<ButtonType>;
8
13
  readonly appearance: import("@angular/core").InputSignal<ButtonAppearance>;
9
14
  readonly color: import("@angular/core").InputSignal<ComponentColor>;
10
15
  readonly lightColoring: import("@angular/core").InputSignalWithTransform<boolean, any>;
11
16
  readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
12
17
  abstract readonly ngClasses: Signal<string>;
13
18
  static ɵfac: i0.ɵɵFactoryDeclaration<_ButtonBase, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<_ButtonBase, never, never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "lightColoring": { "alias": "lightColoring"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_ButtonBase, never, never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "lightColoring": { "alias": "lightColoring"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
15
20
  }
@@ -0,0 +1,15 @@
1
+ import { _FocusableComponentDefaults } from '../_internal/focusable-component';
2
+ import { ButtonType } from '../types/button.types';
3
+ import { ComponentColor } from './../types/colors.types';
4
+ import { ButtonAppearance } from './general-button.types';
5
+ export interface _SimpleButtonDefaults extends _FocusableComponentDefaults {
6
+ color: ComponentColor;
7
+ lightColoring: boolean;
8
+ compact: boolean;
9
+ type: ButtonType;
10
+ }
11
+ export declare const _simpleButtonDefaults: _SimpleButtonDefaults;
12
+ export interface _ButtonBaseDefaults extends _SimpleButtonDefaults {
13
+ appearance: ButtonAppearance;
14
+ }
15
+ export declare const _buttonBaseDefaults: _ButtonBaseDefaults;
@@ -1,15 +1,16 @@
1
1
  import { SimpleOneAxisAlignment } from '../../types/alignment.types';
2
- import { ButtonType } from '../../types/button.types';
3
2
  import { _ButtonBase } from '../_button-base';
4
3
  import { ButtonVariant } from '../general-button.types';
4
+ import { ArdButtonDefaults } from './button.defaults';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ArdiumButtonComponent extends _ButtonBase {
7
+ protected readonly _DEFAULTS: ArdButtonDefaults;
7
8
  readonly icon: import("@angular/core").InputSignal<string>;
8
- readonly type: import("@angular/core").InputSignal<ButtonType>;
9
+ constructor(defaults: ArdButtonDefaults);
9
10
  readonly variant: import("@angular/core").InputSignal<ButtonVariant>;
10
11
  readonly alignIcon: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
11
12
  readonly vertical: import("@angular/core").InputSignalWithTransform<boolean, any>;
12
13
  readonly ngClasses: import("@angular/core").Signal<string>;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumButtonComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumButtonComponent, "ard-button", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "alignIcon": { "alias": "alignIcon"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumButtonComponent, "ard-button", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "alignIcon": { "alias": "alignIcon"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
15
16
  }
@@ -0,0 +1,11 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _ButtonBaseDefaults } from '../_button-base.defaults';
3
+ import { ButtonVariant } from '../general-button.types';
4
+ import { SimpleOneAxisAlignment } from './../../types/alignment.types';
5
+ export interface ArdButtonDefaults extends _ButtonBaseDefaults {
6
+ variant: ButtonVariant;
7
+ alignIcon: SimpleOneAxisAlignment;
8
+ vertical: boolean;
9
+ }
10
+ export declare const ARD_BUTTON_DEFAULTS: InjectionToken<ArdButtonDefaults>;
11
+ export declare function provideButtonDefaults(config: Partial<ArdButtonDefaults>): Provider;
@@ -1,2 +1,3 @@
1
- export * from './button.module';
2
1
  export * from './button.component';
2
+ export * from './button.defaults';
3
+ export * from './button.module';
@@ -1,12 +1,11 @@
1
- import { ButtonType } from '../../types/button.types';
2
1
  import { _ButtonBase } from '../_button-base';
3
- import { FABSize } from '../general-button.types';
2
+ import { FabSize } from '../general-button.types';
3
+ import { ArdFabDefaults } from './fab.defaults';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ArdiumFabComponent extends _ButtonBase {
6
- readonly type: import("@angular/core").InputSignal<ButtonType>;
7
- readonly size: import("@angular/core").InputSignal<FABSize>;
8
- readonly extended: import("@angular/core").InputSignalWithTransform<boolean, any>;
6
+ constructor(defaults: ArdFabDefaults);
7
+ readonly size: import("@angular/core").InputSignal<FabSize>;
9
8
  readonly ngClasses: import("@angular/core").Signal<string>;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFabComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFabComponent, "ard-fab", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFabComponent, "ard-fab", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
12
11
  }
@@ -0,0 +1,8 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _ButtonBaseDefaults } from '../_button-base.defaults';
3
+ import { FabSize } from '../general-button.types';
4
+ export interface ArdFabDefaults extends _ButtonBaseDefaults {
5
+ size: FabSize;
6
+ }
7
+ export declare const ARD_FAB_DEFAULTS: InjectionToken<ArdFabDefaults>;
8
+ export declare function provideFabDefaults(config: Partial<ArdFabDefaults>): Provider;
@@ -1,2 +1,3 @@
1
- export * from './fab.module';
2
1
  export * from './fab.component';
2
+ export * from './fab.defaults';
3
+ export * from './fab.module';
@@ -50,8 +50,8 @@ export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
50
50
  /**
51
51
  * **F**loating **A**ction **B**utton size.
52
52
  */
53
- export declare const FABSize: {
53
+ export declare const FabSize: {
54
54
  readonly Standard: "standard";
55
55
  readonly Small: "small";
56
56
  };
57
- export type FABSize = (typeof FABSize)[keyof typeof FABSize];
57
+ export type FabSize = (typeof FabSize)[keyof typeof FabSize];
@@ -1,8 +1,11 @@
1
1
  import { _FocusableComponentBase } from '../../_internal/focusable-component';
2
2
  import { ButtonType } from '../../types/button.types';
3
3
  import { ComponentColor } from '../../types/colors.types';
4
+ import { ArdIconButtonDefaults } from './icon-button.defaults';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class ArdiumIconButtonComponent extends _FocusableComponentBase {
7
+ protected readonly _DEFAULTS: ArdIconButtonDefaults;
8
+ constructor(defaults: ArdIconButtonDefaults);
6
9
  readonly wrapperClasses: import("@angular/core").InputSignal<string>;
7
10
  readonly type: import("@angular/core").InputSignal<ButtonType>;
8
11
  readonly color: import("@angular/core").InputSignal<ComponentColor>;
@@ -0,0 +1,6 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _SimpleButtonDefaults } from '../_button-base.defaults';
3
+ export interface ArdIconButtonDefaults extends _SimpleButtonDefaults {
4
+ }
5
+ export declare const ARD_ICON_BUTTON_DEFAULTS: InjectionToken<ArdIconButtonDefaults>;
6
+ export declare function provideIconButtonDefaults(config: Partial<ArdIconButtonDefaults>): Provider;
@@ -1,2 +1,3 @@
1
- export * from './icon-button.module';
2
1
  export * from './icon-button.component';
2
+ export * from './icon-button.defaults';
3
+ export * from './icon-button.module';
@@ -31,9 +31,9 @@ export declare class ArdiumCardImageDirective {
31
31
  static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardImageDirective, "[ard-card-image]", never, {}, {}, never, never, false, never>;
32
32
  }
33
33
  export declare class ArdiumCardActionButtonsDirective {
34
+ private readonly _DEFAULTS;
34
35
  readonly align: import("@angular/core").InputSignal<OneAxisAlignment>;
35
36
  readonly alignClass: import("@angular/core").Signal<string>;
36
- get _alignClassHostAttribute(): string;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCardActionButtonsDirective, never>;
38
38
  static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumCardActionButtonsDirective, "ard-card-action-buttons, [ard-card-action-buttons]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
39
39
  }
@@ -1,6 +1,7 @@
1
1
  import { CardAppearance, CardVariant } from './card.types';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class ArdiumCardDirective {
4
+ private readonly _DEFAULTS;
4
5
  readonly appearance: import("@angular/core").InputSignal<CardAppearance>;
5
6
  readonly variant: import("@angular/core").InputSignal<CardVariant>;
6
7
  readonly ngClasses: import("@angular/core").Signal<string>;
@@ -0,0 +1,10 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { OneAxisAlignment } from './../types/alignment.types';
3
+ import { CardAppearance, CardVariant } from './card.types';
4
+ export interface ArdCardDefaults {
5
+ appearance: CardAppearance;
6
+ variant: CardVariant;
7
+ actionButtonsAlign: OneAxisAlignment;
8
+ }
9
+ export declare const ARD_CARD_DEFAULTS: InjectionToken<ArdCardDefaults>;
10
+ export declare function provideCardDefaults(config: Partial<ArdCardDefaults>): Provider;
@@ -1,4 +1,5 @@
1
- export * from './card.module';
1
+ export * from './card.children';
2
2
  export * from './card.component';
3
+ export * from './card.defaults';
4
+ export * from './card.module';
3
5
  export * from './card.types';
4
- export * from './card.children';
@@ -1,10 +1,12 @@
1
1
  import { ControlValueAccessor } from '@angular/forms';
2
2
  import { SimpleComponentColor } from '../types/colors.types';
3
3
  import { _BooleanComponentBase } from './../_internal/boolean-component';
4
+ import { ArdCheckboxDefaults } from './checkbox.defaults';
4
5
  import { CheckboxState } from './checkbox.types';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ArdiumCheckboxComponent extends _BooleanComponentBase implements ControlValueAccessor {
7
- readonly wrapperClasses: import("@angular/core").InputSignal<string>;
8
+ protected readonly _DEFAULTS: ArdCheckboxDefaults;
9
+ constructor(defaults: ArdCheckboxDefaults);
8
10
  readonly htmlId: import("@angular/core").InputSignal<string>;
9
11
  readonly color: import("@angular/core").InputSignal<SimpleComponentColor>;
10
12
  readonly unselectedColor: import("@angular/core").InputSignal<SimpleComponentColor>;
@@ -13,5 +15,5 @@ export declare class ArdiumCheckboxComponent extends _BooleanComponentBase imple
13
15
  readonly state: import("@angular/core").ModelSignal<CheckboxState>;
14
16
  toggleState(): void;
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumCheckboxComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCheckboxComponent, "ard-checkbox", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "htmlId": { "alias": "htmlId"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "unselectedColor": { "alias": "unselectedColor"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumCheckboxComponent, "ard-checkbox", never, { "htmlId": { "alias": "htmlId"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "unselectedColor": { "alias": "unselectedColor"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, false, never>;
17
19
  }
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _BooleanComponentDefaults } from '../_internal/boolean-component';
3
+ import { SimpleComponentColor } from './../types/colors.types';
4
+ export interface ArdCheckboxDefaults extends _BooleanComponentDefaults {
5
+ color: SimpleComponentColor;
6
+ unselectedColor: SimpleComponentColor;
7
+ }
8
+ export declare const ARD_CHECKBOX_DEFAULTS: InjectionToken<ArdCheckboxDefaults>;
9
+ export declare function provideCheckboxDefaults(config: Partial<ArdCheckboxDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './checkbox.module';
2
1
  export * from './checkbox.component';
2
+ export * from './checkbox.defaults';
3
+ export * from './checkbox.module';
3
4
  export * from './checkbox.types';
@@ -4,16 +4,15 @@ import { _NgModelComponentBase } from '../_internal/ngmodel-component';
4
4
  import { ComponentColor } from '../types/colors.types';
5
5
  import { ArdOptionSimple, CompareWithFn } from '../types/item-storage.types';
6
6
  import { Nullable } from '../types/utility.types';
7
+ import { ArdCheckboxListDefaults } from './checkbox-list.defaults';
7
8
  import { CheckboxListAlignType } from './checkbox-list.types';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class ArdiumCheckboxListComponent extends _NgModelComponentBase implements SimpleItemStorageHost, AfterViewInit {
11
+ protected readonly _DEFAULTS: ArdCheckboxListDefaults;
12
+ constructor(defaults: ArdCheckboxListDefaults);
10
13
  readonly htmlId: import("@angular/core").InputSignal<string>;
11
14
  get _htmlIdHostAttribute(): string;
12
- readonly DEFAULTS: {
13
- valueFrom: string;
14
- labelFrom: string;
15
- disabledFrom: string;
16
- };
15
+ readonly DEFAULTS: ArdCheckboxListDefaults;
17
16
  readonly multiselectable: import("@angular/core").WritableSignal<true>;
18
17
  readonly isValueRequired: import("@angular/core").WritableSignal<false>;
19
18
  readonly _componentId = "300";
@@ -0,0 +1,19 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _NgModelComponentDefaults } from '../_internal/ngmodel-component';
3
+ import { CompareWithFn } from '../types/item-storage.types';
4
+ import { Nullable } from '../types/utility.types';
5
+ import { ComponentColor } from './../types/colors.types';
6
+ import { CheckboxListAlignType } from './checkbox-list.types';
7
+ export interface ArdCheckboxListDefaults extends _NgModelComponentDefaults {
8
+ valueFrom: string;
9
+ labelFrom: string;
10
+ disabledFrom: string;
11
+ compareWith: Nullable<CompareWithFn>;
12
+ invertDisabled: boolean;
13
+ maxSelectedItems: number;
14
+ color: ComponentColor;
15
+ align: CheckboxListAlignType;
16
+ compact: boolean;
17
+ }
18
+ export declare const ARD_CHECKBOX_LIST_DEFAULTS: InjectionToken<ArdCheckboxListDefaults>;
19
+ export declare function provideCheckboxListDefaults(config: Partial<ArdCheckboxListDefaults>): Provider;
@@ -1,3 +1,4 @@
1
- export * from './checkbox-list.module';
2
1
  export * from './checkbox-list.component';
2
+ export * from './checkbox-list.defaults';
3
+ export * from './checkbox-list.module';
3
4
  export * from './checkbox-list.types';
@@ -2,8 +2,11 @@ import { SimpleOneAxisAlignment } from '../types/alignment.types';
2
2
  import { ComponentColor } from '../types/colors.types';
3
3
  import { DecorationElementAppearance, FormElementVariant } from '../types/theming.types';
4
4
  import { _DisablableComponentBase } from './../_internal/disablable-component';
5
+ import { ArdChipDefaults } from './chip.defaults';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ArdiumChipComponent extends _DisablableComponentBase {
8
+ protected readonly _DEFAULTS: ArdChipDefaults;
9
+ constructor(defaults: ArdChipDefaults);
7
10
  readonly contentAlignment: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
8
11
  readonly appearance: import("@angular/core").InputSignal<DecorationElementAppearance>;
9
12
  readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
@@ -0,0 +1,15 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _DisablableComponentDefaults } from '../_internal/disablable-component';
3
+ import { SimpleOneAxisAlignment } from '../types/alignment.types';
4
+ import { ComponentColor } from '../types/colors.types';
5
+ import { DecorationElementAppearance, FormElementVariant } from '../types/theming.types';
6
+ export interface ArdChipDefaults extends _DisablableComponentDefaults {
7
+ contentAlignment: SimpleOneAxisAlignment;
8
+ appearance: DecorationElementAppearance;
9
+ variant: FormElementVariant;
10
+ color: ComponentColor;
11
+ compact: boolean;
12
+ }
13
+ export declare const _chipDefaults: ArdChipDefaults;
14
+ export declare const ARD_CHIP_DEFAULTS: InjectionToken<ArdChipDefaults>;
15
+ export declare function provideChipDefaults(config: Partial<ArdChipDefaults>): Provider;
@@ -2,11 +2,11 @@ import { _FocusableComponentBase } from '../../_internal/focusable-component';
2
2
  import { SimpleOneAxisAlignment } from '../../types/alignment.types';
3
3
  import { ComponentColor } from '../../types/colors.types';
4
4
  import { DecorationElementAppearance, FormElementVariant } from '../../types/theming.types';
5
+ import { ArdDeletableChipDefaults } from './deletable-chip.defaults';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ArdiumDeletableChipComponent extends _FocusableComponentBase {
7
- readonly DEFAULTS: {
8
- deleteButtonTitle: string;
9
- };
8
+ protected readonly _DEFAULTS: ArdDeletableChipDefaults;
9
+ constructor(defaults: ArdDeletableChipDefaults);
10
10
  readonly deleteButtonTitle: import("@angular/core").InputSignal<string>;
11
11
  readonly contentAlignment: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
12
12
  readonly appearance: import("@angular/core").InputSignal<DecorationElementAppearance>;
@@ -0,0 +1,8 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _FocusableComponentDefaults } from '../../_internal/focusable-component';
3
+ import { ArdChipDefaults } from '../chip.defaults';
4
+ export interface ArdDeletableChipDefaults extends ArdChipDefaults, _FocusableComponentDefaults {
5
+ deleteButtonTitle: string;
6
+ }
7
+ export declare const ARD_DELETABLE_CHIP_DEFAULTS: InjectionToken<ArdDeletableChipDefaults>;
8
+ export declare function provideDeletableChipDefaults(config: Partial<ArdDeletableChipDefaults>): Provider;