@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
package/uxd-ui.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @koi-design/uxd-ui@3.2.
|
|
1
|
+
/*! @koi-design/uxd-ui@3.2.8 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('@koi-design/uxd-icon')) :
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
);
|
|
23
23
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
24
24
|
/**
|
|
25
|
-
* @vue/shared v3.5.
|
|
25
|
+
* @vue/shared v3.5.18
|
|
26
26
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
27
27
|
* @license MIT
|
|
28
28
|
**/
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
left: rect.left + scrollLeft - clientLeft
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
|
-
const _sfc_main$
|
|
599
|
+
const _sfc_main$2f = vue.defineComponent({
|
|
600
600
|
name: "UAffix",
|
|
601
601
|
props: affixProps,
|
|
602
602
|
emits: affixEmits,
|
|
@@ -690,9 +690,9 @@
|
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
|
-
const _hoisted_1
|
|
694
|
-
function _sfc_render$
|
|
695
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1
|
|
693
|
+
const _hoisted_1$_ = { ref: "containerRef" };
|
|
694
|
+
function _sfc_render$2d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
695
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
|
|
696
696
|
vue.createElementVNode("div", {
|
|
697
697
|
ref: "pointRef",
|
|
698
698
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -707,7 +707,7 @@
|
|
|
707
707
|
])
|
|
708
708
|
], 512);
|
|
709
709
|
}
|
|
710
|
-
var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
710
|
+
var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["render", _sfc_render$2d], ["__file", "Affix.vue"]]);
|
|
711
711
|
|
|
712
712
|
const UAffix = withInstall(Affix);
|
|
713
713
|
|
|
@@ -731,7 +731,7 @@
|
|
|
731
731
|
click: (ev) => ev instanceof Event
|
|
732
732
|
};
|
|
733
733
|
|
|
734
|
-
const _sfc_main$
|
|
734
|
+
const _sfc_main$2e = vue.defineComponent({
|
|
735
735
|
name: "UIcon",
|
|
736
736
|
props: iconProps,
|
|
737
737
|
emits: iconEmits,
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
};
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
|
-
function _sfc_render$
|
|
776
|
+
function _sfc_render$2c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
777
777
|
return vue.openBlock(), vue.createElementBlock("i", {
|
|
778
778
|
class: vue.normalizeClass([
|
|
779
779
|
{
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
])
|
|
790
790
|
], 6);
|
|
791
791
|
}
|
|
792
|
-
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
792
|
+
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["render", _sfc_render$2c], ["__file", "Icon.vue"]]);
|
|
793
793
|
|
|
794
794
|
const UIcon = withInstall(Icon);
|
|
795
795
|
|
|
@@ -1107,7 +1107,7 @@
|
|
|
1107
1107
|
"update:visible": (v) => typeof v === "boolean"
|
|
1108
1108
|
};
|
|
1109
1109
|
|
|
1110
|
-
const _sfc_main$
|
|
1110
|
+
const _sfc_main$2d = vue.defineComponent({
|
|
1111
1111
|
name: "UAlert",
|
|
1112
1112
|
components: {
|
|
1113
1113
|
UIcon,
|
|
@@ -1170,8 +1170,8 @@
|
|
|
1170
1170
|
};
|
|
1171
1171
|
}
|
|
1172
1172
|
});
|
|
1173
|
-
const _hoisted_1$
|
|
1174
|
-
function _sfc_render$
|
|
1173
|
+
const _hoisted_1$Z = ["data-color"];
|
|
1174
|
+
function _sfc_render$2b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1175
1175
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
1176
1176
|
const _component_URoundClose = vue.resolveComponent("URoundClose");
|
|
1177
1177
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
@@ -1225,12 +1225,12 @@
|
|
|
1225
1225
|
})
|
|
1226
1226
|
])
|
|
1227
1227
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
1228
|
-
], 10, _hoisted_1$
|
|
1228
|
+
], 10, _hoisted_1$Z)) : vue.createCommentVNode("v-if", true)
|
|
1229
1229
|
]),
|
|
1230
1230
|
_: 3
|
|
1231
1231
|
}, 8, ["onAfterLeave"]);
|
|
1232
1232
|
}
|
|
1233
|
-
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1233
|
+
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["render", _sfc_render$2b], ["__file", "Alert.vue"]]);
|
|
1234
1234
|
|
|
1235
1235
|
const UAlert = withInstall(Alert);
|
|
1236
1236
|
|
|
@@ -3506,7 +3506,7 @@
|
|
|
3506
3506
|
}
|
|
3507
3507
|
};
|
|
3508
3508
|
|
|
3509
|
-
const _sfc_main$
|
|
3509
|
+
const _sfc_main$2c = vue.defineComponent({
|
|
3510
3510
|
name: "UForm",
|
|
3511
3511
|
props: formProps,
|
|
3512
3512
|
emits: formEmits,
|
|
@@ -3630,7 +3630,7 @@
|
|
|
3630
3630
|
};
|
|
3631
3631
|
}
|
|
3632
3632
|
});
|
|
3633
|
-
function _sfc_render$
|
|
3633
|
+
function _sfc_render$2a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3634
3634
|
return vue.openBlock(), vue.createElementBlock("form", {
|
|
3635
3635
|
class: vue.normalizeClass([
|
|
3636
3636
|
_ctx.prefixCls,
|
|
@@ -3646,7 +3646,7 @@
|
|
|
3646
3646
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3647
3647
|
], 34);
|
|
3648
3648
|
}
|
|
3649
|
-
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3649
|
+
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["render", _sfc_render$2a], ["__file", "Form.vue"]]);
|
|
3650
3650
|
|
|
3651
3651
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
3652
3652
|
var freeGlobal$1 = freeGlobal;
|
|
@@ -7518,7 +7518,7 @@
|
|
|
7518
7518
|
if (stateWidth !== _width || stateHeight !== _height) {
|
|
7519
7519
|
stateWidth = _width;
|
|
7520
7520
|
stateHeight = _height;
|
|
7521
|
-
emit("resize", { widht: _width, height: _height });
|
|
7521
|
+
emit("resize", { widht: _width, width: _width, height: _height });
|
|
7522
7522
|
}
|
|
7523
7523
|
};
|
|
7524
7524
|
const destroyObserver = () => {
|
|
@@ -7565,7 +7565,7 @@
|
|
|
7565
7565
|
}
|
|
7566
7566
|
});
|
|
7567
7567
|
|
|
7568
|
-
const _sfc_main$
|
|
7568
|
+
const _sfc_main$2b = vue.defineComponent({
|
|
7569
7569
|
name: "ListContent",
|
|
7570
7570
|
components: {
|
|
7571
7571
|
ResizeObserver: ResizeObserver$1
|
|
@@ -7623,7 +7623,7 @@
|
|
|
7623
7623
|
};
|
|
7624
7624
|
}
|
|
7625
7625
|
});
|
|
7626
|
-
function _sfc_render$
|
|
7626
|
+
function _sfc_render$29(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7627
7627
|
const _component_ResizeObserver = vue.resolveComponent("ResizeObserver");
|
|
7628
7628
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
7629
7629
|
ref: _ctx.contentRef,
|
|
@@ -7644,7 +7644,7 @@
|
|
|
7644
7644
|
}, 8, ["onResize"])
|
|
7645
7645
|
], 4);
|
|
7646
7646
|
}
|
|
7647
|
-
var ListContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7647
|
+
var ListContent = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$29], ["__file", "ListContent.vue"]]);
|
|
7648
7648
|
|
|
7649
7649
|
const ListItem$2 = ({
|
|
7650
7650
|
itemRef
|
|
@@ -7769,7 +7769,7 @@
|
|
|
7769
7769
|
function getPageY(e) {
|
|
7770
7770
|
return "touches" in e ? e.touches[0].pageY : e.pageY;
|
|
7771
7771
|
}
|
|
7772
|
-
const _sfc_main$
|
|
7772
|
+
const _sfc_main$2a = vue.defineComponent({
|
|
7773
7773
|
name: "VirtualScrollBar",
|
|
7774
7774
|
props: {
|
|
7775
7775
|
prefixCls: {
|
|
@@ -7917,7 +7917,7 @@
|
|
|
7917
7917
|
};
|
|
7918
7918
|
}
|
|
7919
7919
|
});
|
|
7920
|
-
function _sfc_render$
|
|
7920
|
+
function _sfc_render$28(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7921
7921
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
7922
7922
|
ref: "scrollBarRef",
|
|
7923
7923
|
class: vue.normalizeClass(`${_ctx.prefixCls}-scrollbar`),
|
|
@@ -7959,7 +7959,7 @@
|
|
|
7959
7959
|
}, null, 38)
|
|
7960
7960
|
], 38);
|
|
7961
7961
|
}
|
|
7962
|
-
var VirtualScrollBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7962
|
+
var VirtualScrollBar = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["render", _sfc_render$28], ["__file", "VirtualScrollBar.vue"]]);
|
|
7963
7963
|
|
|
7964
7964
|
function useHeight(getKey, useVirtual, props, state, contentRef) {
|
|
7965
7965
|
const instance = /* @__PURE__ */ new Map();
|
|
@@ -8197,7 +8197,7 @@
|
|
|
8197
8197
|
};
|
|
8198
8198
|
}
|
|
8199
8199
|
|
|
8200
|
-
const _sfc_main$
|
|
8200
|
+
const _sfc_main$29 = vue.defineComponent({
|
|
8201
8201
|
name: "UVirtualList",
|
|
8202
8202
|
components: {
|
|
8203
8203
|
ListContent,
|
|
@@ -8398,7 +8398,7 @@
|
|
|
8398
8398
|
};
|
|
8399
8399
|
}
|
|
8400
8400
|
});
|
|
8401
|
-
function _sfc_render$
|
|
8401
|
+
function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8402
8402
|
const _component_ListItem = vue.resolveComponent("ListItem");
|
|
8403
8403
|
const _component_ListContent = vue.resolveComponent("ListContent");
|
|
8404
8404
|
const _component_VirtualScrollBar = vue.resolveComponent("VirtualScrollBar");
|
|
@@ -8449,7 +8449,7 @@
|
|
|
8449
8449
|
}, null, 8, ["prefix-cls", "height", "count", "scroll-height", "scroll-top", "onScroll"])) : vue.createCommentVNode("v-if", true)
|
|
8450
8450
|
], 16);
|
|
8451
8451
|
}
|
|
8452
|
-
var VirtualList$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8452
|
+
var VirtualList$1 = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["render", _sfc_render$27], ["__file", "VirtualList.vue"]]);
|
|
8453
8453
|
|
|
8454
8454
|
var VirtualList = withInstall(VirtualList$1);
|
|
8455
8455
|
|
|
@@ -8808,7 +8808,7 @@
|
|
|
8808
8808
|
return desdroyOnClose && animationEnd ? null : renderFunction == null ? void 0 : renderFunction();
|
|
8809
8809
|
}
|
|
8810
8810
|
|
|
8811
|
-
const _sfc_main$
|
|
8811
|
+
const _sfc_main$28 = vue.defineComponent({
|
|
8812
8812
|
name: "OptionList",
|
|
8813
8813
|
components: {
|
|
8814
8814
|
VirtualList,
|
|
@@ -9058,9 +9058,9 @@
|
|
|
9058
9058
|
};
|
|
9059
9059
|
}
|
|
9060
9060
|
});
|
|
9061
|
-
const _hoisted_1$
|
|
9062
|
-
const _hoisted_2$
|
|
9063
|
-
function _sfc_render$
|
|
9061
|
+
const _hoisted_1$Y = ["title", "onMousemove", "onClick"];
|
|
9062
|
+
const _hoisted_2$p = ["id"];
|
|
9063
|
+
function _sfc_render$26(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9064
9064
|
const _component_u_checkbox = vue.resolveComponent("u-checkbox");
|
|
9065
9065
|
const _component_URoundCheck = vue.resolveComponent("URoundCheck");
|
|
9066
9066
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
@@ -9087,6 +9087,7 @@
|
|
|
9087
9087
|
_: 1
|
|
9088
9088
|
}, 8, ["class", "model-value", "indeterminate", "disabled", "onChange"])
|
|
9089
9089
|
], 34)) : vue.createCommentVNode("v-if", true),
|
|
9090
|
+
vue.renderSlot(_ctx.$slots, "top"),
|
|
9090
9091
|
vue.createVNode(_component_VirtualList, {
|
|
9091
9092
|
ref: "listRef",
|
|
9092
9093
|
"prefix-cls": `${_ctx.prefixCls}-dropdown-list`,
|
|
@@ -9167,7 +9168,7 @@
|
|
|
9167
9168
|
]),
|
|
9168
9169
|
_: 1
|
|
9169
9170
|
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
9170
|
-
], 46, _hoisted_1$
|
|
9171
|
+
], 46, _hoisted_1$Y))
|
|
9171
9172
|
]),
|
|
9172
9173
|
_: 1
|
|
9173
9174
|
}, 8, ["prefix-cls", "data", "height", "item-height", "virtual", "data-color", "onScrollAtTop", "onScrollAtBottom"])
|
|
@@ -9180,9 +9181,9 @@
|
|
|
9180
9181
|
}, ["prevent"]))
|
|
9181
9182
|
}, [
|
|
9182
9183
|
vue.renderSlot(_ctx.$slots, "empty")
|
|
9183
|
-
], 42, _hoisted_2$
|
|
9184
|
+
], 42, _hoisted_2$p));
|
|
9184
9185
|
}
|
|
9185
|
-
var DropdownMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9186
|
+
var DropdownMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["render", _sfc_render$26], ["__file", "DropdownMenu.vue"]]);
|
|
9186
9187
|
|
|
9187
9188
|
const getInnerText = (children) => {
|
|
9188
9189
|
if (children && children.length > 0) {
|
|
@@ -9549,7 +9550,7 @@
|
|
|
9549
9550
|
select: (val) => typeof val === "string"
|
|
9550
9551
|
};
|
|
9551
9552
|
|
|
9552
|
-
const _sfc_main$
|
|
9553
|
+
const _sfc_main$27 = vue.defineComponent({
|
|
9553
9554
|
name: "UAutoComplete",
|
|
9554
9555
|
components: {
|
|
9555
9556
|
Popup,
|
|
@@ -9676,7 +9677,7 @@
|
|
|
9676
9677
|
};
|
|
9677
9678
|
}
|
|
9678
9679
|
});
|
|
9679
|
-
function _sfc_render$
|
|
9680
|
+
function _sfc_render$25(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9680
9681
|
const _component_UInput = vue.resolveComponent("UInput");
|
|
9681
9682
|
const _component_ULineLoading = vue.resolveComponent("ULineLoading");
|
|
9682
9683
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
@@ -9754,7 +9755,7 @@
|
|
|
9754
9755
|
}, 8, ["prefix-cls", "visible", "popup-class", "popup-style", "click-outside"])
|
|
9755
9756
|
], 2);
|
|
9756
9757
|
}
|
|
9757
|
-
var AutoComplete = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9758
|
+
var AutoComplete = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render", _sfc_render$25], ["__file", "AutoComplete.vue"]]);
|
|
9758
9759
|
|
|
9759
9760
|
const selectProps = {
|
|
9760
9761
|
modelValue: {
|
|
@@ -9823,7 +9824,7 @@
|
|
|
9823
9824
|
type: Function
|
|
9824
9825
|
},
|
|
9825
9826
|
maxTagTextLength: {
|
|
9826
|
-
type: Number
|
|
9827
|
+
type: [Number, String]
|
|
9827
9828
|
},
|
|
9828
9829
|
tagRender: {
|
|
9829
9830
|
type: Function
|
|
@@ -10101,7 +10102,7 @@
|
|
|
10101
10102
|
change: (href, ev) => typeof href === "string" && ev instanceof Event
|
|
10102
10103
|
};
|
|
10103
10104
|
|
|
10104
|
-
const _sfc_main$
|
|
10105
|
+
const _sfc_main$26 = vue.defineComponent({
|
|
10105
10106
|
name: "UAnchor",
|
|
10106
10107
|
props: anchorProps,
|
|
10107
10108
|
emits: anchorEmits,
|
|
@@ -10301,7 +10302,7 @@
|
|
|
10301
10302
|
};
|
|
10302
10303
|
}
|
|
10303
10304
|
});
|
|
10304
|
-
function _sfc_render$
|
|
10305
|
+
function _sfc_render$24(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10305
10306
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.wrapperComponent), {
|
|
10306
10307
|
container: _ctx.container,
|
|
10307
10308
|
"offset-top": _ctx.offsetTop,
|
|
@@ -10333,9 +10334,9 @@
|
|
|
10333
10334
|
_: 3
|
|
10334
10335
|
}, 40, ["container", "offset-top", "offset-bottom", "onOnChange"]);
|
|
10335
10336
|
}
|
|
10336
|
-
var Anchor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10337
|
+
var Anchor = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["render", _sfc_render$24], ["__file", "Anchor.vue"]]);
|
|
10337
10338
|
|
|
10338
|
-
const _sfc_main$
|
|
10339
|
+
const _sfc_main$25 = vue.defineComponent({
|
|
10339
10340
|
name: "UAnchorLink",
|
|
10340
10341
|
props: anchorLinkProps,
|
|
10341
10342
|
emits: anchorLinkEmits,
|
|
@@ -10374,8 +10375,8 @@
|
|
|
10374
10375
|
};
|
|
10375
10376
|
}
|
|
10376
10377
|
});
|
|
10377
|
-
const _hoisted_1$
|
|
10378
|
-
function _sfc_render$
|
|
10378
|
+
const _hoisted_1$X = ["href", "data-scroll-offset", "data-href", "title"];
|
|
10379
|
+
function _sfc_render$23(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10379
10380
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
10380
10381
|
class: vue.normalizeClass([`${_ctx.prefixCls}`, { [`${_ctx.prefixCls}-active`]: !!_ctx.anchorLinkClasses }])
|
|
10381
10382
|
}, [
|
|
@@ -10386,11 +10387,11 @@
|
|
|
10386
10387
|
"data-href": _ctx.href,
|
|
10387
10388
|
title: _ctx.title,
|
|
10388
10389
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => _ctx.goAnchor && _ctx.goAnchor(...args), ["prevent"]))
|
|
10389
|
-
}, vue.toDisplayString(_ctx.title), 11, _hoisted_1$
|
|
10390
|
+
}, vue.toDisplayString(_ctx.title), 11, _hoisted_1$X),
|
|
10390
10391
|
vue.renderSlot(_ctx.$slots, "default")
|
|
10391
10392
|
], 2);
|
|
10392
10393
|
}
|
|
10393
|
-
var AnchorLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10394
|
+
var AnchorLink = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$23], ["__file", "AnchorLink.vue"]]);
|
|
10394
10395
|
|
|
10395
10396
|
const UAnchor = withInstall(Anchor, { Link: AnchorLink });
|
|
10396
10397
|
|
|
@@ -10424,7 +10425,7 @@
|
|
|
10424
10425
|
};
|
|
10425
10426
|
|
|
10426
10427
|
const sizeList = ["small", "large", "default"];
|
|
10427
|
-
const _sfc_main$
|
|
10428
|
+
const _sfc_main$24 = vue.defineComponent({
|
|
10428
10429
|
name: "UAvatar",
|
|
10429
10430
|
components: {
|
|
10430
10431
|
UIcon
|
|
@@ -10496,8 +10497,8 @@
|
|
|
10496
10497
|
};
|
|
10497
10498
|
}
|
|
10498
10499
|
});
|
|
10499
|
-
const _hoisted_1$
|
|
10500
|
-
function _sfc_render$
|
|
10500
|
+
const _hoisted_1$W = ["src"];
|
|
10501
|
+
function _sfc_render$22(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10501
10502
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
10502
10503
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
10503
10504
|
ref: "avatar",
|
|
@@ -10516,7 +10517,7 @@
|
|
|
10516
10517
|
key: 0,
|
|
10517
10518
|
src: _ctx.src,
|
|
10518
10519
|
onError: _cache[0] || (_cache[0] = (...args) => _ctx.handleError && _ctx.handleError(...args))
|
|
10519
|
-
}, null, 40, _hoisted_1$
|
|
10520
|
+
}, null, 40, _hoisted_1$W)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(_component_UIcon, { key: 1 }, {
|
|
10520
10521
|
default: vue.withCtx(() => [
|
|
10521
10522
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
|
|
10522
10523
|
]),
|
|
@@ -10531,7 +10532,7 @@
|
|
|
10531
10532
|
], 6))
|
|
10532
10533
|
], 6);
|
|
10533
10534
|
}
|
|
10534
|
-
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10535
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["render", _sfc_render$22], ["__file", "Avatar.vue"]]);
|
|
10535
10536
|
|
|
10536
10537
|
const popoverTrigger = ["hover", "focus", "click", "contextmenu"];
|
|
10537
10538
|
const popoverType = ["popover", "popConfirm"];
|
|
@@ -10599,7 +10600,7 @@
|
|
|
10599
10600
|
"update:visible": (v) => typeof v === "boolean"
|
|
10600
10601
|
};
|
|
10601
10602
|
|
|
10602
|
-
const _sfc_main$
|
|
10603
|
+
const _sfc_main$23 = vue.defineComponent({
|
|
10603
10604
|
name: "UPopover",
|
|
10604
10605
|
components: {
|
|
10605
10606
|
Popup
|
|
@@ -10682,7 +10683,7 @@
|
|
|
10682
10683
|
};
|
|
10683
10684
|
}
|
|
10684
10685
|
});
|
|
10685
|
-
function _sfc_render$
|
|
10686
|
+
function _sfc_render$21(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10686
10687
|
const _component_Popup = vue.resolveComponent("Popup");
|
|
10687
10688
|
return _ctx.disabled ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_Popup, {
|
|
10688
10689
|
key: 1,
|
|
@@ -10739,7 +10740,7 @@
|
|
|
10739
10740
|
_: 3
|
|
10740
10741
|
}, 8, ["class", "style", "prefix-cls", "popup-class", "popup-style", "visible", "placement", "trigger", "mouse-enter-delay", "offset", "destroy-popup-on-hide", "onPopupVisibleChange"]));
|
|
10741
10742
|
}
|
|
10742
|
-
var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10743
|
+
var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$21], ["__file", "Popover.vue"]]);
|
|
10743
10744
|
|
|
10744
10745
|
var AvatarGroup = vue.defineComponent({
|
|
10745
10746
|
name: "UAvatarGroup",
|
|
@@ -10815,7 +10816,7 @@
|
|
|
10815
10816
|
}
|
|
10816
10817
|
};
|
|
10817
10818
|
|
|
10818
|
-
const _sfc_main$
|
|
10819
|
+
const _sfc_main$22 = vue.defineComponent({
|
|
10819
10820
|
name: "UBackTop",
|
|
10820
10821
|
components: {
|
|
10821
10822
|
UIcon,
|
|
@@ -10882,7 +10883,7 @@
|
|
|
10882
10883
|
};
|
|
10883
10884
|
}
|
|
10884
10885
|
});
|
|
10885
|
-
function _sfc_render$
|
|
10886
|
+
function _sfc_render$20(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10886
10887
|
const _component_ULineUp = vue.resolveComponent("ULineUp");
|
|
10887
10888
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
10888
10889
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -10904,7 +10905,7 @@
|
|
|
10904
10905
|
])
|
|
10905
10906
|
], 6);
|
|
10906
10907
|
}
|
|
10907
|
-
var BackTop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10908
|
+
var BackTop = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$20], ["__file", "BackTop.vue"]]);
|
|
10908
10909
|
|
|
10909
10910
|
const UBackTop = withInstall(BackTop);
|
|
10910
10911
|
|
|
@@ -10953,7 +10954,7 @@
|
|
|
10953
10954
|
};
|
|
10954
10955
|
|
|
10955
10956
|
const initColorList = colorType.toString().split(",");
|
|
10956
|
-
const _sfc_main$
|
|
10957
|
+
const _sfc_main$21 = vue.defineComponent({
|
|
10957
10958
|
name: "UBadge",
|
|
10958
10959
|
props: badgeProps,
|
|
10959
10960
|
setup(props) {
|
|
@@ -11045,10 +11046,10 @@
|
|
|
11045
11046
|
};
|
|
11046
11047
|
}
|
|
11047
11048
|
});
|
|
11048
|
-
const _hoisted_1$
|
|
11049
|
-
const _hoisted_2$
|
|
11050
|
-
const _hoisted_3$
|
|
11051
|
-
function _sfc_render$
|
|
11049
|
+
const _hoisted_1$V = ["data-color"];
|
|
11050
|
+
const _hoisted_2$o = { class: "uui-badge-status-text" };
|
|
11051
|
+
const _hoisted_3$6 = ["data-color"];
|
|
11052
|
+
function _sfc_render$1$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11052
11053
|
return _ctx.dot ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11053
11054
|
key: 0,
|
|
11054
11055
|
class: vue.normalizeClass(_ctx.prefixCls)
|
|
@@ -11074,8 +11075,8 @@
|
|
|
11074
11075
|
]),
|
|
11075
11076
|
"data-color": _ctx.computedColor,
|
|
11076
11077
|
style: vue.normalizeStyle(_ctx.statusStyles)
|
|
11077
|
-
}, null, 14, _hoisted_1$
|
|
11078
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
11078
|
+
}, null, 14, _hoisted_1$V),
|
|
11079
|
+
vue.createElementVNode("span", _hoisted_2$o, [
|
|
11079
11080
|
vue.renderSlot(_ctx.$slots, "text", {}, () => [
|
|
11080
11081
|
vue.createTextVNode(vue.toDisplayString(_ctx.text), 1)
|
|
11081
11082
|
])
|
|
@@ -11113,12 +11114,12 @@
|
|
|
11113
11114
|
vue.renderSlot(_ctx.$slots, "text", {}, () => [
|
|
11114
11115
|
vue.createTextVNode(vue.toDisplayString(_ctx.finalCount), 1)
|
|
11115
11116
|
])
|
|
11116
|
-
], 14, _hoisted_3$
|
|
11117
|
+
], 14, _hoisted_3$6)), [
|
|
11117
11118
|
[vue.vShow, _ctx.badgeShow]
|
|
11118
11119
|
]) : vue.createCommentVNode("v-if", true)
|
|
11119
11120
|
], 2));
|
|
11120
11121
|
}
|
|
11121
|
-
var Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11122
|
+
var Badge = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$1$], ["__file", "Badge.vue"]]);
|
|
11122
11123
|
|
|
11123
11124
|
const UBadge = withInstall(Badge);
|
|
11124
11125
|
|
|
@@ -11318,7 +11319,7 @@
|
|
|
11318
11319
|
};
|
|
11319
11320
|
|
|
11320
11321
|
let guid$1 = -1;
|
|
11321
|
-
const _sfc_main$
|
|
11322
|
+
const _sfc_main$20 = vue.defineComponent({
|
|
11322
11323
|
name: "USubMenu",
|
|
11323
11324
|
components: {
|
|
11324
11325
|
Popup,
|
|
@@ -11451,11 +11452,11 @@
|
|
|
11451
11452
|
};
|
|
11452
11453
|
}
|
|
11453
11454
|
});
|
|
11454
|
-
const _hoisted_1$
|
|
11455
|
-
const _hoisted_2$
|
|
11456
|
-
const _hoisted_3$
|
|
11455
|
+
const _hoisted_1$U = ["aria-expanded", "aria-owns"];
|
|
11456
|
+
const _hoisted_2$n = ["id"];
|
|
11457
|
+
const _hoisted_3$5 = ["data-color", "aria-owns"];
|
|
11457
11458
|
const _hoisted_4$2 = ["id"];
|
|
11458
|
-
function _sfc_render$
|
|
11459
|
+
function _sfc_render$1_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11459
11460
|
const _component_ULineDown = vue.resolveComponent("ULineDown");
|
|
11460
11461
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
11461
11462
|
const _component_CollapseTransition = vue.resolveComponent("CollapseTransition");
|
|
@@ -11493,7 +11494,7 @@
|
|
|
11493
11494
|
]),
|
|
11494
11495
|
_: 1
|
|
11495
11496
|
}, 8, ["class"])
|
|
11496
|
-
], 14, _hoisted_1$
|
|
11497
|
+
], 14, _hoisted_1$U),
|
|
11497
11498
|
vue.createCommentVNode(' <transition name="slide-up"> '),
|
|
11498
11499
|
vue.createVNode(_component_CollapseTransition, { appear: "" }, {
|
|
11499
11500
|
default: vue.withCtx(() => [
|
|
@@ -11503,7 +11504,7 @@
|
|
|
11503
11504
|
style: vue.normalizeStyle(_ctx.subMenuStyle)
|
|
11504
11505
|
}, [
|
|
11505
11506
|
vue.renderSlot(_ctx.$slots, "default")
|
|
11506
|
-
], 14, _hoisted_2$
|
|
11507
|
+
], 14, _hoisted_2$n), [
|
|
11507
11508
|
[vue.vShow, _ctx.isOpen]
|
|
11508
11509
|
])
|
|
11509
11510
|
]),
|
|
@@ -11555,13 +11556,13 @@
|
|
|
11555
11556
|
]),
|
|
11556
11557
|
_: 1
|
|
11557
11558
|
}, 8, ["class"])
|
|
11558
|
-
], 10, _hoisted_3$
|
|
11559
|
+
], 10, _hoisted_3$5)
|
|
11559
11560
|
]),
|
|
11560
11561
|
_: 3
|
|
11561
11562
|
}, 8, ["aria-owns", "popup-class", "prefix", "placement", "offset", "trigger", "mouse-enter-delay", "mouse-leave-delay", "transition-name", "get-popup-container", "onPopupVisibleChange", "onClick"]))
|
|
11562
11563
|
], 2);
|
|
11563
11564
|
}
|
|
11564
|
-
var SubMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11565
|
+
var SubMenu = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["render", _sfc_render$1_], ["__file", "SubMenu.vue"]]);
|
|
11565
11566
|
|
|
11566
11567
|
const FLOAT_PRECISION_ADJUST = 0.5;
|
|
11567
11568
|
const getWidth$1 = (elem) => {
|
|
@@ -11951,7 +11952,7 @@
|
|
|
11951
11952
|
"update:visible": (v) => typeof v === "boolean"
|
|
11952
11953
|
};
|
|
11953
11954
|
|
|
11954
|
-
const _sfc_main$
|
|
11955
|
+
const _sfc_main$1$ = vue.defineComponent({
|
|
11955
11956
|
name: "UTooltip",
|
|
11956
11957
|
components: {
|
|
11957
11958
|
Popup
|
|
@@ -12024,9 +12025,9 @@
|
|
|
12024
12025
|
};
|
|
12025
12026
|
}
|
|
12026
12027
|
});
|
|
12027
|
-
const _hoisted_1$
|
|
12028
|
-
const _hoisted_2$
|
|
12029
|
-
function _sfc_render$
|
|
12028
|
+
const _hoisted_1$T = ["data-color"];
|
|
12029
|
+
const _hoisted_2$m = ["data-color"];
|
|
12030
|
+
function _sfc_render$1Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12030
12031
|
const _component_Popup = vue.resolveComponent("Popup");
|
|
12031
12032
|
return _ctx.disabled ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_Popup, vue.mergeProps({
|
|
12032
12033
|
key: 1,
|
|
@@ -12048,7 +12049,7 @@
|
|
|
12048
12049
|
class: vue.normalizeClass(`${_ctx.prefixCls}-arrow`),
|
|
12049
12050
|
"data-color": _ctx.color,
|
|
12050
12051
|
style: vue.normalizeStyle(_ctx.arrowStyle)
|
|
12051
|
-
}, null, 14, _hoisted_1$
|
|
12052
|
+
}, null, 14, _hoisted_1$T),
|
|
12052
12053
|
vue.createElementVNode("div", {
|
|
12053
12054
|
ref: "innerRef",
|
|
12054
12055
|
class: vue.normalizeClass(`${_ctx.prefixCls}-inner`),
|
|
@@ -12058,7 +12059,7 @@
|
|
|
12058
12059
|
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
12059
12060
|
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
12060
12061
|
])
|
|
12061
|
-
], 10, _hoisted_2$
|
|
12062
|
+
], 10, _hoisted_2$m)
|
|
12062
12063
|
]),
|
|
12063
12064
|
default: vue.withCtx(() => [
|
|
12064
12065
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -12066,12 +12067,12 @@
|
|
|
12066
12067
|
_: 3
|
|
12067
12068
|
}, 16, ["prefix-cls", "popup-class", "popup-style", "visible", "placement", "trigger", "offset", "mouse-enter-delay", "mouse-leave-delay", "destroy-popup-on-hide", "onPopupVisibleChange"]));
|
|
12068
12069
|
}
|
|
12069
|
-
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12070
|
+
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["render", _sfc_render$1Z], ["__file", "Tooltip.vue"]]);
|
|
12070
12071
|
|
|
12071
12072
|
const UTooltip = withInstall(Tooltip);
|
|
12072
12073
|
|
|
12073
12074
|
let guid = -1;
|
|
12074
|
-
const _sfc_main$
|
|
12075
|
+
const _sfc_main$1_ = vue.defineComponent({
|
|
12075
12076
|
name: "UMenuItem",
|
|
12076
12077
|
components: {
|
|
12077
12078
|
UTooltip
|
|
@@ -12159,8 +12160,8 @@
|
|
|
12159
12160
|
};
|
|
12160
12161
|
}
|
|
12161
12162
|
});
|
|
12162
|
-
const _hoisted_1$
|
|
12163
|
-
function _sfc_render$
|
|
12163
|
+
const _hoisted_1$S = ["data-color"];
|
|
12164
|
+
function _sfc_render$1Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12164
12165
|
const _component_UTooltip = vue.resolveComponent("UTooltip");
|
|
12165
12166
|
return vue.openBlock(), vue.createBlock(_component_UTooltip, {
|
|
12166
12167
|
title: _ctx.title,
|
|
@@ -12186,14 +12187,14 @@
|
|
|
12186
12187
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
12187
12188
|
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
12188
12189
|
])
|
|
12189
|
-
], 16, _hoisted_1$
|
|
12190
|
+
], 16, _hoisted_1$S)
|
|
12190
12191
|
]),
|
|
12191
12192
|
_: 3
|
|
12192
12193
|
}, 8, ["title", "disabled", "class"]);
|
|
12193
12194
|
}
|
|
12194
|
-
var MenuItem$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12195
|
+
var MenuItem$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render", _sfc_render$1Y], ["__file", "MenuItem.vue"]]);
|
|
12195
12196
|
|
|
12196
|
-
const _sfc_main$
|
|
12197
|
+
const _sfc_main$1Z = vue.defineComponent({
|
|
12197
12198
|
name: "UMenuItemGroup",
|
|
12198
12199
|
props: menuItemGroupProps,
|
|
12199
12200
|
setup() {
|
|
@@ -12203,7 +12204,7 @@
|
|
|
12203
12204
|
};
|
|
12204
12205
|
}
|
|
12205
12206
|
});
|
|
12206
|
-
function _sfc_render$
|
|
12207
|
+
function _sfc_render$1X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12207
12208
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
12208
12209
|
class: vue.normalizeClass(`${_ctx.rootPrefixCls}-item-group`)
|
|
12209
12210
|
}, [
|
|
@@ -12221,9 +12222,9 @@
|
|
|
12221
12222
|
], 2)
|
|
12222
12223
|
], 2);
|
|
12223
12224
|
}
|
|
12224
|
-
var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12225
|
+
var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["render", _sfc_render$1X], ["__file", "MenuItemGroup.vue"]]);
|
|
12225
12226
|
|
|
12226
|
-
const _sfc_main$
|
|
12227
|
+
const _sfc_main$1Y = vue.defineComponent({
|
|
12227
12228
|
name: "UMenuDivider",
|
|
12228
12229
|
setup() {
|
|
12229
12230
|
const { rootPrefixCls } = vue.inject("menuStore", {});
|
|
@@ -12232,12 +12233,12 @@
|
|
|
12232
12233
|
};
|
|
12233
12234
|
}
|
|
12234
12235
|
});
|
|
12235
|
-
function _sfc_render$
|
|
12236
|
+
function _sfc_render$1W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12236
12237
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
12237
12238
|
class: vue.normalizeClass([`${_ctx.rootPrefixCls}-item-divider`])
|
|
12238
12239
|
}, null, 2);
|
|
12239
12240
|
}
|
|
12240
|
-
var MenuDivider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12241
|
+
var MenuDivider = /* @__PURE__ */ _export_sfc(_sfc_main$1Y, [["render", _sfc_render$1W], ["__file", "MenuDivider.vue"]]);
|
|
12241
12242
|
|
|
12242
12243
|
const UMenu = withInstall(Menu, {
|
|
12243
12244
|
Item: MenuItem$2,
|
|
@@ -12318,7 +12319,7 @@
|
|
|
12318
12319
|
"update:visible": (v) => typeof v === "boolean"
|
|
12319
12320
|
};
|
|
12320
12321
|
|
|
12321
|
-
const _sfc_main$
|
|
12322
|
+
const _sfc_main$1X = vue.defineComponent({
|
|
12322
12323
|
name: "UDropdown",
|
|
12323
12324
|
components: {
|
|
12324
12325
|
Popup
|
|
@@ -12367,7 +12368,7 @@
|
|
|
12367
12368
|
};
|
|
12368
12369
|
}
|
|
12369
12370
|
});
|
|
12370
|
-
function _sfc_render$
|
|
12371
|
+
function _sfc_render$1V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12371
12372
|
const _component_Popup = vue.resolveComponent("Popup");
|
|
12372
12373
|
return vue.openBlock(), vue.createBlock(_component_Popup, {
|
|
12373
12374
|
placement: _ctx.placement,
|
|
@@ -12401,9 +12402,9 @@
|
|
|
12401
12402
|
_: 3
|
|
12402
12403
|
}, 8, ["placement", "prefix-cls", "class", "disabled", "style", "offset", "visible", "trigger", "popup-class", "popup-style", "mouse-enter-delay", "mouse-leave-delay", "transition-name", "destroy-popup-on-hide", "get-popup-container", "modifiers", "onPopupVisibleChange"]);
|
|
12403
12404
|
}
|
|
12404
|
-
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12405
|
+
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["render", _sfc_render$1V], ["__file", "Dropdown.vue"]]);
|
|
12405
12406
|
|
|
12406
|
-
function _isSlot$
|
|
12407
|
+
function _isSlot$6(s) {
|
|
12407
12408
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12408
12409
|
}
|
|
12409
12410
|
var DropdownMenu = vue.defineComponent({
|
|
@@ -12467,7 +12468,7 @@
|
|
|
12467
12468
|
let _slot;
|
|
12468
12469
|
return vue.createVNode(UMenu.ItemGroup, {
|
|
12469
12470
|
"title": m.title
|
|
12470
|
-
}, _isSlot$
|
|
12471
|
+
}, _isSlot$6(_slot = m.children.map(renderItem)) ? _slot : {
|
|
12471
12472
|
default: () => [_slot]
|
|
12472
12473
|
});
|
|
12473
12474
|
}
|
|
@@ -12514,7 +12515,7 @@
|
|
|
12514
12515
|
[`${prefixCls}-menu-with-icon`]: this.icon
|
|
12515
12516
|
},
|
|
12516
12517
|
"style": this.style
|
|
12517
|
-
}, _isSlot$
|
|
12518
|
+
}, _isSlot$6(menus) ? menus : {
|
|
12518
12519
|
default: () => [menus]
|
|
12519
12520
|
});
|
|
12520
12521
|
}
|
|
@@ -12603,7 +12604,7 @@
|
|
|
12603
12604
|
}
|
|
12604
12605
|
};
|
|
12605
12606
|
|
|
12606
|
-
const _sfc_main$
|
|
12607
|
+
const _sfc_main$1W = vue.defineComponent({
|
|
12607
12608
|
name: "UButton",
|
|
12608
12609
|
components: {
|
|
12609
12610
|
UIcon
|
|
@@ -12645,18 +12646,18 @@
|
|
|
12645
12646
|
};
|
|
12646
12647
|
}
|
|
12647
12648
|
});
|
|
12648
|
-
const _hoisted_1$
|
|
12649
|
-
const _hoisted_2$
|
|
12649
|
+
const _hoisted_1$R = ["data-color", "type", "disabled"];
|
|
12650
|
+
const _hoisted_2$l = {
|
|
12650
12651
|
width: "24",
|
|
12651
12652
|
height: "24",
|
|
12652
12653
|
viewBox: "0 0 24 24",
|
|
12653
12654
|
xmlns: "http://www.w3.org/2000/svg"
|
|
12654
12655
|
};
|
|
12655
|
-
const _hoisted_3$
|
|
12656
|
+
const _hoisted_3$4 = { "clip-path": "url(#clip0_165_1518)" };
|
|
12656
12657
|
const _hoisted_4$1 = ["fill"];
|
|
12657
12658
|
const _hoisted_5 = ["id"];
|
|
12658
12659
|
const _hoisted_6 = { key: 2 };
|
|
12659
|
-
function _sfc_render$
|
|
12660
|
+
function _sfc_render$1U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12660
12661
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
12661
12662
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
12662
12663
|
ref: "buttonRef",
|
|
@@ -12686,8 +12687,8 @@
|
|
|
12686
12687
|
spin: ""
|
|
12687
12688
|
}, {
|
|
12688
12689
|
default: vue.withCtx(() => [
|
|
12689
|
-
(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$
|
|
12690
|
-
vue.createElementVNode("g", _hoisted_3$
|
|
12690
|
+
(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$l, [
|
|
12691
|
+
vue.createElementVNode("g", _hoisted_3$4, [
|
|
12691
12692
|
vue.createElementVNode("path", {
|
|
12692
12693
|
"fill-rule": "evenodd",
|
|
12693
12694
|
"clip-rule": "evenodd",
|
|
@@ -12731,11 +12732,11 @@
|
|
|
12731
12732
|
_ctx.showSlot ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6, [
|
|
12732
12733
|
vue.renderSlot(_ctx.$slots, "default")
|
|
12733
12734
|
])) : vue.createCommentVNode("v-if", true)
|
|
12734
|
-
], 10, _hoisted_1$
|
|
12735
|
+
], 10, _hoisted_1$R);
|
|
12735
12736
|
}
|
|
12736
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12737
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["render", _sfc_render$1U], ["__file", "Button.vue"]]);
|
|
12737
12738
|
|
|
12738
|
-
const _sfc_main$
|
|
12739
|
+
const _sfc_main$1V = vue.defineComponent({
|
|
12739
12740
|
name: "UButtonGroup",
|
|
12740
12741
|
props: buttonGroupProps,
|
|
12741
12742
|
setup() {
|
|
@@ -12745,7 +12746,7 @@
|
|
|
12745
12746
|
};
|
|
12746
12747
|
}
|
|
12747
12748
|
});
|
|
12748
|
-
function _sfc_render$
|
|
12749
|
+
function _sfc_render$1T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12749
12750
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
12750
12751
|
class: vue.normalizeClass([
|
|
12751
12752
|
`${_ctx.prefixCls}`,
|
|
@@ -12759,7 +12760,7 @@
|
|
|
12759
12760
|
vue.renderSlot(_ctx.$slots, "default")
|
|
12760
12761
|
], 2);
|
|
12761
12762
|
}
|
|
12762
|
-
var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12763
|
+
var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["render", _sfc_render$1T], ["__file", "ButtonGroup.vue"]]);
|
|
12763
12764
|
|
|
12764
12765
|
const UButton = withInstall(Button, {
|
|
12765
12766
|
Group: ButtonGroup
|
|
@@ -12926,7 +12927,7 @@
|
|
|
12926
12927
|
}
|
|
12927
12928
|
});
|
|
12928
12929
|
|
|
12929
|
-
function _isSlot$
|
|
12930
|
+
function _isSlot$5(s) {
|
|
12930
12931
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12931
12932
|
}
|
|
12932
12933
|
const UMenuItem = UMenu.Item;
|
|
@@ -12996,11 +12997,11 @@
|
|
|
12996
12997
|
if (routeChildren && !!routeChildren.length) {
|
|
12997
12998
|
return () => {
|
|
12998
12999
|
let _slot2;
|
|
12999
|
-
return vue.createVNode(UMenu, null, _isSlot$
|
|
13000
|
+
return vue.createVNode(UMenu, null, _isSlot$5(_slot2 = routeChildren.map((routeChild, index) => {
|
|
13000
13001
|
let _slot;
|
|
13001
13002
|
return vue.createVNode(UMenuItem, {
|
|
13002
13003
|
"key": index
|
|
13003
|
-
}, _isSlot$
|
|
13004
|
+
}, _isSlot$5(_slot = renderRouteItem(routeChild)) ? _slot : {
|
|
13004
13005
|
default: () => [_slot]
|
|
13005
13006
|
});
|
|
13006
13007
|
})) ? _slot2 : {
|
|
@@ -13417,7 +13418,7 @@
|
|
|
13417
13418
|
change: (v) => Array.isArray(v) && v.every((x) => x === void 0 || typeof x === "number" || typeof x === "string")
|
|
13418
13419
|
};
|
|
13419
13420
|
|
|
13420
|
-
const _sfc_main$
|
|
13421
|
+
const _sfc_main$1U = vue.defineComponent({
|
|
13421
13422
|
name: "UCheckbox",
|
|
13422
13423
|
components: {
|
|
13423
13424
|
UIcon,
|
|
@@ -13528,9 +13529,9 @@
|
|
|
13528
13529
|
};
|
|
13529
13530
|
}
|
|
13530
13531
|
});
|
|
13531
|
-
const _hoisted_1$
|
|
13532
|
-
const _hoisted_2$
|
|
13533
|
-
function _sfc_render$
|
|
13532
|
+
const _hoisted_1$Q = ["data-color"];
|
|
13533
|
+
const _hoisted_2$k = ["disabled", "checked", "name"];
|
|
13534
|
+
function _sfc_render$1S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13534
13535
|
const _component_USolidCheck = vue.resolveComponent("USolidCheck");
|
|
13535
13536
|
const _component_USolidRemove = vue.resolveComponent("USolidRemove");
|
|
13536
13537
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
@@ -13579,7 +13580,7 @@
|
|
|
13579
13580
|
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
13580
13581
|
onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
13581
13582
|
onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args))
|
|
13582
|
-
}, null, 42, _hoisted_2$
|
|
13583
|
+
}, null, 42, _hoisted_2$k)
|
|
13583
13584
|
], 2),
|
|
13584
13585
|
_ctx.showSlot ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
13585
13586
|
key: 0,
|
|
@@ -13589,11 +13590,11 @@
|
|
|
13589
13590
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
13590
13591
|
])
|
|
13591
13592
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
13592
|
-
], 10, _hoisted_1$
|
|
13593
|
+
], 10, _hoisted_1$Q);
|
|
13593
13594
|
}
|
|
13594
|
-
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13595
|
+
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["render", _sfc_render$1S], ["__file", "Checkbox.vue"]]);
|
|
13595
13596
|
|
|
13596
|
-
const _sfc_main$
|
|
13597
|
+
const _sfc_main$1T = vue.defineComponent({
|
|
13597
13598
|
name: "UCheckboxGroup",
|
|
13598
13599
|
components: {
|
|
13599
13600
|
UIcon,
|
|
@@ -13662,9 +13663,9 @@
|
|
|
13662
13663
|
};
|
|
13663
13664
|
}
|
|
13664
13665
|
});
|
|
13665
|
-
const _hoisted_1$
|
|
13666
|
-
const _hoisted_2$
|
|
13667
|
-
function _sfc_render$
|
|
13666
|
+
const _hoisted_1$P = ["data-color"];
|
|
13667
|
+
const _hoisted_2$j = { key: 0 };
|
|
13668
|
+
function _sfc_render$1R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13668
13669
|
const _component_ULineLoading = vue.resolveComponent("ULineLoading");
|
|
13669
13670
|
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
13670
13671
|
const _component_UCheckbox = vue.resolveComponent("UCheckbox");
|
|
@@ -13676,7 +13677,7 @@
|
|
|
13676
13677
|
"data-color": _ctx.color
|
|
13677
13678
|
}, [
|
|
13678
13679
|
_ctx.hasSlot ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
13679
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
13680
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$j, [
|
|
13680
13681
|
vue.createVNode(_component_UIcon, { spin: "" }, {
|
|
13681
13682
|
default: vue.withCtx(() => [
|
|
13682
13683
|
vue.createVNode(_component_ULineLoading)
|
|
@@ -13685,10 +13686,7 @@
|
|
|
13685
13686
|
}),
|
|
13686
13687
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.loadingText || _ctx.computedLocale.loadingText), 1)
|
|
13687
13688
|
])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(_ctx.options, (item, index) => {
|
|
13688
|
-
return vue.openBlock(), vue.createBlock(_component_UCheckbox, vue.mergeProps({
|
|
13689
|
-
key: index,
|
|
13690
|
-
ref_for: true
|
|
13691
|
-
}, item), {
|
|
13689
|
+
return vue.openBlock(), vue.createBlock(_component_UCheckbox, vue.mergeProps({ key: index }, { ref_for: true }, item), {
|
|
13692
13690
|
default: vue.withCtx(() => [
|
|
13693
13691
|
vue.createTextVNode(vue.toDisplayString(item.label || item.value), 1)
|
|
13694
13692
|
]),
|
|
@@ -13696,16 +13694,16 @@
|
|
|
13696
13694
|
}, 1040);
|
|
13697
13695
|
}), 128))
|
|
13698
13696
|
], 64))
|
|
13699
|
-
], 10, _hoisted_1$
|
|
13697
|
+
], 10, _hoisted_1$P)
|
|
13700
13698
|
], 2);
|
|
13701
13699
|
}
|
|
13702
|
-
var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13700
|
+
var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["render", _sfc_render$1R], ["__file", "CheckboxGroup.vue"]]);
|
|
13703
13701
|
|
|
13704
13702
|
const UCheckbox = withInstall(Checkbox, {
|
|
13705
13703
|
Group: CheckboxGroup
|
|
13706
13704
|
});
|
|
13707
13705
|
|
|
13708
|
-
const _sfc_main$
|
|
13706
|
+
const _sfc_main$1S = vue.defineComponent({
|
|
13709
13707
|
name: "SelectInput",
|
|
13710
13708
|
props: {
|
|
13711
13709
|
inputRef: {
|
|
@@ -13788,8 +13786,8 @@
|
|
|
13788
13786
|
};
|
|
13789
13787
|
}
|
|
13790
13788
|
});
|
|
13791
|
-
const _hoisted_1$
|
|
13792
|
-
function _sfc_render$
|
|
13789
|
+
const _hoisted_1$O = ["id", "aria-expanded", "aria-own", "aria-controls", "aria-activedescendant", "disabled", "tabindex", "autocomplete", "autofocus", "value", "readonly", "unselectable"];
|
|
13790
|
+
function _sfc_render$1Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13793
13791
|
return vue.openBlock(), vue.createElementBlock("input", {
|
|
13794
13792
|
id: _ctx.id,
|
|
13795
13793
|
ref: _ctx.inputRef,
|
|
@@ -13817,11 +13815,11 @@
|
|
|
13817
13815
|
onInput: _cache[5] || (_cache[5] = (...args) => _ctx.onChange && _ctx.onChange(...args)),
|
|
13818
13816
|
onCompositionstart: _cache[6] || (_cache[6] = (...args) => _ctx.onCompositionstart && _ctx.onCompositionstart(...args)),
|
|
13819
13817
|
onCompositionend: _cache[7] || (_cache[7] = (...args) => _ctx.onCompositionend && _ctx.onCompositionend(...args))
|
|
13820
|
-
}, null, 46, _hoisted_1$
|
|
13818
|
+
}, null, 46, _hoisted_1$O);
|
|
13821
13819
|
}
|
|
13822
|
-
var SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13820
|
+
var SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["render", _sfc_render$1Q], ["__file", "Input.vue"]]);
|
|
13823
13821
|
|
|
13824
|
-
const _sfc_main$
|
|
13822
|
+
const _sfc_main$1R = vue.defineComponent({
|
|
13825
13823
|
name: "SingleSeletor",
|
|
13826
13824
|
components: {
|
|
13827
13825
|
Render,
|
|
@@ -13917,8 +13915,8 @@
|
|
|
13917
13915
|
};
|
|
13918
13916
|
}
|
|
13919
13917
|
});
|
|
13920
|
-
const _hoisted_1$
|
|
13921
|
-
function _sfc_render$
|
|
13918
|
+
const _hoisted_1$N = ["title"];
|
|
13919
|
+
function _sfc_render$1P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13922
13920
|
const _component_SelectInput = vue.resolveComponent("SelectInput");
|
|
13923
13921
|
const _component_Render = vue.resolveComponent("Render");
|
|
13924
13922
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
@@ -13948,7 +13946,7 @@
|
|
|
13948
13946
|
vue.createVNode(_component_Render, {
|
|
13949
13947
|
render: _ctx.getRender(_ctx.selectedItem.displayLabel)
|
|
13950
13948
|
}, null, 8, ["render"])
|
|
13951
|
-
], 10, _hoisted_1$
|
|
13949
|
+
], 10, _hoisted_1$N)) : vue.createCommentVNode("v-if", true),
|
|
13952
13950
|
vue.withDirectives(vue.createElementVNode("div", {
|
|
13953
13951
|
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-placeholder`)
|
|
13954
13952
|
}, [
|
|
@@ -13958,361 +13956,518 @@
|
|
|
13958
13956
|
])
|
|
13959
13957
|
], 64);
|
|
13960
13958
|
}
|
|
13961
|
-
var SingleSelection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13959
|
+
var SingleSelection = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$1P], ["__file", "Single.vue"]]);
|
|
13962
13960
|
|
|
13963
13961
|
const UPopover = withInstall(Popover);
|
|
13964
13962
|
|
|
13965
13963
|
const REST_TAG_KEY = "__UUI_SELECT_MAX_REST_COUNT__";
|
|
13964
|
+
function useMultipleBase(props, emit) {
|
|
13965
|
+
const motionAppear = vue.ref(false);
|
|
13966
|
+
const measureRef = vue.ref();
|
|
13967
|
+
const inputWidth = vue.ref(0);
|
|
13968
|
+
const mergedContainerWidth = vue.computed(() => props.containerWrapperWidth || 0);
|
|
13969
|
+
const itemWidths = vue.shallowRef(/* @__PURE__ */ new Map());
|
|
13970
|
+
const suffixWidth = vue.shallowRef(0);
|
|
13971
|
+
const prevRestWidth = vue.shallowRef(0);
|
|
13972
|
+
const restWidth = vue.shallowRef(0);
|
|
13973
|
+
const displayCount = vue.shallowRef(null);
|
|
13974
|
+
const restReady = vue.shallowRef(false);
|
|
13975
|
+
const inputValue = vue.computed(() => {
|
|
13976
|
+
return props.searchValue;
|
|
13977
|
+
});
|
|
13978
|
+
const inputEditable = vue.computed(() => {
|
|
13979
|
+
return props.filterable && props.open;
|
|
13980
|
+
});
|
|
13981
|
+
const showPlaceholder = vue.computed(() => {
|
|
13982
|
+
return !props.values.length && !inputValue.value;
|
|
13983
|
+
});
|
|
13984
|
+
const isNotRender = vue.computed(() => {
|
|
13985
|
+
return !props.tagRender;
|
|
13986
|
+
});
|
|
13987
|
+
const mergedDisplayCount = vue.computed(() => {
|
|
13988
|
+
if (displayCount.value === null) {
|
|
13989
|
+
return Number.MAX_SAFE_INTEGER;
|
|
13990
|
+
}
|
|
13991
|
+
return displayCount.value || 0;
|
|
13992
|
+
});
|
|
13993
|
+
const mergedRestWidth = vue.computed(() => Math.max(prevRestWidth.value, restWidth.value));
|
|
13994
|
+
const omittedItems = vue.computed(() => {
|
|
13995
|
+
return props.values.slice(mergedDisplayCount.value + 1);
|
|
13996
|
+
});
|
|
13997
|
+
const displayRest = vue.computed(() => restReady.value && !!omittedItems.value.length);
|
|
13998
|
+
const baseDisplayValues = vue.computed(() => {
|
|
13999
|
+
const { values, maxTagCount, maxTagTextLength, maxTagPlaceholder } = props;
|
|
14000
|
+
let restCount = 0;
|
|
14001
|
+
let _display = values;
|
|
14002
|
+
if (typeof maxTagCount === "number") {
|
|
14003
|
+
restCount = values.length - maxTagCount;
|
|
14004
|
+
_display = values.slice(0, maxTagCount);
|
|
14005
|
+
}
|
|
14006
|
+
if (typeof maxTagTextLength === "number") {
|
|
14007
|
+
_display = _display.map(({ displayLabel, ...rest }) => {
|
|
14008
|
+
let _label = displayLabel;
|
|
14009
|
+
if (typeof displayLabel === "string" || typeof displayLabel === "number") {
|
|
14010
|
+
const strLabel = String(_label);
|
|
14011
|
+
if (strLabel.length > maxTagTextLength) {
|
|
14012
|
+
_label = `${strLabel.slice(0, maxTagTextLength)}...`;
|
|
14013
|
+
}
|
|
14014
|
+
}
|
|
14015
|
+
return {
|
|
14016
|
+
...rest,
|
|
14017
|
+
displayLabel: _label
|
|
14018
|
+
};
|
|
14019
|
+
});
|
|
14020
|
+
}
|
|
14021
|
+
if (restCount > 0) {
|
|
14022
|
+
const rest = values.slice(maxTagCount);
|
|
14023
|
+
_display.push({
|
|
14024
|
+
key: REST_TAG_KEY,
|
|
14025
|
+
value: REST_TAG_KEY,
|
|
14026
|
+
displayLabel: maxTagPlaceholder(rest)
|
|
14027
|
+
});
|
|
14028
|
+
}
|
|
14029
|
+
return _display;
|
|
14030
|
+
});
|
|
14031
|
+
const overflowDisplayValues = vue.computed(() => {
|
|
14032
|
+
const { maxTagPlaceholder } = props;
|
|
14033
|
+
let items = [];
|
|
14034
|
+
if (props.containerWrapperWidth === null) {
|
|
14035
|
+
items = props.values;
|
|
14036
|
+
} else {
|
|
14037
|
+
items = props.values.slice(0, Math.min(props.values.length, props.containerWrapperWidth / props.itemWidth));
|
|
14038
|
+
}
|
|
14039
|
+
items = [
|
|
14040
|
+
...items,
|
|
14041
|
+
{
|
|
14042
|
+
key: REST_TAG_KEY,
|
|
14043
|
+
value: REST_TAG_KEY,
|
|
14044
|
+
displayLabel: maxTagPlaceholder(omittedItems.value)
|
|
14045
|
+
}
|
|
14046
|
+
];
|
|
14047
|
+
return items;
|
|
14048
|
+
});
|
|
14049
|
+
const displayValues = vue.computed(() => {
|
|
14050
|
+
return props.enableOverflow ? overflowDisplayValues.value : baseDisplayValues.value;
|
|
14051
|
+
});
|
|
14052
|
+
const closable = (item) => {
|
|
14053
|
+
return item.key !== REST_TAG_KEY && !item.disabled;
|
|
14054
|
+
};
|
|
14055
|
+
const onClose = (value, e) => {
|
|
14056
|
+
if (e && e.stopPropagation) {
|
|
14057
|
+
e.stopPropagation();
|
|
14058
|
+
}
|
|
14059
|
+
emit("select", value, { selected: false });
|
|
14060
|
+
};
|
|
14061
|
+
const getItemWidth = (index) => {
|
|
14062
|
+
return itemWidths.value.get(displayValues.value[index].value || displayValues.value[index].key);
|
|
14063
|
+
};
|
|
14064
|
+
const updateDisplayCount = (count, notReady) => {
|
|
14065
|
+
displayCount.value = count;
|
|
14066
|
+
if (!notReady) {
|
|
14067
|
+
restReady.value = count < props.values.length - 1;
|
|
14068
|
+
}
|
|
14069
|
+
};
|
|
14070
|
+
const onOverflowItemResize = ({ width }, item) => {
|
|
14071
|
+
const clone = new Map(itemWidths.value);
|
|
14072
|
+
const key = item.value || item.key;
|
|
14073
|
+
if (key === REST_TAG_KEY) {
|
|
14074
|
+
prevRestWidth.value = restWidth.value;
|
|
14075
|
+
restWidth.value = width;
|
|
14076
|
+
}
|
|
14077
|
+
if (width === null) {
|
|
14078
|
+
clone.delete(key);
|
|
14079
|
+
} else {
|
|
14080
|
+
clone.set(key, width);
|
|
14081
|
+
}
|
|
14082
|
+
itemWidths.value = clone;
|
|
14083
|
+
};
|
|
14084
|
+
const onSuffixResize = ({ width }) => {
|
|
14085
|
+
suffixWidth.value = width;
|
|
14086
|
+
};
|
|
14087
|
+
const onInputMouseDown = () => {
|
|
14088
|
+
emit("input-mousedown");
|
|
14089
|
+
};
|
|
14090
|
+
const onInputChange = (val) => {
|
|
14091
|
+
emit("input-change", val);
|
|
14092
|
+
};
|
|
14093
|
+
const onInputKeydown = (e) => {
|
|
14094
|
+
emit("input-keydown", e);
|
|
14095
|
+
};
|
|
14096
|
+
const onInputCompositionStart = (e) => {
|
|
14097
|
+
emit("input-compositionstart", e);
|
|
14098
|
+
};
|
|
14099
|
+
const onInputCompositionEnd = (e) => {
|
|
14100
|
+
emit("input-compositionend", e);
|
|
14101
|
+
};
|
|
14102
|
+
const onInputPaste = (e) => {
|
|
14103
|
+
emit("input-paste", e);
|
|
14104
|
+
};
|
|
14105
|
+
vue.onMounted(() => {
|
|
14106
|
+
motionAppear.value = true;
|
|
14107
|
+
vue.watch(
|
|
14108
|
+
inputValue,
|
|
14109
|
+
() => {
|
|
14110
|
+
inputWidth.value = measureRef.value.scrollWidth;
|
|
14111
|
+
},
|
|
14112
|
+
{ flush: "post" }
|
|
14113
|
+
);
|
|
14114
|
+
});
|
|
14115
|
+
vue.watch([mergedContainerWidth, itemWidths, restWidth, suffixWidth, displayValues], () => {
|
|
14116
|
+
if (!props.enableOverflow)
|
|
14117
|
+
return;
|
|
14118
|
+
if (mergedContainerWidth.value && mergedRestWidth.value && displayValues.value) {
|
|
14119
|
+
let totalWidth = suffixWidth.value;
|
|
14120
|
+
const len = displayValues.value.filter((item) => item.key !== REST_TAG_KEY).length;
|
|
14121
|
+
const lastIndex = len - 1;
|
|
14122
|
+
if (!len) {
|
|
14123
|
+
updateDisplayCount(0);
|
|
14124
|
+
return;
|
|
14125
|
+
}
|
|
14126
|
+
for (let i = 0; i < len; i += 1) {
|
|
14127
|
+
const currentItemWidth = getItemWidth(i);
|
|
14128
|
+
if (currentItemWidth === void 0) {
|
|
14129
|
+
updateDisplayCount(i - 1, true);
|
|
14130
|
+
break;
|
|
14131
|
+
}
|
|
14132
|
+
totalWidth += currentItemWidth;
|
|
14133
|
+
if (lastIndex === 0 && totalWidth <= mergedContainerWidth.value || i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex) <= mergedContainerWidth.value) {
|
|
14134
|
+
updateDisplayCount(lastIndex);
|
|
14135
|
+
break;
|
|
14136
|
+
} else if (totalWidth + mergedRestWidth.value > mergedContainerWidth.value) {
|
|
14137
|
+
updateDisplayCount(i - 1);
|
|
14138
|
+
break;
|
|
14139
|
+
}
|
|
14140
|
+
}
|
|
14141
|
+
}
|
|
14142
|
+
});
|
|
14143
|
+
return {
|
|
14144
|
+
motionAppear,
|
|
14145
|
+
measureRef,
|
|
14146
|
+
inputWidth,
|
|
14147
|
+
inputValue,
|
|
14148
|
+
inputEditable,
|
|
14149
|
+
showPlaceholder,
|
|
14150
|
+
isNotRender,
|
|
14151
|
+
displayValues,
|
|
14152
|
+
displayRest,
|
|
14153
|
+
mergedDisplayCount,
|
|
14154
|
+
closable,
|
|
14155
|
+
onClose,
|
|
14156
|
+
onOverflowItemResize,
|
|
14157
|
+
onSuffixResize,
|
|
14158
|
+
onInputMouseDown,
|
|
14159
|
+
onInputChange,
|
|
14160
|
+
onInputKeydown,
|
|
14161
|
+
onInputCompositionStart,
|
|
14162
|
+
onInputCompositionEnd,
|
|
14163
|
+
onInputPaste,
|
|
14164
|
+
REST_TAG_KEY,
|
|
14165
|
+
getRender
|
|
14166
|
+
};
|
|
14167
|
+
}
|
|
14168
|
+
|
|
14169
|
+
function _isSlot$4(s) {
|
|
14170
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
14171
|
+
}
|
|
13966
14172
|
const defaultMaxTagPlaceholder = (ommittedValus) => `+ ${ommittedValus.length}...`;
|
|
13967
|
-
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
-
SelectInput,
|
|
13971
|
-
Render,
|
|
13972
|
-
UPopover,
|
|
13973
|
-
UIcon,
|
|
13974
|
-
URoundClose: uxdIcon.URoundClose
|
|
14173
|
+
const multipleBaseProps = {
|
|
14174
|
+
prefixCls: {
|
|
14175
|
+
type: String
|
|
13975
14176
|
},
|
|
13976
|
-
|
|
13977
|
-
|
|
13978
|
-
|
|
13979
|
-
|
|
13980
|
-
|
|
13981
|
-
|
|
13982
|
-
|
|
13983
|
-
|
|
13984
|
-
|
|
13985
|
-
|
|
13986
|
-
|
|
13987
|
-
|
|
13988
|
-
|
|
13989
|
-
|
|
13990
|
-
|
|
13991
|
-
|
|
13992
|
-
|
|
13993
|
-
|
|
13994
|
-
|
|
13995
|
-
|
|
13996
|
-
|
|
13997
|
-
|
|
13998
|
-
|
|
13999
|
-
|
|
14000
|
-
|
|
14001
|
-
|
|
14002
|
-
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
type: Number,
|
|
14022
|
-
default: 99900
|
|
14023
|
-
},
|
|
14024
|
-
tagRender: {
|
|
14025
|
-
type: Function
|
|
14026
|
-
},
|
|
14027
|
-
removeIcon: {
|
|
14028
|
-
type: [String, Object]
|
|
14029
|
-
},
|
|
14030
|
-
isShowTagTooltip: {
|
|
14031
|
-
type: Boolean,
|
|
14032
|
-
default: false
|
|
14033
|
-
},
|
|
14034
|
-
popoverProps: {
|
|
14035
|
-
type: Object,
|
|
14036
|
-
default: () => ({})
|
|
14037
|
-
}
|
|
14177
|
+
values: {
|
|
14178
|
+
type: Array,
|
|
14179
|
+
default: () => []
|
|
14180
|
+
},
|
|
14181
|
+
searchValue: {
|
|
14182
|
+
type: String
|
|
14183
|
+
},
|
|
14184
|
+
filterable: {
|
|
14185
|
+
type: Boolean,
|
|
14186
|
+
default: false
|
|
14187
|
+
},
|
|
14188
|
+
disabled: {
|
|
14189
|
+
type: Boolean,
|
|
14190
|
+
default: void 0
|
|
14191
|
+
},
|
|
14192
|
+
open: {
|
|
14193
|
+
type: Boolean,
|
|
14194
|
+
default: void 0
|
|
14195
|
+
},
|
|
14196
|
+
inputRef: {
|
|
14197
|
+
type: Function
|
|
14198
|
+
},
|
|
14199
|
+
tagTransitionName: {
|
|
14200
|
+
type: String
|
|
14201
|
+
},
|
|
14202
|
+
maxTagCount: {
|
|
14203
|
+
type: Number
|
|
14204
|
+
},
|
|
14205
|
+
maxTagTextLength: {
|
|
14206
|
+
type: [Number, String]
|
|
14207
|
+
},
|
|
14208
|
+
maxTagPlaceholder: {
|
|
14209
|
+
type: Function,
|
|
14210
|
+
default: defaultMaxTagPlaceholder
|
|
14211
|
+
},
|
|
14212
|
+
maxTagTooltip: {
|
|
14213
|
+
type: Boolean,
|
|
14214
|
+
default: false
|
|
14215
|
+
},
|
|
14216
|
+
maxTagTooltipWidth: {
|
|
14217
|
+
type: Number,
|
|
14218
|
+
default: 99900
|
|
14219
|
+
},
|
|
14220
|
+
tagRender: {
|
|
14221
|
+
type: Function
|
|
14038
14222
|
},
|
|
14039
|
-
|
|
14223
|
+
removeIcon: {
|
|
14224
|
+
type: [String, Object]
|
|
14225
|
+
},
|
|
14226
|
+
isShowTagTooltip: {
|
|
14227
|
+
type: Boolean,
|
|
14228
|
+
default: false
|
|
14229
|
+
},
|
|
14230
|
+
popoverProps: {
|
|
14231
|
+
type: Object,
|
|
14232
|
+
default: () => ({})
|
|
14233
|
+
},
|
|
14234
|
+
itemWidth: {
|
|
14235
|
+
type: Number,
|
|
14236
|
+
default: 10
|
|
14237
|
+
},
|
|
14238
|
+
containerWrapperWidth: {
|
|
14239
|
+
type: [Number, null],
|
|
14240
|
+
default: null
|
|
14241
|
+
},
|
|
14242
|
+
enableOverflow: {
|
|
14243
|
+
type: Boolean,
|
|
14244
|
+
default: false
|
|
14245
|
+
}
|
|
14246
|
+
};
|
|
14247
|
+
const multipleBaseEmits = ["select", "input-mousedown", "input-change", "input-keydown", "input-compositionstart", "input-compositionend", "input-paste"];
|
|
14248
|
+
function renderSelectionItem(item, props, {
|
|
14249
|
+
prefixCls,
|
|
14250
|
+
isNotRender,
|
|
14251
|
+
closable,
|
|
14252
|
+
onClose,
|
|
14253
|
+
values,
|
|
14254
|
+
displayRest
|
|
14255
|
+
}) {
|
|
14256
|
+
const {
|
|
14257
|
+
tagRender,
|
|
14258
|
+
removeIcon,
|
|
14259
|
+
maxTagTooltip,
|
|
14260
|
+
maxTagTooltipWidth,
|
|
14261
|
+
popoverProps,
|
|
14262
|
+
isShowTagTooltip
|
|
14263
|
+
} = props;
|
|
14264
|
+
if (isNotRender) {
|
|
14265
|
+
const content = vue.createVNode("span", {
|
|
14266
|
+
"class": {
|
|
14267
|
+
[`${item.class}`]: item.class,
|
|
14268
|
+
[`${prefixCls}-selection-item`]: true,
|
|
14269
|
+
[`${prefixCls}-selection-item-disabled`]: item.disabled
|
|
14270
|
+
}
|
|
14271
|
+
}, [item.key === REST_TAG_KEY && (props.maxTagTextLength !== "responsive" || displayRest) || isShowTagTooltip ? vue.createVNode(UPopover, vue.mergeProps({
|
|
14272
|
+
"disabled": !maxTagTooltip,
|
|
14273
|
+
"trigger": "hover",
|
|
14274
|
+
"dropdown-class": `${prefixCls}-dropdown-tooltip`,
|
|
14275
|
+
"show-arrow": true,
|
|
14276
|
+
"placement": "top"
|
|
14277
|
+
}, popoverProps), {
|
|
14278
|
+
default: () => vue.createVNode("span", {
|
|
14279
|
+
"class": `${prefixCls}-selection-item-content`,
|
|
14280
|
+
"title": item.title
|
|
14281
|
+
}, [getRender(item.displayLabel)()]),
|
|
14282
|
+
content: () => vue.createVNode("div", {
|
|
14283
|
+
"class": `${prefixCls}-selection-tooltip`,
|
|
14284
|
+
"style": {
|
|
14285
|
+
maxWidth: `${maxTagTooltipWidth}px`
|
|
14286
|
+
}
|
|
14287
|
+
}, [values.map((tipItem) => vue.createVNode("span", {
|
|
14288
|
+
"key": tipItem.key,
|
|
14289
|
+
"class": {
|
|
14290
|
+
[`${prefixCls}-selection-item`]: true
|
|
14291
|
+
}
|
|
14292
|
+
}, [vue.createVNode("span", {
|
|
14293
|
+
"class": `${prefixCls}-selection-item-content`,
|
|
14294
|
+
"title": tipItem.title
|
|
14295
|
+
}, [getRender(tipItem.displayLabel)()]), closable(tipItem) && vue.createVNode(UIcon, {
|
|
14296
|
+
"class": `${prefixCls}-selection-item-remove`,
|
|
14297
|
+
"onClick": (e) => onClose(tipItem.value, e)
|
|
14298
|
+
}, {
|
|
14299
|
+
default: () => [vue.createVNode(uxdIcon.URoundClose, null, null)]
|
|
14300
|
+
})]))])
|
|
14301
|
+
}) : vue.createVNode(vue.Fragment, null, [vue.createVNode("span", {
|
|
14302
|
+
"class": `${prefixCls}-selection-item-content`,
|
|
14303
|
+
"title": item.title
|
|
14304
|
+
}, [getRender(item.displayLabel)()]), closable(item) && vue.createVNode(UIcon, {
|
|
14305
|
+
"class": `${prefixCls}-selection-item-remove`,
|
|
14306
|
+
"onClick": (e) => onClose(item.value, e)
|
|
14307
|
+
}, {
|
|
14308
|
+
default: () => [removeIcon ? vue.createVNode(vue.resolveComponent("component"), {
|
|
14309
|
+
"is": removeIcon
|
|
14310
|
+
}, null) : vue.createVNode(uxdIcon.URoundClose, null, null)]
|
|
14311
|
+
})])]);
|
|
14312
|
+
return content;
|
|
14313
|
+
}
|
|
14314
|
+
return vue.createVNode("span", {
|
|
14315
|
+
"class": item.class,
|
|
14316
|
+
"onMousedown": (e) => {
|
|
14317
|
+
e.stopPropagation();
|
|
14318
|
+
e.preventDefault();
|
|
14319
|
+
}
|
|
14320
|
+
}, [tagRender == null ? void 0 : tagRender({
|
|
14321
|
+
...item,
|
|
14322
|
+
closable: closable(item),
|
|
14323
|
+
onClose: (e) => {
|
|
14324
|
+
onClose(item.value, e);
|
|
14325
|
+
}
|
|
14326
|
+
})]);
|
|
14327
|
+
}
|
|
14328
|
+
function renderSearchInput(props, {
|
|
14329
|
+
prefixCls,
|
|
14330
|
+
inputRef,
|
|
14331
|
+
disabled,
|
|
14332
|
+
inputEditable,
|
|
14333
|
+
inputValue,
|
|
14334
|
+
inputWidth,
|
|
14335
|
+
measureRef,
|
|
14336
|
+
onInputMouseDown,
|
|
14337
|
+
onInputChange,
|
|
14338
|
+
onInputKeydown,
|
|
14339
|
+
onInputCompositionStart,
|
|
14340
|
+
onInputCompositionEnd,
|
|
14341
|
+
onInputPaste
|
|
14342
|
+
}) {
|
|
14343
|
+
return vue.createVNode("span", {
|
|
14344
|
+
"class": `${prefixCls}-selection-search`,
|
|
14345
|
+
"style": {
|
|
14346
|
+
width: `${inputWidth}px`
|
|
14347
|
+
}
|
|
14348
|
+
}, [vue.createVNode(SelectInput, {
|
|
14349
|
+
"input-ref": inputRef,
|
|
14350
|
+
"prefix-cls": prefixCls,
|
|
14351
|
+
"autocomplete": "off",
|
|
14352
|
+
"disabled": disabled,
|
|
14353
|
+
"editable": inputEditable,
|
|
14354
|
+
"value": inputValue,
|
|
14355
|
+
"onMousedown": onInputMouseDown,
|
|
14356
|
+
"onChange": onInputChange,
|
|
14357
|
+
"onKeydown": onInputKeydown,
|
|
14358
|
+
"onCompositionstart": onInputCompositionStart,
|
|
14359
|
+
"onCompositionend": onInputCompositionEnd,
|
|
14360
|
+
"onPaste": onInputPaste
|
|
14361
|
+
}, null), vue.createVNode("span", {
|
|
14362
|
+
"ref": measureRef,
|
|
14363
|
+
"class": `${prefixCls}-selection-search-mirror`,
|
|
14364
|
+
"aria-hidden": true
|
|
14365
|
+
}, [inputValue, vue.createTextVNode("\xA0")])]);
|
|
14366
|
+
}
|
|
14367
|
+
function renderPlaceholder(showPlaceholder, prefixCls, slots) {
|
|
14368
|
+
var _a;
|
|
14369
|
+
return showPlaceholder ? vue.createVNode("div", {
|
|
14370
|
+
"class": `${prefixCls}-selection-placeholder`
|
|
14371
|
+
}, [(_a = slots.placeholder) == null ? void 0 : _a.call(slots)]) : null;
|
|
14372
|
+
}
|
|
14373
|
+
var MultipleBase = vue.defineComponent({
|
|
14374
|
+
name: "MultipleBase",
|
|
14375
|
+
props: multipleBaseProps,
|
|
14376
|
+
emits: multipleBaseEmits,
|
|
14040
14377
|
setup(props, {
|
|
14041
|
-
emit
|
|
14378
|
+
emit,
|
|
14379
|
+
slots
|
|
14042
14380
|
}) {
|
|
14043
|
-
const
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
const inputValue = vue.computed(() => {
|
|
14047
|
-
return props.searchValue;
|
|
14048
|
-
});
|
|
14049
|
-
const inputEditable = vue.computed(() => {
|
|
14050
|
-
return props.filterable && props.open;
|
|
14051
|
-
});
|
|
14052
|
-
const showPlaceholder = vue.computed(() => {
|
|
14053
|
-
return !props.values.length && !inputValue.value;
|
|
14054
|
-
});
|
|
14055
|
-
vue.onMounted(() => {
|
|
14056
|
-
motionAppear.value = true;
|
|
14057
|
-
vue.watch(inputValue, () => {
|
|
14058
|
-
inputWidth.value = measureRef.value.scrollWidth;
|
|
14059
|
-
}, {
|
|
14060
|
-
flush: "post"
|
|
14061
|
-
});
|
|
14062
|
-
});
|
|
14063
|
-
const isNotRender = vue.computed(() => {
|
|
14064
|
-
return !props.tagRender;
|
|
14065
|
-
});
|
|
14066
|
-
const displayValues = vue.computed(() => {
|
|
14381
|
+
const baseState = useMultipleBase(props, emit);
|
|
14382
|
+
return () => {
|
|
14383
|
+
let _slot;
|
|
14067
14384
|
const {
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
};
|
|
14095
|
-
});
|
|
14096
|
-
}
|
|
14097
|
-
if (restCount > 0) {
|
|
14098
|
-
const rest = values.slice(maxTagCount);
|
|
14099
|
-
_display.push({
|
|
14100
|
-
key: REST_TAG_KEY,
|
|
14101
|
-
value: REST_TAG_KEY,
|
|
14102
|
-
displayLabel: maxTagPlaceholder(rest)
|
|
14385
|
+
displayValues,
|
|
14386
|
+
isNotRender,
|
|
14387
|
+
closable,
|
|
14388
|
+
onClose,
|
|
14389
|
+
inputValue,
|
|
14390
|
+
inputWidth,
|
|
14391
|
+
measureRef,
|
|
14392
|
+
showPlaceholder,
|
|
14393
|
+
onInputMouseDown,
|
|
14394
|
+
onInputChange,
|
|
14395
|
+
onInputKeydown,
|
|
14396
|
+
onInputCompositionStart,
|
|
14397
|
+
onInputCompositionEnd,
|
|
14398
|
+
onInputPaste,
|
|
14399
|
+
onOverflowItemResize,
|
|
14400
|
+
onSuffixResize,
|
|
14401
|
+
displayRest
|
|
14402
|
+
} = baseState;
|
|
14403
|
+
return vue.createVNode(vue.Fragment, null, [displayValues.value.map((item, index) => {
|
|
14404
|
+
const content = renderSelectionItem(item, props, {
|
|
14405
|
+
prefixCls: props.prefixCls,
|
|
14406
|
+
isNotRender: isNotRender.value,
|
|
14407
|
+
displayRest: displayRest.value,
|
|
14408
|
+
closable,
|
|
14409
|
+
onClose,
|
|
14410
|
+
values: props.values
|
|
14103
14411
|
});
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
|
|
14122
|
-
|
|
14123
|
-
|
|
14124
|
-
|
|
14125
|
-
|
|
14126
|
-
|
|
14127
|
-
|
|
14128
|
-
|
|
14129
|
-
|
|
14130
|
-
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14412
|
+
return props.enableOverflow ? vue.createVNode(ResizeObserver$1, {
|
|
14413
|
+
"key": item.key,
|
|
14414
|
+
"onResize": (e) => onOverflowItemResize(e, item)
|
|
14415
|
+
}, {
|
|
14416
|
+
default: () => [vue.createVNode("div", {
|
|
14417
|
+
"class": `${props.prefixCls}-selection-item-wrapper`,
|
|
14418
|
+
"style": {
|
|
14419
|
+
opacity: index > baseState.mergedDisplayCount.value && item.key !== REST_TAG_KEY || !displayRest.value && item.key === REST_TAG_KEY ? 0 : 1,
|
|
14420
|
+
height: index > baseState.mergedDisplayCount.value && item.key !== REST_TAG_KEY || !displayRest.value && item.key === REST_TAG_KEY ? 0 : void 0,
|
|
14421
|
+
overflowY: index > baseState.mergedDisplayCount.value && item.key !== REST_TAG_KEY || !displayRest.value && item.key === REST_TAG_KEY ? "hidden" : void 0,
|
|
14422
|
+
pointerEvents: index > baseState.mergedDisplayCount.value && item.key !== REST_TAG_KEY || !displayRest.value && item.key === REST_TAG_KEY ? "none" : void 0,
|
|
14423
|
+
position: index > baseState.mergedDisplayCount.value && item.key !== REST_TAG_KEY || !displayRest.value && item.key === REST_TAG_KEY ? "absolute" : void 0
|
|
14424
|
+
}
|
|
14425
|
+
}, [content])]
|
|
14426
|
+
}) : content;
|
|
14427
|
+
}), props.enableOverflow ? vue.createVNode(ResizeObserver$1, {
|
|
14428
|
+
"onResize": onSuffixResize
|
|
14429
|
+
}, _isSlot$4(_slot = renderSearchInput(props, {
|
|
14430
|
+
prefixCls: props.prefixCls,
|
|
14431
|
+
inputRef: props.inputRef,
|
|
14432
|
+
disabled: props.disabled,
|
|
14433
|
+
inputEditable: baseState.inputEditable.value,
|
|
14434
|
+
inputValue: inputValue.value,
|
|
14435
|
+
inputWidth: inputWidth.value,
|
|
14436
|
+
measureRef,
|
|
14437
|
+
onInputMouseDown,
|
|
14438
|
+
onInputChange,
|
|
14439
|
+
onInputKeydown,
|
|
14440
|
+
onInputCompositionStart,
|
|
14441
|
+
onInputCompositionEnd,
|
|
14442
|
+
onInputPaste
|
|
14443
|
+
})) ? _slot : {
|
|
14444
|
+
default: () => [_slot]
|
|
14445
|
+
}) : renderSearchInput(props, {
|
|
14446
|
+
prefixCls: props.prefixCls,
|
|
14447
|
+
inputRef: props.inputRef,
|
|
14448
|
+
disabled: props.disabled,
|
|
14449
|
+
inputEditable: baseState.inputEditable.value,
|
|
14450
|
+
inputValue: inputValue.value,
|
|
14451
|
+
inputWidth: inputWidth.value,
|
|
14452
|
+
measureRef,
|
|
14453
|
+
onInputMouseDown,
|
|
14454
|
+
onInputChange,
|
|
14455
|
+
onInputKeydown,
|
|
14456
|
+
onInputCompositionStart,
|
|
14457
|
+
onInputCompositionEnd,
|
|
14458
|
+
onInputPaste
|
|
14459
|
+
}), renderPlaceholder(showPlaceholder.value, props.prefixCls, slots)]);
|
|
14149
14460
|
};
|
|
14150
14461
|
}
|
|
14151
14462
|
});
|
|
14152
14463
|
|
|
14153
|
-
const
|
|
14154
|
-
const _hoisted_2$j = ["title"];
|
|
14155
|
-
const _hoisted_3$4 = ["title"];
|
|
14156
|
-
function _sfc_render$1P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14157
|
-
const _component_Render = vue.resolveComponent("Render");
|
|
14158
|
-
const _component_URoundClose = vue.resolveComponent("URoundClose");
|
|
14159
|
-
const _component_UIcon = vue.resolveComponent("UIcon");
|
|
14160
|
-
const _component_UPopover = vue.resolveComponent("UPopover");
|
|
14161
|
-
const _component_SelectInput = vue.resolveComponent("SelectInput");
|
|
14162
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
14163
|
-
vue.createCommentVNode(' <transition-group :appear="motionAppear" :name="tagTransitionName"> '),
|
|
14164
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.displayValues, (item) => {
|
|
14165
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
14166
|
-
key: item.key
|
|
14167
|
-
}, [
|
|
14168
|
-
_ctx.isNotRender ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
14169
|
-
key: 0,
|
|
14170
|
-
class: vue.normalizeClass({
|
|
14171
|
-
[`${item.class}`]: item.class,
|
|
14172
|
-
[`${_ctx.prefixCls}-selection-item`]: true,
|
|
14173
|
-
[`${_ctx.prefixCls}-selection-item-disabled`]: item.disabled
|
|
14174
|
-
})
|
|
14175
|
-
}, [
|
|
14176
|
-
item.key === _ctx.REST_TAG_KEY || _ctx.isShowTagTooltip ? (vue.openBlock(), vue.createBlock(_component_UPopover, vue.mergeProps({
|
|
14177
|
-
key: 0,
|
|
14178
|
-
disabled: !_ctx.maxTagTooltip,
|
|
14179
|
-
trigger: "hover",
|
|
14180
|
-
"show-arrow": true,
|
|
14181
|
-
placement: "top",
|
|
14182
|
-
ref_for: true
|
|
14183
|
-
}, _ctx.popoverProps), {
|
|
14184
|
-
content: vue.withCtx(() => [
|
|
14185
|
-
vue.createElementVNode("div", {
|
|
14186
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-tooltip`),
|
|
14187
|
-
style: vue.normalizeStyle({ maxWidth: `${_ctx.maxTagTooltipWidth}px` })
|
|
14188
|
-
}, [
|
|
14189
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.values, (tipItem) => {
|
|
14190
|
-
return vue.openBlock(), vue.createElementBlock("span", {
|
|
14191
|
-
key: tipItem.key,
|
|
14192
|
-
class: vue.normalizeClass({
|
|
14193
|
-
[`${_ctx.prefixCls}-selection-item`]: true
|
|
14194
|
-
})
|
|
14195
|
-
}, [
|
|
14196
|
-
vue.createElementVNode("span", {
|
|
14197
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-item-content`),
|
|
14198
|
-
title: tipItem.title
|
|
14199
|
-
}, [
|
|
14200
|
-
vue.createVNode(_component_Render, {
|
|
14201
|
-
render: _ctx.getRender(tipItem.displayLabel)
|
|
14202
|
-
}, null, 8, ["render"])
|
|
14203
|
-
], 10, _hoisted_2$j),
|
|
14204
|
-
_ctx.closable(tipItem) ? (vue.openBlock(), vue.createBlock(_component_UIcon, {
|
|
14205
|
-
key: 0,
|
|
14206
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-item-remove`),
|
|
14207
|
-
onMousedown: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
14208
|
-
}, ["stop", "prevent"])),
|
|
14209
|
-
onClick: (e) => _ctx.onClose(tipItem.value, e)
|
|
14210
|
-
}, {
|
|
14211
|
-
default: vue.withCtx(() => [
|
|
14212
|
-
vue.createVNode(_component_URoundClose)
|
|
14213
|
-
]),
|
|
14214
|
-
_: 2
|
|
14215
|
-
}, 1032, ["class", "onClick"])) : vue.createCommentVNode("v-if", true)
|
|
14216
|
-
], 2);
|
|
14217
|
-
}), 128))
|
|
14218
|
-
], 6)
|
|
14219
|
-
]),
|
|
14220
|
-
default: vue.withCtx(() => [
|
|
14221
|
-
vue.createElementVNode("span", {
|
|
14222
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-item-content`),
|
|
14223
|
-
title: item.title
|
|
14224
|
-
}, [
|
|
14225
|
-
vue.createVNode(_component_Render, {
|
|
14226
|
-
render: _ctx.getRender(item.displayLabel)
|
|
14227
|
-
}, null, 8, ["render"])
|
|
14228
|
-
], 10, _hoisted_1$N)
|
|
14229
|
-
]),
|
|
14230
|
-
_: 2
|
|
14231
|
-
}, 1040, ["disabled"])) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
14232
|
-
vue.createElementVNode("span", {
|
|
14233
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-item-content`),
|
|
14234
|
-
title: item.title
|
|
14235
|
-
}, [
|
|
14236
|
-
vue.createCommentVNode(" {{ item.displayLabel }} "),
|
|
14237
|
-
vue.createVNode(_component_Render, {
|
|
14238
|
-
render: _ctx.getRender(item.displayLabel)
|
|
14239
|
-
}, null, 8, ["render"])
|
|
14240
|
-
], 10, _hoisted_3$4),
|
|
14241
|
-
_ctx.closable(item) ? (vue.openBlock(), vue.createBlock(_component_UIcon, {
|
|
14242
|
-
key: 0,
|
|
14243
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-item-remove`),
|
|
14244
|
-
onMousedown: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
14245
|
-
}, ["stop", "prevent"])),
|
|
14246
|
-
onClick: (e) => _ctx.onClose(item.value, e)
|
|
14247
|
-
}, {
|
|
14248
|
-
default: vue.withCtx(() => [
|
|
14249
|
-
_ctx.removeIcon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.removeIcon), { key: 0 })) : (vue.openBlock(), vue.createBlock(_component_URoundClose, { key: 1 }))
|
|
14250
|
-
]),
|
|
14251
|
-
_: 2
|
|
14252
|
-
}, 1032, ["class", "onClick"])) : vue.createCommentVNode("v-if", true)
|
|
14253
|
-
], 64))
|
|
14254
|
-
], 2)) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
14255
|
-
key: 1,
|
|
14256
|
-
class: vue.normalizeClass(item.class),
|
|
14257
|
-
onMousedown: _cache[2] || (_cache[2] = vue.withModifiers(() => {
|
|
14258
|
-
}, ["stop", "prevent"]))
|
|
14259
|
-
}, [
|
|
14260
|
-
vue.createVNode(_component_Render, {
|
|
14261
|
-
render: () => {
|
|
14262
|
-
var _a;
|
|
14263
|
-
return (_a = _ctx.tagRender) == null ? void 0 : _a.call(_ctx, {
|
|
14264
|
-
...item,
|
|
14265
|
-
closable: _ctx.closable(item),
|
|
14266
|
-
onClose: (e) => {
|
|
14267
|
-
_ctx.onClose(item.value, e);
|
|
14268
|
-
}
|
|
14269
|
-
});
|
|
14270
|
-
}
|
|
14271
|
-
}, null, 8, ["render"])
|
|
14272
|
-
], 34))
|
|
14273
|
-
], 64);
|
|
14274
|
-
}), 128)),
|
|
14275
|
-
vue.createCommentVNode(" </transition-group> "),
|
|
14276
|
-
vue.createElementVNode("span", {
|
|
14277
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-search`),
|
|
14278
|
-
style: vue.normalizeStyle({ width: `${_ctx.inputWidth}px` })
|
|
14279
|
-
}, [
|
|
14280
|
-
vue.createVNode(_component_SelectInput, {
|
|
14281
|
-
"input-ref": _ctx.inputRef,
|
|
14282
|
-
"prefix-cls": _ctx.prefixCls,
|
|
14283
|
-
autocomplete: "off",
|
|
14284
|
-
disabled: _ctx.disabled,
|
|
14285
|
-
editable: _ctx.inputEditable,
|
|
14286
|
-
value: _ctx.inputValue,
|
|
14287
|
-
onMousedown: _ctx.onInputMouseDown,
|
|
14288
|
-
onChange: _ctx.onInputChange,
|
|
14289
|
-
onKeydown: _ctx.onInputKeydown,
|
|
14290
|
-
onCompositionstart: _ctx.onInputCompositionStart,
|
|
14291
|
-
onCompositionend: _ctx.onInputCompositionEnd,
|
|
14292
|
-
onPaste: _ctx.onInputPaste
|
|
14293
|
-
}, null, 8, ["input-ref", "prefix-cls", "disabled", "editable", "value", "onMousedown", "onChange", "onKeydown", "onCompositionstart", "onCompositionend", "onPaste"]),
|
|
14294
|
-
vue.createElementVNode("span", {
|
|
14295
|
-
ref: "measureRef",
|
|
14296
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-search-mirror`),
|
|
14297
|
-
"aria-hidden": ""
|
|
14298
|
-
}, vue.toDisplayString(_ctx.inputValue) + "\xA0 ", 3)
|
|
14299
|
-
], 6),
|
|
14300
|
-
vue.withDirectives(vue.createElementVNode("div", {
|
|
14301
|
-
class: vue.normalizeClass(`${_ctx.prefixCls}-selection-placeholder`)
|
|
14302
|
-
}, [
|
|
14303
|
-
vue.renderSlot(_ctx.$slots, "placeholder")
|
|
14304
|
-
], 2), [
|
|
14305
|
-
[vue.vShow, _ctx.showPlaceholder]
|
|
14306
|
-
])
|
|
14307
|
-
], 64);
|
|
14308
|
-
}
|
|
14309
|
-
var Multiple = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$1P], ["__file", "Multiple.vue"]]);
|
|
14310
|
-
|
|
14464
|
+
const RESPONSIVE = "responsive";
|
|
14311
14465
|
const _sfc_main$1Q = vue.defineComponent({
|
|
14312
14466
|
name: "Selection",
|
|
14313
14467
|
components: {
|
|
14314
14468
|
SingleSelection,
|
|
14315
|
-
|
|
14469
|
+
ResizeObserver: ResizeObserver$1,
|
|
14470
|
+
MultipleBase
|
|
14316
14471
|
},
|
|
14317
14472
|
props: {
|
|
14318
14473
|
prefixCls: {
|
|
@@ -14361,7 +14516,7 @@
|
|
|
14361
14516
|
type: Function
|
|
14362
14517
|
},
|
|
14363
14518
|
maxTagTextLength: {
|
|
14364
|
-
type: Number
|
|
14519
|
+
type: [Number, String]
|
|
14365
14520
|
},
|
|
14366
14521
|
maxTagTooltip: {
|
|
14367
14522
|
type: Boolean,
|
|
@@ -14397,10 +14552,17 @@
|
|
|
14397
14552
|
setup(props, { emit }) {
|
|
14398
14553
|
const inputRef = vue.ref(null);
|
|
14399
14554
|
let compositionStatus = false;
|
|
14555
|
+
const isResponsive = vue.computed(() => {
|
|
14556
|
+
return props.maxTagTextLength === RESPONSIVE;
|
|
14557
|
+
});
|
|
14400
14558
|
const [getInputMouseDown, setInputMouseDown] = useLock(0);
|
|
14401
14559
|
const onInputMouseDown = () => {
|
|
14402
14560
|
setInputMouseDown(true);
|
|
14403
14561
|
};
|
|
14562
|
+
const containerWrapperWidth = vue.shallowRef(null);
|
|
14563
|
+
const onOverflowResize = ({ width }) => {
|
|
14564
|
+
containerWrapperWidth.value = width;
|
|
14565
|
+
};
|
|
14404
14566
|
let pastedText = null;
|
|
14405
14567
|
const onInputPaste = (e) => {
|
|
14406
14568
|
const { clipboardData } = e;
|
|
@@ -14467,74 +14629,87 @@
|
|
|
14467
14629
|
onInputKeydown,
|
|
14468
14630
|
onInputCompositionStart,
|
|
14469
14631
|
onInputCompositionEnd,
|
|
14470
|
-
onInputPaste
|
|
14632
|
+
onInputPaste,
|
|
14633
|
+
onOverflowResize,
|
|
14634
|
+
containerWrapperWidth,
|
|
14635
|
+
isResponsive
|
|
14471
14636
|
};
|
|
14472
14637
|
}
|
|
14473
14638
|
});
|
|
14474
14639
|
function _sfc_render$1O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14475
14640
|
const _component_SingleSelection = vue.resolveComponent("SingleSelection");
|
|
14476
|
-
const
|
|
14477
|
-
|
|
14478
|
-
|
|
14479
|
-
|
|
14480
|
-
|
|
14481
|
-
|
|
14482
|
-
|
|
14483
|
-
|
|
14484
|
-
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
|
|
14489
|
-
|
|
14490
|
-
|
|
14491
|
-
|
|
14492
|
-
|
|
14493
|
-
|
|
14494
|
-
|
|
14495
|
-
|
|
14496
|
-
|
|
14497
|
-
|
|
14498
|
-
|
|
14499
|
-
|
|
14500
|
-
|
|
14501
|
-
|
|
14502
|
-
|
|
14503
|
-
|
|
14504
|
-
|
|
14505
|
-
|
|
14506
|
-
|
|
14507
|
-
|
|
14508
|
-
|
|
14509
|
-
|
|
14510
|
-
|
|
14511
|
-
|
|
14512
|
-
|
|
14513
|
-
|
|
14514
|
-
|
|
14515
|
-
|
|
14516
|
-
|
|
14517
|
-
|
|
14518
|
-
|
|
14519
|
-
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
|
|
14525
|
-
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
|
|
14641
|
+
const _component_MultipleBase = vue.resolveComponent("MultipleBase");
|
|
14642
|
+
const _component_ResizeObserver = vue.resolveComponent("ResizeObserver");
|
|
14643
|
+
return vue.openBlock(), vue.createBlock(_component_ResizeObserver, { onResize: _ctx.onOverflowResize }, {
|
|
14644
|
+
default: vue.withCtx(() => [
|
|
14645
|
+
vue.createElementVNode("div", {
|
|
14646
|
+
class: vue.normalizeClass({
|
|
14647
|
+
[`${_ctx.prefixCls}-selection`]: true,
|
|
14648
|
+
[`${_ctx.prefixCls}-selection-overflow`]: _ctx.multiple && _ctx.isResponsive
|
|
14649
|
+
}),
|
|
14650
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
14651
|
+
onMousedown: _cache[1] || (_cache[1] = (...args) => _ctx.onMousedown && _ctx.onMousedown(...args))
|
|
14652
|
+
}, [
|
|
14653
|
+
!_ctx.multiple ? (vue.openBlock(), vue.createBlock(_component_SingleSelection, {
|
|
14654
|
+
key: 0,
|
|
14655
|
+
"prefix-cls": _ctx.prefixCls,
|
|
14656
|
+
values: _ctx.values,
|
|
14657
|
+
open: _ctx.open,
|
|
14658
|
+
filterable: _ctx.filterable,
|
|
14659
|
+
disabled: _ctx.disabled,
|
|
14660
|
+
"input-ref": _ctx.getInputRef,
|
|
14661
|
+
"search-value": _ctx.searchValue,
|
|
14662
|
+
"allow-create": _ctx.allowCreate,
|
|
14663
|
+
"title-key": _ctx.titleKey,
|
|
14664
|
+
onInputMousedown: _ctx.onInputMouseDown,
|
|
14665
|
+
onInputChange: _ctx.onInputChange,
|
|
14666
|
+
onInputKeydown: _ctx.onInputKeydown,
|
|
14667
|
+
onInputCompositionstart: _ctx.onInputCompositionStart,
|
|
14668
|
+
onInputCompositionend: _ctx.onInputCompositionEnd,
|
|
14669
|
+
onInputPaste: _ctx.onInputPaste
|
|
14670
|
+
}, {
|
|
14671
|
+
placeholder: vue.withCtx(() => [
|
|
14672
|
+
vue.renderSlot(_ctx.$slots, "placeholder")
|
|
14673
|
+
]),
|
|
14674
|
+
_: 3
|
|
14675
|
+
}, 8, ["prefix-cls", "values", "open", "filterable", "disabled", "input-ref", "search-value", "allow-create", "title-key", "onInputMousedown", "onInputChange", "onInputKeydown", "onInputCompositionstart", "onInputCompositionend", "onInputPaste"])) : (vue.openBlock(), vue.createBlock(_component_MultipleBase, {
|
|
14676
|
+
key: 1,
|
|
14677
|
+
"prefix-cls": _ctx.prefixCls,
|
|
14678
|
+
values: _ctx.values,
|
|
14679
|
+
open: _ctx.open,
|
|
14680
|
+
"enable-overflow": _ctx.isResponsive,
|
|
14681
|
+
filterable: _ctx.filterable,
|
|
14682
|
+
disabled: _ctx.disabled,
|
|
14683
|
+
"input-ref": _ctx.getInputRef,
|
|
14684
|
+
"search-value": _ctx.searchValue,
|
|
14685
|
+
"max-tag-count": _ctx.maxTagCount,
|
|
14686
|
+
"max-tag-text-length": _ctx.maxTagTextLength,
|
|
14687
|
+
"max-tag-placeholder": _ctx.maxTagPlaceholder,
|
|
14688
|
+
"max-tag-tooltip": _ctx.maxTagTooltip,
|
|
14689
|
+
"max-tag-tooltip-width": _ctx.maxTagTooltipWidth,
|
|
14690
|
+
"is-show-tag-tooltip": _ctx.isShowTagTooltip,
|
|
14691
|
+
"popover-props": _ctx.popoverProps,
|
|
14692
|
+
"tag-render": _ctx.tagRender,
|
|
14693
|
+
"tag-transition-name": _ctx.tagTransitionName,
|
|
14694
|
+
"remove-icon": _ctx.removeIcon,
|
|
14695
|
+
"container-wrapper-width": _ctx.containerWrapperWidth,
|
|
14696
|
+
onSelect: _ctx.onSelectionSelect,
|
|
14697
|
+
onInputMousedown: _ctx.onInputMouseDown,
|
|
14698
|
+
onInputChange: _ctx.onInputChange,
|
|
14699
|
+
onInputKeydown: _ctx.onInputKeydown,
|
|
14700
|
+
onInputCompositionstart: _ctx.onInputCompositionStart,
|
|
14701
|
+
onInputCompositionend: _ctx.onInputCompositionEnd,
|
|
14702
|
+
onInputPaste: _ctx.onInputPaste
|
|
14703
|
+
}, {
|
|
14704
|
+
placeholder: vue.withCtx(() => [
|
|
14705
|
+
vue.renderSlot(_ctx.$slots, "placeholder")
|
|
14706
|
+
]),
|
|
14707
|
+
_: 3
|
|
14708
|
+
}, 8, ["prefix-cls", "values", "open", "enable-overflow", "filterable", "disabled", "input-ref", "search-value", "max-tag-count", "max-tag-text-length", "max-tag-placeholder", "max-tag-tooltip", "max-tag-tooltip-width", "is-show-tag-tooltip", "popover-props", "tag-render", "tag-transition-name", "remove-icon", "container-wrapper-width", "onSelect", "onInputMousedown", "onInputChange", "onInputKeydown", "onInputCompositionstart", "onInputCompositionend", "onInputPaste"]))
|
|
14709
|
+
], 34)
|
|
14710
|
+
]),
|
|
14711
|
+
_: 3
|
|
14712
|
+
}, 8, ["onResize"]);
|
|
14538
14713
|
}
|
|
14539
14714
|
var Selection = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc_render$1O], ["__file", "Selection.vue"]]);
|
|
14540
14715
|
|
|
@@ -15242,6 +15417,9 @@
|
|
|
15242
15417
|
}, null, 8, ["text"])
|
|
15243
15418
|
])
|
|
15244
15419
|
]),
|
|
15420
|
+
top: vue.withCtx(() => [
|
|
15421
|
+
vue.renderSlot(_ctx.$slots, "top")
|
|
15422
|
+
]),
|
|
15245
15423
|
_: 3
|
|
15246
15424
|
}, 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"])
|
|
15247
15425
|
]),
|
|
@@ -32834,7 +33012,7 @@
|
|
|
32834
33012
|
key: index,
|
|
32835
33013
|
ref_for: true,
|
|
32836
33014
|
ref: _ctx.saveRef(`header-column-${cell._index}`)
|
|
32837
|
-
}, _ctx.getCellProps(cell), {
|
|
33015
|
+
}, { ref_for: true }, _ctx.getCellProps(cell), {
|
|
32838
33016
|
style: _ctx.getCellStyle(cell),
|
|
32839
33017
|
class: {
|
|
32840
33018
|
[String(cell.className)]: !!cell.className,
|
|
@@ -33709,9 +33887,8 @@
|
|
|
33709
33887
|
return vue.openBlock(), vue.createElementBlock("td", vue.mergeProps({
|
|
33710
33888
|
key: column.key,
|
|
33711
33889
|
class: { [`${column.className}`]: !!column.className },
|
|
33712
|
-
style: _ctx.getCellStyle(column)
|
|
33713
|
-
|
|
33714
|
-
}, _ctx.tdProps(column)), [
|
|
33890
|
+
style: _ctx.getCellStyle(column)
|
|
33891
|
+
}, { ref_for: true }, _ctx.tdProps(column)), [
|
|
33715
33892
|
!!column.summaryRender ? (vue.openBlock(), vue.createBlock(_component_Render, {
|
|
33716
33893
|
key: 0,
|
|
33717
33894
|
render: () => {
|