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.
- package/README.md +28 -2
- package/dist-lib/AutoComplete-cpf8hCnK.js +93 -0
- package/dist-lib/AutoComplete-cpf8hCnK.js.map +1 -0
- package/dist-lib/AutoComplete-gOMQxLvY.cjs +38 -0
- package/dist-lib/AutoComplete-gOMQxLvY.cjs.map +1 -0
- package/dist-lib/DatePicker-BpjYibJF.js +599 -0
- package/dist-lib/DatePicker-BpjYibJF.js.map +1 -0
- package/dist-lib/DatePicker-DTVtamsX.cjs +518 -0
- package/dist-lib/DatePicker-DTVtamsX.cjs.map +1 -0
- package/dist-lib/Dropdown-BU7v5Q4i.cjs +88 -0
- package/dist-lib/Dropdown-BU7v5Q4i.cjs.map +1 -0
- package/dist-lib/Dropdown-C2t8AOdz.js +113 -0
- package/dist-lib/Dropdown-C2t8AOdz.js.map +1 -0
- package/dist-lib/InputNumber-55VASjK4.js +253 -0
- package/dist-lib/InputNumber-55VASjK4.js.map +1 -0
- package/dist-lib/InputNumber-X-VvOKNc.cjs +202 -0
- package/dist-lib/InputNumber-X-VvOKNc.cjs.map +1 -0
- package/dist-lib/Steps-DT5AKuMX.js +214 -0
- package/dist-lib/Steps-DT5AKuMX.js.map +1 -0
- package/dist-lib/Steps-Dhq_inin.cjs +191 -0
- package/dist-lib/Steps-Dhq_inin.cjs.map +1 -0
- package/dist-lib/TimePicker-BgaELcl_.js +277 -0
- package/dist-lib/TimePicker-BgaELcl_.js.map +1 -0
- package/dist-lib/TimePicker-D4iKsUck.cjs +217 -0
- package/dist-lib/TimePicker-D4iKsUck.cjs.map +1 -0
- package/dist-lib/chunk-Bmb41Sf3.cjs +1 -0
- package/dist-lib/core-C-tv3mqr.js +57 -0
- package/dist-lib/core-C-tv3mqr.js.map +1 -0
- package/dist-lib/core-bPY3ouxp.cjs +2 -0
- package/dist-lib/core-bPY3ouxp.cjs.map +1 -0
- package/dist-lib/display/Avatar.cjs +84 -0
- package/dist-lib/display/Avatar.cjs.map +1 -0
- package/dist-lib/display/Avatar.js +176 -0
- package/dist-lib/display/Avatar.js.map +1 -0
- package/dist-lib/display/Badge.cjs +89 -0
- package/dist-lib/display/Badge.cjs.map +1 -0
- package/dist-lib/display/Badge.js +184 -0
- package/dist-lib/display/Badge.js.map +1 -0
- package/dist-lib/display/Calendar.cjs +194 -0
- package/dist-lib/display/Calendar.cjs.map +1 -0
- package/dist-lib/display/Calendar.js +378 -0
- package/dist-lib/display/Calendar.js.map +1 -0
- package/dist-lib/display/Card.cjs +177 -0
- package/dist-lib/display/Card.cjs.map +1 -0
- package/dist-lib/display/Card.js +209 -0
- package/dist-lib/display/Card.js.map +1 -0
- package/dist-lib/display/Collapse.cjs +346 -0
- package/dist-lib/display/Collapse.cjs.map +1 -0
- package/dist-lib/display/Collapse.js +449 -0
- package/dist-lib/display/Collapse.js.map +1 -0
- package/dist-lib/display/Descriptions.cjs +145 -0
- package/dist-lib/display/Descriptions.cjs.map +1 -0
- package/dist-lib/display/Descriptions.js +186 -0
- package/dist-lib/display/Descriptions.js.map +1 -0
- package/dist-lib/display/Empty.cjs +170 -0
- package/dist-lib/display/Empty.cjs.map +1 -0
- package/dist-lib/display/Empty.js +295 -0
- package/dist-lib/display/Empty.js.map +1 -0
- package/dist-lib/display/Icon.cjs +48 -0
- package/dist-lib/display/Icon.cjs.map +1 -0
- package/dist-lib/display/Icon.js +165 -0
- package/dist-lib/display/Icon.js.map +1 -0
- package/dist-lib/display/Image.cjs +69 -0
- package/dist-lib/display/Image.cjs.map +1 -0
- package/dist-lib/display/Image.js +163 -0
- package/dist-lib/display/Image.js.map +1 -0
- package/dist-lib/display/List.cjs +142 -0
- package/dist-lib/display/List.cjs.map +1 -0
- package/dist-lib/display/List.js +178 -0
- package/dist-lib/display/List.js.map +1 -0
- package/dist-lib/display/Popover.cjs +62 -0
- package/dist-lib/display/Popover.cjs.map +1 -0
- package/dist-lib/display/Popover.js +130 -0
- package/dist-lib/display/Popover.js.map +1 -0
- package/dist-lib/display/Segmented.cjs +115 -0
- package/dist-lib/display/Segmented.cjs.map +1 -0
- package/dist-lib/display/Segmented.js +202 -0
- package/dist-lib/display/Segmented.js.map +1 -0
- package/dist-lib/display/Statistic.cjs +133 -0
- package/dist-lib/display/Statistic.cjs.map +1 -0
- package/dist-lib/display/Statistic.js +165 -0
- package/dist-lib/display/Statistic.js.map +1 -0
- package/dist-lib/display/Table.cjs +510 -0
- package/dist-lib/display/Table.cjs.map +1 -0
- package/dist-lib/display/Table.js +1036 -0
- package/dist-lib/display/Table.js.map +1 -0
- package/dist-lib/display/Tag.cjs +35 -0
- package/dist-lib/display/Tag.cjs.map +1 -0
- package/dist-lib/display/Tag.js +95 -0
- package/dist-lib/display/Tag.js.map +1 -0
- package/dist-lib/display/Timeline.cjs +138 -0
- package/dist-lib/display/Timeline.cjs.map +1 -0
- package/dist-lib/display/Timeline.js +275 -0
- package/dist-lib/display/Timeline.js.map +1 -0
- package/dist-lib/display/Tooltip.cjs +70 -0
- package/dist-lib/display/Tooltip.cjs.map +1 -0
- package/dist-lib/display/Tooltip.js +141 -0
- package/dist-lib/display/Tooltip.js.map +1 -0
- package/dist-lib/display/Tree.cjs +199 -0
- package/dist-lib/display/Tree.cjs.map +1 -0
- package/dist-lib/display/Tree.js +349 -0
- package/dist-lib/display/Tree.js.map +1 -0
- package/dist-lib/display/Typography.cjs +102 -0
- package/dist-lib/display/Typography.cjs.map +1 -0
- package/dist-lib/display/Typography.js +159 -0
- package/dist-lib/display/Typography.js.map +1 -0
- package/dist-lib/display/index.cjs +1 -0
- package/dist-lib/display/index.js +20 -0
- package/dist-lib/feedback/Drawer.cjs +169 -0
- package/dist-lib/feedback/Drawer.cjs.map +1 -0
- package/dist-lib/feedback/Drawer.js +255 -0
- package/dist-lib/feedback/Drawer.js.map +1 -0
- package/dist-lib/feedback/FloatButton.cjs +2 -0
- package/dist-lib/feedback/FloatButton.cjs.map +1 -0
- package/dist-lib/feedback/FloatButton.js +19 -0
- package/dist-lib/feedback/FloatButton.js.map +1 -0
- package/dist-lib/feedback/Message.cjs +2 -0
- package/dist-lib/feedback/Message.cjs.map +1 -0
- package/dist-lib/feedback/Message.js +47 -0
- package/dist-lib/feedback/Message.js.map +1 -0
- package/dist-lib/feedback/Modal.cjs +170 -0
- package/dist-lib/feedback/Modal.cjs.map +1 -0
- package/dist-lib/feedback/Modal.js +297 -0
- package/dist-lib/feedback/Modal.js.map +1 -0
- package/dist-lib/feedback/Notification.cjs +20 -0
- package/dist-lib/feedback/Notification.cjs.map +1 -0
- package/dist-lib/feedback/Notification.js +60 -0
- package/dist-lib/feedback/Notification.js.map +1 -0
- package/dist-lib/feedback/Popconfirm.cjs +2 -0
- package/dist-lib/feedback/Popconfirm.cjs.map +1 -0
- package/dist-lib/feedback/Popconfirm.js +15 -0
- package/dist-lib/feedback/Popconfirm.js.map +1 -0
- package/dist-lib/feedback/Progress.cjs +78 -0
- package/dist-lib/feedback/Progress.cjs.map +1 -0
- package/dist-lib/feedback/Progress.js +199 -0
- package/dist-lib/feedback/Progress.js.map +1 -0
- package/dist-lib/feedback/Result.cjs +95 -0
- package/dist-lib/feedback/Result.cjs.map +1 -0
- package/dist-lib/feedback/Result.js +174 -0
- package/dist-lib/feedback/Result.js.map +1 -0
- package/dist-lib/feedback/Skeleton.cjs +214 -0
- package/dist-lib/feedback/Skeleton.cjs.map +1 -0
- package/dist-lib/feedback/Skeleton.js +408 -0
- package/dist-lib/feedback/Skeleton.js.map +1 -0
- package/dist-lib/feedback/Spin.cjs +65 -0
- package/dist-lib/feedback/Spin.cjs.map +1 -0
- package/dist-lib/feedback/Spin.js +115 -0
- package/dist-lib/feedback/Spin.js.map +1 -0
- package/dist-lib/feedback/Tour.cjs +154 -0
- package/dist-lib/feedback/Tour.cjs.map +1 -0
- package/dist-lib/feedback/Tour.js +211 -0
- package/dist-lib/feedback/Tour.js.map +1 -0
- package/dist-lib/feedback/index.cjs +1 -0
- package/dist-lib/feedback/index.js +12 -0
- package/dist-lib/feedbackIcons-DBoCD6Dk.js +37 -0
- package/dist-lib/feedbackIcons-DBoCD6Dk.js.map +1 -0
- package/dist-lib/feedbackIcons-DXxPnA5r.cjs +2 -0
- package/dist-lib/feedbackIcons-DXxPnA5r.cjs.map +1 -0
- package/dist-lib/fieldProps-CuWfEbFx.cjs +2 -0
- package/dist-lib/fieldProps-CuWfEbFx.cjs.map +1 -0
- package/dist-lib/fieldProps-EeYy2kXb.js +9 -0
- package/dist-lib/fieldProps-EeYy2kXb.js.map +1 -0
- package/dist-lib/forms/AccessibleCheckboxGroup.cjs +2 -0
- package/dist-lib/forms/AccessibleCheckboxGroup.cjs.map +1 -0
- package/dist-lib/forms/AccessibleCheckboxGroup.js +16 -0
- package/dist-lib/forms/AccessibleCheckboxGroup.js.map +1 -0
- package/dist-lib/forms/AccessibleDatePicker.cjs +2 -0
- package/dist-lib/forms/AccessibleDatePicker.cjs.map +1 -0
- package/dist-lib/forms/AccessibleDatePicker.js +22 -0
- package/dist-lib/forms/AccessibleDatePicker.js.map +1 -0
- package/dist-lib/forms/AccessiblePasswordInput.cjs +2 -0
- package/dist-lib/forms/AccessiblePasswordInput.cjs.map +1 -0
- package/dist-lib/forms/AccessiblePasswordInput.js +14 -0
- package/dist-lib/forms/AccessiblePasswordInput.js.map +1 -0
- package/dist-lib/forms/AccessibleRadioGroup.cjs +2 -0
- package/dist-lib/forms/AccessibleRadioGroup.cjs.map +1 -0
- package/dist-lib/forms/AccessibleRadioGroup.js +16 -0
- package/dist-lib/forms/AccessibleRadioGroup.js.map +1 -0
- package/dist-lib/forms/AccessibleSelect.cjs +2 -0
- package/dist-lib/forms/AccessibleSelect.cjs.map +1 -0
- package/dist-lib/forms/AccessibleSelect.js +20 -0
- package/dist-lib/forms/AccessibleSelect.js.map +1 -0
- package/dist-lib/forms/AccessibleSwitch.cjs +2 -0
- package/dist-lib/forms/AccessibleSwitch.cjs.map +1 -0
- package/dist-lib/forms/AccessibleSwitch.js +20 -0
- package/dist-lib/forms/AccessibleSwitch.js.map +1 -0
- package/dist-lib/forms/AutoComplete.cjs +1 -0
- package/dist-lib/forms/AutoComplete.js +2 -0
- package/dist-lib/forms/Button.cjs +243 -0
- package/dist-lib/forms/Button.cjs.map +1 -0
- package/dist-lib/forms/Button.js +299 -0
- package/dist-lib/forms/Button.js.map +1 -0
- package/dist-lib/forms/Cascader.cjs +37 -0
- package/dist-lib/forms/Cascader.cjs.map +1 -0
- package/dist-lib/forms/Cascader.js +88 -0
- package/dist-lib/forms/Cascader.js.map +1 -0
- package/dist-lib/forms/Checkbox.cjs +275 -0
- package/dist-lib/forms/Checkbox.cjs.map +1 -0
- package/dist-lib/forms/Checkbox.js +327 -0
- package/dist-lib/forms/Checkbox.js.map +1 -0
- package/dist-lib/forms/CheckboxGroup.cjs +2 -0
- package/dist-lib/forms/CheckboxGroup.cjs.map +1 -0
- package/dist-lib/forms/CheckboxGroup.js +42 -0
- package/dist-lib/forms/CheckboxGroup.js.map +1 -0
- package/dist-lib/forms/ClearableAutoComplete.cjs +2 -0
- package/dist-lib/forms/ClearableAutoComplete.cjs.map +1 -0
- package/dist-lib/forms/ClearableAutoComplete.js +27 -0
- package/dist-lib/forms/ClearableAutoComplete.js.map +1 -0
- package/dist-lib/forms/ClearableCascader.cjs +2 -0
- package/dist-lib/forms/ClearableCascader.cjs.map +1 -0
- package/dist-lib/forms/ClearableCascader.js +27 -0
- package/dist-lib/forms/ClearableCascader.js.map +1 -0
- package/dist-lib/forms/ClearableCheckbox.cjs +2 -0
- package/dist-lib/forms/ClearableCheckbox.cjs.map +1 -0
- package/dist-lib/forms/ClearableCheckbox.js +23 -0
- package/dist-lib/forms/ClearableCheckbox.js.map +1 -0
- package/dist-lib/forms/ClearableColorPicker.cjs +2 -0
- package/dist-lib/forms/ClearableColorPicker.cjs.map +1 -0
- package/dist-lib/forms/ClearableColorPicker.js +22 -0
- package/dist-lib/forms/ClearableColorPicker.js.map +1 -0
- package/dist-lib/forms/ClearableDatePicker.cjs +2 -0
- package/dist-lib/forms/ClearableDatePicker.cjs.map +1 -0
- package/dist-lib/forms/ClearableDatePicker.js +27 -0
- package/dist-lib/forms/ClearableDatePicker.js.map +1 -0
- package/dist-lib/forms/ClearableInput.cjs +2 -0
- package/dist-lib/forms/ClearableInput.cjs.map +1 -0
- package/dist-lib/forms/ClearableInput.js +22 -0
- package/dist-lib/forms/ClearableInput.js.map +1 -0
- package/dist-lib/forms/ClearableInputNumber.cjs +2 -0
- package/dist-lib/forms/ClearableInputNumber.cjs.map +1 -0
- package/dist-lib/forms/ClearableInputNumber.js +27 -0
- package/dist-lib/forms/ClearableInputNumber.js.map +1 -0
- package/dist-lib/forms/ClearableMentions.cjs +2 -0
- package/dist-lib/forms/ClearableMentions.cjs.map +1 -0
- package/dist-lib/forms/ClearableMentions.js +27 -0
- package/dist-lib/forms/ClearableMentions.js.map +1 -0
- package/dist-lib/forms/ClearableRadio.cjs +2 -0
- package/dist-lib/forms/ClearableRadio.cjs.map +1 -0
- package/dist-lib/forms/ClearableRadio.js +23 -0
- package/dist-lib/forms/ClearableRadio.js.map +1 -0
- package/dist-lib/forms/ClearableRadioGroup.cjs +2 -0
- package/dist-lib/forms/ClearableRadioGroup.cjs.map +1 -0
- package/dist-lib/forms/ClearableRadioGroup.js +22 -0
- package/dist-lib/forms/ClearableRadioGroup.js.map +1 -0
- package/dist-lib/forms/ClearableRate.cjs +2 -0
- package/dist-lib/forms/ClearableRate.cjs.map +1 -0
- package/dist-lib/forms/ClearableRate.js +22 -0
- package/dist-lib/forms/ClearableRate.js.map +1 -0
- package/dist-lib/forms/ClearableSelect.cjs +2 -0
- package/dist-lib/forms/ClearableSelect.cjs.map +1 -0
- package/dist-lib/forms/ClearableSelect.js +27 -0
- package/dist-lib/forms/ClearableSelect.js.map +1 -0
- package/dist-lib/forms/ClearableSlider.cjs +2 -0
- package/dist-lib/forms/ClearableSlider.cjs.map +1 -0
- package/dist-lib/forms/ClearableSlider.js +23 -0
- package/dist-lib/forms/ClearableSlider.js.map +1 -0
- package/dist-lib/forms/ClearableSwitch.cjs +2 -0
- package/dist-lib/forms/ClearableSwitch.cjs.map +1 -0
- package/dist-lib/forms/ClearableSwitch.js +23 -0
- package/dist-lib/forms/ClearableSwitch.js.map +1 -0
- package/dist-lib/forms/ClearableTimePicker.cjs +2 -0
- package/dist-lib/forms/ClearableTimePicker.cjs.map +1 -0
- package/dist-lib/forms/ClearableTimePicker.js +27 -0
- package/dist-lib/forms/ClearableTimePicker.js.map +1 -0
- package/dist-lib/forms/ClearableTransfer.cjs +200 -0
- package/dist-lib/forms/ClearableTransfer.cjs.map +1 -0
- package/dist-lib/forms/ClearableTransfer.js +337 -0
- package/dist-lib/forms/ClearableTransfer.js.map +1 -0
- package/dist-lib/forms/ClearableTreeSelect.cjs +2 -0
- package/dist-lib/forms/ClearableTreeSelect.cjs.map +1 -0
- package/dist-lib/forms/ClearableTreeSelect.js +27 -0
- package/dist-lib/forms/ClearableTreeSelect.js.map +1 -0
- package/dist-lib/forms/ClearableUpload.cjs +111 -0
- package/dist-lib/forms/ClearableUpload.cjs.map +1 -0
- package/dist-lib/forms/ClearableUpload.js +187 -0
- package/dist-lib/forms/ClearableUpload.js.map +1 -0
- package/dist-lib/forms/ColorPicker.cjs +2 -0
- package/dist-lib/forms/ColorPicker.cjs.map +1 -0
- package/dist-lib/forms/ColorPicker.js +42 -0
- package/dist-lib/forms/ColorPicker.js.map +1 -0
- package/dist-lib/forms/DatePicker.cjs +1 -0
- package/dist-lib/forms/DatePicker.js +2 -0
- package/dist-lib/forms/FieldSetShell.cjs +2 -0
- package/dist-lib/forms/FieldSetShell.cjs.map +1 -0
- package/dist-lib/forms/FieldSetShell.js +87 -0
- package/dist-lib/forms/FieldSetShell.js.map +1 -0
- package/dist-lib/forms/FieldShell.cjs +2 -0
- package/dist-lib/forms/FieldShell.cjs.map +1 -0
- package/dist-lib/forms/FieldShell.js +93 -0
- package/dist-lib/forms/FieldShell.js.map +1 -0
- package/dist-lib/forms/Form.cjs +244 -0
- package/dist-lib/forms/Form.cjs.map +1 -0
- package/dist-lib/forms/Form.js +357 -0
- package/dist-lib/forms/Form.js.map +1 -0
- package/dist-lib/forms/FormError.cjs +2 -0
- package/dist-lib/forms/FormError.cjs.map +1 -0
- package/dist-lib/forms/FormError.js +41 -0
- package/dist-lib/forms/FormError.js.map +1 -0
- package/dist-lib/forms/FormSuccess.cjs +2 -0
- package/dist-lib/forms/FormSuccess.cjs.map +1 -0
- package/dist-lib/forms/FormSuccess.js +42 -0
- package/dist-lib/forms/FormSuccess.js.map +1 -0
- package/dist-lib/forms/FormWarning.cjs +2 -0
- package/dist-lib/forms/FormWarning.cjs.map +1 -0
- package/dist-lib/forms/FormWarning.js +42 -0
- package/dist-lib/forms/FormWarning.js.map +1 -0
- package/dist-lib/forms/Input.cjs +295 -0
- package/dist-lib/forms/Input.cjs.map +1 -0
- package/dist-lib/forms/Input.js +358 -0
- package/dist-lib/forms/Input.js.map +1 -0
- package/dist-lib/forms/InputNumber.cjs +1 -0
- package/dist-lib/forms/InputNumber.js +2 -0
- package/dist-lib/forms/Mentions.cjs +40 -0
- package/dist-lib/forms/Mentions.cjs.map +1 -0
- package/dist-lib/forms/Mentions.js +126 -0
- package/dist-lib/forms/Mentions.js.map +1 -0
- package/dist-lib/forms/PasswordInput.cjs +2 -0
- package/dist-lib/forms/PasswordInput.cjs.map +1 -0
- package/dist-lib/forms/PasswordInput.js +56 -0
- package/dist-lib/forms/PasswordInput.js.map +1 -0
- package/dist-lib/forms/Radio.cjs +2 -0
- package/dist-lib/forms/Radio.cjs.map +1 -0
- package/dist-lib/forms/Radio.js +43 -0
- package/dist-lib/forms/Radio.js.map +1 -0
- package/dist-lib/forms/RadioGroup.cjs +2 -0
- package/dist-lib/forms/RadioGroup.cjs.map +1 -0
- package/dist-lib/forms/RadioGroup.js +42 -0
- package/dist-lib/forms/RadioGroup.js.map +1 -0
- package/dist-lib/forms/Rate.cjs +2 -0
- package/dist-lib/forms/Rate.cjs.map +1 -0
- package/dist-lib/forms/Rate.js +42 -0
- package/dist-lib/forms/Rate.js.map +1 -0
- package/dist-lib/forms/Select.cjs +2 -0
- package/dist-lib/forms/Select.cjs.map +1 -0
- package/dist-lib/forms/Select.js +72 -0
- package/dist-lib/forms/Select.js.map +1 -0
- package/dist-lib/forms/Slider.cjs +2 -0
- package/dist-lib/forms/Slider.cjs.map +1 -0
- package/dist-lib/forms/Slider.js +43 -0
- package/dist-lib/forms/Slider.js.map +1 -0
- package/dist-lib/forms/Switch.cjs +117 -0
- package/dist-lib/forms/Switch.cjs.map +1 -0
- package/dist-lib/forms/Switch.js +209 -0
- package/dist-lib/forms/Switch.js.map +1 -0
- package/dist-lib/forms/TimePicker.cjs +1 -0
- package/dist-lib/forms/TimePicker.js +2 -0
- package/dist-lib/forms/TreeSelect.cjs +2 -0
- package/dist-lib/forms/TreeSelect.cjs.map +1 -0
- package/dist-lib/forms/TreeSelect.js +45 -0
- package/dist-lib/forms/TreeSelect.js.map +1 -0
- package/dist-lib/forms/clearUtils.cjs +2 -0
- package/dist-lib/forms/clearUtils.cjs.map +1 -0
- package/dist-lib/forms/clearUtils.js +16 -0
- package/dist-lib/forms/clearUtils.js.map +1 -0
- package/dist-lib/forms/index.cjs +1 -0
- package/dist-lib/forms/index.js +52 -0
- package/dist-lib/forms/validation.cjs +2 -0
- package/dist-lib/forms/validation.cjs.map +1 -0
- package/dist-lib/forms/validation.js +68 -0
- package/dist-lib/forms/validation.js.map +1 -0
- package/dist-lib/index.cjs +1 -7307
- package/dist-lib/index.js +91 -9807
- package/dist-lib/navigation/Anchor.cjs +10 -0
- package/dist-lib/navigation/Anchor.cjs.map +1 -0
- package/dist-lib/navigation/Anchor.js +32 -0
- package/dist-lib/navigation/Anchor.js.map +1 -0
- package/dist-lib/navigation/Breadcrumb.cjs +130 -0
- package/dist-lib/navigation/Breadcrumb.cjs.map +1 -0
- package/dist-lib/navigation/Breadcrumb.js +217 -0
- package/dist-lib/navigation/Breadcrumb.js.map +1 -0
- package/dist-lib/navigation/Dropdown.cjs +1 -0
- package/dist-lib/navigation/Dropdown.js +2 -0
- package/dist-lib/navigation/Menu.cjs +177 -0
- package/dist-lib/navigation/Menu.cjs.map +1 -0
- package/dist-lib/navigation/Menu.js +258 -0
- package/dist-lib/navigation/Menu.js.map +1 -0
- package/dist-lib/navigation/Pagination.cjs +370 -0
- package/dist-lib/navigation/Pagination.cjs.map +1 -0
- package/dist-lib/navigation/Pagination.js +505 -0
- package/dist-lib/navigation/Pagination.js.map +1 -0
- package/dist-lib/navigation/Steps.cjs +1 -0
- package/dist-lib/navigation/Steps.js +2 -0
- package/dist-lib/navigation/Tabs.cjs +162 -0
- package/dist-lib/navigation/Tabs.cjs.map +1 -0
- package/dist-lib/navigation/Tabs.js +249 -0
- package/dist-lib/navigation/Tabs.js.map +1 -0
- package/dist-lib/navigation/index.cjs +1 -0
- package/dist-lib/navigation/index.js +8 -0
- package/dist-lib/selectStyles-BFeXUMpO.cjs +1027 -0
- package/dist-lib/selectStyles-BFeXUMpO.cjs.map +1 -0
- package/dist-lib/selectStyles-C8j5Vvgp.js +1037 -0
- package/dist-lib/selectStyles-C8j5Vvgp.js.map +1 -0
- package/dist-lib/theme.cjs +2 -1
- package/dist-lib/theme.cjs.map +1 -0
- package/dist-lib/theme.js +1656 -2
- package/dist-lib/theme.js.map +1 -0
- package/dist-lib/types/ds/display/Avatar.d.ts +37 -0
- package/dist-lib/types/ds/display/Avatar.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Avatar.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Avatar.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Badge.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Badge.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Calendar.d.ts +38 -0
- package/dist-lib/types/ds/display/Calendar.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Calendar.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Calendar.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Card.d.ts +20 -0
- package/dist-lib/types/ds/display/Card.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Card.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Card.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Collapse.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Collapse.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Descriptions.d.ts +16 -0
- package/dist-lib/types/ds/display/Descriptions.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Descriptions.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Descriptions.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Empty.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Empty.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Icon.d.ts +43 -0
- package/dist-lib/types/ds/display/Icon.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Icon.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Icon.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Image.d.ts +20 -0
- package/dist-lib/types/ds/display/Image.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Image.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Image.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/List.d.ts +14 -0
- package/dist-lib/types/ds/display/List.d.ts.map +1 -0
- package/dist-lib/types/ds/display/List.test.d.ts +2 -0
- package/dist-lib/types/ds/display/List.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Popover.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Popover.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Segmented.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Segmented.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Statistic.d.ts +25 -0
- package/dist-lib/types/ds/display/Statistic.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Statistic.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Statistic.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Table.d.ts +50 -0
- package/dist-lib/types/ds/display/Table.d.ts.map +1 -1
- package/dist-lib/types/ds/display/Table.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Table.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Tag.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Tag.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Timeline.d.ts +32 -0
- package/dist-lib/types/ds/display/Timeline.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Timeline.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Timeline.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Tooltip.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Tooltip.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Tree.d.ts +59 -0
- package/dist-lib/types/ds/display/Tree.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Tree.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Tree.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Typography.d.ts +26 -0
- package/dist-lib/types/ds/display/Typography.d.ts.map +1 -0
- package/dist-lib/types/ds/display/Typography.test.d.ts +2 -0
- package/dist-lib/types/ds/display/Typography.test.d.ts.map +1 -0
- package/dist-lib/types/ds/display/index.d.ts +11 -0
- package/dist-lib/types/ds/display/index.d.ts.map +1 -1
- package/dist-lib/types/ds/feedback/Drawer.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Drawer.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/FloatButton.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/FloatButton.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Message.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Message.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Modal.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Modal.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Notification.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Notification.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Popconfirm.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Popconfirm.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Progress.d.ts +30 -0
- package/dist-lib/types/ds/feedback/Progress.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Progress.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Progress.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Result.d.ts +20 -0
- package/dist-lib/types/ds/feedback/Result.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Result.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Result.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Skeleton.d.ts +25 -0
- package/dist-lib/types/ds/feedback/Skeleton.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Skeleton.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Skeleton.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Spin.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Spin.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Tour.d.ts +14 -0
- package/dist-lib/types/ds/feedback/Tour.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/Tour.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/Tour.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/feedbackIcons.test.d.ts +2 -0
- package/dist-lib/types/ds/feedback/feedbackIcons.test.d.ts.map +1 -0
- package/dist-lib/types/ds/feedback/index.d.ts +4 -0
- package/dist-lib/types/ds/feedback/index.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AccessibleCheckboxGroup.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AccessibleCheckboxGroup.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/AccessibleCheckboxGroup.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/AccessibleDatePicker.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AccessibleDatePicker.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/AccessibleDatePicker.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/AccessiblePasswordInput.d.ts +4 -12
- package/dist-lib/types/ds/forms/AccessiblePasswordInput.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AccessiblePasswordInput.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/AccessiblePasswordInput.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/AccessibleRadioGroup.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AccessibleRadioGroup.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/AccessibleRadioGroup.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/AccessibleSelect.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AccessibleSelect.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/AccessibleSelect.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/AccessibleSwitch.d.ts +1 -1
- package/dist-lib/types/ds/forms/AccessibleSwitch.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AccessibleSwitch.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/AccessibleSwitch.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/AutoComplete.d.ts +5 -1
- package/dist-lib/types/ds/forms/AutoComplete.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/AutoComplete.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/AutoComplete.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Button.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Button.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Cascader.d.ts +6 -2
- package/dist-lib/types/ds/forms/Cascader.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/Cascader.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Cascader.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Checkbox.d.ts +7 -1
- package/dist-lib/types/ds/forms/Checkbox.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/Checkbox.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Checkbox.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/CheckboxGroup.d.ts +13 -0
- package/dist-lib/types/ds/forms/CheckboxGroup.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/CheckboxGroup.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/CheckboxGroup.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableAutoComplete.d.ts +1 -1
- package/dist-lib/types/ds/forms/ClearableAutoComplete.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableAutoComplete.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableAutoComplete.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableCascader.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableCascader.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableCascader.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableCheckbox.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableCheckbox.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableCheckbox.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableColorPicker.d.ts +2 -3
- package/dist-lib/types/ds/forms/ClearableColorPicker.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableColorPicker.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableColorPicker.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableDatePicker.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableDatePicker.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableDatePicker.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableInput.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableInput.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableInput.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableInputNumber.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableInputNumber.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableInputNumber.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableMentions.d.ts +2 -4
- package/dist-lib/types/ds/forms/ClearableMentions.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableMentions.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableMentions.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableRadio.d.ts +1 -1
- package/dist-lib/types/ds/forms/ClearableRadio.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableRadio.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableRadio.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableRadioGroup.d.ts +2 -2
- package/dist-lib/types/ds/forms/ClearableRadioGroup.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableRadioGroup.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableRadioGroup.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableRate.d.ts +2 -4
- package/dist-lib/types/ds/forms/ClearableRate.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableRate.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableRate.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableSelect.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableSelect.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableSelect.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableSlider.d.ts +1 -2
- package/dist-lib/types/ds/forms/ClearableSlider.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableSlider.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableSlider.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableSwitch.d.ts +1 -1
- package/dist-lib/types/ds/forms/ClearableSwitch.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableSwitch.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableSwitch.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableTimePicker.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableTimePicker.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableTimePicker.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableTransfer.d.ts +13 -7
- package/dist-lib/types/ds/forms/ClearableTransfer.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableTransfer.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableTransfer.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableTreeSelect.d.ts +2 -2
- package/dist-lib/types/ds/forms/ClearableTreeSelect.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableTreeSelect.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableTreeSelect.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ClearableUpload.d.ts +13 -7
- package/dist-lib/types/ds/forms/ClearableUpload.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/ClearableUpload.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ClearableUpload.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ColorPicker.d.ts +11 -0
- package/dist-lib/types/ds/forms/ColorPicker.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/ColorPicker.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/ColorPicker.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/DatePicker.d.ts +5 -2
- package/dist-lib/types/ds/forms/DatePicker.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/DatePicker.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/DatePicker.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/FieldSetShell.d.ts +6 -1
- package/dist-lib/types/ds/forms/FieldSetShell.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/FieldSetShell.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/FieldSetShell.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/FieldShell.d.ts +6 -2
- package/dist-lib/types/ds/forms/FieldShell.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/FieldShell.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/FieldShell.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Form.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Form.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/FormError.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/FormError.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/FormSuccess.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/FormSuccess.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/FormWarning.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/FormWarning.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Input.d.ts +6 -2
- package/dist-lib/types/ds/forms/Input.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/Input.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Input.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/InputNumber.d.ts +6 -1
- package/dist-lib/types/ds/forms/InputNumber.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/InputNumber.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/InputNumber.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Mentions.d.ts +11 -0
- package/dist-lib/types/ds/forms/Mentions.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Mentions.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Mentions.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/PasswordInput.d.ts +13 -0
- package/dist-lib/types/ds/forms/PasswordInput.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/PasswordInput.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/PasswordInput.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Radio.d.ts +10 -0
- package/dist-lib/types/ds/forms/Radio.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Radio.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Radio.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/RadioGroup.d.ts +11 -0
- package/dist-lib/types/ds/forms/RadioGroup.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/RadioGroup.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/RadioGroup.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Rate.d.ts +10 -0
- package/dist-lib/types/ds/forms/Rate.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Rate.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Rate.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Select.d.ts +6 -1
- package/dist-lib/types/ds/forms/Select.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/Select.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Select.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Slider.d.ts +11 -0
- package/dist-lib/types/ds/forms/Slider.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Slider.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Slider.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Switch.d.ts +5 -1
- package/dist-lib/types/ds/forms/Switch.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/Switch.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Switch.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/TimePicker.d.ts +4 -1
- package/dist-lib/types/ds/forms/TimePicker.d.ts.map +1 -1
- package/dist-lib/types/ds/forms/TimePicker.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/TimePicker.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Transfer.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Transfer.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/TreeSelect.d.ts +11 -0
- package/dist-lib/types/ds/forms/TreeSelect.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/TreeSelect.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/TreeSelect.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/Upload.test.d.ts +2 -0
- package/dist-lib/types/ds/forms/Upload.test.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/fieldProps.d.ts +17 -0
- package/dist-lib/types/ds/forms/fieldProps.d.ts.map +1 -0
- package/dist-lib/types/ds/forms/index.d.ts +9 -0
- package/dist-lib/types/ds/forms/index.d.ts.map +1 -1
- package/dist-lib/types/ds/navigation/Anchor.test.d.ts +2 -0
- package/dist-lib/types/ds/navigation/Anchor.test.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/Breadcrumb.test.d.ts +2 -0
- package/dist-lib/types/ds/navigation/Breadcrumb.test.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/Dropdown.test.d.ts +2 -0
- package/dist-lib/types/ds/navigation/Dropdown.test.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/Menu.d.ts +13 -0
- package/dist-lib/types/ds/navigation/Menu.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/Menu.test.d.ts +2 -0
- package/dist-lib/types/ds/navigation/Menu.test.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/Pagination.test.d.ts +2 -0
- package/dist-lib/types/ds/navigation/Pagination.test.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/Steps.test.d.ts +2 -0
- package/dist-lib/types/ds/navigation/Steps.test.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/Tabs.test.d.ts +2 -0
- package/dist-lib/types/ds/navigation/Tabs.test.d.ts.map +1 -0
- package/dist-lib/types/ds/navigation/index.d.ts +1 -0
- package/dist-lib/types/ds/navigation/index.d.ts.map +1 -1
- package/dist-lib/types/test/contracts/componentContracts.d.ts +3 -0
- package/dist-lib/types/test/contracts/componentContracts.d.ts.map +1 -0
- package/dist-lib/types/test/contracts/formControlContracts.d.ts +5 -0
- package/dist-lib/types/test/contracts/formControlContracts.d.ts.map +1 -0
- package/dist-lib/types/test/renderWithProviders.d.ts +3 -0
- package/dist-lib/types/test/renderWithProviders.d.ts.map +1 -0
- package/dist-lib/types/theme/ontadaTheme.d.ts +694 -0
- package/dist-lib/types/theme/ontadaTheme.d.ts.map +1 -1
- package/dist-lib/types/utils/useCustomIcon.d.ts.map +1 -1
- package/dist-lib/useCustomIcon-B-VUK-84.js +541 -0
- package/dist-lib/useCustomIcon-B-VUK-84.js.map +1 -0
- package/dist-lib/useCustomIcon-DbSB56Pd.cjs +1364 -0
- package/dist-lib/useCustomIcon-DbSB56Pd.cjs.map +1 -0
- package/package.json +94 -10
- package/dist-lib/index.cjs.map +0 -1
- package/dist-lib/index.js.map +0 -1
- package/dist-lib/ontadaTheme-DEEJ31G9.cjs +0 -2
- package/dist-lib/ontadaTheme-DEEJ31G9.cjs.map +0 -1
- package/dist-lib/ontadaTheme-DoyP_6uO.js +0 -1022
- 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"}
|