@ardium-ui/ui 1.0.2 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/esm2022/lib/_internal/boolean-component.mjs +28 -42
  2. package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +5 -5
  3. package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +4 -4
  4. package/esm2022/lib/_internal/disablable-component.mjs +24 -22
  5. package/esm2022/lib/_internal/focusable-component.mjs +12 -25
  6. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +172 -169
  7. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +115 -120
  8. package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +56 -53
  9. package/esm2022/lib/_internal/models/pagination.model.mjs +72 -106
  10. package/esm2022/lib/_internal/ngmodel-component.mjs +5 -5
  11. package/esm2022/lib/_internal/queue.mjs +1 -1
  12. package/esm2022/lib/_internal/selectable-list-component.mjs +74 -98
  13. package/esm2022/lib/badge/badge.directive.mjs +70 -99
  14. package/esm2022/lib/badge/badge.module.mjs +4 -4
  15. package/esm2022/lib/badge/index.mjs +4 -0
  16. package/esm2022/lib/buttons/_button-base.mjs +13 -35
  17. package/esm2022/lib/buttons/button/button.component.mjs +22 -37
  18. package/esm2022/lib/buttons/button/button.module.mjs +4 -4
  19. package/esm2022/lib/buttons/button/index.mjs +3 -0
  20. package/esm2022/lib/buttons/fab/fab.component.mjs +16 -28
  21. package/esm2022/lib/buttons/fab/fab.module.mjs +4 -4
  22. package/esm2022/lib/buttons/fab/index.mjs +3 -0
  23. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +17 -25
  24. package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +4 -4
  25. package/esm2022/lib/buttons/icon-button/index.mjs +3 -0
  26. package/esm2022/lib/card/card.children.mjs +32 -33
  27. package/esm2022/lib/card/card.component.mjs +14 -17
  28. package/esm2022/lib/card/card.module.mjs +4 -4
  29. package/esm2022/lib/card/index.mjs +5 -0
  30. package/esm2022/lib/checkbox/checkbox.component.mjs +33 -46
  31. package/esm2022/lib/checkbox/checkbox.module.mjs +4 -4
  32. package/esm2022/lib/checkbox/index.mjs +4 -0
  33. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +31 -57
  34. package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +4 -4
  35. package/esm2022/lib/checkbox-list/index.mjs +4 -0
  36. package/esm2022/lib/chip/chip.component.mjs +22 -42
  37. package/esm2022/lib/chip/chip.module.mjs +4 -4
  38. package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +28 -53
  39. package/esm2022/lib/chip/index.mjs +5 -0
  40. package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +25 -49
  41. package/esm2022/lib/color/color-display/color-display.component.mjs +15 -32
  42. package/esm2022/lib/color/color-display/color-display.module.mjs +4 -4
  43. package/esm2022/lib/color/color-display/index.mjs +4 -0
  44. package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
  45. package/esm2022/lib/dialog/dialog.component.mjs +54 -130
  46. package/esm2022/lib/dialog/dialog.directives.mjs +3 -3
  47. package/esm2022/lib/dialog/dialog.module.mjs +4 -4
  48. package/esm2022/lib/dialog/dialog.types.mjs +1 -1
  49. package/esm2022/lib/dialog/index.mjs +5 -0
  50. package/esm2022/lib/divider/divider.component.mjs +9 -14
  51. package/esm2022/lib/divider/divider.module.mjs +4 -4
  52. package/esm2022/lib/divider/index.mjs +3 -0
  53. package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +40 -59
  54. package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +4 -4
  55. package/esm2022/lib/dropdown-panel/index.mjs +4 -0
  56. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +12 -17
  57. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +9 -9
  58. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +6 -6
  59. package/esm2022/lib/file-inputs/file-drop-area/index.mjs +4 -0
  60. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +24 -50
  61. package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +18 -18
  62. package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +4 -4
  63. package/esm2022/lib/file-inputs/file-input/index.mjs +4 -0
  64. package/esm2022/lib/file-inputs/file-input-base.mjs +38 -72
  65. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +20 -47
  66. package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +6 -6
  67. package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +4 -4
  68. package/esm2022/lib/form-field-frame/index.mjs +4 -0
  69. package/esm2022/lib/icon/icon.component.mjs +32 -67
  70. package/esm2022/lib/icon/icon.module.mjs +4 -4
  71. package/esm2022/lib/icon/icon.pipe.mjs +3 -3
  72. package/esm2022/lib/icon/index.mjs +4 -0
  73. package/esm2022/lib/inputs/color-input/color-input.directives.mjs +24 -24
  74. package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
  75. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +65 -115
  76. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +83 -92
  77. package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +4 -4
  78. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
  79. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  80. package/esm2022/lib/inputs/digit-input/index.mjs +4 -0
  81. package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +59 -122
  82. package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +9 -9
  83. package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +24 -8
  84. package/esm2022/lib/inputs/hex-input/index.mjs +4 -0
  85. package/esm2022/lib/inputs/hex-input.model.mjs +24 -33
  86. package/esm2022/lib/inputs/input/index.mjs +4 -0
  87. package/esm2022/lib/inputs/input/input.component.mjs +95 -154
  88. package/esm2022/lib/inputs/input/input.directives.mjs +16 -16
  89. package/esm2022/lib/inputs/input/input.module.mjs +21 -7
  90. package/esm2022/lib/inputs/input-transformers.mjs +6 -6
  91. package/esm2022/lib/inputs/input-utils.mjs +75 -94
  92. package/esm2022/lib/inputs/number-input/index.mjs +4 -0
  93. package/esm2022/lib/inputs/number-input/number-input.component.mjs +106 -170
  94. package/esm2022/lib/inputs/number-input/number-input.directives.mjs +3 -3
  95. package/esm2022/lib/inputs/number-input/number-input.module.mjs +4 -4
  96. package/esm2022/lib/inputs/password-input/index.mjs +5 -0
  97. package/esm2022/lib/inputs/password-input/password-input.component.mjs +74 -144
  98. package/esm2022/lib/inputs/password-input/password-input.directives.mjs +12 -12
  99. package/esm2022/lib/inputs/password-input/password-input.module.mjs +4 -4
  100. package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
  101. package/esm2022/lib/inputs/simple-input/index.mjs +4 -0
  102. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +57 -110
  103. package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +9 -9
  104. package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +4 -4
  105. package/esm2022/lib/kbd/index.mjs +4 -0
  106. package/esm2022/lib/kbd/kbd.component.mjs +15 -29
  107. package/esm2022/lib/kbd/kbd.module.mjs +4 -4
  108. package/esm2022/lib/kbd/kbd.pipe.mjs +3 -3
  109. package/esm2022/lib/kbd-shortcut/index.mjs +3 -0
  110. package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +23 -40
  111. package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +4 -4
  112. package/esm2022/lib/modal/index.mjs +3 -0
  113. package/esm2022/lib/modal/modal.component.mjs +42 -83
  114. package/esm2022/lib/modal/modal.module.mjs +4 -4
  115. package/esm2022/lib/option/index.mjs +3 -0
  116. package/esm2022/lib/option/option.component.mjs +24 -46
  117. package/esm2022/lib/option/option.module.mjs +4 -4
  118. package/esm2022/lib/progress-bar/index.mjs +5 -0
  119. package/esm2022/lib/progress-bar/progress-bar.component.mjs +43 -81
  120. package/esm2022/lib/progress-bar/progress-bar.directive.mjs +3 -3
  121. package/esm2022/lib/progress-bar/progress-bar.module.mjs +4 -4
  122. package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
  123. package/esm2022/lib/progress-circle/index.mjs +5 -0
  124. package/esm2022/lib/progress-circle/progress-circle.component.mjs +33 -78
  125. package/esm2022/lib/progress-circle/progress-circle.directive.mjs +3 -3
  126. package/esm2022/lib/progress-circle/progress-circle.module.mjs +4 -4
  127. package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
  128. package/esm2022/lib/radio/index.mjs +4 -0
  129. package/esm2022/lib/radio/radio/radio.component.mjs +16 -25
  130. package/esm2022/lib/radio/radio-group.component.mjs +71 -85
  131. package/esm2022/lib/radio/radio.module.mjs +4 -4
  132. package/esm2022/lib/search-functions.mjs +7 -7
  133. package/esm2022/lib/segment/index.mjs +5 -0
  134. package/esm2022/lib/segment/segment.component.mjs +70 -137
  135. package/esm2022/lib/segment/segment.directives.mjs +4 -4
  136. package/esm2022/lib/segment/segment.module.mjs +4 -4
  137. package/esm2022/lib/select/index.mjs +5 -0
  138. package/esm2022/lib/select/select.component.mjs +348 -655
  139. package/esm2022/lib/select/select.directive.mjs +46 -46
  140. package/esm2022/lib/select/select.module.mjs +4 -4
  141. package/esm2022/lib/select/select.types.mjs +1 -1
  142. package/esm2022/lib/slide-toggle/index.mjs +4 -0
  143. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +19 -24
  144. package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +4 -4
  145. package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +5 -0
  146. package/esm2022/lib/slider/abstract-slider.mjs +111 -200
  147. package/esm2022/lib/slider/index.mjs +7 -0
  148. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +26 -23
  149. package/esm2022/lib/slider/range-slider/range-slider.module.mjs +4 -4
  150. package/esm2022/lib/slider/slider.component.mjs +13 -10
  151. package/esm2022/lib/slider/slider.directive.mjs +3 -3
  152. package/esm2022/lib/slider/slider.module.mjs +7 -7
  153. package/esm2022/lib/slider/slider.types.mjs +1 -1
  154. package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
  155. package/esm2022/lib/snackbar/snackbar.component.mjs +8 -8
  156. package/esm2022/lib/snackbar/snackbar.service.mjs +13 -12
  157. package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
  158. package/esm2022/lib/spinner/index.mjs +3 -0
  159. package/esm2022/lib/spinner/spinner.component.mjs +9 -13
  160. package/esm2022/lib/spinner/spinner.module.mjs +4 -4
  161. package/esm2022/lib/star/index.mjs +4 -0
  162. package/esm2022/lib/star/star-button/index.mjs +3 -0
  163. package/esm2022/lib/star/star-button/star-button.component.mjs +17 -26
  164. package/esm2022/lib/star/star-button/star-button.module.mjs +4 -4
  165. package/esm2022/lib/star/star-display/index.mjs +3 -0
  166. package/esm2022/lib/star/star-display/star-display.component.mjs +48 -55
  167. package/esm2022/lib/star/star-display/star-display.module.mjs +4 -4
  168. package/esm2022/lib/star/star-input/index.mjs +3 -0
  169. package/esm2022/lib/star/star-input/star-input.component.mjs +70 -106
  170. package/esm2022/lib/star/star-input/star-input.module.mjs +4 -4
  171. package/esm2022/lib/star/star.component.mjs +12 -20
  172. package/esm2022/lib/star/star.module.mjs +4 -4
  173. package/esm2022/lib/statebox/index.mjs +3 -0
  174. package/esm2022/lib/statebox/statebox.component.mjs +64 -102
  175. package/esm2022/lib/statebox/statebox.module.mjs +4 -4
  176. package/esm2022/lib/statebox/statebox.types.mjs +1 -1
  177. package/esm2022/lib/tabber/index.mjs +4 -0
  178. package/esm2022/lib/tabber/tab/tab.component.mjs +42 -0
  179. package/esm2022/lib/tabber/tabber.component.mjs +83 -0
  180. package/esm2022/lib/tabber/tabber.module.mjs +19 -0
  181. package/esm2022/lib/table/index.mjs +5 -0
  182. package/esm2022/lib/table/table-item-storage.mjs +204 -200
  183. package/esm2022/lib/table/table.component.mjs +184 -304
  184. package/esm2022/lib/table/table.directives.mjs +19 -21
  185. package/esm2022/lib/table/table.module.mjs +4 -4
  186. package/esm2022/lib/table/utils.mjs +1 -1
  187. package/esm2022/lib/table-from-csv/index.mjs +3 -0
  188. package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +85 -29
  189. package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +4 -4
  190. package/esm2022/lib/table-pagination/index.mjs +4 -0
  191. package/esm2022/lib/table-pagination/table-pagination.component.mjs +46 -114
  192. package/esm2022/lib/table-pagination/table-pagination.module.mjs +4 -4
  193. package/esm2022/lib/types/item-storage.types.mjs +1 -1
  194. package/esm2022/lib/types/utility.types.mjs +2 -2
  195. package/esm2022/public-api.mjs +58 -182
  196. package/fesm2022/ardium-ui-ui.mjs +7847 -11692
  197. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  198. package/lib/_internal/boolean-component.d.ts +8 -9
  199. package/lib/_internal/clear-button/clear-button.component.d.ts +1 -1
  200. package/lib/_internal/disablable-component.d.ts +12 -7
  201. package/lib/_internal/focusable-component.d.ts +5 -7
  202. package/lib/_internal/item-storages/dropdown-item-storage.d.ts +43 -41
  203. package/lib/_internal/item-storages/simple-item-storage.d.ts +28 -25
  204. package/lib/_internal/item-storages/simplest-item-storage.d.ts +14 -9
  205. package/lib/_internal/models/pagination.model.d.ts +38 -42
  206. package/lib/_internal/ngmodel-component.d.ts +1 -1
  207. package/lib/_internal/selectable-list-component.d.ts +30 -30
  208. package/lib/badge/badge.directive.d.ts +15 -20
  209. package/lib/badge/index.d.ts +3 -0
  210. package/lib/buttons/_button-base.d.ts +9 -12
  211. package/lib/buttons/button/button.component.d.ts +6 -8
  212. package/lib/buttons/button/index.d.ts +2 -0
  213. package/lib/buttons/fab/fab.component.d.ts +4 -6
  214. package/lib/buttons/fab/index.d.ts +2 -0
  215. package/lib/buttons/icon-button/icon-button.component.d.ts +6 -7
  216. package/lib/buttons/icon-button/index.d.ts +2 -0
  217. package/lib/card/card.children.d.ts +4 -3
  218. package/lib/card/card.component.d.ts +5 -4
  219. package/lib/card/index.d.ts +4 -0
  220. package/lib/checkbox/checkbox.component.d.ts +8 -12
  221. package/lib/checkbox/index.d.ts +3 -0
  222. package/lib/checkbox-list/checkbox-list.component.d.ts +22 -21
  223. package/lib/checkbox-list/index.d.ts +3 -0
  224. package/lib/chip/chip.component.d.ts +8 -10
  225. package/lib/chip/deletable-chip/deletable-chip.component.d.ts +11 -14
  226. package/lib/chip/index.d.ts +4 -0
  227. package/lib/chip/selectable-chip/selectable-chip.component.d.ts +10 -12
  228. package/lib/color/color-display/color-display.component.d.ts +6 -9
  229. package/lib/color/color-display/index.d.ts +3 -0
  230. package/lib/color/color-picker/color-picker.types.d.ts +4 -4
  231. package/lib/dialog/dialog.component.d.ts +25 -35
  232. package/lib/dialog/dialog.types.d.ts +2 -2
  233. package/lib/dialog/index.d.ts +4 -0
  234. package/lib/divider/divider.component.d.ts +3 -4
  235. package/lib/divider/index.d.ts +2 -0
  236. package/lib/dropdown-panel/dropdown-panel.component.d.ts +17 -20
  237. package/lib/dropdown-panel/index.d.ts +3 -0
  238. package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +5 -4
  239. package/lib/file-inputs/file-drop-area/index.d.ts +3 -0
  240. package/lib/file-inputs/file-input/file-input.component.d.ts +13 -17
  241. package/lib/file-inputs/file-input/index.d.ts +3 -0
  242. package/lib/file-inputs/file-input-base.d.ts +13 -18
  243. package/lib/form-field-frame/form-field-frame.component.d.ts +12 -16
  244. package/lib/form-field-frame/index.d.ts +3 -0
  245. package/lib/icon/icon.component.d.ts +10 -19
  246. package/lib/icon/index.d.ts +3 -0
  247. package/lib/inputs/color-input/color-input.types.d.ts +2 -2
  248. package/lib/inputs/digit-input/digit-input.component.d.ts +22 -30
  249. package/lib/inputs/digit-input/digit-input.model.d.ts +8 -12
  250. package/lib/inputs/digit-input/digit-input.types.d.ts +4 -4
  251. package/lib/inputs/digit-input/digit-input.utils.d.ts +4 -5
  252. package/lib/inputs/digit-input/index.d.ts +3 -0
  253. package/lib/inputs/hex-input/hex-input.component.d.ts +32 -38
  254. package/lib/inputs/hex-input/index.d.ts +3 -0
  255. package/lib/inputs/hex-input.model.d.ts +10 -11
  256. package/lib/inputs/input/index.d.ts +3 -0
  257. package/lib/inputs/input/input.component.d.ts +34 -40
  258. package/lib/inputs/input/input.directives.d.ts +3 -3
  259. package/lib/inputs/input-utils.d.ts +24 -27
  260. package/lib/inputs/number-input/index.d.ts +3 -0
  261. package/lib/inputs/number-input/number-input.component.d.ts +38 -48
  262. package/lib/inputs/password-input/index.d.ts +4 -0
  263. package/lib/inputs/password-input/password-input.component.d.ts +28 -40
  264. package/lib/inputs/password-input/password-input.types.d.ts +2 -2
  265. package/lib/inputs/simple-input/index.d.ts +3 -0
  266. package/lib/inputs/simple-input/simple-input.component.d.ts +30 -35
  267. package/lib/kbd/index.d.ts +3 -0
  268. package/lib/kbd/kbd.component.d.ts +6 -8
  269. package/lib/kbd-shortcut/index.d.ts +2 -0
  270. package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +7 -10
  271. package/lib/modal/index.d.ts +2 -0
  272. package/lib/modal/modal.component.d.ts +22 -30
  273. package/lib/option/index.d.ts +2 -0
  274. package/lib/option/option.component.d.ts +11 -16
  275. package/lib/progress-bar/index.d.ts +4 -0
  276. package/lib/progress-bar/progress-bar.component.d.ts +14 -20
  277. package/lib/progress-bar/progress-bar.types.d.ts +2 -2
  278. package/lib/progress-circle/index.d.ts +4 -0
  279. package/lib/progress-circle/progress-circle.component.d.ts +12 -20
  280. package/lib/progress-circle/progress-circle.types.d.ts +2 -2
  281. package/lib/radio/index.d.ts +3 -0
  282. package/lib/radio/radio/radio.component.d.ts +7 -8
  283. package/lib/radio/radio-group.component.d.ts +13 -16
  284. package/lib/segment/index.d.ts +4 -0
  285. package/lib/segment/segment.component.d.ts +22 -34
  286. package/lib/segment/segment.directives.d.ts +2 -3
  287. package/lib/select/index.d.ts +4 -0
  288. package/lib/select/select.component.d.ts +114 -160
  289. package/lib/select/select.directive.d.ts +3 -3
  290. package/lib/select/select.types.d.ts +2 -76
  291. package/lib/slide-toggle/index.d.ts +3 -0
  292. package/lib/slide-toggle/slide-toggle.component.d.ts +9 -7
  293. package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
  294. package/lib/slider/abstract-slider.d.ts +38 -55
  295. package/lib/slider/index.d.ts +6 -0
  296. package/lib/slider/range-slider/range-slider.component.d.ts +3 -1
  297. package/lib/slider/slider.component.d.ts +2 -0
  298. package/lib/slider/slider.types.d.ts +8 -8
  299. package/lib/snackbar/snackbar-ref.d.ts +1 -2
  300. package/lib/snackbar/snackbar.component.d.ts +3 -3
  301. package/lib/snackbar/snackbar.service.d.ts +2 -2
  302. package/lib/snackbar/snackbar.types.d.ts +4 -4
  303. package/lib/spinner/index.d.ts +2 -0
  304. package/lib/spinner/spinner.component.d.ts +3 -3
  305. package/lib/star/index.d.ts +3 -0
  306. package/lib/star/star-button/index.d.ts +2 -0
  307. package/lib/star/star-button/star-button.component.d.ts +7 -7
  308. package/lib/star/star-display/index.d.ts +2 -0
  309. package/lib/star/star-display/star-display.component.d.ts +8 -12
  310. package/lib/star/star-input/index.d.ts +2 -0
  311. package/lib/star/star-input/star-input.component.d.ts +17 -22
  312. package/lib/star/star.component.d.ts +5 -5
  313. package/lib/statebox/index.d.ts +3 -0
  314. package/lib/statebox/statebox.component.d.ts +15 -21
  315. package/lib/statebox/statebox.types.d.ts +12 -8
  316. package/lib/tabber/index.d.ts +3 -0
  317. package/lib/tabber/tab/tab.component.d.ts +18 -0
  318. package/lib/tabber/tabber.component.d.ts +25 -0
  319. package/lib/tabber/tabber.module.d.ts +9 -0
  320. package/lib/table/index.d.ts +4 -0
  321. package/lib/table/table-item-storage.d.ts +70 -58
  322. package/lib/table/table.component.d.ts +59 -78
  323. package/lib/table/table.directives.d.ts +4 -3
  324. package/lib/table-from-csv/index.d.ts +2 -0
  325. package/lib/table-from-csv/table-from-csv.component.d.ts +46 -9
  326. package/lib/table-pagination/index.d.ts +3 -0
  327. package/lib/table-pagination/table-pagination.component.d.ts +21 -30
  328. package/lib/types/item-storage.types.d.ts +19 -18
  329. package/lib/types/utility.types.d.ts +2 -1
  330. package/package.json +8 -9
  331. package/prebuilt-themes/default/badge.css +5 -5
  332. package/prebuilt-themes/default/buttons/fab.css +4 -3
  333. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  334. package/prebuilt-themes/default/card.css +7 -7
  335. package/prebuilt-themes/default/chips.css +3 -8
  336. package/prebuilt-themes/default/chips.css.map +1 -1
  337. package/prebuilt-themes/default/core.css +6 -3
  338. package/prebuilt-themes/default/core.css.map +1 -1
  339. package/prebuilt-themes/default/inputs/color-input.css +1 -1
  340. package/prebuilt-themes/default/inputs/digit-input.css +1 -1
  341. package/prebuilt-themes/default/inputs/file-input.css +139 -2
  342. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  343. package/prebuilt-themes/default/inputs/hex-input.css +2 -2
  344. package/prebuilt-themes/default/inputs/input.css +1 -1
  345. package/prebuilt-themes/default/inputs/search-bar.css +1 -1
  346. package/prebuilt-themes/default/inputs/simple-input.css +1 -1
  347. package/prebuilt-themes/default/modal.css +1 -1
  348. package/prebuilt-themes/default/segment.css +2 -2
  349. package/prebuilt-themes/default/segment.css.map +1 -1
  350. package/prebuilt-themes/default/select.css +5 -3
  351. package/prebuilt-themes/default/select.css.map +1 -1
  352. package/prebuilt-themes/default/snackbar.css +0 -1
  353. package/prebuilt-themes/default/snackbar.css.map +1 -1
  354. package/prebuilt-themes/default/tabber.css +207 -0
  355. package/prebuilt-themes/default/tabber.css.map +1 -0
  356. package/public-api.d.ts +43 -136
  357. package/themes/default/_clear-button.scss +1 -1
  358. package/themes/default/badge.scss +5 -5
  359. package/themes/default/buttons/fab.scss +5 -3
  360. package/themes/default/card.scss +7 -7
  361. package/themes/default/chips.scss +2 -8
  362. package/themes/default/core.scss +6 -3
  363. package/themes/default/inputs/digit-input.scss +1 -1
  364. package/themes/default/inputs/file-input.scss +8 -1
  365. package/themes/default/inputs/hex-input.scss +1 -1
  366. package/themes/default/modal.scss +1 -1
  367. package/themes/default/segment.scss +2 -1
  368. package/themes/default/select.scss +4 -2
  369. package/themes/default/snackbar.scss +0 -2
  370. package/themes/default/tabber.scss +86 -0
  371. package/esm2022/lib/calendar/calendar.component.mjs +0 -979
  372. package/esm2022/lib/calendar/calendar.directives.mjs +0 -107
  373. package/esm2022/lib/calendar/calendar.helpers.mjs +0 -47
  374. package/esm2022/lib/calendar/calendar.module.mjs +0 -21
  375. package/esm2022/lib/calendar/calendar.types.mjs +0 -11
  376. package/esm2022/lib/color/color-picker/color-picker.component.mjs +0 -484
  377. package/esm2022/lib/color/color-picker/color-picker.directives.mjs +0 -55
  378. package/esm2022/lib/color/color-picker/color-picker.module.mjs +0 -43
  379. package/esm2022/lib/inputs/color-input/color-input.component.mjs +0 -421
  380. package/esm2022/lib/inputs/color-input/color-input.module.mjs +0 -85
  381. package/lib/calendar/calendar.component.d.ts +0 -155
  382. package/lib/calendar/calendar.directives.d.ts +0 -51
  383. package/lib/calendar/calendar.helpers.d.ts +0 -15
  384. package/lib/calendar/calendar.module.d.ts +0 -11
  385. package/lib/calendar/calendar.types.d.ts +0 -80
  386. package/lib/color/color-picker/color-picker.component.d.ts +0 -125
  387. package/lib/color/color-picker/color-picker.directives.d.ts +0 -27
  388. package/lib/color/color-picker/color-picker.module.d.ts +0 -13
  389. package/lib/inputs/color-input/color-input.component.d.ts +0 -147
  390. package/lib/inputs/color-input/color-input.module.d.ts +0 -16
@@ -0,0 +1,3 @@
1
+ export * from './dropdown-panel.module';
2
+ export * from './dropdown-panel.component';
3
+ export * from './dropdown-panel.types';
@@ -5,9 +5,10 @@ import { _FileInputComponentBase } from '../file-input-base';
5
5
  import { FileInputBrowseContext, FileInputFileAmountContext, FileInputFilesContext } from '../file-input-types';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase implements OnInit {
8
- variant: FormElementVariant;
9
- color: ComponentColor;
10
- get ngClasses(): string;
8
+ readonly componentId = "010";
9
+ readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
10
+ readonly color: import("@angular/core").InputSignal<ComponentColor>;
11
+ readonly ngClasses: import("@angular/core").Signal<string>;
11
12
  protected _wasMousedownOnElement: true | null;
12
13
  onMousedown(): void;
13
14
  onMouseup(): void;
@@ -18,5 +19,5 @@ export declare class ArdiumFileDropAreaComponent extends _FileInputComponentBase
18
19
  getDragoverContext(): FileInputFileAmountContext;
19
20
  getUploadedContext(): FileInputFilesContext;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileDropAreaComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileDropAreaComponent, "ard-file-drop-area", never, { "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, ["idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileDropAreaComponent, "ard-file-drop-area", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, ["idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
22
23
  }
@@ -0,0 +1,3 @@
1
+ export * from './file-drop-area.module';
2
+ export * from './file-drop-area.component';
3
+ export * from './file-drop-area.directives';
@@ -1,4 +1,4 @@
1
- import { TemplateRef, EventEmitter } from '@angular/core';
1
+ import { TemplateRef } from '@angular/core';
2
2
  import { ComponentColor } from '../../types/colors.types';
3
3
  import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
4
4
  import { _FileInputComponentBase } from '../file-input-base';
@@ -8,26 +8,22 @@ export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
8
8
  readonly DEFAULTS: {
9
9
  clearButtonTitle: string;
10
10
  };
11
- appearance: FormElementAppearance;
12
- variant: FormElementVariant;
13
- color: ComponentColor;
14
- inputAttrs: {
15
- [key: string]: any;
16
- };
17
- placeholder: string;
11
+ readonly componentId = "011";
12
+ readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
13
+ readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
14
+ readonly color: import("@angular/core").InputSignal<ComponentColor>;
15
+ readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
16
+ readonly placeholder: import("@angular/core").InputSignal<string>;
17
+ readonly ngClasses: import("@angular/core").Signal<string>;
18
18
  placeholderTemplate?: TemplateRef<any>;
19
19
  get shouldDisplayPlaceholder(): boolean;
20
- private _clearable;
21
- get clearable(): boolean;
22
- set clearable(v: any);
23
- clearButtonTitle: string;
20
+ readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
21
+ readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
24
22
  get shouldShowClearButton(): boolean;
25
23
  onClearButtonClick(event: MouseEvent): void;
26
24
  clear(): void;
27
- clearEvent: EventEmitter<any>;
28
- private _touched;
29
- get touched(): boolean;
30
- private set touched(value);
25
+ readonly clearEvent: import("@angular/core").OutputEmitterRef<void>;
26
+ readonly touched: import("@angular/core").WritableSignal<boolean>;
31
27
  prefixTemplate?: TemplateRef<any>;
32
28
  suffixTemplate?: TemplateRef<any>;
33
29
  idleTemplate: TemplateRef<FileInputBrowseContext> | null;
@@ -37,5 +33,5 @@ export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
37
33
  getDragoverContext(): FileInputFileAmountContext;
38
34
  getUploadedContext(): FileInputFilesContext;
39
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFileInputComponent, "ard-file-input", never, { "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; }, { "clearEvent": "clear"; }, ["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": "clearEvent"; }, ["placeholderTemplate", "prefixTemplate", "suffixTemplate", "idleTemplate", "dragoverTemplate", "uploadedTemplate"], never, false, never>;
41
37
  }
@@ -0,0 +1,3 @@
1
+ export * from './file-input.module';
2
+ export * from './file-input.component';
3
+ export * from './file-input.directives';
@@ -1,36 +1,31 @@
1
- import { ElementRef, EventEmitter, OnInit, AfterViewInit } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
2
2
  import { _NgModelComponentBase } from '../_internal/ngmodel-component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare abstract class _FileInputComponentBase extends _NgModelComponentBase implements OnInit, AfterViewInit {
5
- fileInputEl: ElementRef<HTMLInputElement>;
6
- htmlId: string;
7
- name?: string;
5
+ abstract readonly componentId: string;
6
+ readonly fileInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
7
+ readonly htmlId: import("@angular/core").InputSignal<string>;
8
+ readonly name: import("@angular/core").InputSignal<string>;
8
9
  ngOnInit(): void;
9
10
  protected _wasViewInit: boolean;
10
11
  ngAfterViewInit(): void;
11
- private _compact;
12
- get compact(): boolean;
13
- set compact(v: any);
14
- private _multiple;
15
- get multiple(): boolean;
16
- set multiple(v: any);
17
- private _blockAfterUpload;
18
- get blockAfterUpload(): boolean;
19
- set blockAfterUpload(v: any);
12
+ readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
13
+ readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, any>;
14
+ readonly blockAfterUpload: import("@angular/core").InputSignalWithTransform<boolean, any>;
20
15
  get shouldBeBlocked(): boolean;
21
16
  protected _value: File[] | null;
22
17
  get value(): File[] | null;
23
18
  set value(v: File | File[] | null);
24
- valueChange: EventEmitter<File[] | null>;
25
- changeEvent: EventEmitter<File[] | null>;
26
- dragFilesEvent: EventEmitter<File[] | null>;
19
+ readonly valueChange: import("@angular/core").OutputEmitterRef<File[] | null>;
20
+ readonly changeEvent: import("@angular/core").OutputEmitterRef<File[] | null>;
21
+ readonly dragFilesEvent: import("@angular/core").OutputEmitterRef<File[] | null>;
27
22
  protected _valueBeforeInit: File[] | null;
28
23
  writeValue(v: File | File[] | null): void;
29
24
  protected _writeValue(v: File | File[] | null, emitEvents?: boolean): void;
30
25
  protected _emitChange(): void;
31
26
  openBrowseDialog(): void;
32
27
  protected _draggedFiles: number | null;
33
- currentViewState: 'idle' | 'dragover' | 'uploaded';
28
+ readonly currentViewState: import("@angular/core").WritableSignal<"idle" | "dragover" | "uploaded">;
34
29
  private _beforeDragoverState;
35
30
  onDragover(event: DragEvent): void;
36
31
  onDragleave(): void;
@@ -39,5 +34,5 @@ export declare abstract class _FileInputComponentBase extends _NgModelComponentB
39
34
  protected _countDragenterFiles(data: DataTransfer | null): number | null;
40
35
  protected _updateElementValue(): void;
41
36
  static ɵfac: i0.ɵɵFactoryDeclaration<_FileInputComponentBase, never>;
42
- static ɵdir: i0.ɵɵDirectiveDeclaration<_FileInputComponentBase, never, never, { "htmlId": { "alias": "htmlId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "blockAfterUpload": { "alias": "blockAfterUpload"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "changeEvent": "change"; "dragFilesEvent": "dragFiles"; }, never, never, false, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_FileInputComponentBase, never, never, { "htmlId": { "alias": "htmlId"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "blockAfterUpload": { "alias": "blockAfterUpload"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "changeEvent": "change"; "dragFilesEvent": "dragFiles"; }, never, never, false, never>;
43
38
  }
@@ -1,32 +1,28 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { FormElementAppearance, FormElementVariant } from '../types/theming.types';
3
2
  import { _FocusableComponentBase } from '../_internal/focusable-component';
3
+ import { FormElementAppearance, FormElementVariant } from '../types/theming.types';
4
+ import { Nullable } from '../types/utility.types';
5
+ import { ArdFormFieldPrefixTemplateDirective, ArdFormFieldSuffixTemplateDirective } from './form-field-frame.directives';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class ArdiumFormFieldFrameComponent extends _FocusableComponentBase {
6
8
  isFocused: boolean;
7
9
  /**
8
10
  * The appearance of the component, aka the styling.
9
11
  */
10
- appearance: FormElementAppearance;
12
+ readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
11
13
  /**
12
14
  * The variant of the component, aka the shape.
13
15
  */
14
- variant: FormElementVariant;
15
- /**
16
- * @private
17
- * Whether to use the compact styling or not.
18
- */
19
- private _compact;
20
- get compact(): boolean;
16
+ readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
21
17
  /**
22
18
  * Whether to use the compact styling or not.
23
19
  */
24
- set compact(v: any);
25
- get ngClasses(): string;
26
- prefixTemplateInput?: TemplateRef<any>;
27
- suffixTemplateInput?: TemplateRef<any>;
28
- prefixTemplate: TemplateRef<any> | null;
29
- suffixTemplate: TemplateRef<any> | null;
20
+ readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
21
+ readonly ngClasses: import("@angular/core").Signal<string>;
22
+ readonly prefixTemplateInput: import("@angular/core").InputSignal<Nullable<TemplateRef<any>>>;
23
+ readonly suffixTemplateInput: import("@angular/core").InputSignal<Nullable<TemplateRef<any>>>;
24
+ readonly prefixTemplate: import("@angular/core").Signal<ArdFormFieldPrefixTemplateDirective | undefined>;
25
+ readonly suffixTemplate: import("@angular/core").Signal<ArdFormFieldSuffixTemplateDirective | undefined>;
30
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFormFieldFrameComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFormFieldFrameComponent, "ard-form-field-frame", never, { "isFocused": { "alias": "isFocused"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "prefixTemplateInput": { "alias": "prefixTemplate"; "required": false; }; "suffixTemplateInput": { "alias": "suffixTemplate"; "required": false; }; }, {}, ["prefixTemplate", "suffixTemplate"], ["*"], false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFormFieldFrameComponent, "ard-form-field-frame", never, { "isFocused": { "alias": "isFocused"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "prefixTemplateInput": { "alias": "prefixTemplate"; "required": false; "isSignal": true; }; "suffixTemplateInput": { "alias": "suffixTemplate"; "required": false; "isSignal": true; }; }, {}, ["prefixTemplate", "suffixTemplate"], ["*"], false, never>;
32
28
  }
@@ -0,0 +1,3 @@
1
+ export * from './form-field-frame.module';
2
+ export * from './form-field-frame.component';
3
+ export * from './form-field-frame.directives';
@@ -1,4 +1,5 @@
1
1
  import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { Nullable } from '../types/utility.types';
2
3
  import * as i0 from "@angular/core";
3
4
  type WeightNumber = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
4
5
  type WeightString = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
@@ -7,26 +8,16 @@ type GradeString = '-25' | '0' | '200';
7
8
  type OpticalSizeNumber = 20 | 24 | 40 | 48;
8
9
  type OpticalSizeString = '20' | '24' | '40' | '48';
9
10
  export declare class ArdiumIconComponent implements AfterViewInit {
10
- ariaLabel?: string;
11
- icon?: string | null;
12
- private _filled?;
13
- get filled(): boolean | undefined;
14
- set filled(v: any);
15
- private _weight?;
16
- get weight(): WeightNumber | undefined;
17
- set weight(v: WeightNumber | WeightString | undefined);
18
- private _grade?;
19
- get grade(): GradeNumber | undefined;
20
- set grade(v: GradeNumber | GradeString | undefined);
21
- private _opticalSize?;
22
- get opticalSize(): OpticalSizeNumber | undefined;
23
- set opticalSize(v: OpticalSizeNumber | OpticalSizeString | undefined);
24
- private _isMemoUpToDate;
25
- private _fontVariationMemo;
26
- get fontVariationSettings(): string;
27
- contentWrapper: ElementRef<HTMLElement>;
11
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
12
+ readonly icon: import("@angular/core").InputSignal<Nullable<string>>;
13
+ 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>>;
17
+ readonly fontVariationSettings: import("@angular/core").Signal<string>;
18
+ readonly contentWrapper: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
28
19
  ngAfterViewInit(): void;
29
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumIconComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumIconComponent, "ard-icon", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "filled": { "alias": "filled"; "required": false; }; "weight": { "alias": "weight"; "required": false; }; "grade": { "alias": "grade"; "required": false; }; "opticalSize": { "alias": "opticalSize"; "required": false; }; }, {}, never, ["*"], false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumIconComponent, "ard-icon", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "filled": { "alias": "filled"; "required": false; "isSignal": true; }; "weight": { "alias": "weight"; "required": false; "isSignal": true; }; "grade": { "alias": "grade"; "required": false; "isSignal": true; }; "opticalSize": { "alias": "opticalSize"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
31
22
  }
32
23
  export {};
@@ -0,0 +1,3 @@
1
+ export * from './icon.module';
2
+ export * from './icon.component';
3
+ export * from './icon.pipe';
@@ -1,5 +1,5 @@
1
- export type ColorInputActionButtonsContext = {
1
+ export interface ColorInputActionButtonsContext {
2
2
  apply: () => void;
3
3
  cancel: () => void;
4
4
  reset: () => void;
5
- };
5
+ }
@@ -1,50 +1,42 @@
1
- import { EventEmitter, QueryList, AfterContentInit, ElementRef } from '@angular/core';
2
- import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
1
+ import { ElementRef } from '@angular/core';
3
2
  import { ControlValueAccessor } from '@angular/forms';
3
+ import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
4
4
  import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
5
- import { DigitInputConfigData, DigitInputModelHost } from './digit-input.utils';
6
5
  import { DigitInputConfig, DigitInputShape } from './digit-input.types';
6
+ import { DigitInputModelHost } from './digit-input.utils';
7
7
  import * as i0 from "@angular/core";
8
- export declare class ArdiumDigitInputComponent extends _NgModelComponentBase implements ControlValueAccessor, DigitInputModelHost, AfterContentInit {
8
+ export declare class ArdiumDigitInputComponent extends _NgModelComponentBase implements ControlValueAccessor, DigitInputModelHost {
9
+ readonly inputs: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
9
10
  private readonly model;
10
- appearance: FormElementAppearance;
11
- variant: FormElementVariant;
12
- shape: DigitInputShape;
13
- private _compact;
14
- get compact(): boolean;
15
- set compact(v: any);
16
- get ngClasses(): string;
17
- set config(v: DigitInputConfig);
18
- configArrayData: DigitInputConfigData[];
19
- get isConfigDefined(): boolean;
11
+ readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
12
+ readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
13
+ readonly shape: import("@angular/core").InputSignal<DigitInputShape>;
14
+ readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
15
+ readonly ngClasses: import("@angular/core").Signal<string>;
16
+ readonly config: import("@angular/core").InputSignalWithTransform<void, DigitInputConfig>;
17
+ readonly configArrayData: import("@angular/core").Signal<import("./digit-input.utils").DigitInputConfigData[]>;
18
+ private _oldConfigArrayDataLength;
19
+ readonly configArrayDataEffect: import("@angular/core").EffectRef;
20
20
  isInputEmpty(index: number): boolean;
21
21
  writeValue(v: any): void;
22
22
  private _writeValue;
23
- private _outputAsString;
24
- get outputAsString(): boolean;
25
- set outputAsString(v: any);
23
+ readonly outputAsString: import("@angular/core").InputSignalWithTransform<boolean, any>;
26
24
  set value(v: string | (string | null)[] | null);
27
- get value(): (string | null)[] | null;
28
- valueChange: EventEmitter<string | (string | null)[] | null>;
29
- get stringValue(): string;
30
- get emittableValue(): string | (string | null)[] | null;
31
- inputEvent: EventEmitter<string | (string | null)[] | null>;
32
- changeEvent: EventEmitter<string | (string | null)[] | null>;
33
- finishedValue: EventEmitter<string | (string | null)[] | null>;
34
- focusIndexEvent: EventEmitter<number>;
35
- blurIndexEvent: EventEmitter<number>;
25
+ readonly valueChange: import("@angular/core").OutputEmitterRef<string | (string | null)[] | null>;
26
+ readonly stringValue: import("@angular/core").Signal<string>;
27
+ readonly emittableValue: import("@angular/core").Signal<string | (string | null)[] | null>;
28
+ readonly finishedValue: import("@angular/core").OutputEmitterRef<string | (string | null)[] | null>;
29
+ readonly focusIndexEvent: import("@angular/core").OutputEmitterRef<number>;
30
+ readonly blurIndexEvent: import("@angular/core").OutputEmitterRef<number>;
36
31
  onPaste(event: ClipboardEvent, index: number): void;
37
32
  onInput(event: Event, index: number): void;
38
33
  private _updateSingleInputValue;
39
34
  focusByIndex(index: number): boolean;
40
35
  focusByIndex(index: number, tryFocusingNext: boolean, direction: 1 | -1): boolean;
41
- private _emitInput;
42
36
  onFocusMaster(event: FocusEvent, index: number): void;
43
37
  onBlurMaster(event: FocusEvent, index: number): void;
44
38
  protected _emitChange(): void;
45
39
  onKeydown(event: KeyboardEvent, index: number): void;
46
- inputs: QueryList<ElementRef<HTMLInputElement>>;
47
- ngAfterContentInit(): void;
48
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumDigitInputComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "config": { "alias": "config"; "required": false; }; "outputAsString": { "alias": "outputAsString"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "finishedValue": "finishedValue"; "focusIndexEvent": "focusIndex"; "blurIndexEvent": "blurIndex"; }, never, never, false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "outputAsString": { "alias": "outputAsString"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "finishedValue": "finishedValue"; "focusIndexEvent": "focusIndex"; "blurIndexEvent": "blurIndex"; }, never, never, false, never>;
50
42
  }
@@ -1,19 +1,15 @@
1
- import { DigitInputModelHost } from './digit-input.utils';
2
1
  import { DigitInputConfig } from './digit-input.types';
2
+ import { DigitInputConfigData, DigitInputModelHost } from './digit-input.utils';
3
3
  export declare class DigitInputModel {
4
4
  private _ardHost;
5
5
  constructor(_ardHost: DigitInputModelHost);
6
- private _configArray;
7
- private set configArray(value);
8
- private _configArrayNoStatics;
9
- setConfigArrayData(): void;
10
- get isConfigDefined(): boolean;
11
- private _value;
12
- private set value(value);
13
- get value(): (string | null)[] | null;
14
- private _stringValueMemo;
15
- get stringValue(): string;
16
- get isValueFull(): boolean;
6
+ private readonly _configArray;
7
+ readonly configArrayData: import("@angular/core").Signal<DigitInputConfigData[]>;
8
+ private readonly _configArrayNoStatics;
9
+ readonly isConfigDefined: import("@angular/core").Signal<boolean>;
10
+ readonly value: import("@angular/core").WritableSignal<(string | null)[] | null>;
11
+ readonly stringValue: import("@angular/core").Signal<string>;
12
+ readonly isValueFull: import("@angular/core").Signal<boolean>;
17
13
  isDefinedAtIndex(index: number): boolean;
18
14
  writeValue(v: any): boolean;
19
15
  private _writeValue;
@@ -15,13 +15,13 @@ export declare const DigitInputPrimitiveOption: {
15
15
  readonly Special: "special";
16
16
  };
17
17
  export type DigitInputPrimitiveOption = (typeof DigitInputPrimitiveOption)[keyof typeof DigitInputPrimitiveOption];
18
- export type DigitInputAcceptObject = {
18
+ export interface DigitInputAcceptObject {
19
19
  accept: string | RegExp | ((char: string, charsBefore: string) => boolean);
20
20
  transform?: TransformType | null;
21
21
  readonly?: boolean;
22
- };
23
- export type DigitInputStaticObject = {
22
+ }
23
+ export interface DigitInputStaticObject {
24
24
  static: string;
25
- };
25
+ }
26
26
  export type DigitInputOption = DigitInputAcceptObject | DigitInputStaticObject;
27
27
  export type DigitInputConfig = (DigitInputPrimitiveOption | DigitInputOption)[] | string | number;
@@ -1,13 +1,12 @@
1
- import { ElementRef, QueryList } from '@angular/core';
2
- export type DigitInputConfigData = {
1
+ import { ElementRef, Signal } from '@angular/core';
2
+ export interface DigitInputConfigData {
3
3
  type: DigitInputConfigDataType;
4
4
  char?: string;
5
5
  index?: number;
6
6
  readonly?: boolean;
7
- };
7
+ }
8
8
  export interface DigitInputModelHost {
9
- inputs: QueryList<ElementRef<HTMLInputElement>>;
10
- configArrayData: DigitInputConfigData[];
9
+ readonly inputs: Signal<readonly ElementRef<HTMLInputElement>[]>;
11
10
  }
12
11
  export declare const DigitInputConfigDataType: {
13
12
  readonly Input: "input";
@@ -0,0 +1,3 @@
1
+ export * from './digit-input.module';
2
+ export * from './digit-input.component';
3
+ export * from './digit-input.types';
@@ -1,60 +1,54 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
4
3
  import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
4
+ import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
5
+ import { Nullable } from '../../types/utility.types';
5
6
  import { HexInputModel, HexInputModelHost } from '../hex-input.model';
6
7
  import { CaseTransformerType } from '../input-types';
8
+ import { ArdHexInputPlaceholderTemplateDirective, ArdHexInputPrefixTemplateDirective, ArdHexInputSuffixTemplateDirective } from './hex-input.directives';
7
9
  import * as i0 from "@angular/core";
8
10
  export declare class ArdiumHexInputComponent extends _NgModelComponentBase implements ControlValueAccessor, HexInputModelHost, AfterViewInit {
9
- textInputEl: ElementRef<HTMLInputElement>;
10
- protected inputModel: HexInputModel;
11
+ readonly textInputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
12
+ protected readonly inputModel: HexInputModel;
13
+ protected _wasViewInit: boolean;
11
14
  ngAfterViewInit(): void;
12
15
  readonly DEFAULTS: {
13
16
  clearButtonTitle: string;
14
17
  };
15
- inputId?: string;
16
- prefixTemplate?: TemplateRef<any>;
17
- suffixTemplate?: TemplateRef<any>;
18
- placeholder: string;
19
- placeholderTemplate?: TemplateRef<any>;
20
- get shouldDisplayPlaceholder(): boolean;
21
- appearance: FormElementAppearance;
22
- variant: FormElementVariant;
23
- private _compact;
24
- get compact(): boolean;
25
- set compact(v: any);
26
- case: CaseTransformerType;
27
- private _maxDigits;
28
- get maxDigits(): number | undefined;
29
- set maxDigits(v: any);
30
- private _hideHash;
31
- get hideHash(): boolean;
32
- set hideHash(v: any);
33
- get showHash(): boolean;
34
- private _clearable;
35
- get clearable(): boolean;
36
- set clearable(v: any);
37
- clearButtonTitle: string;
38
- get shouldShowClearButton(): boolean;
18
+ readonly inputId: import("@angular/core").InputSignal<Nullable<string>>;
19
+ readonly prefixTemplate: import("@angular/core").Signal<ArdHexInputPrefixTemplateDirective | undefined>;
20
+ readonly suffixTemplate: import("@angular/core").Signal<ArdHexInputSuffixTemplateDirective | undefined>;
21
+ readonly placeholder: import("@angular/core").InputSignal<Nullable<string>>;
22
+ readonly placeholderTemplate: import("@angular/core").Signal<ArdHexInputPlaceholderTemplateDirective | undefined>;
23
+ readonly shouldDisplayPlaceholder: import("@angular/core").Signal<boolean>;
24
+ readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
25
+ readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
26
+ readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
27
+ readonly case: import("@angular/core").InputSignal<CaseTransformerType>;
28
+ readonly maxDigits: import("@angular/core").InputSignalWithTransform<Nullable<number>, any>;
29
+ readonly hideHash: import("@angular/core").InputSignalWithTransform<boolean, any>;
30
+ readonly showHash: import("@angular/core").Signal<boolean>;
31
+ readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
32
+ readonly clearButtonTitle: import("@angular/core").InputSignal<string>;
33
+ readonly shouldShowClearButton: import("@angular/core").Signal<boolean>;
39
34
  onClearButtonClick(event: MouseEvent): void;
40
- inputAttrs: {
41
- [key: string]: any;
42
- };
35
+ readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
43
36
  writeValue(v: any): void;
44
37
  protected _valueBeforeInit?: string | null;
45
38
  set value(v: string | null);
46
39
  get value(): string | null;
47
- valueChange: EventEmitter<string>;
48
- inputEvent: EventEmitter<string>;
49
- changeEvent: EventEmitter<string>;
50
- clearEvent: EventEmitter<any>;
51
- onInput(newVal: string): void;
40
+ readonly valueChange: import("@angular/core").OutputEmitterRef<string>;
41
+ readonly inputEvent: import("@angular/core").OutputEmitterRef<string>;
42
+ readonly changeEvent: import("@angular/core").OutputEmitterRef<string>;
43
+ readonly clearEvent: import("@angular/core").OutputEmitterRef<void>;
44
+ onInput(newVal: string, event: Event): void;
52
45
  protected _emitInput(): void;
53
46
  onChange(event: Event): void;
54
47
  protected _emitChange(): void;
55
- onMouseup(event: MouseEvent): void;
48
+ onBlur(event: FocusEvent): void;
49
+ onMouseup(): void;
56
50
  onCopy(event: ClipboardEvent): void;
57
51
  protected _setInputAttributes(): void;
58
52
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumHexInputComponent, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumHexInputComponent, "ard-hex-input", never, { "inputId": { "alias": "inputId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "case": { "alias": "case"; "required": false; }; "maxDigits": { "alias": "maxDigits"; "required": false; }; "hideHash": { "alias": "hideHash"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumHexInputComponent, "ard-hex-input", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "case": { "alias": "case"; "required": false; "isSignal": true; }; "maxDigits": { "alias": "maxDigits"; "required": false; "isSignal": true; }; "hideHash": { "alias": "hideHash"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; "isSignal": true; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "inputEvent": "input"; "changeEvent": "change"; "clearEvent": "clear"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate"], never, false, never>;
60
54
  }
@@ -0,0 +1,3 @@
1
+ export * from './hex-input.module';
2
+ export * from './hex-input.component';
3
+ export * from './hex-input.directives';
@@ -1,18 +1,17 @@
1
1
  import { CaseTransformerType } from './input-types';
2
+ import { ElementRef, Signal } from '@angular/core';
3
+ import { Nullable } from '../types/utility.types';
2
4
  export interface HexInputModelHost {
3
- case: CaseTransformerType;
4
- maxDigits: number | undefined;
5
+ readonly case: Signal<CaseTransformerType>;
6
+ readonly maxDigits: Signal<Nullable<number>>;
7
+ readonly textInputEl: Signal<ElementRef<HTMLInputElement> | undefined>;
5
8
  }
6
9
  export declare class HexInputModel {
7
- protected inputEl: HTMLInputElement;
8
- protected _hostComp: HexInputModelHost;
9
- constructor(inputEl: HTMLInputElement, _hostComp: HexInputModelHost);
10
- protected _value: string | null;
11
- get value(): string | null;
12
- set value(v: string | null);
13
- get stringValue(): string;
14
- set stringValue(v: string);
15
- get hashSignValue(): string;
10
+ protected readonly _hostComp: HexInputModelHost;
11
+ constructor(_hostComp: HexInputModelHost);
12
+ readonly value: import("@angular/core").WritableSignal<string | null>;
13
+ readonly stringValue: Signal<string>;
14
+ readonly hashSignValue: Signal<string>;
16
15
  writeValue(v: any): boolean;
17
16
  protected _writeValue(v: string | null): boolean;
18
17
  clear(): void;
@@ -0,0 +1,3 @@
1
+ export * from './input.module';
2
+ export * from './input.component';
3
+ export * from './input.directives';