@ardium-ui/ui 1.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 (491) hide show
  1. package/README.md +25 -0
  2. package/esm2022/ardium-ui-ui.mjs +5 -0
  3. package/esm2022/lib/_internal/boolean-component.mjs +108 -0
  4. package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +12 -0
  5. package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +18 -0
  6. package/esm2022/lib/_internal/disablable-component.mjs +44 -0
  7. package/esm2022/lib/_internal/focusable-component.mjs +91 -0
  8. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +436 -0
  9. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +349 -0
  10. package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +155 -0
  11. package/esm2022/lib/_internal/models/pagination.model.mjs +124 -0
  12. package/esm2022/lib/_internal/ngmodel-component.mjs +42 -0
  13. package/esm2022/lib/_internal/queue.mjs +59 -0
  14. package/esm2022/lib/_internal/selectable-list-component.mjs +304 -0
  15. package/esm2022/lib/badge/badge.directive.mjs +123 -0
  16. package/esm2022/lib/badge/badge.module.mjs +18 -0
  17. package/esm2022/lib/badge/badge.types.mjs +16 -0
  18. package/esm2022/lib/buttons/_button-base.mjs +45 -0
  19. package/esm2022/lib/buttons/button/button.component.mjs +49 -0
  20. package/esm2022/lib/buttons/button/button.module.mjs +18 -0
  21. package/esm2022/lib/buttons/fab/fab.component.mjs +40 -0
  22. package/esm2022/lib/buttons/fab/fab.module.mjs +18 -0
  23. package/esm2022/lib/buttons/general-button.types.mjs +55 -0
  24. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +37 -0
  25. package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +18 -0
  26. package/esm2022/lib/calendar/calendar.component.mjs +982 -0
  27. package/esm2022/lib/calendar/calendar.directives.mjs +107 -0
  28. package/esm2022/lib/calendar/calendar.helpers.mjs +47 -0
  29. package/esm2022/lib/calendar/calendar.module.mjs +21 -0
  30. package/esm2022/lib/calendar/calendar.types.mjs +11 -0
  31. package/esm2022/lib/card/card.children.mjs +97 -0
  32. package/esm2022/lib/card/card.component.mjs +40 -0
  33. package/esm2022/lib/card/card.module.mjs +59 -0
  34. package/esm2022/lib/card/card.types.mjs +9 -0
  35. package/esm2022/lib/checkbox/checkbox.component.mjs +73 -0
  36. package/esm2022/lib/checkbox/checkbox.module.mjs +18 -0
  37. package/esm2022/lib/checkbox/checkbox.types.mjs +6 -0
  38. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +139 -0
  39. package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +19 -0
  40. package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +7 -0
  41. package/esm2022/lib/chip/chip.component.mjs +55 -0
  42. package/esm2022/lib/chip/chip.module.mjs +21 -0
  43. package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +80 -0
  44. package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +77 -0
  45. package/esm2022/lib/color/color-display/color-display.component.mjs +48 -0
  46. package/esm2022/lib/color/color-display/color-display.module.mjs +18 -0
  47. package/esm2022/lib/color/color-display/color-display.types.mjs +9 -0
  48. package/esm2022/lib/color/color-picker/color-picker.component.mjs +484 -0
  49. package/esm2022/lib/color/color-picker/color-picker.directives.mjs +55 -0
  50. package/esm2022/lib/color/color-picker/color-picker.module.mjs +43 -0
  51. package/esm2022/lib/color/color-picker/color-picker.types.mjs +11 -0
  52. package/esm2022/lib/dialog/dialog.component.mjs +167 -0
  53. package/esm2022/lib/dialog/dialog.directives.mjs +14 -0
  54. package/esm2022/lib/dialog/dialog.module.mjs +21 -0
  55. package/esm2022/lib/dialog/dialog.types.mjs +6 -0
  56. package/esm2022/lib/divider/divider.component.mjs +26 -0
  57. package/esm2022/lib/divider/divider.module.mjs +18 -0
  58. package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +130 -0
  59. package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +18 -0
  60. package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +10 -0
  61. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +82 -0
  62. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +42 -0
  63. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +58 -0
  64. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +153 -0
  65. package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +73 -0
  66. package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +21 -0
  67. package/esm2022/lib/file-inputs/file-input-base.mjs +187 -0
  68. package/esm2022/lib/file-inputs/file-input-types.mjs +2 -0
  69. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +74 -0
  70. package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +25 -0
  71. package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +19 -0
  72. package/esm2022/lib/icon/icon.component.mjs +85 -0
  73. package/esm2022/lib/icon/icon.module.mjs +19 -0
  74. package/esm2022/lib/icon/icon.pipe.mjs +18 -0
  75. package/esm2022/lib/inputs/color-input/color-input.component.mjs +421 -0
  76. package/esm2022/lib/inputs/color-input/color-input.directives.mjs +101 -0
  77. package/esm2022/lib/inputs/color-input/color-input.module.mjs +85 -0
  78. package/esm2022/lib/inputs/color-input/color-input.types.mjs +2 -0
  79. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +218 -0
  80. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +217 -0
  81. package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +18 -0
  82. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +15 -0
  83. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +8 -0
  84. package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +234 -0
  85. package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +36 -0
  86. package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +21 -0
  87. package/esm2022/lib/inputs/hex-input.model.mjs +106 -0
  88. package/esm2022/lib/inputs/input/input.component.mjs +344 -0
  89. package/esm2022/lib/inputs/input/input.directives.mjs +58 -0
  90. package/esm2022/lib/inputs/input/input.module.mjs +47 -0
  91. package/esm2022/lib/inputs/input-transformers.mjs +66 -0
  92. package/esm2022/lib/inputs/input-types.mjs +6 -0
  93. package/esm2022/lib/inputs/input-utils.mjs +205 -0
  94. package/esm2022/lib/inputs/number-input/number-input.component.mjs +289 -0
  95. package/esm2022/lib/inputs/number-input/number-input.directives.mjs +14 -0
  96. package/esm2022/lib/inputs/number-input/number-input.module.mjs +21 -0
  97. package/esm2022/lib/inputs/password-input/password-input.component.mjs +222 -0
  98. package/esm2022/lib/inputs/password-input/password-input.directives.mjs +49 -0
  99. package/esm2022/lib/inputs/password-input/password-input.module.mjs +41 -0
  100. package/esm2022/lib/inputs/password-input/password-input.types.mjs +2 -0
  101. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +219 -0
  102. package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +36 -0
  103. package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +37 -0
  104. package/esm2022/lib/kbd/kbd.component.mjs +42 -0
  105. package/esm2022/lib/kbd/kbd.module.mjs +19 -0
  106. package/esm2022/lib/kbd/kbd.pipe.mjs +17 -0
  107. package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +55 -0
  108. package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +19 -0
  109. package/esm2022/lib/modal/modal.component.mjs +120 -0
  110. package/esm2022/lib/modal/modal.module.mjs +21 -0
  111. package/esm2022/lib/option/option.component.mjs +77 -0
  112. package/esm2022/lib/option/option.module.mjs +18 -0
  113. package/esm2022/lib/progress-bar/progress-bar.component.mjs +95 -0
  114. package/esm2022/lib/progress-bar/progress-bar.directive.mjs +14 -0
  115. package/esm2022/lib/progress-bar/progress-bar.module.mjs +19 -0
  116. package/esm2022/lib/progress-bar/progress-bar.types.mjs +19 -0
  117. package/esm2022/lib/progress-circle/progress-circle.component.mjs +94 -0
  118. package/esm2022/lib/progress-circle/progress-circle.directive.mjs +14 -0
  119. package/esm2022/lib/progress-circle/progress-circle.module.mjs +19 -0
  120. package/esm2022/lib/progress-circle/progress-circle.types.mjs +10 -0
  121. package/esm2022/lib/radio/radio/radio.component.mjs +53 -0
  122. package/esm2022/lib/radio/radio-group.component.mjs +207 -0
  123. package/esm2022/lib/radio/radio.module.mjs +19 -0
  124. package/esm2022/lib/search-functions.mjs +64 -0
  125. package/esm2022/lib/segment/segment.component.mjs +168 -0
  126. package/esm2022/lib/segment/segment.directives.mjs +14 -0
  127. package/esm2022/lib/segment/segment.module.mjs +19 -0
  128. package/esm2022/lib/segment/segment.types.mjs +12 -0
  129. package/esm2022/lib/select/select.component.mjs +1160 -0
  130. package/esm2022/lib/select/select.directive.mjs +171 -0
  131. package/esm2022/lib/select/select.module.mjs +112 -0
  132. package/esm2022/lib/select/select.types.mjs +2 -0
  133. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +46 -0
  134. package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +18 -0
  135. package/esm2022/lib/slider/abstract-slider.mjs +330 -0
  136. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +143 -0
  137. package/esm2022/lib/slider/range-slider/range-slider.module.mjs +18 -0
  138. package/esm2022/lib/slider/slider.component.mjs +93 -0
  139. package/esm2022/lib/slider/slider.directive.mjs +16 -0
  140. package/esm2022/lib/slider/slider.module.mjs +20 -0
  141. package/esm2022/lib/slider/slider.types.mjs +10 -0
  142. package/esm2022/lib/snackbar/index.mjs +5 -0
  143. package/esm2022/lib/snackbar/snackbar-ref.mjs +51 -0
  144. package/esm2022/lib/snackbar/snackbar.component.mjs +48 -0
  145. package/esm2022/lib/snackbar/snackbar.service.mjs +227 -0
  146. package/esm2022/lib/snackbar/snackbar.token.mjs +20 -0
  147. package/esm2022/lib/snackbar/snackbar.types.mjs +25 -0
  148. package/esm2022/lib/spinner/spinner.component.mjs +22 -0
  149. package/esm2022/lib/spinner/spinner.module.mjs +18 -0
  150. package/esm2022/lib/star/star-button/star-button.component.mjs +53 -0
  151. package/esm2022/lib/star/star-button/star-button.module.mjs +19 -0
  152. package/esm2022/lib/star/star-display/star-display.component.mjs +66 -0
  153. package/esm2022/lib/star/star-display/star-display.module.mjs +19 -0
  154. package/esm2022/lib/star/star-input/star-input.component.mjs +221 -0
  155. package/esm2022/lib/star/star-input/star-input.module.mjs +19 -0
  156. package/esm2022/lib/star/star.component.mjs +28 -0
  157. package/esm2022/lib/star/star.module.mjs +18 -0
  158. package/esm2022/lib/star/star.types.mjs +23 -0
  159. package/esm2022/lib/statebox/statebox.component.mjs +158 -0
  160. package/esm2022/lib/statebox/statebox.module.mjs +18 -0
  161. package/esm2022/lib/statebox/statebox.types.mjs +2 -0
  162. package/esm2022/lib/table/table-item-storage.mjs +560 -0
  163. package/esm2022/lib/table/table.component.mjs +468 -0
  164. package/esm2022/lib/table/table.directives.mjs +64 -0
  165. package/esm2022/lib/table/table.module.mjs +46 -0
  166. package/esm2022/lib/table/table.types.mjs +30 -0
  167. package/esm2022/lib/table/utils.mjs +18 -0
  168. package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +64 -0
  169. package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +19 -0
  170. package/esm2022/lib/table-pagination/table-pagination.component.mjs +172 -0
  171. package/esm2022/lib/table-pagination/table-pagination.module.mjs +21 -0
  172. package/esm2022/lib/table-pagination/table-pagination.types.mjs +7 -0
  173. package/esm2022/lib/types/alignment.types.mjs +10 -0
  174. package/esm2022/lib/types/colors.types.mjs +43 -0
  175. package/esm2022/lib/types/item-storage.types.mjs +6 -0
  176. package/esm2022/lib/types/theming.types.mjs +48 -0
  177. package/esm2022/lib/types/utility.types.mjs +5 -0
  178. package/esm2022/public-api.mjs +194 -0
  179. package/fesm2022/ardium-ui-ui.mjs +14316 -0
  180. package/fesm2022/ardium-ui-ui.mjs.map +1 -0
  181. package/index.d.ts +5 -0
  182. package/lib/_internal/boolean-component.d.ts +50 -0
  183. package/lib/_internal/clear-button/clear-button.component.d.ts +6 -0
  184. package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
  185. package/lib/_internal/disablable-component.d.ts +11 -0
  186. package/lib/_internal/focusable-component.d.ts +52 -0
  187. package/lib/_internal/item-storages/dropdown-item-storage.d.ts +87 -0
  188. package/lib/_internal/item-storages/simple-item-storage.d.ts +159 -0
  189. package/lib/_internal/item-storages/simplest-item-storage.d.ts +70 -0
  190. package/lib/_internal/models/pagination.model.d.ts +53 -0
  191. package/lib/_internal/ngmodel-component.d.ts +42 -0
  192. package/lib/_internal/queue.d.ts +21 -0
  193. package/lib/_internal/selectable-list-component.d.ts +71 -0
  194. package/lib/badge/badge.directive.d.ts +31 -0
  195. package/lib/badge/badge.module.d.ts +8 -0
  196. package/lib/badge/badge.types.d.ts +17 -0
  197. package/lib/buttons/_button-base.d.ts +18 -0
  198. package/lib/buttons/button/button.component.d.ts +15 -0
  199. package/lib/buttons/button/button.module.d.ts +8 -0
  200. package/lib/buttons/fab/fab.component.d.ts +12 -0
  201. package/lib/buttons/fab/fab.module.d.ts +8 -0
  202. package/lib/buttons/general-button.types.d.ts +57 -0
  203. package/lib/buttons/icon-button/icon-button.component.d.ts +13 -0
  204. package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
  205. package/lib/calendar/calendar.component.d.ts +155 -0
  206. package/lib/calendar/calendar.directives.d.ts +51 -0
  207. package/lib/calendar/calendar.helpers.d.ts +15 -0
  208. package/lib/calendar/calendar.module.d.ts +11 -0
  209. package/lib/calendar/calendar.types.d.ts +80 -0
  210. package/lib/card/card.children.d.ts +43 -0
  211. package/lib/card/card.component.d.ts +13 -0
  212. package/lib/card/card.module.d.ts +9 -0
  213. package/lib/card/card.types.d.ts +10 -0
  214. package/lib/checkbox/checkbox.component.d.ts +21 -0
  215. package/lib/checkbox/checkbox.module.d.ts +8 -0
  216. package/lib/checkbox/checkbox.types.d.ts +6 -0
  217. package/lib/checkbox-list/checkbox-list.component.d.ts +50 -0
  218. package/lib/checkbox-list/checkbox-list.module.d.ts +9 -0
  219. package/lib/checkbox-list/checkbox-list.types.d.ts +7 -0
  220. package/lib/chip/chip.component.d.ts +18 -0
  221. package/lib/chip/chip.module.d.ts +11 -0
  222. package/lib/chip/deletable-chip/deletable-chip.component.d.ts +24 -0
  223. package/lib/chip/selectable-chip/selectable-chip.component.d.ts +24 -0
  224. package/lib/color/color-display/color-display.component.d.ts +17 -0
  225. package/lib/color/color-display/color-display.module.d.ts +8 -0
  226. package/lib/color/color-display/color-display.types.d.ts +9 -0
  227. package/lib/color/color-picker/color-picker.component.d.ts +125 -0
  228. package/lib/color/color-picker/color-picker.directives.d.ts +27 -0
  229. package/lib/color/color-picker/color-picker.module.d.ts +13 -0
  230. package/lib/color/color-picker/color-picker.types.d.ts +21 -0
  231. package/lib/dialog/dialog.component.d.ts +44 -0
  232. package/lib/dialog/dialog.directives.d.ts +9 -0
  233. package/lib/dialog/dialog.module.d.ts +11 -0
  234. package/lib/dialog/dialog.types.d.ts +28 -0
  235. package/lib/divider/divider.component.d.ts +8 -0
  236. package/lib/divider/divider.module.d.ts +8 -0
  237. package/lib/dropdown-panel/dropdown-panel.component.d.ts +37 -0
  238. package/lib/dropdown-panel/dropdown-panel.module.d.ts +8 -0
  239. package/lib/dropdown-panel/dropdown-panel.types.d.ts +12 -0
  240. package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +22 -0
  241. package/lib/file-inputs/file-drop-area/file-drop-area.directives.d.ts +21 -0
  242. package/lib/file-inputs/file-drop-area/file-drop-area.module.d.ts +12 -0
  243. package/lib/file-inputs/file-input/file-input.component.d.ts +41 -0
  244. package/lib/file-inputs/file-input/file-input.directives.d.ts +39 -0
  245. package/lib/file-inputs/file-input/file-input.module.d.ts +11 -0
  246. package/lib/file-inputs/file-input-base.d.ts +43 -0
  247. package/lib/file-inputs/file-input-types.d.ts +10 -0
  248. package/lib/form-field-frame/form-field-frame.component.d.ts +32 -0
  249. package/lib/form-field-frame/form-field-frame.directives.d.ts +14 -0
  250. package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
  251. package/lib/icon/icon.component.d.ts +32 -0
  252. package/lib/icon/icon.module.d.ts +9 -0
  253. package/lib/icon/icon.pipe.d.ts +7 -0
  254. package/lib/inputs/color-input/color-input.component.d.ts +147 -0
  255. package/lib/inputs/color-input/color-input.directives.d.ts +52 -0
  256. package/lib/inputs/color-input/color-input.module.d.ts +16 -0
  257. package/lib/inputs/color-input/color-input.types.d.ts +5 -0
  258. package/lib/inputs/digit-input/digit-input.component.d.ts +50 -0
  259. package/lib/inputs/digit-input/digit-input.model.d.ts +26 -0
  260. package/lib/inputs/digit-input/digit-input.module.d.ts +8 -0
  261. package/lib/inputs/digit-input/digit-input.types.d.ts +27 -0
  262. package/lib/inputs/digit-input/digit-input.utils.d.ts +17 -0
  263. package/lib/inputs/hex-input/hex-input.component.d.ts +60 -0
  264. package/lib/inputs/hex-input/hex-input.directives.d.ts +20 -0
  265. package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
  266. package/lib/inputs/hex-input.model.d.ts +27 -0
  267. package/lib/inputs/input/input.component.d.ts +79 -0
  268. package/lib/inputs/input/input.directives.d.ts +33 -0
  269. package/lib/inputs/input/input.module.d.ts +13 -0
  270. package/lib/inputs/input-transformers.d.ts +24 -0
  271. package/lib/inputs/input-types.d.ts +6 -0
  272. package/lib/inputs/input-utils.d.ts +58 -0
  273. package/lib/inputs/number-input/number-input.component.d.ts +70 -0
  274. package/lib/inputs/number-input/number-input.directives.d.ts +8 -0
  275. package/lib/inputs/number-input/number-input.module.d.ts +11 -0
  276. package/lib/inputs/password-input/password-input.component.d.ts +54 -0
  277. package/lib/inputs/password-input/password-input.directives.d.ts +27 -0
  278. package/lib/inputs/password-input/password-input.module.d.ts +11 -0
  279. package/lib/inputs/password-input/password-input.types.d.ts +3 -0
  280. package/lib/inputs/simple-input/simple-input.component.d.ts +58 -0
  281. package/lib/inputs/simple-input/simple-input.directives.d.ts +20 -0
  282. package/lib/inputs/simple-input/simple-input.module.d.ts +11 -0
  283. package/lib/kbd/kbd.component.d.ts +15 -0
  284. package/lib/kbd/kbd.module.d.ts +9 -0
  285. package/lib/kbd/kbd.pipe.d.ts +7 -0
  286. package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
  287. package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
  288. package/lib/modal/modal.component.d.ts +36 -0
  289. package/lib/modal/modal.module.d.ts +11 -0
  290. package/lib/option/option.component.d.ts +29 -0
  291. package/lib/option/option.module.d.ts +8 -0
  292. package/lib/progress-bar/progress-bar.component.d.ts +26 -0
  293. package/lib/progress-bar/progress-bar.directive.d.ts +9 -0
  294. package/lib/progress-bar/progress-bar.module.d.ts +9 -0
  295. package/lib/progress-bar/progress-bar.types.d.ts +26 -0
  296. package/lib/progress-circle/progress-circle.component.d.ts +28 -0
  297. package/lib/progress-circle/progress-circle.directive.d.ts +9 -0
  298. package/lib/progress-circle/progress-circle.module.d.ts +9 -0
  299. package/lib/progress-circle/progress-circle.types.d.ts +17 -0
  300. package/lib/radio/radio/radio.component.d.ts +23 -0
  301. package/lib/radio/radio-group.component.d.ts +43 -0
  302. package/lib/radio/radio.module.d.ts +9 -0
  303. package/lib/search-functions.d.ts +10 -0
  304. package/lib/segment/segment.component.d.ts +48 -0
  305. package/lib/segment/segment.directives.d.ts +9 -0
  306. package/lib/segment/segment.module.d.ts +9 -0
  307. package/lib/segment/segment.types.d.ts +16 -0
  308. package/lib/select/select.component.d.ts +255 -0
  309. package/lib/select/select.directive.d.ts +94 -0
  310. package/lib/select/select.module.d.ts +14 -0
  311. package/lib/select/select.types.d.ts +109 -0
  312. package/lib/slide-toggle/slide-toggle.component.d.ts +14 -0
  313. package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
  314. package/lib/slider/abstract-slider.d.ts +88 -0
  315. package/lib/slider/range-slider/range-slider.component.d.ts +29 -0
  316. package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
  317. package/lib/slider/slider.component.d.ts +18 -0
  318. package/lib/slider/slider.directive.d.ts +9 -0
  319. package/lib/slider/slider.module.d.ts +10 -0
  320. package/lib/slider/slider.types.d.ts +28 -0
  321. package/lib/snackbar/index.d.ts +4 -0
  322. package/lib/snackbar/snackbar-ref.d.ts +37 -0
  323. package/lib/snackbar/snackbar.component.d.ts +16 -0
  324. package/lib/snackbar/snackbar.service.d.ts +31 -0
  325. package/lib/snackbar/snackbar.token.d.ts +5 -0
  326. package/lib/snackbar/snackbar.types.d.ts +48 -0
  327. package/lib/spinner/spinner.component.d.ts +8 -0
  328. package/lib/spinner/spinner.module.d.ts +8 -0
  329. package/lib/star/star-button/star-button.component.d.ts +16 -0
  330. package/lib/star/star-button/star-button.module.d.ts +9 -0
  331. package/lib/star/star-display/star-display.component.d.ts +16 -0
  332. package/lib/star/star-display/star-display.module.d.ts +9 -0
  333. package/lib/star/star-input/star-input.component.d.ts +51 -0
  334. package/lib/star/star-input/star-input.module.d.ts +9 -0
  335. package/lib/star/star.component.d.ts +10 -0
  336. package/lib/star/star.module.d.ts +8 -0
  337. package/lib/star/star.types.d.ts +30 -0
  338. package/lib/statebox/statebox.component.d.ts +31 -0
  339. package/lib/statebox/statebox.module.d.ts +8 -0
  340. package/lib/statebox/statebox.types.d.ts +22 -0
  341. package/lib/table/table-item-storage.d.ts +266 -0
  342. package/lib/table/table.component.d.ts +127 -0
  343. package/lib/table/table.directives.d.ts +35 -0
  344. package/lib/table/table.module.d.ts +12 -0
  345. package/lib/table/table.types.d.ts +83 -0
  346. package/lib/table/utils.d.ts +4 -0
  347. package/lib/table-from-csv/table-from-csv.component.d.ts +16 -0
  348. package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
  349. package/lib/table-pagination/table-pagination.component.d.ts +48 -0
  350. package/lib/table-pagination/table-pagination.module.d.ts +11 -0
  351. package/lib/table-pagination/table-pagination.types.d.ts +9 -0
  352. package/lib/types/alignment.types.d.ts +11 -0
  353. package/lib/types/colors.types.d.ts +71 -0
  354. package/lib/types/item-storage.types.d.ts +98 -0
  355. package/lib/types/theming.types.d.ts +61 -0
  356. package/lib/types/utility.types.d.ts +11 -0
  357. package/package.json +36 -0
  358. package/prebuilt-themes/default/badge.css +208 -0
  359. package/prebuilt-themes/default/badge.css.map +1 -0
  360. package/prebuilt-themes/default/buttons/button.css +290 -0
  361. package/prebuilt-themes/default/buttons/button.css.map +1 -0
  362. package/prebuilt-themes/default/buttons/fab.css +307 -0
  363. package/prebuilt-themes/default/buttons/fab.css.map +1 -0
  364. package/prebuilt-themes/default/buttons/icon-button.css +288 -0
  365. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
  366. package/prebuilt-themes/default/calendar.css +293 -0
  367. package/prebuilt-themes/default/calendar.css.map +1 -0
  368. package/prebuilt-themes/default/card.css +122 -0
  369. package/prebuilt-themes/default/card.css.map +1 -0
  370. package/prebuilt-themes/default/checkbox-list.css +65 -0
  371. package/prebuilt-themes/default/checkbox-list.css.map +1 -0
  372. package/prebuilt-themes/default/checkbox.css +365 -0
  373. package/prebuilt-themes/default/checkbox.css.map +1 -0
  374. package/prebuilt-themes/default/chips.css +367 -0
  375. package/prebuilt-themes/default/chips.css.map +1 -0
  376. package/prebuilt-themes/default/color-display.css +29 -0
  377. package/prebuilt-themes/default/color-display.css.map +1 -0
  378. package/prebuilt-themes/default/color-picker.css +106 -0
  379. package/prebuilt-themes/default/color-picker.css.map +1 -0
  380. package/prebuilt-themes/default/core.css +84 -0
  381. package/prebuilt-themes/default/core.css.map +1 -0
  382. package/prebuilt-themes/default/dialog.css +18 -0
  383. package/prebuilt-themes/default/dialog.css.map +1 -0
  384. package/prebuilt-themes/default/divider.css +11 -0
  385. package/prebuilt-themes/default/divider.css.map +1 -0
  386. package/prebuilt-themes/default/dropdown-panel.css +37 -0
  387. package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
  388. package/prebuilt-themes/default/file-drop-area.css +279 -0
  389. package/prebuilt-themes/default/file-drop-area.css.map +1 -0
  390. package/prebuilt-themes/default/form-field-frame.css +84 -0
  391. package/prebuilt-themes/default/form-field-frame.css.map +1 -0
  392. package/prebuilt-themes/default/inputs/color-input.css +139 -0
  393. package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
  394. package/prebuilt-themes/default/inputs/digit-input.css +45 -0
  395. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
  396. package/prebuilt-themes/default/inputs/file-input.css +169 -0
  397. package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
  398. package/prebuilt-themes/default/inputs/hex-input.css +119 -0
  399. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
  400. package/prebuilt-themes/default/inputs/input.css +139 -0
  401. package/prebuilt-themes/default/inputs/input.css.map +1 -0
  402. package/prebuilt-themes/default/inputs/number-input.css +150 -0
  403. package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
  404. package/prebuilt-themes/default/inputs/password-input.css +73 -0
  405. package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
  406. package/prebuilt-themes/default/inputs/search-bar.css +114 -0
  407. package/prebuilt-themes/default/inputs/search-bar.css.map +1 -0
  408. package/prebuilt-themes/default/inputs/simple-input.css +114 -0
  409. package/prebuilt-themes/default/inputs/simple-input.css.map +1 -0
  410. package/prebuilt-themes/default/kbd-shortcut.css +12 -0
  411. package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
  412. package/prebuilt-themes/default/kbd.css +17 -0
  413. package/prebuilt-themes/default/kbd.css.map +1 -0
  414. package/prebuilt-themes/default/modal.css +73 -0
  415. package/prebuilt-themes/default/modal.css.map +1 -0
  416. package/prebuilt-themes/default/progress-bar.css +267 -0
  417. package/prebuilt-themes/default/progress-bar.css.map +1 -0
  418. package/prebuilt-themes/default/progress-circle.css +167 -0
  419. package/prebuilt-themes/default/progress-circle.css.map +1 -0
  420. package/prebuilt-themes/default/radio.css +226 -0
  421. package/prebuilt-themes/default/radio.css.map +1 -0
  422. package/prebuilt-themes/default/segment.css +391 -0
  423. package/prebuilt-themes/default/segment.css.map +1 -0
  424. package/prebuilt-themes/default/select.css +275 -0
  425. package/prebuilt-themes/default/select.css.map +1 -0
  426. package/prebuilt-themes/default/slide-toggle.css +264 -0
  427. package/prebuilt-themes/default/slide-toggle.css.map +1 -0
  428. package/prebuilt-themes/default/slider.css +354 -0
  429. package/prebuilt-themes/default/slider.css.map +1 -0
  430. package/prebuilt-themes/default/snackbar.css +183 -0
  431. package/prebuilt-themes/default/snackbar.css.map +1 -0
  432. package/prebuilt-themes/default/spinner.css +151 -0
  433. package/prebuilt-themes/default/spinner.css.map +1 -0
  434. package/prebuilt-themes/default/stars.css +291 -0
  435. package/prebuilt-themes/default/stars.css.map +1 -0
  436. package/prebuilt-themes/default/statebox.css +235 -0
  437. package/prebuilt-themes/default/statebox.css.map +1 -0
  438. package/prebuilt-themes/default/table-pagination.css +48 -0
  439. package/prebuilt-themes/default/table-pagination.css.map +1 -0
  440. package/prebuilt-themes/default/table.css +418 -0
  441. package/prebuilt-themes/default/table.css.map +1 -0
  442. package/public-api.d.ts +145 -0
  443. package/themes/_variables.scss +121 -0
  444. package/themes/default/_clear-button.scss +73 -0
  445. package/themes/default/_coloring.scss +137 -0
  446. package/themes/default/_dropdown-arrow.scss +12 -0
  447. package/themes/default/_mixins.scss +70 -0
  448. package/themes/default/badge.scss +94 -0
  449. package/themes/default/buttons/_button-mixins.scss +144 -0
  450. package/themes/default/buttons/button.scss +62 -0
  451. package/themes/default/buttons/fab.scss +72 -0
  452. package/themes/default/buttons/icon-button.scss +59 -0
  453. package/themes/default/calendar.scss +182 -0
  454. package/themes/default/card.scss +126 -0
  455. package/themes/default/checkbox-list.scss +83 -0
  456. package/themes/default/checkbox.scss +109 -0
  457. package/themes/default/chips.scss +206 -0
  458. package/themes/default/color-display.scss +41 -0
  459. package/themes/default/color-picker.scss +111 -0
  460. package/themes/default/core.scss +96 -0
  461. package/themes/default/dialog.scss +16 -0
  462. package/themes/default/divider.scss +13 -0
  463. package/themes/default/dropdown-panel.scss +45 -0
  464. package/themes/default/file-drop-area.scss +162 -0
  465. package/themes/default/form-field-frame.scss +78 -0
  466. package/themes/default/inputs/_shared.scss +46 -0
  467. package/themes/default/inputs/color-input.scss +46 -0
  468. package/themes/default/inputs/digit-input.scss +56 -0
  469. package/themes/default/inputs/file-input.scss +78 -0
  470. package/themes/default/inputs/hex-input.scss +27 -0
  471. package/themes/default/inputs/input.scss +52 -0
  472. package/themes/default/inputs/number-input.scss +121 -0
  473. package/themes/default/inputs/password-input.scss +43 -0
  474. package/themes/default/inputs/search-bar.scss +19 -0
  475. package/themes/default/inputs/simple-input.scss +19 -0
  476. package/themes/default/kbd-shortcut.scss +13 -0
  477. package/themes/default/kbd.scss +20 -0
  478. package/themes/default/modal.scss +93 -0
  479. package/themes/default/progress-bar.scss +166 -0
  480. package/themes/default/progress-circle.scss +56 -0
  481. package/themes/default/radio.scss +112 -0
  482. package/themes/default/segment.scss +339 -0
  483. package/themes/default/select.scss +253 -0
  484. package/themes/default/slide-toggle.scss +151 -0
  485. package/themes/default/slider.scss +224 -0
  486. package/themes/default/snackbar.scss +60 -0
  487. package/themes/default/spinner.scss +21 -0
  488. package/themes/default/stars.scss +122 -0
  489. package/themes/default/statebox.scss +109 -0
  490. package/themes/default/table-pagination.scss +56 -0
  491. package/themes/default/table.scss +403 -0
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./file-drop-area.component";
3
+ import * as i2 from "./file-drop-area.directives";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../../buttons/button/button.module";
6
+ import * as i5 from "../../icon/icon.module";
7
+ import * as i6 from "@ardium-ui/devkit";
8
+ export declare class ArdiumFileDropAreaModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileDropAreaModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumFileDropAreaModule, [typeof i1.ArdiumFileDropAreaComponent, typeof i2.ArdiumFileDropAreaIdleContentTemplateDirective, typeof i2.ArdiumFileDropAreaDragoverContentTemplateDirective, typeof i2.ArdiumFileDropAreaUploadedContentTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumButtonModule, typeof i5.ArdiumIconModule, typeof i6.ArdiumFilesizePipeModule, typeof i6.ArdiumFilenamePipeModule, typeof i6.ArdiumFileextPipeModule, typeof i6.ArdiumClickOutsideEventModule], [typeof i1.ArdiumFileDropAreaComponent, typeof i2.ArdiumFileDropAreaIdleContentTemplateDirective, typeof i2.ArdiumFileDropAreaDragoverContentTemplateDirective, typeof i2.ArdiumFileDropAreaUploadedContentTemplateDirective]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumFileDropAreaModule>;
12
+ }
@@ -0,0 +1,41 @@
1
+ import { TemplateRef, EventEmitter } from '@angular/core';
2
+ import { ComponentColor } from '../../types/colors.types';
3
+ import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
4
+ import { _FileInputComponentBase } from '../file-input-base';
5
+ import { FileInputBrowseContext, FileInputFileAmountContext, FileInputFilesContext } from '../file-input-types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ArdiumFileInputComponent extends _FileInputComponentBase {
8
+ readonly DEFAULTS: {
9
+ clearButtonTitle: string;
10
+ };
11
+ appearance: FormElementAppearance;
12
+ variant: FormElementVariant;
13
+ color: ComponentColor;
14
+ inputAttrs: {
15
+ [key: string]: any;
16
+ };
17
+ placeholder: string;
18
+ placeholderTemplate?: TemplateRef<any>;
19
+ get shouldDisplayPlaceholder(): boolean;
20
+ private _clearable;
21
+ get clearable(): boolean;
22
+ set clearable(v: any);
23
+ clearButtonTitle: string;
24
+ get shouldShowClearButton(): boolean;
25
+ onClearButtonClick(event: MouseEvent): void;
26
+ clear(): void;
27
+ clearEvent: EventEmitter<any>;
28
+ private _touched;
29
+ get touched(): boolean;
30
+ private set touched(value);
31
+ prefixTemplate?: TemplateRef<any>;
32
+ suffixTemplate?: TemplateRef<any>;
33
+ idleTemplate: TemplateRef<FileInputBrowseContext> | null;
34
+ dragoverTemplate: TemplateRef<FileInputFilesContext> | null;
35
+ uploadedTemplate: TemplateRef<FileInputFilesContext> | null;
36
+ getIdleContext(): FileInputBrowseContext;
37
+ getDragoverContext(): FileInputFileAmountContext;
38
+ getUploadedContext(): FileInputFilesContext;
39
+ 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>;
41
+ }
@@ -0,0 +1,39 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { FileInputBrowseContext, FileInputFilesContext } from '../file-input-types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ArdFileInputPlaceholderTemplateDirective {
5
+ template: TemplateRef<undefined>;
6
+ constructor(template: TemplateRef<undefined>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdFileInputPlaceholderTemplateDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdFileInputPlaceholderTemplateDirective, "ard-file-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
9
+ }
10
+ export declare class ArdFileInputPrefixTemplateDirective {
11
+ template: TemplateRef<undefined>;
12
+ constructor(template: TemplateRef<undefined>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdFileInputPrefixTemplateDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdFileInputPrefixTemplateDirective, "ard-file-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
15
+ }
16
+ export declare class ArdFileInputSuffixTemplateDirective {
17
+ template: TemplateRef<undefined>;
18
+ constructor(template: TemplateRef<undefined>);
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdFileInputSuffixTemplateDirective, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdFileInputSuffixTemplateDirective, "ard-file-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
21
+ }
22
+ export declare class ArdiumFileInputIdleContentTemplateDirective {
23
+ template: TemplateRef<FileInputBrowseContext>;
24
+ constructor(template: TemplateRef<FileInputBrowseContext>);
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputIdleContentTemplateDirective, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumFileInputIdleContentTemplateDirective, "ard-file-input > ng-template[ard-idle-content-tmp]", never, {}, {}, never, never, false, never>;
27
+ }
28
+ export declare class ArdiumFileInputDragoverContentTemplateDirective {
29
+ template: TemplateRef<FileInputFilesContext>;
30
+ constructor(template: TemplateRef<FileInputFilesContext>);
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputDragoverContentTemplateDirective, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumFileInputDragoverContentTemplateDirective, "ard-file-input > ng-template[ard-dragover-content-tmp]", never, {}, {}, never, never, false, never>;
33
+ }
34
+ export declare class ArdiumFileInputUploadedContentTemplateDirective {
35
+ template: TemplateRef<FileInputFilesContext>;
36
+ constructor(template: TemplateRef<FileInputFilesContext>);
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputUploadedContentTemplateDirective, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdiumFileInputUploadedContentTemplateDirective, "ard-file-input > ng-template[ard-dropped-content-tmp]", never, {}, {}, never, never, false, never>;
39
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./file-input.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../form-field-frame/form-field-frame.module";
5
+ import * as i4 from "../../_internal/clear-button/clear-button.module";
6
+ import * as i5 from "../../icon/icon.module";
7
+ export declare class ArdiumFileInputModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFileInputModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumFileInputModule, [typeof i1.ArdiumFileInputComponent], [typeof i2.CommonModule, typeof i3.ArdiumFormFieldFrameModule, typeof i4._ClearButtonModule, typeof i5.ArdiumIconModule], [typeof i1.ArdiumFileInputComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumFileInputModule>;
11
+ }
@@ -0,0 +1,43 @@
1
+ import { ElementRef, EventEmitter, OnInit, AfterViewInit } from '@angular/core';
2
+ import { _NgModelComponentBase } from '../_internal/ngmodel-component';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class _FileInputComponentBase extends _NgModelComponentBase implements OnInit, AfterViewInit {
5
+ fileInputEl: ElementRef<HTMLInputElement>;
6
+ htmlId: string;
7
+ name?: string;
8
+ ngOnInit(): void;
9
+ protected _wasViewInit: boolean;
10
+ 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);
20
+ get shouldBeBlocked(): boolean;
21
+ protected _value: File[] | null;
22
+ get value(): File[] | null;
23
+ set value(v: File | File[] | null);
24
+ valueChange: EventEmitter<File[] | null>;
25
+ changeEvent: EventEmitter<File[] | null>;
26
+ dragFilesEvent: EventEmitter<File[] | null>;
27
+ protected _valueBeforeInit: File[] | null;
28
+ writeValue(v: File | File[] | null): void;
29
+ protected _writeValue(v: File | File[] | null, emitEvents?: boolean): void;
30
+ protected _emitChange(): void;
31
+ openBrowseDialog(): void;
32
+ protected _draggedFiles: number | null;
33
+ currentViewState: 'idle' | 'dragover' | 'uploaded';
34
+ private _beforeDragoverState;
35
+ onDragover(event: DragEvent): void;
36
+ onDragleave(): void;
37
+ onDrop(event: DragEvent): void;
38
+ onInputChange(): void;
39
+ protected _countDragenterFiles(data: DataTransfer | null): number | null;
40
+ protected _updateElementValue(): void;
41
+ 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>;
43
+ }
@@ -0,0 +1,10 @@
1
+ export interface FileInputBrowseContext {
2
+ browse: () => void;
3
+ }
4
+ export interface FileInputFileAmountContext {
5
+ amount: number;
6
+ }
7
+ export interface FileInputFilesContext extends FileInputFileAmountContext {
8
+ $implicit: File[];
9
+ files: File[];
10
+ }
@@ -0,0 +1,32 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { FormElementAppearance, FormElementVariant } from '../types/theming.types';
3
+ import { _FocusableComponentBase } from '../_internal/focusable-component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ArdiumFormFieldFrameComponent extends _FocusableComponentBase {
6
+ isFocused: boolean;
7
+ /**
8
+ * The appearance of the component, aka the styling.
9
+ */
10
+ appearance: FormElementAppearance;
11
+ /**
12
+ * The variant of the component, aka the shape.
13
+ */
14
+ variant: FormElementVariant;
15
+ /**
16
+ * @private
17
+ * Whether to use the compact styling or not.
18
+ */
19
+ private _compact;
20
+ get compact(): boolean;
21
+ /**
22
+ * Whether to use the compact styling or not.
23
+ */
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;
30
+ 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>;
32
+ }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ArdFormFieldPrefixTemplateDirective {
4
+ template: TemplateRef<undefined>;
5
+ constructor(template: TemplateRef<undefined>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdFormFieldPrefixTemplateDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdFormFieldPrefixTemplateDirective, "ard-form-field-frame > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
8
+ }
9
+ export declare class ArdFormFieldSuffixTemplateDirective {
10
+ template: TemplateRef<undefined>;
11
+ constructor(template: TemplateRef<undefined>);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdFormFieldSuffixTemplateDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdFormFieldSuffixTemplateDirective, "ard-form-field-frame > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
14
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./form-field-frame.component";
3
+ import * as i2 from "./form-field-frame.directives";
4
+ import * as i3 from "@angular/common";
5
+ export declare class ArdiumFormFieldFrameModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFormFieldFrameModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumFormFieldFrameModule, [typeof i1.ArdiumFormFieldFrameComponent, typeof i2.ArdFormFieldPrefixTemplateDirective, typeof i2.ArdFormFieldSuffixTemplateDirective], [typeof i3.CommonModule], [typeof i1.ArdiumFormFieldFrameComponent, typeof i2.ArdFormFieldPrefixTemplateDirective, typeof i2.ArdFormFieldSuffixTemplateDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumFormFieldFrameModule>;
9
+ }
@@ -0,0 +1,32 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ type WeightNumber = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
4
+ type WeightString = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
5
+ type GradeNumber = -25 | 0 | 200;
6
+ type GradeString = '-25' | '0' | '200';
7
+ type OpticalSizeNumber = 20 | 24 | 40 | 48;
8
+ type OpticalSizeString = '20' | '24' | '40' | '48';
9
+ 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>;
28
+ ngAfterViewInit(): void;
29
+ 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>;
31
+ }
32
+ export {};
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.component";
3
+ import * as i2 from "./icon.pipe";
4
+ import * as i3 from "@angular/common";
5
+ export declare class ArdiumIconModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumIconModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumIconModule, [typeof i1.ArdiumIconComponent, typeof i2.ArdiumIconPipe], [typeof i3.CommonModule], [typeof i1.ArdiumIconComponent, typeof i2.ArdiumIconPipe]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumIconModule>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ArdiumIconPipe implements PipeTransform {
4
+ transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumIconPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ArdiumIconPipe, "icon", false>;
7
+ }
@@ -0,0 +1,147 @@
1
+ import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import * as Color from 'color';
5
+ import { ButtonVariant } from '../../buttons/general-button.types';
6
+ import { CardAppearance, CardVariant } from '../../card/card.types';
7
+ import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
8
+ import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
9
+ import { CaseTransformerType } from '../input-types';
10
+ import { ColorInputActionButtonsContext } from './color-input.types';
11
+ import * as i0 from "@angular/core";
12
+ export declare class ArdiumColorInputComponent extends _NgModelComponentBase implements ControlValueAccessor, AfterViewInit {
13
+ private _cd;
14
+ private viewContainerRef;
15
+ private overlay;
16
+ private scrollStrategyOpts;
17
+ readonly element: HTMLElement;
18
+ constructor(_cd: ChangeDetectorRef, viewContainerRef: ViewContainerRef, overlay: Overlay, scrollStrategyOpts: ScrollStrategyOptions, elementRef: ElementRef<HTMLElement>);
19
+ detectChanges(): void;
20
+ protected textInputEl: ElementRef<HTMLInputElement>;
21
+ ngAfterViewInit(): void;
22
+ readonly DEFAULTS: {
23
+ clearButtonTitle: string;
24
+ };
25
+ inputId?: string;
26
+ prefixTemplate?: TemplateRef<any>;
27
+ suffixTemplate?: TemplateRef<any>;
28
+ placeholder: string;
29
+ placeholderTemplate?: TemplateRef<any>;
30
+ get shouldDisplayPlaceholder(): boolean;
31
+ appearance: FormElementAppearance;
32
+ variant: FormElementVariant;
33
+ private _compact;
34
+ get compact(): boolean;
35
+ set compact(v: any);
36
+ case: CaseTransformerType;
37
+ private _withActionButtons;
38
+ get withActionButtons(): boolean;
39
+ set withActionButtons(v: any);
40
+ private _clearable;
41
+ get clearable(): boolean;
42
+ set clearable(v: any);
43
+ clearButtonTitle: string;
44
+ get shouldShowClearButton(): boolean;
45
+ onClearButtonClick(event: MouseEvent): void;
46
+ inputAttrs: {
47
+ [key: string]: any;
48
+ };
49
+ writeValue(v: Color | null): void;
50
+ clear(): void;
51
+ protected _value: Color | null;
52
+ set value(v: Color | null);
53
+ get value(): Color | null;
54
+ valueChange: EventEmitter<Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | any | {
55
+ [key: string]: any;
56
+ }> | {
57
+ [key: string]: any;
58
+ }> | {
59
+ [key: string]: any;
60
+ }> | {
61
+ [key: string]: any;
62
+ }> | {
63
+ [key: string]: any;
64
+ }> | {
65
+ [key: string]: any;
66
+ }> | {
67
+ [key: string]: any;
68
+ }> | {
69
+ [key: string]: any;
70
+ }> | {
71
+ [key: string]: any;
72
+ }> | {
73
+ [key: string]: any;
74
+ }> | {
75
+ [key: string]: any;
76
+ }> | {
77
+ [key: string]: any;
78
+ }>>;
79
+ changeEvent: EventEmitter<Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | Color<string | number | ArrayLike<number> | any | {
80
+ [key: string]: any;
81
+ }> | {
82
+ [key: string]: any;
83
+ }> | {
84
+ [key: string]: any;
85
+ }> | {
86
+ [key: string]: any;
87
+ }> | {
88
+ [key: string]: any;
89
+ }> | {
90
+ [key: string]: any;
91
+ }> | {
92
+ [key: string]: any;
93
+ }> | {
94
+ [key: string]: any;
95
+ }> | {
96
+ [key: string]: any;
97
+ }> | {
98
+ [key: string]: any;
99
+ }> | {
100
+ [key: string]: any;
101
+ }> | {
102
+ [key: string]: any;
103
+ }>>;
104
+ clearEvent: EventEmitter<any>;
105
+ onChange(event: Event): void;
106
+ protected _emitChange(): void;
107
+ private _onTouched;
108
+ onMouseup(): void;
109
+ onCopy(event: ClipboardEvent): void;
110
+ private _touched;
111
+ get touched(): boolean;
112
+ private set touched(value);
113
+ overlayHost: ElementRef<HTMLDivElement>;
114
+ overlayTemplate: TemplateRef<any>;
115
+ private overlayRef?;
116
+ private _createOverlay;
117
+ private _destroyOverlay;
118
+ private _isOverlayOpen;
119
+ openEvent: EventEmitter<any>;
120
+ closeEvent: EventEmitter<any>;
121
+ toggle(): void;
122
+ open(): void;
123
+ close(): void;
124
+ private _overlayAppearance?;
125
+ set overlayAppearance(v: CardAppearance);
126
+ get overlayAppearance(): CardAppearance;
127
+ private _overlayVariant?;
128
+ set overlayVariant(v: CardVariant);
129
+ get overlayVariant(): CardVariant;
130
+ private _temporaryValue;
131
+ onColorPickerChange(event: Color): void;
132
+ handleOutsideClick(event: MouseEvent): void;
133
+ apply(): void;
134
+ cancel(): void;
135
+ reset(): void;
136
+ shadeIndicatorTemplate?: TemplateRef<any>;
137
+ hueIndicatorTemplate?: TemplateRef<any>;
138
+ opacityIndicatorTemplate?: TemplateRef<any>;
139
+ colorReferenceTemplate?: TemplateRef<any>;
140
+ actionButtonsTemplate?: TemplateRef<any>;
141
+ get actionButtonVariant(): ButtonVariant;
142
+ getActionButtonsContext(): ColorInputActionButtonsContext;
143
+ protected _updateInputElValue(): void;
144
+ protected _setInputAttributes(): void;
145
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumColorInputComponent, never>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumColorInputComponent, "ard-color-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; }; "withActionButtons": { "alias": "withActionButtons"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearButtonTitle": { "alias": "clearButtonTitle"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "value": { "alias": "value"; "required": false; }; "overlayAppearance": { "alias": "overlayAppearance"; "required": false; }; "overlayVariant": { "alias": "overlayVariant"; "required": false; }; }, { "valueChange": "valueChange"; "changeEvent": "change"; "clearEvent": "clear"; "openEvent": "open"; "closeEvent": "close"; }, ["prefixTemplate", "suffixTemplate", "placeholderTemplate", "shadeIndicatorTemplate", "hueIndicatorTemplate", "opacityIndicatorTemplate", "colorReferenceTemplate", "actionButtonsTemplate"], never, false, never>;
147
+ }
@@ -0,0 +1,52 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { ColorPickerColorReferenceContext, ColorPickerIndicatorContext } from '../../color/color-picker/color-picker.types';
3
+ import { ColorInputActionButtonsContext } from './color-input.types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ArdColorInputPlaceholderTemplateDirective {
6
+ template: TemplateRef<undefined>;
7
+ constructor(template: TemplateRef<undefined>);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputPlaceholderTemplateDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputPlaceholderTemplateDirective, "ard-color-input > ng-template[ard-placeholder-tmp]", never, {}, {}, never, never, false, never>;
10
+ }
11
+ export declare class ArdColorInputPrefixTemplateDirective {
12
+ template: TemplateRef<undefined>;
13
+ constructor(template: TemplateRef<undefined>);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputPrefixTemplateDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputPrefixTemplateDirective, "ard-color-input > ng-template[ard-prefix-tmp]", never, {}, {}, never, never, false, never>;
16
+ }
17
+ export declare class ArdColorInputSuffixTemplateDirective {
18
+ template: TemplateRef<undefined>;
19
+ constructor(template: TemplateRef<undefined>);
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputSuffixTemplateDirective, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputSuffixTemplateDirective, "ard-color-input > ng-template[ard-suffix-tmp]", never, {}, {}, never, never, false, never>;
22
+ }
23
+ export declare class ArdColorInputShadeIndicatorTemplateDirective {
24
+ template: TemplateRef<ColorPickerIndicatorContext>;
25
+ constructor(template: TemplateRef<ColorPickerIndicatorContext>);
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputShadeIndicatorTemplateDirective, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputShadeIndicatorTemplateDirective, "ard-color-input > ng-template[ard-shade-indicator-tmp]", never, {}, {}, never, never, false, never>;
28
+ }
29
+ export declare class ArdColorInputHueIndicatorTemplateDirective {
30
+ template: TemplateRef<ColorPickerIndicatorContext>;
31
+ constructor(template: TemplateRef<ColorPickerIndicatorContext>);
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputHueIndicatorTemplateDirective, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputHueIndicatorTemplateDirective, "ard-color-input > ng-template[ard-hue-indicator-tmp]", never, {}, {}, never, never, false, never>;
34
+ }
35
+ export declare class ArdColorInputOpacityIndicatorTemplateDirective {
36
+ template: TemplateRef<ColorPickerIndicatorContext>;
37
+ constructor(template: TemplateRef<ColorPickerIndicatorContext>);
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputOpacityIndicatorTemplateDirective, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputOpacityIndicatorTemplateDirective, "ard-color-input > ng-template[ard-opacity-indicator-tmp]", never, {}, {}, never, never, false, never>;
40
+ }
41
+ export declare class ArdColorInputColorReferenceTemplateDirective {
42
+ template: TemplateRef<ColorPickerColorReferenceContext>;
43
+ constructor(template: TemplateRef<ColorPickerColorReferenceContext>);
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputColorReferenceTemplateDirective, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputColorReferenceTemplateDirective, "ard-color-input > ng-template[ard-color-reference-tmp]", never, {}, {}, never, never, false, never>;
46
+ }
47
+ export declare class ArdColorInputActionButtonsTemplateDirective {
48
+ template: TemplateRef<ColorInputActionButtonsContext>;
49
+ constructor(template: TemplateRef<ColorInputActionButtonsContext>);
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdColorInputActionButtonsTemplateDirective, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ArdColorInputActionButtonsTemplateDirective, "ard-color-picker > ng-template[ard-action-buttons-tmp]", never, {}, {}, never, never, false, never>;
52
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./color-input.component";
3
+ import * as i2 from "./color-input.directives";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../../form-field-frame/form-field-frame.module";
6
+ import * as i5 from "../../_internal/clear-button/clear-button.module";
7
+ import * as i6 from "../../color/color-picker/color-picker.module";
8
+ import * as i7 from "../../color/color-display/color-display.module";
9
+ import * as i8 from "../../card/card.module";
10
+ import * as i9 from "@ardium-ui/devkit";
11
+ import * as i10 from "../../buttons/button/button.module";
12
+ export declare class ArdiumColorInputModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumColorInputModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumColorInputModule, [typeof i1.ArdiumColorInputComponent, typeof i2.ArdColorInputPlaceholderTemplateDirective, typeof i2.ArdColorInputPrefixTemplateDirective, typeof i2.ArdColorInputSuffixTemplateDirective, typeof i2.ArdColorInputShadeIndicatorTemplateDirective, typeof i2.ArdColorInputHueIndicatorTemplateDirective, typeof i2.ArdColorInputOpacityIndicatorTemplateDirective, typeof i2.ArdColorInputColorReferenceTemplateDirective, typeof i2.ArdColorInputActionButtonsTemplateDirective], [typeof i3.CommonModule, typeof i4.ArdiumFormFieldFrameModule, typeof i5._ClearButtonModule, typeof i6.ArdiumColorPickerModule, typeof i7.ArdiumColorDisplayModule, typeof i8.ArdiumCardModule, typeof i9.ArdiumClickOutsideEventModule, typeof i10.ArdiumButtonModule], [typeof i1.ArdiumColorInputComponent, typeof i2.ArdColorInputPlaceholderTemplateDirective, typeof i2.ArdColorInputPrefixTemplateDirective, typeof i2.ArdColorInputSuffixTemplateDirective, typeof i2.ArdColorInputShadeIndicatorTemplateDirective, typeof i2.ArdColorInputHueIndicatorTemplateDirective, typeof i2.ArdColorInputOpacityIndicatorTemplateDirective, typeof i2.ArdColorInputColorReferenceTemplateDirective, typeof i2.ArdColorInputActionButtonsTemplateDirective]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumColorInputModule>;
16
+ }
@@ -0,0 +1,5 @@
1
+ export type ColorInputActionButtonsContext = {
2
+ apply: () => void;
3
+ cancel: () => void;
4
+ reset: () => void;
5
+ };
@@ -0,0 +1,50 @@
1
+ import { EventEmitter, QueryList, AfterContentInit, ElementRef } from '@angular/core';
2
+ import { _NgModelComponentBase } from '../../_internal/ngmodel-component';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
5
+ import { DigitInputConfigData, DigitInputModelHost } from './digit-input.utils';
6
+ import { DigitInputConfig, DigitInputShape } from './digit-input.types';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ArdiumDigitInputComponent extends _NgModelComponentBase implements ControlValueAccessor, DigitInputModelHost, AfterContentInit {
9
+ 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;
20
+ isInputEmpty(index: number): boolean;
21
+ writeValue(v: any): void;
22
+ private _writeValue;
23
+ private _outputAsString;
24
+ get outputAsString(): boolean;
25
+ set outputAsString(v: any);
26
+ 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>;
36
+ onPaste(event: ClipboardEvent, index: number): void;
37
+ onInput(event: Event, index: number): void;
38
+ private _updateSingleInputValue;
39
+ focusByIndex(index: number): boolean;
40
+ focusByIndex(index: number, tryFocusingNext: boolean, direction: 1 | -1): boolean;
41
+ private _emitInput;
42
+ onFocusMaster(event: FocusEvent, index: number): void;
43
+ onBlurMaster(event: FocusEvent, index: number): void;
44
+ protected _emitChange(): void;
45
+ onKeydown(event: KeyboardEvent, index: number): void;
46
+ inputs: QueryList<ElementRef<HTMLInputElement>>;
47
+ ngAfterContentInit(): void;
48
+ 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>;
50
+ }
@@ -0,0 +1,26 @@
1
+ import { DigitInputModelHost } from './digit-input.utils';
2
+ import { DigitInputConfig } from './digit-input.types';
3
+ export declare class DigitInputModel {
4
+ private _ardHost;
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;
17
+ isDefinedAtIndex(index: number): boolean;
18
+ writeValue(v: any): boolean;
19
+ private _writeValue;
20
+ private _updateInputElements;
21
+ setConfig(config: DigitInputConfig): void;
22
+ private _setConfig;
23
+ validateInputAndSetValue(input: string, index: number): false | [boolean, string | null];
24
+ validateValueAndUpdate(): void;
25
+ private _validateSingleChar;
26
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./digit-input.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class ArdiumDigitInputModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumDigitInputModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumDigitInputModule, [typeof i1.ArdiumDigitInputComponent], [typeof i2.CommonModule], [typeof i1.ArdiumDigitInputComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumDigitInputModule>;
8
+ }
@@ -0,0 +1,27 @@
1
+ export declare const DigitInputShape: {
2
+ readonly Square: "square";
3
+ readonly Rectangle: "rectangle";
4
+ };
5
+ export type DigitInputShape = (typeof DigitInputShape)[keyof typeof DigitInputShape];
6
+ export declare const TransformType: {
7
+ readonly Uppercase: "uppercase";
8
+ readonly Lowercase: "lowercase";
9
+ };
10
+ export type TransformType = (typeof TransformType)[keyof typeof TransformType];
11
+ export declare const DigitInputPrimitiveOption: {
12
+ readonly Number: "number";
13
+ readonly Letter: "letter";
14
+ readonly Alphanumeric: "alphanumeric";
15
+ readonly Special: "special";
16
+ };
17
+ export type DigitInputPrimitiveOption = (typeof DigitInputPrimitiveOption)[keyof typeof DigitInputPrimitiveOption];
18
+ export type DigitInputAcceptObject = {
19
+ accept: string | RegExp | ((char: string, charsBefore: string) => boolean);
20
+ transform?: TransformType | null;
21
+ readonly?: boolean;
22
+ };
23
+ export type DigitInputStaticObject = {
24
+ static: string;
25
+ };
26
+ export type DigitInputOption = DigitInputAcceptObject | DigitInputStaticObject;
27
+ export type DigitInputConfig = (DigitInputPrimitiveOption | DigitInputOption)[] | string | number;