@smartsoft001/react 2.193.0 → 2.194.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 (971) hide show
  1. package/README.md +99 -7
  2. package/package.json +5 -5
  3. package/src/lib/components/accordion/accordion.d.ts +3 -4
  4. package/src/lib/components/accordion/accordion.js +3 -4
  5. package/src/lib/components/accordion/accordion.js.map +1 -1
  6. package/src/lib/components/accordion/accordion.types.d.ts +5 -6
  7. package/src/lib/components/accordion/body/accordion-body.d.ts +1 -1
  8. package/src/lib/components/accordion/body/accordion-body.js +1 -1
  9. package/src/lib/components/accordion/body/accordion-body.js.map +1 -1
  10. package/src/lib/components/accordion/default/accordion-default.d.ts +3 -3
  11. package/src/lib/components/accordion/default/accordion-default.js +3 -3
  12. package/src/lib/components/accordion/header/accordion-header.d.ts +2 -3
  13. package/src/lib/components/accordion/header/accordion-header.js +2 -3
  14. package/src/lib/components/accordion/header/accordion-header.js.map +1 -1
  15. package/src/lib/components/accordion/preset/accordion-preset.d.ts +6 -6
  16. package/src/lib/components/accordion/preset/accordion-preset.js +6 -6
  17. package/src/lib/components/accordion/use-accordion.d.ts +8 -9
  18. package/src/lib/components/accordion/use-accordion.js +9 -10
  19. package/src/lib/components/accordion/use-accordion.js.map +1 -1
  20. package/src/lib/components/action-panel/action-panel.d.ts +3 -4
  21. package/src/lib/components/action-panel/action-panel.js +3 -4
  22. package/src/lib/components/action-panel/action-panel.js.map +1 -1
  23. package/src/lib/components/action-panel/action-panel.types.d.ts +1 -1
  24. package/src/lib/components/action-panel/standard/action-panel-standard.d.ts +4 -5
  25. package/src/lib/components/action-panel/standard/action-panel-standard.js +4 -5
  26. package/src/lib/components/action-panel/standard/action-panel-standard.js.map +1 -1
  27. package/src/lib/components/alert/alert.d.ts +3 -5
  28. package/src/lib/components/alert/alert.js +3 -5
  29. package/src/lib/components/alert/alert.js.map +1 -1
  30. package/src/lib/components/alert/alert.types.d.ts +4 -4
  31. package/src/lib/components/alert/standard/alert-standard.d.ts +3 -3
  32. package/src/lib/components/alert/standard/alert-standard.js +3 -3
  33. package/src/lib/components/alert/use-alert.d.ts +4 -5
  34. package/src/lib/components/alert/use-alert.js +4 -5
  35. package/src/lib/components/alert/use-alert.js.map +1 -1
  36. package/src/lib/components/app/app.d.ts +3 -3
  37. package/src/lib/components/app/app.js +3 -3
  38. package/src/lib/components/app/app.types.d.ts +1 -1
  39. package/src/lib/components/app/standard/app-standard.d.ts +1 -2
  40. package/src/lib/components/app/standard/app-standard.js +1 -2
  41. package/src/lib/components/app/standard/app-standard.js.map +1 -1
  42. package/src/lib/components/app/use-app.d.ts +2 -3
  43. package/src/lib/components/app/use-app.js +2 -3
  44. package/src/lib/components/app/use-app.js.map +1 -1
  45. package/src/lib/components/avatar/avatar.d.ts +2 -3
  46. package/src/lib/components/avatar/avatar.js +2 -3
  47. package/src/lib/components/avatar/avatar.js.map +1 -1
  48. package/src/lib/components/avatar/preset/avatar-preset.d.ts +2 -3
  49. package/src/lib/components/avatar/preset/avatar-preset.js +2 -3
  50. package/src/lib/components/avatar/preset/avatar-preset.js.map +1 -1
  51. package/src/lib/components/avatar/standard/avatar-standard.d.ts +3 -3
  52. package/src/lib/components/avatar/standard/avatar-standard.js +3 -3
  53. package/src/lib/components/avatar/use-avatar.d.ts +2 -2
  54. package/src/lib/components/avatar/use-avatar.js +2 -2
  55. package/src/lib/components/badge/badge.d.ts +2 -3
  56. package/src/lib/components/badge/badge.js +2 -3
  57. package/src/lib/components/badge/badge.js.map +1 -1
  58. package/src/lib/components/badge/badge.types.d.ts +1 -1
  59. package/src/lib/components/badge/preset/badge-preset.d.ts +2 -3
  60. package/src/lib/components/badge/preset/badge-preset.js +2 -3
  61. package/src/lib/components/badge/preset/badge-preset.js.map +1 -1
  62. package/src/lib/components/badge/standard/badge-standard.d.ts +3 -3
  63. package/src/lib/components/badge/standard/badge-standard.js +3 -3
  64. package/src/lib/components/badge/use-badge.d.ts +2 -3
  65. package/src/lib/components/badge/use-badge.js +2 -3
  66. package/src/lib/components/badge/use-badge.js.map +1 -1
  67. package/src/lib/components/breadcrumbs/breadcrumbs.d.ts +2 -4
  68. package/src/lib/components/breadcrumbs/breadcrumbs.js +2 -4
  69. package/src/lib/components/breadcrumbs/breadcrumbs.js.map +1 -1
  70. package/src/lib/components/breadcrumbs/breadcrumbs.types.d.ts +1 -1
  71. package/src/lib/components/breadcrumbs/preset/breadcrumbs-preset.d.ts +2 -2
  72. package/src/lib/components/breadcrumbs/preset/breadcrumbs-preset.js +2 -2
  73. package/src/lib/components/breadcrumbs/standard/breadcrumbs-standard.d.ts +3 -3
  74. package/src/lib/components/breadcrumbs/standard/breadcrumbs-standard.js +3 -3
  75. package/src/lib/components/breadcrumbs/use-breadcrumbs.d.ts +2 -4
  76. package/src/lib/components/breadcrumbs/use-breadcrumbs.js +2 -4
  77. package/src/lib/components/breadcrumbs/use-breadcrumbs.js.map +1 -1
  78. package/src/lib/components/button/button.d.ts +2 -3
  79. package/src/lib/components/button/button.js +2 -3
  80. package/src/lib/components/button/button.js.map +1 -1
  81. package/src/lib/components/button/standard/button-standard.d.ts +1 -1
  82. package/src/lib/components/button/standard/button-standard.js +1 -1
  83. package/src/lib/components/button/standard/button-standard.js.map +1 -1
  84. package/src/lib/components/button/use-button.d.ts +3 -4
  85. package/src/lib/components/button/use-button.js +3 -4
  86. package/src/lib/components/button/use-button.js.map +1 -1
  87. package/src/lib/components/button-group/button-group.d.ts +2 -4
  88. package/src/lib/components/button-group/button-group.js +2 -4
  89. package/src/lib/components/button-group/button-group.js.map +1 -1
  90. package/src/lib/components/button-group/button-group.types.d.ts +4 -4
  91. package/src/lib/components/button-group/standard/button-group-standard.d.ts +2 -2
  92. package/src/lib/components/button-group/standard/button-group-standard.js +2 -2
  93. package/src/lib/components/button-group/use-button-group.d.ts +3 -4
  94. package/src/lib/components/button-group/use-button-group.js +3 -4
  95. package/src/lib/components/button-group/use-button-group.js.map +1 -1
  96. package/src/lib/components/calendar/calendar.d.ts +4 -5
  97. package/src/lib/components/calendar/calendar.js +4 -5
  98. package/src/lib/components/calendar/calendar.js.map +1 -1
  99. package/src/lib/components/calendar/calendar.types.d.ts +9 -13
  100. package/src/lib/components/calendar/preset/calendar-preset.d.ts +4 -4
  101. package/src/lib/components/calendar/preset/calendar-preset.js +4 -4
  102. package/src/lib/components/calendar/standard/calendar-standard.d.ts +5 -5
  103. package/src/lib/components/calendar/standard/calendar-standard.js +5 -5
  104. package/src/lib/components/calendar/use-calendar.d.ts +5 -6
  105. package/src/lib/components/calendar/use-calendar.js +9 -10
  106. package/src/lib/components/calendar/use-calendar.js.map +1 -1
  107. package/src/lib/components/card/card.d.ts +4 -6
  108. package/src/lib/components/card/card.js +4 -6
  109. package/src/lib/components/card/card.js.map +1 -1
  110. package/src/lib/components/card/card.types.d.ts +6 -7
  111. package/src/lib/components/card/standard/card-standard.d.ts +2 -2
  112. package/src/lib/components/card/standard/card-standard.js +2 -2
  113. package/src/lib/components/card/use-card.d.ts +2 -3
  114. package/src/lib/components/card/use-card.js +2 -3
  115. package/src/lib/components/card/use-card.js.map +1 -1
  116. package/src/lib/components/card-heading/card-heading.d.ts +2 -4
  117. package/src/lib/components/card-heading/card-heading.js +2 -4
  118. package/src/lib/components/card-heading/card-heading.js.map +1 -1
  119. package/src/lib/components/card-heading/standard/card-heading-standard.d.ts +3 -3
  120. package/src/lib/components/card-heading/standard/card-heading-standard.js +3 -3
  121. package/src/lib/components/command-palette/command-palette.d.ts +4 -5
  122. package/src/lib/components/command-palette/command-palette.js +4 -5
  123. package/src/lib/components/command-palette/command-palette.js.map +1 -1
  124. package/src/lib/components/command-palette/command-palette.types.d.ts +5 -7
  125. package/src/lib/components/command-palette/standard/command-palette-standard.d.ts +4 -4
  126. package/src/lib/components/command-palette/standard/command-palette-standard.js +4 -4
  127. package/src/lib/components/command-palette/use-command-palette.d.ts +4 -5
  128. package/src/lib/components/command-palette/use-command-palette.js +5 -7
  129. package/src/lib/components/command-palette/use-command-palette.js.map +1 -1
  130. package/src/lib/components/container/container.d.ts +2 -3
  131. package/src/lib/components/container/container.js +2 -3
  132. package/src/lib/components/container/container.js.map +1 -1
  133. package/src/lib/components/container/standard/container-standard.d.ts +3 -3
  134. package/src/lib/components/container/standard/container-standard.js +3 -3
  135. package/src/lib/components/date-edit/date-edit.d.ts +3 -4
  136. package/src/lib/components/date-edit/date-edit.js +6 -7
  137. package/src/lib/components/date-edit/date-edit.js.map +1 -1
  138. package/src/lib/components/date-edit/date-edit.types.d.ts +10 -12
  139. package/src/lib/components/date-edit/preset/date-edit-preset.d.ts +2 -3
  140. package/src/lib/components/date-edit/preset/date-edit-preset.js +8 -10
  141. package/src/lib/components/date-edit/preset/date-edit-preset.js.map +1 -1
  142. package/src/lib/components/date-edit/standard/date-edit-standard.d.ts +2 -3
  143. package/src/lib/components/date-edit/standard/date-edit-standard.js +3 -4
  144. package/src/lib/components/date-edit/standard/date-edit-standard.js.map +1 -1
  145. package/src/lib/components/date-edit/use-date-edit.d.ts +4 -5
  146. package/src/lib/components/date-edit/use-date-edit.js +18 -19
  147. package/src/lib/components/date-edit/use-date-edit.js.map +1 -1
  148. package/src/lib/components/date-range/date-range.d.ts +3 -4
  149. package/src/lib/components/date-range/date-range.js +5 -7
  150. package/src/lib/components/date-range/date-range.js.map +1 -1
  151. package/src/lib/components/date-range/date-range.types.d.ts +8 -14
  152. package/src/lib/components/date-range/preset/date-range-preset.d.ts +2 -2
  153. package/src/lib/components/date-range/preset/date-range-preset.js +2 -2
  154. package/src/lib/components/date-range/standard/date-range-modal-standard.d.ts +3 -4
  155. package/src/lib/components/date-range/standard/date-range-modal-standard.js +3 -4
  156. package/src/lib/components/date-range/standard/date-range-modal-standard.js.map +1 -1
  157. package/src/lib/components/date-range/standard/date-range-standard.d.ts +2 -3
  158. package/src/lib/components/date-range/standard/date-range-standard.js +2 -3
  159. package/src/lib/components/date-range/standard/date-range-standard.js.map +1 -1
  160. package/src/lib/components/date-range/use-date-range-modal.d.ts +2 -3
  161. package/src/lib/components/date-range/use-date-range-modal.js +9 -14
  162. package/src/lib/components/date-range/use-date-range-modal.js.map +1 -1
  163. package/src/lib/components/date-range/use-date-range.d.ts +2 -3
  164. package/src/lib/components/date-range/use-date-range.js +20 -21
  165. package/src/lib/components/date-range/use-date-range.js.map +1 -1
  166. package/src/lib/components/description-list/description-list.d.ts +2 -4
  167. package/src/lib/components/description-list/description-list.js +2 -4
  168. package/src/lib/components/description-list/description-list.js.map +1 -1
  169. package/src/lib/components/description-list/preset/description-list-preset.d.ts +3 -4
  170. package/src/lib/components/description-list/preset/description-list-preset.js +3 -4
  171. package/src/lib/components/description-list/preset/description-list-preset.js.map +1 -1
  172. package/src/lib/components/description-list/standard/description-list-standard.d.ts +3 -4
  173. package/src/lib/components/description-list/standard/description-list-standard.js +3 -4
  174. package/src/lib/components/description-list/standard/description-list-standard.js.map +1 -1
  175. package/src/lib/components/detail/address/detail-address.d.ts +2 -2
  176. package/src/lib/components/detail/address/detail-address.js +2 -2
  177. package/src/lib/components/detail/address/preset/detail-address-preset.d.ts +1 -2
  178. package/src/lib/components/detail/address/preset/detail-address-preset.js +1 -2
  179. package/src/lib/components/detail/address/preset/detail-address-preset.js.map +1 -1
  180. package/src/lib/components/detail/address/use-detail-address.d.ts +2 -2
  181. package/src/lib/components/detail/address/use-detail-address.js +2 -2
  182. package/src/lib/components/detail/array/detail-array.d.ts +2 -3
  183. package/src/lib/components/detail/array/detail-array.js +2 -3
  184. package/src/lib/components/detail/array/detail-array.js.map +1 -1
  185. package/src/lib/components/detail/array/preset/detail-array-preset.d.ts +2 -2
  186. package/src/lib/components/detail/array/preset/detail-array-preset.js +2 -2
  187. package/src/lib/components/detail/array/use-detail-array.d.ts +2 -3
  188. package/src/lib/components/detail/array/use-detail-array.js +2 -3
  189. package/src/lib/components/detail/array/use-detail-array.js.map +1 -1
  190. package/src/lib/components/detail/attachment/detail-attachment.d.ts +1 -1
  191. package/src/lib/components/detail/attachment/detail-attachment.js +1 -1
  192. package/src/lib/components/detail/attachment/detail-attachment.js.map +1 -1
  193. package/src/lib/components/detail/attachment/preset/detail-attachment-preset.d.ts +2 -2
  194. package/src/lib/components/detail/attachment/preset/detail-attachment-preset.js +2 -2
  195. package/src/lib/components/detail/attachment/use-detail-attachment.d.ts +3 -4
  196. package/src/lib/components/detail/attachment/use-detail-attachment.js +3 -4
  197. package/src/lib/components/detail/attachment/use-detail-attachment.js.map +1 -1
  198. package/src/lib/components/detail/color/detail-color.d.ts +1 -1
  199. package/src/lib/components/detail/color/detail-color.js +1 -1
  200. package/src/lib/components/detail/color/detail-color.js.map +1 -1
  201. package/src/lib/components/detail/color/preset/detail-color-preset.d.ts +1 -2
  202. package/src/lib/components/detail/color/preset/detail-color-preset.js +1 -2
  203. package/src/lib/components/detail/color/preset/detail-color-preset.js.map +1 -1
  204. package/src/lib/components/detail/date-range/detail-date-range.d.ts +1 -1
  205. package/src/lib/components/detail/date-range/detail-date-range.js +1 -1
  206. package/src/lib/components/detail/date-range/detail-date-range.js.map +1 -1
  207. package/src/lib/components/detail/date-range/preset/detail-date-range-preset.d.ts +1 -2
  208. package/src/lib/components/detail/date-range/preset/detail-date-range-preset.js +1 -2
  209. package/src/lib/components/detail/date-range/preset/detail-date-range-preset.js.map +1 -1
  210. package/src/lib/components/detail/default-field-components.d.ts +4 -5
  211. package/src/lib/components/detail/default-field-components.js +4 -5
  212. package/src/lib/components/detail/default-field-components.js.map +1 -1
  213. package/src/lib/components/detail/detail.d.ts +6 -7
  214. package/src/lib/components/detail/detail.js +6 -7
  215. package/src/lib/components/detail/detail.js.map +1 -1
  216. package/src/lib/components/detail/detail.types.d.ts +2 -5
  217. package/src/lib/components/detail/email/detail-email.d.ts +1 -1
  218. package/src/lib/components/detail/email/detail-email.js +1 -1
  219. package/src/lib/components/detail/email/detail-email.js.map +1 -1
  220. package/src/lib/components/detail/email/preset/detail-email-preset.d.ts +1 -2
  221. package/src/lib/components/detail/email/preset/detail-email-preset.js +1 -2
  222. package/src/lib/components/detail/email/preset/detail-email-preset.js.map +1 -1
  223. package/src/lib/components/detail/enum/detail-enum.d.ts +1 -2
  224. package/src/lib/components/detail/enum/detail-enum.js +1 -2
  225. package/src/lib/components/detail/enum/detail-enum.js.map +1 -1
  226. package/src/lib/components/detail/enum/preset/detail-enum-preset.d.ts +1 -2
  227. package/src/lib/components/detail/enum/preset/detail-enum-preset.js +1 -2
  228. package/src/lib/components/detail/enum/preset/detail-enum-preset.js.map +1 -1
  229. package/src/lib/components/detail/enum/use-detail-enum.d.ts +2 -2
  230. package/src/lib/components/detail/enum/use-detail-enum.js +2 -2
  231. package/src/lib/components/detail/flag/detail-flag.d.ts +1 -2
  232. package/src/lib/components/detail/flag/detail-flag.js +1 -2
  233. package/src/lib/components/detail/flag/detail-flag.js.map +1 -1
  234. package/src/lib/components/detail/flag/preset/detail-flag-preset.d.ts +2 -2
  235. package/src/lib/components/detail/flag/preset/detail-flag-preset.js +2 -2
  236. package/src/lib/components/detail/image/detail-image.d.ts +1 -1
  237. package/src/lib/components/detail/image/detail-image.js +1 -1
  238. package/src/lib/components/detail/image/detail-image.js.map +1 -1
  239. package/src/lib/components/detail/image/preset/detail-image-preset.d.ts +1 -2
  240. package/src/lib/components/detail/image/preset/detail-image-preset.js +1 -2
  241. package/src/lib/components/detail/image/preset/detail-image-preset.js.map +1 -1
  242. package/src/lib/components/detail/image/use-detail-image.d.ts +2 -2
  243. package/src/lib/components/detail/image/use-detail-image.js +2 -2
  244. package/src/lib/components/detail/logo/detail-logo.d.ts +1 -1
  245. package/src/lib/components/detail/logo/detail-logo.js +1 -1
  246. package/src/lib/components/detail/logo/detail-logo.js.map +1 -1
  247. package/src/lib/components/detail/logo/preset/detail-logo-preset.d.ts +1 -1
  248. package/src/lib/components/detail/logo/preset/detail-logo-preset.js +1 -1
  249. package/src/lib/components/detail/logo/preset/detail-logo-preset.js.map +1 -1
  250. package/src/lib/components/detail/object/detail-object.d.ts +2 -3
  251. package/src/lib/components/detail/object/detail-object.js +2 -3
  252. package/src/lib/components/detail/object/detail-object.js.map +1 -1
  253. package/src/lib/components/detail/object/preset/detail-object-preset.d.ts +2 -2
  254. package/src/lib/components/detail/object/preset/detail-object-preset.js +2 -2
  255. package/src/lib/components/detail/object/use-detail-object.d.ts +3 -3
  256. package/src/lib/components/detail/object/use-detail-object.js +3 -3
  257. package/src/lib/components/detail/pdf/detail-pdf.d.ts +1 -1
  258. package/src/lib/components/detail/pdf/detail-pdf.js +1 -1
  259. package/src/lib/components/detail/pdf/detail-pdf.js.map +1 -1
  260. package/src/lib/components/detail/pdf/preset/detail-pdf-preset.d.ts +2 -2
  261. package/src/lib/components/detail/pdf/preset/detail-pdf-preset.js +2 -2
  262. package/src/lib/components/detail/pdf/use-detail-pdf.d.ts +3 -3
  263. package/src/lib/components/detail/pdf/use-detail-pdf.js +3 -3
  264. package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.d.ts +2 -3
  265. package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.js +2 -3
  266. package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.js.map +1 -1
  267. package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.d.ts +1 -2
  268. package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.js +1 -2
  269. package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.js.map +1 -1
  270. package/src/lib/components/detail/preset-fields.d.ts +2 -2
  271. package/src/lib/components/detail/preset-fields.js +2 -2
  272. package/src/lib/components/detail/text/detail-text.d.ts +3 -3
  273. package/src/lib/components/detail/text/detail-text.js +3 -3
  274. package/src/lib/components/detail/text/preset/detail-text-preset.d.ts +2 -2
  275. package/src/lib/components/detail/text/preset/detail-text-preset.js +2 -2
  276. package/src/lib/components/detail/use-detail.d.ts +4 -4
  277. package/src/lib/components/detail/use-detail.js +4 -4
  278. package/src/lib/components/detail/video/detail-video.d.ts +1 -1
  279. package/src/lib/components/detail/video/detail-video.js +1 -1
  280. package/src/lib/components/detail/video/detail-video.js.map +1 -1
  281. package/src/lib/components/detail/video/preset/detail-video-preset.d.ts +1 -2
  282. package/src/lib/components/detail/video/preset/detail-video-preset.js +1 -2
  283. package/src/lib/components/detail/video/preset/detail-video-preset.js.map +1 -1
  284. package/src/lib/components/detail/video/use-detail-video.d.ts +2 -2
  285. package/src/lib/components/detail/video/use-detail-video.js +2 -2
  286. package/src/lib/components/details/details.d.ts +3 -5
  287. package/src/lib/components/details/details.js +3 -5
  288. package/src/lib/components/details/details.js.map +1 -1
  289. package/src/lib/components/details/standard/details-standard.d.ts +3 -3
  290. package/src/lib/components/details/standard/details-standard.js +3 -3
  291. package/src/lib/components/details/use-details-modal.d.ts +6 -7
  292. package/src/lib/components/details/use-details-modal.js +2 -3
  293. package/src/lib/components/details/use-details-modal.js.map +1 -1
  294. package/src/lib/components/details/use-details.d.ts +1 -1
  295. package/src/lib/components/details/use-details.js +1 -1
  296. package/src/lib/components/divider/divider.d.ts +2 -3
  297. package/src/lib/components/divider/divider.js +2 -3
  298. package/src/lib/components/divider/divider.js.map +1 -1
  299. package/src/lib/components/divider/divider.types.d.ts +1 -1
  300. package/src/lib/components/divider/standard/divider-standard.d.ts +2 -2
  301. package/src/lib/components/divider/standard/divider-standard.js +2 -2
  302. package/src/lib/components/drawer/drawer.d.ts +4 -5
  303. package/src/lib/components/drawer/drawer.js +4 -5
  304. package/src/lib/components/drawer/drawer.js.map +1 -1
  305. package/src/lib/components/drawer/drawer.types.d.ts +3 -3
  306. package/src/lib/components/drawer/standard/drawer-standard.d.ts +1 -1
  307. package/src/lib/components/drawer/standard/drawer-standard.js +1 -1
  308. package/src/lib/components/drawer/standard/drawer-standard.js.map +1 -1
  309. package/src/lib/components/drawer/use-drawer.d.ts +3 -4
  310. package/src/lib/components/drawer/use-drawer.js +3 -4
  311. package/src/lib/components/drawer/use-drawer.js.map +1 -1
  312. package/src/lib/components/dropdown/dropdown.d.ts +4 -5
  313. package/src/lib/components/dropdown/dropdown.js +4 -5
  314. package/src/lib/components/dropdown/dropdown.js.map +1 -1
  315. package/src/lib/components/dropdown/dropdown.types.d.ts +4 -4
  316. package/src/lib/components/dropdown/preset/dropdown-preset.d.ts +6 -7
  317. package/src/lib/components/dropdown/preset/dropdown-preset.js +6 -7
  318. package/src/lib/components/dropdown/preset/dropdown-preset.js.map +1 -1
  319. package/src/lib/components/dropdown/standard/dropdown-standard.d.ts +1 -1
  320. package/src/lib/components/dropdown/standard/dropdown-standard.js +1 -1
  321. package/src/lib/components/dropdown/standard/dropdown-standard.js.map +1 -1
  322. package/src/lib/components/dropdown/use-dropdown.d.ts +4 -5
  323. package/src/lib/components/dropdown/use-dropdown.js +4 -5
  324. package/src/lib/components/dropdown/use-dropdown.js.map +1 -1
  325. package/src/lib/components/empty-state/empty-state.d.ts +3 -5
  326. package/src/lib/components/empty-state/empty-state.js +3 -5
  327. package/src/lib/components/empty-state/empty-state.js.map +1 -1
  328. package/src/lib/components/empty-state/empty-state.types.d.ts +2 -2
  329. package/src/lib/components/empty-state/standard/empty-state-standard.d.ts +4 -4
  330. package/src/lib/components/empty-state/standard/empty-state-standard.js +4 -4
  331. package/src/lib/components/export/export.d.ts +4 -5
  332. package/src/lib/components/export/export.js +4 -5
  333. package/src/lib/components/export/export.js.map +1 -1
  334. package/src/lib/components/export/export.types.d.ts +1 -1
  335. package/src/lib/components/export/use-export.d.ts +2 -2
  336. package/src/lib/components/export/use-export.js +2 -2
  337. package/src/lib/components/feed/feed.d.ts +2 -3
  338. package/src/lib/components/feed/feed.js +2 -3
  339. package/src/lib/components/feed/feed.js.map +1 -1
  340. package/src/lib/components/feed/standard/feed-standard.d.ts +4 -4
  341. package/src/lib/components/feed/standard/feed-standard.js +4 -4
  342. package/src/lib/components/form/form.d.ts +10 -14
  343. package/src/lib/components/form/form.js +20 -26
  344. package/src/lib/components/form/form.js.map +1 -1
  345. package/src/lib/components/form/form.types.d.ts +6 -7
  346. package/src/lib/components/form/preset/form-preset.d.ts +1 -1
  347. package/src/lib/components/form/preset/form-preset.js +1 -1
  348. package/src/lib/components/form/standard/form-standard.d.ts +1 -1
  349. package/src/lib/components/form/standard/form-standard.js +1 -1
  350. package/src/lib/components/form/standard/form-standard.js.map +1 -1
  351. package/src/lib/components/form/use-form-base.d.ts +5 -6
  352. package/src/lib/components/form/use-form-base.js +9 -13
  353. package/src/lib/components/form/use-form-base.js.map +1 -1
  354. package/src/lib/components/grid-list/grid-list.d.ts +2 -3
  355. package/src/lib/components/grid-list/grid-list.js +2 -3
  356. package/src/lib/components/grid-list/grid-list.js.map +1 -1
  357. package/src/lib/components/grid-list/preset/grid-list-preset.d.ts +2 -3
  358. package/src/lib/components/grid-list/preset/grid-list-preset.js +2 -3
  359. package/src/lib/components/grid-list/preset/grid-list-preset.js.map +1 -1
  360. package/src/lib/components/grid-list/standard/grid-list-standard.d.ts +3 -4
  361. package/src/lib/components/grid-list/standard/grid-list-standard.js +3 -4
  362. package/src/lib/components/grid-list/standard/grid-list-standard.js.map +1 -1
  363. package/src/lib/components/icon/icon.d.ts +1 -1
  364. package/src/lib/components/icon/icon.js +1 -1
  365. package/src/lib/components/icon/icon.js.map +1 -1
  366. package/src/lib/components/icon/icon.types.d.ts +1 -1
  367. package/src/lib/components/icon/preset/preset-classes.d.ts +1 -1
  368. package/src/lib/components/icon/preset/preset-classes.js +2 -2
  369. package/src/lib/components/icon/preset/preset-classes.js.map +1 -1
  370. package/src/lib/components/import/import.d.ts +4 -5
  371. package/src/lib/components/import/import.js +4 -5
  372. package/src/lib/components/import/import.js.map +1 -1
  373. package/src/lib/components/import/import.types.d.ts +2 -2
  374. package/src/lib/components/import/use-import.d.ts +3 -3
  375. package/src/lib/components/import/use-import.js +4 -4
  376. package/src/lib/components/import/use-import.js.map +1 -1
  377. package/src/lib/components/info/info.d.ts +2 -3
  378. package/src/lib/components/info/info.js +2 -3
  379. package/src/lib/components/info/info.js.map +1 -1
  380. package/src/lib/components/info/standard/info-standard.d.ts +3 -3
  381. package/src/lib/components/info/standard/info-standard.js +3 -3
  382. package/src/lib/components/info/use-info.d.ts +2 -2
  383. package/src/lib/components/info/use-info.js +2 -2
  384. package/src/lib/components/input/address/input-address.d.ts +4 -4
  385. package/src/lib/components/input/address/input-address.js +4 -4
  386. package/src/lib/components/input/address/preset/input-address-preset.d.ts +4 -5
  387. package/src/lib/components/input/address/preset/input-address-preset.js +4 -5
  388. package/src/lib/components/input/address/preset/input-address-preset.js.map +1 -1
  389. package/src/lib/components/input/address/use-input-address.d.ts +4 -5
  390. package/src/lib/components/input/address/use-input-address.js +4 -5
  391. package/src/lib/components/input/address/use-input-address.js.map +1 -1
  392. package/src/lib/components/input/array/input-array.d.ts +4 -5
  393. package/src/lib/components/input/array/input-array.js +4 -5
  394. package/src/lib/components/input/array/input-array.js.map +1 -1
  395. package/src/lib/components/input/array/preset/input-array-preset.d.ts +3 -3
  396. package/src/lib/components/input/array/preset/input-array-preset.js +3 -3
  397. package/src/lib/components/input/array/use-input-array.d.ts +3 -5
  398. package/src/lib/components/input/array/use-input-array.js +9 -11
  399. package/src/lib/components/input/array/use-input-array.js.map +1 -1
  400. package/src/lib/components/input/attachment/input-attachment.d.ts +2 -3
  401. package/src/lib/components/input/attachment/input-attachment.js +2 -3
  402. package/src/lib/components/input/attachment/input-attachment.js.map +1 -1
  403. package/src/lib/components/input/attachment/preset/input-attachment-preset.d.ts +1 -2
  404. package/src/lib/components/input/attachment/preset/input-attachment-preset.js +1 -2
  405. package/src/lib/components/input/attachment/preset/input-attachment-preset.js.map +1 -1
  406. package/src/lib/components/input/base/use-input-file.d.ts +4 -5
  407. package/src/lib/components/input/base/use-input-file.js +4 -5
  408. package/src/lib/components/input/base/use-input-file.js.map +1 -1
  409. package/src/lib/components/input/base/use-input-possibilities.d.ts +1 -2
  410. package/src/lib/components/input/base/use-input-possibilities.js +1 -2
  411. package/src/lib/components/input/base/use-input-possibilities.js.map +1 -1
  412. package/src/lib/components/input/base/use-input.d.ts +4 -5
  413. package/src/lib/components/input/base/use-input.js +6 -7
  414. package/src/lib/components/input/base/use-input.js.map +1 -1
  415. package/src/lib/components/input/check/input-check.d.ts +3 -4
  416. package/src/lib/components/input/check/input-check.js +3 -4
  417. package/src/lib/components/input/check/input-check.js.map +1 -1
  418. package/src/lib/components/input/check/preset/input-check-preset.d.ts +2 -3
  419. package/src/lib/components/input/check/preset/input-check-preset.js +2 -3
  420. package/src/lib/components/input/check/preset/input-check-preset.js.map +1 -1
  421. package/src/lib/components/input/check/use-input-check.d.ts +9 -12
  422. package/src/lib/components/input/check/use-input-check.js +9 -12
  423. package/src/lib/components/input/check/use-input-check.js.map +1 -1
  424. package/src/lib/components/input/color/input-color.d.ts +2 -4
  425. package/src/lib/components/input/color/input-color.js +2 -4
  426. package/src/lib/components/input/color/input-color.js.map +1 -1
  427. package/src/lib/components/input/color/preset/input-color-preset.d.ts +2 -3
  428. package/src/lib/components/input/color/preset/input-color-preset.js +2 -3
  429. package/src/lib/components/input/color/preset/input-color-preset.js.map +1 -1
  430. package/src/lib/components/input/color/use-input-color.d.ts +4 -4
  431. package/src/lib/components/input/color/use-input-color.js +5 -5
  432. package/src/lib/components/input/color/use-input-color.js.map +1 -1
  433. package/src/lib/components/input/currency/input-currency.d.ts +2 -4
  434. package/src/lib/components/input/currency/input-currency.js +2 -4
  435. package/src/lib/components/input/currency/input-currency.js.map +1 -1
  436. package/src/lib/components/input/currency/preset/input-currency-preset.d.ts +2 -3
  437. package/src/lib/components/input/currency/preset/input-currency-preset.js +2 -3
  438. package/src/lib/components/input/currency/preset/input-currency-preset.js.map +1 -1
  439. package/src/lib/components/input/date/input-date.d.ts +4 -7
  440. package/src/lib/components/input/date/input-date.js +4 -7
  441. package/src/lib/components/input/date/input-date.js.map +1 -1
  442. package/src/lib/components/input/date/preset/input-date-preset.d.ts +4 -5
  443. package/src/lib/components/input/date/preset/input-date-preset.js +4 -5
  444. package/src/lib/components/input/date/preset/input-date-preset.js.map +1 -1
  445. package/src/lib/components/input/date-range/input-date-range.d.ts +5 -8
  446. package/src/lib/components/input/date-range/input-date-range.js +5 -8
  447. package/src/lib/components/input/date-range/input-date-range.js.map +1 -1
  448. package/src/lib/components/input/date-range/preset/input-date-range-preset.d.ts +6 -8
  449. package/src/lib/components/input/date-range/preset/input-date-range-preset.js +6 -8
  450. package/src/lib/components/input/date-range/preset/input-date-range-preset.js.map +1 -1
  451. package/src/lib/components/input/date-with-edit/input-date-with-edit.d.ts +6 -9
  452. package/src/lib/components/input/date-with-edit/input-date-with-edit.js +6 -9
  453. package/src/lib/components/input/date-with-edit/input-date-with-edit.js.map +1 -1
  454. package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.d.ts +7 -8
  455. package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.js +7 -8
  456. package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.js.map +1 -1
  457. package/src/lib/components/input/default-field-components.js +4 -5
  458. package/src/lib/components/input/default-field-components.js.map +1 -1
  459. package/src/lib/components/input/email/input-email.d.ts +2 -3
  460. package/src/lib/components/input/email/input-email.js +2 -3
  461. package/src/lib/components/input/email/input-email.js.map +1 -1
  462. package/src/lib/components/input/email/preset/input-email-preset.d.ts +2 -3
  463. package/src/lib/components/input/email/preset/input-email-preset.js +2 -3
  464. package/src/lib/components/input/email/preset/input-email-preset.js.map +1 -1
  465. package/src/lib/components/input/enum/input-enum.d.ts +3 -4
  466. package/src/lib/components/input/enum/input-enum.js +3 -4
  467. package/src/lib/components/input/enum/input-enum.js.map +1 -1
  468. package/src/lib/components/input/enum/preset/input-enum-preset.d.ts +4 -5
  469. package/src/lib/components/input/enum/preset/input-enum-preset.js +4 -5
  470. package/src/lib/components/input/enum/preset/input-enum-preset.js.map +1 -1
  471. package/src/lib/components/input/error/input-error-messages.d.ts +3 -3
  472. package/src/lib/components/input/error/input-error-messages.js +3 -3
  473. package/src/lib/components/input/error/input-error.d.ts +1 -1
  474. package/src/lib/components/input/error/input-error.js +1 -1
  475. package/src/lib/components/input/error/input-error.js.map +1 -1
  476. package/src/lib/components/input/field-options.d.ts +2 -3
  477. package/src/lib/components/input/field-options.js +2 -3
  478. package/src/lib/components/input/field-options.js.map +1 -1
  479. package/src/lib/components/input/file/input-file.d.ts +4 -5
  480. package/src/lib/components/input/file/input-file.js +4 -5
  481. package/src/lib/components/input/file/input-file.js.map +1 -1
  482. package/src/lib/components/input/file/preset/input-file-preset.d.ts +4 -5
  483. package/src/lib/components/input/file/preset/input-file-preset.js +4 -5
  484. package/src/lib/components/input/file/preset/input-file-preset.js.map +1 -1
  485. package/src/lib/components/input/file/use-input-file-drop-zone.d.ts +4 -6
  486. package/src/lib/components/input/file/use-input-file-drop-zone.js +4 -6
  487. package/src/lib/components/input/file/use-input-file-drop-zone.js.map +1 -1
  488. package/src/lib/components/input/flag/input-flag.d.ts +1 -2
  489. package/src/lib/components/input/flag/input-flag.js +1 -2
  490. package/src/lib/components/input/flag/input-flag.js.map +1 -1
  491. package/src/lib/components/input/flag/preset/input-flag-preset.d.ts +2 -2
  492. package/src/lib/components/input/flag/preset/input-flag-preset.js +2 -2
  493. package/src/lib/components/input/float/input-float.d.ts +1 -2
  494. package/src/lib/components/input/float/input-float.js +1 -2
  495. package/src/lib/components/input/float/input-float.js.map +1 -1
  496. package/src/lib/components/input/float/preset/input-float-preset.d.ts +2 -3
  497. package/src/lib/components/input/float/preset/input-float-preset.js +2 -3
  498. package/src/lib/components/input/float/preset/input-float-preset.js.map +1 -1
  499. package/src/lib/components/input/image/input-image.d.ts +4 -5
  500. package/src/lib/components/input/image/input-image.js +4 -5
  501. package/src/lib/components/input/image/input-image.js.map +1 -1
  502. package/src/lib/components/input/image/preset/input-image-preset.d.ts +3 -4
  503. package/src/lib/components/input/image/preset/input-image-preset.js +3 -4
  504. package/src/lib/components/input/image/preset/input-image-preset.js.map +1 -1
  505. package/src/lib/components/input/image/use-input-image.d.ts +3 -4
  506. package/src/lib/components/input/image/use-input-image.js +3 -4
  507. package/src/lib/components/input/image/use-input-image.js.map +1 -1
  508. package/src/lib/components/input/input.d.ts +6 -8
  509. package/src/lib/components/input/input.js +6 -8
  510. package/src/lib/components/input/input.js.map +1 -1
  511. package/src/lib/components/input/input.types.d.ts +4 -5
  512. package/src/lib/components/input/int/input-int.d.ts +2 -3
  513. package/src/lib/components/input/int/input-int.js +2 -3
  514. package/src/lib/components/input/int/input-int.js.map +1 -1
  515. package/src/lib/components/input/int/number-value.d.ts +2 -3
  516. package/src/lib/components/input/int/number-value.js +2 -3
  517. package/src/lib/components/input/int/number-value.js.map +1 -1
  518. package/src/lib/components/input/int/preset/input-int-preset.d.ts +2 -2
  519. package/src/lib/components/input/int/preset/input-int-preset.js +2 -2
  520. package/src/lib/components/input/ints/input-ints.d.ts +2 -3
  521. package/src/lib/components/input/ints/input-ints.js +2 -3
  522. package/src/lib/components/input/ints/input-ints.js.map +1 -1
  523. package/src/lib/components/input/ints/preset/input-ints-preset.d.ts +3 -4
  524. package/src/lib/components/input/ints/preset/input-ints-preset.js +3 -4
  525. package/src/lib/components/input/ints/preset/input-ints-preset.js.map +1 -1
  526. package/src/lib/components/input/ints/use-input-ints.d.ts +6 -7
  527. package/src/lib/components/input/ints/use-input-ints.js +4 -5
  528. package/src/lib/components/input/ints/use-input-ints.js.map +1 -1
  529. package/src/lib/components/input/logo/input-logo.d.ts +5 -7
  530. package/src/lib/components/input/logo/input-logo.js +5 -7
  531. package/src/lib/components/input/logo/input-logo.js.map +1 -1
  532. package/src/lib/components/input/logo/preset/input-logo-preset.d.ts +5 -6
  533. package/src/lib/components/input/logo/preset/input-logo-preset.js +5 -6
  534. package/src/lib/components/input/logo/preset/input-logo-preset.js.map +1 -1
  535. package/src/lib/components/input/long-text/input-long-text.d.ts +3 -5
  536. package/src/lib/components/input/long-text/input-long-text.js +3 -5
  537. package/src/lib/components/input/long-text/input-long-text.js.map +1 -1
  538. package/src/lib/components/input/long-text/preset/input-long-text-preset.d.ts +3 -4
  539. package/src/lib/components/input/long-text/preset/input-long-text-preset.js +3 -4
  540. package/src/lib/components/input/long-text/preset/input-long-text-preset.js.map +1 -1
  541. package/src/lib/components/input/long-text/rich-text-commands.d.ts +3 -4
  542. package/src/lib/components/input/long-text/rich-text-commands.js +3 -4
  543. package/src/lib/components/input/long-text/rich-text-commands.js.map +1 -1
  544. package/src/lib/components/input/long-text/rich-text-editor.d.ts +3 -5
  545. package/src/lib/components/input/long-text/rich-text-editor.js +5 -7
  546. package/src/lib/components/input/long-text/rich-text-editor.js.map +1 -1
  547. package/src/lib/components/input/long-text/rich-text-menu.d.ts +4 -5
  548. package/src/lib/components/input/long-text/rich-text-menu.js +5 -6
  549. package/src/lib/components/input/long-text/rich-text-menu.js.map +1 -1
  550. package/src/lib/components/input/long-text/rich-text-popups.d.ts +7 -9
  551. package/src/lib/components/input/long-text/rich-text-popups.js +7 -9
  552. package/src/lib/components/input/long-text/rich-text-popups.js.map +1 -1
  553. package/src/lib/components/input/long-text/rich-text-toolbar.d.ts +9 -17
  554. package/src/lib/components/input/long-text/rich-text-toolbar.js +8 -16
  555. package/src/lib/components/input/long-text/rich-text-toolbar.js.map +1 -1
  556. package/src/lib/components/input/nip/input-nip.d.ts +3 -4
  557. package/src/lib/components/input/nip/input-nip.js +3 -4
  558. package/src/lib/components/input/nip/input-nip.js.map +1 -1
  559. package/src/lib/components/input/nip/preset/input-nip-preset.d.ts +3 -3
  560. package/src/lib/components/input/nip/preset/input-nip-preset.js +3 -3
  561. package/src/lib/components/input/nip/use-input-nip.d.ts +6 -6
  562. package/src/lib/components/input/nip/use-input-nip.js +6 -6
  563. package/src/lib/components/input/object/input-object.d.ts +1 -3
  564. package/src/lib/components/input/object/input-object.js +1 -3
  565. package/src/lib/components/input/object/input-object.js.map +1 -1
  566. package/src/lib/components/input/object/preset/input-object-preset.d.ts +2 -2
  567. package/src/lib/components/input/object/preset/input-object-preset.js +2 -2
  568. package/src/lib/components/input/object/use-input-object.d.ts +3 -3
  569. package/src/lib/components/input/object/use-input-object.js +3 -3
  570. package/src/lib/components/input/password/input-password.d.ts +4 -5
  571. package/src/lib/components/input/password/input-password.js +4 -5
  572. package/src/lib/components/input/password/input-password.js.map +1 -1
  573. package/src/lib/components/input/password/preset/input-password-preset.d.ts +4 -6
  574. package/src/lib/components/input/password/preset/input-password-preset.js +4 -6
  575. package/src/lib/components/input/password/preset/input-password-preset.js.map +1 -1
  576. package/src/lib/components/input/password/use-input-password.d.ts +4 -5
  577. package/src/lib/components/input/password/use-input-password.js +4 -5
  578. package/src/lib/components/input/password/use-input-password.js.map +1 -1
  579. package/src/lib/components/input/pdf/input-pdf.d.ts +4 -5
  580. package/src/lib/components/input/pdf/input-pdf.js +4 -5
  581. package/src/lib/components/input/pdf/input-pdf.js.map +1 -1
  582. package/src/lib/components/input/pdf/preset/input-pdf-preset.d.ts +5 -6
  583. package/src/lib/components/input/pdf/preset/input-pdf-preset.js +5 -6
  584. package/src/lib/components/input/pdf/preset/input-pdf-preset.js.map +1 -1
  585. package/src/lib/components/input/pesel/input-pesel.d.ts +3 -5
  586. package/src/lib/components/input/pesel/input-pesel.js +3 -5
  587. package/src/lib/components/input/pesel/input-pesel.js.map +1 -1
  588. package/src/lib/components/input/pesel/preset/input-pesel-preset.d.ts +4 -6
  589. package/src/lib/components/input/pesel/preset/input-pesel-preset.js +4 -6
  590. package/src/lib/components/input/pesel/preset/input-pesel-preset.js.map +1 -1
  591. package/src/lib/components/input/phone-number/input-phone-number.d.ts +3 -4
  592. package/src/lib/components/input/phone-number/input-phone-number.js +3 -4
  593. package/src/lib/components/input/phone-number/input-phone-number.js.map +1 -1
  594. package/src/lib/components/input/phone-number/preset/input-phone-number-preset.d.ts +1 -2
  595. package/src/lib/components/input/phone-number/preset/input-phone-number-preset.js +1 -2
  596. package/src/lib/components/input/phone-number/preset/input-phone-number-preset.js.map +1 -1
  597. package/src/lib/components/input/phone-number-pl/input-phone-number-pl.d.ts +2 -3
  598. package/src/lib/components/input/phone-number-pl/input-phone-number-pl.js +2 -3
  599. package/src/lib/components/input/phone-number-pl/input-phone-number-pl.js.map +1 -1
  600. package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.d.ts +3 -4
  601. package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.js +3 -4
  602. package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.js.map +1 -1
  603. package/src/lib/components/input/phone-number-pl/use-input-phone-number-pl.d.ts +7 -7
  604. package/src/lib/components/input/phone-number-pl/use-input-phone-number-pl.js +7 -7
  605. package/src/lib/components/input/preset-fields.d.ts +3 -4
  606. package/src/lib/components/input/preset-fields.js +3 -4
  607. package/src/lib/components/input/preset-fields.js.map +1 -1
  608. package/src/lib/components/input/radio/input-radio.d.ts +2 -3
  609. package/src/lib/components/input/radio/input-radio.js +2 -3
  610. package/src/lib/components/input/radio/input-radio.js.map +1 -1
  611. package/src/lib/components/input/radio/preset/input-radio-preset.d.ts +3 -3
  612. package/src/lib/components/input/radio/preset/input-radio-preset.js +3 -3
  613. package/src/lib/components/input/radio/use-input-radio.d.ts +8 -9
  614. package/src/lib/components/input/radio/use-input-radio.js +8 -9
  615. package/src/lib/components/input/radio/use-input-radio.js.map +1 -1
  616. package/src/lib/components/input/strings/input-strings.d.ts +6 -7
  617. package/src/lib/components/input/strings/input-strings.js +6 -7
  618. package/src/lib/components/input/strings/input-strings.js.map +1 -1
  619. package/src/lib/components/input/strings/preset/input-strings-preset.d.ts +4 -5
  620. package/src/lib/components/input/strings/preset/input-strings-preset.js +4 -5
  621. package/src/lib/components/input/strings/preset/input-strings-preset.js.map +1 -1
  622. package/src/lib/components/input/text/input-text.d.ts +2 -3
  623. package/src/lib/components/input/text/input-text.js +2 -3
  624. package/src/lib/components/input/text/input-text.js.map +1 -1
  625. package/src/lib/components/input/text/preset/input-text-preset.d.ts +2 -3
  626. package/src/lib/components/input/text/preset/input-text-preset.js +2 -3
  627. package/src/lib/components/input/text/preset/input-text-preset.js.map +1 -1
  628. package/src/lib/components/input/video/input-video.d.ts +4 -6
  629. package/src/lib/components/input/video/input-video.js +4 -6
  630. package/src/lib/components/input/video/input-video.js.map +1 -1
  631. package/src/lib/components/input/video/preset/input-video-preset.d.ts +6 -6
  632. package/src/lib/components/input/video/preset/input-video-preset.js +6 -6
  633. package/src/lib/components/input/video/use-input-video.d.ts +3 -5
  634. package/src/lib/components/input/video/use-input-video.js +4 -6
  635. package/src/lib/components/input/video/use-input-video.js.map +1 -1
  636. package/src/lib/components/list/desktop/list-desktop.d.ts +4 -5
  637. package/src/lib/components/list/desktop/list-desktop.js +4 -5
  638. package/src/lib/components/list/desktop/list-desktop.js.map +1 -1
  639. package/src/lib/components/list/desktop/preset/list-desktop-preset.d.ts +6 -7
  640. package/src/lib/components/list/desktop/preset/list-desktop-preset.js +6 -7
  641. package/src/lib/components/list/desktop/preset/list-desktop-preset.js.map +1 -1
  642. package/src/lib/components/list/desktop/use-list-desktop.d.ts +4 -8
  643. package/src/lib/components/list/desktop/use-list-desktop.js +4 -8
  644. package/src/lib/components/list/desktop/use-list-desktop.js.map +1 -1
  645. package/src/lib/components/list/list-title-key.d.ts +2 -3
  646. package/src/lib/components/list/list-title-key.js +2 -3
  647. package/src/lib/components/list/list-title-key.js.map +1 -1
  648. package/src/lib/components/list/list.d.ts +8 -10
  649. package/src/lib/components/list/list.js +8 -10
  650. package/src/lib/components/list/list.js.map +1 -1
  651. package/src/lib/components/list/list.types.d.ts +3 -4
  652. package/src/lib/components/list/masonry-grid/list-masonry-grid.d.ts +3 -5
  653. package/src/lib/components/list/masonry-grid/list-masonry-grid.js +3 -5
  654. package/src/lib/components/list/masonry-grid/list-masonry-grid.js.map +1 -1
  655. package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.d.ts +5 -6
  656. package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.js +5 -6
  657. package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.js.map +1 -1
  658. package/src/lib/components/list/masonry-grid/use-list-masonry-grid.d.ts +1 -2
  659. package/src/lib/components/list/masonry-grid/use-list-masonry-grid.js +1 -2
  660. package/src/lib/components/list/masonry-grid/use-list-masonry-grid.js.map +1 -1
  661. package/src/lib/components/list/mobile/list-mobile.d.ts +2 -3
  662. package/src/lib/components/list/mobile/list-mobile.js +2 -3
  663. package/src/lib/components/list/mobile/list-mobile.js.map +1 -1
  664. package/src/lib/components/list/mobile/preset/list-mobile-preset.d.ts +5 -6
  665. package/src/lib/components/list/mobile/preset/list-mobile-preset.js +5 -6
  666. package/src/lib/components/list/mobile/preset/list-mobile-preset.js.map +1 -1
  667. package/src/lib/components/list/preset-modes.d.ts +1 -2
  668. package/src/lib/components/list/preset-modes.js +1 -2
  669. package/src/lib/components/list/preset-modes.js.map +1 -1
  670. package/src/lib/components/list/use-list.d.ts +6 -6
  671. package/src/lib/components/list/use-list.js +9 -9
  672. package/src/lib/components/list/use-list.js.map +1 -1
  673. package/src/lib/components/list-container/list-container.d.ts +3 -5
  674. package/src/lib/components/list-container/list-container.js +3 -5
  675. package/src/lib/components/list-container/list-container.js.map +1 -1
  676. package/src/lib/components/list-container/list-container.types.d.ts +1 -1
  677. package/src/lib/components/list-container/standard/list-container-standard.d.ts +2 -3
  678. package/src/lib/components/list-container/standard/list-container-standard.js +2 -3
  679. package/src/lib/components/list-container/standard/list-container-standard.js.map +1 -1
  680. package/src/lib/components/loader/loader.d.ts +2 -3
  681. package/src/lib/components/loader/loader.js +2 -3
  682. package/src/lib/components/loader/loader.js.map +1 -1
  683. package/src/lib/components/loader/standard/loader-standard.d.ts +1 -1
  684. package/src/lib/components/loader/standard/loader-standard.js +1 -1
  685. package/src/lib/components/loader/standard/loader-standard.js.map +1 -1
  686. package/src/lib/components/loader/use-loader.d.ts +2 -3
  687. package/src/lib/components/loader/use-loader.js +4 -5
  688. package/src/lib/components/loader/use-loader.js.map +1 -1
  689. package/src/lib/components/media-object/media-object.d.ts +3 -5
  690. package/src/lib/components/media-object/media-object.js +3 -5
  691. package/src/lib/components/media-object/media-object.js.map +1 -1
  692. package/src/lib/components/media-object/media-object.types.d.ts +1 -1
  693. package/src/lib/components/media-object/standard/media-object-standard.d.ts +4 -4
  694. package/src/lib/components/media-object/standard/media-object-standard.js +4 -4
  695. package/src/lib/components/modal/modal.d.ts +5 -6
  696. package/src/lib/components/modal/modal.js +5 -6
  697. package/src/lib/components/modal/modal.js.map +1 -1
  698. package/src/lib/components/modal/modal.types.d.ts +4 -4
  699. package/src/lib/components/modal/standard/modal-standard.d.ts +3 -3
  700. package/src/lib/components/modal/standard/modal-standard.js +3 -3
  701. package/src/lib/components/modal/use-modal.d.ts +4 -5
  702. package/src/lib/components/modal/use-modal.js +4 -5
  703. package/src/lib/components/modal/use-modal.js.map +1 -1
  704. package/src/lib/components/multi-column-layout/multi-column-layout.d.ts +3 -5
  705. package/src/lib/components/multi-column-layout/multi-column-layout.js +3 -5
  706. package/src/lib/components/multi-column-layout/multi-column-layout.js.map +1 -1
  707. package/src/lib/components/multi-column-layout/multi-column-layout.types.d.ts +1 -1
  708. package/src/lib/components/multi-column-layout/standard/multi-column-layout-standard.d.ts +3 -3
  709. package/src/lib/components/multi-column-layout/standard/multi-column-layout-standard.js +3 -3
  710. package/src/lib/components/navbar/nav-link.d.ts +5 -5
  711. package/src/lib/components/navbar/nav-link.js +5 -5
  712. package/src/lib/components/navbar/navbar.d.ts +2 -3
  713. package/src/lib/components/navbar/navbar.js +2 -3
  714. package/src/lib/components/navbar/navbar.js.map +1 -1
  715. package/src/lib/components/navbar/navbar.types.d.ts +2 -2
  716. package/src/lib/components/navbar/standard/navbar-standard.d.ts +1 -1
  717. package/src/lib/components/navbar/standard/navbar-standard.js +1 -1
  718. package/src/lib/components/navbar/standard/navbar-standard.js.map +1 -1
  719. package/src/lib/components/navbar/use-navbar.d.ts +3 -4
  720. package/src/lib/components/navbar/use-navbar.js +3 -4
  721. package/src/lib/components/navbar/use-navbar.js.map +1 -1
  722. package/src/lib/components/notification/notification.d.ts +4 -5
  723. package/src/lib/components/notification/notification.js +4 -5
  724. package/src/lib/components/notification/notification.js.map +1 -1
  725. package/src/lib/components/notification/notification.types.d.ts +1 -1
  726. package/src/lib/components/notification/preset/notification-preset.d.ts +4 -5
  727. package/src/lib/components/notification/preset/notification-preset.js +4 -5
  728. package/src/lib/components/notification/preset/notification-preset.js.map +1 -1
  729. package/src/lib/components/notification/standard/notification-standard.d.ts +1 -1
  730. package/src/lib/components/notification/standard/notification-standard.js +1 -1
  731. package/src/lib/components/notification/standard/notification-standard.js.map +1 -1
  732. package/src/lib/components/notification/use-notification.d.ts +3 -4
  733. package/src/lib/components/notification/use-notification.js +3 -4
  734. package/src/lib/components/notification/use-notification.js.map +1 -1
  735. package/src/lib/components/page/page.d.ts +7 -8
  736. package/src/lib/components/page/page.js +7 -8
  737. package/src/lib/components/page/page.js.map +1 -1
  738. package/src/lib/components/page/page.types.d.ts +4 -4
  739. package/src/lib/components/page/preset/page-preset.d.ts +2 -2
  740. package/src/lib/components/page/preset/page-preset.js +2 -2
  741. package/src/lib/components/page/preset-variants.d.ts +3 -4
  742. package/src/lib/components/page/preset-variants.js +3 -4
  743. package/src/lib/components/page/preset-variants.js.map +1 -1
  744. package/src/lib/components/page/standard/page-standard.d.ts +5 -5
  745. package/src/lib/components/page/standard/page-standard.js +5 -5
  746. package/src/lib/components/page/use-page.d.ts +3 -4
  747. package/src/lib/components/page/use-page.js +3 -4
  748. package/src/lib/components/page/use-page.js.map +1 -1
  749. package/src/lib/components/page-heading/page-heading.d.ts +2 -4
  750. package/src/lib/components/page-heading/page-heading.js +2 -4
  751. package/src/lib/components/page-heading/page-heading.js.map +1 -1
  752. package/src/lib/components/page-heading/preset/page-heading-preset.d.ts +3 -4
  753. package/src/lib/components/page-heading/preset/page-heading-preset.js +3 -4
  754. package/src/lib/components/page-heading/preset/page-heading-preset.js.map +1 -1
  755. package/src/lib/components/page-heading/standard/page-heading-standard.d.ts +3 -3
  756. package/src/lib/components/page-heading/standard/page-heading-standard.js +3 -3
  757. package/src/lib/components/paging/paging.d.ts +3 -4
  758. package/src/lib/components/paging/paging.js +3 -4
  759. package/src/lib/components/paging/paging.js.map +1 -1
  760. package/src/lib/components/paging/paging.types.d.ts +1 -1
  761. package/src/lib/components/paging/preset/paging-preset.d.ts +3 -3
  762. package/src/lib/components/paging/preset/paging-preset.js +3 -3
  763. package/src/lib/components/paging/standard/paging-standard.d.ts +3 -3
  764. package/src/lib/components/paging/standard/paging-standard.js +3 -3
  765. package/src/lib/components/paging/use-paging.d.ts +5 -6
  766. package/src/lib/components/paging/use-paging.js +5 -6
  767. package/src/lib/components/paging/use-paging.js.map +1 -1
  768. package/src/lib/components/password-strength/password-strength.d.ts +2 -4
  769. package/src/lib/components/password-strength/password-strength.js +2 -4
  770. package/src/lib/components/password-strength/password-strength.js.map +1 -1
  771. package/src/lib/components/password-strength/password-strength.types.d.ts +2 -5
  772. package/src/lib/components/password-strength/standard/password-strength-standard.d.ts +1 -1
  773. package/src/lib/components/password-strength/standard/password-strength-standard.js +1 -1
  774. package/src/lib/components/password-strength/standard/password-strength-standard.js.map +1 -1
  775. package/src/lib/components/password-strength/use-password-strength.d.ts +1 -2
  776. package/src/lib/components/password-strength/use-password-strength.js +3 -4
  777. package/src/lib/components/password-strength/use-password-strength.js.map +1 -1
  778. package/src/lib/components/presets/presets.d.ts +3 -5
  779. package/src/lib/components/presets/presets.js +3 -5
  780. package/src/lib/components/presets/presets.js.map +1 -1
  781. package/src/lib/components/progress-bars/progress-bars.d.ts +2 -4
  782. package/src/lib/components/progress-bars/progress-bars.js +2 -4
  783. package/src/lib/components/progress-bars/progress-bars.js.map +1 -1
  784. package/src/lib/components/progress-bars/standard/progress-bars-standard.d.ts +2 -2
  785. package/src/lib/components/progress-bars/standard/progress-bars-standard.js +3 -3
  786. package/src/lib/components/progress-bars/standard/progress-bars-standard.js.map +1 -1
  787. package/src/lib/components/searchbar/searchbar.d.ts +2 -3
  788. package/src/lib/components/searchbar/searchbar.js +2 -3
  789. package/src/lib/components/searchbar/searchbar.js.map +1 -1
  790. package/src/lib/components/searchbar/searchbar.types.d.ts +7 -7
  791. package/src/lib/components/searchbar/standard/searchbar-standard.d.ts +3 -5
  792. package/src/lib/components/searchbar/standard/searchbar-standard.js +3 -5
  793. package/src/lib/components/searchbar/standard/searchbar-standard.js.map +1 -1
  794. package/src/lib/components/searchbar/use-searchbar.d.ts +1 -2
  795. package/src/lib/components/searchbar/use-searchbar.js +1 -2
  796. package/src/lib/components/searchbar/use-searchbar.js.map +1 -1
  797. package/src/lib/components/section-heading/preset/section-heading-preset.d.ts +1 -2
  798. package/src/lib/components/section-heading/preset/section-heading-preset.js +1 -2
  799. package/src/lib/components/section-heading/preset/section-heading-preset.js.map +1 -1
  800. package/src/lib/components/section-heading/section-heading.d.ts +2 -4
  801. package/src/lib/components/section-heading/section-heading.js +2 -4
  802. package/src/lib/components/section-heading/section-heading.js.map +1 -1
  803. package/src/lib/components/section-heading/standard/section-heading-standard.d.ts +3 -3
  804. package/src/lib/components/section-heading/standard/section-heading-standard.js +3 -3
  805. package/src/lib/components/select-menu/select-menu.d.ts +2 -4
  806. package/src/lib/components/select-menu/select-menu.js +2 -4
  807. package/src/lib/components/select-menu/select-menu.js.map +1 -1
  808. package/src/lib/components/select-menu/select-menu.types.d.ts +3 -3
  809. package/src/lib/components/select-menu/standard/select-menu-standard.d.ts +2 -3
  810. package/src/lib/components/select-menu/standard/select-menu-standard.js +2 -3
  811. package/src/lib/components/select-menu/standard/select-menu-standard.js.map +1 -1
  812. package/src/lib/components/select-menu/use-select-menu.d.ts +3 -4
  813. package/src/lib/components/select-menu/use-select-menu.js +3 -4
  814. package/src/lib/components/select-menu/use-select-menu.js.map +1 -1
  815. package/src/lib/components/sidebar-layout/preset/sidebar-layout-preset.d.ts +1 -1
  816. package/src/lib/components/sidebar-layout/preset/sidebar-layout-preset.js +1 -1
  817. package/src/lib/components/sidebar-layout/sidebar-layout.d.ts +3 -4
  818. package/src/lib/components/sidebar-layout/sidebar-layout.js +3 -4
  819. package/src/lib/components/sidebar-layout/sidebar-layout.js.map +1 -1
  820. package/src/lib/components/sidebar-layout/sidebar-layout.types.d.ts +1 -1
  821. package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.d.ts +3 -4
  822. package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.js +3 -4
  823. package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.js.map +1 -1
  824. package/src/lib/components/sidebar-navigation/sidebar-navigation.d.ts +2 -4
  825. package/src/lib/components/sidebar-navigation/sidebar-navigation.js +2 -4
  826. package/src/lib/components/sidebar-navigation/sidebar-navigation.js.map +1 -1
  827. package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.d.ts +1 -1
  828. package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.js +1 -1
  829. package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.js.map +1 -1
  830. package/src/lib/components/sidebar-navigation/use-sidebar-navigation.d.ts +5 -5
  831. package/src/lib/components/sidebar-navigation/use-sidebar-navigation.js +5 -5
  832. package/src/lib/components/sign-in-form/sign-in-form.d.ts +2 -4
  833. package/src/lib/components/sign-in-form/sign-in-form.js +2 -4
  834. package/src/lib/components/sign-in-form/sign-in-form.js.map +1 -1
  835. package/src/lib/components/sign-in-form/sign-in-form.types.d.ts +2 -2
  836. package/src/lib/components/sign-in-form/standard/sign-in-form-standard.d.ts +1 -1
  837. package/src/lib/components/sign-in-form/standard/sign-in-form-standard.js +1 -1
  838. package/src/lib/components/sign-in-form/standard/sign-in-form-standard.js.map +1 -1
  839. package/src/lib/components/sign-in-form/use-sign-in-form.d.ts +3 -4
  840. package/src/lib/components/sign-in-form/use-sign-in-form.js +3 -4
  841. package/src/lib/components/sign-in-form/use-sign-in-form.js.map +1 -1
  842. package/src/lib/components/stacked-layout/stacked-layout.d.ts +3 -4
  843. package/src/lib/components/stacked-layout/stacked-layout.js +3 -4
  844. package/src/lib/components/stacked-layout/stacked-layout.js.map +1 -1
  845. package/src/lib/components/stacked-layout/stacked-layout.types.d.ts +1 -1
  846. package/src/lib/components/stacked-layout/standard/stacked-layout-standard.d.ts +1 -1
  847. package/src/lib/components/stacked-layout/standard/stacked-layout-standard.js +1 -1
  848. package/src/lib/components/stacked-list/stacked-list.d.ts +2 -4
  849. package/src/lib/components/stacked-list/stacked-list.js +2 -4
  850. package/src/lib/components/stacked-list/stacked-list.js.map +1 -1
  851. package/src/lib/components/stacked-list/standard/stacked-list-standard.d.ts +5 -5
  852. package/src/lib/components/stacked-list/standard/stacked-list-standard.js +5 -5
  853. package/src/lib/components/stats/preset/stats-preset.d.ts +2 -3
  854. package/src/lib/components/stats/preset/stats-preset.js +2 -3
  855. package/src/lib/components/stats/preset/stats-preset.js.map +1 -1
  856. package/src/lib/components/stats/standard/stats-standard.d.ts +3 -3
  857. package/src/lib/components/stats/standard/stats-standard.js +3 -3
  858. package/src/lib/components/stats/stats.d.ts +2 -3
  859. package/src/lib/components/stats/stats.js +2 -3
  860. package/src/lib/components/stats/stats.js.map +1 -1
  861. package/src/lib/components/table/preset/table-preset.d.ts +3 -4
  862. package/src/lib/components/table/preset/table-preset.js +5 -6
  863. package/src/lib/components/table/preset/table-preset.js.map +1 -1
  864. package/src/lib/components/table/standard/table-standard.d.ts +5 -5
  865. package/src/lib/components/table/standard/table-standard.js +5 -5
  866. package/src/lib/components/table/table-cell.d.ts +1 -1
  867. package/src/lib/components/table/table-cell.js +1 -1
  868. package/src/lib/components/table/table.d.ts +2 -3
  869. package/src/lib/components/table/table.js +2 -3
  870. package/src/lib/components/table/table.js.map +1 -1
  871. package/src/lib/components/table/table.types.d.ts +3 -7
  872. package/src/lib/components/tabs/standard/tabs-standard.d.ts +2 -2
  873. package/src/lib/components/tabs/standard/tabs-standard.js +2 -2
  874. package/src/lib/components/tabs/tabs.d.ts +2 -3
  875. package/src/lib/components/tabs/tabs.js +2 -3
  876. package/src/lib/components/tabs/tabs.js.map +1 -1
  877. package/src/lib/components/tabs/tabs.types.d.ts +2 -2
  878. package/src/lib/components/tabs/use-tabs.d.ts +1 -2
  879. package/src/lib/components/tabs/use-tabs.js +1 -2
  880. package/src/lib/components/tabs/use-tabs.js.map +1 -1
  881. package/src/lib/components/textarea/preset/textarea-preset.js +1 -1
  882. package/src/lib/components/textarea/preset/textarea-preset.js.map +1 -1
  883. package/src/lib/components/textarea/standard/textarea-standard.d.ts +1 -1
  884. package/src/lib/components/textarea/standard/textarea-standard.js +1 -1
  885. package/src/lib/components/textarea/standard/textarea-standard.js.map +1 -1
  886. package/src/lib/components/textarea/textarea.d.ts +2 -3
  887. package/src/lib/components/textarea/textarea.js +2 -3
  888. package/src/lib/components/textarea/textarea.js.map +1 -1
  889. package/src/lib/components/textarea/textarea.types.d.ts +5 -5
  890. package/src/lib/components/textarea/use-textarea.d.ts +4 -5
  891. package/src/lib/components/textarea/use-textarea.js +4 -5
  892. package/src/lib/components/textarea/use-textarea.js.map +1 -1
  893. package/src/lib/components/toggle/standard/toggle-standard.d.ts +2 -3
  894. package/src/lib/components/toggle/standard/toggle-standard.js +2 -3
  895. package/src/lib/components/toggle/standard/toggle-standard.js.map +1 -1
  896. package/src/lib/components/toggle/toggle.d.ts +2 -3
  897. package/src/lib/components/toggle/toggle.js +2 -3
  898. package/src/lib/components/toggle/toggle.js.map +1 -1
  899. package/src/lib/components/toggle/toggle.types.d.ts +3 -3
  900. package/src/lib/components/toggle/use-toggle.d.ts +3 -4
  901. package/src/lib/components/toggle/use-toggle.js +3 -4
  902. package/src/lib/components/toggle/use-toggle.js.map +1 -1
  903. package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.d.ts +1 -1
  904. package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.js +1 -1
  905. package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.js.map +1 -1
  906. package/src/lib/components/vertical-navigation/use-vertical-navigation.d.ts +3 -3
  907. package/src/lib/components/vertical-navigation/use-vertical-navigation.js +3 -3
  908. package/src/lib/components/vertical-navigation/vertical-navigation.d.ts +2 -4
  909. package/src/lib/components/vertical-navigation/vertical-navigation.js +2 -4
  910. package/src/lib/components/vertical-navigation/vertical-navigation.js.map +1 -1
  911. package/src/lib/factories/form/form.factory.d.ts +1 -2
  912. package/src/lib/factories/form/form.factory.js +5 -6
  913. package/src/lib/factories/form/form.factory.js.map +1 -1
  914. package/src/lib/forms/abstract-control.d.ts +14 -8
  915. package/src/lib/forms/abstract-control.js +14 -8
  916. package/src/lib/forms/abstract-control.js.map +1 -1
  917. package/src/lib/forms/emitter.d.ts +4 -3
  918. package/src/lib/forms/emitter.js +4 -3
  919. package/src/lib/forms/emitter.js.map +1 -1
  920. package/src/lib/forms/form-control.d.ts +2 -3
  921. package/src/lib/forms/form-control.js +2 -3
  922. package/src/lib/forms/form-control.js.map +1 -1
  923. package/src/lib/forms/form-group.d.ts +5 -3
  924. package/src/lib/forms/form-group.js +5 -3
  925. package/src/lib/forms/form-group.js.map +1 -1
  926. package/src/lib/forms/hooks.d.ts +2 -3
  927. package/src/lib/forms/hooks.js +5 -6
  928. package/src/lib/forms/hooks.js.map +1 -1
  929. package/src/lib/forms/validators.d.ts +7 -6
  930. package/src/lib/forms/validators.js +8 -7
  931. package/src/lib/forms/validators.js.map +1 -1
  932. package/src/lib/i18n/translate.d.ts +9 -4
  933. package/src/lib/i18n/translate.js +5 -1
  934. package/src/lib/i18n/translate.js.map +1 -1
  935. package/src/lib/i18n/translations-default.d.ts +3 -3
  936. package/src/lib/models/interfaces.d.ts +22 -20
  937. package/src/lib/models/interfaces.js.map +1 -1
  938. package/src/lib/pages/details/details-page.d.ts +5 -5
  939. package/src/lib/pages/details/details-page.js +3 -3
  940. package/src/lib/pages/details/use-details-page-options.d.ts +2 -2
  941. package/src/lib/pages/details/use-details-page-options.js +2 -2
  942. package/src/lib/providers/hooks.d.ts +1 -1
  943. package/src/lib/providers/hooks.js +1 -1
  944. package/src/lib/providers/hooks.js.map +1 -1
  945. package/src/lib/providers/smart-context.d.ts +7 -8
  946. package/src/lib/providers/smart-context.js.map +1 -1
  947. package/src/lib/providers/smart-provider.d.ts +3 -3
  948. package/src/lib/providers/smart-provider.js +3 -3
  949. package/src/lib/services/alert/alert.service.d.ts +2 -3
  950. package/src/lib/services/alert/alert.service.js +2 -3
  951. package/src/lib/services/alert/alert.service.js.map +1 -1
  952. package/src/lib/services/app/app.service.d.ts +3 -2
  953. package/src/lib/services/app/app.service.js +3 -2
  954. package/src/lib/services/app/app.service.js.map +1 -1
  955. package/src/lib/services/http/http.client.d.ts +1 -1
  956. package/src/lib/services/style/style.service.d.ts +2 -2
  957. package/src/lib/services/style/style.service.js +2 -2
  958. package/src/lib/store/store.d.ts +3 -2
  959. package/src/lib/store/store.js +3 -2
  960. package/src/lib/store/store.js.map +1 -1
  961. package/src/lib/utils/class-names.d.ts +2 -2
  962. package/src/lib/utils/class-names.js +2 -2
  963. package/src/lib/utils/hooks.d.ts +3 -3
  964. package/src/lib/utils/hooks.js +3 -3
  965. package/src/lib/utils/hooks.js.map +1 -1
  966. package/src/lib/utils/html.d.ts +4 -5
  967. package/src/lib/utils/html.js +2 -3
  968. package/src/lib/utils/html.js.map +1 -1
  969. package/src/lib/utils/model.d.ts +7 -7
  970. package/src/lib/utils/model.js +9 -9
  971. package/src/lib/utils/model.js.map +1 -1
@@ -2,11 +2,10 @@ import type { ChangeEvent } from 'react';
2
2
  import { IButtonOptions } from '../../../models';
3
3
  import { SmartInputFieldProps } from '../input.types';
4
4
  /**
5
- * The upload behaviour of the file fields (the Angular
6
- * `InputFileBaseComponent`): picking a file checks it against the input's
7
- * `accept` list, uploads it through the file service with progress, and sets
8
- * the attachment the API returns as the value. Also the options of the add,
9
- * show and delete buttons the file fields render.
5
+ * The upload behaviour of the file fields: picking a file checks it against the
6
+ * input's `accept` list, uploads it through the file service with progress, and
7
+ * sets the attachment the API returns as the value. Also the options of the
8
+ * add, show and delete buttons the file fields render.
10
9
  */
11
10
  export declare function useInputFile<T = any>({ options }: SmartInputFieldProps<T>): {
12
11
  inputRef: import("react").RefObject<HTMLInputElement | null>;
@@ -4,11 +4,10 @@ exports.useInputFile = useInputFile;
4
4
  const react_1 = require("react");
5
5
  const smart_context_1 = require("../../../providers/smart-context");
6
6
  /**
7
- * The upload behaviour of the file fields (the Angular
8
- * `InputFileBaseComponent`): picking a file checks it against the input's
9
- * `accept` list, uploads it through the file service with progress, and sets
10
- * the attachment the API returns as the value. Also the options of the add,
11
- * show and delete buttons the file fields render.
7
+ * The upload behaviour of the file fields: picking a file checks it against the
8
+ * input's `accept` list, uploads it through the file service with progress, and
9
+ * sets the attachment the API returns as the value. Also the options of the
10
+ * add, show and delete buttons the file fields render.
12
11
  */
13
12
  function useInputFile({ options }) {
14
13
  const { fileService, toastService, translate } = (0, smart_context_1.useSmart)();
@@ -1 +1 @@
1
- {"version":3,"file":"use-input-file.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-file.ts"],"names":[],"mappings":";;AAcA,oCA8FC;AA5GD,iCAAsD;AAItD,oEAA4D;AAG5D;;;;;;GAMG;AACH,SAAgB,YAAY,CAAU,EAAE,OAAO,EAA2B;IACxE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,IAAA,wBAAQ,GAAE,CAAC;IAC5D,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC;IACzC,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAChD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAqB,SAAS,CAAC,CAAC;IACtE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAc,IAAI,CAAC,CAAC;IAEpD,MAAM,YAAY,GAAG,IAAA,mBAAW,EAC9B,CAAC,KAAoC,EAAE,EAAE;QACvC,MAAM,OAAO,GAAG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QAChB,iBAAiB;QACjB,mBAAmB;KACpB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"use-input-file.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-file.ts"],"names":[],"mappings":";;AAaA,oCA8FC;AA3GD,iCAAsD;AAItD,oEAA4D;AAG5D;;;;;GAKG;AACH,SAAgB,YAAY,CAAU,EAAE,OAAO,EAA2B;IACxE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,IAAA,wBAAQ,GAAE,CAAC;IAC5D,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC;IACzC,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAChD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAqB,SAAS,CAAC,CAAC;IACtE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAc,IAAI,CAAC,CAAC;IAEpD,MAAM,YAAY,GAAG,IAAA,mBAAW,EAC9B,CAAC,KAAoC,EAAE,EAAE;QACvC,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;QAE1C,iEAAiE;QACjE,OAAO,CAAC,KAAK,GAAG,EAAE,CAAC;QACnB,UAAU,CAAC,IAAI,CAAC,CAAC;QACjB,OAAO,CAAC,MAAM,CAAC,CAAC;QAEhB,IAAI,OAAO,CAAC,MAAM,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAC5C,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM;iBAC/B,KAAK,CAAC,GAAG,CAAC;iBACV,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OAAO,EAAE,WAAW,EAAE,CAAC;YACvB,OAAO,EAAE,aAAa,EAAE,CAAC;YACzB,QAAQ,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;QACD,OAAO;QACP,OAAO,EAAE,SAAS;KACnB,CAAC;IAEF,MAAM,iBAAiB,GAAmB;QACxC,KAAK,EAAE,GAAG,EAAE;YACV,IAAI,OAAO,EAAE,KAAK,EAAE,EAAE;gBAAE,WAAW,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAClE,CAAC;QACD,OAAO;QACP,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,MAAM;KACd,CAAC;IAEF,MAAM,mBAAmB,GAAmB;QAC1C,KAAK,EAAE,GAAG,EAAE;YACV,OAAO,EAAE,WAAW,EAAE,CAAC;YACvB,OAAO,EAAE,aAAa,EAAE,CAAC;YACzB,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxB,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;QACD,OAAO;QACP,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,KAAK;KACb,CAAC;IAEF,OAAO;QACL,QAAQ;QACR,OAAO;QACP,OAAO;QACP,IAAI;QACJ,YAAY;QACZ,gBAAgB;QAChB,iBAAiB;QACjB,mBAAmB;KACpB,CAAC;AACJ,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { SmartPossibility } from '../../../models';
2
2
  import { SmartInputFieldProps } from '../input.types';
3
3
  /**
4
- * The options of a field with possibilities (the Angular
5
- * `InputPossibilitiesBaseComponent`): the ones the model possibilities
4
+ * The options of a field with possibilities: the ones the model possibilities
6
5
  * provider returns, asked again 500 ms after the form's value last changed so
7
6
  * they can depend on other fields, or else the ones in the input options.
8
7
  * `null` when there are none; the field then falls back to its model's
@@ -4,8 +4,7 @@ exports.useInputPossibilities = useInputPossibilities;
4
4
  const react_1 = require("react");
5
5
  const smart_context_1 = require("../../../providers/smart-context");
6
6
  /**
7
- * The options of a field with possibilities (the Angular
8
- * `InputPossibilitiesBaseComponent`): the ones the model possibilities
7
+ * The options of a field with possibilities: the ones the model possibilities
9
8
  * provider returns, asked again 500 ms after the form's value last changed so
10
9
  * they can depend on other fields, or else the ones in the input options.
11
10
  * `null` when there are none; the field then falls back to its model's
@@ -1 +1 @@
1
- {"version":3,"file":"use-input-possibilities.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-possibilities.ts"],"names":[],"mappings":";;AAcA,sDA4CC;AA1DD,iCAA4C;AAG5C,oEAA4D;AAG5D;;;;;;;GAOG;AACH,SAAgB,qBAAqB,CAAU,EAC7C,OAAO,GACiB;IACxB,MAAM,QAAQ,GAAG,IAAA,wBAAQ,GAAE,CAAC,0BAA0B,CAAC;IACvD,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC;IACzC,MAAM,QAAQ,GAAG,OAAO,EAAE,QAAQ,CAAC;IACnC,MAAM,KAAK,GAAG,OAAO,EAAE,KAAK,CAAC;IAC7B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAC9C,IAAI,CACL,CAAC;IAEF,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,IAAI,CAAC,QAAQ;YAAE,OAAO,SAAS,CAAC;QAEzD,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,IAAI,KAAgD,CAAC;QAErD,MAAM,OAAO,GAAG,GAAG,EAAE;YACnB,OAAO,CAAC,OAAO,CACb,QAAQ,CAAC,GAAG,CAAC;gBACX,IAAI,EAAG,KAA+C,EAAE,WAAW;gBACnE,GAAG,EAAE,QAAQ;gBACb,QAAQ,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK;aAChC,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;gBAChB,IAAI,MAAM,IAAI,MAAM;oBAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAChD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;QAEF,OAAO,EAAE,CAAC;QAEV,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,SAAS,CAAC,GAAG,EAAE;YAC/D,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QAEH,OAAO,GAAG,EAAE;YACV,MAAM,GAAG,KAAK,CAAC;YACf,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,YAAY,EAAE,WAAW,EAAE,CAAC;QAC9B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzC,OAAO,YAAY,IAAI,OAAO,EAAE,aAAa,IAAI,IAAI,CAAC;AACxD,CAAC"}
1
+ {"version":3,"file":"use-input-possibilities.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input-possibilities.ts"],"names":[],"mappings":";;AAaA,sDA4CC;AAzDD,iCAA4C;AAG5C,oEAA4D;AAG5D;;;;;;GAMG;AACH,SAAgB,qBAAqB,CAAU,EAC7C,OAAO,GACiB;IACxB,MAAM,QAAQ,GAAG,IAAA,wBAAQ,GAAE,CAAC,0BAA0B,CAAC;IACvD,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC;IACzC,MAAM,QAAQ,GAAG,OAAO,EAAE,QAAQ,CAAC;IACnC,MAAM,KAAK,GAAG,OAAO,EAAE,KAAK,CAAC;IAC7B,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAC9C,IAAI,CACL,CAAC;IAEF,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,IAAI,CAAC,QAAQ;YAAE,OAAO,SAAS,CAAC;QAEzD,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,IAAI,KAAgD,CAAC;QAErD,MAAM,OAAO,GAAG,GAAG,EAAE;YACnB,OAAO,CAAC,OAAO,CACb,QAAQ,CAAC,GAAG,CAAC;gBACX,IAAI,EAAG,KAA+C,EAAE,WAAW;gBACnE,GAAG,EAAE,QAAQ;gBACb,QAAQ,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK;aAChC,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;gBAChB,IAAI,MAAM,IAAI,MAAM;oBAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAChD,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;QAEF,OAAO,EAAE,CAAC;QAEV,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,SAAS,CAAC,GAAG,EAAE;YAC/D,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QACnC,CAAC,CAAC,CAAC;QAEH,OAAO,GAAG,EAAE;YACV,MAAM,GAAG,KAAK,CAAC;YACf,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC,CAAC;YAC/B,YAAY,EAAE,WAAW,EAAE,CAAC;QAC9B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzC,OAAO,YAAY,IAAI,OAAO,EAAE,aAAa,IAAI,IAAI,CAAC;AACxD,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { SmartInputFieldProps } from '../input.types';
2
2
  /**
3
- * What every field component shares (the Angular `InputBaseComponent`): the
4
- * control and its live state, whether it is required, the translated label
5
- * and the handlers that bind an element to the control the way the
6
- * `formControl` directive does (a change sets the value and marks the control
7
- * dirty, a blur marks it touched).
3
+ * What every field component shares: the control and its live state, whether it
4
+ * is required, the translated label and the handlers that bind an element to
5
+ * the control (a change sets the value and marks the control dirty, a blur
6
+ * marks it touched).
8
7
  */
9
8
  export declare function useInput<T = any>({ options, fieldOptions, }: SmartInputFieldProps<T>): {
10
9
  control: import("../../../forms").SmartAbstractControl<any> | null;
@@ -5,11 +5,10 @@ const react_1 = require("react");
5
5
  const hooks_1 = require("../../../forms/hooks");
6
6
  const hooks_2 = require("../../../utils/hooks");
7
7
  /**
8
- * What every field component shares (the Angular `InputBaseComponent`): the
9
- * control and its live state, whether it is required, the translated label
10
- * and the handlers that bind an element to the control the way the
11
- * `formControl` directive does (a change sets the value and marks the control
12
- * dirty, a blur marks it touched).
8
+ * What every field component shares: the control and its live state, whether it
9
+ * is required, the translated label and the handlers that bind an element to
10
+ * the control (a change sets the value and marks the control dirty, a blur
11
+ * marks it touched).
13
12
  */
14
13
  function useInput({ options, fieldOptions, }) {
15
14
  const control = options?.control ?? null;
@@ -18,8 +17,8 @@ function useInput({ options, fieldOptions, }) {
18
17
  const setValue = (0, react_1.useCallback)((value) => {
19
18
  if (!control)
20
19
  return;
21
- // Dirty first, as Angular's `formControl` directive does, so listeners
22
- // of the value change already see the control as edited.
20
+ // Dirty first, so listeners of the value change already see the control
21
+ // as edited.
23
22
  control.markAsDirty();
24
23
  control.setValue(value);
25
24
  }, [control]);
@@ -1 +1 @@
1
- {"version":3,"file":"use-input.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input.ts"],"names":[],"mappings":";;AAaA,4BA6CC;AA1DD,iCAAoC;AAEpC,gDAAuD;AACvD,gDAAqD;AAGrD;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAU,EAChC,OAAO,EACP,YAAY,GACY;IACxB,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC;IACzC,MAAM,KAAK,GAAG,IAAA,uBAAe,EAAC,OAAO,CAAC,CAAC;IACvC,MAAM,KAAK,GAAG,IAAA,qBAAa,EACzB,OAAO,EAAE,MAAM,EAAE,KAAK,EACtB,OAAO,EAAE,QAAQ,IAAI,EAAE,EACtB,OAAO,EAAE,KAA+C,EAAE,WAAW,CACvE,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAA,mBAAW,EAC1B,CAAC,KAAc,EAAE,EAAE;QACjB,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,uEAAuE;QACvE,yDAAyD;QACzD,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC,EACD,CAAC,OAAO,CAAC,CACV,CAAC;IAEF,MAAM,aAAa,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAE7E,OAAO;QACL,OAAO;QACP,KAAK;QACL,KAAK,EAAE,KAAK,EAAE,KAAK;QACnB,QAAQ,EAAE,KAAK,EAAE,QAAQ,IAAI,KAAK;QAClC,QAAQ,EAAE,KAAK,EAAE,QAAQ,IAAI,KAAK;QAClC,KAAK;QACL,QAAQ,EAAE,OAAO,EAAE,QAAQ,IAAI,EAAE;QACjC,KAAK,EAAE,OAAO,EAAE,KAAK;QACrB,IAAI,EAAE,OAAO,EAAE,IAAI;QACnB,SAAS,EAAE,OAAO,EAAE,SAAS,IAAI,CAAC;QAClC,YAAY;QACZ,mEAAmE;QACnE,QAAQ;QACR,+DAA+D;QAC/D,aAAa;QACb,gDAAgD;QAChD,SAAS,EAAE,CAAC,CAAC,YAAY,EAAE,OAAO;KACnC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"use-input.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/base/use-input.ts"],"names":[],"mappings":";;AAYA,4BA6CC;AAz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AC,CAAC,YAAY,EAAE,OAAO;KACnC,CAAC;AACJ,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { SmartInputFieldProps } from '../input.types';
2
2
  /**
3
- * `<smart-input-check>` (Angular `InputCheckComponent`): a fieldset with a
4
- * checkbox per possibility; the control holds the ids of the checked ones.
5
- * The (translated) texts are rendered as sanitised HTML. `className` goes on
6
- * the group of checkboxes.
3
+ * The `check` field: a fieldset with a checkbox per possibility; the control
4
+ * holds the ids of the checked ones. The (translated) texts are rendered as
5
+ * sanitised HTML. `className` goes on the group of checkboxes.
7
6
  */
8
7
  export declare function SmartInputCheck<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -8,10 +8,9 @@ const html_1 = require("../../../utils/html");
8
8
  const use_input_check_1 = require("./use-input-check");
9
9
  const LABEL_CLASSES = 'smart:block smart:text-sm/6 smart:font-medium smart:text-gray-900 smart:dark:text-white';
10
10
  /**
11
- * `<smart-input-check>` (Angular `InputCheckComponent`): a fieldset with a
12
- * checkbox per possibility; the control holds the ids of the checked ones.
13
- * The (translated) texts are rendered as sanitised HTML. `className` goes on
14
- * the group of checkboxes.
11
+ * The `check` field: a fieldset with a checkbox per possibility; the control
12
+ * holds the ids of the checked ones. The (translated) texts are rendered as
13
+ * sanitised HTML. `className` goes on the group of checkboxes.
15
14
  */
16
15
  function SmartInputCheck(props) {
17
16
  const { className } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/input-check.tsx"],"names":[],"mappings":";;AAeA,0CAoCC;;AAnDD,oDAAwD;AACxD,4DAAgD;AAChD,8CAAkD;AAElD,uDAAkD;AAElD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F;;;;;GAKG;AACH,SAAgB,eAAe,CAAI,KAA8B;IAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,GAAG,IAAA,oBAAY,GAAE,CAAC;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GACjE,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,iDACE,oCAAQ,SAAS,EAAE,aAAa,aAC7B,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IAChE,EACT,gCAAK,SAAS,EAAE,IAAA,gBAAE,EAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,CAAC,YAC3D,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACnC,mCAEE,SAAS,EAAC,6CAA6C,aAEvD,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAC,sIAAsI,GAChJ,EACF,iCACE,SAAS,EAAC,yDAAyD,EACnE,uBAAuB,EAAE,IAAA,kBAAW,EAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAClD,KAbG,KAAK,CAcJ,CACT,CAAC,GACE,IACG,CACZ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/input-check.tsx"],"names":[],"mappings":";;AAcA,0CAoCC;;AAlDD,oDAAwD;AACxD,4DAAgD;AAChD,8CAAkD;AAElD,uDAAkD;AAElD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F;;;;GAIG;AACH,SAAgB,eAAe,CAAI,KAA8B;IAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,GAAG,IAAA,oBAAY,GAAE,CAAC;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GACjE,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,iDACE,oCAAQ,SAAS,EAAE,aAAa,aAC7B,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IAChE,EACT,gCAAK,SAAS,EAAE,IAAA,gBAAE,EAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,CAAC,YAC3D,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACnC,mCAEE,SAAS,EAAC,6CAA6C,aAEvD,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAC,sIAAsI,GAChJ,EACF,iCACE,SAAS,EAAC,yDAAyD,EACnE,uBAAuB,EAAE,IAAA,kBAAW,EAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAClD,KAbG,KAAK,CAcJ,CACT,CAAC,GACE,IACG,CACZ,CAAC;AACJ,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { SmartInputFieldProps } from '../../input.types';
2
2
  /**
3
- * Styled check field (preset, Angular `InputCheckPresetComponent`): Preline
4
- * checkboxes, each followed by its (translated) text rendered as sanitised
5
- * HTML in a `<span>`, as in Angular.
3
+ * Styled check field (preset): Preline checkboxes, each followed by its
4
+ * (translated) text rendered as sanitised HTML in a `<span>`.
6
5
  */
7
6
  export declare function SmartInputCheckPreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -12,9 +12,8 @@ const LABEL_CLASSES = 'smart:block smart:text-sm smart:font-medium smart:text-gr
12
12
  const CHECKBOX_CLASSES = 'smart:shrink-0 smart:size-4 smart:bg-transparent smart:border-gray-200 smart:dark:border-gray-700 smart:rounded-sm smart:shadow-2xs smart:text-blue-600 smart:dark:text-blue-400 smart:focus:ring-0 smart:focus:ring-offset-0 smart:checked:bg-blue-700 smart:dark:checked:bg-blue-600 smart:checked:border-blue-700 smart:dark:checked:border-blue-600 smart:disabled:opacity-50 smart:disabled:pointer-events-none';
13
13
  const OPTION_LABEL_CLASSES = 'smart:text-sm smart:ms-3 smart:text-gray-500 smart:dark:text-gray-400';
14
14
  /**
15
- * Styled check field (preset, Angular `InputCheckPresetComponent`): Preline
16
- * checkboxes, each followed by its (translated) text rendered as sanitised
17
- * HTML in a `<span>`, as in Angular.
15
+ * Styled check field (preset): Preline checkboxes, each followed by its
16
+ * (translated) text rendered as sanitised HTML in a `<span>`.
18
17
  */
19
18
  function SmartInputCheckPreset(props) {
20
19
  const { className } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"input-check-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/check/preset/input-check-preset.tsx"],"names":[],"mappings":";;AAsBA,sDAoCC;;AA1DD,uDAA2D;AAC3D,+DAAmD;AACnD,iDAAqD;AAErD,wDAAmD;AAEnD,MAAM,aAAa,GACjB,uFAAuF,CAAC;AAE1F,wEAAwE;AACxE,yCAAyC;AACzC,MAAM,gBAAgB,GACpB,sZAAsZ,CAAC;AAEzZ,MAAM,oBAAoB,GACxB,uEAAuE,CAAC;AAE1E;;;;GAIG;AACH,SAAgB,qBAAqB,CAAI,KAA8B;IACrE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,GAAG,IAAA,oBAAY,GAAE,CAAC;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GACjE,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,iDACE,oCAAQ,SAAS,EAAE,aAAa,aAC7B,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IAChE,EACT,gCACE,SAAS,EAAE,IAAA,gBAAE,EAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,CAAC,eAC/C,aAAa,YAEtB,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACnC,iCAAiB,SAAS,EAAC,+BAA+B,aACxD,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAE,gBAAgB,GAC3B,EACF,iCACE,SAAS,EAAE,oBAAoB,EAC/B,uBAAuB,EAAE,IAAA,kBAAW,EAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAClD,KAXM,KAAK,CAYT,CACP,CAAC,GACE,IACG,CACZ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"input-check-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/check/preset/input-check-preset.tsx"],"names":[],"mappings":";;AAqBA,sDAoCC;;AAzDD,uDAA2D;AAC3D,+DAAmD;AACnD,iDAAqD;AAErD,wDAAmD;AAEnD,MAAM,aAAa,GACjB,uFAAuF,CAAC;AAE1F,wEAAwE;AACxE,yCAAyC;AACzC,MAAM,gBAAgB,GACpB,sZAAsZ,CAAC;AAEzZ,MAAM,oBAAoB,GACxB,uEAAuE,CAAC;AAE1E;;;GAGG;AACH,SAAgB,qBAAqB,CAAI,KAA8B;IACrE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,GAAG,IAAA,oBAAY,GAAE,CAAC;IACzB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GACjE,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,iDACE,oCAAQ,SAAS,EAAE,aAAa,aAC7B,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IAChE,EACT,gCACE,SAAS,EAAE,IAAA,gBAAE,EAAC,YAAY,EAAE,iBAAiB,EAAE,SAAS,CAAC,eAC/C,aAAa,YAEtB,aAAa,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACnC,iCAAiB,SAAS,EAAC,+BAA+B,aACxD,kCACE,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAE,gBAAgB,GAC3B,EACF,iCACE,SAAS,EAAE,oBAAoB,EAC/B,uBAAuB,EAAE,IAAA,kBAAW,EAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAClD,KAXM,KAAK,CAYT,CACP,CAAC,GACE,IACG,CACZ,CAAC;AACJ,CAAC"}
@@ -1,21 +1,18 @@
1
1
  import { SmartPossibility } from '../../../models';
2
2
  import { SmartInputFieldProps } from '../input.types';
3
3
  /**
4
- * The possibilities with `checked` set from the control value (the Angular
5
- * `syncCheckedWithControl`): a possibility whose `id` is an object with an
6
- * `id` is checked when the value holds an object with that `id`, and then
7
- * takes that object as its `id`, so the value keeps the stored objects; any
8
- * other possibility is checked when its `id` is in the value (or is the
9
- * value).
4
+ * The possibilities with `checked` set from the control value: a possibility
5
+ * whose `id` is an object with an `id` is checked when the value holds an
6
+ * object with that `id`, and then takes that object as its `id`, so the value
7
+ * keeps the stored objects; any other possibility is checked when its `id` is
8
+ * in the value (or is the value).
10
9
  */
11
10
  export declare function syncInputCheckPossibilities(possibilities: SmartPossibility[] | null, value: unknown): SmartPossibility[] | null;
12
11
  /**
13
- * What both check fields share (the Angular `InputCheckComponent` logic on
14
- * top of `InputPossibilitiesBaseComponent`): the possibilities of the
15
- * provider or the input options, or else the model field's `possibilities`,
16
- * kept checked in line with the control value, and `toggle(item)`, which
17
- * sets the ids of the checked possibilities as the value and marks the
18
- * control dirty and touched.
12
+ * What both check fields share: the possibilities of the provider or the input
13
+ * options, or else the model field's `possibilities`, kept checked in line with
14
+ * the control value, and `toggle(item)`, which sets the ids of the checked
15
+ * possibilities as the value and marks the control dirty and touched.
19
16
  */
20
17
  export declare function useInputCheck<T>(props: SmartInputFieldProps<T>): {
21
18
  possibilities: SmartPossibility[] | null;
@@ -7,12 +7,11 @@ const models_1 = require("@smartsoft001/models");
7
7
  const use_input_1 = require("../base/use-input");
8
8
  const use_input_possibilities_1 = require("../base/use-input-possibilities");
9
9
  /**
10
- * The possibilities with `checked` set from the control value (the Angular
11
- * `syncCheckedWithControl`): a possibility whose `id` is an object with an
12
- * `id` is checked when the value holds an object with that `id`, and then
13
- * takes that object as its `id`, so the value keeps the stored objects; any
14
- * other possibility is checked when its `id` is in the value (or is the
15
- * value).
10
+ * The possibilities with `checked` set from the control value: a possibility
11
+ * whose `id` is an object with an `id` is checked when the value holds an
12
+ * object with that `id`, and then takes that object as its `id`, so the value
13
+ * keeps the stored objects; any other possibility is checked when its `id` is
14
+ * in the value (or is the value).
16
15
  */
17
16
  function syncInputCheckPossibilities(possibilities, value) {
18
17
  if (!possibilities)
@@ -33,12 +32,10 @@ function syncInputCheckPossibilities(possibilities, value) {
33
32
  });
34
33
  }
35
34
  /**
36
- * What both check fields share (the Angular `InputCheckComponent` logic on
37
- * top of `InputPossibilitiesBaseComponent`): the possibilities of the
38
- * provider or the input options, or else the model field's `possibilities`,
39
- * kept checked in line with the control value, and `toggle(item)`, which
40
- * sets the ids of the checked possibilities as the value and marks the
41
- * control dirty and touched.
35
+ * What both check fields share: the possibilities of the provider or the input
36
+ * options, or else the model field's `possibilities`, kept checked in line with
37
+ * the control value, and `toggle(item)`, which sets the ids of the checked
38
+ * possibilities as the value and marks the control dirty and touched.
42
39
  */
43
40
  function useInputCheck(props) {
44
41
  const input = (0, use_input_1.useInput)(props);
@@ -1 +1 @@
1
- {"version":3,"file":"use-input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/use-input-check.ts"],"names":[],"mappings":";;AAiBA,kEAwBC;AAUD,sCAoCC;AAvFD,iCAA6C;AAE7C,iDAA4D;AAG5D,iDAA6C;AAC7C,6EAAwE;AAGxE;;;;;;;GAOG;AACH,SAAgB,2BAA2B,CACzC,aAAwC,EACxC,KAAc;IAEd,IAAI,CAAC,aAAa;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAChC,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;YAClD,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAC5B,CAAC,EAA2B,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,EAAE,CACvD,CAAC;YAEF,OAAO,WAAW;gBAChB,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE;gBAC7C,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAClC,CAAC;QAED,OAAO;YACL,GAAG,IAAI;YACP,OAAO,EAAE,KAAK,CAAC,OA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AAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;aACvD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAEpB,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,aAAa,EAAE,CAAC;QACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC,EACD,CAAC,OAAO,EAAE,aAAa,CAAC,CACzB,CAAC;IAEF,OAAO,EAAE,GAAG,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC;AAC7C,CAAC"}
1
+ {"version":3,"file":"use-input-check.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/check/use-input-check.ts"],"names":[],"mappings":";;AAgBA,kEAwBC;AAQD,sCAoCC;AApFD,iCAA6C;AAE7C,iDAA4D;AAG5D,iDAA6C;AAC7C,6EAAwE;AAGxE;;;;;;GAMG;AACH,SAAgB,2BAA2B,CACzC,aAAwC,EACxC,KAAc;IAEd,IAAI,CAAC,aAAa;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAChC,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;YAClD,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,CAC5B,CAAC,EAA2B,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,EAAE,CACvD,CAAC;YAEF,OAAO,WAAW;gBAChB,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE;gBAC7C,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAClC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C,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;aACvD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAEpB,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,aAAa,EAAE,CAAC;QACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3B,CAAC,EACD,CAAC,OAAO,EAAE,aAAa,CAAC,CACzB,CAAC;IAEF,OAAO,EAAE,GAAG,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC;AAC7C,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { SmartInputFieldProps } from '../input.types';
2
2
  /**
3
- * The colour field (`<smart-input-color>`, Angular `InputColorComponent`): a
4
- * swatch of the colour, a picker and a `×` button that clears it. Angular
5
- * opened the `ngx-color-picker` popup on the input; this uses the browser's
6
- * native `<input type="color">` instead.
3
+ * The colour field: a swatch of the colour, the browser's native colour picker
4
+ * (`<input type="color">`) and a `×` button that clears it.
7
5
  */
8
6
  export declare function SmartInputColor<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -7,10 +7,8 @@ const class_names_1 = require("../../../utils/class-names");
7
7
  const use_input_color_1 = require("./use-input-color");
8
8
  const LABEL_CLASSES = 'smart:block smart:text-sm/6 smart:font-medium smart:text-gray-900 smart:dark:text-white';
9
9
  /**
10
- * The colour field (`<smart-input-color>`, Angular `InputColorComponent`): a
11
- * swatch of the colour, a picker and a `×` button that clears it. Angular
12
- * opened the `ngx-color-picker` popup on the input; this uses the browser's
13
- * native `<input type="color">` instead.
10
+ * The colour field: a swatch of the colour, the browser's native colour picker
11
+ * (`<input type="color">`) and a `×` button that clears it.
14
12
  */
15
13
  function SmartInputColor(props) {
16
14
  const { className } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/input-color.tsx"],"names":[],"mappings":";;AAeA,0CAyCC;;AAxDD,iCAA8B;AAE9B,4DAAgD;AAEhD,uDAAkD;AAElD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F;;;;;GAKG;AACH,SAAgB,eAAe,CAAI,KAA8B;IAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAC3D,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,iCACE,SAAS,EAAE,IAAA,gBAAE,EACX,wDAAwD,EACxD,SAAS,CACV,aAED,iCACE,SAAS,EAAC,oHAAoH,EAC9H,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,GAChD,EACF,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,IAAI,SAAS,EACzB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5C,SAAS,EAAC,4FAA4F,GACtG,EACF,mCACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,KAAK,EACd,SAAS,EAAC,mIAAmI,uBAGtI,IACL,IACL,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/input-color.tsx"],"names":[],"mappings":";;AAaA,0CAyCC;;AAtDD,iCAA8B;AAE9B,4DAAgD;AAEhD,uDAAkD;AAElD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F;;;GAGG;AACH,SAAgB,eAAe,CAAI,KAA8B;IAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAC3D,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,iCACE,SAAS,EAAE,IAAA,gBAAE,EACX,wDAAwD,EACxD,SAAS,CACV,aAED,iCACE,SAAS,EAAC,oHAAoH,EAC9H,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,GAChD,EACF,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,IAAI,SAAS,EACzB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5C,SAAS,EAAC,4FAA4F,GACtG,EACF,mCACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,KAAK,EACd,SAAS,EAAC,mIAAmI,uBAGtI,IACL,IACL,CACJ,CAAC;AACJ,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { SmartInputFieldProps } from '../../input.types';
2
2
  /**
3
- * Preline-styled colour field (preset, Angular `InputColorPresetComponent`):
4
- * a framed swatch (white without a colour), the native colour picker, the
5
- * colour's hex code and a clear button.
3
+ * Preline-styled colour field (preset): a framed swatch (white without a
4
+ * colour), the native colour picker, the colour's hex code and a clear button.
6
5
  */
7
6
  export declare function SmartInputColorPreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -27,9 +27,8 @@ const PICKER_CLASSES = 'smart:size-8 smart:cursor-pointer smart:rounded-md smart
27
27
  const HEX_CLASSES = 'smart:flex-1 smart:text-sm smart:font-medium smart:text-gray-900 smart:dark:text-white smart:uppercase';
28
28
  const CLEAR_CLASSES = 'smart:rounded-md smart:bg-red-600 smart:px-2 smart:py-1 smart:text-xs smart:font-semibold smart:text-white smart:hover:bg-red-500';
29
29
  /**
30
- * Preline-styled colour field (preset, Angular `InputColorPresetComponent`):
31
- * a framed swatch (white without a colour), the native colour picker, the
32
- * colour's hex code and a clear button.
30
+ * Preline-styled colour field (preset): a framed swatch (white without a
31
+ * colour), the native colour picker, the colour's hex code and a clear button.
33
32
  */
34
33
  function SmartInputColorPreset(props) {
35
34
  const { className } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"input-color-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/color/preset/input-color-preset.tsx"],"names":[],"mappings":";;AA2CA,sDA0CC;;AArFD,iCAA8B;AAE9B,+DAAmD;AAEnD,wDAAmD;AAEnD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,YAAY;IACZ,oBAAoB;IACpB,eAAe;IACf,WAAW;IACX,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,uBAAuB;IACvB,4BAA4B;IAC5B,kBAAkB;IAClB,2BAA2B;IAC3B,kCAAkC;IAClC,uCAAu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,aAAa,eACd,OAAO,uBAGV,IACL,IACL,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"input-color-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/color/preset/input-color-preset.tsx"],"names":[],"mappings":";;AA0CA,sDA0CC;;AApFD,iCAA8B;AAE9B,+DAAmD;AAEnD,wDAAmD;AAEnD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,YAAY;IACZ,oBAAoB;IACpB,eAAe;IACf,WAAW;IACX,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,uBAAuB;IACvB,4BAA4B;IAC5B,kBAAkB;IAClB,2BAA2B;IAC3B,kCAAkC;IAClC,uCAAuC;CACxC,CAAC;AAEF,MAAM,cAAc,GAClB,gHAAgH,CAAC;AAEnH,MAAM,cAAc,GAClB,wFAAwF,CAAC;AAE3F,MAAM,WAAW,GACf,wGAAwG,CAAC;AAE3G,MAAM,aAAa,GACjB,mIAAmI,CAAC;AAEtI;;;GAGG;AACH,SAAgB,qBAAqB,CAAI,KAA8B;IACrE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAC3D,IAAA,+BAAa,EAAC,KAAK,CAAC,CAAC;IAEvB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,eAAY,OAAO,aAC5D,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,iCAAK,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,eAAY,aAAa,aACnE,iCACE,SAAS,EAAE,cAAc,EACzB,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,IAAI,SAAS,EAAE,eAC/B,QAAQ,GAClB,EACF,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,IAAI,SAAS,EACzB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5C,SAAS,EAAE,cAAc,eACf,aAAa,GACvB,EACF,iCAAM,SAAS,EAAE,WAAW,eAAY,KAAK,YAC1C,KAAK,IAAI,EAAE,GACP,EACP,mCACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,KAAK,EACd,SAAS,EAAE,aAAa,eACd,OAAO,uBAGV,IACL,IACL,CACJ,CAAC;AACJ,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { SmartInputFieldProps } from '../input.types';
2
2
  /**
3
- * The colour logic shared by `SmartInputColor` and `SmartInputColorPreset`
4
- * (the Angular components held it twice): the shown colour is read from the
5
- * control when the control is set, then follows the picker. Picking or
6
- * clearing marks the control dirty and touched; clearing sets `null`.
3
+ * The colour logic shared by `SmartInputColor` and `SmartInputColorPreset`: the
4
+ * shown colour is read from the control when the control is set, then follows
5
+ * the picker. Picking or clearing marks the control dirty and touched; clearing
6
+ * sets `null`.
7
7
  */
8
8
  export declare function useInputColor<T>(props: SmartInputFieldProps<T>): {
9
9
  color: string | null;
@@ -4,17 +4,17 @@ exports.useInputColor = useInputColor;
4
4
  const react_1 = require("react");
5
5
  const use_input_1 = require("../base/use-input");
6
6
  /**
7
- * The colour logic shared by `SmartInputColor` and `SmartInputColorPreset`
8
- * (the Angular components held it twice): the shown colour is read from the
9
- * control when the control is set, then follows the picker. Picking or
10
- * clearing marks the control dirty and touched; clearing sets `null`.
7
+ * The colour logic shared by `SmartInputColor` and `SmartInputColorPreset`: the
8
+ * shown colour is read from the control when the control is set, then follows
9
+ * the picker. Picking or clearing marks the control dirty and touched; clearing
10
+ * sets `null`.
11
11
  */
12
12
  function useInputColor(props) {
13
13
  const input = (0, use_input_1.useInput)(props);
14
14
  const { control } = input;
15
15
  const [color, setColor] = (0, react_1.useState)(control?.value ?? null);
16
16
  const [colorControl, setColorControl] = (0, react_1.useState)(control);
17
- // Angular's `afterSetOptionsHandler`: a new control resets the colour.
17
+ // A new control resets the colour.
18
18
  if (colorControl !== control) {
19
19
  setColorControl(control);
20
20
  setColor(control?.value ?? null);
@@ -1 +1 @@
1
- {"version":3,"file":"use-input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/use-input-color.ts"],"names":[],"mappings":";;AAWA,sCA+BC;AA1CD,iCAAiC;AAEjC,iDAA6C;AAG7C;;;;;GAKG;AACH,SAAgB,aAAa,CAAI,KAA8B;IAC7D,MAAM,KAAK,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAgB,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC;IAC1E,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,OAAO,CAAC,CAAC;IAE1D,uEAAuE;IACvE,IAAI,YAAY,KAAK,OAAO,EAAE,CAAC;QAC7B,eAAe,CAAC,OAAO,CAAC,CAAC;QACzB,QAAQ,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE;QACpC,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC3B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxB,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC;IAEF,MAAM,KAAK,GAAG,GAAG,EAAE;QACjB,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,QAAQ,CAAC,EAAE,CAAC,CAAC;QACb,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC3B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;AACjD,CAAC"}
1
+ {"version":3,"file":"use-input-color.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/color/use-input-color.ts"],"names":[],"mappings":";;AAWA,sCA+BC;AA1CD,iCAAiC;AAEjC,iDAA6C;AAG7C;;;;;GAKG;AACH,SAAgB,aAAa,CAAI,KAA8B;IAC7D,MAAM,KAAK,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAgB,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC;IAC1E,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,OAAO,CAAC,CAAC;IAE1D,mCAAmC;IACnC,IAAI,YAAY,KAAK,OAAO,EAAE,CAAC;QAC7B,eAAe,CAAC,OAAO,CAAC,CAAC;QACzB,QAAQ,CAAC,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,EAAE;QACpC,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC3B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACxB,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC;IAEF,MAAM,KAAK,GAAG,GAAG,EAAE;QACjB,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,QAAQ,CAAC,EAAE,CAAC,CAAC;QACb,OAAO,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC3B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC,CAAC;IAEF,OAAO,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;AACjD,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { SmartInputFieldProps } from '../input.types';
2
2
  /**
3
- * The amount field (`<smart-input-currency>`, Angular
4
- * `InputCurrencyComponent`): a number input with `step="0.01"`. As in
5
- * Angular, nothing is formatted: an empty field sets `null`, anything else the
6
- * parsed number.
3
+ * The amount field: a number input with `step="0.01"`. Nothing is formatted: an
4
+ * empty field sets `null`, anything else the parsed number.
7
5
  */
8
6
  export declare function SmartInputCurrency<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -32,10 +32,8 @@ const INPUT_CLASSES = [
32
32
  'smart:dark:focus:outline-indigo-500',
33
33
  ];
34
34
  /**
35
- * The amount field (`<smart-input-currency>`, Angular
36
- * `InputCurrencyComponent`): a number input with `step="0.01"`. As in
37
- * Angular, nothing is formatted: an empty field sets `null`, anything else the
38
- * parsed number.
35
+ * The amount field: a number input with `step="0.01"`. Nothing is formatted: an
36
+ * empty field sets `null`, anything else the parsed number.
39
37
  */
40
38
  function SmartInputCurrency(props) {
41
39
  const { className } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"input-currency.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/currency/input-currency.tsx"],"names":[],"mappings":";;AAyCA,gDA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,CAAC,IAAA,4BAAa,EAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxD,MAAM,EAAE,aAAa,GACrB,IACD,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"input-currency.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/currency/input-currency.tsx"],"names":[],"mappings":";;AAuCA,gDAmCC;;AA1ED,iCAA8B;AAE9B,4DAAgD;AAChD,iDAA6C;AAE7C,sDAAoD;AAEpD,MAAM,aAAa,GACjB,yFAAyF,CAAC;AAE5F,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,kBAAkB;IAClB,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,qBAAqB;IACrB,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,iCAAiC;IACjC,uBAAuB;IACvB,8BAA8B;IAC9B,gCAAgC;IAChC,oBAAoB;IACpB,uBAAuB;IACvB,uBAAuB;IACvB,6BAA6B;IAC7B,sCAAsC;IACtC,qCAAqC;CACtC,CAAC;AAEF;;;GAGG;AACH,SAAgB,kBAAkB,CAAI,KAA8B;IAClE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IACnB,MAAM,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,GACd,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IAEpB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,EACvC,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAA,4BAAa,EAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxD,MAAM,EAAE,aAAa,GACrB,IACD,CACJ,CAAC;AACJ,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { SmartInputFieldProps } from '../../input.types';
2
2
  /**
3
- * Preline-styled amount field (preset, Angular
4
- * `InputCurrencyPresetComponent`): the number input of `SmartInputCurrency`
5
- * with a leading currency icon.
3
+ * Preline-styled amount field (preset): the number input of
4
+ * `SmartInputCurrency` with a leading currency icon.
6
5
  */
7
6
  export declare function SmartInputCurrencyPreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -36,9 +36,8 @@ const INPUT_CLASSES = [
36
36
  'smart:disabled:pointer-events-none',
37
37
  ];
38
38
  /**
39
- * Preline-styled amount field (preset, Angular
40
- * `InputCurrencyPresetComponent`): the number input of `SmartInputCurrency`
41
- * with a leading currency icon.
39
+ * Preline-styled amount field (preset): the number input of
40
+ * `SmartInputCurrency` with a leading currency icon.
42
41
  */
43
42
  function SmartInputCurrencyPreset(props) {
44
43
  const { className } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"input-currency-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/currency/preset/input-currency-preset.tsx"],"names":[],"mappings":";;AA8CA,4DAuDC;;AArGD,iCAA8B;AAE9B,+DAAmD;AACnD,oDAAgD;AAEhD,yDAAuD;AAEvD,MAAM,aAAa,GACjB,qGAAqG,CAAC;AAExG,MAAM,iBAAiB,GACrB,wLAAwL,CAAC;AAE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,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG,EACvC,iCAAM,CAAC,EAAC,mDAAmD,GAAG,IAC1D,GACF,EACN,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,EACvC,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAA,4BAAa,EAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxD,MAAM,EAAE,aAAa,GACrB,IACE,IACL,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"input-currency-preset.js","sourceRoot":"","sources":["../../../../../../../../../../packages/shared/react/src/lib/components/input/currency/preset/input-currency-preset.tsx"],"names":[],"mappings":";;AA6CA,4DAuDC;;AApGD,iCAA8B;AAE9B,+DAAmD;AACnD,oDAAgD;AAEhD,yDAAuD;AAEvD,MAAM,aAAa,GACjB,qGAAqG,CAAC;AAExG,MAAM,iBAAiB,GACrB,wLAAwL,CAAC;AAE3L,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,cAAc;IACd,eAAe;IACf,YAAY;IACZ,aAAa;IACb,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,wBAAwB;IACxB,cAAc;IACd,uBAAuB;IACvB,4BAA4B;IAC5B,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;IACrB,uBAAuB;IACvB,iCAAiC;IACjC,sCAAsC;IACtC,6BAA6B;IAC7B,kCAAkC;IAClC,oBAAoB;IACpB,2BAA2B;IAC3B,gCAAgC;IAChC,2BAA2B;IAC3B,oCAAoC;CACrC,CAAC;AAEF;;;GAGG;AACH,SA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,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAA,4BAAa,EAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxD,MAAM,EAAE,aAAa,GACrB,IACE,IACL,CACJ,CAAC;AACJ,CAAC"}
@@ -1,12 +1,9 @@
1
1
  import { SmartInputFieldProps } from '../input.types';
2
2
  /**
3
- * The `date` field (the Angular `InputDateComponent`,
4
- * `<smart-input-date>`): the model label and a native `type="date"` input
5
- * bound to the control (`YYYY-MM-DD`). `className` is appended to the input's
6
- * classes.
3
+ * The `date` field: the model label and a native `type="date"` input bound to
4
+ * the control (`YYYY-MM-DD`). `className` is appended to the input's classes.
7
5
  *
8
- * The Angular component's `valueChanges` subscription re-formatted a value
9
- * that is not 10 characters long with moment, but that call is commented out
10
- * there (`TODO: re-enable moment`), so the value is bound as it is here too.
6
+ * The value is bound as it is: a value that is not 10 characters long is not
7
+ * re-formatted.
11
8
  */
12
9
  export declare function SmartInputDate<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -37,14 +37,11 @@ const INPUT_CLASSES = [
37
37
  'smart:dark:focus:outline-indigo-500',
38
38
  ].join(' ');
39
39
  /**
40
- * The `date` field (the Angular `InputDateComponent`,
41
- * `<smart-input-date>`): the model label and a native `type="date"` input
42
- * bound to the control (`YYYY-MM-DD`). `className` is appended to the input's
43
- * classes.
40
+ * The `date` field: the model label and a native `type="date"` input bound to
41
+ * the control (`YYYY-MM-DD`). `className` is appended to the input's classes.
44
42
  *
45
- * The Angular component's `valueChanges` subscription re-formatted a value
46
- * that is not 10 characters long with moment, but that call is commented out
47
- * there (`TODO: re-enable moment`), so the value is bound as it is here too.
43
+ * The value is bound as it is: a value that is not 10 characters long is not
44
+ * re-formatted.
48
45
  */
49
46
  function SmartInputDate(props) {
50
47
  const { className } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"input-date.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/date/input-date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KAAK,IAAI,EAAE,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACzC,MAAM,EAAE,aAAa,GACrB,IACD,CACJ,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"input-date.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/input/date/input-date.tsx"],"names":[],"mappings":";;AA8CA,wCAkCC;;AAhFD,iCAA8B;AAE9B,4DAAgD;AAChD,iDAA6C;AAG7C,MAAM,aAAa,GAAG;IACpB,aAAa;IACb,iBAAiB;IACjB,mBAAmB;IACnB,qBAAqB;IACrB,uBAAuB;CACxB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,aAAa;IACb,cAAc;IACd,kBAAkB;IAClB,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,qBAAqB;IACrB,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,iCAAiC;IACjC,uBAAuB;IACvB,8BAA8B;IAC9B,gCAAgC;IAChC,oBAAoB;IACpB,uBAAuB;IACvB,uBAAuB;IACvB,6BAA6B;IAC7B,sCAAsC;IACtC,qCAAqC;CACtC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ;;;;;;GAMG;AACH,SAAgB,cAAc,CAAI,KAA8B;IAC9D,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,aAAa,EACb,SAAS,GACV,GAAG,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC;IACpB,MAAM,EAAE,GAAG,IAAA,aAAK,GAAE,CAAC;IAEnB,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,6DACE,mCAAO,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,aACzC,KAAK,EAAE,GAAG,EACV,QAAQ,IAAI,iCAAM,SAAS,EAAC,iCAAiC,kBAAS,IACjE,EACR,kCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,IAAA,gBAAE,EAAC,aAAa,EAAE,SAAS,CAAC,EACvC,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACzC,MAAM,EAAE,aAAa,GACrB,IACD,CACJ,CAAC;AACJ,CAAC"}
@@ -1,12 +1,11 @@
1
1
  import { SmartInputFieldProps } from '../../input.types';
2
2
  /**
3
- * Styled `date` field (preset, the Angular `InputDatePresetComponent`,
4
- * `<smart-input-date-preset>`): the Preline datepicker input look of
3
+ * Styled `date` field (preset): the Preline datepicker input look of
5
4
  * {@link SmartInputDate}. Register it as `inputFieldComponents[FieldType.date]`
6
5
  * on `SmartProvider`.
7
6
  *
8
- * Like the Angular preset it renders a native `type="date"` input: the
9
- * Preline advanced datepicker needs Vanilla Calendar Pro and the Preline JS
10
- * plugin, which the library does not ship.
7
+ * It renders a native `type="date"` input: the Preline advanced datepicker
8
+ * needs Vanilla Calendar Pro and the Preline JS plugin, which the library does
9
+ * not ship.
11
10
  */
12
11
  export declare function SmartInputDatePreset<T>(props: SmartInputFieldProps<T>): import("react/jsx-runtime").JSX.Element | null;
@@ -46,14 +46,13 @@ const INPUT_CLASSES = [
46
46
  'smart:disabled:pointer-events-none',
47
47
  ].join(' ');
48
48
  /**
49
- * Styled `date` field (preset, the Angular `InputDatePresetComponent`,
50
- * `<smart-input-date-preset>`): the Preline datepicker input look of
49
+ * Styled `date` field (preset): the Preline datepicker input look of
51
50
  * {@link SmartInputDate}. Register it as `inputFieldComponents[FieldType.date]`
52
51
  * on `SmartProvider`.
53
52
  *
54
- * Like the Angular preset it renders a native `type="date"` input: the
55
- * Preline advanced datepicker needs Vanilla Calendar Pro and the Preline JS
56
- * plugin, which the library does not ship.
53
+ * It renders a native `type="date"` input: the Preline advanced datepicker
54
+ * needs Vanilla Calendar Pro and the Preline JS plugin, which the library does
55
+ * not ship.
57
56
  */
58
57
  function SmartInputDatePreset(props) {
59
58
  const { className } = props;