@koi-design/uxd-ui 13.2.6 → 13.2.8
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/es/components/Affix/index.d.ts +1 -1
- package/es/components/Alert/Alert.vue.d.ts +1 -1
- package/es/components/Alert/index.d.ts +3 -3
- package/es/components/Anchor/index.d.ts +1 -1
- package/es/components/AutoComplete/AutoComplete.vue.d.ts +10 -10
- package/es/components/AutoComplete/index.d.ts +25 -25
- package/es/components/Avatar/Avatar.vue.d.ts +1 -1
- package/es/components/Avatar/index.d.ts +3 -3
- package/es/components/BackTop/BackTop.vue.d.ts +1 -1
- package/es/components/BackTop/index.d.ts +3 -3
- package/es/components/Badge/index.d.ts +1 -1
- package/es/components/Breadcrumb/index.d.ts +1 -1
- package/es/components/Button/Button.vue.d.ts +1 -1
- package/es/components/Button/index.d.ts +3 -3
- package/es/components/Calendar/Calendar.vue.d.ts +5 -5
- package/es/components/Calendar/Header.vue.d.ts +5 -5
- package/es/components/Calendar/index.d.ts +11 -11
- package/es/components/Card/Card.d.ts +1 -1
- package/es/components/Card/CardMeta.vue.d.ts +3 -3
- package/es/components/Card/index.d.ts +6 -6
- package/es/components/Carousel/Carousel.vue.d.ts +1 -1
- package/es/components/Carousel/index.d.ts +3 -3
- package/es/components/Cascader/Cascader.d.ts +1 -1
- package/es/components/Cascader/index.d.ts +1 -1
- package/es/components/Checkbox/Checkbox.vue.d.ts +1 -1
- package/es/components/Checkbox/CheckboxGroup.mjs +1 -4
- package/es/components/Checkbox/CheckboxGroup.mjs.map +1 -1
- package/es/components/Checkbox/CheckboxGroup.vue.d.ts +2 -2
- package/es/components/Checkbox/index.d.ts +5 -5
- package/es/components/Collapse/Panel.vue.d.ts +1 -1
- package/es/components/Collapse/index.d.ts +2 -2
- package/es/components/ColorPicker/ColorPicker.vue.d.ts +7 -7
- package/es/components/ColorPicker/index.d.ts +15 -15
- package/es/components/Comment/index.d.ts +1 -1
- package/es/components/ConfigProvider/index.d.ts +1 -1
- package/es/components/DatePicker/DatePicker.vue.d.ts +18 -18
- package/es/components/DatePicker/Panel/DatePanel/DatePanel.vue.d.ts +2 -2
- package/es/components/DatePicker/Panel/DatePanel/DatePanelHeader.vue.d.ts +1 -1
- package/es/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +8 -8
- package/es/components/DatePicker/Panel/DateRangePanel.vue.d.ts +8 -8
- package/es/components/DatePicker/Panel/MonthPanel/MonthPanel.vue.d.ts +1 -1
- package/es/components/DatePicker/Panel/MonthPanel/MonthPanelHeader.vue.d.ts +1 -1
- package/es/components/DatePicker/Panel/QuarterPanel/QuarterPanel.vue.d.ts +1 -1
- package/es/components/DatePicker/Panel/QuarterPanel/QuarterPanelHeader.vue.d.ts +1 -1
- package/es/components/DatePicker/Panel/RangePart.vue.d.ts +5 -5
- package/es/components/DatePicker/Panel/YearPanel/YearPanel.vue.d.ts +1 -1
- package/es/components/DatePicker/Panel/YearPanel/YearPanelHeader.vue.d.ts +1 -1
- package/es/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +1 -1
- package/es/components/DatePicker/index.d.ts +37 -37
- package/es/components/Divider/index.d.ts +1 -1
- package/es/components/Drawer/index.d.ts +1 -1
- package/es/components/Dropdown/index.d.ts +1 -1
- package/es/components/Empty/index.d.ts +1 -1
- package/es/components/Form/index.d.ts +1 -1
- package/es/components/Grid/index.d.ts +1 -1
- package/es/components/Icon/index.d.ts +1 -1
- package/es/components/Image/Image.vue.d.ts +1 -1
- package/es/components/Image/ImgViewer.vue.d.ts +1 -1
- package/es/components/Image/index.d.ts +4 -4
- package/es/components/InfoView/index.d.ts +1 -1
- package/es/components/Input/Input.d.ts +1 -1
- package/es/components/Input/index.d.ts +3 -3
- package/es/components/InputNumber/index.d.ts +1 -1
- package/es/components/Layout/Sider.vue.d.ts +1 -1
- package/es/components/Layout/index.d.ts +2 -2
- package/es/components/Link/Link.vue.d.ts +1 -1
- package/es/components/Link/index.d.ts +3 -3
- package/es/components/List/List.vue.d.ts +2 -2
- package/es/components/List/ListItemMeta.vue.d.ts +3 -3
- package/es/components/List/index.d.ts +8 -8
- package/es/components/LoadingBar/index.d.ts +1 -1
- package/es/components/Mask/index.d.ts +1 -1
- package/es/components/Menu/MenuItem.vue.d.ts +1 -1
- package/es/components/Menu/SubMenu.vue.d.ts +1 -1
- package/es/components/Menu/index.d.ts +3 -3
- package/es/components/Message/index.d.ts +1 -1
- package/es/components/Modal/ConfirmDialog.vue.d.ts +8 -8
- package/es/components/Modal/Modal.vue.d.ts +4 -4
- package/es/components/Modal/index.d.ts +9 -9
- package/es/components/Notice/index.d.ts +1 -1
- package/es/components/Notification/Notice.vue.d.ts +1 -1
- package/es/components/Notification/Notification.vue.d.ts +1 -1
- package/es/components/PageHeader/PageHeader.vue.d.ts +2 -2
- package/es/components/PageHeader/index.d.ts +5 -5
- package/es/components/Pagination/Pager.vue.d.ts +1 -1
- package/es/components/Pagination/Pagination.d.ts +2 -2
- package/es/components/Pagination/index.d.ts +5 -5
- package/es/components/PopConfirm/PopConfirm.vue.d.ts +5 -5
- package/es/components/PopConfirm/index.d.ts +11 -11
- package/es/components/Popover/index.d.ts +1 -1
- package/es/components/Progress/Circle.d.ts +1 -1
- package/es/components/Progress/Line.vue.d.ts +1 -1
- package/es/components/Progress/Progress.vue.d.ts +2 -2
- package/es/components/Progress/index.d.ts +5 -5
- package/es/components/Radio/index.d.ts +1 -1
- package/es/components/Rate/Rate.vue.d.ts +2 -2
- package/es/components/Rate/Star.vue.d.ts +1 -1
- package/es/components/Rate/index.d.ts +5 -5
- package/es/components/Result/Result.vue.d.ts +1 -1
- package/es/components/Result/index.d.ts +3 -3
- package/es/components/Scrollbar/index.d.ts +1 -1
- package/es/components/Select/DropdownMenu.mjs +2 -1
- package/es/components/Select/DropdownMenu.mjs.map +1 -1
- package/es/components/Select/DropdownMenu.vue.d.ts +2 -2
- package/es/components/Select/RefSelect.mjs +3 -0
- package/es/components/Select/RefSelect.mjs.map +1 -1
- package/es/components/Select/RefSelect.vue.d.ts +67 -1015
- package/es/components/Select/Select.d.ts +4 -4
- package/es/components/Select/Select.type.d.ts +1 -1
- package/es/components/Select/Select.type.mjs +1 -1
- package/es/components/Select/Select.type.mjs.map +1 -1
- package/es/components/Select/Selection/Multiple.mjs +2 -3
- package/es/components/Select/Selection/Multiple.mjs.map +1 -1
- package/es/components/Select/Selection/Multiple.vue.d.ts +4 -4
- package/es/components/Select/Selection/Multiple.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/Select/Selection/Multiple.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/Select/Selection/MultipleBase.d.ts +253 -0
- package/es/components/Select/Selection/MultipleBase.mjs +306 -0
- package/es/components/Select/Selection/MultipleBase.mjs.map +1 -0
- package/es/components/Select/Selection/Selection.mjs +90 -67
- package/es/components/Select/Selection/Selection.mjs.map +1 -1
- package/es/components/Select/Selection/Selection.vue.d.ts +57 -1005
- package/es/components/Select/hooks/useMultipleBase.d.ts +34 -0
- package/es/components/Select/hooks/useMultipleBase.mjs +211 -0
- package/es/components/Select/hooks/useMultipleBase.mjs.map +1 -0
- package/es/components/Select/index.d.ts +4 -4
- package/es/components/Skeleton/index.d.ts +1 -1
- package/es/components/Slider/index.d.ts +1 -1
- package/es/components/Space/index.d.ts +1 -1
- package/es/components/Spin/index.d.ts +1 -1
- package/es/components/Statistic/Statistic.vue.d.ts +2 -2
- package/es/components/Statistic/index.d.ts +5 -5
- package/es/components/Steps/Step.vue.d.ts +1 -1
- package/es/components/Steps/index.d.ts +2 -2
- package/es/components/Switch/index.d.ts +1 -1
- package/es/components/Table/BaseTable.vue.d.ts +18 -18
- package/es/components/Table/BodyTable.vue.d.ts +18 -18
- package/es/components/Table/HeadTable.vue.d.ts +18 -18
- package/es/components/Table/Table.vue.d.ts +42 -42
- package/es/components/Table/TableBox.vue.d.ts +36 -36
- package/es/components/Table/tableUnits/DraggableIcon.vue.d.ts +1 -1
- package/es/components/Table/tableUnits/ExpandIcon.vue.d.ts +1 -1
- package/es/components/Table/tableUnits/ExpandRows.vue.d.ts +3 -3
- package/es/components/Table/tableUnits/FilterDropdown.vue.d.ts +11 -11
- package/es/components/Table/tableUnits/SelectionBox.vue.d.ts +6 -6
- package/es/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +11 -11
- package/es/components/Table/tableUnits/TableBody.vue.d.ts +6 -6
- package/es/components/Table/tableUnits/TableCell.vue.d.ts +3 -3
- package/es/components/Table/tableUnits/TableHeader.vue.d.ts +12 -12
- package/es/components/Table/tableUnits/TableHeaderRow.mjs +1 -1
- package/es/components/Table/tableUnits/TableHeaderRow.mjs.map +1 -1
- package/es/components/Table/tableUnits/TableHeaderRow.vue.d.ts +12 -12
- package/es/components/Table/tableUnits/TableRow.vue.d.ts +3 -3
- package/es/components/Table/tableUnits/TableSummaryRow.mjs +2 -3
- package/es/components/Table/tableUnits/TableSummaryRow.mjs.map +1 -1
- package/es/components/Tabs/TabNav.vue.d.ts +1 -1
- package/es/components/Tabs/Tabs.d.ts +1 -1
- package/es/components/Tabs/index.d.ts +4 -4
- package/es/components/Tag/Tag.vue.d.ts +1 -1
- package/es/components/Tag/index.d.ts +3 -3
- package/es/components/Text/index.d.ts +1 -1
- package/es/components/ThemePanel/ThemePanel.vue.d.ts +4 -4
- package/es/components/ThemePanel/index.d.ts +9 -9
- package/es/components/TimePicker/Panel/SelectList.vue.d.ts +1 -1
- package/es/components/TimePicker/Panel/TimePanel.vue.d.ts +1 -1
- package/es/components/TimePicker/Panel/TimeRangePane.vue.d.ts +1 -1
- package/es/components/TimePicker/TimePicker.vue.d.ts +4 -4
- package/es/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +1 -1
- package/es/components/TimePicker/index.d.ts +9 -9
- package/es/components/Timeline/index.d.ts +1 -1
- package/es/components/Toggle/index.d.ts +1 -1
- package/es/components/Tooltip/index.d.ts +1 -1
- package/es/components/Transfer/Operation.vue.d.ts +3 -3
- package/es/components/Transfer/Transfer.vue.d.ts +42 -42
- package/es/components/Transfer/TransferList.vue.d.ts +13 -13
- package/es/components/Transfer/TransferListItem.vue.d.ts +5 -5
- package/es/components/Transfer/index.d.ts +111 -111
- package/es/components/Tree/SubTree.vue.d.ts +6 -6
- package/es/components/Tree/Tree.vue.d.ts +6 -6
- package/es/components/Tree/TreeNode.vue.d.ts +6 -6
- package/es/components/Tree/index.d.ts +13 -13
- package/es/components/TreeSelect/TreeSelect.vue.d.ts +71 -1019
- package/es/components/TreeSelect/index.d.ts +1118 -3014
- package/es/components/Upload/UploadList.vue.d.ts +6 -6
- package/es/components/Upload/index.d.ts +1 -1
- package/es/components/VirtualList/index.d.ts +1 -1
- package/es/components/base/ResizeObserver.mjs +1 -1
- package/es/components/base/ResizeObserver.mjs.map +1 -1
- package/es/utils/install.d.ts +2 -2
- package/lib/components/Affix/index.d.ts +1 -1
- package/lib/components/Alert/Alert.vue.d.ts +1 -1
- package/lib/components/Alert/index.d.ts +3 -3
- package/lib/components/Anchor/index.d.ts +1 -1
- package/lib/components/AutoComplete/AutoComplete.vue.d.ts +10 -10
- package/lib/components/AutoComplete/index.d.ts +25 -25
- package/lib/components/Avatar/Avatar.vue.d.ts +1 -1
- package/lib/components/Avatar/index.d.ts +3 -3
- package/lib/components/BackTop/BackTop.vue.d.ts +1 -1
- package/lib/components/BackTop/index.d.ts +3 -3
- package/lib/components/Badge/index.d.ts +1 -1
- package/lib/components/Breadcrumb/index.d.ts +1 -1
- package/lib/components/Button/Button.vue.d.ts +1 -1
- package/lib/components/Button/index.d.ts +3 -3
- package/lib/components/Calendar/Calendar.vue.d.ts +5 -5
- package/lib/components/Calendar/Header.vue.d.ts +5 -5
- package/lib/components/Calendar/index.d.ts +11 -11
- package/lib/components/Card/Card.d.ts +1 -1
- package/lib/components/Card/CardMeta.vue.d.ts +3 -3
- package/lib/components/Card/index.d.ts +6 -6
- package/lib/components/Carousel/Carousel.vue.d.ts +1 -1
- package/lib/components/Carousel/index.d.ts +3 -3
- package/lib/components/Cascader/Cascader.d.ts +1 -1
- package/lib/components/Cascader/index.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.vue.d.ts +1 -1
- package/lib/components/Checkbox/CheckboxGroup.js +1 -4
- package/lib/components/Checkbox/CheckboxGroup.js.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.vue.d.ts +2 -2
- package/lib/components/Checkbox/index.d.ts +5 -5
- package/lib/components/Collapse/Panel.vue.d.ts +1 -1
- package/lib/components/Collapse/index.d.ts +2 -2
- package/lib/components/ColorPicker/ColorPicker.vue.d.ts +7 -7
- package/lib/components/ColorPicker/index.d.ts +15 -15
- package/lib/components/Comment/index.d.ts +1 -1
- package/lib/components/ConfigProvider/index.d.ts +1 -1
- package/lib/components/DatePicker/DatePicker.vue.d.ts +18 -18
- package/lib/components/DatePicker/Panel/DatePanel/DatePanel.vue.d.ts +2 -2
- package/lib/components/DatePicker/Panel/DatePanel/DatePanelHeader.vue.d.ts +1 -1
- package/lib/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +8 -8
- package/lib/components/DatePicker/Panel/DateRangePanel.vue.d.ts +8 -8
- package/lib/components/DatePicker/Panel/MonthPanel/MonthPanel.vue.d.ts +1 -1
- package/lib/components/DatePicker/Panel/MonthPanel/MonthPanelHeader.vue.d.ts +1 -1
- package/lib/components/DatePicker/Panel/QuarterPanel/QuarterPanel.vue.d.ts +1 -1
- package/lib/components/DatePicker/Panel/QuarterPanel/QuarterPanelHeader.vue.d.ts +1 -1
- package/lib/components/DatePicker/Panel/RangePart.vue.d.ts +5 -5
- package/lib/components/DatePicker/Panel/YearPanel/YearPanel.vue.d.ts +1 -1
- package/lib/components/DatePicker/Panel/YearPanel/YearPanelHeader.vue.d.ts +1 -1
- package/lib/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +1 -1
- package/lib/components/DatePicker/index.d.ts +37 -37
- package/lib/components/Divider/index.d.ts +1 -1
- package/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/Dropdown/index.d.ts +1 -1
- package/lib/components/Empty/index.d.ts +1 -1
- package/lib/components/Form/index.d.ts +1 -1
- package/lib/components/Grid/index.d.ts +1 -1
- package/lib/components/Icon/index.d.ts +1 -1
- package/lib/components/Image/Image.vue.d.ts +1 -1
- package/lib/components/Image/ImgViewer.vue.d.ts +1 -1
- package/lib/components/Image/index.d.ts +4 -4
- package/lib/components/InfoView/index.d.ts +1 -1
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/Input/index.d.ts +3 -3
- package/lib/components/InputNumber/index.d.ts +1 -1
- package/lib/components/Layout/Sider.vue.d.ts +1 -1
- package/lib/components/Layout/index.d.ts +2 -2
- package/lib/components/Link/Link.vue.d.ts +1 -1
- package/lib/components/Link/index.d.ts +3 -3
- package/lib/components/List/List.vue.d.ts +2 -2
- package/lib/components/List/ListItemMeta.vue.d.ts +3 -3
- package/lib/components/List/index.d.ts +8 -8
- package/lib/components/LoadingBar/index.d.ts +1 -1
- package/lib/components/Mask/index.d.ts +1 -1
- package/lib/components/Menu/MenuItem.vue.d.ts +1 -1
- package/lib/components/Menu/SubMenu.vue.d.ts +1 -1
- package/lib/components/Menu/index.d.ts +3 -3
- package/lib/components/Message/index.d.ts +1 -1
- package/lib/components/Modal/ConfirmDialog.vue.d.ts +8 -8
- package/lib/components/Modal/Modal.vue.d.ts +4 -4
- package/lib/components/Modal/index.d.ts +9 -9
- package/lib/components/Notice/index.d.ts +1 -1
- package/lib/components/Notification/Notice.vue.d.ts +1 -1
- package/lib/components/Notification/Notification.vue.d.ts +1 -1
- package/lib/components/PageHeader/PageHeader.vue.d.ts +2 -2
- package/lib/components/PageHeader/index.d.ts +5 -5
- package/lib/components/Pagination/Pager.vue.d.ts +1 -1
- package/lib/components/Pagination/Pagination.d.ts +2 -2
- package/lib/components/Pagination/index.d.ts +5 -5
- package/lib/components/PopConfirm/PopConfirm.vue.d.ts +5 -5
- package/lib/components/PopConfirm/index.d.ts +11 -11
- package/lib/components/Popover/index.d.ts +1 -1
- package/lib/components/Progress/Circle.d.ts +1 -1
- package/lib/components/Progress/Line.vue.d.ts +1 -1
- package/lib/components/Progress/Progress.vue.d.ts +2 -2
- package/lib/components/Progress/index.d.ts +5 -5
- package/lib/components/Radio/index.d.ts +1 -1
- package/lib/components/Rate/Rate.vue.d.ts +2 -2
- package/lib/components/Rate/Star.vue.d.ts +1 -1
- package/lib/components/Rate/index.d.ts +5 -5
- package/lib/components/Result/Result.vue.d.ts +1 -1
- package/lib/components/Result/index.d.ts +3 -3
- package/lib/components/Scrollbar/index.d.ts +1 -1
- package/lib/components/Select/DropdownMenu.js +1 -0
- package/lib/components/Select/DropdownMenu.js.map +1 -1
- package/lib/components/Select/DropdownMenu.vue.d.ts +2 -2
- package/lib/components/Select/RefSelect.js +3 -0
- package/lib/components/Select/RefSelect.js.map +1 -1
- package/lib/components/Select/RefSelect.vue.d.ts +67 -1015
- package/lib/components/Select/Select.d.ts +4 -4
- package/lib/components/Select/Select.type.d.ts +1 -1
- package/lib/components/Select/Select.type.js +1 -1
- package/lib/components/Select/Select.type.js.map +1 -1
- package/lib/components/Select/Selection/Multiple.js +2 -3
- package/lib/components/Select/Selection/Multiple.js.map +1 -1
- package/lib/components/Select/Selection/Multiple.vue.d.ts +4 -4
- package/lib/components/Select/Selection/Multiple.vue_vue_type_script_lang.js +1 -1
- package/lib/components/Select/Selection/Multiple.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/Select/Selection/MultipleBase.d.ts +253 -0
- package/lib/components/Select/Selection/MultipleBase.js +315 -0
- package/lib/components/Select/Selection/MultipleBase.js.map +1 -0
- package/lib/components/Select/Selection/Selection.js +89 -66
- package/lib/components/Select/Selection/Selection.js.map +1 -1
- package/lib/components/Select/Selection/Selection.vue.d.ts +57 -1005
- package/lib/components/Select/hooks/useMultipleBase.d.ts +34 -0
- package/lib/components/Select/hooks/useMultipleBase.js +216 -0
- package/lib/components/Select/hooks/useMultipleBase.js.map +1 -0
- package/lib/components/Select/index.d.ts +4 -4
- package/lib/components/Skeleton/index.d.ts +1 -1
- package/lib/components/Slider/index.d.ts +1 -1
- package/lib/components/Space/index.d.ts +1 -1
- package/lib/components/Spin/index.d.ts +1 -1
- package/lib/components/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/components/Statistic/index.d.ts +5 -5
- package/lib/components/Steps/Step.vue.d.ts +1 -1
- package/lib/components/Steps/index.d.ts +2 -2
- package/lib/components/Switch/index.d.ts +1 -1
- package/lib/components/Table/BaseTable.vue.d.ts +18 -18
- package/lib/components/Table/BodyTable.vue.d.ts +18 -18
- package/lib/components/Table/HeadTable.vue.d.ts +18 -18
- package/lib/components/Table/Table.vue.d.ts +42 -42
- package/lib/components/Table/TableBox.vue.d.ts +36 -36
- package/lib/components/Table/tableUnits/DraggableIcon.vue.d.ts +1 -1
- package/lib/components/Table/tableUnits/ExpandIcon.vue.d.ts +1 -1
- package/lib/components/Table/tableUnits/ExpandRows.vue.d.ts +3 -3
- package/lib/components/Table/tableUnits/FilterDropdown.vue.d.ts +11 -11
- package/lib/components/Table/tableUnits/SelectionBox.vue.d.ts +6 -6
- package/lib/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +11 -11
- package/lib/components/Table/tableUnits/TableBody.vue.d.ts +6 -6
- package/lib/components/Table/tableUnits/TableCell.vue.d.ts +3 -3
- package/lib/components/Table/tableUnits/TableHeader.vue.d.ts +12 -12
- package/lib/components/Table/tableUnits/TableHeaderRow.js +1 -1
- package/lib/components/Table/tableUnits/TableHeaderRow.js.map +1 -1
- package/lib/components/Table/tableUnits/TableHeaderRow.vue.d.ts +12 -12
- package/lib/components/Table/tableUnits/TableRow.vue.d.ts +3 -3
- package/lib/components/Table/tableUnits/TableSummaryRow.js +2 -3
- package/lib/components/Table/tableUnits/TableSummaryRow.js.map +1 -1
- package/lib/components/Tabs/TabNav.vue.d.ts +1 -1
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/Tabs/index.d.ts +4 -4
- package/lib/components/Tag/Tag.vue.d.ts +1 -1
- package/lib/components/Tag/index.d.ts +3 -3
- package/lib/components/Text/index.d.ts +1 -1
- package/lib/components/ThemePanel/ThemePanel.vue.d.ts +4 -4
- package/lib/components/ThemePanel/index.d.ts +9 -9
- package/lib/components/TimePicker/Panel/SelectList.vue.d.ts +1 -1
- package/lib/components/TimePicker/Panel/TimePanel.vue.d.ts +1 -1
- package/lib/components/TimePicker/Panel/TimeRangePane.vue.d.ts +1 -1
- package/lib/components/TimePicker/TimePicker.vue.d.ts +4 -4
- package/lib/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +1 -1
- package/lib/components/TimePicker/index.d.ts +9 -9
- package/lib/components/Timeline/index.d.ts +1 -1
- package/lib/components/Toggle/index.d.ts +1 -1
- package/lib/components/Tooltip/index.d.ts +1 -1
- package/lib/components/Transfer/Operation.vue.d.ts +3 -3
- package/lib/components/Transfer/Transfer.vue.d.ts +42 -42
- package/lib/components/Transfer/TransferList.vue.d.ts +13 -13
- package/lib/components/Transfer/TransferListItem.vue.d.ts +5 -5
- package/lib/components/Transfer/index.d.ts +111 -111
- package/lib/components/Tree/SubTree.vue.d.ts +6 -6
- package/lib/components/Tree/Tree.vue.d.ts +6 -6
- package/lib/components/Tree/TreeNode.vue.d.ts +6 -6
- package/lib/components/Tree/index.d.ts +13 -13
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +71 -1019
- package/lib/components/TreeSelect/index.d.ts +1118 -3014
- package/lib/components/Upload/UploadList.vue.d.ts +6 -6
- package/lib/components/Upload/index.d.ts +1 -1
- package/lib/components/VirtualList/index.d.ts +1 -1
- package/lib/components/base/ResizeObserver.js +1 -1
- package/lib/components/base/ResizeObserver.js.map +1 -1
- package/lib/utils/install.d.ts +2 -2
- package/package.json +1 -1
- package/styles/components/cascader/index.css +1 -1
- package/styles/components/select/index.css +1 -1
- package/styles/components/select/index.less +10 -1
- package/styles/index.css +1 -1
- package/types/components/Affix/index.d.ts +1 -1
- package/types/components/Alert/Alert.vue.d.ts +1 -1
- package/types/components/Alert/index.d.ts +3 -3
- package/types/components/Anchor/index.d.ts +1 -1
- package/types/components/AutoComplete/AutoComplete.vue.d.ts +10 -10
- package/types/components/AutoComplete/index.d.ts +25 -25
- package/types/components/Avatar/Avatar.vue.d.ts +1 -1
- package/types/components/Avatar/index.d.ts +3 -3
- package/types/components/BackTop/BackTop.vue.d.ts +1 -1
- package/types/components/BackTop/index.d.ts +3 -3
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/Breadcrumb/index.d.ts +1 -1
- package/types/components/Button/Button.vue.d.ts +1 -1
- package/types/components/Button/index.d.ts +3 -3
- package/types/components/Calendar/Calendar.vue.d.ts +5 -5
- package/types/components/Calendar/Header.vue.d.ts +5 -5
- package/types/components/Calendar/index.d.ts +11 -11
- package/types/components/Card/Card.d.ts +1 -1
- package/types/components/Card/CardMeta.vue.d.ts +3 -3
- package/types/components/Card/index.d.ts +6 -6
- package/types/components/Carousel/Carousel.vue.d.ts +1 -1
- package/types/components/Carousel/index.d.ts +3 -3
- package/types/components/Cascader/Cascader.d.ts +1 -1
- package/types/components/Cascader/index.d.ts +1 -1
- package/types/components/Checkbox/Checkbox.vue.d.ts +1 -1
- package/types/components/Checkbox/CheckboxGroup.vue.d.ts +2 -2
- package/types/components/Checkbox/index.d.ts +5 -5
- package/types/components/Collapse/Panel.vue.d.ts +1 -1
- package/types/components/Collapse/index.d.ts +2 -2
- package/types/components/ColorPicker/ColorPicker.vue.d.ts +7 -7
- package/types/components/ColorPicker/index.d.ts +15 -15
- package/types/components/Comment/index.d.ts +1 -1
- package/types/components/ConfigProvider/index.d.ts +1 -1
- package/types/components/DatePicker/DatePicker.vue.d.ts +18 -18
- package/types/components/DatePicker/Panel/DatePanel/DatePanel.vue.d.ts +2 -2
- package/types/components/DatePicker/Panel/DatePanel/DatePanelHeader.vue.d.ts +1 -1
- package/types/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +8 -8
- package/types/components/DatePicker/Panel/DateRangePanel.vue.d.ts +8 -8
- package/types/components/DatePicker/Panel/MonthPanel/MonthPanel.vue.d.ts +1 -1
- package/types/components/DatePicker/Panel/MonthPanel/MonthPanelHeader.vue.d.ts +1 -1
- package/types/components/DatePicker/Panel/QuarterPanel/QuarterPanel.vue.d.ts +1 -1
- package/types/components/DatePicker/Panel/QuarterPanel/QuarterPanelHeader.vue.d.ts +1 -1
- package/types/components/DatePicker/Panel/RangePart.vue.d.ts +5 -5
- package/types/components/DatePicker/Panel/YearPanel/YearPanel.vue.d.ts +1 -1
- package/types/components/DatePicker/Panel/YearPanel/YearPanelHeader.vue.d.ts +1 -1
- package/types/components/DatePicker/Trigger/DateRangeInput.vue.d.ts +1 -1
- package/types/components/DatePicker/index.d.ts +37 -37
- package/types/components/Divider/index.d.ts +1 -1
- package/types/components/Drawer/index.d.ts +1 -1
- package/types/components/Dropdown/index.d.ts +1 -1
- package/types/components/Empty/index.d.ts +1 -1
- package/types/components/Form/index.d.ts +1 -1
- package/types/components/Grid/index.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Image/Image.vue.d.ts +1 -1
- package/types/components/Image/ImgViewer.vue.d.ts +1 -1
- package/types/components/Image/index.d.ts +4 -4
- package/types/components/InfoView/index.d.ts +1 -1
- package/types/components/Input/Input.d.ts +1 -1
- package/types/components/Input/index.d.ts +3 -3
- package/types/components/InputNumber/index.d.ts +1 -1
- package/types/components/Layout/Sider.vue.d.ts +1 -1
- package/types/components/Layout/index.d.ts +2 -2
- package/types/components/Link/Link.vue.d.ts +1 -1
- package/types/components/Link/index.d.ts +3 -3
- package/types/components/List/List.vue.d.ts +2 -2
- package/types/components/List/ListItemMeta.vue.d.ts +3 -3
- package/types/components/List/index.d.ts +8 -8
- package/types/components/LoadingBar/index.d.ts +1 -1
- package/types/components/Mask/index.d.ts +1 -1
- package/types/components/Menu/MenuItem.vue.d.ts +1 -1
- package/types/components/Menu/SubMenu.vue.d.ts +1 -1
- package/types/components/Menu/index.d.ts +3 -3
- package/types/components/Message/index.d.ts +1 -1
- package/types/components/Modal/ConfirmDialog.vue.d.ts +8 -8
- package/types/components/Modal/Modal.vue.d.ts +4 -4
- package/types/components/Modal/index.d.ts +9 -9
- package/types/components/Notice/index.d.ts +1 -1
- package/types/components/Notification/Notice.vue.d.ts +1 -1
- package/types/components/Notification/Notification.vue.d.ts +1 -1
- package/types/components/PageHeader/PageHeader.vue.d.ts +2 -2
- package/types/components/PageHeader/index.d.ts +5 -5
- package/types/components/Pagination/Pager.vue.d.ts +1 -1
- package/types/components/Pagination/Pagination.d.ts +2 -2
- package/types/components/Pagination/index.d.ts +5 -5
- package/types/components/PopConfirm/PopConfirm.vue.d.ts +5 -5
- package/types/components/PopConfirm/index.d.ts +11 -11
- package/types/components/Popover/index.d.ts +1 -1
- package/types/components/Progress/Circle.d.ts +1 -1
- package/types/components/Progress/Line.vue.d.ts +1 -1
- package/types/components/Progress/Progress.vue.d.ts +2 -2
- package/types/components/Progress/index.d.ts +5 -5
- package/types/components/Radio/index.d.ts +1 -1
- package/types/components/Rate/Rate.vue.d.ts +2 -2
- package/types/components/Rate/Star.vue.d.ts +1 -1
- package/types/components/Rate/index.d.ts +5 -5
- package/types/components/Result/Result.vue.d.ts +1 -1
- package/types/components/Result/index.d.ts +3 -3
- package/types/components/Scrollbar/index.d.ts +1 -1
- package/types/components/Select/DropdownMenu.vue.d.ts +2 -2
- package/types/components/Select/RefSelect.vue.d.ts +67 -1015
- package/types/components/Select/Select.d.ts +4 -4
- package/types/components/Select/Select.type.d.ts +1 -1
- package/types/components/Select/Selection/Multiple.vue.d.ts +4 -4
- package/types/components/Select/Selection/MultipleBase.d.ts +253 -0
- package/types/components/Select/Selection/Selection.vue.d.ts +57 -1005
- package/types/components/Select/hooks/useMultipleBase.d.ts +34 -0
- package/types/components/Select/index.d.ts +4 -4
- package/types/components/Skeleton/index.d.ts +1 -1
- package/types/components/Slider/index.d.ts +1 -1
- package/types/components/Space/index.d.ts +1 -1
- package/types/components/Spin/index.d.ts +1 -1
- package/types/components/Statistic/Statistic.vue.d.ts +2 -2
- package/types/components/Statistic/index.d.ts +5 -5
- package/types/components/Steps/Step.vue.d.ts +1 -1
- package/types/components/Steps/index.d.ts +2 -2
- package/types/components/Switch/index.d.ts +1 -1
- package/types/components/Table/BaseTable.vue.d.ts +18 -18
- package/types/components/Table/BodyTable.vue.d.ts +18 -18
- package/types/components/Table/HeadTable.vue.d.ts +18 -18
- package/types/components/Table/Table.vue.d.ts +42 -42
- package/types/components/Table/TableBox.vue.d.ts +36 -36
- package/types/components/Table/tableUnits/DraggableIcon.vue.d.ts +1 -1
- package/types/components/Table/tableUnits/ExpandIcon.vue.d.ts +1 -1
- package/types/components/Table/tableUnits/ExpandRows.vue.d.ts +3 -3
- package/types/components/Table/tableUnits/FilterDropdown.vue.d.ts +11 -11
- package/types/components/Table/tableUnits/SelectionBox.vue.d.ts +6 -6
- package/types/components/Table/tableUnits/SelectionCheckAll.vue.d.ts +11 -11
- package/types/components/Table/tableUnits/TableBody.vue.d.ts +6 -6
- package/types/components/Table/tableUnits/TableCell.vue.d.ts +3 -3
- package/types/components/Table/tableUnits/TableHeader.vue.d.ts +12 -12
- package/types/components/Table/tableUnits/TableHeaderRow.vue.d.ts +12 -12
- package/types/components/Table/tableUnits/TableRow.vue.d.ts +3 -3
- package/types/components/Tabs/TabNav.vue.d.ts +1 -1
- package/types/components/Tabs/Tabs.d.ts +1 -1
- package/types/components/Tabs/index.d.ts +4 -4
- package/types/components/Tag/Tag.vue.d.ts +1 -1
- package/types/components/Tag/index.d.ts +3 -3
- package/types/components/Text/index.d.ts +1 -1
- package/types/components/ThemePanel/ThemePanel.vue.d.ts +4 -4
- package/types/components/ThemePanel/index.d.ts +9 -9
- package/types/components/TimePicker/Panel/SelectList.vue.d.ts +1 -1
- package/types/components/TimePicker/Panel/TimePanel.vue.d.ts +1 -1
- package/types/components/TimePicker/Panel/TimeRangePane.vue.d.ts +1 -1
- package/types/components/TimePicker/TimePicker.vue.d.ts +4 -4
- package/types/components/TimePicker/Trigger/TimeRangeInput.vue.d.ts +1 -1
- package/types/components/TimePicker/index.d.ts +9 -9
- package/types/components/Timeline/index.d.ts +1 -1
- package/types/components/Toggle/index.d.ts +1 -1
- package/types/components/Tooltip/index.d.ts +1 -1
- package/types/components/Transfer/Operation.vue.d.ts +3 -3
- package/types/components/Transfer/Transfer.vue.d.ts +42 -42
- package/types/components/Transfer/TransferList.vue.d.ts +13 -13
- package/types/components/Transfer/TransferListItem.vue.d.ts +5 -5
- package/types/components/Transfer/index.d.ts +111 -111
- package/types/components/Tree/SubTree.vue.d.ts +6 -6
- package/types/components/Tree/Tree.vue.d.ts +6 -6
- package/types/components/Tree/TreeNode.vue.d.ts +6 -6
- package/types/components/Tree/index.d.ts +13 -13
- package/types/components/TreeSelect/TreeSelect.vue.d.ts +71 -1019
- package/types/components/TreeSelect/index.d.ts +1118 -3014
- package/types/components/Upload/UploadList.vue.d.ts +6 -6
- package/types/components/Upload/index.d.ts +1 -1
- package/types/components/VirtualList/index.d.ts +1 -1
- package/types/utils/install.d.ts +2 -2
- package/uxd-ui.css +1 -1
- package/uxd-ui.esm.min.mjs +6 -6
- package/uxd-ui.esm.mjs +723 -546
- package/uxd-ui.umd.js +723 -546
- package/uxd-ui.umd.min.js +6 -6
|
@@ -195,7 +195,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
195
195
|
}, string, {
|
|
196
196
|
color: string;
|
|
197
197
|
spin: boolean;
|
|
198
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
198
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
199
199
|
ULineLeftDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
200
200
|
ULineRightDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
201
201
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -389,7 +389,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
389
389
|
}, string, {
|
|
390
390
|
color: string;
|
|
391
391
|
spin: boolean;
|
|
392
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
392
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
393
393
|
ULineLeftDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
394
394
|
ULineRightDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
395
395
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -632,7 +632,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
632
632
|
}, string, {
|
|
633
633
|
color: string;
|
|
634
634
|
spin: boolean;
|
|
635
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
635
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
636
636
|
ULineRight: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
637
637
|
ULineLeft: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
638
638
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -317,7 +317,7 @@ export declare const UPagination: {
|
|
|
317
317
|
}, string, {
|
|
318
318
|
color: string;
|
|
319
319
|
spin: boolean;
|
|
320
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
320
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
321
321
|
ULineLeftDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
322
322
|
ULineRightDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
323
323
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -560,7 +560,7 @@ export declare const UPagination: {
|
|
|
560
560
|
}, string, {
|
|
561
561
|
color: string;
|
|
562
562
|
spin: boolean;
|
|
563
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
563
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
564
564
|
ULineRight: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
565
565
|
ULineLeft: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
566
566
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -1007,7 +1007,7 @@ export declare const UPagination: {
|
|
|
1007
1007
|
}, string, {
|
|
1008
1008
|
color: string;
|
|
1009
1009
|
spin: boolean;
|
|
1010
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1010
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1011
1011
|
ULineLeftDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1012
1012
|
ULineRightDouble: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1013
1013
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1250,9 +1250,9 @@ export declare const UPagination: {
|
|
|
1250
1250
|
}, string, {
|
|
1251
1251
|
color: string;
|
|
1252
1252
|
spin: boolean;
|
|
1253
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1253
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1254
1254
|
ULineRight: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1255
1255
|
ULineLeft: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1256
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1256
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1257
1257
|
export default UPagination;
|
|
1258
1258
|
export * from './Pagination.type';
|
|
@@ -859,7 +859,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
859
859
|
};
|
|
860
860
|
};
|
|
861
861
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
862
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
862
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
863
863
|
UIcon: {
|
|
864
864
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
865
865
|
rotate: {
|
|
@@ -990,7 +990,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
990
990
|
}, string, {
|
|
991
991
|
color: string;
|
|
992
992
|
spin: boolean;
|
|
993
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
993
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
994
994
|
UButton: {
|
|
995
995
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
996
996
|
type: {
|
|
@@ -1205,7 +1205,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1205
1205
|
}, string, {
|
|
1206
1206
|
color: string;
|
|
1207
1207
|
spin: boolean;
|
|
1208
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1208
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1209
1209
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1210
1210
|
P: {};
|
|
1211
1211
|
B: {};
|
|
@@ -1510,8 +1510,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1510
1510
|
}, string, {
|
|
1511
1511
|
color: string;
|
|
1512
1512
|
spin: boolean;
|
|
1513
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1514
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
|
|
1513
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1514
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & {
|
|
1515
1515
|
Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1516
1516
|
size: {
|
|
1517
1517
|
type: import("vue").PropType<"small" | "default" | "large">;
|
|
@@ -808,7 +808,7 @@ export declare const UPopConfirm: {
|
|
|
808
808
|
};
|
|
809
809
|
};
|
|
810
810
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
811
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
811
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
812
812
|
UIcon: {
|
|
813
813
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
814
814
|
rotate: {
|
|
@@ -939,7 +939,7 @@ export declare const UPopConfirm: {
|
|
|
939
939
|
}, string, {
|
|
940
940
|
color: string;
|
|
941
941
|
spin: boolean;
|
|
942
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
942
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
943
943
|
UButton: {
|
|
944
944
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
945
945
|
type: {
|
|
@@ -1154,7 +1154,7 @@ export declare const UPopConfirm: {
|
|
|
1154
1154
|
}, string, {
|
|
1155
1155
|
color: string;
|
|
1156
1156
|
spin: boolean;
|
|
1157
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1157
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1158
1158
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1159
1159
|
P: {};
|
|
1160
1160
|
B: {};
|
|
@@ -1459,8 +1459,8 @@ export declare const UPopConfirm: {
|
|
|
1459
1459
|
}, string, {
|
|
1460
1460
|
color: string;
|
|
1461
1461
|
spin: boolean;
|
|
1462
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1463
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
|
|
1462
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1463
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & {
|
|
1464
1464
|
Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1465
1465
|
size: {
|
|
1466
1466
|
type: import("vue").PropType<"small" | "default" | "large">;
|
|
@@ -2396,7 +2396,7 @@ export declare const UPopConfirm: {
|
|
|
2396
2396
|
};
|
|
2397
2397
|
};
|
|
2398
2398
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2399
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
2399
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
2400
2400
|
UIcon: {
|
|
2401
2401
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
2402
2402
|
rotate: {
|
|
@@ -2527,7 +2527,7 @@ export declare const UPopConfirm: {
|
|
|
2527
2527
|
}, string, {
|
|
2528
2528
|
color: string;
|
|
2529
2529
|
spin: boolean;
|
|
2530
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
2530
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
2531
2531
|
UButton: {
|
|
2532
2532
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
2533
2533
|
type: {
|
|
@@ -2742,7 +2742,7 @@ export declare const UPopConfirm: {
|
|
|
2742
2742
|
}, string, {
|
|
2743
2743
|
color: string;
|
|
2744
2744
|
spin: boolean;
|
|
2745
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
2745
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
2746
2746
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
2747
2747
|
P: {};
|
|
2748
2748
|
B: {};
|
|
@@ -3047,8 +3047,8 @@ export declare const UPopConfirm: {
|
|
|
3047
3047
|
}, string, {
|
|
3048
3048
|
color: string;
|
|
3049
3049
|
spin: boolean;
|
|
3050
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
3051
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
|
|
3050
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
3051
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & {
|
|
3052
3052
|
Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3053
3053
|
size: {
|
|
3054
3054
|
type: import("vue").PropType<"small" | "default" | "large">;
|
|
@@ -3087,6 +3087,6 @@ export declare const UPopConfirm: {
|
|
|
3087
3087
|
vertical: boolean;
|
|
3088
3088
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3089
3089
|
};
|
|
3090
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
3090
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
3091
3091
|
export default UPopConfirm;
|
|
3092
3092
|
export * from './PopConfirm.type';
|
|
@@ -725,6 +725,6 @@ export declare const UPopover: {
|
|
|
725
725
|
};
|
|
726
726
|
};
|
|
727
727
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
728
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
728
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
729
729
|
export default UPopover;
|
|
730
730
|
export * from './Popover.type';
|
|
@@ -207,6 +207,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
207
207
|
}, string, {
|
|
208
208
|
color: string;
|
|
209
209
|
spin: boolean;
|
|
210
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
210
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
211
211
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
212
212
|
export default _default;
|
|
@@ -215,6 +215,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
215
215
|
}, string, {
|
|
216
216
|
color: string;
|
|
217
217
|
spin: boolean;
|
|
218
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
218
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
219
219
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
220
220
|
export default _default;
|
|
@@ -357,7 +357,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
357
357
|
}, string, {
|
|
358
358
|
color: string;
|
|
359
359
|
spin: boolean;
|
|
360
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
360
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
361
361
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
362
362
|
UCircle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
363
363
|
percent: {
|
|
@@ -567,7 +567,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
567
567
|
}, string, {
|
|
568
568
|
color: string;
|
|
569
569
|
spin: boolean;
|
|
570
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
570
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
571
571
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
572
572
|
UWater: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
573
573
|
percent: {
|
|
@@ -315,7 +315,7 @@ export declare const UProgress: {
|
|
|
315
315
|
}, string, {
|
|
316
316
|
color: string;
|
|
317
317
|
spin: boolean;
|
|
318
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
318
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
319
319
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
320
320
|
UCircle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
321
321
|
percent: {
|
|
@@ -525,7 +525,7 @@ export declare const UProgress: {
|
|
|
525
525
|
}, string, {
|
|
526
526
|
color: string;
|
|
527
527
|
spin: boolean;
|
|
528
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
528
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
529
529
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
530
530
|
UWater: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
531
531
|
percent: {
|
|
@@ -1033,7 +1033,7 @@ export declare const UProgress: {
|
|
|
1033
1033
|
}, string, {
|
|
1034
1034
|
color: string;
|
|
1035
1035
|
spin: boolean;
|
|
1036
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1036
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1037
1037
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1038
1038
|
UCircle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1039
1039
|
percent: {
|
|
@@ -1243,7 +1243,7 @@ export declare const UProgress: {
|
|
|
1243
1243
|
}, string, {
|
|
1244
1244
|
color: string;
|
|
1245
1245
|
spin: boolean;
|
|
1246
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1246
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1247
1247
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1248
1248
|
UWater: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1249
1249
|
percent: {
|
|
@@ -1325,6 +1325,6 @@ export declare const UProgress: {
|
|
|
1325
1325
|
strokeColor: string | string[];
|
|
1326
1326
|
textInside: boolean;
|
|
1327
1327
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1328
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1328
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1329
1329
|
export default UProgress;
|
|
1330
1330
|
export * from './Progress.type';
|
|
@@ -212,7 +212,7 @@ export declare const URadio: {
|
|
|
212
212
|
trueValue: import("./Radio.type").RadioValueType;
|
|
213
213
|
falseValue: import("./Radio.type").RadioValueType;
|
|
214
214
|
border: boolean;
|
|
215
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
|
|
215
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & {
|
|
216
216
|
Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
217
217
|
modelValue: {
|
|
218
218
|
type: import("vue").PropType<import("./Radio.type").RadioGroupValueType>;
|
|
@@ -318,7 +318,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
318
318
|
}, string, {
|
|
319
319
|
color: string;
|
|
320
320
|
spin: boolean;
|
|
321
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
321
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
322
322
|
USolidStar: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
323
323
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
324
324
|
Tooltip: {
|
|
@@ -1024,6 +1024,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1024
1024
|
};
|
|
1025
1025
|
};
|
|
1026
1026
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1027
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1027
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1028
1028
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1029
1029
|
export default _default;
|
|
@@ -211,7 +211,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
211
211
|
}, string, {
|
|
212
212
|
color: string;
|
|
213
213
|
spin: boolean;
|
|
214
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
214
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
215
215
|
USolidStar: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
216
216
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
217
217
|
export default _default;
|
|
@@ -282,7 +282,7 @@ export declare const URate: {
|
|
|
282
282
|
}, string, {
|
|
283
283
|
color: string;
|
|
284
284
|
spin: boolean;
|
|
285
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
285
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
286
286
|
USolidStar: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
287
287
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
288
288
|
Tooltip: {
|
|
@@ -988,7 +988,7 @@ export declare const URate: {
|
|
|
988
988
|
};
|
|
989
989
|
};
|
|
990
990
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
991
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
991
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
992
992
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
993
993
|
P: {};
|
|
994
994
|
B: {};
|
|
@@ -1346,7 +1346,7 @@ export declare const URate: {
|
|
|
1346
1346
|
}, string, {
|
|
1347
1347
|
color: string;
|
|
1348
1348
|
spin: boolean;
|
|
1349
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1349
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1350
1350
|
USolidStar: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1351
1351
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1352
1352
|
Tooltip: {
|
|
@@ -2052,7 +2052,7 @@ export declare const URate: {
|
|
|
2052
2052
|
};
|
|
2053
2053
|
};
|
|
2054
2054
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2055
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
2056
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
2055
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
2056
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
2057
2057
|
export default URate;
|
|
2058
2058
|
export * from './Rate.type';
|
|
@@ -182,6 +182,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
182
182
|
}, string, {
|
|
183
183
|
color: string;
|
|
184
184
|
spin: boolean;
|
|
185
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
185
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
186
186
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
187
187
|
export default _default;
|
|
@@ -161,7 +161,7 @@ export declare const UResult: {
|
|
|
161
161
|
}, string, {
|
|
162
162
|
color: string;
|
|
163
163
|
spin: boolean;
|
|
164
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
164
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
165
165
|
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
166
166
|
P: {};
|
|
167
167
|
B: {};
|
|
@@ -366,7 +366,7 @@ export declare const UResult: {
|
|
|
366
366
|
}, string, {
|
|
367
367
|
color: string;
|
|
368
368
|
spin: boolean;
|
|
369
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
370
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
369
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
370
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
371
371
|
export default UResult;
|
|
372
372
|
export * from './Result.type';
|
|
@@ -140,6 +140,6 @@ export declare const UScrollbar: {
|
|
|
140
140
|
hideBar: boolean;
|
|
141
141
|
minSize: number;
|
|
142
142
|
zIndex: number;
|
|
143
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
143
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
144
144
|
export default UScrollbar;
|
|
145
145
|
export * from './Scrollbar.type';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, reactive, watch, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, normalizeClass, withModifiers, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, normalizeStyle, createBlock, createElementVNode
|
|
1
|
+
import { defineComponent, computed, ref, reactive, watch, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, normalizeClass, withModifiers, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot, normalizeStyle, createBlock, createElementVNode } from 'vue';
|
|
2
2
|
import { UIcon } from '../Icon/index.mjs';
|
|
3
3
|
import { URoundCheck, ULineEnter } from '@koi-design/uxd-icon';
|
|
4
4
|
import VirtualList from '../VirtualList/index.mjs';
|
|
@@ -290,6 +290,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
290
290
|
_: 1
|
|
291
291
|
}, 8, ["class", "model-value", "indeterminate", "disabled", "onChange"])
|
|
292
292
|
], 34)) : createCommentVNode("v-if", true),
|
|
293
|
+
renderSlot(_ctx.$slots, "top"),
|
|
293
294
|
createVNode(_component_VirtualList, {
|
|
294
295
|
ref: "listRef",
|
|
295
296
|
"prefix-cls": `${_ctx.prefixCls}-dropdown-list`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.mjs","sources":["../../../../src/components/Select/DropdownMenu.vue"],"sourcesContent":["<template>\n <template v-if=\"options.length > 0\">\n <div v-if=\"multiple && selectAll\" :class=\"`${prefixCls}-dropdown-operate`\" @mousedown.prevent>\n <u-checkbox\n :class=\"`${prefixCls}-dropdown-checkbox`\"\n :model-value=\"stateSelectAll\"\n :indeterminate=\"stateSelectIneterminate\"\n :disabled=\"selectAllDisabled\"\n @change=\"handleSelectAllChange\"\n >\n {{ selectAllText }}\n </u-checkbox>\n </div>\n <VirtualList\n ref=\"listRef\"\n :prefix-cls=\"`${prefixCls}-dropdown-list`\"\n :data=\"options\"\n item-key=\"key\"\n :height=\"height\"\n :item-height=\"itemHeight\"\n :virtual=\"virtual\"\n :data-color=\"color\"\n @mousedown.prevent\n @scroll-at-top=\"onScrollAtTop\"\n @scroll-at-bottom=\"onScrollAtBottom\"\n >\n <template #default=\"{ item, index: itemIndex }\">\n <template v-if=\"item.group\">\n <div :class=\"[itemPrefixCls, `${itemPrefixCls}-group`]\">\n {{ item.label }}\n </div>\n </template>\n <template v-else>\n <div\n :class=\"[\n itemPrefixCls,\n optionPrefixCls,\n {\n cls: item.class,\n [`${optionPrefixCls}-grouped`]: item.inGroup,\n [`${itemPrefixCls}-${size}`]: true,\n [`${optionPrefixCls}-active`]: state.activeIndex === itemIndex && !isItemDisabled(item),\n [`${optionPrefixCls}-disabled`]: isItemDisabled(item),\n [`${optionPrefixCls}-selected`]: isItemSelected(item)\n }\n ]\"\n :style=\"item.style\"\n :title=\"item[titleKey] || ''\"\n @mousemove=\"\n () => {\n if (state.activeIndex === itemIndex || isItemDisabled(item)) {\n return;\n }\n setActive(itemIndex);\n }\n \"\n @mouseleave=\"\n () => {\n setActive(-1);\n }\n \"\n @click=\"\n () => {\n if (!isItemDisabled(item)) {\n onSelectValue(item);\n }\n }\n \"\n >\n <UIcon v-if=\"isItemSelected(item)\" :class=\"`${optionPrefixCls}-state`\">\n <URoundCheck />\n </UIcon>\n <span v-else :class=\"`${optionPrefixCls}-state`\" />\n <div :class=\"`${optionPrefixCls}-content`\">\n <Render v-if=\"item.render\" :render=\"item.render\" />\n <template v-else>\n {{ item.label }}\n </template>\n </div>\n\n <UIcon v-if=\"item.isNew\" :class=\"`${optionPrefixCls}-state`\">\n <ULineEnter />\n </UIcon>\n </div>\n </template>\n </template>\n </VirtualList>\n </template>\n <div v-else :id=\"`${id}_list`\" role=\"listbox\" :class=\"`${itemPrefixCls}-empty`\" @mousedown.prevent>\n <slot name=\"empty\" />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, ref, computed, reactive, watch, nextTick } from 'vue';\nimport type { PropType } from 'vue';\nimport UIcon from '@uxd-ui/components/Icon';\nimport { URoundCheck, ULineEnter } from '@koi-design/uxd-icon';\nimport VirtualList from '@uxd-ui/components/VirtualList';\nimport Render from '../base/Render';\nimport KeyCode from '../../utils/KeyCode';\nimport { getRender } from '../../utils/slots';\nimport type { InnerSelectOption, SingleValueType } from './Select.type';\nimport type { ColorType } from '../../utils';\nimport { useGlobalConfig } from '../base/hooks';\n\nexport default defineComponent({\n name: 'OptionList',\n components: {\n VirtualList,\n Render,\n UIcon,\n URoundCheck,\n ULineEnter\n },\n inheritAttrs: false,\n props: {\n prefixCls: {\n type: String\n },\n id: {\n type: String\n },\n options: {\n type: Array as PropType<InnerSelectOption[]>,\n default: (): InnerSelectOption[] => []\n },\n searchValue: {\n type: String\n },\n multiple: {\n type: Boolean,\n default: false\n },\n values: {\n type: Array as PropType<SingleValueType[]>\n },\n open: {\n type: Boolean,\n default: undefined as undefined\n },\n height: {\n type: Number\n },\n itemHeight: {\n type: Number\n },\n virtual: {\n type: Boolean,\n default: true\n },\n defaultActiveFirst: {\n type: Boolean,\n default: true\n },\n size: {\n type: String,\n default: 'default'\n },\n selectAll: {\n type: Boolean,\n default: false\n },\n multipleLimit: {\n type: Number,\n default: 0\n },\n width: {\n type: [Number, String] as PropType<number | 'auto' | 'container'>,\n default: 'container'\n },\n color: {\n type: String as PropType<ColorType>\n },\n direction: {\n type: String as PropType<'ltr' | 'rtl'>,\n default: 'ltr'\n },\n titleKey: {\n type: String,\n default: 'title'\n }\n },\n emits: ['select', 'active-value', 'close', 'scroll-at-top', 'scroll-at-bottom', 'create-submit'],\n setup(props, { emit }) {\n const { config: globalConfig } = useGlobalConfig('select');\n const itemPrefixCls = computed(() => `${props.prefixCls}-item`);\n const optionPrefixCls = computed(() => `${itemPrefixCls.value}-option`);\n\n const selectAllText = computed(() => globalConfig.locale.select.selectAll);\n\n // #region ============== list ===============\n const listRef = ref<any | null>(null);\n const scrollToView = (index: number) => {\n if (listRef.value) {\n (listRef.value as any).scrollTo({ index });\n }\n };\n // #endregion\n\n // #region ============== Active ===============\n const getEnabledActiveIndex = (index: number, direct = 1) => {\n const len = props.options.length;\n for (let i = 0; i < len; i += 1) {\n const _index = (index + i * direct + len) % len;\n const { group, disabled } = props.options[_index];\n if (!group && !disabled) {\n return _index;\n }\n }\n return -1;\n };\n\n const state = reactive({\n activeIndex: getEnabledActiveIndex(-1)\n });\n\n const setActive = (index: number, fromKeyboard = false) => {\n state.activeIndex = index;\n const info = { source: fromKeyboard ? 'keyboard' : 'mouse' };\n const item = props.options[index];\n if (!item) {\n emit('active-value', null, -1, info);\n return;\n }\n emit('active-value', item, index, info);\n };\n\n watch(\n [() => props.options.length, () => props.searchValue],\n () => {\n setActive(props.defaultActiveFirst !== false ? getEnabledActiveIndex(0) : -1);\n },\n {\n immediate: true\n }\n );\n\n watch(\n () => props.open,\n () => {\n if (props.open) {\n nextTick(() => {\n if (listRef.value) {\n (listRef.value as any).scrollTo(undefined);\n }\n if (!props.multiple && props.values?.length === 1) {\n const [value] = Array.from(props.values);\n const index = props.options.findIndex((x) => x.value === value);\n setActive(index);\n scrollToView(index);\n }\n });\n }\n },\n {\n immediate: true,\n flush: 'post'\n }\n );\n\n // #region ============== Event ===============\n const onSelectValue = (item: InnerSelectOption) => {\n if (item.value !== undefined && !item.disabled) {\n emit('select', item.value, { selected: !item.selected });\n if (item.isNew) {\n emit('create-submit', item.value);\n }\n }\n };\n\n const onKeydown = (e: KeyboardEvent) => {\n const { which } = e;\n switch (which) {\n case KeyCode.UP:\n case KeyCode.DOWN: {\n const direct = which === KeyCode.UP ? -1 : 1;\n const activeIndex = getEnabledActiveIndex(state.activeIndex + direct, direct);\n setActive(activeIndex);\n scrollToView(activeIndex);\n break;\n }\n case KeyCode.ENTER: {\n const item = props.options[state.activeIndex];\n onSelectValue(item);\n break;\n }\n case KeyCode.ESC:\n emit('close');\n break;\n\n default:\n break;\n }\n };\n\n // #endregion\n\n // =================== selectAll ===============\n // #region\n const stateSelectAll = computed(() => {\n const find = props.options.find((x) => !x.selected);\n return find === undefined;\n });\n const stateSelectIneterminate = computed(() => {\n return !stateSelectAll.value && props.options.some((x) => x.selected);\n });\n\n const handleSelectAllChange = (status: boolean) => {\n if (status) {\n emit(\n 'select',\n props.options.map((x) => x.value),\n { selected: true }\n );\n } else {\n emit(\n 'select',\n props.options.map((x) => x.value),\n { selected: false }\n );\n }\n };\n\n // #endregion\n\n const isItemSelected = (item: InnerSelectOption) => {\n return item.selected;\n };\n const isItemDisabled = (item: InnerSelectOption) => {\n if (item.disabled) {\n return item.disabled;\n }\n if (props.multipleLimit) {\n if (!isItemSelected(item)) {\n return (props.values?.length || 0) >= props.multipleLimit;\n }\n return false;\n }\n };\n\n const selectAllDisabled = computed(() => {\n if (!props.multipleLimit) {\n return false;\n }\n if (stateSelectAll.value) {\n return false;\n }\n if (props.options.length > props.multipleLimit) {\n return true;\n }\n const preValue = new Set([...props.options.map((x) => x.value), ...(props.values ? Array.from(props.values) : [])]);\n return preValue.size > props.multipleLimit;\n });\n\n return {\n itemPrefixCls,\n optionPrefixCls,\n listRef,\n state,\n selectAllText,\n // selectAll,\n stateSelectAll,\n stateSelectIneterminate,\n onSelectValue,\n onKeydown,\n scrollTop: scrollToView,\n getRender,\n setActive,\n isItemSelected,\n isItemDisabled,\n selectAllDisabled,\n onScrollAtTop: () => {\n emit('scroll-at-top');\n },\n onScrollAtBottom: () => {\n emit('scroll-at-bottom');\n },\n handleSelectAllChange\n };\n }\n});\n</script>\n"],"names":["_createElementBlock","_Fragment","_normalizeClass","_createVNode","_withCtx","_normalizeStyle","_createBlock","_createElementVNode","_renderSlot"],"mappings":";;;;;;;;;;;AA0GA,MAAK,YAAa,gBAAa;AAAA,EAC7B,MAAM;AAAA,EACN,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AACF,EACA,cAAc;AAAA,EACd,OAAO;AAAA,IACL,WAAW;AAAA,MACT,MAAM;AAAA;AACR,IACA,IAAI;AAAA,MACF,MAAM;AAAA;AACR,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS,MAA2B;AAAC;AACvC,IACA,aAAa;AAAA,MACX,MAAM;AAAA;AACR,IACA,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,QAAQ;AAAA,MACN,MAAM;AAAA;AACR,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,QAAQ;AAAA,MACN,MAAM;AAAA;AACR,IACA,YAAY;AAAA,MACV,MAAM;AAAA;AACR,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,oBAAoB;AAAA,MAClB,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,eAAe;AAAA,MACb,M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BAEWC;8CADN,KAAK,KAAK;;;UAIJ,KAAK,sBAAlBK,YAEQ;;YAFkB,OAAKJ,kBAAK,4BAAe;AAAA;6BACjD,MAAc;AAAA,cAAdC,YAAc;;;;;;;;0BAO1BH,mBAEM;;IAFO,IAAE,GAAK;IAAW,MAAK;AAAA,IAAW,OAAKE,kBAAK,0BAAa;AAAA,IAAW,aAAS,wCAAV;OAAkB;;IAChGM,WAAqB;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"DropdownMenu.mjs","sources":["../../../../src/components/Select/DropdownMenu.vue"],"sourcesContent":["<template>\n <template v-if=\"options.length > 0\">\n <div v-if=\"multiple && selectAll\" :class=\"`${prefixCls}-dropdown-operate`\" @mousedown.prevent>\n <u-checkbox\n :class=\"`${prefixCls}-dropdown-checkbox`\"\n :model-value=\"stateSelectAll\"\n :indeterminate=\"stateSelectIneterminate\"\n :disabled=\"selectAllDisabled\"\n @change=\"handleSelectAllChange\"\n >\n {{ selectAllText }}\n </u-checkbox>\n </div>\n <slot name=\"top\" />\n <VirtualList\n ref=\"listRef\"\n :prefix-cls=\"`${prefixCls}-dropdown-list`\"\n :data=\"options\"\n item-key=\"key\"\n :height=\"height\"\n :item-height=\"itemHeight\"\n :virtual=\"virtual\"\n :data-color=\"color\"\n @mousedown.prevent\n @scroll-at-top=\"onScrollAtTop\"\n @scroll-at-bottom=\"onScrollAtBottom\"\n >\n <template #default=\"{ item, index: itemIndex }\">\n <template v-if=\"item.group\">\n <div :class=\"[itemPrefixCls, `${itemPrefixCls}-group`]\">\n {{ item.label }}\n </div>\n </template>\n <template v-else>\n <div\n :class=\"[\n itemPrefixCls,\n optionPrefixCls,\n {\n cls: item.class,\n [`${optionPrefixCls}-grouped`]: item.inGroup,\n [`${itemPrefixCls}-${size}`]: true,\n [`${optionPrefixCls}-active`]: state.activeIndex === itemIndex && !isItemDisabled(item),\n [`${optionPrefixCls}-disabled`]: isItemDisabled(item),\n [`${optionPrefixCls}-selected`]: isItemSelected(item)\n }\n ]\"\n :style=\"item.style\"\n :title=\"item[titleKey] || ''\"\n @mousemove=\"\n () => {\n if (state.activeIndex === itemIndex || isItemDisabled(item)) {\n return;\n }\n setActive(itemIndex);\n }\n \"\n @mouseleave=\"\n () => {\n setActive(-1);\n }\n \"\n @click=\"\n () => {\n if (!isItemDisabled(item)) {\n onSelectValue(item);\n }\n }\n \"\n >\n <UIcon v-if=\"isItemSelected(item)\" :class=\"`${optionPrefixCls}-state`\">\n <URoundCheck />\n </UIcon>\n <span v-else :class=\"`${optionPrefixCls}-state`\" />\n <div :class=\"`${optionPrefixCls}-content`\">\n <Render v-if=\"item.render\" :render=\"item.render\" />\n <template v-else>\n {{ item.label }}\n </template>\n </div>\n\n <UIcon v-if=\"item.isNew\" :class=\"`${optionPrefixCls}-state`\">\n <ULineEnter />\n </UIcon>\n </div>\n </template>\n </template>\n </VirtualList>\n </template>\n <div v-else :id=\"`${id}_list`\" role=\"listbox\" :class=\"`${itemPrefixCls}-empty`\" @mousedown.prevent>\n <slot name=\"empty\" />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, ref, computed, reactive, watch, nextTick } from 'vue';\nimport type { PropType } from 'vue';\nimport UIcon from '@uxd-ui/components/Icon';\nimport { URoundCheck, ULineEnter } from '@koi-design/uxd-icon';\nimport VirtualList from '@uxd-ui/components/VirtualList';\nimport Render from '../base/Render';\nimport KeyCode from '../../utils/KeyCode';\nimport { getRender } from '../../utils/slots';\nimport type { InnerSelectOption, SingleValueType } from './Select.type';\nimport type { ColorType } from '../../utils';\nimport { useGlobalConfig } from '../base/hooks';\n\nexport default defineComponent({\n name: 'OptionList',\n components: {\n VirtualList,\n Render,\n UIcon,\n URoundCheck,\n ULineEnter\n },\n inheritAttrs: false,\n props: {\n prefixCls: {\n type: String\n },\n id: {\n type: String\n },\n options: {\n type: Array as PropType<InnerSelectOption[]>,\n default: (): InnerSelectOption[] => []\n },\n searchValue: {\n type: String\n },\n multiple: {\n type: Boolean,\n default: false\n },\n values: {\n type: Array as PropType<SingleValueType[]>\n },\n open: {\n type: Boolean,\n default: undefined as undefined\n },\n height: {\n type: Number\n },\n itemHeight: {\n type: Number\n },\n virtual: {\n type: Boolean,\n default: true\n },\n defaultActiveFirst: {\n type: Boolean,\n default: true\n },\n size: {\n type: String,\n default: 'default'\n },\n selectAll: {\n type: Boolean,\n default: false\n },\n multipleLimit: {\n type: Number,\n default: 0\n },\n width: {\n type: [Number, String] as PropType<number | 'auto' | 'container'>,\n default: 'container'\n },\n color: {\n type: String as PropType<ColorType>\n },\n direction: {\n type: String as PropType<'ltr' | 'rtl'>,\n default: 'ltr'\n },\n titleKey: {\n type: String,\n default: 'title'\n }\n },\n emits: ['select', 'active-value', 'close', 'scroll-at-top', 'scroll-at-bottom', 'create-submit'],\n setup(props, { emit }) {\n const { config: globalConfig } = useGlobalConfig('select');\n const itemPrefixCls = computed(() => `${props.prefixCls}-item`);\n const optionPrefixCls = computed(() => `${itemPrefixCls.value}-option`);\n\n const selectAllText = computed(() => globalConfig.locale.select.selectAll);\n\n // #region ============== list ===============\n const listRef = ref<any | null>(null);\n const scrollToView = (index: number) => {\n if (listRef.value) {\n (listRef.value as any).scrollTo({ index });\n }\n };\n // #endregion\n\n // #region ============== Active ===============\n const getEnabledActiveIndex = (index: number, direct = 1) => {\n const len = props.options.length;\n for (let i = 0; i < len; i += 1) {\n const _index = (index + i * direct + len) % len;\n const { group, disabled } = props.options[_index];\n if (!group && !disabled) {\n return _index;\n }\n }\n return -1;\n };\n\n const state = reactive({\n activeIndex: getEnabledActiveIndex(-1)\n });\n\n const setActive = (index: number, fromKeyboard = false) => {\n state.activeIndex = index;\n const info = { source: fromKeyboard ? 'keyboard' : 'mouse' };\n const item = props.options[index];\n if (!item) {\n emit('active-value', null, -1, info);\n return;\n }\n emit('active-value', item, index, info);\n };\n\n watch(\n [() => props.options.length, () => props.searchValue],\n () => {\n setActive(props.defaultActiveFirst !== false ? getEnabledActiveIndex(0) : -1);\n },\n {\n immediate: true\n }\n );\n\n watch(\n () => props.open,\n () => {\n if (props.open) {\n nextTick(() => {\n if (listRef.value) {\n (listRef.value as any).scrollTo(undefined);\n }\n if (!props.multiple && props.values?.length === 1) {\n const [value] = Array.from(props.values);\n const index = props.options.findIndex((x) => x.value === value);\n setActive(index);\n scrollToView(index);\n }\n });\n }\n },\n {\n immediate: true,\n flush: 'post'\n }\n );\n\n // #region ============== Event ===============\n const onSelectValue = (item: InnerSelectOption) => {\n if (item.value !== undefined && !item.disabled) {\n emit('select', item.value, { selected: !item.selected });\n if (item.isNew) {\n emit('create-submit', item.value);\n }\n }\n };\n\n const onKeydown = (e: KeyboardEvent) => {\n const { which } = e;\n switch (which) {\n case KeyCode.UP:\n case KeyCode.DOWN: {\n const direct = which === KeyCode.UP ? -1 : 1;\n const activeIndex = getEnabledActiveIndex(state.activeIndex + direct, direct);\n setActive(activeIndex);\n scrollToView(activeIndex);\n break;\n }\n case KeyCode.ENTER: {\n const item = props.options[state.activeIndex];\n onSelectValue(item);\n break;\n }\n case KeyCode.ESC:\n emit('close');\n break;\n\n default:\n break;\n }\n };\n\n // #endregion\n\n // =================== selectAll ===============\n // #region\n const stateSelectAll = computed(() => {\n const find = props.options.find((x) => !x.selected);\n return find === undefined;\n });\n const stateSelectIneterminate = computed(() => {\n return !stateSelectAll.value && props.options.some((x) => x.selected);\n });\n\n const handleSelectAllChange = (status: boolean) => {\n if (status) {\n emit(\n 'select',\n props.options.map((x) => x.value),\n { selected: true }\n );\n } else {\n emit(\n 'select',\n props.options.map((x) => x.value),\n { selected: false }\n );\n }\n };\n\n // #endregion\n\n const isItemSelected = (item: InnerSelectOption) => {\n return item.selected;\n };\n const isItemDisabled = (item: InnerSelectOption) => {\n if (item.disabled) {\n return item.disabled;\n }\n if (props.multipleLimit) {\n if (!isItemSelected(item)) {\n return (props.values?.length || 0) >= props.multipleLimit;\n }\n return false;\n }\n };\n\n const selectAllDisabled = computed(() => {\n if (!props.multipleLimit) {\n return false;\n }\n if (stateSelectAll.value) {\n return false;\n }\n if (props.options.length > props.multipleLimit) {\n return true;\n }\n const preValue = new Set([...props.options.map((x) => x.value), ...(props.values ? Array.from(props.values) : [])]);\n return preValue.size > props.multipleLimit;\n });\n\n return {\n itemPrefixCls,\n optionPrefixCls,\n listRef,\n state,\n selectAllText,\n // selectAll,\n stateSelectAll,\n stateSelectIneterminate,\n onSelectValue,\n onKeydown,\n scrollTop: scrollToView,\n getRender,\n setActive,\n isItemSelected,\n isItemDisabled,\n selectAllDisabled,\n onScrollAtTop: () => {\n emit('scroll-at-top');\n },\n onScrollAtBottom: () => {\n emit('scroll-at-bottom');\n },\n handleSelectAllChange\n };\n }\n});\n</script>\n"],"names":["_createElementBlock","_Fragment","_normalizeClass","_createVNode","_renderSlot","_withCtx","_normalizeStyle","_createBlock","_createElementVNode"],"mappings":";;;;;;;;;;;AA2GA,MAAK,YAAa,gBAAa;AAAA,EAC7B,MAAM;AAAA,EACN,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AACF,EACA,cAAc;AAAA,EACd,OAAO;AAAA,IACL,WAAW;AAAA,MACT,MAAM;AAAA;AACR,IACA,IAAI;AAAA,MACF,MAAM;AAAA;AACR,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS,MAA2B;AAAC;AACvC,IACA,aAAa;AAAA,MACX,MAAM;AAAA;AACR,IACA,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,QAAQ;AAAA,MACN,MAAM;AAAA;AACR,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,QAAQ;AAAA,MACN,MAAM;AAAA;AACR,IACA,YAAY;AAAA,MACV,MAAM;AAAA;AACR,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,oBAAoB;AAAA,MAClB,MAAM;AAAA,MACN,SAAS;AAAA;AACX,IACA,MAAM;AAAA,MACJ,M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BAAe;AAAA;UACvCM,mBAKM;YALA,OAAKN,kBAAK,8BAAe;AAAA;YACf,KAAK,uBAAnBK,YAAmD;;cAAvB,QAAQ,KAAK;AAAA,qDACzCP,mBAEWC;8CADN,KAAK,KAAK;;;UAIJ,KAAK,sBAAlBM,YAEQ;;YAFkB,OAAKL,kBAAK,4BAAe;AAAA;6BACjD,MAAc;AAAA,cAAdC,YAAc;;;;;;;;0BAO1BH,mBAEM;;IAFO,IAAE,GAAK;IAAW,MAAK;AAAA,IAAW,OAAKE,kBAAK,0BAAa;AAAA,IAAW,aAAS,wCAAV;OAAkB;;IAChGE,WAAqB;;;;;;;"}
|
|
@@ -1142,7 +1142,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1142
1142
|
scrollHeight: number;
|
|
1143
1143
|
count: number;
|
|
1144
1144
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1145
|
-
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1145
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1146
1146
|
Render: {
|
|
1147
1147
|
(props: import("../base/Render").RenderProps): import("vue").VNodeChild | import("vue/jsx-runtime").JSX.Element;
|
|
1148
1148
|
props: {
|
|
@@ -1281,7 +1281,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1281
1281
|
}, string, {
|
|
1282
1282
|
color: string;
|
|
1283
1283
|
spin: boolean;
|
|
1284
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Record<string, any>;
|
|
1284
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[], any[]> & Record<string, any>;
|
|
1285
1285
|
URoundCheck: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1286
1286
|
ULineEnter: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1287
1287
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -396,6 +396,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
396
396
|
}, null, 8, ["text"])
|
|
397
397
|
])
|
|
398
398
|
]),
|
|
399
|
+
top: withCtx(() => [
|
|
400
|
+
renderSlot(_ctx.$slots, "top")
|
|
401
|
+
]),
|
|
399
402
|
_: 3
|
|
400
403
|
}, 8, ["id", "prefix-cls", "open", "width", "multiple", "multiple-limit", "options", "values", "search-value", "default-active-first", "height", "item-height", "size", "select-all", "color", "direction", "title-key", "onSelect", "onScrollAtTop", "onScrollAtBottom", "onCreateSubmit"])
|
|
401
404
|
]),
|