ods-ant 0.2.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (715) hide show
  1. package/README.md +28 -2
  2. package/dist-lib/AutoComplete-cpf8hCnK.js +93 -0
  3. package/dist-lib/AutoComplete-cpf8hCnK.js.map +1 -0
  4. package/dist-lib/AutoComplete-gOMQxLvY.cjs +38 -0
  5. package/dist-lib/AutoComplete-gOMQxLvY.cjs.map +1 -0
  6. package/dist-lib/DatePicker-BpjYibJF.js +599 -0
  7. package/dist-lib/DatePicker-BpjYibJF.js.map +1 -0
  8. package/dist-lib/DatePicker-DTVtamsX.cjs +518 -0
  9. package/dist-lib/DatePicker-DTVtamsX.cjs.map +1 -0
  10. package/dist-lib/Dropdown-BU7v5Q4i.cjs +88 -0
  11. package/dist-lib/Dropdown-BU7v5Q4i.cjs.map +1 -0
  12. package/dist-lib/Dropdown-C2t8AOdz.js +113 -0
  13. package/dist-lib/Dropdown-C2t8AOdz.js.map +1 -0
  14. package/dist-lib/InputNumber-55VASjK4.js +253 -0
  15. package/dist-lib/InputNumber-55VASjK4.js.map +1 -0
  16. package/dist-lib/InputNumber-X-VvOKNc.cjs +202 -0
  17. package/dist-lib/InputNumber-X-VvOKNc.cjs.map +1 -0
  18. package/dist-lib/Steps-DT5AKuMX.js +214 -0
  19. package/dist-lib/Steps-DT5AKuMX.js.map +1 -0
  20. package/dist-lib/Steps-Dhq_inin.cjs +191 -0
  21. package/dist-lib/Steps-Dhq_inin.cjs.map +1 -0
  22. package/dist-lib/TimePicker-BgaELcl_.js +277 -0
  23. package/dist-lib/TimePicker-BgaELcl_.js.map +1 -0
  24. package/dist-lib/TimePicker-D4iKsUck.cjs +217 -0
  25. package/dist-lib/TimePicker-D4iKsUck.cjs.map +1 -0
  26. package/dist-lib/chunk-Bmb41Sf3.cjs +1 -0
  27. package/dist-lib/core-C-tv3mqr.js +57 -0
  28. package/dist-lib/core-C-tv3mqr.js.map +1 -0
  29. package/dist-lib/core-bPY3ouxp.cjs +2 -0
  30. package/dist-lib/core-bPY3ouxp.cjs.map +1 -0
  31. package/dist-lib/display/Avatar.cjs +84 -0
  32. package/dist-lib/display/Avatar.cjs.map +1 -0
  33. package/dist-lib/display/Avatar.js +176 -0
  34. package/dist-lib/display/Avatar.js.map +1 -0
  35. package/dist-lib/display/Badge.cjs +89 -0
  36. package/dist-lib/display/Badge.cjs.map +1 -0
  37. package/dist-lib/display/Badge.js +184 -0
  38. package/dist-lib/display/Badge.js.map +1 -0
  39. package/dist-lib/display/Calendar.cjs +194 -0
  40. package/dist-lib/display/Calendar.cjs.map +1 -0
  41. package/dist-lib/display/Calendar.js +378 -0
  42. package/dist-lib/display/Calendar.js.map +1 -0
  43. package/dist-lib/display/Card.cjs +177 -0
  44. package/dist-lib/display/Card.cjs.map +1 -0
  45. package/dist-lib/display/Card.js +209 -0
  46. package/dist-lib/display/Card.js.map +1 -0
  47. package/dist-lib/display/Collapse.cjs +346 -0
  48. package/dist-lib/display/Collapse.cjs.map +1 -0
  49. package/dist-lib/display/Collapse.js +449 -0
  50. package/dist-lib/display/Collapse.js.map +1 -0
  51. package/dist-lib/display/Descriptions.cjs +145 -0
  52. package/dist-lib/display/Descriptions.cjs.map +1 -0
  53. package/dist-lib/display/Descriptions.js +186 -0
  54. package/dist-lib/display/Descriptions.js.map +1 -0
  55. package/dist-lib/display/Empty.cjs +170 -0
  56. package/dist-lib/display/Empty.cjs.map +1 -0
  57. package/dist-lib/display/Empty.js +295 -0
  58. package/dist-lib/display/Empty.js.map +1 -0
  59. package/dist-lib/display/Icon.cjs +48 -0
  60. package/dist-lib/display/Icon.cjs.map +1 -0
  61. package/dist-lib/display/Icon.js +165 -0
  62. package/dist-lib/display/Icon.js.map +1 -0
  63. package/dist-lib/display/Image.cjs +69 -0
  64. package/dist-lib/display/Image.cjs.map +1 -0
  65. package/dist-lib/display/Image.js +163 -0
  66. package/dist-lib/display/Image.js.map +1 -0
  67. package/dist-lib/display/List.cjs +142 -0
  68. package/dist-lib/display/List.cjs.map +1 -0
  69. package/dist-lib/display/List.js +178 -0
  70. package/dist-lib/display/List.js.map +1 -0
  71. package/dist-lib/display/Popover.cjs +62 -0
  72. package/dist-lib/display/Popover.cjs.map +1 -0
  73. package/dist-lib/display/Popover.js +130 -0
  74. package/dist-lib/display/Popover.js.map +1 -0
  75. package/dist-lib/display/Segmented.cjs +115 -0
  76. package/dist-lib/display/Segmented.cjs.map +1 -0
  77. package/dist-lib/display/Segmented.js +202 -0
  78. package/dist-lib/display/Segmented.js.map +1 -0
  79. package/dist-lib/display/Statistic.cjs +133 -0
  80. package/dist-lib/display/Statistic.cjs.map +1 -0
  81. package/dist-lib/display/Statistic.js +165 -0
  82. package/dist-lib/display/Statistic.js.map +1 -0
  83. package/dist-lib/display/Table.cjs +510 -0
  84. package/dist-lib/display/Table.cjs.map +1 -0
  85. package/dist-lib/display/Table.js +1036 -0
  86. package/dist-lib/display/Table.js.map +1 -0
  87. package/dist-lib/display/Tag.cjs +35 -0
  88. package/dist-lib/display/Tag.cjs.map +1 -0
  89. package/dist-lib/display/Tag.js +95 -0
  90. package/dist-lib/display/Tag.js.map +1 -0
  91. package/dist-lib/display/Timeline.cjs +138 -0
  92. package/dist-lib/display/Timeline.cjs.map +1 -0
  93. package/dist-lib/display/Timeline.js +275 -0
  94. package/dist-lib/display/Timeline.js.map +1 -0
  95. package/dist-lib/display/Tooltip.cjs +70 -0
  96. package/dist-lib/display/Tooltip.cjs.map +1 -0
  97. package/dist-lib/display/Tooltip.js +141 -0
  98. package/dist-lib/display/Tooltip.js.map +1 -0
  99. package/dist-lib/display/Tree.cjs +199 -0
  100. package/dist-lib/display/Tree.cjs.map +1 -0
  101. package/dist-lib/display/Tree.js +349 -0
  102. package/dist-lib/display/Tree.js.map +1 -0
  103. package/dist-lib/display/Typography.cjs +102 -0
  104. package/dist-lib/display/Typography.cjs.map +1 -0
  105. package/dist-lib/display/Typography.js +159 -0
  106. package/dist-lib/display/Typography.js.map +1 -0
  107. package/dist-lib/display/index.cjs +1 -0
  108. package/dist-lib/display/index.js +20 -0
  109. package/dist-lib/feedback/Drawer.cjs +169 -0
  110. package/dist-lib/feedback/Drawer.cjs.map +1 -0
  111. package/dist-lib/feedback/Drawer.js +255 -0
  112. package/dist-lib/feedback/Drawer.js.map +1 -0
  113. package/dist-lib/feedback/FloatButton.cjs +2 -0
  114. package/dist-lib/feedback/FloatButton.cjs.map +1 -0
  115. package/dist-lib/feedback/FloatButton.js +19 -0
  116. package/dist-lib/feedback/FloatButton.js.map +1 -0
  117. package/dist-lib/feedback/Message.cjs +2 -0
  118. package/dist-lib/feedback/Message.cjs.map +1 -0
  119. package/dist-lib/feedback/Message.js +47 -0
  120. package/dist-lib/feedback/Message.js.map +1 -0
  121. package/dist-lib/feedback/Modal.cjs +170 -0
  122. package/dist-lib/feedback/Modal.cjs.map +1 -0
  123. package/dist-lib/feedback/Modal.js +297 -0
  124. package/dist-lib/feedback/Modal.js.map +1 -0
  125. package/dist-lib/feedback/Notification.cjs +20 -0
  126. package/dist-lib/feedback/Notification.cjs.map +1 -0
  127. package/dist-lib/feedback/Notification.js +60 -0
  128. package/dist-lib/feedback/Notification.js.map +1 -0
  129. package/dist-lib/feedback/Popconfirm.cjs +2 -0
  130. package/dist-lib/feedback/Popconfirm.cjs.map +1 -0
  131. package/dist-lib/feedback/Popconfirm.js +15 -0
  132. package/dist-lib/feedback/Popconfirm.js.map +1 -0
  133. package/dist-lib/feedback/Progress.cjs +78 -0
  134. package/dist-lib/feedback/Progress.cjs.map +1 -0
  135. package/dist-lib/feedback/Progress.js +199 -0
  136. package/dist-lib/feedback/Progress.js.map +1 -0
  137. package/dist-lib/feedback/Result.cjs +95 -0
  138. package/dist-lib/feedback/Result.cjs.map +1 -0
  139. package/dist-lib/feedback/Result.js +174 -0
  140. package/dist-lib/feedback/Result.js.map +1 -0
  141. package/dist-lib/feedback/Skeleton.cjs +214 -0
  142. package/dist-lib/feedback/Skeleton.cjs.map +1 -0
  143. package/dist-lib/feedback/Skeleton.js +408 -0
  144. package/dist-lib/feedback/Skeleton.js.map +1 -0
  145. package/dist-lib/feedback/Spin.cjs +65 -0
  146. package/dist-lib/feedback/Spin.cjs.map +1 -0
  147. package/dist-lib/feedback/Spin.js +115 -0
  148. package/dist-lib/feedback/Spin.js.map +1 -0
  149. package/dist-lib/feedback/Tour.cjs +154 -0
  150. package/dist-lib/feedback/Tour.cjs.map +1 -0
  151. package/dist-lib/feedback/Tour.js +211 -0
  152. package/dist-lib/feedback/Tour.js.map +1 -0
  153. package/dist-lib/feedback/index.cjs +1 -0
  154. package/dist-lib/feedback/index.js +12 -0
  155. package/dist-lib/feedbackIcons-DBoCD6Dk.js +37 -0
  156. package/dist-lib/feedbackIcons-DBoCD6Dk.js.map +1 -0
  157. package/dist-lib/feedbackIcons-DXxPnA5r.cjs +2 -0
  158. package/dist-lib/feedbackIcons-DXxPnA5r.cjs.map +1 -0
  159. package/dist-lib/fieldProps-CuWfEbFx.cjs +2 -0
  160. package/dist-lib/fieldProps-CuWfEbFx.cjs.map +1 -0
  161. package/dist-lib/fieldProps-EeYy2kXb.js +9 -0
  162. package/dist-lib/fieldProps-EeYy2kXb.js.map +1 -0
  163. package/dist-lib/forms/AccessibleCheckboxGroup.cjs +2 -0
  164. package/dist-lib/forms/AccessibleCheckboxGroup.cjs.map +1 -0
  165. package/dist-lib/forms/AccessibleCheckboxGroup.js +16 -0
  166. package/dist-lib/forms/AccessibleCheckboxGroup.js.map +1 -0
  167. package/dist-lib/forms/AccessibleDatePicker.cjs +2 -0
  168. package/dist-lib/forms/AccessibleDatePicker.cjs.map +1 -0
  169. package/dist-lib/forms/AccessibleDatePicker.js +22 -0
  170. package/dist-lib/forms/AccessibleDatePicker.js.map +1 -0
  171. package/dist-lib/forms/AccessiblePasswordInput.cjs +2 -0
  172. package/dist-lib/forms/AccessiblePasswordInput.cjs.map +1 -0
  173. package/dist-lib/forms/AccessiblePasswordInput.js +14 -0
  174. package/dist-lib/forms/AccessiblePasswordInput.js.map +1 -0
  175. package/dist-lib/forms/AccessibleRadioGroup.cjs +2 -0
  176. package/dist-lib/forms/AccessibleRadioGroup.cjs.map +1 -0
  177. package/dist-lib/forms/AccessibleRadioGroup.js +16 -0
  178. package/dist-lib/forms/AccessibleRadioGroup.js.map +1 -0
  179. package/dist-lib/forms/AccessibleSelect.cjs +2 -0
  180. package/dist-lib/forms/AccessibleSelect.cjs.map +1 -0
  181. package/dist-lib/forms/AccessibleSelect.js +20 -0
  182. package/dist-lib/forms/AccessibleSelect.js.map +1 -0
  183. package/dist-lib/forms/AccessibleSwitch.cjs +2 -0
  184. package/dist-lib/forms/AccessibleSwitch.cjs.map +1 -0
  185. package/dist-lib/forms/AccessibleSwitch.js +20 -0
  186. package/dist-lib/forms/AccessibleSwitch.js.map +1 -0
  187. package/dist-lib/forms/AutoComplete.cjs +1 -0
  188. package/dist-lib/forms/AutoComplete.js +2 -0
  189. package/dist-lib/forms/Button.cjs +243 -0
  190. package/dist-lib/forms/Button.cjs.map +1 -0
  191. package/dist-lib/forms/Button.js +299 -0
  192. package/dist-lib/forms/Button.js.map +1 -0
  193. package/dist-lib/forms/Cascader.cjs +37 -0
  194. package/dist-lib/forms/Cascader.cjs.map +1 -0
  195. package/dist-lib/forms/Cascader.js +88 -0
  196. package/dist-lib/forms/Cascader.js.map +1 -0
  197. package/dist-lib/forms/Checkbox.cjs +275 -0
  198. package/dist-lib/forms/Checkbox.cjs.map +1 -0
  199. package/dist-lib/forms/Checkbox.js +327 -0
  200. package/dist-lib/forms/Checkbox.js.map +1 -0
  201. package/dist-lib/forms/CheckboxGroup.cjs +2 -0
  202. package/dist-lib/forms/CheckboxGroup.cjs.map +1 -0
  203. package/dist-lib/forms/CheckboxGroup.js +42 -0
  204. package/dist-lib/forms/CheckboxGroup.js.map +1 -0
  205. package/dist-lib/forms/ClearableAutoComplete.cjs +2 -0
  206. package/dist-lib/forms/ClearableAutoComplete.cjs.map +1 -0
  207. package/dist-lib/forms/ClearableAutoComplete.js +27 -0
  208. package/dist-lib/forms/ClearableAutoComplete.js.map +1 -0
  209. package/dist-lib/forms/ClearableCascader.cjs +2 -0
  210. package/dist-lib/forms/ClearableCascader.cjs.map +1 -0
  211. package/dist-lib/forms/ClearableCascader.js +27 -0
  212. package/dist-lib/forms/ClearableCascader.js.map +1 -0
  213. package/dist-lib/forms/ClearableCheckbox.cjs +2 -0
  214. package/dist-lib/forms/ClearableCheckbox.cjs.map +1 -0
  215. package/dist-lib/forms/ClearableCheckbox.js +23 -0
  216. package/dist-lib/forms/ClearableCheckbox.js.map +1 -0
  217. package/dist-lib/forms/ClearableColorPicker.cjs +2 -0
  218. package/dist-lib/forms/ClearableColorPicker.cjs.map +1 -0
  219. package/dist-lib/forms/ClearableColorPicker.js +22 -0
  220. package/dist-lib/forms/ClearableColorPicker.js.map +1 -0
  221. package/dist-lib/forms/ClearableDatePicker.cjs +2 -0
  222. package/dist-lib/forms/ClearableDatePicker.cjs.map +1 -0
  223. package/dist-lib/forms/ClearableDatePicker.js +27 -0
  224. package/dist-lib/forms/ClearableDatePicker.js.map +1 -0
  225. package/dist-lib/forms/ClearableInput.cjs +2 -0
  226. package/dist-lib/forms/ClearableInput.cjs.map +1 -0
  227. package/dist-lib/forms/ClearableInput.js +22 -0
  228. package/dist-lib/forms/ClearableInput.js.map +1 -0
  229. package/dist-lib/forms/ClearableInputNumber.cjs +2 -0
  230. package/dist-lib/forms/ClearableInputNumber.cjs.map +1 -0
  231. package/dist-lib/forms/ClearableInputNumber.js +27 -0
  232. package/dist-lib/forms/ClearableInputNumber.js.map +1 -0
  233. package/dist-lib/forms/ClearableMentions.cjs +2 -0
  234. package/dist-lib/forms/ClearableMentions.cjs.map +1 -0
  235. package/dist-lib/forms/ClearableMentions.js +27 -0
  236. package/dist-lib/forms/ClearableMentions.js.map +1 -0
  237. package/dist-lib/forms/ClearableRadio.cjs +2 -0
  238. package/dist-lib/forms/ClearableRadio.cjs.map +1 -0
  239. package/dist-lib/forms/ClearableRadio.js +23 -0
  240. package/dist-lib/forms/ClearableRadio.js.map +1 -0
  241. package/dist-lib/forms/ClearableRadioGroup.cjs +2 -0
  242. package/dist-lib/forms/ClearableRadioGroup.cjs.map +1 -0
  243. package/dist-lib/forms/ClearableRadioGroup.js +22 -0
  244. package/dist-lib/forms/ClearableRadioGroup.js.map +1 -0
  245. package/dist-lib/forms/ClearableRate.cjs +2 -0
  246. package/dist-lib/forms/ClearableRate.cjs.map +1 -0
  247. package/dist-lib/forms/ClearableRate.js +22 -0
  248. package/dist-lib/forms/ClearableRate.js.map +1 -0
  249. package/dist-lib/forms/ClearableSelect.cjs +2 -0
  250. package/dist-lib/forms/ClearableSelect.cjs.map +1 -0
  251. package/dist-lib/forms/ClearableSelect.js +27 -0
  252. package/dist-lib/forms/ClearableSelect.js.map +1 -0
  253. package/dist-lib/forms/ClearableSlider.cjs +2 -0
  254. package/dist-lib/forms/ClearableSlider.cjs.map +1 -0
  255. package/dist-lib/forms/ClearableSlider.js +23 -0
  256. package/dist-lib/forms/ClearableSlider.js.map +1 -0
  257. package/dist-lib/forms/ClearableSwitch.cjs +2 -0
  258. package/dist-lib/forms/ClearableSwitch.cjs.map +1 -0
  259. package/dist-lib/forms/ClearableSwitch.js +23 -0
  260. package/dist-lib/forms/ClearableSwitch.js.map +1 -0
  261. package/dist-lib/forms/ClearableTimePicker.cjs +2 -0
  262. package/dist-lib/forms/ClearableTimePicker.cjs.map +1 -0
  263. package/dist-lib/forms/ClearableTimePicker.js +27 -0
  264. package/dist-lib/forms/ClearableTimePicker.js.map +1 -0
  265. package/dist-lib/forms/ClearableTransfer.cjs +200 -0
  266. package/dist-lib/forms/ClearableTransfer.cjs.map +1 -0
  267. package/dist-lib/forms/ClearableTransfer.js +337 -0
  268. package/dist-lib/forms/ClearableTransfer.js.map +1 -0
  269. package/dist-lib/forms/ClearableTreeSelect.cjs +2 -0
  270. package/dist-lib/forms/ClearableTreeSelect.cjs.map +1 -0
  271. package/dist-lib/forms/ClearableTreeSelect.js +27 -0
  272. package/dist-lib/forms/ClearableTreeSelect.js.map +1 -0
  273. package/dist-lib/forms/ClearableUpload.cjs +111 -0
  274. package/dist-lib/forms/ClearableUpload.cjs.map +1 -0
  275. package/dist-lib/forms/ClearableUpload.js +187 -0
  276. package/dist-lib/forms/ClearableUpload.js.map +1 -0
  277. package/dist-lib/forms/ColorPicker.cjs +2 -0
  278. package/dist-lib/forms/ColorPicker.cjs.map +1 -0
  279. package/dist-lib/forms/ColorPicker.js +42 -0
  280. package/dist-lib/forms/ColorPicker.js.map +1 -0
  281. package/dist-lib/forms/DatePicker.cjs +1 -0
  282. package/dist-lib/forms/DatePicker.js +2 -0
  283. package/dist-lib/forms/FieldSetShell.cjs +2 -0
  284. package/dist-lib/forms/FieldSetShell.cjs.map +1 -0
  285. package/dist-lib/forms/FieldSetShell.js +87 -0
  286. package/dist-lib/forms/FieldSetShell.js.map +1 -0
  287. package/dist-lib/forms/FieldShell.cjs +2 -0
  288. package/dist-lib/forms/FieldShell.cjs.map +1 -0
  289. package/dist-lib/forms/FieldShell.js +93 -0
  290. package/dist-lib/forms/FieldShell.js.map +1 -0
  291. package/dist-lib/forms/Form.cjs +244 -0
  292. package/dist-lib/forms/Form.cjs.map +1 -0
  293. package/dist-lib/forms/Form.js +357 -0
  294. package/dist-lib/forms/Form.js.map +1 -0
  295. package/dist-lib/forms/FormError.cjs +2 -0
  296. package/dist-lib/forms/FormError.cjs.map +1 -0
  297. package/dist-lib/forms/FormError.js +41 -0
  298. package/dist-lib/forms/FormError.js.map +1 -0
  299. package/dist-lib/forms/FormSuccess.cjs +2 -0
  300. package/dist-lib/forms/FormSuccess.cjs.map +1 -0
  301. package/dist-lib/forms/FormSuccess.js +42 -0
  302. package/dist-lib/forms/FormSuccess.js.map +1 -0
  303. package/dist-lib/forms/FormWarning.cjs +2 -0
  304. package/dist-lib/forms/FormWarning.cjs.map +1 -0
  305. package/dist-lib/forms/FormWarning.js +42 -0
  306. package/dist-lib/forms/FormWarning.js.map +1 -0
  307. package/dist-lib/forms/Input.cjs +295 -0
  308. package/dist-lib/forms/Input.cjs.map +1 -0
  309. package/dist-lib/forms/Input.js +358 -0
  310. package/dist-lib/forms/Input.js.map +1 -0
  311. package/dist-lib/forms/InputNumber.cjs +1 -0
  312. package/dist-lib/forms/InputNumber.js +2 -0
  313. package/dist-lib/forms/Mentions.cjs +40 -0
  314. package/dist-lib/forms/Mentions.cjs.map +1 -0
  315. package/dist-lib/forms/Mentions.js +126 -0
  316. package/dist-lib/forms/Mentions.js.map +1 -0
  317. package/dist-lib/forms/PasswordInput.cjs +2 -0
  318. package/dist-lib/forms/PasswordInput.cjs.map +1 -0
  319. package/dist-lib/forms/PasswordInput.js +56 -0
  320. package/dist-lib/forms/PasswordInput.js.map +1 -0
  321. package/dist-lib/forms/Radio.cjs +2 -0
  322. package/dist-lib/forms/Radio.cjs.map +1 -0
  323. package/dist-lib/forms/Radio.js +43 -0
  324. package/dist-lib/forms/Radio.js.map +1 -0
  325. package/dist-lib/forms/RadioGroup.cjs +2 -0
  326. package/dist-lib/forms/RadioGroup.cjs.map +1 -0
  327. package/dist-lib/forms/RadioGroup.js +42 -0
  328. package/dist-lib/forms/RadioGroup.js.map +1 -0
  329. package/dist-lib/forms/Rate.cjs +2 -0
  330. package/dist-lib/forms/Rate.cjs.map +1 -0
  331. package/dist-lib/forms/Rate.js +42 -0
  332. package/dist-lib/forms/Rate.js.map +1 -0
  333. package/dist-lib/forms/Select.cjs +2 -0
  334. package/dist-lib/forms/Select.cjs.map +1 -0
  335. package/dist-lib/forms/Select.js +72 -0
  336. package/dist-lib/forms/Select.js.map +1 -0
  337. package/dist-lib/forms/Slider.cjs +2 -0
  338. package/dist-lib/forms/Slider.cjs.map +1 -0
  339. package/dist-lib/forms/Slider.js +43 -0
  340. package/dist-lib/forms/Slider.js.map +1 -0
  341. package/dist-lib/forms/Switch.cjs +117 -0
  342. package/dist-lib/forms/Switch.cjs.map +1 -0
  343. package/dist-lib/forms/Switch.js +209 -0
  344. package/dist-lib/forms/Switch.js.map +1 -0
  345. package/dist-lib/forms/TimePicker.cjs +1 -0
  346. package/dist-lib/forms/TimePicker.js +2 -0
  347. package/dist-lib/forms/TreeSelect.cjs +2 -0
  348. package/dist-lib/forms/TreeSelect.cjs.map +1 -0
  349. package/dist-lib/forms/TreeSelect.js +45 -0
  350. package/dist-lib/forms/TreeSelect.js.map +1 -0
  351. package/dist-lib/forms/clearUtils.cjs +2 -0
  352. package/dist-lib/forms/clearUtils.cjs.map +1 -0
  353. package/dist-lib/forms/clearUtils.js +16 -0
  354. package/dist-lib/forms/clearUtils.js.map +1 -0
  355. package/dist-lib/forms/index.cjs +1 -0
  356. package/dist-lib/forms/index.js +52 -0
  357. package/dist-lib/forms/validation.cjs +2 -0
  358. package/dist-lib/forms/validation.cjs.map +1 -0
  359. package/dist-lib/forms/validation.js +68 -0
  360. package/dist-lib/forms/validation.js.map +1 -0
  361. package/dist-lib/index.cjs +1 -7307
  362. package/dist-lib/index.js +91 -9807
  363. package/dist-lib/navigation/Anchor.cjs +10 -0
  364. package/dist-lib/navigation/Anchor.cjs.map +1 -0
  365. package/dist-lib/navigation/Anchor.js +32 -0
  366. package/dist-lib/navigation/Anchor.js.map +1 -0
  367. package/dist-lib/navigation/Breadcrumb.cjs +130 -0
  368. package/dist-lib/navigation/Breadcrumb.cjs.map +1 -0
  369. package/dist-lib/navigation/Breadcrumb.js +217 -0
  370. package/dist-lib/navigation/Breadcrumb.js.map +1 -0
  371. package/dist-lib/navigation/Dropdown.cjs +1 -0
  372. package/dist-lib/navigation/Dropdown.js +2 -0
  373. package/dist-lib/navigation/Menu.cjs +177 -0
  374. package/dist-lib/navigation/Menu.cjs.map +1 -0
  375. package/dist-lib/navigation/Menu.js +258 -0
  376. package/dist-lib/navigation/Menu.js.map +1 -0
  377. package/dist-lib/navigation/Pagination.cjs +370 -0
  378. package/dist-lib/navigation/Pagination.cjs.map +1 -0
  379. package/dist-lib/navigation/Pagination.js +505 -0
  380. package/dist-lib/navigation/Pagination.js.map +1 -0
  381. package/dist-lib/navigation/Steps.cjs +1 -0
  382. package/dist-lib/navigation/Steps.js +2 -0
  383. package/dist-lib/navigation/Tabs.cjs +162 -0
  384. package/dist-lib/navigation/Tabs.cjs.map +1 -0
  385. package/dist-lib/navigation/Tabs.js +249 -0
  386. package/dist-lib/navigation/Tabs.js.map +1 -0
  387. package/dist-lib/navigation/index.cjs +1 -0
  388. package/dist-lib/navigation/index.js +8 -0
  389. package/dist-lib/selectStyles-BFeXUMpO.cjs +1027 -0
  390. package/dist-lib/selectStyles-BFeXUMpO.cjs.map +1 -0
  391. package/dist-lib/selectStyles-C8j5Vvgp.js +1037 -0
  392. package/dist-lib/selectStyles-C8j5Vvgp.js.map +1 -0
  393. package/dist-lib/theme.cjs +2 -1
  394. package/dist-lib/theme.cjs.map +1 -0
  395. package/dist-lib/theme.js +1656 -2
  396. package/dist-lib/theme.js.map +1 -0
  397. package/dist-lib/types/ds/display/Avatar.d.ts +37 -0
  398. package/dist-lib/types/ds/display/Avatar.d.ts.map +1 -0
  399. package/dist-lib/types/ds/display/Avatar.test.d.ts +2 -0
  400. package/dist-lib/types/ds/display/Avatar.test.d.ts.map +1 -0
  401. package/dist-lib/types/ds/display/Badge.test.d.ts +2 -0
  402. package/dist-lib/types/ds/display/Badge.test.d.ts.map +1 -0
  403. package/dist-lib/types/ds/display/Calendar.d.ts +38 -0
  404. package/dist-lib/types/ds/display/Calendar.d.ts.map +1 -0
  405. package/dist-lib/types/ds/display/Calendar.test.d.ts +2 -0
  406. package/dist-lib/types/ds/display/Calendar.test.d.ts.map +1 -0
  407. package/dist-lib/types/ds/display/Card.d.ts +20 -0
  408. package/dist-lib/types/ds/display/Card.d.ts.map +1 -0
  409. package/dist-lib/types/ds/display/Card.test.d.ts +2 -0
  410. package/dist-lib/types/ds/display/Card.test.d.ts.map +1 -0
  411. package/dist-lib/types/ds/display/Collapse.test.d.ts +2 -0
  412. package/dist-lib/types/ds/display/Collapse.test.d.ts.map +1 -0
  413. package/dist-lib/types/ds/display/Descriptions.d.ts +16 -0
  414. package/dist-lib/types/ds/display/Descriptions.d.ts.map +1 -0
  415. package/dist-lib/types/ds/display/Descriptions.test.d.ts +2 -0
  416. package/dist-lib/types/ds/display/Descriptions.test.d.ts.map +1 -0
  417. package/dist-lib/types/ds/display/Empty.test.d.ts +2 -0
  418. package/dist-lib/types/ds/display/Empty.test.d.ts.map +1 -0
  419. package/dist-lib/types/ds/display/Icon.d.ts +43 -0
  420. package/dist-lib/types/ds/display/Icon.d.ts.map +1 -0
  421. package/dist-lib/types/ds/display/Icon.test.d.ts +2 -0
  422. package/dist-lib/types/ds/display/Icon.test.d.ts.map +1 -0
  423. package/dist-lib/types/ds/display/Image.d.ts +20 -0
  424. package/dist-lib/types/ds/display/Image.d.ts.map +1 -0
  425. package/dist-lib/types/ds/display/Image.test.d.ts +2 -0
  426. package/dist-lib/types/ds/display/Image.test.d.ts.map +1 -0
  427. package/dist-lib/types/ds/display/List.d.ts +14 -0
  428. package/dist-lib/types/ds/display/List.d.ts.map +1 -0
  429. package/dist-lib/types/ds/display/List.test.d.ts +2 -0
  430. package/dist-lib/types/ds/display/List.test.d.ts.map +1 -0
  431. package/dist-lib/types/ds/display/Popover.test.d.ts +2 -0
  432. package/dist-lib/types/ds/display/Popover.test.d.ts.map +1 -0
  433. package/dist-lib/types/ds/display/Segmented.test.d.ts +2 -0
  434. package/dist-lib/types/ds/display/Segmented.test.d.ts.map +1 -0
  435. package/dist-lib/types/ds/display/Statistic.d.ts +25 -0
  436. package/dist-lib/types/ds/display/Statistic.d.ts.map +1 -0
  437. package/dist-lib/types/ds/display/Statistic.test.d.ts +2 -0
  438. package/dist-lib/types/ds/display/Statistic.test.d.ts.map +1 -0
  439. package/dist-lib/types/ds/display/Table.d.ts +50 -0
  440. package/dist-lib/types/ds/display/Table.d.ts.map +1 -1
  441. package/dist-lib/types/ds/display/Table.test.d.ts +2 -0
  442. package/dist-lib/types/ds/display/Table.test.d.ts.map +1 -0
  443. package/dist-lib/types/ds/display/Tag.test.d.ts +2 -0
  444. package/dist-lib/types/ds/display/Tag.test.d.ts.map +1 -0
  445. package/dist-lib/types/ds/display/Timeline.d.ts +32 -0
  446. package/dist-lib/types/ds/display/Timeline.d.ts.map +1 -0
  447. package/dist-lib/types/ds/display/Timeline.test.d.ts +2 -0
  448. package/dist-lib/types/ds/display/Timeline.test.d.ts.map +1 -0
  449. package/dist-lib/types/ds/display/Tooltip.test.d.ts +2 -0
  450. package/dist-lib/types/ds/display/Tooltip.test.d.ts.map +1 -0
  451. package/dist-lib/types/ds/display/Tree.d.ts +59 -0
  452. package/dist-lib/types/ds/display/Tree.d.ts.map +1 -0
  453. package/dist-lib/types/ds/display/Tree.test.d.ts +2 -0
  454. package/dist-lib/types/ds/display/Tree.test.d.ts.map +1 -0
  455. package/dist-lib/types/ds/display/Typography.d.ts +26 -0
  456. package/dist-lib/types/ds/display/Typography.d.ts.map +1 -0
  457. package/dist-lib/types/ds/display/Typography.test.d.ts +2 -0
  458. package/dist-lib/types/ds/display/Typography.test.d.ts.map +1 -0
  459. package/dist-lib/types/ds/display/index.d.ts +11 -0
  460. package/dist-lib/types/ds/display/index.d.ts.map +1 -1
  461. package/dist-lib/types/ds/feedback/Drawer.test.d.ts +2 -0
  462. package/dist-lib/types/ds/feedback/Drawer.test.d.ts.map +1 -0
  463. package/dist-lib/types/ds/feedback/FloatButton.test.d.ts +2 -0
  464. package/dist-lib/types/ds/feedback/FloatButton.test.d.ts.map +1 -0
  465. package/dist-lib/types/ds/feedback/Message.test.d.ts +2 -0
  466. package/dist-lib/types/ds/feedback/Message.test.d.ts.map +1 -0
  467. package/dist-lib/types/ds/feedback/Modal.test.d.ts +2 -0
  468. package/dist-lib/types/ds/feedback/Modal.test.d.ts.map +1 -0
  469. package/dist-lib/types/ds/feedback/Notification.test.d.ts +2 -0
  470. package/dist-lib/types/ds/feedback/Notification.test.d.ts.map +1 -0
  471. package/dist-lib/types/ds/feedback/Popconfirm.test.d.ts +2 -0
  472. package/dist-lib/types/ds/feedback/Popconfirm.test.d.ts.map +1 -0
  473. package/dist-lib/types/ds/feedback/Progress.d.ts +30 -0
  474. package/dist-lib/types/ds/feedback/Progress.d.ts.map +1 -0
  475. package/dist-lib/types/ds/feedback/Progress.test.d.ts +2 -0
  476. package/dist-lib/types/ds/feedback/Progress.test.d.ts.map +1 -0
  477. package/dist-lib/types/ds/feedback/Result.d.ts +20 -0
  478. package/dist-lib/types/ds/feedback/Result.d.ts.map +1 -0
  479. package/dist-lib/types/ds/feedback/Result.test.d.ts +2 -0
  480. package/dist-lib/types/ds/feedback/Result.test.d.ts.map +1 -0
  481. package/dist-lib/types/ds/feedback/Skeleton.d.ts +25 -0
  482. package/dist-lib/types/ds/feedback/Skeleton.d.ts.map +1 -0
  483. package/dist-lib/types/ds/feedback/Skeleton.test.d.ts +2 -0
  484. package/dist-lib/types/ds/feedback/Skeleton.test.d.ts.map +1 -0
  485. package/dist-lib/types/ds/feedback/Spin.test.d.ts +2 -0
  486. package/dist-lib/types/ds/feedback/Spin.test.d.ts.map +1 -0
  487. package/dist-lib/types/ds/feedback/Tour.d.ts +14 -0
  488. package/dist-lib/types/ds/feedback/Tour.d.ts.map +1 -0
  489. package/dist-lib/types/ds/feedback/Tour.test.d.ts +2 -0
  490. package/dist-lib/types/ds/feedback/Tour.test.d.ts.map +1 -0
  491. package/dist-lib/types/ds/feedback/feedbackIcons.test.d.ts +2 -0
  492. package/dist-lib/types/ds/feedback/feedbackIcons.test.d.ts.map +1 -0
  493. package/dist-lib/types/ds/feedback/index.d.ts +4 -0
  494. package/dist-lib/types/ds/feedback/index.d.ts.map +1 -1
  495. package/dist-lib/types/ds/forms/AccessibleCheckboxGroup.d.ts.map +1 -1
  496. package/dist-lib/types/ds/forms/AccessibleCheckboxGroup.test.d.ts +2 -0
  497. package/dist-lib/types/ds/forms/AccessibleCheckboxGroup.test.d.ts.map +1 -0
  498. package/dist-lib/types/ds/forms/AccessibleDatePicker.d.ts.map +1 -1
  499. package/dist-lib/types/ds/forms/AccessibleDatePicker.test.d.ts +2 -0
  500. package/dist-lib/types/ds/forms/AccessibleDatePicker.test.d.ts.map +1 -0
  501. package/dist-lib/types/ds/forms/AccessiblePasswordInput.d.ts +4 -12
  502. package/dist-lib/types/ds/forms/AccessiblePasswordInput.d.ts.map +1 -1
  503. package/dist-lib/types/ds/forms/AccessiblePasswordInput.test.d.ts +2 -0
  504. package/dist-lib/types/ds/forms/AccessiblePasswordInput.test.d.ts.map +1 -0
  505. package/dist-lib/types/ds/forms/AccessibleRadioGroup.d.ts.map +1 -1
  506. package/dist-lib/types/ds/forms/AccessibleRadioGroup.test.d.ts +2 -0
  507. package/dist-lib/types/ds/forms/AccessibleRadioGroup.test.d.ts.map +1 -0
  508. package/dist-lib/types/ds/forms/AccessibleSelect.d.ts.map +1 -1
  509. package/dist-lib/types/ds/forms/AccessibleSelect.test.d.ts +2 -0
  510. package/dist-lib/types/ds/forms/AccessibleSelect.test.d.ts.map +1 -0
  511. package/dist-lib/types/ds/forms/AccessibleSwitch.d.ts +1 -1
  512. package/dist-lib/types/ds/forms/AccessibleSwitch.d.ts.map +1 -1
  513. package/dist-lib/types/ds/forms/AccessibleSwitch.test.d.ts +2 -0
  514. package/dist-lib/types/ds/forms/AccessibleSwitch.test.d.ts.map +1 -0
  515. package/dist-lib/types/ds/forms/AutoComplete.d.ts +5 -1
  516. package/dist-lib/types/ds/forms/AutoComplete.d.ts.map +1 -1
  517. package/dist-lib/types/ds/forms/AutoComplete.test.d.ts +2 -0
  518. package/dist-lib/types/ds/forms/AutoComplete.test.d.ts.map +1 -0
  519. package/dist-lib/types/ds/forms/Button.test.d.ts +2 -0
  520. package/dist-lib/types/ds/forms/Button.test.d.ts.map +1 -0
  521. package/dist-lib/types/ds/forms/Cascader.d.ts +6 -2
  522. package/dist-lib/types/ds/forms/Cascader.d.ts.map +1 -1
  523. package/dist-lib/types/ds/forms/Cascader.test.d.ts +2 -0
  524. package/dist-lib/types/ds/forms/Cascader.test.d.ts.map +1 -0
  525. package/dist-lib/types/ds/forms/Checkbox.d.ts +7 -1
  526. package/dist-lib/types/ds/forms/Checkbox.d.ts.map +1 -1
  527. package/dist-lib/types/ds/forms/Checkbox.test.d.ts +2 -0
  528. package/dist-lib/types/ds/forms/Checkbox.test.d.ts.map +1 -0
  529. package/dist-lib/types/ds/forms/CheckboxGroup.d.ts +13 -0
  530. package/dist-lib/types/ds/forms/CheckboxGroup.d.ts.map +1 -0
  531. package/dist-lib/types/ds/forms/CheckboxGroup.test.d.ts +2 -0
  532. package/dist-lib/types/ds/forms/CheckboxGroup.test.d.ts.map +1 -0
  533. package/dist-lib/types/ds/forms/ClearableAutoComplete.d.ts +1 -1
  534. package/dist-lib/types/ds/forms/ClearableAutoComplete.d.ts.map +1 -1
  535. package/dist-lib/types/ds/forms/ClearableAutoComplete.test.d.ts +2 -0
  536. package/dist-lib/types/ds/forms/ClearableAutoComplete.test.d.ts.map +1 -0
  537. package/dist-lib/types/ds/forms/ClearableCascader.d.ts.map +1 -1
  538. package/dist-lib/types/ds/forms/ClearableCascader.test.d.ts +2 -0
  539. package/dist-lib/types/ds/forms/ClearableCascader.test.d.ts.map +1 -0
  540. package/dist-lib/types/ds/forms/ClearableCheckbox.d.ts.map +1 -1
  541. package/dist-lib/types/ds/forms/ClearableCheckbox.test.d.ts +2 -0
  542. package/dist-lib/types/ds/forms/ClearableCheckbox.test.d.ts.map +1 -0
  543. package/dist-lib/types/ds/forms/ClearableColorPicker.d.ts +2 -3
  544. package/dist-lib/types/ds/forms/ClearableColorPicker.d.ts.map +1 -1
  545. package/dist-lib/types/ds/forms/ClearableColorPicker.test.d.ts +2 -0
  546. package/dist-lib/types/ds/forms/ClearableColorPicker.test.d.ts.map +1 -0
  547. package/dist-lib/types/ds/forms/ClearableDatePicker.d.ts.map +1 -1
  548. package/dist-lib/types/ds/forms/ClearableDatePicker.test.d.ts +2 -0
  549. package/dist-lib/types/ds/forms/ClearableDatePicker.test.d.ts.map +1 -0
  550. package/dist-lib/types/ds/forms/ClearableInput.d.ts.map +1 -1
  551. package/dist-lib/types/ds/forms/ClearableInput.test.d.ts +2 -0
  552. package/dist-lib/types/ds/forms/ClearableInput.test.d.ts.map +1 -0
  553. package/dist-lib/types/ds/forms/ClearableInputNumber.d.ts.map +1 -1
  554. package/dist-lib/types/ds/forms/ClearableInputNumber.test.d.ts +2 -0
  555. package/dist-lib/types/ds/forms/ClearableInputNumber.test.d.ts.map +1 -0
  556. package/dist-lib/types/ds/forms/ClearableMentions.d.ts +2 -4
  557. package/dist-lib/types/ds/forms/ClearableMentions.d.ts.map +1 -1
  558. package/dist-lib/types/ds/forms/ClearableMentions.test.d.ts +2 -0
  559. package/dist-lib/types/ds/forms/ClearableMentions.test.d.ts.map +1 -0
  560. package/dist-lib/types/ds/forms/ClearableRadio.d.ts +1 -1
  561. package/dist-lib/types/ds/forms/ClearableRadio.d.ts.map +1 -1
  562. package/dist-lib/types/ds/forms/ClearableRadio.test.d.ts +2 -0
  563. package/dist-lib/types/ds/forms/ClearableRadio.test.d.ts.map +1 -0
  564. package/dist-lib/types/ds/forms/ClearableRadioGroup.d.ts +2 -2
  565. package/dist-lib/types/ds/forms/ClearableRadioGroup.d.ts.map +1 -1
  566. package/dist-lib/types/ds/forms/ClearableRadioGroup.test.d.ts +2 -0
  567. package/dist-lib/types/ds/forms/ClearableRadioGroup.test.d.ts.map +1 -0
  568. package/dist-lib/types/ds/forms/ClearableRate.d.ts +2 -4
  569. package/dist-lib/types/ds/forms/ClearableRate.d.ts.map +1 -1
  570. package/dist-lib/types/ds/forms/ClearableRate.test.d.ts +2 -0
  571. package/dist-lib/types/ds/forms/ClearableRate.test.d.ts.map +1 -0
  572. package/dist-lib/types/ds/forms/ClearableSelect.d.ts.map +1 -1
  573. package/dist-lib/types/ds/forms/ClearableSelect.test.d.ts +2 -0
  574. package/dist-lib/types/ds/forms/ClearableSelect.test.d.ts.map +1 -0
  575. package/dist-lib/types/ds/forms/ClearableSlider.d.ts +1 -2
  576. package/dist-lib/types/ds/forms/ClearableSlider.d.ts.map +1 -1
  577. package/dist-lib/types/ds/forms/ClearableSlider.test.d.ts +2 -0
  578. package/dist-lib/types/ds/forms/ClearableSlider.test.d.ts.map +1 -0
  579. package/dist-lib/types/ds/forms/ClearableSwitch.d.ts +1 -1
  580. package/dist-lib/types/ds/forms/ClearableSwitch.d.ts.map +1 -1
  581. package/dist-lib/types/ds/forms/ClearableSwitch.test.d.ts +2 -0
  582. package/dist-lib/types/ds/forms/ClearableSwitch.test.d.ts.map +1 -0
  583. package/dist-lib/types/ds/forms/ClearableTimePicker.d.ts.map +1 -1
  584. package/dist-lib/types/ds/forms/ClearableTimePicker.test.d.ts +2 -0
  585. package/dist-lib/types/ds/forms/ClearableTimePicker.test.d.ts.map +1 -0
  586. package/dist-lib/types/ds/forms/ClearableTransfer.d.ts +13 -7
  587. package/dist-lib/types/ds/forms/ClearableTransfer.d.ts.map +1 -1
  588. package/dist-lib/types/ds/forms/ClearableTransfer.test.d.ts +2 -0
  589. package/dist-lib/types/ds/forms/ClearableTransfer.test.d.ts.map +1 -0
  590. package/dist-lib/types/ds/forms/ClearableTreeSelect.d.ts +2 -2
  591. package/dist-lib/types/ds/forms/ClearableTreeSelect.d.ts.map +1 -1
  592. package/dist-lib/types/ds/forms/ClearableTreeSelect.test.d.ts +2 -0
  593. package/dist-lib/types/ds/forms/ClearableTreeSelect.test.d.ts.map +1 -0
  594. package/dist-lib/types/ds/forms/ClearableUpload.d.ts +13 -7
  595. package/dist-lib/types/ds/forms/ClearableUpload.d.ts.map +1 -1
  596. package/dist-lib/types/ds/forms/ClearableUpload.test.d.ts +2 -0
  597. package/dist-lib/types/ds/forms/ClearableUpload.test.d.ts.map +1 -0
  598. package/dist-lib/types/ds/forms/ColorPicker.d.ts +11 -0
  599. package/dist-lib/types/ds/forms/ColorPicker.d.ts.map +1 -0
  600. package/dist-lib/types/ds/forms/ColorPicker.test.d.ts +2 -0
  601. package/dist-lib/types/ds/forms/ColorPicker.test.d.ts.map +1 -0
  602. package/dist-lib/types/ds/forms/DatePicker.d.ts +5 -2
  603. package/dist-lib/types/ds/forms/DatePicker.d.ts.map +1 -1
  604. package/dist-lib/types/ds/forms/DatePicker.test.d.ts +2 -0
  605. package/dist-lib/types/ds/forms/DatePicker.test.d.ts.map +1 -0
  606. package/dist-lib/types/ds/forms/FieldSetShell.d.ts +6 -1
  607. package/dist-lib/types/ds/forms/FieldSetShell.d.ts.map +1 -1
  608. package/dist-lib/types/ds/forms/FieldSetShell.test.d.ts +2 -0
  609. package/dist-lib/types/ds/forms/FieldSetShell.test.d.ts.map +1 -0
  610. package/dist-lib/types/ds/forms/FieldShell.d.ts +6 -2
  611. package/dist-lib/types/ds/forms/FieldShell.d.ts.map +1 -1
  612. package/dist-lib/types/ds/forms/FieldShell.test.d.ts +2 -0
  613. package/dist-lib/types/ds/forms/FieldShell.test.d.ts.map +1 -0
  614. package/dist-lib/types/ds/forms/Form.test.d.ts +2 -0
  615. package/dist-lib/types/ds/forms/Form.test.d.ts.map +1 -0
  616. package/dist-lib/types/ds/forms/FormError.test.d.ts +2 -0
  617. package/dist-lib/types/ds/forms/FormError.test.d.ts.map +1 -0
  618. package/dist-lib/types/ds/forms/FormSuccess.test.d.ts +2 -0
  619. package/dist-lib/types/ds/forms/FormSuccess.test.d.ts.map +1 -0
  620. package/dist-lib/types/ds/forms/FormWarning.test.d.ts +2 -0
  621. package/dist-lib/types/ds/forms/FormWarning.test.d.ts.map +1 -0
  622. package/dist-lib/types/ds/forms/Input.d.ts +6 -2
  623. package/dist-lib/types/ds/forms/Input.d.ts.map +1 -1
  624. package/dist-lib/types/ds/forms/Input.test.d.ts +2 -0
  625. package/dist-lib/types/ds/forms/Input.test.d.ts.map +1 -0
  626. package/dist-lib/types/ds/forms/InputNumber.d.ts +6 -1
  627. package/dist-lib/types/ds/forms/InputNumber.d.ts.map +1 -1
  628. package/dist-lib/types/ds/forms/InputNumber.test.d.ts +2 -0
  629. package/dist-lib/types/ds/forms/InputNumber.test.d.ts.map +1 -0
  630. package/dist-lib/types/ds/forms/Mentions.d.ts +11 -0
  631. package/dist-lib/types/ds/forms/Mentions.d.ts.map +1 -0
  632. package/dist-lib/types/ds/forms/Mentions.test.d.ts +2 -0
  633. package/dist-lib/types/ds/forms/Mentions.test.d.ts.map +1 -0
  634. package/dist-lib/types/ds/forms/PasswordInput.d.ts +13 -0
  635. package/dist-lib/types/ds/forms/PasswordInput.d.ts.map +1 -0
  636. package/dist-lib/types/ds/forms/PasswordInput.test.d.ts +2 -0
  637. package/dist-lib/types/ds/forms/PasswordInput.test.d.ts.map +1 -0
  638. package/dist-lib/types/ds/forms/Radio.d.ts +10 -0
  639. package/dist-lib/types/ds/forms/Radio.d.ts.map +1 -0
  640. package/dist-lib/types/ds/forms/Radio.test.d.ts +2 -0
  641. package/dist-lib/types/ds/forms/Radio.test.d.ts.map +1 -0
  642. package/dist-lib/types/ds/forms/RadioGroup.d.ts +11 -0
  643. package/dist-lib/types/ds/forms/RadioGroup.d.ts.map +1 -0
  644. package/dist-lib/types/ds/forms/RadioGroup.test.d.ts +2 -0
  645. package/dist-lib/types/ds/forms/RadioGroup.test.d.ts.map +1 -0
  646. package/dist-lib/types/ds/forms/Rate.d.ts +10 -0
  647. package/dist-lib/types/ds/forms/Rate.d.ts.map +1 -0
  648. package/dist-lib/types/ds/forms/Rate.test.d.ts +2 -0
  649. package/dist-lib/types/ds/forms/Rate.test.d.ts.map +1 -0
  650. package/dist-lib/types/ds/forms/Select.d.ts +6 -1
  651. package/dist-lib/types/ds/forms/Select.d.ts.map +1 -1
  652. package/dist-lib/types/ds/forms/Select.test.d.ts +2 -0
  653. package/dist-lib/types/ds/forms/Select.test.d.ts.map +1 -0
  654. package/dist-lib/types/ds/forms/Slider.d.ts +11 -0
  655. package/dist-lib/types/ds/forms/Slider.d.ts.map +1 -0
  656. package/dist-lib/types/ds/forms/Slider.test.d.ts +2 -0
  657. package/dist-lib/types/ds/forms/Slider.test.d.ts.map +1 -0
  658. package/dist-lib/types/ds/forms/Switch.d.ts +5 -1
  659. package/dist-lib/types/ds/forms/Switch.d.ts.map +1 -1
  660. package/dist-lib/types/ds/forms/Switch.test.d.ts +2 -0
  661. package/dist-lib/types/ds/forms/Switch.test.d.ts.map +1 -0
  662. package/dist-lib/types/ds/forms/TimePicker.d.ts +4 -1
  663. package/dist-lib/types/ds/forms/TimePicker.d.ts.map +1 -1
  664. package/dist-lib/types/ds/forms/TimePicker.test.d.ts +2 -0
  665. package/dist-lib/types/ds/forms/TimePicker.test.d.ts.map +1 -0
  666. package/dist-lib/types/ds/forms/Transfer.test.d.ts +2 -0
  667. package/dist-lib/types/ds/forms/Transfer.test.d.ts.map +1 -0
  668. package/dist-lib/types/ds/forms/TreeSelect.d.ts +11 -0
  669. package/dist-lib/types/ds/forms/TreeSelect.d.ts.map +1 -0
  670. package/dist-lib/types/ds/forms/TreeSelect.test.d.ts +2 -0
  671. package/dist-lib/types/ds/forms/TreeSelect.test.d.ts.map +1 -0
  672. package/dist-lib/types/ds/forms/Upload.test.d.ts +2 -0
  673. package/dist-lib/types/ds/forms/Upload.test.d.ts.map +1 -0
  674. package/dist-lib/types/ds/forms/fieldProps.d.ts +17 -0
  675. package/dist-lib/types/ds/forms/fieldProps.d.ts.map +1 -0
  676. package/dist-lib/types/ds/forms/index.d.ts +9 -0
  677. package/dist-lib/types/ds/forms/index.d.ts.map +1 -1
  678. package/dist-lib/types/ds/navigation/Anchor.test.d.ts +2 -0
  679. package/dist-lib/types/ds/navigation/Anchor.test.d.ts.map +1 -0
  680. package/dist-lib/types/ds/navigation/Breadcrumb.test.d.ts +2 -0
  681. package/dist-lib/types/ds/navigation/Breadcrumb.test.d.ts.map +1 -0
  682. package/dist-lib/types/ds/navigation/Dropdown.test.d.ts +2 -0
  683. package/dist-lib/types/ds/navigation/Dropdown.test.d.ts.map +1 -0
  684. package/dist-lib/types/ds/navigation/Menu.d.ts +13 -0
  685. package/dist-lib/types/ds/navigation/Menu.d.ts.map +1 -0
  686. package/dist-lib/types/ds/navigation/Menu.test.d.ts +2 -0
  687. package/dist-lib/types/ds/navigation/Menu.test.d.ts.map +1 -0
  688. package/dist-lib/types/ds/navigation/Pagination.test.d.ts +2 -0
  689. package/dist-lib/types/ds/navigation/Pagination.test.d.ts.map +1 -0
  690. package/dist-lib/types/ds/navigation/Steps.test.d.ts +2 -0
  691. package/dist-lib/types/ds/navigation/Steps.test.d.ts.map +1 -0
  692. package/dist-lib/types/ds/navigation/Tabs.test.d.ts +2 -0
  693. package/dist-lib/types/ds/navigation/Tabs.test.d.ts.map +1 -0
  694. package/dist-lib/types/ds/navigation/index.d.ts +1 -0
  695. package/dist-lib/types/ds/navigation/index.d.ts.map +1 -1
  696. package/dist-lib/types/test/contracts/componentContracts.d.ts +3 -0
  697. package/dist-lib/types/test/contracts/componentContracts.d.ts.map +1 -0
  698. package/dist-lib/types/test/contracts/formControlContracts.d.ts +5 -0
  699. package/dist-lib/types/test/contracts/formControlContracts.d.ts.map +1 -0
  700. package/dist-lib/types/test/renderWithProviders.d.ts +3 -0
  701. package/dist-lib/types/test/renderWithProviders.d.ts.map +1 -0
  702. package/dist-lib/types/theme/ontadaTheme.d.ts +694 -0
  703. package/dist-lib/types/theme/ontadaTheme.d.ts.map +1 -1
  704. package/dist-lib/types/utils/useCustomIcon.d.ts.map +1 -1
  705. package/dist-lib/useCustomIcon-B-VUK-84.js +541 -0
  706. package/dist-lib/useCustomIcon-B-VUK-84.js.map +1 -0
  707. package/dist-lib/useCustomIcon-DbSB56Pd.cjs +1364 -0
  708. package/dist-lib/useCustomIcon-DbSB56Pd.cjs.map +1 -0
  709. package/package.json +94 -10
  710. package/dist-lib/index.cjs.map +0 -1
  711. package/dist-lib/index.js.map +0 -1
  712. package/dist-lib/ontadaTheme-DEEJ31G9.cjs +0 -2
  713. package/dist-lib/ontadaTheme-DEEJ31G9.cjs.map +0 -1
  714. package/dist-lib/ontadaTheme-DoyP_6uO.js +0 -1022
  715. package/dist-lib/ontadaTheme-DoyP_6uO.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.js","names":[],"sources":["../../src/ds/forms/Checkbox.tsx"],"sourcesContent":["import { Checkbox as AntCheckbox } from 'antd';\nimport type { CheckboxProps as AntCheckboxProps } from 'antd';\nimport type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport { dsSemanticTokens } from '../../theme/ontadaTheme';\nimport { FieldShell } from './FieldShell';\nimport type { DSFieldShellProps } from './fieldProps';\nimport { joinDescribedByIds } from './fieldProps';\n\nexport type DSCheckboxSize = 'sm' | 'md' | 'lg';\nexport type DSCheckboxStatus = 'default' | 'error';\n\nexport type CheckboxProps = AntCheckboxProps & {\n dsSize?: DSCheckboxSize;\n dsStatus?: DSCheckboxStatus;\n} & DSFieldShellProps & {\n onValueChange?: (nextValue: boolean) => void;\n clearToValue?: boolean;\n fieldDescription?: ReactNode;\n};\n\nconst STYLE_ID = 'ds-checkbox-styles';\n\nexport const Checkbox = ({\n dsSize = 'md',\n dsStatus = 'default',\n className = '',\n fieldLabel,\n fieldRequired,\n fieldDescription,\n fieldError,\n fieldActions,\n containerStyle,\n clear,\n clearable = false,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue = false,\n id,\n checked,\n children,\n ...props\n}: CheckboxProps) => {\n useEffect(() => {\n if (typeof document !== 'undefined') {\n let style = document.getElementById(STYLE_ID) as HTMLStyleElement | null;\n if (!style) {\n style = document.createElement('style');\n style.id = STYLE_ID;\n document.head.appendChild(style);\n }\n const { checkbox } = dsSemanticTokens;\n\n style.textContent = `\n .ds-checkbox.ant-checkbox-wrapper {\n align-items: center;\n }\n\n .ds-checkbox .ant-checkbox {\n top: 0;\n }\n\n .ds-checkbox .ant-checkbox .ant-checkbox-inner {\n border-radius: ${checkbox.radius}px;\n border-color: ${checkbox.border.default};\n border-width: ${checkbox.borderWidth.default}px;\n background-color: ${checkbox.background.default};\n transition: none !important;\n animation: none !important;\n }\n\n .ds-checkbox .ant-checkbox::after,\n .ds-checkbox .ant-checkbox .ant-checkbox-inner::after {\n transition: none !important;\n animation: none !important;\n }\n\n .ds-checkbox .ant-checkbox-input:focus-visible + .ant-checkbox-inner {\n outline: 2px solid ${checkbox.border.hover};\n outline-offset: 2px;\n }\n\n .ds-checkbox.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) .ant-checkbox-inner,\n .ds-checkbox .ant-checkbox:hover:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) .ant-checkbox-inner,\n .ds-checkbox .ant-checkbox:active:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) .ant-checkbox-inner {\n border-color: ${checkbox.border.default};\n border-width: ${checkbox.borderWidth.default}px;\n background-color: ${checkbox.background.default};\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner {\n border-color: ${checkbox.border.checked};\n background-color: ${checkbox.background.checked};\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner::after {\n border-color: ${checkbox.mark.checked};\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner {\n border-color: ${checkbox.border.checked} !important;\n background-color: ${checkbox.background.checked} !important;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n content: '';\n position: absolute;\n inset-inline-start: 50%;\n top: 50%;\n margin: 0;\n background-color: ${checkbox.mark.indeterminate} !important;\n border: none !important;\n border-radius: 1px;\n transform: translate(-50%, -50%) !important;\n opacity: 1;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after,\n .ds-checkbox.ant-checkbox-wrapper-disabled .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n background-color: ${checkbox.mark.indeterminate} !important;\n }\n\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) .ant-checkbox-inner {\n border-color: ${checkbox.border.error};\n }\n\n .ds-checkbox.ds-checkbox-status-error.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox:hover:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox:active:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) .ant-checkbox-inner {\n border-color: ${checkbox.border.error};\n border-width: ${checkbox.borderWidth.default}px;\n }\n\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner {\n border-color: ${checkbox.border.error};\n background-color: ${checkbox.background.errorChecked};\n }\n\n .ds-checkbox.ds-checkbox-status-error.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-checked:hover .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-indeterminate:hover .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-checked:active .ant-checkbox-inner,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-indeterminate:active .ant-checkbox-inner {\n border-color: ${checkbox.border.error};\n background-color: ${checkbox.background.errorChecked};\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner,\n .ds-checkbox.ant-checkbox-wrapper-disabled .ant-checkbox .ant-checkbox-inner {\n background-color: ${checkbox.background.disabled};\n border-color: transparent;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after,\n .ds-checkbox .ant-checkbox.ant-checkbox-disabled.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n border-color: ${checkbox.mark.checked};\n opacity: 0.95;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-disabled.ant-checkbox-indeterminate .ant-checkbox-inner::after,\n .ds-checkbox .ant-checkbox.ant-checkbox-disabled.ant-checkbox-indeterminate::after {\n border-width: 0 !important;\n background-color: ${checkbox.mark.indeterminate} !important;\n }\n\n .ds-checkbox.ds-checkbox-size-sm .ant-checkbox .ant-checkbox-inner {\n width: ${checkbox.size.sm}px;\n height: ${checkbox.size.sm}px;\n }\n\n .ds-checkbox.ds-checkbox-size-sm .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner::after {\n width: 5px;\n height: 9px;\n }\n\n .ds-checkbox.ds-checkbox-size-sm .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n width: ${checkbox.indeterminate.sm.width}px !important;\n height: ${checkbox.indeterminate.sm.height}px !important;\n }\n\n .ds-checkbox.ds-checkbox-size-md .ant-checkbox .ant-checkbox-inner {\n width: ${checkbox.size.md}px;\n height: ${checkbox.size.md}px;\n }\n\n .ds-checkbox.ds-checkbox-size-md .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner::after {\n width: 6px;\n height: 10px;\n }\n\n .ds-checkbox.ds-checkbox-size-md .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n width: ${checkbox.indeterminate.md.width}px !important;\n height: ${checkbox.indeterminate.md.height}px !important;\n }\n\n .ds-checkbox.ds-checkbox-size-lg .ant-checkbox .ant-checkbox-inner {\n width: ${checkbox.size.lg}px;\n height: ${checkbox.size.lg}px;\n }\n\n .ds-checkbox.ds-checkbox-size-lg .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner::after {\n width: 7px;\n height: 11px;\n }\n\n .ds-checkbox.ds-checkbox-size-lg .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n width: ${checkbox.indeterminate.lg.width}px !important;\n height: ${checkbox.indeterminate.lg.height}px !important;\n }\n\n /* Ant v6 checkbox visuals are rendered on .ant-checkbox and its ::after */\n .ds-checkbox .ant-checkbox {\n width: ${checkbox.size.md}px;\n height: ${checkbox.size.md}px;\n --ds-checkbox-mark-width: 6px;\n --ds-checkbox-mark-height: 10px;\n --ds-checkbox-mark-stroke: 2px;\n border-radius: ${checkbox.radius}px;\n border: ${checkbox.borderWidth.default}px solid ${checkbox.border.default};\n background-color: ${checkbox.background.default};\n box-sizing: border-box;\n transition: none !important;\n animation: none !important;\n }\n\n .ds-checkbox.ds-checkbox-size-sm .ant-checkbox {\n width: ${checkbox.size.sm}px;\n height: ${checkbox.size.sm}px;\n --ds-checkbox-mark-width: 5px;\n --ds-checkbox-mark-height: 9px;\n }\n\n .ds-checkbox.ds-checkbox-size-lg .ant-checkbox {\n width: ${checkbox.size.lg}px;\n height: ${checkbox.size.lg}px;\n --ds-checkbox-mark-width: 7px;\n --ds-checkbox-mark-height: 11px;\n }\n\n .ds-checkbox.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled),\n .ds-checkbox .ant-checkbox:hover:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled),\n .ds-checkbox .ant-checkbox:active:not(.ant-checkbox-checked):not(.ant-checkbox-indeterminate):not(.ant-checkbox-disabled) {\n border-color: ${checkbox.border.default} !important;\n border-width: ${checkbox.borderWidth.default}px !important;\n background-color: ${checkbox.background.default} !important;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-indeterminate {\n border-color: ${checkbox.border.checked} !important;\n background-color: ${checkbox.background.checked} !important;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-checked {\n border-color: transparent !important;\n background-color: ${checkbox.background.checked} !important;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-checked::after {\n border-color: ${checkbox.mark.checked} !important;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-checked::after,\n .ds-checkbox .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner::after {\n content: '' !important;\n position: absolute !important;\n left: 50% !important;\n top: 50% !important;\n margin: 0 !important;\n width: var(--ds-checkbox-mark-width) !important;\n height: var(--ds-checkbox-mark-height) !important;\n border: solid ${checkbox.mark.checked} !important;\n border-width: 0 var(--ds-checkbox-mark-stroke) var(--ds-checkbox-mark-stroke) 0 !important;\n background: transparent !important;\n transform: translate(-50%, -58%) rotate(45deg) !important;\n transform-origin: center !important;\n box-sizing: border-box !important;\n opacity: 1 !important;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-indeterminate::after {\n content: '' !important;\n position: absolute !important;\n left: 50% !important;\n top: 50% !important;\n margin: 0 !important;\n border: 0 !important;\n border-radius: 1px !important;\n background: ${checkbox.mark.indeterminate} !important;\n transform: translate(-50%, -50%) !important;\n opacity: 1 !important;\n }\n\n .ds-checkbox.ds-checkbox-size-sm .ant-checkbox.ant-checkbox-indeterminate::after {\n width: ${checkbox.indeterminate.sm.width}px !important;\n height: ${checkbox.indeterminate.sm.height}px !important;\n }\n\n .ds-checkbox.ds-checkbox-size-md .ant-checkbox.ant-checkbox-indeterminate::after {\n width: ${checkbox.indeterminate.md.width}px !important;\n height: ${checkbox.indeterminate.md.height}px !important;\n }\n\n .ds-checkbox.ds-checkbox-size-lg .ant-checkbox.ant-checkbox-indeterminate::after {\n width: ${checkbox.indeterminate.lg.width}px !important;\n height: ${checkbox.indeterminate.lg.height}px !important;\n }\n\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-checked,\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-indeterminate {\n border-color: ${checkbox.border.error} !important;\n background-color: ${checkbox.background.errorChecked} !important;\n }\n\n .ds-checkbox.ds-checkbox-status-error .ant-checkbox.ant-checkbox-checked::after {\n border-color: ${checkbox.mark.checked} !important;\n }\n\n .ds-checkbox .ant-checkbox.ant-checkbox-disabled.ant-checkbox-checked,\n .ds-checkbox .ant-checkbox.ant-checkbox-disabled.ant-checkbox-indeterminate,\n .ds-checkbox.ant-checkbox-wrapper-disabled .ant-checkbox.ant-checkbox-checked,\n .ds-checkbox.ant-checkbox-wrapper-disabled .ant-checkbox.ant-checkbox-indeterminate {\n border-color: transparent !important;\n background-color: ${checkbox.background.disabled} !important;\n }\n `;\n }\n }, []);\n\n const mergedClassName = `ds-checkbox ds-checkbox-size-${dsSize} ds-checkbox-status-${dsStatus} ${className}`.trim();\n const shouldWrapInFieldShell = Boolean(\n fieldLabel ||\n fieldRequired ||\n fieldDescription ||\n fieldError ||\n fieldActions ||\n clearable ||\n clear ||\n onClear,\n );\n const descriptionId = id ? `${id}-description` : undefined;\n const errorId = id ? `${id}-error` : undefined;\n const clearAction = clear?.onClear ?? onClear;\n const describedBy = joinDescribedByIds(\n fieldDescription ? descriptionId : undefined,\n fieldError ? errorId : undefined,\n );\n\n const control = (\n <AntCheckbox\n {...props}\n id={id}\n checked={checked}\n className={mergedClassName}\n aria-describedby={describedBy}\n aria-invalid={fieldError ? true : undefined}\n onChange={(event) => {\n props.onChange?.(event);\n onValueChange?.(event.target.checked);\n }}\n >\n {children}\n </AntCheckbox>\n );\n\n if (!shouldWrapInFieldShell) {\n return control;\n }\n\n return (\n <FieldShell\n label={fieldLabel}\n required={fieldRequired}\n htmlFor={id}\n description={fieldDescription}\n descriptionId={descriptionId}\n error={fieldError}\n errorId={errorId}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n clearValue={checked}\n onClear={() => {\n clearAction?.();\n onValueChange?.(clearToValue);\n }}\n extraActions={fieldActions}\n style={containerStyle}\n >\n {control}\n </FieldShell>\n );\n};\n\nCheckbox.displayName = 'Checkbox';\nCheckbox.Group = AntCheckbox.Group;"],"mappings":";;;;;;;AAqBA,IAAM,IAAW,sBAEJ,KAAY,EACvB,YAAS,MACT,cAAW,WACX,eAAY,IACZ,eACA,kBACA,qBACA,eACA,iBACA,mBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,kBAAe,IACf,OACA,YACA,aACA,GAAG,QACgB;AACnB,SAAgB;AACd,MAAI,OAAO,WAAa,KAAa;GACnC,IAAI,IAAQ,SAAS,eAAe,EAAS;AAC7C,GAAK,MACH,IAAQ,SAAS,cAAc,QAAQ,EACvC,EAAM,KAAK,GACX,SAAS,KAAK,YAAY,EAAM;GAElC,IAAM,EAAE,gBAAa;AAErB,KAAM,cAAc;;;;;;;;;;2BAUC,EAAS,OAAO;0BACjB,EAAS,OAAO,QAAQ;0BACxB,EAAS,YAAY,QAAQ;8BACzB,EAAS,WAAW,QAAQ;;;;;;;;;;;;+BAY3B,EAAS,OAAO,MAAM;;;;;;;0BAO3B,EAAS,OAAO,QAAQ;0BACxB,EAAS,YAAY,QAAQ;8BACzB,EAAS,WAAW,QAAQ;;;;0BAIhC,EAAS,OAAO,QAAQ;8BACpB,EAAS,WAAW,QAAQ;;;;0BAIhC,EAAS,KAAK,QAAQ;;;;0BAItB,EAAS,OAAO,QAAQ;8BACpB,EAAS,WAAW,QAAQ;;;;;;;;;8BAS5B,EAAS,KAAK,cAAc;;;;;;;;;8BAS5B,EAAS,KAAK,cAAc;;;;0BAIhC,EAAS,OAAO,MAAM;;;;;;0BAMtB,EAAS,OAAO,MAAM;0BACtB,EAAS,YAAY,QAAQ;;;;;0BAK7B,EAAS,OAAO,MAAM;8BAClB,EAAS,WAAW,aAAa;;;;;;;;;0BASrC,EAAS,OAAO,MAAM;8BAClB,EAAS,WAAW,aAAa;;;;;8BAKjC,EAAS,WAAW,SAAS;;;;;;0BAMjC,EAAS,KAAK,QAAQ;;;;;;;8BAOlB,EAAS,KAAK,cAAc;;;;mBAIvC,EAAS,KAAK,GAAG;oBAChB,EAAS,KAAK,GAAG;;;;;;;;;mBASlB,EAAS,cAAc,GAAG,MAAM;oBAC/B,EAAS,cAAc,GAAG,OAAO;;;;mBAIlC,EAAS,KAAK,GAAG;oBAChB,EAAS,KAAK,GAAG;;;;;;;;;mBASlB,EAAS,cAAc,GAAG,MAAM;oBAC/B,EAAS,cAAc,GAAG,OAAO;;;;mBAIlC,EAAS,KAAK,GAAG;oBAChB,EAAS,KAAK,GAAG;;;;;;;;;mBASlB,EAAS,cAAc,GAAG,MAAM;oBAC/B,EAAS,cAAc,GAAG,OAAO;;;;;mBAKlC,EAAS,KAAK,GAAG;oBAChB,EAAS,KAAK,GAAG;;;;2BAIV,EAAS,OAAO;oBACvB,EAAS,YAAY,QAAQ,WAAW,EAAS,OAAO,QAAQ;8BACtD,EAAS,WAAW,QAAQ;;;;;;;mBAOvC,EAAS,KAAK,GAAG;oBAChB,EAAS,KAAK,GAAG;;;;;;mBAMlB,EAAS,KAAK,GAAG;oBAChB,EAAS,KAAK,GAAG;;;;;;;;0BAQX,EAAS,OAAO,QAAQ;0BACxB,EAAS,YAAY,QAAQ;8BACzB,EAAS,WAAW,QAAQ;;;;0BAIhC,EAAS,OAAO,QAAQ;8BACpB,EAAS,WAAW,QAAQ;;;;;8BAK5B,EAAS,WAAW,QAAQ;;;;0BAIhC,EAAS,KAAK,QAAQ;;;;;;;;;;;;0BAYtB,EAAS,KAAK,QAAQ;;;;;;;;;;;;;;;;;wBAiBxB,EAAS,KAAK,cAAc;;;;;;mBAMjC,EAAS,cAAc,GAAG,MAAM;oBAC/B,EAAS,cAAc,GAAG,OAAO;;;;mBAIlC,EAAS,cAAc,GAAG,MAAM;oBAC/B,EAAS,cAAc,GAAG,OAAO;;;;mBAIlC,EAAS,cAAc,GAAG,MAAM;oBAC/B,EAAS,cAAc,GAAG,OAAO;;;;;0BAK3B,EAAS,OAAO,MAAM;8BAClB,EAAS,WAAW,aAAa;;;;0BAIrC,EAAS,KAAK,QAAQ;;;;;;;;8BAQlB,EAAS,WAAW,SAAS;;;;IAItD,EAAE,CAAC;CAEN,IAAM,IAAkB,gCAAgC,EAAO,sBAAsB,EAAS,GAAG,IAAY,MAAM,EAC7G,IAAyB,GAC7B,KACE,KACA,KACA,KACA,KACA,KACA,KACA,IAEE,IAAgB,IAAK,GAAG,EAAG,gBAAgB,KAAA,GAC3C,IAAU,IAAK,GAAG,EAAG,UAAU,KAAA,GAC/B,IAAc,GAAO,WAAW,GAChC,IAAc,EAClB,IAAmB,IAAgB,KAAA,GACnC,IAAa,IAAU,KAAA,EACxB,EAEK,IACJ,kBAAC,GAAD;EACE,GAAI;EACA;EACK;EACT,WAAW;EACX,oBAAkB;EAClB,gBAAc,IAAa,KAAO,KAAA;EAClC,WAAW,MAAU;AAEnB,GADA,EAAM,WAAW,EAAM,EACvB,IAAgB,EAAM,OAAO,QAAQ;;EAGtC;EACW,CAAA;AAOhB,QAJK,IAKH,kBAAC,GAAD;EACE,OAAO;EACP,UAAU;EACV,SAAS;EACT,aAAa;EACE;EACf,OAAO;EACE;EACF;EACI;EACC;EACK;EACjB,YAAY;EACZ,eAAe;AAEb,GADA,KAAe,EACf,IAAgB,EAAa;;EAE/B,cAAc;EACd,OAAO;YAEN;EACU,CAAA,GAzBN;;AA6BX,EAAS,cAAc,YACvB,EAAS,QAAQ,EAAY"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./FieldSetShell.cjs`);let t=require(`antd`),n=require(`react`),r=require(`react/jsx-runtime`);var i=({fieldLabel:i,fieldLabelStyle:a,fieldRequired:o,fieldDescription:s,fieldError:c,fieldActions:l,containerStyle:u,clear:d,clearable:f=!1,clearLabel:p,clearVisibility:m=`always`,onClear:h,onValueChange:g,clearToValue:_=[],value:v,...y})=>{let b=(0,n.useId)(),x=!!(i||o||s||c||l||f||d||h),S=x?`${b}-legend`:void 0,C=x&&s?`${b}-description`:void 0,w=x&&c?`${b}-error`:void 0,T=d?.onClear??h,E=(0,r.jsx)(t.Checkbox.Group,{"aria-labelledby":S,"aria-describedby":[C,w].filter(Boolean).join(` `)||void 0,value:v,onChange:e=>{y.onChange?.(e),g?.(e)},...y});return x?(0,r.jsx)(e.FieldSetShell,{title:i,titleId:S,titleStyle:a,required:o,description:s,descriptionId:C,error:c,errorId:w,clear:{enabled:d?.enabled??f,label:d?.label??p,visibility:d?.visibility??m,onClear:()=>{T?.(),g?.(_)}},clearValue:v,actions:l,style:u,children:E}):E};exports.CheckboxGroup=i;
2
+ //# sourceMappingURL=CheckboxGroup.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroup.cjs","names":[],"sources":["../../src/ds/forms/CheckboxGroup.tsx"],"sourcesContent":["import { Checkbox as AntCheckbox } from 'antd';\nimport type { CSSProperties, ReactNode } from 'react';\nimport { useId } from 'react';\nimport { FieldSetShell } from './FieldSetShell';\nimport type { DSFieldShellProps } from './fieldProps';\n\ntype AntCheckboxGroupProps = React.ComponentProps<typeof AntCheckbox.Group>;\n\nexport type CheckboxGroupProps = AntCheckboxGroupProps &\n DSFieldShellProps & {\n onValueChange?: (selectedValues: Array<string | number | boolean>) => void;\n clearToValue?: Array<string | number | boolean>;\n fieldLabelStyle?: CSSProperties;\n fieldDescription?: ReactNode;\n };\n\nexport const CheckboxGroup = ({\n fieldLabel,\n fieldLabelStyle,\n fieldRequired,\n fieldDescription,\n fieldError,\n fieldActions,\n containerStyle,\n clear,\n clearable = false,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue = [],\n value,\n ...props\n}: CheckboxGroupProps) => {\n const generatedId = useId();\n const shouldWrapInFieldShell = Boolean(\n fieldLabel ||\n fieldRequired ||\n fieldDescription ||\n fieldError ||\n fieldActions ||\n clearable ||\n clear ||\n onClear,\n );\n const titleId = shouldWrapInFieldShell ? `${generatedId}-legend` : undefined;\n const descriptionId = shouldWrapInFieldShell && fieldDescription ? `${generatedId}-description` : undefined;\n const errorId = shouldWrapInFieldShell && fieldError ? `${generatedId}-error` : undefined;\n const clearAction = clear?.onClear ?? onClear;\n\n const control = (\n <AntCheckbox.Group\n aria-labelledby={titleId}\n aria-describedby={[descriptionId, errorId].filter(Boolean).join(' ') || undefined}\n value={value}\n onChange={(nextValues) => {\n props.onChange?.(nextValues);\n onValueChange?.(nextValues as Array<string | number | boolean>);\n }}\n {...props}\n />\n );\n\n if (!shouldWrapInFieldShell) {\n return control;\n }\n\n return (\n <FieldSetShell\n title={fieldLabel}\n titleId={titleId}\n titleStyle={fieldLabelStyle}\n required={fieldRequired}\n description={fieldDescription}\n descriptionId={descriptionId}\n error={fieldError}\n errorId={errorId}\n clear={{\n enabled: clear?.enabled ?? clearable,\n label: clear?.label ?? clearLabel,\n visibility: clear?.visibility ?? clearVisibility,\n onClear: () => {\n clearAction?.();\n onValueChange?.(clearToValue);\n },\n }}\n clearValue={value}\n actions={fieldActions}\n style={containerStyle}\n >\n {control}\n </FieldSetShell>\n );\n};\n"],"mappings":"mNAgBA,IAAa,GAAiB,CAC5B,aACA,kBACA,gBACA,mBACA,aACA,eACA,iBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,eAAe,EAAE,CACjB,QACA,GAAG,KACqB,CACxB,IAAM,GAAA,EAAA,EAAA,QAAqB,CACrB,EAAyB,GAC7B,GACE,GACA,GACA,GACA,GACA,GACA,GACA,GAEE,EAAU,EAAyB,GAAG,EAAY,SAAW,IAAA,GAC7D,EAAgB,GAA0B,EAAmB,GAAG,EAAY,cAAgB,IAAA,GAC5F,EAAU,GAA0B,EAAa,GAAG,EAAY,QAAU,IAAA,GAC1E,EAAc,GAAO,SAAW,EAEhC,GACJ,EAAA,EAAA,KAAC,EAAA,SAAY,MAAb,CACE,kBAAiB,EACjB,mBAAkB,CAAC,EAAe,EAAQ,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,EAAI,IAAA,GACjE,QACP,SAAW,GAAe,CACxB,EAAM,WAAW,EAAW,CAC5B,IAAgB,EAA+C,EAEjE,GAAI,EACJ,CAAA,CAOJ,OAJK,GAKH,EAAA,EAAA,KAAC,EAAA,cAAD,CACE,MAAO,EACE,UACT,WAAY,EACZ,SAAU,EACV,YAAa,EACE,gBACf,MAAO,EACE,UACT,MAAO,CACL,QAAS,GAAO,SAAW,EAC3B,MAAO,GAAO,OAAS,EACvB,WAAY,GAAO,YAAc,EACjC,YAAe,CACb,KAAe,CACf,IAAgB,EAAa,EAEhC,CACD,WAAY,EACZ,QAAS,EACT,MAAO,WAEN,EACa,CAAA,CA3BT"}
@@ -0,0 +1,42 @@
1
+ import { FieldSetShell as e } from "./FieldSetShell.js";
2
+ import { Checkbox as t } from "antd";
3
+ import { useId as n } from "react";
4
+ import { jsx as r } from "react/jsx-runtime";
5
+ //#region src/ds/forms/CheckboxGroup.tsx
6
+ var i = ({ fieldLabel: i, fieldLabelStyle: a, fieldRequired: o, fieldDescription: s, fieldError: c, fieldActions: l, containerStyle: u, clear: d, clearable: f = !1, clearLabel: p, clearVisibility: m = "always", onClear: h, onValueChange: g, clearToValue: _ = [], value: v, ...y }) => {
7
+ let b = n(), x = !!(i || o || s || c || l || f || d || h), S = x ? `${b}-legend` : void 0, C = x && s ? `${b}-description` : void 0, w = x && c ? `${b}-error` : void 0, T = d?.onClear ?? h, E = /* @__PURE__ */ r(t.Group, {
8
+ "aria-labelledby": S,
9
+ "aria-describedby": [C, w].filter(Boolean).join(" ") || void 0,
10
+ value: v,
11
+ onChange: (e) => {
12
+ y.onChange?.(e), g?.(e);
13
+ },
14
+ ...y
15
+ });
16
+ return x ? /* @__PURE__ */ r(e, {
17
+ title: i,
18
+ titleId: S,
19
+ titleStyle: a,
20
+ required: o,
21
+ description: s,
22
+ descriptionId: C,
23
+ error: c,
24
+ errorId: w,
25
+ clear: {
26
+ enabled: d?.enabled ?? f,
27
+ label: d?.label ?? p,
28
+ visibility: d?.visibility ?? m,
29
+ onClear: () => {
30
+ T?.(), g?.(_);
31
+ }
32
+ },
33
+ clearValue: v,
34
+ actions: l,
35
+ style: u,
36
+ children: E
37
+ }) : E;
38
+ };
39
+ //#endregion
40
+ export { i as CheckboxGroup };
41
+
42
+ //# sourceMappingURL=CheckboxGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroup.js","names":[],"sources":["../../src/ds/forms/CheckboxGroup.tsx"],"sourcesContent":["import { Checkbox as AntCheckbox } from 'antd';\nimport type { CSSProperties, ReactNode } from 'react';\nimport { useId } from 'react';\nimport { FieldSetShell } from './FieldSetShell';\nimport type { DSFieldShellProps } from './fieldProps';\n\ntype AntCheckboxGroupProps = React.ComponentProps<typeof AntCheckbox.Group>;\n\nexport type CheckboxGroupProps = AntCheckboxGroupProps &\n DSFieldShellProps & {\n onValueChange?: (selectedValues: Array<string | number | boolean>) => void;\n clearToValue?: Array<string | number | boolean>;\n fieldLabelStyle?: CSSProperties;\n fieldDescription?: ReactNode;\n };\n\nexport const CheckboxGroup = ({\n fieldLabel,\n fieldLabelStyle,\n fieldRequired,\n fieldDescription,\n fieldError,\n fieldActions,\n containerStyle,\n clear,\n clearable = false,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue = [],\n value,\n ...props\n}: CheckboxGroupProps) => {\n const generatedId = useId();\n const shouldWrapInFieldShell = Boolean(\n fieldLabel ||\n fieldRequired ||\n fieldDescription ||\n fieldError ||\n fieldActions ||\n clearable ||\n clear ||\n onClear,\n );\n const titleId = shouldWrapInFieldShell ? `${generatedId}-legend` : undefined;\n const descriptionId = shouldWrapInFieldShell && fieldDescription ? `${generatedId}-description` : undefined;\n const errorId = shouldWrapInFieldShell && fieldError ? `${generatedId}-error` : undefined;\n const clearAction = clear?.onClear ?? onClear;\n\n const control = (\n <AntCheckbox.Group\n aria-labelledby={titleId}\n aria-describedby={[descriptionId, errorId].filter(Boolean).join(' ') || undefined}\n value={value}\n onChange={(nextValues) => {\n props.onChange?.(nextValues);\n onValueChange?.(nextValues as Array<string | number | boolean>);\n }}\n {...props}\n />\n );\n\n if (!shouldWrapInFieldShell) {\n return control;\n }\n\n return (\n <FieldSetShell\n title={fieldLabel}\n titleId={titleId}\n titleStyle={fieldLabelStyle}\n required={fieldRequired}\n description={fieldDescription}\n descriptionId={descriptionId}\n error={fieldError}\n errorId={errorId}\n clear={{\n enabled: clear?.enabled ?? clearable,\n label: clear?.label ?? clearLabel,\n visibility: clear?.visibility ?? clearVisibility,\n onClear: () => {\n clearAction?.();\n onValueChange?.(clearToValue);\n },\n }}\n clearValue={value}\n actions={fieldActions}\n style={containerStyle}\n >\n {control}\n </FieldSetShell>\n );\n};\n"],"mappings":";;;;;AAgBA,IAAa,KAAiB,EAC5B,eACA,oBACA,kBACA,qBACA,eACA,iBACA,mBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,kBAAe,EAAE,EACjB,UACA,GAAG,QACqB;CACxB,IAAM,IAAc,GAAO,EACrB,IAAyB,GAC7B,KACE,KACA,KACA,KACA,KACA,KACA,KACA,IAEE,IAAU,IAAyB,GAAG,EAAY,WAAW,KAAA,GAC7D,IAAgB,KAA0B,IAAmB,GAAG,EAAY,gBAAgB,KAAA,GAC5F,IAAU,KAA0B,IAAa,GAAG,EAAY,UAAU,KAAA,GAC1E,IAAc,GAAO,WAAW,GAEhC,IACJ,kBAAC,EAAY,OAAb;EACE,mBAAiB;EACjB,oBAAkB,CAAC,GAAe,EAAQ,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,IAAI,KAAA;EACjE;EACP,WAAW,MAAe;AAExB,GADA,EAAM,WAAW,EAAW,EAC5B,IAAgB,EAA+C;;EAEjE,GAAI;EACJ,CAAA;AAOJ,QAJK,IAKH,kBAAC,GAAD;EACE,OAAO;EACE;EACT,YAAY;EACZ,UAAU;EACV,aAAa;EACE;EACf,OAAO;EACE;EACT,OAAO;GACL,SAAS,GAAO,WAAW;GAC3B,OAAO,GAAO,SAAS;GACvB,YAAY,GAAO,cAAc;GACjC,eAAe;AAEb,IADA,KAAe,EACf,IAAgB,EAAa;;GAEhC;EACD,YAAY;EACZ,SAAS;EACT,OAAO;YAEN;EACa,CAAA,GA3BT"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`../AutoComplete-gOMQxLvY.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,value:u,containerStyle:d,fieldActions:f,id:p,className:m,style:h,...g})=>(0,t.jsx)(e.t,{id:p,value:u,className:m,fieldLabel:n,fieldRequired:r,fieldActions:f,containerStyle:d,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,style:{width:`100%`,...h},...g});exports.ClearableAutoComplete=n;
2
+ //# sourceMappingURL=ClearableAutoComplete.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableAutoComplete.cjs","names":[],"sources":["../../src/ds/forms/ClearableAutoComplete.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { AutoComplete } from './AutoComplete';\n\ntype AutoCompleteProps = React.ComponentProps<typeof AutoComplete>;\n\nexport type ClearableAutoCompleteProps = Omit<AutoCompleteProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: string) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableAutoComplete = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n className: providedClassName,\n style: providedStyle,\n ...autoCompleteProps\n}: ClearableAutoCompleteProps) => {\n return (\n <AutoComplete\n id={id}\n value={value}\n className={providedClassName}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n style={{ width: '100%', ...providedStyle }}\n {...autoCompleteProps}\n />\n );\n};\n"],"mappings":"uLAmBA,IAAa,GAAyB,CACpC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,QACA,iBACA,eACA,KACA,UAAW,EACX,MAAO,EACP,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,EAAD,CACM,KACG,QACP,UAAW,EACC,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACf,MAAO,CAAE,MAAO,OAAQ,GAAG,EAAe,CAC1C,GAAI,EACJ,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { t as e } from "../AutoComplete-cpf8hCnK.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableAutoComplete.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, value: u, containerStyle: d, fieldActions: f, id: p, className: m, style: h, ...g }) => /* @__PURE__ */ t(e, {
5
+ id: p,
6
+ value: u,
7
+ className: m,
8
+ fieldLabel: n,
9
+ fieldRequired: r,
10
+ fieldActions: f,
11
+ containerStyle: d,
12
+ clear: i,
13
+ clearable: a,
14
+ clearLabel: o,
15
+ clearVisibility: s,
16
+ onClear: c,
17
+ onValueChange: l,
18
+ style: {
19
+ width: "100%",
20
+ ...h
21
+ },
22
+ ...g
23
+ });
24
+ //#endregion
25
+ export { n as ClearableAutoComplete };
26
+
27
+ //# sourceMappingURL=ClearableAutoComplete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableAutoComplete.js","names":[],"sources":["../../src/ds/forms/ClearableAutoComplete.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { AutoComplete } from './AutoComplete';\n\ntype AutoCompleteProps = React.ComponentProps<typeof AutoComplete>;\n\nexport type ClearableAutoCompleteProps = Omit<AutoCompleteProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: string) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableAutoComplete = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n className: providedClassName,\n style: providedStyle,\n ...autoCompleteProps\n}: ClearableAutoCompleteProps) => {\n return (\n <AutoComplete\n id={id}\n value={value}\n className={providedClassName}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n style={{ width: '100%', ...providedStyle }}\n {...autoCompleteProps}\n />\n );\n};\n"],"mappings":";;;AAmBA,IAAa,KAAyB,EACpC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,UACA,mBACA,iBACA,OACA,WAAW,GACX,OAAO,GACP,GAAG,QAGD,kBAAC,GAAD;CACM;CACG;CACP,WAAW;CACC;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACf,OAAO;EAAE,OAAO;EAAQ,GAAG;EAAe;CAC1C,GAAI;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./Cascader.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,clearToValue:u,value:d,containerStyle:f,fieldActions:p,id:m,...h})=>(0,t.jsx)(e.Cascader,{id:m,value:d,fieldLabel:n,fieldRequired:r,fieldActions:p,containerStyle:f,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,clearToValue:u,style:{width:`100%`,...h.style},...h});exports.ClearableCascader=n;
2
+ //# sourceMappingURL=ClearableCascader.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableCascader.cjs","names":[],"sources":["../../src/ds/forms/ClearableCascader.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { Cascader } from './Cascader';\n\ntype CascaderProps = React.ComponentProps<typeof Cascader>;\n\nexport type ClearableCascaderProps = Omit<CascaderProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: CascaderProps['value']) => void;\n clearToValue?: CascaderProps['value'];\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableCascader = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n id,\n ...cascaderProps\n}: ClearableCascaderProps) => {\n return (\n <Cascader\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n style={{ width: '100%', ...cascaderProps.style }}\n {...cascaderProps}\n />\n );\n};\n"],"mappings":"yKAoBA,IAAa,GAAqB,CAChC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,eACA,QACA,iBACA,eACA,KACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,SAAD,CACM,KACG,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACD,eACd,MAAO,CAAE,MAAO,OAAQ,GAAG,EAAc,MAAO,CAChD,GAAI,EACJ,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { Cascader as e } from "./Cascader.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableCascader.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, clearToValue: u, value: d, containerStyle: f, fieldActions: p, id: m, ...h }) => /* @__PURE__ */ t(e, {
5
+ id: m,
6
+ value: d,
7
+ fieldLabel: n,
8
+ fieldRequired: r,
9
+ fieldActions: p,
10
+ containerStyle: f,
11
+ clear: i,
12
+ clearable: a,
13
+ clearLabel: o,
14
+ clearVisibility: s,
15
+ onClear: c,
16
+ onValueChange: l,
17
+ clearToValue: u,
18
+ style: {
19
+ width: "100%",
20
+ ...h.style
21
+ },
22
+ ...h
23
+ });
24
+ //#endregion
25
+ export { n as ClearableCascader };
26
+
27
+ //# sourceMappingURL=ClearableCascader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableCascader.js","names":[],"sources":["../../src/ds/forms/ClearableCascader.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { Cascader } from './Cascader';\n\ntype CascaderProps = React.ComponentProps<typeof Cascader>;\n\nexport type ClearableCascaderProps = Omit<CascaderProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: CascaderProps['value']) => void;\n clearToValue?: CascaderProps['value'];\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableCascader = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n id,\n ...cascaderProps\n}: ClearableCascaderProps) => {\n return (\n <Cascader\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n style={{ width: '100%', ...cascaderProps.style }}\n {...cascaderProps}\n />\n );\n};\n"],"mappings":";;;AAoBA,IAAa,KAAqB,EAChC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,iBACA,UACA,mBACA,iBACA,OACA,GAAG,QAGD,kBAAC,GAAD;CACM;CACG;CACK;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACD;CACd,OAAO;EAAE,OAAO;EAAQ,GAAG,EAAc;EAAO;CAChD,GAAI;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./Checkbox.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,checked:u,children:d,containerStyle:f,fieldActions:p,id:m,...h})=>(0,t.jsx)(e.Checkbox,{id:m,checked:u,fieldLabel:n,fieldRequired:r,fieldActions:p,containerStyle:f,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,...h,children:d});exports.ClearableCheckbox=n;
2
+ //# sourceMappingURL=ClearableCheckbox.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableCheckbox.cjs","names":[],"sources":["../../src/ds/forms/ClearableCheckbox.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { Checkbox } from './Checkbox';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype CheckboxProps = React.ComponentProps<typeof Checkbox>;\n\nexport type ClearableCheckboxProps = Omit<CheckboxProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: boolean) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableCheckbox = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n checked,\n children,\n containerStyle,\n fieldActions,\n id,\n ...checkboxProps\n}: ClearableCheckboxProps) => {\n return (\n <Checkbox\n id={id}\n checked={checked}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n {...checkboxProps}\n >\n {children}\n </Checkbox>\n );\n};\n"],"mappings":"yKAmBA,IAAa,GAAqB,CAChC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,UACA,WACA,iBACA,eACA,KACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,SAAD,CACM,KACK,UACG,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACf,GAAI,EAEH,WACQ,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { Checkbox as e } from "./Checkbox.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableCheckbox.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, checked: u, children: d, containerStyle: f, fieldActions: p, id: m, ...h }) => /* @__PURE__ */ t(e, {
5
+ id: m,
6
+ checked: u,
7
+ fieldLabel: n,
8
+ fieldRequired: r,
9
+ fieldActions: p,
10
+ containerStyle: f,
11
+ clear: i,
12
+ clearable: a,
13
+ clearLabel: o,
14
+ clearVisibility: s,
15
+ onClear: c,
16
+ onValueChange: l,
17
+ ...h,
18
+ children: d
19
+ });
20
+ //#endregion
21
+ export { n as ClearableCheckbox };
22
+
23
+ //# sourceMappingURL=ClearableCheckbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableCheckbox.js","names":[],"sources":["../../src/ds/forms/ClearableCheckbox.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { Checkbox } from './Checkbox';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype CheckboxProps = React.ComponentProps<typeof Checkbox>;\n\nexport type ClearableCheckboxProps = Omit<CheckboxProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: boolean) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableCheckbox = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n checked,\n children,\n containerStyle,\n fieldActions,\n id,\n ...checkboxProps\n}: ClearableCheckboxProps) => {\n return (\n <Checkbox\n id={id}\n checked={checked}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n {...checkboxProps}\n >\n {children}\n </Checkbox>\n );\n};\n"],"mappings":";;;AAmBA,IAAa,KAAqB,EAChC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,YACA,aACA,mBACA,iBACA,OACA,GAAG,QAGD,kBAAC,GAAD;CACM;CACK;CACG;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACf,GAAI;CAEH;CACQ,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./ColorPicker.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,clearToValue:u,value:d,containerStyle:f,fieldActions:p,...m})=>(0,t.jsx)(e.ColorPicker,{...m,value:d,fieldLabel:n,fieldRequired:r,fieldActions:p,containerStyle:f,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,clearToValue:u});exports.ClearableColorPicker=n;
2
+ //# sourceMappingURL=ClearableColorPicker.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableColorPicker.cjs","names":[],"sources":["../../src/ds/forms/ClearableColorPicker.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { ColorPicker } from './ColorPicker';\nimport type { ColorPickerProps } from './ColorPicker';\n\ntype ColorValue = ColorPickerProps['value'];\n\nexport type ClearableColorPickerProps = ColorPickerProps & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: ColorValue) => void;\n clearToValue?: ColorValue;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableColorPicker = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n ...colorProps\n}: ClearableColorPickerProps) => {\n return (\n <ColorPicker\n {...colorProps}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n />\n );\n};\n"],"mappings":"4KAqBA,IAAa,GAAwB,CACnC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,eACA,QACA,iBACA,eACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,YAAD,CACE,GAAI,EACG,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACD,eACd,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { ColorPicker as e } from "./ColorPicker.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableColorPicker.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, clearToValue: u, value: d, containerStyle: f, fieldActions: p, ...m }) => /* @__PURE__ */ t(e, {
5
+ ...m,
6
+ value: d,
7
+ fieldLabel: n,
8
+ fieldRequired: r,
9
+ fieldActions: p,
10
+ containerStyle: f,
11
+ clear: i,
12
+ clearable: a,
13
+ clearLabel: o,
14
+ clearVisibility: s,
15
+ onClear: c,
16
+ onValueChange: l,
17
+ clearToValue: u
18
+ });
19
+ //#endregion
20
+ export { n as ClearableColorPicker };
21
+
22
+ //# sourceMappingURL=ClearableColorPicker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableColorPicker.js","names":[],"sources":["../../src/ds/forms/ClearableColorPicker.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { ColorPicker } from './ColorPicker';\nimport type { ColorPickerProps } from './ColorPicker';\n\ntype ColorValue = ColorPickerProps['value'];\n\nexport type ClearableColorPickerProps = ColorPickerProps & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: ColorValue) => void;\n clearToValue?: ColorValue;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableColorPicker = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n ...colorProps\n}: ClearableColorPickerProps) => {\n return (\n <ColorPicker\n {...colorProps}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n />\n );\n};\n"],"mappings":";;;AAqBA,IAAa,KAAwB,EACnC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,iBACA,UACA,mBACA,iBACA,GAAG,QAGD,kBAAC,GAAD;CACE,GAAI;CACG;CACK;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACD;CACd,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`../DatePicker-DTVtamsX.cjs`);require(`antd`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,value:u,containerStyle:d,fieldActions:f,id:p,...m})=>(0,t.jsx)(e.n,{id:p,value:u,fieldLabel:n,fieldRequired:r,fieldActions:f,containerStyle:d,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,style:{width:`100%`,...m.style},...m});exports.ClearableDatePicker=n;
2
+ //# sourceMappingURL=ClearableDatePicker.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableDatePicker.cjs","names":[],"sources":["../../src/ds/forms/ClearableDatePicker.tsx"],"sourcesContent":["import { DatePicker } from 'antd';\nimport type { CSSProperties, ReactNode } from 'react';\nimport type { Dayjs } from 'dayjs';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { DatePicker as DSDatePicker } from './DatePicker';\n\ntype DatePickerProps = React.ComponentProps<typeof DatePicker>;\n\nexport type ClearableDatePickerProps = Omit<DatePickerProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: Dayjs | null) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableDatePicker = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n ...pickerProps\n}: ClearableDatePickerProps) => {\n return (\n <DSDatePicker\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n style={{ width: '100%', ...pickerProps.style }}\n {...pickerProps}\n />\n );\n};\n"],"mappings":"qMAqBA,IAAa,GAAuB,CAClC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,QACA,iBACA,eACA,KACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,EAAD,CACM,KACG,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACf,MAAO,CAAE,MAAO,OAAQ,GAAG,EAAY,MAAO,CAC9C,GAAI,EACJ,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { n as e } from "../DatePicker-BpjYibJF.js";
2
+ import "antd";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ //#region src/ds/forms/ClearableDatePicker.tsx
5
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, value: u, containerStyle: d, fieldActions: f, id: p, ...m }) => /* @__PURE__ */ t(e, {
6
+ id: p,
7
+ value: u,
8
+ fieldLabel: n,
9
+ fieldRequired: r,
10
+ fieldActions: f,
11
+ containerStyle: d,
12
+ clear: i,
13
+ clearable: a,
14
+ clearLabel: o,
15
+ clearVisibility: s,
16
+ onClear: c,
17
+ onValueChange: l,
18
+ style: {
19
+ width: "100%",
20
+ ...m.style
21
+ },
22
+ ...m
23
+ });
24
+ //#endregion
25
+ export { n as ClearableDatePicker };
26
+
27
+ //# sourceMappingURL=ClearableDatePicker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableDatePicker.js","names":[],"sources":["../../src/ds/forms/ClearableDatePicker.tsx"],"sourcesContent":["import { DatePicker } from 'antd';\nimport type { CSSProperties, ReactNode } from 'react';\nimport type { Dayjs } from 'dayjs';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { DatePicker as DSDatePicker } from './DatePicker';\n\ntype DatePickerProps = React.ComponentProps<typeof DatePicker>;\n\nexport type ClearableDatePickerProps = Omit<DatePickerProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: Dayjs | null) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableDatePicker = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n ...pickerProps\n}: ClearableDatePickerProps) => {\n return (\n <DSDatePicker\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n style={{ width: '100%', ...pickerProps.style }}\n {...pickerProps}\n />\n );\n};\n"],"mappings":";;;;AAqBA,IAAa,KAAuB,EAClC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,UACA,mBACA,iBACA,OACA,GAAG,QAGD,kBAAC,GAAD;CACM;CACG;CACK;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACf,OAAO;EAAE,OAAO;EAAQ,GAAG,EAAY;EAAO;CAC9C,GAAI;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./Input.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,value:u,containerStyle:d,fieldActions:f,id:p,...m})=>(0,t.jsx)(e.Input,{id:p,value:u,fieldLabel:n,fieldRequired:r,fieldActions:f,containerStyle:d,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,...m});exports.ClearableInput=n;
2
+ //# sourceMappingURL=ClearableInput.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableInput.cjs","names":[],"sources":["../../src/ds/forms/ClearableInput.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { Input } from './Input';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype InputProps = React.ComponentProps<typeof Input>;\n\nexport type ClearableInputProps = Omit<InputProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: string) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableInput = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n ...inputProps\n}: ClearableInputProps) => {\n return (\n <Input\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n {...inputProps}\n />\n );\n};\n"],"mappings":"sKAmBA,IAAa,GAAkB,CAC7B,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,QACA,iBACA,eACA,KACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,MAAD,CACM,KACG,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACf,GAAI,EACJ,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { Input as e } from "./Input.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableInput.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, value: u, containerStyle: d, fieldActions: f, id: p, ...m }) => /* @__PURE__ */ t(e, {
5
+ id: p,
6
+ value: u,
7
+ fieldLabel: n,
8
+ fieldRequired: r,
9
+ fieldActions: f,
10
+ containerStyle: d,
11
+ clear: i,
12
+ clearable: a,
13
+ clearLabel: o,
14
+ clearVisibility: s,
15
+ onClear: c,
16
+ onValueChange: l,
17
+ ...m
18
+ });
19
+ //#endregion
20
+ export { n as ClearableInput };
21
+
22
+ //# sourceMappingURL=ClearableInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableInput.js","names":[],"sources":["../../src/ds/forms/ClearableInput.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { Input } from './Input';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype InputProps = React.ComponentProps<typeof Input>;\n\nexport type ClearableInputProps = Omit<InputProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: string) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableInput = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n ...inputProps\n}: ClearableInputProps) => {\n return (\n <Input\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n {...inputProps}\n />\n );\n};\n"],"mappings":";;;AAmBA,IAAa,KAAkB,EAC7B,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,UACA,mBACA,iBACA,OACA,GAAG,QAGD,kBAAC,GAAD;CACM;CACG;CACK;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACf,GAAI;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`../InputNumber-X-VvOKNc.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,clearToValue:u,value:d,containerStyle:f,fieldActions:p,id:m,...h})=>(0,t.jsx)(e.t,{id:m,value:d,fieldLabel:n,fieldRequired:r,fieldActions:p,containerStyle:f,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,clearToValue:u,style:{width:`100%`,...h.style},...h});exports.ClearableInputNumber=n;
2
+ //# sourceMappingURL=ClearableInputNumber.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableInputNumber.cjs","names":[],"sources":["../../src/ds/forms/ClearableInputNumber.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { InputNumber } from './InputNumber';\n\ntype InputNumberProps = React.ComponentProps<typeof InputNumber>;\n\nexport type ClearableInputNumberProps = Omit<InputNumberProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: InputNumberProps['value']) => void;\n clearToValue?: InputNumberProps['value'];\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableInputNumber = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n id,\n ...numberProps\n}: ClearableInputNumberProps) => {\n return (\n <InputNumber\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n style={{ width: '100%', ...numberProps.style }}\n {...numberProps}\n />\n );\n};\n"],"mappings":"sLAoBA,IAAa,GAAwB,CACnC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,eACA,QACA,iBACA,eACA,KACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,EAAD,CACM,KACG,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACD,eACd,MAAO,CAAE,MAAO,OAAQ,GAAG,EAAY,MAAO,CAC9C,GAAI,EACJ,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { t as e } from "../InputNumber-55VASjK4.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableInputNumber.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, clearToValue: u, value: d, containerStyle: f, fieldActions: p, id: m, ...h }) => /* @__PURE__ */ t(e, {
5
+ id: m,
6
+ value: d,
7
+ fieldLabel: n,
8
+ fieldRequired: r,
9
+ fieldActions: p,
10
+ containerStyle: f,
11
+ clear: i,
12
+ clearable: a,
13
+ clearLabel: o,
14
+ clearVisibility: s,
15
+ onClear: c,
16
+ onValueChange: l,
17
+ clearToValue: u,
18
+ style: {
19
+ width: "100%",
20
+ ...h.style
21
+ },
22
+ ...h
23
+ });
24
+ //#endregion
25
+ export { n as ClearableInputNumber };
26
+
27
+ //# sourceMappingURL=ClearableInputNumber.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableInputNumber.js","names":[],"sources":["../../src/ds/forms/ClearableInputNumber.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { InputNumber } from './InputNumber';\n\ntype InputNumberProps = React.ComponentProps<typeof InputNumber>;\n\nexport type ClearableInputNumberProps = Omit<InputNumberProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: InputNumberProps['value']) => void;\n clearToValue?: InputNumberProps['value'];\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableInputNumber = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n id,\n ...numberProps\n}: ClearableInputNumberProps) => {\n return (\n <InputNumber\n id={id}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n style={{ width: '100%', ...numberProps.style }}\n {...numberProps}\n />\n );\n};\n"],"mappings":";;;AAoBA,IAAa,KAAwB,EACnC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,iBACA,UACA,mBACA,iBACA,OACA,GAAG,QAGD,kBAAC,GAAD;CACM;CACG;CACK;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACD;CACd,OAAO;EAAE,OAAO;EAAQ,GAAG,EAAY;EAAO;CAC9C,GAAI;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./Mentions.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,value:u,containerStyle:d,fieldActions:f,id:p,className:m,...h})=>(0,t.jsx)(e.Mentions,{...h,id:p,className:m,value:u,fieldLabel:n,fieldRequired:r,fieldActions:f,containerStyle:d,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,style:{width:`100%`,...h.style}});exports.ClearableMentions=n;
2
+ //# sourceMappingURL=ClearableMentions.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableMentions.cjs","names":[],"sources":["../../src/ds/forms/ClearableMentions.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { Mentions } from './Mentions';\nimport type { MentionsProps } from './Mentions';\n\nexport type ClearableMentionsProps = MentionsProps & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: string) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableMentions = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n className,\n ...mentionsProps\n}: ClearableMentionsProps) => {\n return (\n <Mentions\n {...mentionsProps}\n id={id}\n className={className}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n style={{ width: '100%', ...mentionsProps.style }}\n />\n );\n};\n"],"mappings":"yKAkBA,IAAa,GAAqB,CAChC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,QACA,iBACA,eACA,KACA,YACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,SAAD,CACE,GAAI,EACA,KACO,YACJ,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACf,MAAO,CAAE,MAAO,OAAQ,GAAG,EAAc,MAAO,CAChD,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { Mentions as e } from "./Mentions.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableMentions.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, value: u, containerStyle: d, fieldActions: f, id: p, className: m, ...h }) => /* @__PURE__ */ t(e, {
5
+ ...h,
6
+ id: p,
7
+ className: m,
8
+ value: u,
9
+ fieldLabel: n,
10
+ fieldRequired: r,
11
+ fieldActions: f,
12
+ containerStyle: d,
13
+ clear: i,
14
+ clearable: a,
15
+ clearLabel: o,
16
+ clearVisibility: s,
17
+ onClear: c,
18
+ onValueChange: l,
19
+ style: {
20
+ width: "100%",
21
+ ...h.style
22
+ }
23
+ });
24
+ //#endregion
25
+ export { n as ClearableMentions };
26
+
27
+ //# sourceMappingURL=ClearableMentions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableMentions.js","names":[],"sources":["../../src/ds/forms/ClearableMentions.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { Mentions } from './Mentions';\nimport type { MentionsProps } from './Mentions';\n\nexport type ClearableMentionsProps = MentionsProps & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: string) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableMentions = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n value,\n containerStyle,\n fieldActions,\n id,\n className,\n ...mentionsProps\n}: ClearableMentionsProps) => {\n return (\n <Mentions\n {...mentionsProps}\n id={id}\n className={className}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n style={{ width: '100%', ...mentionsProps.style }}\n />\n );\n};\n"],"mappings":";;;AAkBA,IAAa,KAAqB,EAChC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,UACA,mBACA,iBACA,OACA,cACA,GAAG,QAGD,kBAAC,GAAD;CACE,GAAI;CACA;CACO;CACJ;CACK;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACf,OAAO;EAAE,OAAO;EAAQ,GAAG,EAAc;EAAO;CAChD,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./Radio.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,checked:u,children:d,containerStyle:f,fieldActions:p,id:m,...h})=>(0,t.jsx)(e.Radio,{id:m,checked:u,fieldLabel:n,fieldRequired:r,fieldActions:p,containerStyle:f,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,...h,children:d});exports.ClearableRadio=n;
2
+ //# sourceMappingURL=ClearableRadio.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableRadio.cjs","names":[],"sources":["../../src/ds/forms/ClearableRadio.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { Radio } from './Radio';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype RadioProps = React.ComponentProps<typeof Radio>;\n\nexport type ClearableRadioProps = Omit<RadioProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: boolean) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableRadio = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n checked,\n children,\n containerStyle,\n fieldActions,\n id,\n ...radioProps\n}: ClearableRadioProps) => {\n return (\n <Radio\n id={id}\n checked={checked}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n {...radioProps}\n >\n {children}\n </Radio>\n );\n};\n"],"mappings":"sKAmBA,IAAa,GAAkB,CAC7B,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,UACA,WACA,iBACA,eACA,KACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,MAAD,CACM,KACK,UACG,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACf,GAAI,EAEH,WACK,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { Radio as e } from "./Radio.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableRadio.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, checked: u, children: d, containerStyle: f, fieldActions: p, id: m, ...h }) => /* @__PURE__ */ t(e, {
5
+ id: m,
6
+ checked: u,
7
+ fieldLabel: n,
8
+ fieldRequired: r,
9
+ fieldActions: p,
10
+ containerStyle: f,
11
+ clear: i,
12
+ clearable: a,
13
+ clearLabel: o,
14
+ clearVisibility: s,
15
+ onClear: c,
16
+ onValueChange: l,
17
+ ...h,
18
+ children: d
19
+ });
20
+ //#endregion
21
+ export { n as ClearableRadio };
22
+
23
+ //# sourceMappingURL=ClearableRadio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableRadio.js","names":[],"sources":["../../src/ds/forms/ClearableRadio.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { Radio } from './Radio';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype RadioProps = React.ComponentProps<typeof Radio>;\n\nexport type ClearableRadioProps = Omit<RadioProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: boolean) => void;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableRadio = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n checked,\n children,\n containerStyle,\n fieldActions,\n id,\n ...radioProps\n}: ClearableRadioProps) => {\n return (\n <Radio\n id={id}\n checked={checked}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n {...radioProps}\n >\n {children}\n </Radio>\n );\n};\n"],"mappings":";;;AAmBA,IAAa,KAAkB,EAC7B,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,YACA,aACA,mBACA,iBACA,OACA,GAAG,QAGD,kBAAC,GAAD;CACM;CACK;CACG;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACf,GAAI;CAEH;CACK,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./RadioGroup.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,clearToValue:u,value:d,containerStyle:f,fieldActions:p,...m})=>(0,t.jsx)(e.RadioGroup,{value:d,fieldLabel:n,fieldRequired:r,fieldActions:p,containerStyle:f,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,clearToValue:u,...m});exports.ClearableRadioGroup=n;
2
+ //# sourceMappingURL=ClearableRadioGroup.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableRadioGroup.cjs","names":[],"sources":["../../src/ds/forms/ClearableRadioGroup.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { RadioGroup } from './RadioGroup';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype RadioGroupProps = React.ComponentProps<typeof RadioGroup>;\n\nexport type ClearableRadioGroupProps = Omit<RadioGroupProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: RadioGroupProps['value']) => void;\n clearToValue?: RadioGroupProps['value'];\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableRadioGroup = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n ...radioProps\n}: ClearableRadioGroupProps) => {\n return (\n <RadioGroup\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n {...radioProps}\n />\n );\n};\n"],"mappings":"2KAoBA,IAAa,GAAuB,CAClC,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,eACA,QACA,iBACA,eACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,WAAD,CACS,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACD,eACd,GAAI,EACJ,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { RadioGroup as e } from "./RadioGroup.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region src/ds/forms/ClearableRadioGroup.tsx
4
+ var n = ({ fieldLabel: n, fieldRequired: r, clear: i, clearable: a = !0, clearLabel: o, clearVisibility: s = "always", onClear: c, onValueChange: l, clearToValue: u, value: d, containerStyle: f, fieldActions: p, ...m }) => /* @__PURE__ */ t(e, {
5
+ value: d,
6
+ fieldLabel: n,
7
+ fieldRequired: r,
8
+ fieldActions: p,
9
+ containerStyle: f,
10
+ clear: i,
11
+ clearable: a,
12
+ clearLabel: o,
13
+ clearVisibility: s,
14
+ onClear: c,
15
+ onValueChange: l,
16
+ clearToValue: u,
17
+ ...m
18
+ });
19
+ //#endregion
20
+ export { n as ClearableRadioGroup };
21
+
22
+ //# sourceMappingURL=ClearableRadioGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableRadioGroup.js","names":[],"sources":["../../src/ds/forms/ClearableRadioGroup.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport { RadioGroup } from './RadioGroup';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\n\ntype RadioGroupProps = React.ComponentProps<typeof RadioGroup>;\n\nexport type ClearableRadioGroupProps = Omit<RadioGroupProps, 'onChange'> & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: RadioGroupProps['value']) => void;\n clearToValue?: RadioGroupProps['value'];\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableRadioGroup = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue,\n value,\n containerStyle,\n fieldActions,\n ...radioProps\n}: ClearableRadioGroupProps) => {\n return (\n <RadioGroup\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n {...radioProps}\n />\n );\n};\n"],"mappings":";;;AAoBA,IAAa,KAAuB,EAClC,eACA,kBACA,UACA,eAAY,IACZ,eACA,qBAAkB,UAClB,YACA,kBACA,iBACA,UACA,mBACA,iBACA,GAAG,QAGD,kBAAC,GAAD;CACS;CACK;CACG;CACD;CACE;CACT;CACI;CACC;CACK;CACR;CACM;CACD;CACd,GAAI;CACJ,CAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../chunk-Bmb41Sf3.cjs`);const e=require(`./Rate.cjs`);let t=require(`react/jsx-runtime`);var n=({fieldLabel:n,fieldRequired:r,clear:i,clearable:a=!0,clearLabel:o,clearVisibility:s=`always`,onClear:c,onValueChange:l,clearToValue:u=0,value:d,containerStyle:f,fieldActions:p,...m})=>(0,t.jsx)(e.Rate,{...m,value:d,fieldLabel:n,fieldRequired:r,fieldActions:p,containerStyle:f,clear:i,clearable:a,clearLabel:o,clearVisibility:s,onClear:c,onValueChange:l,clearToValue:u});exports.ClearableRate=n;
2
+ //# sourceMappingURL=ClearableRate.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearableRate.cjs","names":[],"sources":["../../src/ds/forms/ClearableRate.tsx"],"sourcesContent":["import type { CSSProperties, ReactNode } from 'react';\nimport type { ClearConfig, ClearVisibility } from './clearUtils';\nimport { Rate } from './Rate';\nimport type { RateProps } from './Rate';\n\nexport type ClearableRateProps = RateProps & {\n fieldLabel: ReactNode;\n fieldRequired?: boolean;\n clear?: ClearConfig;\n clearable?: boolean;\n clearLabel?: ReactNode;\n clearVisibility?: ClearVisibility;\n onClear?: () => void;\n onValueChange?: (nextValue: number) => void;\n clearToValue?: number;\n containerStyle?: CSSProperties;\n fieldActions?: ReactNode;\n};\n\nexport const ClearableRate = ({\n fieldLabel,\n fieldRequired,\n clear,\n clearable = true,\n clearLabel,\n clearVisibility = 'always',\n onClear,\n onValueChange,\n clearToValue = 0,\n value,\n containerStyle,\n fieldActions,\n ...rateProps\n}: ClearableRateProps) => {\n return (\n <Rate\n {...rateProps}\n value={value}\n fieldLabel={fieldLabel}\n fieldRequired={fieldRequired}\n fieldActions={fieldActions}\n containerStyle={containerStyle}\n clear={clear}\n clearable={clearable}\n clearLabel={clearLabel}\n clearVisibility={clearVisibility}\n onClear={onClear}\n onValueChange={onValueChange}\n clearToValue={clearToValue}\n />\n );\n};\n"],"mappings":"qKAmBA,IAAa,GAAiB,CAC5B,aACA,gBACA,QACA,YAAY,GACZ,aACA,kBAAkB,SAClB,UACA,gBACA,eAAe,EACf,QACA,iBACA,eACA,GAAG,MAGD,EAAA,EAAA,KAAC,EAAA,KAAD,CACE,GAAI,EACG,QACK,aACG,gBACD,eACE,iBACT,QACI,YACC,aACK,kBACR,UACM,gBACD,eACd,CAAA"}