@para-ui/core 5.0.0-beta.12 → 5.0.0-beta.14
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/AGENTS.md +315 -0
- package/AlignBox/component.json +89 -0
- package/Anchor/component.json +130 -0
- package/Argv/component.json +216 -0
- package/AutoBox/component.json +133 -0
- package/AutoButton/component.json +109 -0
- package/AutoTips/component.json +121 -0
- package/Badge/component.json +92 -0
- package/Breadcrumbs/component.json +142 -0
- package/Button/component.json +168 -0
- package/ButtonGroup/component.json +132 -0
- package/Card/component.json +162 -0
- package/Carousel/component.json +142 -0
- package/Cascader/component.json +196 -0
- package/Checkbox/component.json +138 -0
- package/CheckboxGroup/component.json +152 -0
- package/CodeEditor/component.json +189 -0
- package/Collapse/component.json +166 -0
- package/CollapseBox/component.json +84 -0
- package/CollapseLayout/component.json +155 -0
- package/ColorPicker/component.json +142 -0
- package/ComboSelect/component.json +181 -0
- package/Container/component.json +111 -0
- package/ContentBox/component.json +81 -0
- package/CopyText/component.json +118 -0
- package/CycleSelector/component.json +98 -0
- package/DatePicker/component.json +192 -0
- package/Descriptions/component.json +142 -0
- package/Desktop/component.json +171 -0
- package/DragVerify/component.json +114 -0
- package/Drawer/component.json +200 -0
- package/Dropdown/component.json +147 -0
- package/DynamicMultiBox/component.json +278 -0
- package/Empty/component.json +123 -0
- package/FieldForm/component.json +196 -0
- package/Form/component.json +161 -0
- package/FormItem/component.json +171 -0
- package/FunctionModal/component.json +197 -0
- package/Help/component.json +118 -0
- package/HelperText/component.json +126 -0
- package/Image/component.json +165 -0
- package/InputCode/component.json +191 -0
- package/InputLang/component.json +205 -0
- package/InputNumber/component.json +162 -0
- package/Label/component.json +126 -0
- package/Loading/component.json +91 -0
- package/Menu/component.json +180 -0
- package/Message/component.json +246 -0
- package/Modal/component.json +277 -0
- package/MultiBox/component.json +216 -0
- package/Notification/component.json +184 -0
- package/OperateBtn/component.json +134 -0
- package/PageHeader/component.json +112 -0
- package/Pagination/component.json +181 -0
- package/PasswordRules/component.json +105 -0
- package/PopConfirm/component.json +227 -0
- package/PopMenu/component.json +131 -0
- package/Popover/component.json +165 -0
- package/Progress/component.json +161 -0
- package/Prompt/component.json +144 -0
- package/Querying/component.json +96 -0
- package/QuickReply/component.json +129 -0
- package/Radio/component.json +136 -0
- package/RadioGroup/component.json +149 -0
- package/RangeInput/component.json +198 -0
- package/Result/component.json +104 -0
- package/ScrollBar/component.json +115 -0
- package/Search/component.json +177 -0
- package/Select/component.json +244 -0
- package/SelectInput/component.json +184 -0
- package/Selector/component.json +203 -0
- package/SelectorPicker/component.json +179 -0
- package/SingleBox/component.json +151 -0
- package/Slider/component.json +181 -0
- package/SortBox/component.json +108 -0
- package/Status/component.json +104 -0
- package/Stepper/component.json +129 -0
- package/Switch/component.json +207 -0
- package/Table/component.json +547 -0
- package/Tabs/component.json +227 -0
- package/Tag/component.json +221 -0
- package/TextEditor/component.json +186 -0
- package/TextField/component.json +290 -0
- package/TimePicker/component.json +176 -0
- package/Timeline/component.json +110 -0
- package/Title/component.json +156 -0
- package/ToggleButton/component.json +153 -0
- package/Tooltip/component.json +176 -0
- package/Transfer/component.json +157 -0
- package/Tree/component.json +512 -0
- package/Upload/component.json +450 -0
- package/ai-workflows/01-crud-list-multi-drawer.md +278 -0
- package/ai-workflows/02-rbac-operation-buttons.md +290 -0
- package/ai-workflows/03-complex-form-async-cascade.md +350 -0
- package/ai-workflows/04-array-field-form.md +281 -0
- package/ai-workflows/05-popconfirm-async-message-queue.md +333 -0
- package/ai-workflows/06-modal-drawer-form-workflow.md +385 -0
- package/ai-workflows/07-search-filter-table-trio.md +387 -0
- package/ai-workflows/08-table-advanced-features.md +365 -0
- package/ai-workflows/09-batch-operation-export-progress.md +367 -0
- package/ai-workflows/10-cross-component-state-coordination.md +412 -0
- package/codemods/modal-onCancel-to-onDismiss.js +69 -0
- package/es/AlignBox/component.json +89 -0
- package/es/AlignBox/index.css +1 -1
- package/es/AlignBox/index.d.ts +6 -2
- package/es/AlignBox/index.js +1 -1
- package/es/AlignBox/style/index.css +1 -1
- package/es/Anchor/anchorMenu/index.d.ts +2 -1
- package/es/Anchor/anchorMenu/index.js +36 -33
- package/es/Anchor/component.json +130 -0
- package/es/Anchor/index.js +50 -47
- package/es/Anchor/type.d.ts +8 -4
- package/es/Argv/component.json +216 -0
- package/es/Argv/index.d.ts +5 -6
- package/es/AutoBox/component.json +133 -0
- package/es/AutoBox/index.d.ts +3 -3
- package/es/AutoBox/index.js +1 -1
- package/es/AutoBox/protal.d.ts +2 -2
- package/es/AutoBox/protal.js +32 -29
- package/es/AutoButton/component.json +109 -0
- package/es/AutoButton/index.js +1 -1
- package/es/AutoTips/autoTipsMultiline/index.d.ts +1 -1
- package/es/AutoTips/autoTipsMultiline/index.js +1 -1
- package/es/AutoTips/component.json +121 -0
- package/es/Badge/component.json +92 -0
- package/es/Breadcrumbs/component.json +142 -0
- package/es/Breadcrumbs/index.js +1 -1
- package/es/Button/SplitButton.d.ts +2 -2
- package/es/Button/component.json +168 -0
- package/es/Button/index.js +44 -44
- package/es/ButtonGroup/component.json +132 -0
- package/es/ButtonGroup/index.d.ts +1 -1
- package/es/Card/component.json +162 -0
- package/es/Card/index.d.ts +2 -2
- package/es/Card/index.js +2 -2
- package/es/Carousel/component.json +142 -0
- package/es/Carousel/index.d.ts +1 -1
- package/es/Cascader/Cascader.js +188 -180
- package/es/Cascader/component.json +196 -0
- package/es/Cascader/hooks/useEntities.js +7 -7
- package/es/Cascader/interface.d.ts +1 -0
- package/es/Cascader/utils/commonUtil.d.ts +1 -1
- package/es/Cascader/utils/commonUtil.js +16 -16
- package/es/Cascader/utils/treeUtil.d.ts +14 -5
- package/es/Cascader/utils/treeUtil.js +1 -1
- package/es/Checkbox/component.json +138 -0
- package/es/CheckboxGroup/component.json +152 -0
- package/es/CodeEditor/component.json +189 -0
- package/es/CodeEditor/index.d.ts +10 -9
- package/es/Collapse/component.json +166 -0
- package/es/Collapse/index.d.ts +1 -1
- package/es/Collapse/index.js +41 -33
- package/es/CollapseBox/component.json +84 -0
- package/es/CollapseLayout/component.json +155 -0
- package/es/ColorPicker/component.json +142 -0
- package/es/ComboSelect/component.json +181 -0
- package/es/ComboSelect/index.js +299 -287
- package/es/ComboSelect/interface.d.ts +6 -3
- package/es/ComboSelect/utils.d.ts +3 -3
- package/es/ComboSelect/utils.js +1 -1
- package/es/Container/component.json +111 -0
- package/es/ContentBox/component.json +81 -0
- package/es/CopyText/component.json +118 -0
- package/es/CycleSelector/component.json +98 -0
- package/es/CycleSelector/index.js +14 -13
- package/es/DatePicker/component.json +192 -0
- package/es/DatePicker/generatePicker/generateRangePicker.d.ts +0 -8
- package/es/DatePicker/generatePicker/generateRangePicker.js +73 -65
- package/es/DatePicker/generatePicker/generateSinglePicker.js +1 -1
- package/es/DatePicker/generatePicker/index.d.ts +11 -4
- package/es/Descriptions/component.json +142 -0
- package/es/Descriptions/index.d.ts +1 -1
- package/es/Desktop/component.json +171 -0
- package/es/DragVerify/component.json +114 -0
- package/es/DragVerify/index.js +19 -19
- package/es/Drawer/component.json +200 -0
- package/es/Drawer/index.js +86 -86
- package/es/Drawer/interface.d.ts +1 -1
- package/es/Drawer/util.d.ts +1 -6
- package/es/Drawer/util.js +9 -6
- package/es/Dropdown/component.json +147 -0
- package/es/DynamicMultiBox/component.json +278 -0
- package/es/DynamicMultiBox/formItem.d.ts +1 -1
- package/es/DynamicMultiBox/rowForm.d.ts +2 -2
- package/es/Empty/component.json +123 -0
- package/es/Empty/index.css +1 -1
- package/es/Empty/index.d.ts +2 -2
- package/es/Empty/index.js +27 -26
- package/es/Empty/style/index.css +1 -1
- package/es/FieldForm/FieldFormItem/MemoInput.d.ts +2 -2
- package/es/FieldForm/FieldFormItem/index.d.ts +6 -6
- package/es/FieldForm/Form.d.ts +2 -2
- package/es/FieldForm/FormList.d.ts +2 -2
- package/es/FieldForm/component.json +196 -0
- package/es/FieldForm/context.d.ts +5 -1
- package/es/FieldForm/context.js +2 -2
- package/es/FieldForm/hooks/useForm.d.ts +4 -3
- package/es/FieldForm/hooks/useFormInstance.d.ts +1 -1
- package/es/FieldForm/hooks/useFormItemStatus.d.ts +9 -5
- package/es/FieldForm/hooks/useFormItemStatus.js +2 -2
- package/es/FieldForm/hooks/useItemRef.d.ts +1 -1
- package/es/FieldForm/hooks/useItemRef.js +6 -6
- package/es/Form/component.json +161 -0
- package/es/Form/index.d.ts +52 -49
- package/es/FormItem/compoments/defaultCompoments/index.d.ts +5 -5
- package/es/FormItem/compoments/defaultCompoments/index.js +12 -11
- package/es/FormItem/compoments/formCheckboxGroup/index.d.ts +2 -2
- package/es/FormItem/compoments/formFile/index.js +8 -8
- package/es/FormItem/compoments/formRadioGroup/index.d.ts +1 -1
- package/es/FormItem/compoments/formSelect/index.d.ts +1 -1
- package/es/FormItem/component.json +171 -0
- package/es/FormItem/index.d.ts +5 -5
- package/es/FormItem/index.js +23 -23
- package/es/FormItem/itemType.js +1 -1
- package/es/FunctionModal/component.json +197 -0
- package/es/FunctionModal/dialog.d.ts +1 -1
- package/es/FunctionModal/modalContext.d.ts +4 -1
- package/es/Help/component.json +118 -0
- package/es/HelperText/component.json +126 -0
- package/es/Image/component.json +165 -0
- package/es/InputCode/component.json +191 -0
- package/es/InputCode/index.d.ts +2 -2
- package/es/InputLang/component.json +205 -0
- package/es/InputLang/index.js +1 -1
- package/es/InputNumber/component.json +162 -0
- package/es/Label/component.json +126 -0
- package/es/Label/index.d.ts +2 -2
- package/es/Loading/component.json +91 -0
- package/es/Menu/component.json +180 -0
- package/es/Message/component.json +246 -0
- package/es/Message/index.d.ts +2 -2
- package/es/Message/index.js +2 -2
- package/es/Modal/Confirm/index.d.ts +1 -1
- package/es/Modal/Confirm/index.js +81 -75
- package/es/Modal/component.json +277 -0
- package/es/Modal/index.d.ts +97 -6
- package/es/Modal/index.js +174 -122
- package/es/Modal/interface.d.ts +1 -0
- package/es/MultiBox/component.json +216 -0
- package/es/MultiBox/index.js +19 -14
- package/es/Notification/component.json +184 -0
- package/es/OperateBtn/component.json +134 -0
- package/es/OperateBtn/index.d.ts +3 -3
- package/es/PageHeader/component.json +112 -0
- package/es/Pagination/component.json +181 -0
- package/es/Pagination/index.js +15 -15
- package/es/PasswordRules/component.json +105 -0
- package/es/PasswordRules/index.d.ts +4 -4
- package/es/PopConfirm/component.json +227 -0
- package/es/PopConfirm/index.d.ts +1 -1
- package/es/PopConfirm/index.js +1 -1
- package/es/PopMenu/component.json +131 -0
- package/es/PopMenu/hooks.d.ts +1 -1
- package/es/PopMenu/index.js +8 -8
- package/es/Popover/component.json +165 -0
- package/es/Popover/index.js +1 -1
- package/es/Progress/component.json +161 -0
- package/es/Prompt/component.json +144 -0
- package/es/Querying/component.json +96 -0
- package/es/Querying/index.css +1 -1
- package/es/Querying/index.d.ts +2 -2
- package/es/Querying/index.js +20 -19
- package/es/Querying/style/index.css +1 -1
- package/es/QuickReply/component.json +129 -0
- package/es/QuickReply/index.d.ts +1 -1
- package/es/Radio/component.json +136 -0
- package/es/RadioGroup/component.json +149 -0
- package/es/RangeInput/component.json +198 -0
- package/es/RangeInput/index.js +1 -1
- package/es/Result/component.json +104 -0
- package/es/ScrollBar/component.json +115 -0
- package/es/Search/component.json +177 -0
- package/es/Search/index.d.ts +1 -1
- package/es/Select/component.json +244 -0
- package/es/Select/index.js +113 -113
- package/es/SelectInput/component.json +184 -0
- package/es/Selector/component.json +203 -0
- package/es/Selector/index.js +28 -27
- package/es/Selector/interface.d.ts +1 -1
- package/es/Selector/selectorMain/index.js +2 -2
- package/es/Selector/selectorNode/index.js +1 -1
- package/es/Selector/util.d.ts +2 -2
- package/es/SelectorPicker/component.json +179 -0
- package/es/SelectorPicker/index.d.ts +5 -5
- package/es/SelectorPicker/index.js +15 -15
- package/es/SingleBox/component.json +151 -0
- package/es/SingleBox/index.d.ts +2 -2
- package/es/Slider/component.json +181 -0
- package/es/SortBox/component.json +108 -0
- package/es/Status/component.json +104 -0
- package/es/Stepper/component.json +129 -0
- package/es/Stepper/index.d.ts +2 -2
- package/es/Switch/component.json +207 -0
- package/es/Switch/index.css +1 -1
- package/es/Switch/index.d.ts +3 -2
- package/es/Switch/index.js +60 -59
- package/es/Switch/style/index.css +1 -1
- package/es/Table/component.json +547 -0
- package/es/Table/index.d.ts +2 -2
- package/es/Table/index.js +414 -414
- package/es/Table/interface.d.ts +6 -0
- package/es/Tabs/component.json +227 -0
- package/es/Tag/component.json +221 -0
- package/es/Tag/index.css +1 -1
- package/es/Tag/index.d.ts +1 -1
- package/es/Tag/index.js +20 -20
- package/es/Tag/style/index.css +1 -1
- package/es/TextEditor/component.json +186 -0
- package/es/TextEditor/index.d.ts +5 -5
- package/es/TextField/component.json +290 -0
- package/es/TextField/index.d.ts +2 -2
- package/es/TimePicker/component.json +176 -0
- package/es/Timeline/component.json +110 -0
- package/es/Title/component.json +156 -0
- package/es/ToggleButton/component.json +153 -0
- package/es/Tooltip/component.json +176 -0
- package/es/Tooltip/index.js +74 -63
- package/es/Tooltip/interface.d.ts +14 -1
- package/es/Tooltip/utils.js +6 -6
- package/es/Transfer/component.json +157 -0
- package/es/Tree/component.json +512 -0
- package/es/Upload/component.json +450 -0
- package/es/Utils/type.d.ts +0 -2
- package/es/index.d.ts +2 -0
- package/es/index.js +1 -1
- package/es/locale/en_US.d.ts +361 -0
- package/es/locale/en_US.js +364 -0
- package/es/locale/index.d.ts +1 -723
- package/es/locale/index2.js +10 -0
- package/es/locale/zh_CN.d.ts +361 -0
- package/es/locale/zh_CN.js +364 -0
- package/lib/AlignBox/component.json +89 -0
- package/lib/AlignBox/index.css +1 -1
- package/lib/AlignBox/index.d.ts +6 -2
- package/lib/AlignBox/index.js +1 -1
- package/lib/AlignBox/style/index.css +1 -1
- package/lib/Anchor/anchorMenu/index.d.ts +2 -1
- package/lib/Anchor/anchorMenu/index.js +1 -1
- package/lib/Anchor/component.json +130 -0
- package/lib/Anchor/index.js +1 -1
- package/lib/Anchor/type.d.ts +8 -4
- package/lib/Argv/component.json +216 -0
- package/lib/Argv/index.d.ts +5 -6
- package/lib/AutoBox/component.json +133 -0
- package/lib/AutoBox/index.d.ts +3 -3
- package/lib/AutoBox/index.js +1 -1
- package/lib/AutoBox/protal.d.ts +2 -2
- package/lib/AutoBox/protal.js +1 -1
- package/lib/AutoButton/component.json +109 -0
- package/lib/AutoButton/index.js +1 -1
- package/lib/AutoTips/autoTipsMultiline/index.d.ts +1 -1
- package/lib/AutoTips/autoTipsMultiline/index.js +1 -1
- package/lib/AutoTips/component.json +121 -0
- package/lib/Badge/component.json +92 -0
- package/lib/Breadcrumbs/component.json +142 -0
- package/lib/Breadcrumbs/index.js +1 -1
- package/lib/Button/SplitButton.d.ts +2 -2
- package/lib/Button/component.json +168 -0
- package/lib/Button/index.js +1 -1
- package/lib/ButtonGroup/component.json +132 -0
- package/lib/ButtonGroup/index.d.ts +1 -1
- package/lib/Card/component.json +162 -0
- package/lib/Card/index.d.ts +2 -2
- package/lib/Card/index.js +1 -1
- package/lib/Carousel/component.json +142 -0
- package/lib/Carousel/index.d.ts +1 -1
- package/lib/Cascader/Cascader.js +1 -1
- package/lib/Cascader/component.json +196 -0
- package/lib/Cascader/hooks/useEntities.js +1 -1
- package/lib/Cascader/interface.d.ts +1 -0
- package/lib/Cascader/utils/commonUtil.d.ts +1 -1
- package/lib/Cascader/utils/commonUtil.js +1 -1
- package/lib/Cascader/utils/treeUtil.d.ts +14 -5
- package/lib/Cascader/utils/treeUtil.js +1 -1
- package/lib/Checkbox/component.json +138 -0
- package/lib/CheckboxGroup/component.json +152 -0
- package/lib/CodeEditor/component.json +189 -0
- package/lib/CodeEditor/index.d.ts +10 -9
- package/lib/Collapse/component.json +166 -0
- package/lib/Collapse/index.d.ts +1 -1
- package/lib/Collapse/index.js +1 -1
- package/lib/CollapseBox/component.json +84 -0
- package/lib/CollapseLayout/component.json +155 -0
- package/lib/ColorPicker/component.json +142 -0
- package/lib/ComboSelect/component.json +181 -0
- package/lib/ComboSelect/index.js +1 -1
- package/lib/ComboSelect/interface.d.ts +6 -3
- package/lib/ComboSelect/utils.d.ts +3 -3
- package/lib/ComboSelect/utils.js +1 -1
- package/lib/Container/component.json +111 -0
- package/lib/ContentBox/component.json +81 -0
- package/lib/CopyText/component.json +118 -0
- package/lib/CycleSelector/component.json +98 -0
- package/lib/CycleSelector/index.js +1 -1
- package/lib/DatePicker/component.json +192 -0
- package/lib/DatePicker/generatePicker/generateRangePicker.d.ts +0 -8
- package/lib/DatePicker/generatePicker/generateRangePicker.js +1 -1
- package/lib/DatePicker/generatePicker/generateSinglePicker.js +1 -1
- package/lib/DatePicker/generatePicker/index.d.ts +11 -4
- package/lib/Descriptions/component.json +142 -0
- package/lib/Descriptions/index.d.ts +1 -1
- package/lib/Desktop/component.json +171 -0
- package/lib/DragVerify/component.json +114 -0
- package/lib/DragVerify/index.js +1 -1
- package/lib/Drawer/component.json +200 -0
- package/lib/Drawer/index.js +1 -1
- package/lib/Drawer/interface.d.ts +1 -1
- package/lib/Drawer/util.d.ts +1 -6
- package/lib/Drawer/util.js +1 -1
- package/lib/Dropdown/component.json +147 -0
- package/lib/DynamicMultiBox/component.json +278 -0
- package/lib/DynamicMultiBox/formItem.d.ts +1 -1
- package/lib/DynamicMultiBox/rowForm.d.ts +2 -2
- package/lib/Empty/component.json +123 -0
- package/lib/Empty/index.css +1 -1
- package/lib/Empty/index.d.ts +2 -2
- package/lib/Empty/index.js +1 -1
- package/lib/Empty/style/index.css +1 -1
- package/lib/FieldForm/FieldFormItem/MemoInput.d.ts +2 -2
- package/lib/FieldForm/FieldFormItem/index.d.ts +6 -6
- package/lib/FieldForm/Form.d.ts +2 -2
- package/lib/FieldForm/FormList.d.ts +2 -2
- package/lib/FieldForm/component.json +196 -0
- package/lib/FieldForm/context.d.ts +5 -1
- package/lib/FieldForm/context.js +1 -1
- package/lib/FieldForm/hooks/useForm.d.ts +4 -3
- package/lib/FieldForm/hooks/useFormInstance.d.ts +1 -1
- package/lib/FieldForm/hooks/useFormItemStatus.d.ts +9 -5
- package/lib/FieldForm/hooks/useFormItemStatus.js +1 -1
- package/lib/FieldForm/hooks/useItemRef.d.ts +1 -1
- package/lib/FieldForm/hooks/useItemRef.js +1 -1
- package/lib/Form/component.json +161 -0
- package/lib/Form/index.d.ts +52 -49
- package/lib/FormItem/compoments/defaultCompoments/index.d.ts +5 -5
- package/lib/FormItem/compoments/defaultCompoments/index.js +1 -1
- package/lib/FormItem/compoments/formCheckboxGroup/index.d.ts +2 -2
- package/lib/FormItem/compoments/formFile/index.js +1 -1
- package/lib/FormItem/compoments/formRadioGroup/index.d.ts +1 -1
- package/lib/FormItem/compoments/formSelect/index.d.ts +1 -1
- package/lib/FormItem/component.json +171 -0
- package/lib/FormItem/index.d.ts +5 -5
- package/lib/FormItem/index.js +1 -1
- package/lib/FormItem/itemType.js +1 -1
- package/lib/FunctionModal/component.json +197 -0
- package/lib/FunctionModal/dialog.d.ts +1 -1
- package/lib/FunctionModal/modalContext.d.ts +4 -1
- package/lib/Help/component.json +118 -0
- package/lib/HelperText/component.json +126 -0
- package/lib/Image/component.json +165 -0
- package/lib/InputCode/component.json +191 -0
- package/lib/InputCode/index.d.ts +2 -2
- package/lib/InputLang/component.json +205 -0
- package/lib/InputLang/index.js +1 -1
- package/lib/InputNumber/component.json +162 -0
- package/lib/Label/component.json +126 -0
- package/lib/Label/index.d.ts +2 -2
- package/lib/Loading/component.json +91 -0
- package/lib/Menu/component.json +180 -0
- package/lib/Message/component.json +246 -0
- package/lib/Message/index.d.ts +2 -2
- package/lib/Message/index.js +1 -1
- package/lib/Modal/Confirm/index.d.ts +1 -1
- package/lib/Modal/Confirm/index.js +1 -1
- package/lib/Modal/component.json +277 -0
- package/lib/Modal/index.d.ts +97 -6
- package/lib/Modal/index.js +1 -1
- package/lib/Modal/interface.d.ts +1 -0
- package/lib/MultiBox/component.json +216 -0
- package/lib/MultiBox/index.js +1 -1
- package/lib/Notification/component.json +184 -0
- package/lib/OperateBtn/component.json +134 -0
- package/lib/OperateBtn/index.d.ts +3 -3
- package/lib/PageHeader/component.json +112 -0
- package/lib/Pagination/component.json +181 -0
- package/lib/Pagination/index.js +1 -1
- package/lib/PasswordRules/component.json +105 -0
- package/lib/PasswordRules/index.d.ts +4 -4
- package/lib/PopConfirm/component.json +227 -0
- package/lib/PopConfirm/index.d.ts +1 -1
- package/lib/PopConfirm/index.js +1 -1
- package/lib/PopMenu/component.json +131 -0
- package/lib/PopMenu/hooks.d.ts +1 -1
- package/lib/PopMenu/index.js +1 -1
- package/lib/Popover/component.json +165 -0
- package/lib/Popover/index.js +1 -1
- package/lib/Progress/component.json +161 -0
- package/lib/Prompt/component.json +144 -0
- package/lib/Querying/component.json +96 -0
- package/lib/Querying/index.css +1 -1
- package/lib/Querying/index.d.ts +2 -2
- package/lib/Querying/index.js +1 -1
- package/lib/Querying/style/index.css +1 -1
- package/lib/QuickReply/component.json +129 -0
- package/lib/QuickReply/index.d.ts +1 -1
- package/lib/Radio/component.json +136 -0
- package/lib/RadioGroup/component.json +149 -0
- package/lib/RangeInput/component.json +198 -0
- package/lib/RangeInput/index.js +1 -1
- package/lib/Result/component.json +104 -0
- package/lib/ScrollBar/component.json +115 -0
- package/lib/Search/component.json +177 -0
- package/lib/Search/index.d.ts +1 -1
- package/lib/Select/component.json +244 -0
- package/lib/Select/index.js +1 -1
- package/lib/SelectInput/component.json +184 -0
- package/lib/Selector/component.json +203 -0
- package/lib/Selector/index.js +1 -1
- package/lib/Selector/interface.d.ts +1 -1
- package/lib/Selector/selectorMain/index.js +1 -1
- package/lib/Selector/selectorNode/index.js +1 -1
- package/lib/Selector/util.d.ts +2 -2
- package/lib/SelectorPicker/component.json +179 -0
- package/lib/SelectorPicker/index.d.ts +5 -5
- package/lib/SelectorPicker/index.js +1 -1
- package/lib/SingleBox/component.json +151 -0
- package/lib/SingleBox/index.d.ts +2 -2
- package/lib/Slider/component.json +181 -0
- package/lib/SortBox/component.json +108 -0
- package/lib/Status/component.json +104 -0
- package/lib/Stepper/component.json +129 -0
- package/lib/Stepper/index.d.ts +2 -2
- package/lib/Switch/component.json +207 -0
- package/lib/Switch/index.css +1 -1
- package/lib/Switch/index.d.ts +3 -2
- package/lib/Switch/index.js +1 -1
- package/lib/Switch/style/index.css +1 -1
- package/lib/Table/component.json +547 -0
- package/lib/Table/index.d.ts +2 -2
- package/lib/Table/index.js +1 -1
- package/lib/Table/interface.d.ts +6 -0
- package/lib/Tabs/component.json +227 -0
- package/lib/Tag/component.json +221 -0
- package/lib/Tag/index.css +1 -1
- package/lib/Tag/index.d.ts +1 -1
- package/lib/Tag/index.js +1 -1
- package/lib/Tag/style/index.css +1 -1
- package/lib/TextEditor/component.json +186 -0
- package/lib/TextEditor/index.d.ts +5 -5
- package/lib/TextField/component.json +290 -0
- package/lib/TextField/index.d.ts +2 -2
- package/lib/TimePicker/component.json +176 -0
- package/lib/Timeline/component.json +110 -0
- package/lib/Title/component.json +156 -0
- package/lib/ToggleButton/component.json +153 -0
- package/lib/Tooltip/component.json +176 -0
- package/lib/Tooltip/index.js +1 -1
- package/lib/Tooltip/interface.d.ts +14 -1
- package/lib/Tooltip/utils.js +1 -1
- package/lib/Transfer/component.json +157 -0
- package/lib/Tree/component.json +512 -0
- package/lib/Upload/component.json +450 -0
- package/lib/Utils/type.d.ts +0 -2
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -1
- package/lib/locale/en_US.d.ts +361 -0
- package/lib/locale/en_US.js +2 -0
- package/lib/locale/index.d.ts +1 -723
- package/lib/locale/index2.js +2 -0
- package/lib/locale/zh_CN.d.ts +361 -0
- package/lib/locale/zh_CN.js +2 -0
- package/package.json +10 -3
- /package/es/{Utils/Hooks → Hooks}/useResizeObserver.d.ts +0 -0
- /package/es/{Utils/Hooks → Hooks}/useResizeObserver.js +0 -0
- /package/lib/{Utils/Hooks → Hooks}/useResizeObserver.d.ts +0 -0
- /package/lib/{Utils/Hooks → Hooks}/useResizeObserver.js +0 -0
package/es/ComboSelect/index.js
CHANGED
|
@@ -1,118 +1,130 @@
|
|
|
1
1
|
import { j as t } from "../_virtual/jsx-runtime.js";
|
|
2
|
-
import
|
|
3
|
-
import { Down as
|
|
4
|
-
import { Search as
|
|
5
|
-
import { Close as
|
|
6
|
-
import { CloseCircleF as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
2
|
+
import Qt, { useRef as v, useEffect as N, useState as x, useMemo as T, useImperativeHandle as Xt } from "react";
|
|
3
|
+
import { Down as Yt } from "../node_modules/@para-ui/icons/Down/index.js";
|
|
4
|
+
import { Search as Zt } from "../node_modules/@para-ui/icons/Search/index.js";
|
|
5
|
+
import { Close as st } from "../node_modules/@para-ui/icons/Close/index.js";
|
|
6
|
+
import { CloseCircleF as eo } from "../node_modules/@para-ui/icons/CloseCircleF/index.js";
|
|
7
|
+
import to from "../Table/index.js";
|
|
8
|
+
import oo from "../Tree/Tree.js";
|
|
9
9
|
import './index.css';import '../Tree/style/index.css';/* empty css */
|
|
10
|
-
import { Button as
|
|
11
|
-
import { Dropdown as
|
|
12
|
-
import { Popover as
|
|
13
|
-
import
|
|
14
|
-
import { Tooltip as
|
|
15
|
-
import
|
|
16
|
-
import { getReplaceField as
|
|
17
|
-
import { DeepClone as
|
|
18
|
-
import { ArrayToObject as
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
10
|
+
import { Button as lt } from "../Button/index.js";
|
|
11
|
+
import { Dropdown as ro } from "../Dropdown/index.js";
|
|
12
|
+
import { Popover as nt } from "../Popover/index.js";
|
|
13
|
+
import ge from "../AutoTips/index.js";
|
|
14
|
+
import { Tooltip as so } from "../Tooltip/index.js";
|
|
15
|
+
import A from "clsx";
|
|
16
|
+
import { getReplaceField as lo, isRemoteLoad as no, debounce as co, toArray as ct, closest as ao, getOverlaySize as io } from "./utils.js";
|
|
17
|
+
import { DeepClone as mo } from "@snack-kit/lib";
|
|
18
|
+
import { ArrayToObject as uo } from "../Utils/snack-kit-shims.js";
|
|
19
|
+
import fo from "../GlobalContext/index.js";
|
|
20
|
+
import po from "../Hooks/useGlobalProps.js";
|
|
21
|
+
import ho from "../GlobalContext/useFormatMessage.js";
|
|
22
|
+
import bo from "./lang/index.js";
|
|
23
|
+
import vo from "../Label/index.js";
|
|
24
|
+
import xo from "../HelperText/index.js";
|
|
25
25
|
import { $prefixCls as m } from "../GlobalContext/constant.js";
|
|
26
|
-
import { Search as
|
|
27
|
-
import { LoadingF as
|
|
26
|
+
import { Search as go } from "../Search/index.js";
|
|
27
|
+
import { LoadingF as jo } from "../node_modules/@para-ui/icons/LoadingF/index.js";
|
|
28
28
|
/* empty css */
|
|
29
|
-
const
|
|
29
|
+
const Uo = (at) => {
|
|
30
30
|
const {
|
|
31
|
-
mode:
|
|
31
|
+
mode: u = "table",
|
|
32
32
|
placeholder: je,
|
|
33
|
-
searchPlaceholder:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
searchPlaceholder: it,
|
|
34
|
+
maxCount: Ce,
|
|
35
|
+
overLine: I = !1,
|
|
36
|
+
disabled: ye = !1,
|
|
37
|
+
allowClear: mt = !1,
|
|
38
|
+
className: ut,
|
|
39
|
+
style: dt,
|
|
40
|
+
maxHeight: ft,
|
|
41
|
+
height: pt,
|
|
42
|
+
placement: ht = "bottomLeft",
|
|
43
|
+
popoverClassName: bt,
|
|
44
|
+
size: vt = "large",
|
|
45
|
+
popoverActions: we = null,
|
|
46
|
+
showPopoverActions: Ne = !1,
|
|
46
47
|
defaultOpen: te = !1,
|
|
47
|
-
defaultValue:
|
|
48
|
-
replaceFields:
|
|
49
|
-
outputFields:
|
|
48
|
+
defaultValue: Te,
|
|
49
|
+
replaceFields: xt = { key: "key", title: "title", children: "children" },
|
|
50
|
+
outputFields: gt = { outputKey: "key", outputTitle: "label" },
|
|
50
51
|
value: oe,
|
|
51
52
|
onClear: re,
|
|
52
|
-
onCancel:
|
|
53
|
-
onOk:
|
|
54
|
-
onClose:
|
|
55
|
-
onChange:
|
|
53
|
+
onCancel: jt,
|
|
54
|
+
onOk: Ct,
|
|
55
|
+
onClose: yt,
|
|
56
|
+
onChange: k,
|
|
56
57
|
onSearch: se,
|
|
57
|
-
refresh:
|
|
58
|
+
refresh: P,
|
|
58
59
|
TableProps: le,
|
|
59
60
|
TreeProps: M,
|
|
60
|
-
checkable:
|
|
61
|
-
url:
|
|
62
|
-
ctx:
|
|
61
|
+
checkable: a = !0,
|
|
62
|
+
url: ke,
|
|
63
|
+
ctx: Pe,
|
|
63
64
|
params: R,
|
|
64
|
-
method:
|
|
65
|
+
method: Se = "Get",
|
|
65
66
|
showSearch: H = !1,
|
|
66
|
-
realTimeSearch:
|
|
67
|
-
error:
|
|
68
|
-
hideErrorDom:
|
|
67
|
+
realTimeSearch: wt = !1,
|
|
68
|
+
error: Re = !1,
|
|
69
|
+
hideErrorDom: Nt,
|
|
69
70
|
helperText: ne,
|
|
70
|
-
paramsCallback:
|
|
71
|
-
fullPathKey:
|
|
72
|
-
fullPathRender:
|
|
71
|
+
paramsCallback: Tt,
|
|
72
|
+
fullPathKey: kt,
|
|
73
|
+
fullPathRender: $e,
|
|
73
74
|
disablePopup: f = !1,
|
|
74
75
|
tagRender: ce,
|
|
75
|
-
onTagRemove:
|
|
76
|
-
action:
|
|
77
|
-
label:
|
|
78
|
-
labelTooltip:
|
|
79
|
-
required:
|
|
80
|
-
emptyProps:
|
|
81
|
-
toggleSelectedOnSingle:
|
|
82
|
-
optionRender:
|
|
76
|
+
onTagRemove: Le,
|
|
77
|
+
action: Pt,
|
|
78
|
+
label: Me = "",
|
|
79
|
+
labelTooltip: St,
|
|
80
|
+
required: Oe = !1,
|
|
81
|
+
emptyProps: De,
|
|
82
|
+
toggleSelectedOnSingle: Rt = !1,
|
|
83
|
+
optionRender: Ee,
|
|
83
84
|
getOptionLabel: ze,
|
|
84
|
-
dropdownMatchSelectWidth:
|
|
85
|
-
getPopupContainer:
|
|
85
|
+
dropdownMatchSelectWidth: ae = !0,
|
|
86
|
+
getPopupContainer: $t,
|
|
86
87
|
maxTagTextLength: W,
|
|
87
88
|
renderInputContent: q,
|
|
88
|
-
renderTagLabel:
|
|
89
|
-
renderMoreTagLabel:
|
|
90
|
-
} =
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
renderTagLabel: ie,
|
|
90
|
+
renderMoreTagLabel: Fe
|
|
91
|
+
} = po(at, "ComboSelect"), { language: Ke, locale: Ve } = Qt.useContext(fo), $ = v(null), Ae = v(!1);
|
|
92
|
+
N(() => {
|
|
93
|
+
process.env.NODE_ENV !== "production" && Ce !== void 0 && !Ae.current && (Ae.current = !0, console.warn(
|
|
94
|
+
"[ComboSelect] maxCount 已在 v5.x 标记为 @deprecated 且自当前版本起 runtime 完全不生效(原代码 dead field)。请从 props 中移除 maxCount;tag 显示数量由 overLine 控制是否换行。v6.0 将移除该字段。"
|
|
95
|
+
));
|
|
96
|
+
}, [Ce]);
|
|
97
|
+
const [p, me] = x(!1), [g, _] = x([]), B = v(/* @__PURE__ */ new Map()), [i, G] = x([]), [J, Ie] = x(""), U = v(void 0), [O, He] = x(null), [D, Lt] = x(!1), [L, Mt] = x(0), [E, z] = x(!1), ue = v([]), F = v(!1), Q = v(null), We = v({}), qe = lo(
|
|
98
|
+
u,
|
|
99
|
+
xt,
|
|
100
|
+
le,
|
|
101
|
+
M
|
|
102
|
+
), { key: Ot, title: Dt } = qe, K = Ot || "", _e = Dt || "", { outputKey: j = "key", outputTitle: y = "label" } = gt || {}, S = ho("ComboSelect", bo), Be = v(no(u, u === "table" ? le : M)), [de, Et] = x(), h = v({ list: [] }), [w, fe] = x(null), pe = v(null);
|
|
103
|
+
h.current.openMore = E, h.current.list = [...i];
|
|
104
|
+
const zt = () => {
|
|
105
|
+
h.current.openMore && z(!1);
|
|
106
|
+
}, Ge = (e) => {
|
|
95
107
|
if (e === null || e === 0 || (e === void 0 && (e = h.current.list.length), !pe.current)) return;
|
|
96
108
|
const o = pe.current.querySelector(".comboselect-overflow-list");
|
|
97
109
|
if (o)
|
|
98
110
|
if (o.scrollHeight > o.clientHeight) {
|
|
99
111
|
const r = Number(e) - 1;
|
|
100
|
-
fe(r),
|
|
112
|
+
fe(r), Ge(r);
|
|
101
113
|
} else
|
|
102
|
-
h.current.list.length <= e &&
|
|
114
|
+
h.current.list.length <= e && zt();
|
|
103
115
|
}, X = () => {
|
|
104
116
|
if (h.current.list.length === 0) return fe(null);
|
|
105
117
|
clearTimeout(h.current.resizeTimer), h.current.resizeTimer = setTimeout(() => {
|
|
106
|
-
fe(h.current.list.length),
|
|
118
|
+
fe(h.current.list.length), Ge();
|
|
107
119
|
}, 50);
|
|
108
120
|
};
|
|
109
|
-
|
|
121
|
+
N(() => (X(), () => {
|
|
110
122
|
clearTimeout(h.current.resizeTimer);
|
|
111
|
-
}), [
|
|
123
|
+
}), [i]), N(() => (!I && a ? window.addEventListener("resize", X) : window.removeEventListener("resize", X), () => {
|
|
112
124
|
window.removeEventListener("resize", X);
|
|
113
|
-
}), [
|
|
114
|
-
const
|
|
115
|
-
if (!f && !
|
|
125
|
+
}), [I, a]);
|
|
126
|
+
const Ft = (e) => {
|
|
127
|
+
if (!f && !ye) {
|
|
116
128
|
if (F.current) {
|
|
117
129
|
C();
|
|
118
130
|
return;
|
|
@@ -120,77 +132,77 @@ const Bo = (nt) => {
|
|
|
120
132
|
F.current = !0, me(!0);
|
|
121
133
|
}
|
|
122
134
|
}, C = (e, o) => {
|
|
123
|
-
F.current = !1, U.current = void 0,
|
|
124
|
-
},
|
|
125
|
-
|
|
135
|
+
F.current = !1, U.current = void 0, We.current = {}, me(!1), He(null), Ie(""), yt?.(), o === "cancel" && Je();
|
|
136
|
+
}, Je = () => {
|
|
137
|
+
_([]), G([]);
|
|
126
138
|
}, he = (e, o) => {
|
|
127
|
-
|
|
128
|
-
},
|
|
129
|
-
|
|
139
|
+
_(e), Ht(o, e);
|
|
140
|
+
}, Kt = (e) => {
|
|
141
|
+
_((o) => {
|
|
130
142
|
const r = o.findIndex((l) => l === e[j]);
|
|
131
143
|
return r > -1 && o.splice(r, 1), [...o];
|
|
132
144
|
});
|
|
133
|
-
},
|
|
134
|
-
if (e.stopPropagation(), o.closable === !1 ||
|
|
135
|
-
const r = [...
|
|
136
|
-
l > -1 && r.splice(l, 1),
|
|
137
|
-
},
|
|
138
|
-
() =>
|
|
145
|
+
}, Ue = (e, o) => {
|
|
146
|
+
if (e.stopPropagation(), o.closable === !1 || Le?.(o) === !1) return;
|
|
147
|
+
const r = [...i], l = r.findIndex((s) => s[j] === o[j]);
|
|
148
|
+
l > -1 && r.splice(l, 1), G(r), Kt(o), k?.(r);
|
|
149
|
+
}, Vt = T(
|
|
150
|
+
() => co(async (e) => {
|
|
139
151
|
Y(e);
|
|
140
152
|
}, 400),
|
|
141
153
|
[]
|
|
142
|
-
),
|
|
143
|
-
|
|
154
|
+
), At = (e) => {
|
|
155
|
+
Ie(e), wt && Vt(e);
|
|
144
156
|
}, Y = (e) => {
|
|
145
157
|
const o = e ?? J;
|
|
146
|
-
se ? se(o) : (U.current = o?.trim(),
|
|
147
|
-
},
|
|
148
|
-
o ? (
|
|
149
|
-
},
|
|
158
|
+
se ? se(o) : (U.current = o?.trim(), Mt(Math.random())), Be.current && Et([]);
|
|
159
|
+
}, Qe = (e, o) => {
|
|
160
|
+
o ? (Ct?.(i), C(null, "ok")) : (jt?.(), C(null, "cancel"));
|
|
161
|
+
}, Xe = () => {
|
|
150
162
|
let e = "auto";
|
|
151
163
|
$.current && (e = `${$.current.offsetWidth}px`);
|
|
152
|
-
const o =
|
|
153
|
-
return typeof
|
|
164
|
+
const o = io(u, Be.current, ft, pt), r = { minWidth: e, maxWidth: 960 };
|
|
165
|
+
return typeof ae == "number" ? r.width = ae : ae && (r.width = e), {
|
|
154
166
|
overflow: "auto",
|
|
155
167
|
...r,
|
|
156
168
|
...o
|
|
157
169
|
};
|
|
158
|
-
},
|
|
170
|
+
}, It = () => A(
|
|
159
171
|
`${m}-comboselect`,
|
|
160
|
-
|
|
172
|
+
ut,
|
|
161
173
|
{
|
|
162
174
|
[`${m}-comboselect-focused`]: p && !f,
|
|
163
|
-
[`${m}-comboselect-disabled`]:
|
|
164
|
-
[`${m}-comboselect-radioable`]: !
|
|
165
|
-
[`${m}-comboselect-error`]:
|
|
175
|
+
[`${m}-comboselect-disabled`]: ye,
|
|
176
|
+
[`${m}-comboselect-radioable`]: !a,
|
|
177
|
+
[`${m}-comboselect-error`]: Re,
|
|
166
178
|
[`${m}-comboselect-clear`]: D,
|
|
167
179
|
[`${m}-comboselect-non-popup`]: f,
|
|
168
|
-
[`${m}-comboselect-overLine`]:
|
|
180
|
+
[`${m}-comboselect-overLine`]: I
|
|
169
181
|
},
|
|
170
|
-
`${m}-comboselect-${
|
|
171
|
-
),
|
|
182
|
+
`${m}-comboselect-${vt}`
|
|
183
|
+
), Ht = (e, o) => {
|
|
172
184
|
let r = [];
|
|
173
185
|
if (e?.length && (r = e.map((s) => {
|
|
174
186
|
const c = {};
|
|
175
|
-
c[j] = s[K] || "", ze ? c[y] = ze(s) || "" : c[y] = s[
|
|
176
|
-
const n =
|
|
187
|
+
c[j] = s[K] || "", ze ? c[y] = ze(s) || "" : c[y] = s[_e] || "";
|
|
188
|
+
const n = ue.current?.find((d) => d[j] === c[j]);
|
|
177
189
|
return n && (n.disabled !== void 0 && (c.disabled = n.disabled), n.closable !== void 0 && (c.closable = n.closable)), c;
|
|
178
190
|
})), o?.length && e) {
|
|
179
|
-
const s = o.filter((n) => e.findIndex((
|
|
191
|
+
const s = o.filter((n) => e.findIndex((d) => d[K] === n) === -1), c = ue.current?.filter((n) => s?.includes(n[j]));
|
|
180
192
|
c && r.push(...c);
|
|
181
193
|
}
|
|
182
|
-
|
|
183
|
-
const l =
|
|
184
|
-
|
|
185
|
-
},
|
|
194
|
+
G(r);
|
|
195
|
+
const l = mo(e || []);
|
|
196
|
+
a ? k?.(r, l) : k?.(r[0], l[0]);
|
|
197
|
+
}, Ye = (e) => {
|
|
186
198
|
const o = e.map((r) => r[j]);
|
|
187
|
-
|
|
188
|
-
},
|
|
189
|
-
|
|
190
|
-
},
|
|
199
|
+
G(e), _(o), ue.current = e;
|
|
200
|
+
}, Wt = (e, o) => {
|
|
201
|
+
He(o.node);
|
|
202
|
+
}, Ze = () => {
|
|
191
203
|
let e = {};
|
|
192
204
|
if (!f) {
|
|
193
|
-
const { width: o, minWidth: r, maxWidth: l } =
|
|
205
|
+
const { width: o, minWidth: r, maxWidth: l } = Xe();
|
|
194
206
|
e = { width: o, minWidth: r, maxWidth: l };
|
|
195
207
|
}
|
|
196
208
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -199,16 +211,16 @@ const Bo = (nt) => {
|
|
|
199
211
|
className: "comboselect-search",
|
|
200
212
|
style: e,
|
|
201
213
|
children: /* @__PURE__ */ t.jsx(
|
|
202
|
-
|
|
214
|
+
go,
|
|
203
215
|
{
|
|
204
216
|
className: "comboselect-search-input",
|
|
205
217
|
rightIconExist: !0,
|
|
206
218
|
showBtn: !1,
|
|
207
|
-
rightIcon: /* @__PURE__ */ t.jsx(
|
|
219
|
+
rightIcon: /* @__PURE__ */ t.jsx(Zt, {}),
|
|
208
220
|
btnType: "inside",
|
|
209
221
|
value: J,
|
|
210
|
-
onChange:
|
|
211
|
-
placeholder:
|
|
222
|
+
onChange: At,
|
|
223
|
+
placeholder: it ?? S({ id: "searchPlaceholder" }),
|
|
212
224
|
onClickBtn: () => {
|
|
213
225
|
Y();
|
|
214
226
|
},
|
|
@@ -222,49 +234,49 @@ const Bo = (nt) => {
|
|
|
222
234
|
)
|
|
223
235
|
}
|
|
224
236
|
);
|
|
225
|
-
},
|
|
237
|
+
}, et = () => we ? /* @__PURE__ */ t.jsx("div", { className: "comboselect-actions", children: we }) : /* @__PURE__ */ t.jsxs("div", { className: "comboselect-actions", children: [
|
|
226
238
|
/* @__PURE__ */ t.jsx(
|
|
227
|
-
|
|
239
|
+
lt,
|
|
228
240
|
{
|
|
229
|
-
onClick: (e) =>
|
|
241
|
+
onClick: (e) => Qe(e, !1),
|
|
230
242
|
variant: "outlined",
|
|
231
243
|
size: "small",
|
|
232
|
-
children:
|
|
244
|
+
children: S({ id: "cancel" })
|
|
233
245
|
}
|
|
234
246
|
),
|
|
235
247
|
/* @__PURE__ */ t.jsx(
|
|
236
|
-
|
|
248
|
+
lt,
|
|
237
249
|
{
|
|
238
250
|
variant: "outlined",
|
|
239
|
-
onClick: (e) =>
|
|
251
|
+
onClick: (e) => Qe(e, !0),
|
|
240
252
|
size: "small",
|
|
241
|
-
children:
|
|
253
|
+
children: S({ id: "ok" })
|
|
242
254
|
}
|
|
243
255
|
)
|
|
244
|
-
] }),
|
|
245
|
-
/* @__PURE__ */ t.jsx("span", { children:
|
|
246
|
-
O?.[
|
|
247
|
-
] }),
|
|
248
|
-
e.stopPropagation(),
|
|
249
|
-
},
|
|
250
|
-
e.stopPropagation(),
|
|
256
|
+
] }), tt = () => u !== "tree" || !O ? null : $e ? /* @__PURE__ */ t.jsx("div", { className: "comboselect-fullPath", children: $e(O ?? {}) }) : /* @__PURE__ */ t.jsxs("div", { className: "comboselect-fullPath", children: [
|
|
257
|
+
/* @__PURE__ */ t.jsx("span", { children: S({ id: "fullPath" }) }),
|
|
258
|
+
O?.[kt] ?? ""
|
|
259
|
+
] }), qt = (e) => {
|
|
260
|
+
e.stopPropagation(), Je(), C(), z(!1), re?.(), k?.(a ? [] : {});
|
|
261
|
+
}, _t = (e) => {
|
|
262
|
+
e.stopPropagation(), z(!0), C();
|
|
251
263
|
};
|
|
252
|
-
|
|
264
|
+
Xt(Pt, () => ({
|
|
253
265
|
closePopup: () => C()
|
|
254
|
-
})),
|
|
266
|
+
})), N(() => {
|
|
255
267
|
!f && te && (F.current = !0, me(te));
|
|
256
|
-
}, [te]),
|
|
257
|
-
|
|
258
|
-
}, []),
|
|
259
|
-
oe &&
|
|
260
|
-
}, [oe]),
|
|
261
|
-
|
|
262
|
-
}, [
|
|
268
|
+
}, [te]), N(() => {
|
|
269
|
+
Te && Ye(ct(Te));
|
|
270
|
+
}, []), N(() => {
|
|
271
|
+
oe && Ye(ct(oe));
|
|
272
|
+
}, [oe]), N(() => {
|
|
273
|
+
mt && Lt(!!i?.length);
|
|
274
|
+
}, [i]), N(() => {
|
|
263
275
|
const e = (r) => r && r.ownerDocument || document, o = (r) => {
|
|
264
276
|
const l = e($.current), s = r.target, c = !l.documentElement.contains(s) || Q.current?.contains(s) || $.current?.contains(s) || !1;
|
|
265
|
-
if (
|
|
266
|
-
const n = `.${m}-select-popover`,
|
|
267
|
-
if (
|
|
277
|
+
if (u === "table") {
|
|
278
|
+
const n = `.${m}-select-popover`, d = `.${m}-table-show-colums-popover`, b = `.${m}-filter-popover`;
|
|
279
|
+
if (ao(s, `${n}, ${d}, ${b}`)) return;
|
|
268
280
|
}
|
|
269
281
|
F.current && !c && C();
|
|
270
282
|
};
|
|
@@ -279,47 +291,47 @@ const Bo = (nt) => {
|
|
|
279
291
|
};
|
|
280
292
|
}
|
|
281
293
|
}, [p]);
|
|
282
|
-
const
|
|
283
|
-
if (!
|
|
294
|
+
const ot = T(() => {
|
|
295
|
+
if (!i?.length) return null;
|
|
284
296
|
if (q)
|
|
285
|
-
return q(
|
|
286
|
-
if (!
|
|
287
|
-
return /* @__PURE__ */ t.jsx("span", { className: "comboselect-single-content", children: /* @__PURE__ */ t.jsx(
|
|
288
|
-
if (!
|
|
297
|
+
return q(a ? i : i[0]);
|
|
298
|
+
if (!a)
|
|
299
|
+
return /* @__PURE__ */ t.jsx("span", { className: "comboselect-single-content", children: /* @__PURE__ */ t.jsx(ge, { children: i[0]?.[y] }) });
|
|
300
|
+
if (!i.length) return;
|
|
289
301
|
const e = (l) => {
|
|
290
302
|
if (ce) return ce(l);
|
|
291
303
|
const { disabled: s, closable: c = !0 } = l ?? {};
|
|
292
304
|
let n = l[y];
|
|
293
|
-
|
|
294
|
-
let
|
|
305
|
+
ie && (n = ie(l));
|
|
306
|
+
let d = !1;
|
|
295
307
|
if (typeof W == "number" && (typeof n == "string" || typeof n == "number")) {
|
|
296
308
|
const b = String(n);
|
|
297
|
-
b.length > W && (n = `${b.slice(0, W)}...`,
|
|
309
|
+
b.length > W && (n = `${b.slice(0, W)}...`, d = !0);
|
|
298
310
|
}
|
|
299
311
|
return /* @__PURE__ */ t.jsxs(
|
|
300
312
|
"span",
|
|
301
313
|
{
|
|
302
|
-
className:
|
|
314
|
+
className: A("comboselect-item", {
|
|
303
315
|
"comboselect-item--disabled": s,
|
|
304
316
|
"comboselect-item--unclosable": !c
|
|
305
317
|
}),
|
|
306
318
|
children: [
|
|
307
|
-
|
|
308
|
-
|
|
319
|
+
d ? /* @__PURE__ */ t.jsx(
|
|
320
|
+
so,
|
|
309
321
|
{
|
|
310
322
|
title: /* @__PURE__ */ t.jsx("div", { onClick: (b) => b.stopPropagation(), children: l[y] }),
|
|
311
323
|
arrow: !1,
|
|
312
324
|
placement: "bottomLeft",
|
|
313
325
|
children: /* @__PURE__ */ t.jsx("span", { className: "comboselect-item-content", children: n })
|
|
314
326
|
}
|
|
315
|
-
) : /* @__PURE__ */ t.jsx("span", { className: "comboselect-item-content", children: /* @__PURE__ */ t.jsx(
|
|
327
|
+
) : /* @__PURE__ */ t.jsx("span", { className: "comboselect-item-content", children: /* @__PURE__ */ t.jsx(ge, { children: n }) }),
|
|
316
328
|
c === !0 && /* @__PURE__ */ t.jsx(
|
|
317
329
|
"span",
|
|
318
330
|
{
|
|
319
331
|
className: "comboselect-item-remove",
|
|
320
|
-
onClick: (b) =>
|
|
332
|
+
onClick: (b) => Ue(b, l),
|
|
321
333
|
onMouseDown: (b) => b.stopPropagation(),
|
|
322
|
-
children: /* @__PURE__ */ t.jsx(
|
|
334
|
+
children: /* @__PURE__ */ t.jsx(st, {})
|
|
323
335
|
}
|
|
324
336
|
)
|
|
325
337
|
]
|
|
@@ -329,13 +341,13 @@ const Bo = (nt) => {
|
|
|
329
341
|
"span",
|
|
330
342
|
{
|
|
331
343
|
className: "comboselect-item",
|
|
332
|
-
onClick:
|
|
344
|
+
onClick: _t,
|
|
333
345
|
children: /* @__PURE__ */ t.jsxs("span", { className: "comboselect-item-content", children: [
|
|
334
346
|
"+",
|
|
335
347
|
h.current.list.length - w
|
|
336
348
|
] })
|
|
337
349
|
}
|
|
338
|
-
) }) : null, r =
|
|
350
|
+
) }) : null, r = i.map((l, s) => w !== null && w <= s ? null : /* @__PURE__ */ t.jsx(
|
|
339
351
|
"div",
|
|
340
352
|
{
|
|
341
353
|
className: "comboselect-overflow-item",
|
|
@@ -348,166 +360,166 @@ const Bo = (nt) => {
|
|
|
348
360
|
o()
|
|
349
361
|
] });
|
|
350
362
|
}, [
|
|
351
|
-
a,
|
|
352
|
-
T,
|
|
353
363
|
i,
|
|
364
|
+
k,
|
|
365
|
+
a,
|
|
354
366
|
w,
|
|
355
367
|
W,
|
|
356
368
|
y,
|
|
357
369
|
ce,
|
|
358
370
|
q,
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
]), Z =
|
|
362
|
-
let e = R ||
|
|
363
|
-
return H && !se && U.current !== void 0 && (e = { ...e, searchKey: U.current }),
|
|
364
|
-
}, [R, L,
|
|
365
|
-
if (!f && !p ||
|
|
371
|
+
ie,
|
|
372
|
+
I
|
|
373
|
+
]), Z = T(() => {
|
|
374
|
+
let e = R || We.current;
|
|
375
|
+
return H && !se && U.current !== void 0 && (e = { ...e, searchKey: U.current }), Tt?.(e) || e;
|
|
376
|
+
}, [R, L, P, p]), be = T(() => {
|
|
377
|
+
if (!f && !p || u !== "table") return null;
|
|
366
378
|
const e = {
|
|
367
|
-
url:
|
|
368
|
-
ctx:
|
|
379
|
+
url: ke,
|
|
380
|
+
ctx: Pe,
|
|
369
381
|
search: Z,
|
|
370
|
-
method:
|
|
382
|
+
method: Se
|
|
371
383
|
}, o = (r, l) => {
|
|
372
|
-
!
|
|
384
|
+
!a && (C(), g.includes(r)) || he([r], [l]);
|
|
373
385
|
};
|
|
374
386
|
return /* @__PURE__ */ t.jsx("div", { className: "comboselect-table", children: /* @__PURE__ */ t.jsx(
|
|
375
|
-
|
|
387
|
+
to,
|
|
376
388
|
{
|
|
377
389
|
...e,
|
|
378
390
|
...le,
|
|
379
|
-
emptyProps:
|
|
380
|
-
check:
|
|
381
|
-
radio: !
|
|
391
|
+
emptyProps: De,
|
|
392
|
+
check: a,
|
|
393
|
+
radio: !a,
|
|
382
394
|
rowKey: K,
|
|
383
395
|
setCheck: he,
|
|
384
396
|
setRadio: o,
|
|
385
|
-
checkDefaultValue:
|
|
386
|
-
radioDefaultValue:
|
|
387
|
-
refresh:
|
|
397
|
+
checkDefaultValue: g,
|
|
398
|
+
radioDefaultValue: g[0],
|
|
399
|
+
refresh: P ?? L,
|
|
388
400
|
autoSize: !1,
|
|
389
401
|
refreshInside: !1,
|
|
390
402
|
checkCount: !1,
|
|
391
403
|
paginationType: "simple"
|
|
392
404
|
}
|
|
393
405
|
) });
|
|
394
|
-
}, [
|
|
395
|
-
if (!f && !p || !["tree", "list"].includes(
|
|
406
|
+
}, [g, P, R, L, f, p, Z, K, a]), ve = T(() => {
|
|
407
|
+
if (!f && !p || !["tree", "list"].includes(u)) return null;
|
|
396
408
|
const e = {
|
|
397
|
-
url:
|
|
398
|
-
ctx:
|
|
409
|
+
url: ke,
|
|
410
|
+
ctx: Pe,
|
|
399
411
|
params: Z,
|
|
400
|
-
method:
|
|
412
|
+
method: Se
|
|
401
413
|
}, o = (s, c) => {
|
|
402
414
|
if (!c.checked) {
|
|
403
|
-
const
|
|
404
|
-
if (
|
|
415
|
+
const d = {};
|
|
416
|
+
if (d[j] = c.node[K] || "", d[y] = c.node[_e] || "", Le?.(d) === !1)
|
|
405
417
|
return;
|
|
406
418
|
}
|
|
407
|
-
if (!
|
|
419
|
+
if (!a && (C(), !Rt && g.includes(c.node?.key)))
|
|
408
420
|
return;
|
|
409
421
|
let n = c.checkedNodes;
|
|
410
|
-
if (
|
|
411
|
-
const
|
|
412
|
-
Array.from(
|
|
413
|
-
s.includes(
|
|
414
|
-
}), s.forEach((
|
|
415
|
-
const
|
|
416
|
-
|
|
417
|
-
}), n = Array.from(
|
|
422
|
+
if (a || s?.length && (n = [c.node]), a) {
|
|
423
|
+
const d = uo("key", n);
|
|
424
|
+
Array.from(B.current.keys()).forEach((V) => {
|
|
425
|
+
s.includes(V) || B.current.delete(V);
|
|
426
|
+
}), s.forEach((V) => {
|
|
427
|
+
const xe = String(V);
|
|
428
|
+
d[xe] && B.current.set(xe, d[xe]);
|
|
429
|
+
}), n = Array.from(B.current.values());
|
|
418
430
|
}
|
|
419
431
|
he(s, n);
|
|
420
|
-
}, r = (s) => M?.titleRender ? M.titleRender(s) :
|
|
421
|
-
"comboselect-list":
|
|
422
|
-
"comboselect-list-single":
|
|
432
|
+
}, r = (s) => M?.titleRender ? M.titleRender(s) : Ee ? Ee(s) : s.title, l = A("comboselect-tree", {
|
|
433
|
+
"comboselect-list": u === "list",
|
|
434
|
+
"comboselect-list-single": u === "list" && !a
|
|
423
435
|
});
|
|
424
436
|
return /* @__PURE__ */ t.jsx("div", { className: l, children: /* @__PURE__ */ t.jsx(
|
|
425
|
-
|
|
437
|
+
oo,
|
|
426
438
|
{
|
|
427
439
|
blockNode: !0,
|
|
428
440
|
...e,
|
|
429
441
|
...M,
|
|
430
442
|
wrapperStyle: { position: "static" },
|
|
431
|
-
emptyProps: { size: "small", ...
|
|
432
|
-
replaceFields:
|
|
433
|
-
checkable:
|
|
434
|
-
radioable: !
|
|
443
|
+
emptyProps: { size: "small", ...De },
|
|
444
|
+
replaceFields: qe,
|
|
445
|
+
checkable: a,
|
|
446
|
+
radioable: !a,
|
|
435
447
|
showRadio: !1,
|
|
436
|
-
selectable:
|
|
437
|
-
loadedKeys:
|
|
438
|
-
checkedKeys:
|
|
448
|
+
selectable: u !== "list",
|
|
449
|
+
loadedKeys: de,
|
|
450
|
+
checkedKeys: g,
|
|
439
451
|
onCheck: o,
|
|
440
|
-
onSelect:
|
|
452
|
+
onSelect: Wt,
|
|
441
453
|
titleRender: r,
|
|
442
|
-
refresh:
|
|
454
|
+
refresh: P ?? L,
|
|
443
455
|
loadingNode: /* @__PURE__ */ t.jsxs("div", { className: "loading-node-content", children: [
|
|
444
|
-
/* @__PURE__ */ t.jsx("div", { className: "loading-icon", children: /* @__PURE__ */ t.jsx(
|
|
445
|
-
|
|
456
|
+
/* @__PURE__ */ t.jsx("div", { className: "loading-icon", children: /* @__PURE__ */ t.jsx(jo, {}) }),
|
|
457
|
+
S({ id: "searching" })
|
|
446
458
|
] })
|
|
447
459
|
}
|
|
448
460
|
) });
|
|
449
|
-
}, [
|
|
461
|
+
}, [g, P, R, L, f, p, de, u, Z, a]), ee = T(() => /* @__PURE__ */ t.jsxs(
|
|
450
462
|
"div",
|
|
451
463
|
{
|
|
452
464
|
className: "comboselect-wrapper",
|
|
453
465
|
ref: $,
|
|
454
|
-
onClick:
|
|
466
|
+
onClick: Ft,
|
|
455
467
|
children: [
|
|
456
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
457
|
-
!f && /* @__PURE__ */ t.jsx("span", { className: "comboselect-arrow", children: /* @__PURE__ */ t.jsx(
|
|
468
|
+
/* @__PURE__ */ t.jsx("div", { className: A("comboselect-overflow", !a && "comboselect-overflow-single"), children: ot }),
|
|
469
|
+
!f && /* @__PURE__ */ t.jsx("span", { className: "comboselect-arrow", children: /* @__PURE__ */ t.jsx(Yt, {}) }),
|
|
458
470
|
D && /* @__PURE__ */ t.jsx(
|
|
459
471
|
"span",
|
|
460
472
|
{
|
|
461
473
|
className: "comboselect-clear",
|
|
462
|
-
onClick:
|
|
463
|
-
children: /* @__PURE__ */ t.jsx(
|
|
474
|
+
onClick: qt,
|
|
475
|
+
children: /* @__PURE__ */ t.jsx(eo, {})
|
|
464
476
|
}
|
|
465
477
|
),
|
|
466
|
-
!
|
|
478
|
+
!i?.length && /* @__PURE__ */ t.jsx("span", { className: "comboselect-placeholder", children: je ?? S({ id: "pleaseSelect" }) })
|
|
467
479
|
]
|
|
468
480
|
}
|
|
469
|
-
), [
|
|
470
|
-
|
|
481
|
+
), [i, ot, a, D, f, je]), Bt = () => Me || Oe ? /* @__PURE__ */ t.jsx(
|
|
482
|
+
vo,
|
|
471
483
|
{
|
|
472
|
-
label:
|
|
473
|
-
required:
|
|
474
|
-
...
|
|
484
|
+
label: Me,
|
|
485
|
+
required: Oe,
|
|
486
|
+
...St
|
|
475
487
|
}
|
|
476
|
-
) : null,
|
|
488
|
+
) : null, Gt = () => /* @__PURE__ */ t.jsx(
|
|
477
489
|
"div",
|
|
478
490
|
{
|
|
479
491
|
ref: Q,
|
|
480
|
-
className: `comboselect-dropdown-wrapper ${H ? "show-search" : ""} mode-${
|
|
492
|
+
className: `comboselect-dropdown-wrapper ${H ? "show-search" : ""} mode-${u}`,
|
|
481
493
|
children: /* @__PURE__ */ t.jsxs(
|
|
482
494
|
"div",
|
|
483
495
|
{
|
|
484
|
-
style:
|
|
496
|
+
style: Xe(),
|
|
485
497
|
className: `${m}-scrollbar-small dropdown-content`,
|
|
486
498
|
children: [
|
|
487
|
-
H &&
|
|
488
|
-
|
|
489
|
-
p &&
|
|
490
|
-
|
|
499
|
+
H && Ze(),
|
|
500
|
+
u === "table" ? be : ve,
|
|
501
|
+
p && tt(),
|
|
502
|
+
Ne && et()
|
|
491
503
|
]
|
|
492
504
|
}
|
|
493
505
|
)
|
|
494
506
|
}
|
|
495
|
-
),
|
|
496
|
-
const e = () =>
|
|
507
|
+
), rt = () => {
|
|
508
|
+
const e = () => i.map((o, r) => {
|
|
497
509
|
if (w !== null && w > r) return null;
|
|
498
510
|
let l = o[y];
|
|
499
|
-
return
|
|
511
|
+
return Fe && (l = Fe(o)), /* @__PURE__ */ t.jsxs(
|
|
500
512
|
"div",
|
|
501
513
|
{
|
|
502
514
|
className: "comboselect-more-item",
|
|
503
515
|
children: [
|
|
504
|
-
/* @__PURE__ */ t.jsx("span", { className: "comboselect-more-item-text", children: /* @__PURE__ */ t.jsx(
|
|
516
|
+
/* @__PURE__ */ t.jsx("span", { className: "comboselect-more-item-text", children: /* @__PURE__ */ t.jsx(ge, { children: l }) }),
|
|
505
517
|
/* @__PURE__ */ t.jsx(
|
|
506
518
|
"span",
|
|
507
519
|
{
|
|
508
520
|
className: "comboselect-more-item-remove",
|
|
509
|
-
onClick: (s) =>
|
|
510
|
-
children: /* @__PURE__ */ t.jsx(
|
|
521
|
+
onClick: (s) => Ue(s, o),
|
|
522
|
+
children: /* @__PURE__ */ t.jsx(st, {})
|
|
511
523
|
}
|
|
512
524
|
)
|
|
513
525
|
]
|
|
@@ -516,26 +528,26 @@ const Bo = (nt) => {
|
|
|
516
528
|
);
|
|
517
529
|
});
|
|
518
530
|
return /* @__PURE__ */ t.jsxs("div", { className: "comboselect-more-wrapper", children: [
|
|
519
|
-
/* @__PURE__ */ t.jsx("span", { className: "comboselect-more-title", children: /* @__PURE__ */ t.jsx("span", { children:
|
|
531
|
+
/* @__PURE__ */ t.jsx("span", { className: "comboselect-more-title", children: /* @__PURE__ */ t.jsx("span", { children: S({ id: "more" }) }) }),
|
|
520
532
|
/* @__PURE__ */ t.jsx("div", { className: "comboselect-more-content", children: e() })
|
|
521
533
|
] });
|
|
522
|
-
},
|
|
523
|
-
|
|
534
|
+
}, Jt = T(() => /* @__PURE__ */ t.jsx(
|
|
535
|
+
ro,
|
|
524
536
|
{
|
|
525
|
-
overlay:
|
|
537
|
+
overlay: Gt(),
|
|
526
538
|
visible: p,
|
|
527
|
-
placement:
|
|
539
|
+
placement: ht,
|
|
528
540
|
trigger: ["click"],
|
|
529
|
-
overlayClassName:
|
|
530
|
-
getPopupContainer:
|
|
541
|
+
overlayClassName: A(`${m}-comboselect-dropdown`, bt),
|
|
542
|
+
getPopupContainer: $t,
|
|
531
543
|
children: /* @__PURE__ */ t.jsx(
|
|
532
|
-
|
|
544
|
+
nt,
|
|
533
545
|
{
|
|
534
|
-
visible:
|
|
546
|
+
visible: E,
|
|
535
547
|
destroyTooltipOnHide: !0,
|
|
536
548
|
placement: "rightTop",
|
|
537
|
-
content:
|
|
538
|
-
onVisibleChange: () =>
|
|
549
|
+
content: rt(),
|
|
550
|
+
onVisibleChange: () => z(!1),
|
|
539
551
|
overlayClassName: `${m}-comboselect-more-popover`,
|
|
540
552
|
children: ee
|
|
541
553
|
}
|
|
@@ -543,74 +555,74 @@ const Bo = (nt) => {
|
|
|
543
555
|
}
|
|
544
556
|
), [
|
|
545
557
|
p,
|
|
546
|
-
|
|
558
|
+
g,
|
|
547
559
|
J,
|
|
548
|
-
|
|
560
|
+
P,
|
|
549
561
|
R,
|
|
550
562
|
O,
|
|
551
563
|
L,
|
|
552
564
|
D,
|
|
553
565
|
ne,
|
|
554
|
-
Fe,
|
|
555
566
|
Ke,
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
567
|
+
Ve,
|
|
568
|
+
E,
|
|
569
|
+
de,
|
|
570
|
+
k,
|
|
559
571
|
re,
|
|
560
572
|
ee,
|
|
561
|
-
|
|
562
|
-
]),
|
|
573
|
+
i
|
|
574
|
+
]), Ut = T(() => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
563
575
|
/* @__PURE__ */ t.jsx(
|
|
564
|
-
|
|
576
|
+
nt,
|
|
565
577
|
{
|
|
566
|
-
visible:
|
|
578
|
+
visible: E,
|
|
567
579
|
destroyTooltipOnHide: !0,
|
|
568
580
|
placement: "rightTop",
|
|
569
|
-
content:
|
|
570
|
-
onVisibleChange: () =>
|
|
581
|
+
content: rt(),
|
|
582
|
+
onVisibleChange: () => z(!1),
|
|
571
583
|
overlayClassName: `${m}-comboselect-more-popover`,
|
|
572
584
|
children: ee
|
|
573
585
|
}
|
|
574
586
|
),
|
|
575
587
|
/* @__PURE__ */ t.jsxs("div", { className: "comboselect-non-popup-content", children: [
|
|
576
|
-
H &&
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
588
|
+
H && Ze(),
|
|
589
|
+
u === "table" ? be : ve,
|
|
590
|
+
tt(),
|
|
591
|
+
Ne && et()
|
|
580
592
|
] })
|
|
581
593
|
] }), [
|
|
582
|
-
|
|
594
|
+
g,
|
|
583
595
|
J,
|
|
584
|
-
|
|
596
|
+
P,
|
|
585
597
|
R,
|
|
586
598
|
O,
|
|
587
599
|
D,
|
|
588
600
|
ne,
|
|
589
|
-
Fe,
|
|
590
601
|
Ke,
|
|
591
|
-
|
|
602
|
+
Ve,
|
|
603
|
+
k,
|
|
592
604
|
re,
|
|
593
605
|
be,
|
|
594
606
|
ve,
|
|
595
607
|
ee,
|
|
596
|
-
|
|
597
|
-
|
|
608
|
+
E,
|
|
609
|
+
i
|
|
598
610
|
]);
|
|
599
611
|
return /* @__PURE__ */ t.jsxs(
|
|
600
612
|
"div",
|
|
601
613
|
{
|
|
602
|
-
className:
|
|
603
|
-
style:
|
|
614
|
+
className: It(),
|
|
615
|
+
style: dt,
|
|
604
616
|
ref: pe,
|
|
605
617
|
children: [
|
|
606
|
-
|
|
607
|
-
f ?
|
|
618
|
+
Bt(),
|
|
619
|
+
f ? Ut : Jt,
|
|
608
620
|
f ? null : /* @__PURE__ */ t.jsx(
|
|
609
|
-
|
|
621
|
+
xo,
|
|
610
622
|
{
|
|
611
|
-
error:
|
|
623
|
+
error: Re,
|
|
612
624
|
helperText: ne,
|
|
613
|
-
hideErrorDom:
|
|
625
|
+
hideErrorDom: Nt
|
|
614
626
|
}
|
|
615
627
|
)
|
|
616
628
|
]
|
|
@@ -618,7 +630,7 @@ const Bo = (nt) => {
|
|
|
618
630
|
);
|
|
619
631
|
};
|
|
620
632
|
export {
|
|
621
|
-
|
|
622
|
-
|
|
633
|
+
Uo as ComboSelect,
|
|
634
|
+
Uo as default
|
|
623
635
|
};
|
|
624
636
|
//# sourceMappingURL=index.js.map
|