@ardium-pl/ui 5.0.0-alpha.106

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 (489) hide show
  1. package/README.md +25 -0
  2. package/fesm2022/ardium-pl-ui.mjs +18003 -0
  3. package/fesm2022/ardium-pl-ui.mjs.map +1 -0
  4. package/index.d.ts +5 -0
  5. package/lib/_internal/boolean-component.d.ts +65 -0
  6. package/lib/_internal/clear-button/clear-button.component.d.ts +7 -0
  7. package/lib/_internal/clear-button/clear-button.module.d.ts +8 -0
  8. package/lib/_internal/disablable-component.d.ts +24 -0
  9. package/lib/_internal/focusable-component.d.ts +56 -0
  10. package/lib/_internal/form-field-component.d.ts +22 -0
  11. package/lib/_internal/item-storages/dropdown-item-storage.d.ts +79 -0
  12. package/lib/_internal/item-storages/simple-item-storage.d.ts +167 -0
  13. package/lib/_internal/item-storages/simplest-item-storage.d.ts +75 -0
  14. package/lib/_internal/models/pagination.model.d.ts +49 -0
  15. package/lib/_internal/models/queue.d.ts +21 -0
  16. package/lib/_internal/ngmodel-component.d.ts +58 -0
  17. package/lib/_internal/public-api.d.ts +3 -0
  18. package/lib/_internal/selectable-list-component.d.ts +76 -0
  19. package/lib/_internal/utils/context-to-inputs.d.ts +3 -0
  20. package/lib/_internal/utils/date.utils.d.ts +21 -0
  21. package/lib/badge/badge.defaults.d.ts +13 -0
  22. package/lib/badge/badge.directive.d.ts +27 -0
  23. package/lib/badge/badge.module.d.ts +8 -0
  24. package/lib/badge/badge.types.d.ts +17 -0
  25. package/lib/badge/index.d.ts +4 -0
  26. package/lib/breakpoints/breakpoint.service.d.ts +12 -0
  27. package/lib/breakpoints/breakpoint.utils.d.ts +7 -0
  28. package/lib/breakpoints/breakpoints.d.ts +13 -0
  29. package/lib/breakpoints/index.d.ts +2 -0
  30. package/lib/buttons/_button-base.d.ts +25 -0
  31. package/lib/buttons/_button-base.defaults.d.ts +17 -0
  32. package/lib/buttons/button/button.component.d.ts +22 -0
  33. package/lib/buttons/button/button.defaults.d.ts +10 -0
  34. package/lib/buttons/button/button.directive.d.ts +23 -0
  35. package/lib/buttons/button/button.module.d.ts +9 -0
  36. package/lib/buttons/button/index.d.ts +4 -0
  37. package/lib/buttons/button-group/button-group.component.d.ts +25 -0
  38. package/lib/buttons/button-group/button-group.defaults.d.ts +7 -0
  39. package/lib/buttons/button-group/button-group.module.d.ts +8 -0
  40. package/lib/buttons/button-group/index.d.ts +3 -0
  41. package/lib/buttons/fab/fab.component.d.ts +13 -0
  42. package/lib/buttons/fab/fab.defaults.d.ts +8 -0
  43. package/lib/buttons/fab/fab.module.d.ts +8 -0
  44. package/lib/buttons/fab/index.d.ts +3 -0
  45. package/lib/buttons/general-button.types.d.ts +57 -0
  46. package/lib/buttons/icon-button/icon-button.component.d.ts +20 -0
  47. package/lib/buttons/icon-button/icon-button.defaults.d.ts +7 -0
  48. package/lib/buttons/icon-button/icon-button.module.d.ts +8 -0
  49. package/lib/buttons/icon-button/index.d.ts +3 -0
  50. package/lib/calendar/abstract-calendar.d.ts +135 -0
  51. package/lib/calendar/calendar.component.d.ts +15 -0
  52. package/lib/calendar/calendar.defaults.d.ts +34 -0
  53. package/lib/calendar/calendar.directives.d.ts +51 -0
  54. package/lib/calendar/calendar.internal-directives.d.ts +33 -0
  55. package/lib/calendar/calendar.internal-types.d.ts +5 -0
  56. package/lib/calendar/calendar.module.d.ts +10 -0
  57. package/lib/calendar/calendar.types.d.ts +111 -0
  58. package/lib/calendar/index.d.ts +8 -0
  59. package/lib/calendar/range-calendar.component.d.ts +17 -0
  60. package/lib/calendar/range-calendar.directives.d.ts +51 -0
  61. package/lib/calendar/range-calendar.module.d.ts +10 -0
  62. package/lib/calendar/views/calendar-views.module.d.ts +13 -0
  63. package/lib/calendar/views/days-view/days-view.component.d.ts +86 -0
  64. package/lib/calendar/views/days-view/days-view.helpers.d.ts +20 -0
  65. package/lib/calendar/views/months-view/months-view.component.d.ts +73 -0
  66. package/lib/calendar/views/months-view/months-view.helpers.d.ts +3 -0
  67. package/lib/calendar/views/years-view/years-view.component.d.ts +71 -0
  68. package/lib/calendar/views/years-view/years-view.helpers.d.ts +3 -0
  69. package/lib/card/card.children.d.ts +44 -0
  70. package/lib/card/card.component.d.ts +15 -0
  71. package/lib/card/card.defaults.d.ts +10 -0
  72. package/lib/card/card.module.d.ts +9 -0
  73. package/lib/card/card.types.d.ts +10 -0
  74. package/lib/card/index.d.ts +5 -0
  75. package/lib/checkbox/checkbox.component.d.ts +38 -0
  76. package/lib/checkbox/checkbox.defaults.d.ts +12 -0
  77. package/lib/checkbox/checkbox.directives.d.ts +15 -0
  78. package/lib/checkbox/checkbox.internal-directives.d.ts +10 -0
  79. package/lib/checkbox/checkbox.module.d.ts +10 -0
  80. package/lib/checkbox/checkbox.types.d.ts +22 -0
  81. package/lib/checkbox/index.d.ts +5 -0
  82. package/lib/checkbox-list/checkbox-list.component.d.ts +55 -0
  83. package/lib/checkbox-list/checkbox-list.defaults.d.ts +20 -0
  84. package/lib/checkbox-list/checkbox-list.directives.d.ts +16 -0
  85. package/lib/checkbox-list/checkbox-list.module.d.ts +11 -0
  86. package/lib/checkbox-list/checkbox-list.types.d.ts +11 -0
  87. package/lib/checkbox-list/index.d.ts +5 -0
  88. package/lib/chip/chip.component.d.ts +20 -0
  89. package/lib/chip/chip.defaults.d.ts +15 -0
  90. package/lib/chip/chip.module.d.ts +11 -0
  91. package/lib/chip/deletable-chip/deletable-chip.component.d.ts +23 -0
  92. package/lib/chip/deletable-chip/deletable-chip.defaults.d.ts +8 -0
  93. package/lib/chip/index.d.ts +7 -0
  94. package/lib/chip/selectable-chip/selectable-chip.component.d.ts +25 -0
  95. package/lib/chip/selectable-chip/selectable-chip.defaults.d.ts +9 -0
  96. package/lib/dialog/dialog.component.d.ts +47 -0
  97. package/lib/dialog/dialog.defaults.d.ts +19 -0
  98. package/lib/dialog/dialog.directives.d.ts +15 -0
  99. package/lib/dialog/dialog.module.d.ts +11 -0
  100. package/lib/dialog/dialog.types.d.ts +38 -0
  101. package/lib/dialog/index.d.ts +5 -0
  102. package/lib/divider/divider.component.d.ts +6 -0
  103. package/lib/divider/divider.defaults.d.ts +11 -0
  104. package/lib/divider/divider.directive.d.ts +18 -0
  105. package/lib/divider/divider.module.d.ts +9 -0
  106. package/lib/divider/divider.types.d.ts +5 -0
  107. package/lib/divider/index.d.ts +5 -0
  108. package/lib/dropdown-panel/dropdown-panel.component.d.ts +36 -0
  109. package/lib/dropdown-panel/dropdown-panel.defaults.d.ts +10 -0
  110. package/lib/dropdown-panel/dropdown-panel.module.d.ts +8 -0
  111. package/lib/dropdown-panel/dropdown-panel.types.d.ts +12 -0
  112. package/lib/dropdown-panel/index.d.ts +4 -0
  113. package/lib/file-inputs/file-drop-area/file-drop-area.component.d.ts +26 -0
  114. package/lib/file-inputs/file-drop-area/file-drop-area.defaults.d.ts +10 -0
  115. package/lib/file-inputs/file-drop-area/file-drop-area.directives.d.ts +21 -0
  116. package/lib/file-inputs/file-drop-area/file-drop-area.module.d.ts +12 -0
  117. package/lib/file-inputs/file-drop-area/index.d.ts +4 -0
  118. package/lib/file-inputs/file-input/file-input.component.d.ts +38 -0
  119. package/lib/file-inputs/file-input/file-input.defaults.d.ts +17 -0
  120. package/lib/file-inputs/file-input/file-input.directives.d.ts +46 -0
  121. package/lib/file-inputs/file-input/file-input.module.d.ts +13 -0
  122. package/lib/file-inputs/file-input/index.d.ts +4 -0
  123. package/lib/file-inputs/file-input-base.d.ts +60 -0
  124. package/lib/file-inputs/file-input-base.defaults.d.ts +7 -0
  125. package/lib/file-inputs/file-input-types.d.ts +41 -0
  126. package/lib/form-field/auto-error/auto-error.component.d.ts +19 -0
  127. package/lib/form-field/auto-error/auto-error.provider.d.ts +7 -0
  128. package/lib/form-field/error/error.component.d.ts +6 -0
  129. package/lib/form-field/error/error.directive.d.ts +9 -0
  130. package/lib/form-field/form-field-base.d.ts +30 -0
  131. package/lib/form-field/form-field-child.token.d.ts +8 -0
  132. package/lib/form-field/form-field-native-inputs.d.ts +17 -0
  133. package/lib/form-field/form-field.component.d.ts +7 -0
  134. package/lib/form-field/form-field.defaults.d.ts +11 -0
  135. package/lib/form-field/form-field.module.d.ts +17 -0
  136. package/lib/form-field/hint/hint.component.d.ts +6 -0
  137. package/lib/form-field/hint/hint.directive.d.ts +9 -0
  138. package/lib/form-field/hint-error/hint-error.component.d.ts +6 -0
  139. package/lib/form-field/hint-error/hint-error.directive.d.ts +9 -0
  140. package/lib/form-field/horizontal-form-field.component.d.ts +7 -0
  141. package/lib/form-field/index.d.ts +15 -0
  142. package/lib/form-field/label/label.component.d.ts +12 -0
  143. package/lib/form-field-frame/form-field-frame.component.d.ts +43 -0
  144. package/lib/form-field-frame/form-field-frame.defaults.d.ts +13 -0
  145. package/lib/form-field-frame/form-field-frame.directives.d.ts +15 -0
  146. package/lib/form-field-frame/form-field-frame.module.d.ts +9 -0
  147. package/lib/form-field-frame/form-field-frame.types.d.ts +10 -0
  148. package/lib/form-field-frame/index.d.ts +5 -0
  149. package/lib/grid/grid.component.d.ts +63 -0
  150. package/lib/grid/grid.defaults.d.ts +16 -0
  151. package/lib/grid/grid.module.d.ts +7 -0
  152. package/lib/grid/grid.types.d.ts +38 -0
  153. package/lib/grid/grid.utils.d.ts +20 -0
  154. package/lib/grid/index.d.ts +4 -0
  155. package/lib/icon/icon.component.d.ts +28 -0
  156. package/lib/icon/icon.defaults.d.ts +11 -0
  157. package/lib/icon/icon.module.d.ts +9 -0
  158. package/lib/icon/icon.pipe.d.ts +7 -0
  159. package/lib/icon/index.d.ts +4 -0
  160. package/lib/inputs/_simple-input-base.d.ts +67 -0
  161. package/lib/inputs/autocomplete-input/autocomplete-input.component.d.ts +69 -0
  162. package/lib/inputs/autocomplete-input/autocomplete-input.defaults.d.ts +18 -0
  163. package/lib/inputs/autocomplete-input/autocomplete-input.directives.d.ts +34 -0
  164. package/lib/inputs/autocomplete-input/autocomplete-input.module.d.ts +13 -0
  165. package/lib/inputs/autocomplete-input/index.d.ts +4 -0
  166. package/lib/inputs/date-input/abstract-date-input.d.ts +109 -0
  167. package/lib/inputs/date-input/date-input.component.d.ts +52 -0
  168. package/lib/inputs/date-input/date-input.defaults.d.ts +54 -0
  169. package/lib/inputs/date-input/date-input.directives.d.ts +83 -0
  170. package/lib/inputs/date-input/date-input.module.d.ts +17 -0
  171. package/lib/inputs/date-input/date-input.serializers.d.ts +5 -0
  172. package/lib/inputs/date-input/date-input.types.d.ts +17 -0
  173. package/lib/inputs/date-input/date-range-input.component.d.ts +36 -0
  174. package/lib/inputs/date-input/date-range-input.directives.d.ts +83 -0
  175. package/lib/inputs/date-input/date-range-input.module.d.ts +17 -0
  176. package/lib/inputs/date-input/index.d.ts +11 -0
  177. package/lib/inputs/date-input/multipage-date-range-input.component.d.ts +50 -0
  178. package/lib/inputs/date-input/multipage-date-range-input.directives.d.ts +83 -0
  179. package/lib/inputs/date-input/multipage-date-range-input.module.d.ts +17 -0
  180. package/lib/inputs/digit-input/digit-input.component.d.ts +62 -0
  181. package/lib/inputs/digit-input/digit-input.defaults.d.ts +16 -0
  182. package/lib/inputs/digit-input/digit-input.model.d.ts +27 -0
  183. package/lib/inputs/digit-input/digit-input.module.d.ts +9 -0
  184. package/lib/inputs/digit-input/digit-input.types.d.ts +30 -0
  185. package/lib/inputs/digit-input/digit-input.utils.d.ts +20 -0
  186. package/lib/inputs/digit-input/index.d.ts +4 -0
  187. package/lib/inputs/hex-input/hex-input.component.d.ts +57 -0
  188. package/lib/inputs/hex-input/hex-input.defaults.d.ts +22 -0
  189. package/lib/inputs/hex-input/hex-input.directives.d.ts +21 -0
  190. package/lib/inputs/hex-input/hex-input.model.d.ts +26 -0
  191. package/lib/inputs/hex-input/hex-input.module.d.ts +11 -0
  192. package/lib/inputs/hex-input/index.d.ts +4 -0
  193. package/lib/inputs/input/index.d.ts +4 -0
  194. package/lib/inputs/input/input.component.d.ts +15 -0
  195. package/lib/inputs/input/input.defaults.d.ts +9 -0
  196. package/lib/inputs/input/input.directives.d.ts +21 -0
  197. package/lib/inputs/input/input.module.d.ts +11 -0
  198. package/lib/inputs/input-transformers.d.ts +24 -0
  199. package/lib/inputs/input-types.d.ts +15 -0
  200. package/lib/inputs/input-utils.d.ts +66 -0
  201. package/lib/inputs/number-input/index.d.ts +4 -0
  202. package/lib/inputs/number-input/number-input.component.d.ts +78 -0
  203. package/lib/inputs/number-input/number-input.defaults.d.ts +28 -0
  204. package/lib/inputs/number-input/number-input.directives.d.ts +21 -0
  205. package/lib/inputs/number-input/number-input.module.d.ts +11 -0
  206. package/lib/inputs/number-input/number-input.types.d.ts +6 -0
  207. package/lib/inputs/password-input/index.d.ts +5 -0
  208. package/lib/inputs/password-input/password-input.component.d.ts +48 -0
  209. package/lib/inputs/password-input/password-input.defaults.d.ts +20 -0
  210. package/lib/inputs/password-input/password-input.directives.d.ts +28 -0
  211. package/lib/inputs/password-input/password-input.module.d.ts +11 -0
  212. package/lib/inputs/password-input/password-input.types.d.ts +3 -0
  213. package/lib/kbd/index.d.ts +5 -0
  214. package/lib/kbd/kbd.component.d.ts +15 -0
  215. package/lib/kbd/kbd.defaults.d.ts +8 -0
  216. package/lib/kbd/kbd.directive.d.ts +13 -0
  217. package/lib/kbd/kbd.module.d.ts +10 -0
  218. package/lib/kbd/kbd.pipe.d.ts +8 -0
  219. package/lib/kbd-shortcut/index.d.ts +3 -0
  220. package/lib/kbd-shortcut/kbd-shortcut.component.d.ts +18 -0
  221. package/lib/kbd-shortcut/kbd-shortcut.defaults.d.ts +8 -0
  222. package/lib/kbd-shortcut/kbd-shortcut.module.d.ts +9 -0
  223. package/lib/modal/index.d.ts +5 -0
  224. package/lib/modal/modal.component.d.ts +39 -0
  225. package/lib/modal/modal.defaults.d.ts +18 -0
  226. package/lib/modal/modal.directives.d.ts +8 -0
  227. package/lib/modal/modal.module.d.ts +12 -0
  228. package/lib/modal/modal.types.d.ts +3 -0
  229. package/lib/option/index.d.ts +2 -0
  230. package/lib/option/option.component.d.ts +25 -0
  231. package/lib/option/option.module.d.ts +8 -0
  232. package/lib/progress-bar/index.d.ts +4 -0
  233. package/lib/progress-bar/progress-bar.component.d.ts +18 -0
  234. package/lib/progress-bar/progress-bar.defaults.d.ts +13 -0
  235. package/lib/progress-bar/progress-bar.module.d.ts +8 -0
  236. package/lib/progress-bar/progress-bar.types.d.ts +22 -0
  237. package/lib/progress-circle/index.d.ts +5 -0
  238. package/lib/progress-circle/progress-circle.component.d.ts +25 -0
  239. package/lib/progress-circle/progress-circle.defaults.d.ts +15 -0
  240. package/lib/progress-circle/progress-circle.directive.d.ts +9 -0
  241. package/lib/progress-circle/progress-circle.module.d.ts +9 -0
  242. package/lib/progress-circle/progress-circle.types.d.ts +20 -0
  243. package/lib/radio/index.d.ts +4 -0
  244. package/lib/radio/radio/radio.component.d.ts +68 -0
  245. package/lib/radio/radio/radio.defaults.d.ts +8 -0
  246. package/lib/radio/radio-group.component.d.ts +40 -0
  247. package/lib/radio/radio.module.d.ts +9 -0
  248. package/lib/search-functions.d.ts +10 -0
  249. package/lib/segment/index.d.ts +5 -0
  250. package/lib/segment/segment.component.d.ts +40 -0
  251. package/lib/segment/segment.defaults.d.ts +18 -0
  252. package/lib/segment/segment.directives.d.ts +8 -0
  253. package/lib/segment/segment.module.d.ts +9 -0
  254. package/lib/segment/segment.types.d.ts +17 -0
  255. package/lib/select/index.d.ts +5 -0
  256. package/lib/select/select.component.d.ts +230 -0
  257. package/lib/select/select.defaults.d.ts +70 -0
  258. package/lib/select/select.directive.d.ts +95 -0
  259. package/lib/select/select.module.d.ts +14 -0
  260. package/lib/select/select.types.d.ts +60 -0
  261. package/lib/select/select.utils.d.ts +2 -0
  262. package/lib/slide-toggle/index.d.ts +4 -0
  263. package/lib/slide-toggle/slide-toggle.component.d.ts +21 -0
  264. package/lib/slide-toggle/slide-toggle.defaults.d.ts +14 -0
  265. package/lib/slide-toggle/slide-toggle.module.d.ts +8 -0
  266. package/lib/slide-toggle/slide-toggle.types.d.ts +5 -0
  267. package/lib/slider/abstract-slider.d.ts +96 -0
  268. package/lib/slider/index.d.ts +8 -0
  269. package/lib/slider/range-slider/range-slider.component.d.ts +37 -0
  270. package/lib/slider/range-slider/range-slider.module.d.ts +8 -0
  271. package/lib/slider/range-slider/range-slider.types.d.ts +6 -0
  272. package/lib/slider/slider.component.d.ts +24 -0
  273. package/lib/slider/slider.defaults.d.ts +6 -0
  274. package/lib/slider/slider.directive.d.ts +9 -0
  275. package/lib/slider/slider.module.d.ts +10 -0
  276. package/lib/slider/slider.types.d.ts +28 -0
  277. package/lib/snackbar/index.d.ts +4 -0
  278. package/lib/snackbar/snackbar-ref.d.ts +69 -0
  279. package/lib/snackbar/snackbar.component.d.ts +16 -0
  280. package/lib/snackbar/snackbar.service.d.ts +57 -0
  281. package/lib/snackbar/snackbar.token.d.ts +5 -0
  282. package/lib/snackbar/snackbar.types.d.ts +84 -0
  283. package/lib/spinner/index.d.ts +3 -0
  284. package/lib/spinner/spinner.component.d.ts +9 -0
  285. package/lib/spinner/spinner.defaults.d.ts +7 -0
  286. package/lib/spinner/spinner.module.d.ts +8 -0
  287. package/lib/stack/index.d.ts +3 -0
  288. package/lib/stack/stack.component.d.ts +26 -0
  289. package/lib/stack/stack.defaults.d.ts +14 -0
  290. package/lib/stack/stack.module.d.ts +7 -0
  291. package/lib/star/index.d.ts +5 -0
  292. package/lib/star/rating-display/index.d.ts +5 -0
  293. package/lib/star/rating-display/rating-display.component.d.ts +18 -0
  294. package/lib/star/rating-display/rating-display.defaults.d.ts +9 -0
  295. package/lib/star/rating-display/rating-display.directives.d.ts +9 -0
  296. package/lib/star/rating-display/rating-display.module.d.ts +10 -0
  297. package/lib/star/rating-display/rating-display.types.d.ts +8 -0
  298. package/lib/star/rating-input/index.d.ts +5 -0
  299. package/lib/star/rating-input/rating-input.component.d.ts +48 -0
  300. package/lib/star/rating-input/rating-input.defaults.d.ts +9 -0
  301. package/lib/star/rating-input/rating-input.directives.d.ts +9 -0
  302. package/lib/star/rating-input/rating-input.module.d.ts +10 -0
  303. package/lib/star/rating-input/rating-input.types.d.ts +12 -0
  304. package/lib/star/star-button/index.d.ts +5 -0
  305. package/lib/star/star-button/star-button.component.d.ts +26 -0
  306. package/lib/star/star-button/star-button.defaults.d.ts +10 -0
  307. package/lib/star/star-button/star-button.directives.d.ts +9 -0
  308. package/lib/star/star-button/star-button.module.d.ts +10 -0
  309. package/lib/star/star-button/star-button.types.d.ts +7 -0
  310. package/lib/star/star.component.d.ts +15 -0
  311. package/lib/star/star.defaults.d.ts +8 -0
  312. package/lib/star/star.directives.d.ts +9 -0
  313. package/lib/star/star.module.d.ts +10 -0
  314. package/lib/star/star.types.d.ts +33 -0
  315. package/lib/tabber/index.d.ts +6 -0
  316. package/lib/tabber/tab/tab.component.d.ts +27 -0
  317. package/lib/tabber/tabber.component.d.ts +44 -0
  318. package/lib/tabber/tabber.defaults.d.ts +14 -0
  319. package/lib/tabber/tabber.directives.d.ts +9 -0
  320. package/lib/tabber/tabber.module.d.ts +10 -0
  321. package/lib/tabber/tabber.types.d.ts +5 -0
  322. package/lib/table/index.d.ts +5 -0
  323. package/lib/table/table-item-storage.d.ts +273 -0
  324. package/lib/table/table.component.d.ts +111 -0
  325. package/lib/table/table.defaults.d.ts +50 -0
  326. package/lib/table/table.directives.d.ts +36 -0
  327. package/lib/table/table.module.d.ts +13 -0
  328. package/lib/table/table.types.d.ts +83 -0
  329. package/lib/table/utils.d.ts +4 -0
  330. package/lib/table-from-csv/index.d.ts +3 -0
  331. package/lib/table-from-csv/table-from-csv.component.d.ts +55 -0
  332. package/lib/table-from-csv/table-from-csv.defaults.d.ts +7 -0
  333. package/lib/table-from-csv/table-from-csv.module.d.ts +9 -0
  334. package/lib/table-pagination/index.d.ts +4 -0
  335. package/lib/table-pagination/table-pagination.component.d.ts +40 -0
  336. package/lib/table-pagination/table-pagination.defaults.d.ts +20 -0
  337. package/lib/table-pagination/table-pagination.module.d.ts +11 -0
  338. package/lib/table-pagination/table-pagination.types.d.ts +9 -0
  339. package/lib/text-list/index.d.ts +3 -0
  340. package/lib/text-list/text-list.component.d.ts +9 -0
  341. package/lib/text-list/text-list.module.d.ts +9 -0
  342. package/lib/text-list/text-list.pipe.d.ts +7 -0
  343. package/lib/types/alignment.types.d.ts +17 -0
  344. package/lib/types/button.types.d.ts +6 -0
  345. package/lib/types/colors.types.d.ts +71 -0
  346. package/lib/types/item-storage.types.d.ts +50 -0
  347. package/lib/types/theming.types.d.ts +62 -0
  348. package/lib/types/utility.types.d.ts +16 -0
  349. package/package.json +39 -0
  350. package/prebuilt-themes/default/badge.css +237 -0
  351. package/prebuilt-themes/default/badge.css.map +1 -0
  352. package/prebuilt-themes/default/buttons/button-group.css +19 -0
  353. package/prebuilt-themes/default/buttons/button-group.css.map +1 -0
  354. package/prebuilt-themes/default/buttons/button.css +339 -0
  355. package/prebuilt-themes/default/buttons/button.css.map +1 -0
  356. package/prebuilt-themes/default/buttons/fab.css +330 -0
  357. package/prebuilt-themes/default/buttons/fab.css.map +1 -0
  358. package/prebuilt-themes/default/buttons/icon-button.css +304 -0
  359. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -0
  360. package/prebuilt-themes/default/calendar.css +393 -0
  361. package/prebuilt-themes/default/calendar.css.map +1 -0
  362. package/prebuilt-themes/default/card.css +154 -0
  363. package/prebuilt-themes/default/card.css.map +1 -0
  364. package/prebuilt-themes/default/checkbox-list.css +101 -0
  365. package/prebuilt-themes/default/checkbox-list.css.map +1 -0
  366. package/prebuilt-themes/default/checkbox.css +383 -0
  367. package/prebuilt-themes/default/checkbox.css.map +1 -0
  368. package/prebuilt-themes/default/chips.css +421 -0
  369. package/prebuilt-themes/default/chips.css.map +1 -0
  370. package/prebuilt-themes/default/color-display.css +37 -0
  371. package/prebuilt-themes/default/color-display.css.map +1 -0
  372. package/prebuilt-themes/default/color-picker.css +108 -0
  373. package/prebuilt-themes/default/color-picker.css.map +1 -0
  374. package/prebuilt-themes/default/core.css +112 -0
  375. package/prebuilt-themes/default/core.css.map +1 -0
  376. package/prebuilt-themes/default/dialog.css +22 -0
  377. package/prebuilt-themes/default/dialog.css.map +1 -0
  378. package/prebuilt-themes/default/divider.css +87 -0
  379. package/prebuilt-themes/default/divider.css.map +1 -0
  380. package/prebuilt-themes/default/dropdown-panel.css +45 -0
  381. package/prebuilt-themes/default/dropdown-panel.css.map +1 -0
  382. package/prebuilt-themes/default/file-drop-area.css +332 -0
  383. package/prebuilt-themes/default/file-drop-area.css.map +1 -0
  384. package/prebuilt-themes/default/form-field-frame.css +105 -0
  385. package/prebuilt-themes/default/form-field-frame.css.map +1 -0
  386. package/prebuilt-themes/default/form-field.css +153 -0
  387. package/prebuilt-themes/default/form-field.css.map +1 -0
  388. package/prebuilt-themes/default/inputs/autocomplete-input.css +198 -0
  389. package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -0
  390. package/prebuilt-themes/default/inputs/color-input.css +108 -0
  391. package/prebuilt-themes/default/inputs/color-input.css.map +1 -0
  392. package/prebuilt-themes/default/inputs/date-input.css +152 -0
  393. package/prebuilt-themes/default/inputs/date-input.css.map +1 -0
  394. package/prebuilt-themes/default/inputs/digit-input.css +129 -0
  395. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -0
  396. package/prebuilt-themes/default/inputs/file-input.css +399 -0
  397. package/prebuilt-themes/default/inputs/file-input.css.map +1 -0
  398. package/prebuilt-themes/default/inputs/hex-input.css +165 -0
  399. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -0
  400. package/prebuilt-themes/default/inputs/input.css +152 -0
  401. package/prebuilt-themes/default/inputs/input.css.map +1 -0
  402. package/prebuilt-themes/default/inputs/number-input.css +230 -0
  403. package/prebuilt-themes/default/inputs/number-input.css.map +1 -0
  404. package/prebuilt-themes/default/inputs/password-input.css +132 -0
  405. package/prebuilt-themes/default/inputs/password-input.css.map +1 -0
  406. package/prebuilt-themes/default/kbd-shortcut.css +17 -0
  407. package/prebuilt-themes/default/kbd-shortcut.css.map +1 -0
  408. package/prebuilt-themes/default/kbd.css +29 -0
  409. package/prebuilt-themes/default/kbd.css.map +1 -0
  410. package/prebuilt-themes/default/modal.css +99 -0
  411. package/prebuilt-themes/default/modal.css.map +1 -0
  412. package/prebuilt-themes/default/progress-bar.css +286 -0
  413. package/prebuilt-themes/default/progress-bar.css.map +1 -0
  414. package/prebuilt-themes/default/progress-circle.css +181 -0
  415. package/prebuilt-themes/default/progress-circle.css.map +1 -0
  416. package/prebuilt-themes/default/radio.css +261 -0
  417. package/prebuilt-themes/default/radio.css.map +1 -0
  418. package/prebuilt-themes/default/segment.css +441 -0
  419. package/prebuilt-themes/default/segment.css.map +1 -0
  420. package/prebuilt-themes/default/select.css +322 -0
  421. package/prebuilt-themes/default/select.css.map +1 -0
  422. package/prebuilt-themes/default/slide-toggle.css +322 -0
  423. package/prebuilt-themes/default/slide-toggle.css.map +1 -0
  424. package/prebuilt-themes/default/slider.css +428 -0
  425. package/prebuilt-themes/default/slider.css.map +1 -0
  426. package/prebuilt-themes/default/snackbar.css +202 -0
  427. package/prebuilt-themes/default/snackbar.css.map +1 -0
  428. package/prebuilt-themes/default/spinner.css +164 -0
  429. package/prebuilt-themes/default/spinner.css.map +1 -0
  430. package/prebuilt-themes/default/stars.css +284 -0
  431. package/prebuilt-themes/default/stars.css.map +1 -0
  432. package/prebuilt-themes/default/tabber.css +253 -0
  433. package/prebuilt-themes/default/tabber.css.map +1 -0
  434. package/prebuilt-themes/default/table-pagination.css +60 -0
  435. package/prebuilt-themes/default/table-pagination.css.map +1 -0
  436. package/prebuilt-themes/default/table.css +467 -0
  437. package/prebuilt-themes/default/table.css.map +1 -0
  438. package/public-api.d.ts +59 -0
  439. package/themes/_variables.scss +124 -0
  440. package/themes/default/_clear-button.scss +78 -0
  441. package/themes/default/_coloring.scss +144 -0
  442. package/themes/default/_dropdown-arrow.scss +12 -0
  443. package/themes/default/_mixins.scss +91 -0
  444. package/themes/default/badge.scss +129 -0
  445. package/themes/default/buttons/_button-mixins.scss +152 -0
  446. package/themes/default/buttons/button-group.scss +19 -0
  447. package/themes/default/buttons/button.scss +119 -0
  448. package/themes/default/buttons/fab.scss +112 -0
  449. package/themes/default/buttons/icon-button.scss +91 -0
  450. package/themes/default/calendar.scss +298 -0
  451. package/themes/default/card.scss +181 -0
  452. package/themes/default/checkbox-list.scss +125 -0
  453. package/themes/default/checkbox.scss +123 -0
  454. package/themes/default/chips.scss +269 -0
  455. package/themes/default/color-display.scss +53 -0
  456. package/themes/default/color-picker.scss +113 -0
  457. package/themes/default/core.scss +129 -0
  458. package/themes/default/dialog.scss +25 -0
  459. package/themes/default/divider.scss +115 -0
  460. package/themes/default/dropdown-panel.scss +60 -0
  461. package/themes/default/file-drop-area.scss +221 -0
  462. package/themes/default/form-field-frame.scss +91 -0
  463. package/themes/default/form-field.scss +161 -0
  464. package/themes/default/inputs/_shared.scss +99 -0
  465. package/themes/default/inputs/autocomplete-input.scss +119 -0
  466. package/themes/default/inputs/color-input.scss +48 -0
  467. package/themes/default/inputs/date-input.scss +106 -0
  468. package/themes/default/inputs/digit-input.scss +138 -0
  469. package/themes/default/inputs/file-input.scss +187 -0
  470. package/themes/default/inputs/hex-input.scss +81 -0
  471. package/themes/default/inputs/input.scss +63 -0
  472. package/themes/default/inputs/number-input.scss +214 -0
  473. package/themes/default/inputs/password-input.scss +116 -0
  474. package/themes/default/kbd-shortcut.scss +21 -0
  475. package/themes/default/kbd.scss +40 -0
  476. package/themes/default/modal.scss +130 -0
  477. package/themes/default/progress-bar.scss +181 -0
  478. package/themes/default/progress-circle.scss +64 -0
  479. package/themes/default/radio.scss +154 -0
  480. package/themes/default/segment.scss +383 -0
  481. package/themes/default/select.scss +327 -0
  482. package/themes/default/slide-toggle.scss +228 -0
  483. package/themes/default/slider.scss +287 -0
  484. package/themes/default/snackbar.scss +78 -0
  485. package/themes/default/spinner.scss +31 -0
  486. package/themes/default/stars.scss +133 -0
  487. package/themes/default/tabber.scss +131 -0
  488. package/themes/default/table-pagination.scss +72 -0
  489. package/themes/default/table.scss +459 -0
@@ -0,0 +1,7 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { ArdTableDefaults } from './../table/table.defaults';
3
+ export interface ArdTableFromCsvDefaults extends ArdTableDefaults {
4
+ separator: string;
5
+ }
6
+ export declare const ARD_TABLE_FROM_CSV_DEFAULTS: InjectionToken<ArdTableFromCsvDefaults>;
7
+ export declare function provideTableFromCsvDefaults(config: Partial<ArdTableFromCsvDefaults>): Provider;
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table-from-csv.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../table/table.module";
5
+ export declare class ArdiumTableFromCsvModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTableFromCsvModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumTableFromCsvModule, [typeof i1.ArdiumTableFromCsvComponent], [typeof i2.CommonModule, typeof i3.ArdiumTableModule], [typeof i1.ArdiumTableFromCsvComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumTableFromCsvModule>;
9
+ }
@@ -0,0 +1,4 @@
1
+ export * from './table-pagination.component';
2
+ export * from './table-pagination.defaults';
3
+ export * from './table-pagination.module';
4
+ export * from './table-pagination.types';
@@ -0,0 +1,40 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BooleanLike } from '@ardium-ui/devkit';
3
+ import { _FocusableComponentBase } from '../_internal/focusable-component';
4
+ import { ComponentColor } from '../types/colors.types';
5
+ import { ArdTablePaginationDefaults } from './table-pagination.defaults';
6
+ import { CurrentItemsFormatFn, PaginationAlign } from './table-pagination.types';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ArdiumTablePaginationComponent extends _FocusableComponentBase implements OnInit {
9
+ protected readonly _DEFAULTS: ArdTablePaginationDefaults;
10
+ constructor(defaults: ArdTablePaginationDefaults);
11
+ readonly componentId = "506";
12
+ private readonly _pagination;
13
+ readonly totalItems: import("@angular/core").InputSignal<number>;
14
+ readonly options: import("@angular/core").InputSignal<number[] | {
15
+ value: number;
16
+ label: string;
17
+ }[]>;
18
+ readonly itemsPerPage: import("@angular/core").ModelSignal<number>;
19
+ readonly page: import("@angular/core").ModelSignal<number>;
20
+ ngOnInit(): void;
21
+ readonly color: import("@angular/core").InputSignal<ComponentColor>;
22
+ readonly align: import("@angular/core").InputSignal<PaginationAlign>;
23
+ readonly compact: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
24
+ readonly ngClasses: import("@angular/core").Signal<string>;
25
+ readonly useFirstLastButtons: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
26
+ readonly isLoading: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
27
+ readonly itemsPerPageText: import("@angular/core").InputSignal<string>;
28
+ readonly currentItemsFormatFn: import("@angular/core").InputSignal<CurrentItemsFormatFn>;
29
+ readonly getCurrentItemsContext: import("@angular/core").Signal<import("../_internal/models/pagination.model").PaginationCurrentItemsContext>;
30
+ readonly firstPageDisabled: import("@angular/core").Signal<boolean>;
31
+ readonly lastPageDisabled: import("@angular/core").Signal<boolean>;
32
+ onItemsPerPageChange(newValue: number): void;
33
+ onPageChange(newPage: number): void;
34
+ onFirstPage(): void;
35
+ onPrevPage(): void;
36
+ onNextPage(): void;
37
+ onLastPage(): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTablePaginationComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumTablePaginationComponent, "ard-table-pagination", never, { "totalItems": { "alias": "totalItems"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "useFirstLastButtons": { "alias": "useFirstLastButtons"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "itemsPerPageText": { "alias": "itemsPerPageText"; "required": false; "isSignal": true; }; "currentItemsFormatFn": { "alias": "currentItemsFormatFn"; "required": false; "isSignal": true; }; }, { "itemsPerPage": "itemsPerPageChange"; "page": "pageChange"; }, never, never, false, never>;
40
+ }
@@ -0,0 +1,20 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ import { _FocusableComponentDefaults } from '../_internal/focusable-component';
3
+ import { ComponentColor } from './../types/colors.types';
4
+ import { CurrentItemsFormatFn, PaginationAlign } from './table-pagination.types';
5
+ export interface ArdTablePaginationDefaults extends _FocusableComponentDefaults {
6
+ options: number[] | {
7
+ value: number;
8
+ label: string;
9
+ }[];
10
+ itemsPerPage: number;
11
+ page: number;
12
+ color: ComponentColor;
13
+ align: PaginationAlign;
14
+ compact: boolean;
15
+ useFirstLastButtons: boolean;
16
+ itemsPerPageText: string;
17
+ currentItemsFormatFn: CurrentItemsFormatFn;
18
+ }
19
+ export declare const ARD_TABLE_PAGINATION_DEFAULTS: InjectionToken<ArdTablePaginationDefaults>;
20
+ export declare function provideTablePaginationDefaults(config: Partial<ArdTablePaginationDefaults>): Provider;
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table-pagination.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../select/select.module";
5
+ import * as i4 from "../buttons/icon-button/icon-button.module";
6
+ import * as i5 from "../icon/icon.module";
7
+ export declare class ArdiumTablePaginationModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTablePaginationModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumTablePaginationModule, [typeof i1.ArdiumTablePaginationComponent], [typeof i2.CommonModule, typeof i3.ArdiumSelectModule, typeof i4.ArdiumIconButtonModule, typeof i5.ArdiumIconModule], [typeof i1.ArdiumTablePaginationComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumTablePaginationModule>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import { PaginationCurrentItemsContext } from '../_internal/models/pagination.model';
2
+ export declare const PaginationAlign: {
3
+ readonly Left: "left";
4
+ readonly Center: "center";
5
+ readonly Right: "right";
6
+ readonly Split: "split";
7
+ };
8
+ export type PaginationAlign = (typeof PaginationAlign)[keyof typeof PaginationAlign];
9
+ export type CurrentItemsFormatFn = (context: PaginationCurrentItemsContext) => string;
@@ -0,0 +1,3 @@
1
+ export * from './text-list.component';
2
+ export * from './text-list.module';
3
+ export * from './text-list.pipe';
@@ -0,0 +1,9 @@
1
+ import { BooleanLike } from '@ardium-ui/devkit';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ArdiumTextListComponent {
4
+ readonly values: import("@angular/core").InputSignal<any[]>;
5
+ readonly separator: import("@angular/core").InputSignal<string>;
6
+ readonly filter: import("@angular/core").InputSignalWithTransform<boolean, BooleanLike>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTextListComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumTextListComponent, "ard-text-list", never, { "values": { "alias": "values"; "required": true; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./text-list.component";
3
+ import * as i2 from "./text-list.pipe";
4
+ import * as i3 from "@angular/common";
5
+ export declare class ArdiumTextListModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTextListModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumTextListModule, [typeof i1.ArdiumTextListComponent, typeof i2.ArdiumTextListPipe], [typeof i3.CommonModule], [typeof i1.ArdiumTextListComponent, typeof i2.ArdiumTextListPipe]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumTextListModule>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ArdiumTextListPipe implements PipeTransform {
4
+ transform(value: any[], separator?: string, filter?: boolean): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumTextListPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ArdiumTextListPipe, "ardTextList", false>;
7
+ }
@@ -0,0 +1,17 @@
1
+ export declare const SimpleOneAxisAlignment: {
2
+ readonly Left: "left";
3
+ readonly Right: "right";
4
+ };
5
+ export type SimpleOneAxisAlignment = (typeof SimpleOneAxisAlignment)[keyof typeof SimpleOneAxisAlignment];
6
+ export declare const OneAxisAlignment: {
7
+ readonly Left: "left";
8
+ readonly Center: "center";
9
+ readonly Right: "right";
10
+ };
11
+ export type OneAxisAlignment = (typeof OneAxisAlignment)[keyof typeof OneAxisAlignment];
12
+ export declare const OneAxisAlignmentOrientational: {
13
+ readonly Start: "start";
14
+ readonly Center: "center";
15
+ readonly End: "end";
16
+ };
17
+ export type OneAxisAlignmentOrientational = (typeof OneAxisAlignmentOrientational)[keyof typeof OneAxisAlignmentOrientational];
@@ -0,0 +1,6 @@
1
+ export declare const ButtonType: {
2
+ readonly Button: "button";
3
+ readonly Submit: "submit";
4
+ readonly Reset: "reset";
5
+ };
6
+ export type ButtonType = (typeof ButtonType)[keyof typeof ButtonType];
@@ -0,0 +1,71 @@
1
+ /**
2
+ * The color of the component.
3
+ *
4
+ * @see {@link ButtonColoringMode} to set what part of the component should be colored.
5
+ */
6
+ export declare const ComponentColor: {
7
+ /**
8
+ * The app's standard text color.
9
+ */
10
+ readonly None: "none";
11
+ /**
12
+ * The app's primary color.
13
+ */
14
+ readonly Primary: "primary";
15
+ /**
16
+ * The app's secondary color.
17
+ */
18
+ readonly Secondary: "secondary";
19
+ /**
20
+ * The app's warning color. Usually some shade of yellow.
21
+ */
22
+ readonly Warning: "warn";
23
+ /**
24
+ * The app's danger color. Usually some shade of red.
25
+ */
26
+ readonly Danger: "danger";
27
+ /**
28
+ * The app's success color. Usually some shade of green or lime.
29
+ */
30
+ readonly Success: "success";
31
+ /**
32
+ * The app's info color. Usually some shade of blue or light blue.
33
+ */
34
+ readonly Info: "info";
35
+ };
36
+ export type ComponentColor = (typeof ComponentColor)[keyof typeof ComponentColor];
37
+ export declare const SimpleComponentColor: {
38
+ /**
39
+ * The current color set by css.
40
+ */
41
+ readonly CurrentColor: "currentColor";
42
+ /**
43
+ * The app's standard text color.
44
+ */
45
+ readonly None: "none";
46
+ /**
47
+ * The app's primary color.
48
+ */
49
+ readonly Primary: "primary";
50
+ /**
51
+ * The app's secondary color.
52
+ */
53
+ readonly Secondary: "secondary";
54
+ /**
55
+ * The app's warning color. Usually some shade of yellow.
56
+ */
57
+ readonly Warning: "warn";
58
+ /**
59
+ * The app's danger color. Usually some shade of red.
60
+ */
61
+ readonly Danger: "danger";
62
+ /**
63
+ * The app's success color. Usually some shade of green or lime.
64
+ */
65
+ readonly Success: "success";
66
+ /**
67
+ * The app's info color. Usually some shade of blue or light blue.
68
+ */
69
+ readonly Info: "info";
70
+ };
71
+ export type SimpleComponentColor = (typeof SimpleComponentColor)[keyof typeof SimpleComponentColor];
@@ -0,0 +1,50 @@
1
+ export type OptionContext<T extends ArdSimplestStorageItem> = {
2
+ $implicit: T;
3
+ item: T;
4
+ } & {
5
+ [K in keyof Omit<T, 'filtered'>]: T[K];
6
+ };
7
+ export interface ArdSimplestStorageItem {
8
+ readonly itemData: object;
9
+ readonly index: number;
10
+ readonly value: any;
11
+ readonly label: string;
12
+ readonly selected: boolean;
13
+ readonly highlighted: boolean;
14
+ }
15
+ export interface ArdOptionSimple extends ArdSimplestStorageItem {
16
+ readonly disabled: boolean;
17
+ }
18
+ export interface ArdOption extends ArdOptionSimple {
19
+ readonly filtered: boolean;
20
+ readonly isExactMatch: boolean;
21
+ readonly group: unknown;
22
+ readonly highlighted_recently: boolean;
23
+ }
24
+ export interface ArdOptionGroup {
25
+ readonly label: string;
26
+ readonly disabled: boolean;
27
+ readonly children: ArdOption[];
28
+ }
29
+ export declare const ArdPanelPosition: {
30
+ readonly Top: "top";
31
+ readonly Bottom: "bottom";
32
+ readonly Auto: "auto";
33
+ };
34
+ export type ArdPanelPosition = (typeof ArdPanelPosition)[keyof typeof ArdPanelPosition];
35
+ export type ArdItemGroupMap = Map<any, ArdOptionGroup>;
36
+ /**
37
+ * Function used to determine the group label for an item, based on the item's data.
38
+ */
39
+ export type GroupByFn = (item: any) => any;
40
+ /**
41
+ * Function used to search for items based on a search term.
42
+ *
43
+ * Should return a tuple where the first value is a boolean indicating if the item matches the search term,
44
+ * and the second value is a boolean indicating if the match is an exact match (used for auto-highlighting).
45
+ */
46
+ export type SearchFn = (searchTerm: string, item: ArdOption) => [boolean, boolean];
47
+ /**
48
+ * Function used to compare a value with an option's value to determine if they are considered equal.
49
+ */
50
+ export type CompareWithFn = (value: any, optionValue: any) => boolean;
@@ -0,0 +1,62 @@
1
+ export declare const OutlinedAppearance: {
2
+ /**
3
+ * No background with solid border.
4
+ */
5
+ readonly Outlined: "outlined";
6
+ };
7
+ export type OutlinedAppearance = (typeof OutlinedAppearance)[keyof typeof OutlinedAppearance];
8
+ export declare const PanelAppearance: {
9
+ /**
10
+ * Filled with a background color, with slight shadow.
11
+ */
12
+ readonly Raised: "raised";
13
+ };
14
+ export type PanelAppearance = (typeof PanelAppearance)[keyof typeof PanelAppearance];
15
+ export declare const FormElementAppearance: {
16
+ /**
17
+ * No background and no border. Useful for when trying to create a component that uses another component inside its borders.
18
+ */
19
+ readonly Transparent: "transparent";
20
+ /**
21
+ * Slighthly darker/lighter background with rounded but transparent border.
22
+ */
23
+ readonly Filled: "filled";
24
+ /**
25
+ * No background with solid border.
26
+ */
27
+ readonly Outlined: "outlined";
28
+ };
29
+ export type FormElementAppearance = (typeof FormElementAppearance)[keyof typeof FormElementAppearance];
30
+ export declare const DecorationElementAppearance: {
31
+ readonly Outlined: "outlined";
32
+ readonly OutlinedStrong: "outlined-strong";
33
+ readonly Filled: "filled";
34
+ readonly FilledStrong: "filled-strong";
35
+ };
36
+ export type DecorationElementAppearance = (typeof DecorationElementAppearance)[keyof typeof DecorationElementAppearance];
37
+ export declare const PanelVariant: {
38
+ /**
39
+ * Slightly rounded corners.
40
+ */
41
+ readonly Rounded: "rounded";
42
+ /**
43
+ * Sharp corners.
44
+ */
45
+ readonly Sharp: "sharp";
46
+ };
47
+ export type PanelVariant = (typeof PanelVariant)[keyof typeof PanelVariant];
48
+ export declare const FormElementVariant: {
49
+ /**
50
+ * Fully rounded corners - pill shaped.
51
+ */
52
+ readonly Pill: "pill";
53
+ /**
54
+ * Slightly rounded corners.
55
+ */
56
+ readonly Rounded: "rounded";
57
+ /**
58
+ * Sharp corners.
59
+ */
60
+ readonly Sharp: "sharp";
61
+ };
62
+ export type FormElementVariant = (typeof FormElementVariant)[keyof typeof FormElementVariant];
@@ -0,0 +1,16 @@
1
+ import { InputSignal } from "@angular/core";
2
+ export declare const ClickStrategy: {
3
+ readonly Noop: "noop";
4
+ readonly Default: "default";
5
+ };
6
+ export type ClickStrategy = (typeof ClickStrategy)[keyof typeof ClickStrategy];
7
+ /**
8
+ * Represents an array type that must contain at least one element.
9
+ *
10
+ * @template T - The type of elements in the array.
11
+ */
12
+ export type NonEmptyArray<T> = [T, ...T[]];
13
+ export type Nullable<T> = T | undefined | null;
14
+ export type TemplateComponent<T> = {
15
+ [key in keyof T]?: InputSignal<T[key]>;
16
+ };
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@ardium-pl/ui",
3
+ "version": "5.0.0-alpha.106",
4
+ "peerDependencies": {
5
+ "@angular/common": ">=18.0.0",
6
+ "@angular/core": ">=18.0.0",
7
+ "@angular/cdk": ">=18.0.0",
8
+ "@types/node": "^20.14.2"
9
+ },
10
+ "dependencies": {
11
+ "tslib": "^2.3.0",
12
+ "first-last": "^1.1.1",
13
+ "more-rounding": "^4.2.2",
14
+ "resolve-object-path": "^2.0.0",
15
+ "lodash": "^4.17.23",
16
+ "@ardium-ui/devkit": "8.3.0",
17
+ "simple-bool": "^3.0.1",
18
+ "take-chance": "^4.3.2",
19
+ "color": "^4.2.3"
20
+ },
21
+ "exports": {
22
+ "./prebuilt-themes/*": {
23
+ "style": "./prebuilt-themes/*.css"
24
+ },
25
+ "./themes/default/*": {
26
+ "sass": "./themes/*.scss"
27
+ },
28
+ "./package.json": {
29
+ "default": "./package.json"
30
+ },
31
+ ".": {
32
+ "types": "./index.d.ts",
33
+ "default": "./fesm2022/ardium-pl-ui.mjs"
34
+ }
35
+ },
36
+ "module": "fesm2022/ardium-pl-ui.mjs",
37
+ "typings": "index.d.ts",
38
+ "sideEffects": false
39
+ }
@@ -0,0 +1,237 @@
1
+ @layer ard-ui {
2
+ :root {
3
+ --ard-badge-small-font-size: 0.55rem;
4
+ --ard-badge-small-font-weight: 400;
5
+ --ard-badge-small-letter-spacing: 0.2px;
6
+ --ard-badge-medium-font-size: 0.667rem;
7
+ --ard-badge-medium-font-weight: 500;
8
+ --ard-badge-medium-letter-spacing: 0.2px;
9
+ --ard-badge-large-font-size: 0.8125rem;
10
+ --ard-badge-large-font-weight: 600;
11
+ --ard-badge-large-letter-spacing: 0.2px;
12
+ --ard-badge-overlap-offset: 0.3em;
13
+ }
14
+ .ard-badge-host {
15
+ position: relative;
16
+ }
17
+ .ard-badge {
18
+ position: absolute;
19
+ display: flex;
20
+ align-items: center;
21
+ pointer-events: none;
22
+ background: var(--ard-cmpcl--bg-colored);
23
+ color: var(--ard-cmpcl--on-bg-colored);
24
+ font-size: var(--ard-_badge-font-size);
25
+ min-width: var(--ard-_badge-size);
26
+ height: var(--ard-_badge-size);
27
+ --ard-_badge-overlap-offset-x: var(--ard-badge-overlap-offset, 0.3em);
28
+ }
29
+ .ard-badge.ard-color-none {
30
+ --ard-cmpcl--bg: var(--ard-bg);
31
+ --ard-cmpcl--bg-colored: var(--ard-bg-alt);
32
+ --ard-cmpcl--bg-colored-light: var(--ard-detail-light);
33
+ --ard-cmpcl--bg-header: var(--ard-bg-filled);
34
+ --ard-cmpcl--bg-colored-verylight: var(--ard-bg-darker);
35
+ --ard-cmpcl--on-bg: var(--ard-text);
36
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
37
+ --ard-cmpcl--on-bg-colored-light: var(--ard-text);
38
+ --ard-cmpcl--border: var(--ard-text);
39
+ --ard-cmpcl--border-light: var(--ard-text2);
40
+ --ard-cmpcl--content: var(--ard-text);
41
+ --ard-cmpcl--content-light: var(--ard-text-alt);
42
+ --ard-cmpcl--overlay-rgb: var(--ard-overlay-rgb);
43
+ --ard-cmpcl--overlay: var(--ard-overlay);
44
+ --ard-cmpcl--overlay-colored: var(--ard-overlay);
45
+ --ard-cmpcl--overlay-colored-light: var(--ard-text-alt);
46
+ }
47
+ .ard-badge.ard-color-primary {
48
+ --ard-cmpcl--bg: rgb(var(--ard-primary-500));
49
+ --ard-cmpcl--bg-colored: rgb(var(--ard-primary-500));
50
+ --ard-cmpcl--bg-colored-light: rgb(var(--ard-primary-100));
51
+ --ard-cmpcl--bg-header: rgb(var(--ard-primary-100));
52
+ --ard-cmpcl--bg-colored-verylight: rgb(var(--ard-primary-50));
53
+ --ard-cmpcl--on-bg: var(--ard-text-alt);
54
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
55
+ --ard-cmpcl--on-bg-colored-light: var(--ard-text);
56
+ --ard-cmpcl--border: rgb(var(--ard-primary-300));
57
+ --ard-cmpcl--border-light: rgb(var(--ard-primary-100));
58
+ --ard-cmpcl--content: rgb(var(--ard-primary-700));
59
+ --ard-cmpcl--content-light: rgb(var(--ard-primary-300));
60
+ --ard-cmpcl--overlay-rgb: var(--ard-primary-500);
61
+ --ard-cmpcl--overlay: var(--ard-overlay);
62
+ --ard-cmpcl--overlay-colored: rgb(var(--ard-primary-700));
63
+ --ard-cmpcl--overlay-colored-light: rgb(var(--ard-primary-100));
64
+ }
65
+ .ard-badge.ard-color-secondary {
66
+ --ard-cmpcl--bg: rgb(var(--ard-secondary-500));
67
+ --ard-cmpcl--bg-colored: rgb(var(--ard-secondary-500));
68
+ --ard-cmpcl--bg-colored-light: rgb(var(--ard-secondary-50));
69
+ --ard-cmpcl--bg-header: rgb(var(--ard-secondary-50));
70
+ --ard-cmpcl--bg-colored-verylight: rgb(var(--ard-secondary-50));
71
+ --ard-cmpcl--on-bg: var(--ard-text-alt);
72
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
73
+ --ard-cmpcl--on-bg-colored-light: var(--ard-text);
74
+ --ard-cmpcl--border: rgb(var(--ard-secondary-300));
75
+ --ard-cmpcl--border-light: rgb(var(--ard-secondary-100));
76
+ --ard-cmpcl--content: rgb(var(--ard-secondary-700));
77
+ --ard-cmpcl--content-light: rgb(var(--ard-secondary-300));
78
+ --ard-cmpcl--overlay-rgb: var(--ard-secondary-500);
79
+ --ard-cmpcl--overlay: var(--ard-overlay);
80
+ --ard-cmpcl--overlay-colored: rgb(var(--ard-secondary-700));
81
+ --ard-cmpcl--overlay-colored-light: rgb(var(--ard-secondary-100));
82
+ }
83
+ .ard-badge.ard-color-warn {
84
+ --ard-cmpcl--bg: rgb(var(--ard-warn-500));
85
+ --ard-cmpcl--bg-colored: rgb(var(--ard-warn-500));
86
+ --ard-cmpcl--bg-colored-light: rgb(var(--ard-warn-50));
87
+ --ard-cmpcl--bg-header: rgb(var(--ard-warn-50));
88
+ --ard-cmpcl--bg-colored-verylight: rgb(var(--ard-warn-50));
89
+ --ard-cmpcl--on-bg: var(--ard-text-alt);
90
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
91
+ --ard-cmpcl--on-bg-colored-light: var(--ard-text);
92
+ --ard-cmpcl--border: rgb(var(--ard-warn-300));
93
+ --ard-cmpcl--border-light: rgb(var(--ard-warn-100));
94
+ --ard-cmpcl--content: rgb(var(--ard-warn-700));
95
+ --ard-cmpcl--content-light: rgb(var(--ard-warn-100));
96
+ --ard-cmpcl--overlay-rgb: var(--ard-warn-500);
97
+ --ard-cmpcl--overlay: var(--ard-overlay);
98
+ --ard-cmpcl--overlay-colored: rgb(var(--ard-warn-700));
99
+ --ard-cmpcl--overlay-colored-light: rgb(var(--ard-warn-100));
100
+ }
101
+ .ard-badge.ard-color-danger {
102
+ --ard-cmpcl--bg: rgb(var(--ard-danger-700));
103
+ --ard-cmpcl--bg-colored: rgb(var(--ard-danger-700));
104
+ --ard-cmpcl--bg-colored-light: rgb(var(--ard-danger-100));
105
+ --ard-cmpcl--bg-header: rgb(var(--ard-danger-100));
106
+ --ard-cmpcl--bg-colored-verylight: rgb(var(--ard-danger-50));
107
+ --ard-cmpcl--on-bg: var(--ard-text-alt);
108
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
109
+ --ard-cmpcl--on-bg-colored-light: var(--ard-text);
110
+ --ard-cmpcl--border: rgb(var(--ard-danger-300));
111
+ --ard-cmpcl--border-light: rgb(var(--ard-danger-100));
112
+ --ard-cmpcl--content: rgb(var(--ard-danger-900));
113
+ --ard-cmpcl--content-light: rgb(var(--ard-danger-500));
114
+ --ard-cmpcl--overlay-rgb: var(--ard-danger-700);
115
+ --ard-cmpcl--overlay: var(--ard-overlay);
116
+ --ard-cmpcl--overlay-colored: rgb(var(--ard-danger-700));
117
+ --ard-cmpcl--overlay-colored-light: rgb(var(--ard-danger-300));
118
+ }
119
+ .ard-badge.ard-color-success {
120
+ --ard-cmpcl--bg: rgb(var(--ard-success-700));
121
+ --ard-cmpcl--bg-colored: rgb(var(--ard-success-700));
122
+ --ard-cmpcl--bg-colored-light: rgb(var(--ard-success-50));
123
+ --ard-cmpcl--bg-header: rgb(var(--ard-success-50));
124
+ --ard-cmpcl--bg-colored-verylight: rgb(var(--ard-success-50));
125
+ --ard-cmpcl--on-bg: var(--ard-text-alt);
126
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
127
+ --ard-cmpcl--on-bg-colored-light: var(--ard-text);
128
+ --ard-cmpcl--border: rgb(var(--ard-success-300));
129
+ --ard-cmpcl--border-light: rgb(var(--ard-success-100));
130
+ --ard-cmpcl--content: rgb(var(--ard-success-900));
131
+ --ard-cmpcl--content-light: rgb(var(--ard-success-300));
132
+ --ard-cmpcl--overlay-rgb: var(--ard-success-700);
133
+ --ard-cmpcl--overlay: var(--ard-overlay);
134
+ --ard-cmpcl--overlay-colored: rgb(var(--ard-success-700));
135
+ --ard-cmpcl--overlay-colored-light: rgb(var(--ard-success-300));
136
+ }
137
+ .ard-badge.ard-color-info {
138
+ --ard-cmpcl--bg: rgb(var(--ard-info-500));
139
+ --ard-cmpcl--bg-colored: rgb(var(--ard-info-500));
140
+ --ard-cmpcl--bg-colored-light: rgb(var(--ard-info-50));
141
+ --ard-cmpcl--bg-header: rgb(var(--ard-info-50));
142
+ --ard-cmpcl--bg-colored-verylight: rgb(var(--ard-info-50));
143
+ --ard-cmpcl--on-bg: var(--ard-text-alt);
144
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
145
+ --ard-cmpcl--on-bg-colored-light: var(--ard-text);
146
+ --ard-cmpcl--border: rgb(var(--ard-info-300));
147
+ --ard-cmpcl--border-light: rgb(var(--ard-info-100));
148
+ --ard-cmpcl--content: rgb(var(--ard-info-700));
149
+ --ard-cmpcl--content-light: rgb(var(--ard-info-300));
150
+ --ard-cmpcl--overlay-rgb: var(--ard-info-500);
151
+ --ard-cmpcl--overlay: var(--ard-overlay);
152
+ --ard-cmpcl--overlay-colored: rgb(var(--ard-info-700));
153
+ --ard-cmpcl--overlay-colored-light: rgb(var(--ard-info-100));
154
+ }
155
+ .ard-badge.ard-color-currentColor {
156
+ --ard-cmpcl--bg: var(--ard-bg);
157
+ --ard-cmpcl--bg-colored: currentColor;
158
+ --ard-cmpcl--on-bg: currentColor;
159
+ --ard-cmpcl--on-bg-colored: var(--ard-text-alt);
160
+ --ard-cmpcl--border: currentColor;
161
+ --ard-cmpcl--border-light: currentColor;
162
+ --ard-cmpcl--content: currentColor;
163
+ --ard-cmpcl--content-light: currentColor;
164
+ --ard-cmpcl--overlay-rgb: var(--ard-overlay-rgb);
165
+ --ard-cmpcl--overlay: var(--ard-overlay);
166
+ --ard-cmpcl--overlay-colored: currentColor;
167
+ --ard-cmpcl--overlay-colored-light: currentColor;
168
+ }
169
+ .ard-badge.ard-variant-pill {
170
+ border-radius: 9999px;
171
+ }
172
+ .ard-badge.ard-variant-rounded {
173
+ border-radius: var(--ard-_badge-radius);
174
+ }
175
+ .ard-badge.ard-variant-sharp {
176
+ border-radius: 0;
177
+ }
178
+ .ard-badge.ard-badge-hidden {
179
+ display: none;
180
+ }
181
+ .ard-badge .ard-badge-content {
182
+ padding: 0 var(--ard-_badge-padding);
183
+ }
184
+ .ard-badge.ard-badge-size-small {
185
+ --ard-_badge-font-size: var(--ard-badge-small-font-size, 0.55rem);
186
+ --ard-_badge-size: var(--ard-badge-small-size, calc(var(--ard-badge-small-font-size) * 1.375));
187
+ --ard-_badge-padding: calc(var(--ard-badge-small-font-size) * 0.5);
188
+ --ard-_badge-radius: var(--ard-badge-small-rounded-radius, calc(var(--ard-badge-small-font-size) * 0.25));
189
+ font-weight: var(--ard-badge-small-font-weight, 400);
190
+ letter-spacing: var(--ard-badge-small-letter-spacing, 0.2px);
191
+ }
192
+ .ard-badge.ard-badge-size-medium {
193
+ --ard-_badge-font-size: var(--ard-badge-medium-font-size, 0.667rem);
194
+ --ard-_badge-size: var(--ard-badge-medium-size, calc(var(--ard-badge-medium-font-size) * 1.375));
195
+ --ard-_badge-padding: calc(var(--ard-badge-medium-font-size) * 0.5);
196
+ --ard-_badge-radius: var(--ard-badge-medium-rounded-radius, calc(var(--ard-badge-medium-font-size) * 0.25));
197
+ font-weight: var(--ard-badge-medium-font-weight, 500);
198
+ letter-spacing: var(--ard-badge-medium-letter-spacing, 0.2px);
199
+ }
200
+ .ard-badge.ard-badge-size-large {
201
+ --ard-_badge-font-size: var(--ard-badge-large-font-size, 0.8125rem);
202
+ --ard-_badge-size: var(--ard-badge-large-size, calc(var(--ard-badge-large-font-size) * 1.375));
203
+ --ard-_badge-padding: calc(var(--ard-badge-large-font-size) * 0.5);
204
+ --ard-_badge-radius: var(--ard-badge-large-rounded-radius, calc(var(--ard-badge-large-font-size) * 0.25));
205
+ font-weight: var(--ard-badge-large-font-weight, 600);
206
+ letter-spacing: var(--ard-badge-large-letter-spacing, 0.2px);
207
+ }
208
+ .ard-badge.ard-badge-overlap {
209
+ --ard-_badge-overlap-offset-x: 50%;
210
+ }
211
+ .ard-badge.ard-badge-position-above-before {
212
+ transform: translate(var(--ard-_badge-overlap-offset-x), 50%);
213
+ }
214
+ .ard-badge.ard-badge-position-above-after {
215
+ transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), 50%);
216
+ }
217
+ .ard-badge.ard-badge-position-below-after {
218
+ transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), -50%);
219
+ }
220
+ .ard-badge.ard-badge-position-below-before {
221
+ transform: translate(var(--ard-_badge-overlap-offset-x), -50%);
222
+ }
223
+ .ard-badge.ard-badge-position-above-before, .ard-badge.ard-badge-position-below-before {
224
+ right: 100%;
225
+ }
226
+ .ard-badge.ard-badge-position-above-after, .ard-badge.ard-badge-position-below-after {
227
+ left: 100%;
228
+ }
229
+ .ard-badge.ard-badge-position-below-before, .ard-badge.ard-badge-position-below-after {
230
+ top: 100%;
231
+ }
232
+ .ard-badge.ard-badge-position-above-before, .ard-badge.ard-badge-position-above-after {
233
+ bottom: 100%;
234
+ }
235
+ }
236
+
237
+ /*# sourceMappingURL=badge.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/badge.scss","../../../../projects/ui/src/themes/default/_coloring.scss"],"names":[],"mappings":"AAEA;EAGE;IACE;IAEA;IACA;IAGA;IAEA;IACA;IAGA;IAEA;IACA;IAGA;;EAGF;IACE;;EAEF;IAEE;IACA;IACA;IACA;IAGA;IACA;IAmBA;IACA;IACA;IAgCA;;ECzFF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDnGA;IACE;;EAEF;IACE;;EAEF;IACE;;EAIF;IACE;;EAQF;IACE;;EAGF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;;EAMF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAIF;IAEE;;EAEF;IAEE;;EAEF;IAEE;;EAEF;IAEE","file":"badge.css"}