@sdata/web-vue 1.8.0 → 1.10.0
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/dist/sd.css +145 -87
- package/dist/sd.min.css +1 -1
- package/es/_components/auto-tooltip/auto-tooltip.js +1 -4
- package/es/_components/feedback-icon.vue.d.ts +12 -0
- package/es/_components/input-label/input-label.js +30 -24
- package/es/_components/picker/input-range.vue.d.ts +15 -0
- package/es/_components/picker/input.vue.d.ts +15 -0
- package/es/_components/resize-trigger.vue.d.ts +6 -0
- package/es/_components/select-view/interface.d.ts +1 -0
- package/es/_components/select-view/select-view.d.ts +12 -3
- package/es/_components/select-view/select-view.js +38 -28
- package/es/_components/select-view/style/index.css +45 -0
- package/es/_components/transition/expand-transition.vue.d.ts +6 -6
- package/es/_components/transition/expand-transition.vue_vue_type_script_lang.js +13 -6
- package/es/_components/virtual-list/index.js +5 -0
- package/es/_components/virtual-list/interface.d.ts +52 -10
- package/es/_components/virtual-list/style/index.scss +1 -0
- package/es/_components/virtual-list/virtual-list.js +60 -0
- package/es/_components/virtual-list/virtual-list.vue.d.ts +310 -100
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +470 -0
- package/es/_hooks/use-allow-clear.d.ts +1 -1
- package/es/_hooks/use-allow-clear.js +2 -2
- package/es/_hooks/use-pure-prop.js +2 -2
- package/es/_hooks/use-resize-observer.d.ts +1 -1
- package/es/_hooks/use-trigger.d.ts +4 -6
- package/es/_hooks/use-trigger.js +7 -5
- package/es/_utils/date.d.ts +1 -3
- package/es/_utils/date.js +1 -1
- package/es/_utils/raf.d.ts +2 -2
- package/es/_utils/style.d.ts +1 -1
- package/es/_utils/use-prop-or-slot.d.ts +3 -5
- package/es/_utils/virtual-dropdown.d.ts +4 -0
- package/es/_utils/virtual-dropdown.js +17 -0
- package/es/alert/alert.vue.d.ts +15 -0
- package/es/alert/index.d.ts +30 -0
- package/es/auto-complete/auto-complete.d.ts +1 -1
- package/es/auto-complete/auto-complete.js +8 -3
- package/es/auto-complete/index.d.ts +3 -3
- package/es/avatar/avatar.vue.d.ts +6 -0
- package/es/avatar/index.d.ts +12 -0
- package/es/back-top/back-top.vue.d.ts +3 -0
- package/es/back-top/index.d.ts +6 -0
- package/es/button/button.vue.d.ts +3 -0
- package/es/button/index.d.ts +6 -0
- package/es/button/interface.d.ts +1 -1
- package/es/calendar/hooks/useCellClassName.d.ts +18 -10
- package/es/calendar/hooks/useCellClassName.js +1 -1
- package/es/carousel/carousel-arrow.vue.d.ts +13 -1
- package/es/carousel/carousel.d.ts +3 -3
- package/es/carousel/index.d.ts +9 -9
- package/es/cascader/base-cascader-panel.d.ts +1 -1
- package/es/cascader/cascader-column.d.ts +1 -1
- package/es/cascader/cascader-column.js +3 -3
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-option.js +18 -20
- package/es/cascader/cascader-panel.vue.d.ts +95 -31
- package/es/cascader/cascader-panel.vue_vue_type_script_lang.js +23 -8
- package/es/cascader/cascader.js +3 -3
- package/es/cascader/cascader.vue.d.ts +187 -49
- package/es/cascader/cascader.vue_vue_type_script_lang.js +85 -30
- package/es/cascader/context.d.ts +5 -5
- package/es/cascader/index.d.ts +522 -142
- package/es/cascader/interface.d.ts +9 -8
- package/es/cascader/style/index.css +5 -0
- package/es/cascader/style/index.scss +4 -0
- package/es/cascader/utils.d.ts +9 -6
- package/es/cascader/utils.js +33 -21
- package/es/checkbox/checkbox-group.d.ts +1 -1
- package/es/checkbox/context.d.ts +1 -1
- package/es/checkbox/index.d.ts +1 -1
- package/es/collapse/collapse-item.d.ts +6 -0
- package/es/collapse/index.d.ts +6 -0
- package/es/color-picker/color-picker.d.ts +1 -1
- package/es/color-picker/index.d.ts +3 -3
- package/es/config-provider/config-provider.vue.d.ts +4 -4
- package/es/config-provider/index.d.ts +9 -9
- package/es/config-provider/theme-provider.vue.d.ts +1 -1
- package/es/date-picker/index.d.ts +184 -20
- package/es/date-picker/panels/date/index.js +1 -1
- package/es/date-picker/panels/date/index.vue.d.ts +27 -2
- package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +14 -1
- package/es/date-picker/panels/footer.vue.d.ts +18 -0
- package/es/date-picker/panels/header.vue.d.ts +12 -0
- package/es/date-picker/panels/month/index.vue.d.ts +12 -0
- package/es/date-picker/panels/quarter/index.vue.d.ts +12 -0
- package/es/date-picker/panels/shortcuts.vue.d.ts +6 -0
- package/es/date-picker/panels/week/index.js +6 -0
- package/es/date-picker/panels/week/index.vue.d.ts +61 -10
- package/es/date-picker/panels/week/index.vue_vue_type_script_lang.js +18 -4
- package/es/date-picker/panels/year/index.vue.d.ts +12 -0
- package/es/date-picker/picker-panel.vue.d.ts +138 -2
- package/es/date-picker/picker.vue.d.ts +166 -12
- package/es/date-picker/range-picker-panel.js +1 -1
- package/es/date-picker/range-picker-panel.vue.d.ts +155 -9
- package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +9 -5
- package/es/date-picker/range-picker.js +1 -1
- package/es/date-picker/range-picker.vue.d.ts +184 -20
- package/es/date-picker/range-picker.vue_vue_type_script_lang.js +22 -9
- package/es/descriptions/descriptions.d.ts +1 -1
- package/es/descriptions/index.d.ts +3 -3
- package/es/drawer/drawer.vue.d.ts +9 -0
- package/es/drawer/drawer.vue_vue_type_script_lang.js +1 -1
- package/es/drawer/index.d.ts +18 -0
- package/es/drawer/index.js +1 -1
- package/es/dropdown/dropdown-button.vue.d.ts +312 -178
- package/es/dropdown/dropdown-button.vue_vue_type_script_lang.js +5 -1
- package/es/dropdown/dropdown-panel.vue.d.ts +293 -168
- package/es/dropdown/dropdown-submenu.vue.d.ts +302 -174
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_lang.js +5 -1
- package/es/dropdown/dropdown.vue.d.ts +299 -174
- package/es/dropdown/dropdown.vue_vue_type_script_lang.js +5 -1
- package/es/dropdown/index.d.ts +1212 -700
- package/es/ellipsis/ellipsis.vue.d.ts +14 -14
- package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +1 -1
- package/es/ellipsis/index.d.ts +61 -61
- package/es/ellipsis/performant-ellipsis.vue.d.ts +15 -15
- package/es/form/form-item-label.vue.d.ts +15 -12
- package/es/form/form-item.vue.d.ts +15 -12
- package/es/form/form.vue.d.ts +2 -2
- package/es/form/form.vue_vue_type_script_lang.js +3 -6
- package/es/form/index.d.ts +18 -15
- package/es/grid/grid.vue.d.ts +1 -1
- package/es/grid/index.d.ts +3 -3
- package/es/icon/icon-align-center/icon-align-center.vue.d.ts +1 -0
- package/es/icon/icon-align-center/index.d.ts +3 -0
- package/es/icon/icon-align-left/icon-align-left.vue.d.ts +1 -0
- package/es/icon/icon-align-left/index.d.ts +3 -0
- package/es/icon/icon-align-right/icon-align-right.vue.d.ts +1 -0
- package/es/icon/icon-align-right/index.d.ts +3 -0
- package/es/icon/icon-alipay-circle/icon-alipay-circle.vue.d.ts +1 -0
- package/es/icon/icon-alipay-circle/index.d.ts +3 -0
- package/es/icon/icon-apps/icon-apps.vue.d.ts +1 -0
- package/es/icon/icon-apps/index.d.ts +3 -0
- package/es/icon/icon-archive/icon-archive.vue.d.ts +1 -0
- package/es/icon/icon-archive/index.d.ts +3 -0
- package/es/icon/icon-arrow-down/icon-arrow-down.vue.d.ts +1 -0
- package/es/icon/icon-arrow-down/index.d.ts +3 -0
- package/es/icon/icon-arrow-fall/icon-arrow-fall.vue.d.ts +1 -0
- package/es/icon/icon-arrow-fall/index.d.ts +3 -0
- package/es/icon/icon-arrow-left/icon-arrow-left.vue.d.ts +1 -0
- package/es/icon/icon-arrow-left/index.d.ts +3 -0
- package/es/icon/icon-arrow-right/icon-arrow-right.vue.d.ts +1 -0
- package/es/icon/icon-arrow-right/index.d.ts +3 -0
- package/es/icon/icon-arrow-rise/icon-arrow-rise.vue.d.ts +1 -0
- package/es/icon/icon-arrow-rise/index.d.ts +3 -0
- package/es/icon/icon-arrow-up/icon-arrow-up.vue.d.ts +1 -0
- package/es/icon/icon-arrow-up/index.d.ts +3 -0
- package/es/icon/icon-at/icon-at.vue.d.ts +1 -0
- package/es/icon/icon-at/index.d.ts +3 -0
- package/es/icon/icon-attachment/icon-attachment.vue.d.ts +1 -0
- package/es/icon/icon-attachment/index.d.ts +3 -0
- package/es/icon/icon-backward/icon-backward.vue.d.ts +1 -0
- package/es/icon/icon-backward/index.d.ts +3 -0
- package/es/icon/icon-bar-chart/icon-bar-chart.vue.d.ts +1 -0
- package/es/icon/icon-bar-chart/index.d.ts +3 -0
- package/es/icon/icon-bg-colors/icon-bg-colors.vue.d.ts +1 -0
- package/es/icon/icon-bg-colors/index.d.ts +3 -0
- package/es/icon/icon-bold/icon-bold.vue.d.ts +1 -0
- package/es/icon/icon-bold/index.d.ts +3 -0
- package/es/icon/icon-book/icon-book.vue.d.ts +1 -0
- package/es/icon/icon-book/index.d.ts +3 -0
- package/es/icon/icon-bookmark/icon-bookmark.vue.d.ts +1 -0
- package/es/icon/icon-bookmark/index.d.ts +3 -0
- package/es/icon/icon-branch/icon-branch.vue.d.ts +1 -0
- package/es/icon/icon-branch/index.d.ts +3 -0
- package/es/icon/icon-brush/icon-brush.vue.d.ts +1 -0
- package/es/icon/icon-brush/index.d.ts +3 -0
- package/es/icon/icon-bug/icon-bug.vue.d.ts +1 -0
- package/es/icon/icon-bug/index.d.ts +3 -0
- package/es/icon/icon-bulb/icon-bulb.vue.d.ts +1 -0
- package/es/icon/icon-bulb/index.d.ts +3 -0
- package/es/icon/icon-bytedance-color/icon-bytedance-color.vue.d.ts +1 -0
- package/es/icon/icon-bytedance-color/index.d.ts +3 -0
- package/es/icon/icon-calendar/icon-calendar.js +5 -14
- package/es/icon/icon-calendar/icon-calendar.vue.d.ts +1 -0
- package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-calendar/index.d.ts +3 -0
- package/es/icon/icon-calendar-clock/icon-calendar-clock.vue.d.ts +1 -0
- package/es/icon/icon-calendar-clock/index.d.ts +3 -0
- package/es/icon/icon-camera/icon-camera.vue.d.ts +1 -0
- package/es/icon/icon-camera/index.d.ts +3 -0
- package/es/icon/icon-caret-down/icon-caret-down.js +6 -15
- package/es/icon/icon-caret-down/icon-caret-down.vue.d.ts +1 -0
- package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-caret-down/index.d.ts +3 -0
- package/es/icon/icon-caret-left/icon-caret-left.js +6 -15
- package/es/icon/icon-caret-left/icon-caret-left.vue.d.ts +1 -0
- package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-caret-left/index.d.ts +3 -0
- package/es/icon/icon-caret-right/icon-caret-right.js +6 -15
- package/es/icon/icon-caret-right/icon-caret-right.vue.d.ts +1 -0
- package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-caret-right/index.d.ts +3 -0
- package/es/icon/icon-caret-up/icon-caret-up.js +6 -15
- package/es/icon/icon-caret-up/icon-caret-up.vue.d.ts +1 -0
- package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-caret-up/index.d.ts +3 -0
- package/es/icon/icon-check/icon-check.js +5 -14
- package/es/icon/icon-check/icon-check.vue.d.ts +1 -0
- package/es/icon/icon-check/icon-check.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-check/index.d.ts +3 -0
- package/es/icon/icon-check-circle/icon-check-circle.vue.d.ts +1 -0
- package/es/icon/icon-check-circle/index.d.ts +3 -0
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.js +6 -15
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-check-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-check-square/icon-check-square.vue.d.ts +1 -0
- package/es/icon/icon-check-square/index.d.ts +3 -0
- package/es/icon/icon-chinese-fill/icon-chinese-fill.vue.d.ts +1 -0
- package/es/icon/icon-chinese-fill/index.d.ts +3 -0
- package/es/icon/icon-clock-circle/icon-clock-circle.js +5 -14
- package/es/icon/icon-clock-circle/icon-clock-circle.vue.d.ts +1 -0
- package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-clock-circle/index.d.ts +3 -0
- package/es/icon/icon-close/icon-close.js +5 -14
- package/es/icon/icon-close/icon-close.vue.d.ts +1 -0
- package/es/icon/icon-close/icon-close.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-close/index.d.ts +3 -0
- package/es/icon/icon-close-circle/icon-close-circle.vue.d.ts +1 -0
- package/es/icon/icon-close-circle/index.d.ts +3 -0
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.js +6 -15
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-close-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-cloud/icon-cloud.vue.d.ts +1 -0
- package/es/icon/icon-cloud/index.d.ts +3 -0
- package/es/icon/icon-cloud-download/icon-cloud-download.vue.d.ts +1 -0
- package/es/icon/icon-cloud-download/index.d.ts +3 -0
- package/es/icon/icon-code/icon-code.vue.d.ts +1 -0
- package/es/icon/icon-code/index.d.ts +3 -0
- package/es/icon/icon-code-block/icon-code-block.vue.d.ts +1 -0
- package/es/icon/icon-code-block/index.d.ts +3 -0
- package/es/icon/icon-code-sandbox/icon-code-sandbox.vue.d.ts +1 -0
- package/es/icon/icon-code-sandbox/index.d.ts +3 -0
- package/es/icon/icon-code-square/icon-code-square.vue.d.ts +1 -0
- package/es/icon/icon-code-square/index.d.ts +3 -0
- package/es/icon/icon-codepen/icon-codepen.vue.d.ts +1 -0
- package/es/icon/icon-codepen/index.d.ts +3 -0
- package/es/icon/icon-command/icon-command.vue.d.ts +1 -0
- package/es/icon/icon-command/index.d.ts +3 -0
- package/es/icon/icon-common/icon-common.vue.d.ts +1 -0
- package/es/icon/icon-common/index.d.ts +3 -0
- package/es/icon/icon-compass/icon-compass.vue.d.ts +1 -0
- package/es/icon/icon-compass/index.d.ts +3 -0
- package/es/icon/icon-computer/icon-computer.vue.d.ts +1 -0
- package/es/icon/icon-computer/index.d.ts +3 -0
- package/es/icon/icon-copy/icon-copy.js +5 -14
- package/es/icon/icon-copy/icon-copy.vue.d.ts +1 -0
- package/es/icon/icon-copy/icon-copy.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-copy/index.d.ts +3 -0
- package/es/icon/icon-copyright/icon-copyright.vue.d.ts +1 -0
- package/es/icon/icon-copyright/index.d.ts +3 -0
- package/es/icon/icon-customer-service/icon-customer-service.vue.d.ts +1 -0
- package/es/icon/icon-customer-service/index.d.ts +3 -0
- package/es/icon/icon-dashboard/icon-dashboard.vue.d.ts +1 -0
- package/es/icon/icon-dashboard/index.d.ts +3 -0
- package/es/icon/icon-delete/icon-delete.js +5 -14
- package/es/icon/icon-delete/icon-delete.vue.d.ts +1 -0
- package/es/icon/icon-delete/icon-delete.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-delete/index.d.ts +3 -0
- package/es/icon/icon-desktop/icon-desktop.vue.d.ts +1 -0
- package/es/icon/icon-desktop/index.d.ts +3 -0
- package/es/icon/icon-dice/icon-dice.vue.d.ts +1 -0
- package/es/icon/icon-dice/index.d.ts +3 -0
- package/es/icon/icon-double-down/icon-double-down.vue.d.ts +1 -0
- package/es/icon/icon-double-down/index.d.ts +3 -0
- package/es/icon/icon-double-left/icon-double-left.js +5 -14
- package/es/icon/icon-double-left/icon-double-left.vue.d.ts +1 -0
- package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-double-left/index.d.ts +3 -0
- package/es/icon/icon-double-right/icon-double-right.js +5 -14
- package/es/icon/icon-double-right/icon-double-right.vue.d.ts +1 -0
- package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-double-right/index.d.ts +3 -0
- package/es/icon/icon-double-up/icon-double-up.vue.d.ts +1 -0
- package/es/icon/icon-double-up/index.d.ts +3 -0
- package/es/icon/icon-down/icon-down.js +5 -14
- package/es/icon/icon-down/icon-down.vue.d.ts +1 -0
- package/es/icon/icon-down/icon-down.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-down/index.d.ts +3 -0
- package/es/icon/icon-down-circle/icon-down-circle.vue.d.ts +1 -0
- package/es/icon/icon-down-circle/index.d.ts +3 -0
- package/es/icon/icon-download/icon-download.vue.d.ts +1 -0
- package/es/icon/icon-download/index.d.ts +3 -0
- package/es/icon/icon-drag-arrow/icon-drag-arrow.vue.d.ts +1 -0
- package/es/icon/icon-drag-arrow/index.d.ts +3 -0
- package/es/icon/icon-drag-dot/icon-drag-dot.js +6 -15
- package/es/icon/icon-drag-dot/icon-drag-dot.vue.d.ts +1 -0
- package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-drag-dot/index.d.ts +3 -0
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.js +6 -15
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue.d.ts +1 -0
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-drag-dot-vertical/index.d.ts +3 -0
- package/es/icon/icon-drive-file/icon-drive-file.vue.d.ts +1 -0
- package/es/icon/icon-drive-file/index.d.ts +3 -0
- package/es/icon/icon-ear/icon-ear.vue.d.ts +1 -0
- package/es/icon/icon-ear/index.d.ts +3 -0
- package/es/icon/icon-edit/icon-edit.js +5 -14
- package/es/icon/icon-edit/icon-edit.vue.d.ts +1 -0
- package/es/icon/icon-edit/icon-edit.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-edit/index.d.ts +3 -0
- package/es/icon/icon-email/icon-email.vue.d.ts +1 -0
- package/es/icon/icon-email/index.d.ts +3 -0
- package/es/icon/icon-empty/icon-empty.js +5 -14
- package/es/icon/icon-empty/icon-empty.vue.d.ts +1 -0
- package/es/icon/icon-empty/icon-empty.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-empty/index.d.ts +3 -0
- package/es/icon/icon-english-fill/icon-english-fill.vue.d.ts +1 -0
- package/es/icon/icon-english-fill/index.d.ts +3 -0
- package/es/icon/icon-eraser/icon-eraser.vue.d.ts +1 -0
- package/es/icon/icon-eraser/index.d.ts +3 -0
- package/es/icon/icon-exclamation/icon-exclamation.js +6 -15
- package/es/icon/icon-exclamation/icon-exclamation.vue.d.ts +1 -0
- package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-exclamation/index.d.ts +3 -0
- package/es/icon/icon-exclamation-circle/icon-exclamation-circle.vue.d.ts +1 -0
- package/es/icon/icon-exclamation-circle/index.d.ts +3 -0
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.js +6 -15
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-exclamation-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-exclamation-polygon-fill/icon-exclamation-polygon-fill.vue.d.ts +1 -0
- package/es/icon/icon-exclamation-polygon-fill/index.d.ts +3 -0
- package/es/icon/icon-expand/icon-expand.vue.d.ts +1 -0
- package/es/icon/icon-expand/index.d.ts +3 -0
- package/es/icon/icon-experiment/icon-experiment.vue.d.ts +1 -0
- package/es/icon/icon-experiment/index.d.ts +3 -0
- package/es/icon/icon-export/icon-export.vue.d.ts +1 -0
- package/es/icon/icon-export/index.d.ts +3 -0
- package/es/icon/icon-eye/icon-eye.js +6 -15
- package/es/icon/icon-eye/icon-eye.vue.d.ts +1 -0
- package/es/icon/icon-eye/icon-eye.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-eye/index.d.ts +3 -0
- package/es/icon/icon-eye-invisible/icon-eye-invisible.js +5 -14
- package/es/icon/icon-eye-invisible/icon-eye-invisible.vue.d.ts +1 -0
- package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-eye-invisible/index.d.ts +3 -0
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.js +6 -15
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue.d.ts +1 -0
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-face-frown-fill/index.d.ts +3 -0
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.js +6 -15
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue.d.ts +1 -0
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-face-meh-fill/index.d.ts +3 -0
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.js +6 -15
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue.d.ts +1 -0
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-face-smile-fill/index.d.ts +3 -0
- package/es/icon/icon-faceBook-circle-fill/icon-faceBook-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-faceBook-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-facebook/icon-facebook.vue.d.ts +1 -0
- package/es/icon/icon-facebook/index.d.ts +3 -0
- package/es/icon/icon-facebook-square-fill/icon-facebook-square-fill.vue.d.ts +1 -0
- package/es/icon/icon-facebook-square-fill/index.d.ts +3 -0
- package/es/icon/icon-file/icon-file.js +5 -14
- package/es/icon/icon-file/icon-file.vue.d.ts +1 -0
- package/es/icon/icon-file/icon-file.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-file/index.d.ts +3 -0
- package/es/icon/icon-file-audio/icon-file-audio.js +6 -15
- package/es/icon/icon-file-audio/icon-file-audio.vue.d.ts +1 -0
- package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-file-audio/index.d.ts +3 -0
- package/es/icon/icon-file-image/icon-file-image.js +5 -14
- package/es/icon/icon-file-image/icon-file-image.vue.d.ts +1 -0
- package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-file-image/index.d.ts +3 -0
- package/es/icon/icon-file-pdf/icon-file-pdf.js +5 -14
- package/es/icon/icon-file-pdf/icon-file-pdf.vue.d.ts +1 -0
- package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-file-pdf/index.d.ts +3 -0
- package/es/icon/icon-file-video/icon-file-video.js +5 -14
- package/es/icon/icon-file-video/icon-file-video.vue.d.ts +1 -0
- package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-file-video/index.d.ts +3 -0
- package/es/icon/icon-filter/icon-filter.js +5 -14
- package/es/icon/icon-filter/icon-filter.vue.d.ts +1 -0
- package/es/icon/icon-filter/icon-filter.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-filter/index.d.ts +3 -0
- package/es/icon/icon-find-replace/icon-find-replace.vue.d.ts +1 -0
- package/es/icon/icon-find-replace/index.d.ts +3 -0
- package/es/icon/icon-fire/icon-fire.vue.d.ts +1 -0
- package/es/icon/icon-fire/index.d.ts +3 -0
- package/es/icon/icon-folder/icon-folder.vue.d.ts +1 -0
- package/es/icon/icon-folder/index.d.ts +3 -0
- package/es/icon/icon-folder-add/icon-folder-add.vue.d.ts +1 -0
- package/es/icon/icon-folder-add/index.d.ts +3 -0
- package/es/icon/icon-folder-delete/icon-folder-delete.vue.d.ts +1 -0
- package/es/icon/icon-folder-delete/index.d.ts +3 -0
- package/es/icon/icon-font-colors/icon-font-colors.vue.d.ts +1 -0
- package/es/icon/icon-font-colors/index.d.ts +3 -0
- package/es/icon/icon-formula/icon-formula.vue.d.ts +1 -0
- package/es/icon/icon-formula/index.d.ts +3 -0
- package/es/icon/icon-forward/icon-forward.vue.d.ts +1 -0
- package/es/icon/icon-forward/index.d.ts +3 -0
- package/es/icon/icon-fullscreen/icon-fullscreen.js +5 -14
- package/es/icon/icon-fullscreen/icon-fullscreen.vue.d.ts +1 -0
- package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-fullscreen/index.d.ts +3 -0
- package/es/icon/icon-fullscreen-exit/icon-fullscreen-exit.vue.d.ts +1 -0
- package/es/icon/icon-fullscreen-exit/index.d.ts +3 -0
- package/es/icon/icon-gift/icon-gift.vue.d.ts +1 -0
- package/es/icon/icon-gift/index.d.ts +3 -0
- package/es/icon/icon-github/icon-github.vue.d.ts +1 -0
- package/es/icon/icon-github/index.d.ts +3 -0
- package/es/icon/icon-gitlab/icon-gitlab.vue.d.ts +1 -0
- package/es/icon/icon-gitlab/index.d.ts +3 -0
- package/es/icon/icon-google/icon-google.vue.d.ts +1 -0
- package/es/icon/icon-google/index.d.ts +3 -0
- package/es/icon/icon-google-circle-fill/icon-google-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-google-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-h1/icon-h1.vue.d.ts +1 -0
- package/es/icon/icon-h1/index.d.ts +3 -0
- package/es/icon/icon-h2/icon-h2.vue.d.ts +1 -0
- package/es/icon/icon-h2/index.d.ts +3 -0
- package/es/icon/icon-h3/icon-h3.vue.d.ts +1 -0
- package/es/icon/icon-h3/index.d.ts +3 -0
- package/es/icon/icon-h4/icon-h4.vue.d.ts +1 -0
- package/es/icon/icon-h4/index.d.ts +3 -0
- package/es/icon/icon-h5/icon-h5.vue.d.ts +1 -0
- package/es/icon/icon-h5/index.d.ts +3 -0
- package/es/icon/icon-h6/icon-h6.vue.d.ts +1 -0
- package/es/icon/icon-h6/index.d.ts +3 -0
- package/es/icon/icon-h7/icon-h7.vue.d.ts +1 -0
- package/es/icon/icon-h7/index.d.ts +3 -0
- package/es/icon/icon-heart/icon-heart.vue.d.ts +1 -0
- package/es/icon/icon-heart/index.d.ts +3 -0
- package/es/icon/icon-heart-fill/icon-heart-fill.vue.d.ts +1 -0
- package/es/icon/icon-heart-fill/index.d.ts +3 -0
- package/es/icon/icon-highlight/icon-highlight.vue.d.ts +1 -0
- package/es/icon/icon-highlight/index.d.ts +3 -0
- package/es/icon/icon-history/icon-history.vue.d.ts +1 -0
- package/es/icon/icon-history/index.d.ts +3 -0
- package/es/icon/icon-home/icon-home.vue.d.ts +1 -0
- package/es/icon/icon-home/index.d.ts +3 -0
- package/es/icon/icon-idcard/icon-idcard.vue.d.ts +1 -0
- package/es/icon/icon-idcard/index.d.ts +3 -0
- package/es/icon/icon-image/icon-image.vue.d.ts +1 -0
- package/es/icon/icon-image/index.d.ts +3 -0
- package/es/icon/icon-image-close/icon-image-close.js +5 -14
- package/es/icon/icon-image-close/icon-image-close.vue.d.ts +1 -0
- package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-image-close/index.d.ts +3 -0
- package/es/icon/icon-import/icon-import.vue.d.ts +1 -0
- package/es/icon/icon-import/index.d.ts +3 -0
- package/es/icon/icon-info/icon-info.js +6 -15
- package/es/icon/icon-info/icon-info.vue.d.ts +1 -0
- package/es/icon/icon-info/icon-info.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-info/index.d.ts +3 -0
- package/es/icon/icon-info-circle/icon-info-circle.vue.d.ts +1 -0
- package/es/icon/icon-info-circle/index.d.ts +3 -0
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.js +6 -15
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-info-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-interaction/icon-interaction.vue.d.ts +1 -0
- package/es/icon/icon-interaction/index.d.ts +3 -0
- package/es/icon/icon-italic/icon-italic.vue.d.ts +1 -0
- package/es/icon/icon-italic/index.d.ts +3 -0
- package/es/icon/icon-language/icon-language.vue.d.ts +1 -0
- package/es/icon/icon-language/index.d.ts +3 -0
- package/es/icon/icon-lark-color/icon-lark-color.vue.d.ts +1 -0
- package/es/icon/icon-lark-color/index.d.ts +3 -0
- package/es/icon/icon-launch/icon-launch.vue.d.ts +1 -0
- package/es/icon/icon-launch/index.d.ts +3 -0
- package/es/icon/icon-layers/icon-layers.vue.d.ts +1 -0
- package/es/icon/icon-layers/index.d.ts +3 -0
- package/es/icon/icon-layout/icon-layout.vue.d.ts +1 -0
- package/es/icon/icon-layout/index.d.ts +3 -0
- package/es/icon/icon-left/icon-left.js +5 -14
- package/es/icon/icon-left/icon-left.vue.d.ts +1 -0
- package/es/icon/icon-left/icon-left.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-left/index.d.ts +3 -0
- package/es/icon/icon-left-circle/icon-left-circle.vue.d.ts +1 -0
- package/es/icon/icon-left-circle/index.d.ts +3 -0
- package/es/icon/icon-line-height/icon-line-height.vue.d.ts +1 -0
- package/es/icon/icon-line-height/index.d.ts +3 -0
- package/es/icon/icon-link/icon-link.js +5 -14
- package/es/icon/icon-link/icon-link.vue.d.ts +1 -0
- package/es/icon/icon-link/icon-link.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-link/index.d.ts +3 -0
- package/es/icon/icon-list/icon-list.vue.d.ts +1 -0
- package/es/icon/icon-list/index.d.ts +3 -0
- package/es/icon/icon-live-broadcast/icon-live-broadcast.vue.d.ts +1 -0
- package/es/icon/icon-live-broadcast/index.d.ts +3 -0
- package/es/icon/icon-loading/icon-loading.js +5 -14
- package/es/icon/icon-loading/icon-loading.vue.d.ts +1 -0
- package/es/icon/icon-loading/icon-loading.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-loading/index.d.ts +3 -0
- package/es/icon/icon-location/icon-location.vue.d.ts +1 -0
- package/es/icon/icon-location/index.d.ts +3 -0
- package/es/icon/icon-lock/icon-lock.vue.d.ts +1 -0
- package/es/icon/icon-lock/index.d.ts +3 -0
- package/es/icon/icon-loop/icon-loop.vue.d.ts +1 -0
- package/es/icon/icon-loop/index.d.ts +3 -0
- package/es/icon/icon-man/icon-man.vue.d.ts +1 -0
- package/es/icon/icon-man/index.d.ts +3 -0
- package/es/icon/icon-menu/icon-menu.vue.d.ts +1 -0
- package/es/icon/icon-menu/index.d.ts +3 -0
- package/es/icon/icon-menu-fold/icon-menu-fold.js +5 -14
- package/es/icon/icon-menu-fold/icon-menu-fold.vue.d.ts +1 -0
- package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-menu-fold/index.d.ts +3 -0
- package/es/icon/icon-menu-unfold/icon-menu-unfold.js +5 -14
- package/es/icon/icon-menu-unfold/icon-menu-unfold.vue.d.ts +1 -0
- package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-menu-unfold/index.d.ts +3 -0
- package/es/icon/icon-message/icon-message.vue.d.ts +1 -0
- package/es/icon/icon-message/index.d.ts +3 -0
- package/es/icon/icon-message-banned/icon-message-banned.vue.d.ts +1 -0
- package/es/icon/icon-message-banned/index.d.ts +3 -0
- package/es/icon/icon-mind-mapping/icon-mind-mapping.vue.d.ts +1 -0
- package/es/icon/icon-mind-mapping/index.d.ts +3 -0
- package/es/icon/icon-minus/icon-minus.js +5 -14
- package/es/icon/icon-minus/icon-minus.vue.d.ts +1 -0
- package/es/icon/icon-minus/icon-minus.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-minus/index.d.ts +3 -0
- package/es/icon/icon-minus-circle/icon-minus-circle.vue.d.ts +1 -0
- package/es/icon/icon-minus-circle/index.d.ts +3 -0
- package/es/icon/icon-minus-circle-fill/icon-minus-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-minus-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-mobile/icon-mobile.vue.d.ts +1 -0
- package/es/icon/icon-mobile/index.d.ts +3 -0
- package/es/icon/icon-moon/icon-moon.vue.d.ts +1 -0
- package/es/icon/icon-moon/index.d.ts +3 -0
- package/es/icon/icon-moon-fill/icon-moon-fill.vue.d.ts +1 -0
- package/es/icon/icon-moon-fill/index.d.ts +3 -0
- package/es/icon/icon-more/icon-more.js +6 -15
- package/es/icon/icon-more/icon-more.vue.d.ts +1 -0
- package/es/icon/icon-more/icon-more.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-more/index.d.ts +3 -0
- package/es/icon/icon-more-vertical/icon-more-vertical.vue.d.ts +1 -0
- package/es/icon/icon-more-vertical/index.d.ts +3 -0
- package/es/icon/icon-mosaic/icon-mosaic.vue.d.ts +1 -0
- package/es/icon/icon-mosaic/index.d.ts +3 -0
- package/es/icon/icon-music/icon-music.vue.d.ts +1 -0
- package/es/icon/icon-music/index.d.ts +3 -0
- package/es/icon/icon-mute/icon-mute.vue.d.ts +1 -0
- package/es/icon/icon-mute/index.d.ts +3 -0
- package/es/icon/icon-mute-fill/icon-mute-fill.vue.d.ts +1 -0
- package/es/icon/icon-mute-fill/index.d.ts +3 -0
- package/es/icon/icon-nav/icon-nav.vue.d.ts +1 -0
- package/es/icon/icon-nav/index.d.ts +3 -0
- package/es/icon/icon-notification/icon-notification.vue.d.ts +1 -0
- package/es/icon/icon-notification/index.d.ts +3 -0
- package/es/icon/icon-notification-close/icon-notification-close.vue.d.ts +1 -0
- package/es/icon/icon-notification-close/index.d.ts +3 -0
- package/es/icon/icon-oblique-line/icon-oblique-line.js +5 -14
- package/es/icon/icon-oblique-line/icon-oblique-line.vue.d.ts +1 -0
- package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-oblique-line/index.d.ts +3 -0
- package/es/icon/icon-ordered-list/icon-ordered-list.vue.d.ts +1 -0
- package/es/icon/icon-ordered-list/index.d.ts +3 -0
- package/es/icon/icon-original-size/icon-original-size.js +6 -15
- package/es/icon/icon-original-size/icon-original-size.vue.d.ts +1 -0
- package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-original-size/index.d.ts +3 -0
- package/es/icon/icon-palette/icon-palette.vue.d.ts +1 -0
- package/es/icon/icon-palette/index.d.ts +3 -0
- package/es/icon/icon-paste/icon-paste.vue.d.ts +1 -0
- package/es/icon/icon-paste/index.d.ts +3 -0
- package/es/icon/icon-pause/icon-pause.js +6 -15
- package/es/icon/icon-pause/icon-pause.vue.d.ts +1 -0
- package/es/icon/icon-pause/icon-pause.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-pause/index.d.ts +3 -0
- package/es/icon/icon-pause-circle/icon-pause-circle.vue.d.ts +1 -0
- package/es/icon/icon-pause-circle/index.d.ts +3 -0
- package/es/icon/icon-pause-circle-fill/icon-pause-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-pause-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-pen/icon-pen.vue.d.ts +1 -0
- package/es/icon/icon-pen/index.d.ts +3 -0
- package/es/icon/icon-pen-fill/icon-pen-fill.vue.d.ts +1 -0
- package/es/icon/icon-pen-fill/index.d.ts +3 -0
- package/es/icon/icon-phone/icon-phone.vue.d.ts +1 -0
- package/es/icon/icon-phone/index.d.ts +3 -0
- package/es/icon/icon-play-arrow/icon-play-arrow.vue.d.ts +1 -0
- package/es/icon/icon-play-arrow/index.d.ts +3 -0
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.js +6 -15
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue.d.ts +1 -0
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-play-arrow-fill/index.d.ts +3 -0
- package/es/icon/icon-play-circle/icon-play-circle.vue.d.ts +1 -0
- package/es/icon/icon-play-circle/index.d.ts +3 -0
- package/es/icon/icon-play-circle-fill/icon-play-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-play-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-plus/icon-plus.js +5 -14
- package/es/icon/icon-plus/icon-plus.vue.d.ts +1 -0
- package/es/icon/icon-plus/icon-plus.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-plus/index.d.ts +3 -0
- package/es/icon/icon-plus-circle/icon-plus-circle.vue.d.ts +1 -0
- package/es/icon/icon-plus-circle/index.d.ts +3 -0
- package/es/icon/icon-plus-circle-fill/icon-plus-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-plus-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-poweroff/icon-poweroff.vue.d.ts +1 -0
- package/es/icon/icon-poweroff/index.d.ts +3 -0
- package/es/icon/icon-printer/icon-printer.vue.d.ts +1 -0
- package/es/icon/icon-printer/index.d.ts +3 -0
- package/es/icon/icon-public/icon-public.vue.d.ts +1 -0
- package/es/icon/icon-public/index.d.ts +3 -0
- package/es/icon/icon-pushpin/icon-pushpin.vue.d.ts +1 -0
- package/es/icon/icon-pushpin/index.d.ts +3 -0
- package/es/icon/icon-qq/icon-qq.vue.d.ts +1 -0
- package/es/icon/icon-qq/index.d.ts +3 -0
- package/es/icon/icon-qq-circle-fill/icon-qq-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-qq-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-qq-zone/icon-qq-zone.vue.d.ts +1 -0
- package/es/icon/icon-qq-zone/index.d.ts +3 -0
- package/es/icon/icon-qrcode/icon-qrcode.vue.d.ts +1 -0
- package/es/icon/icon-qrcode/index.d.ts +3 -0
- package/es/icon/icon-question/icon-question.vue.d.ts +1 -0
- package/es/icon/icon-question/index.d.ts +3 -0
- package/es/icon/icon-question-circle/icon-question-circle.js +5 -14
- package/es/icon/icon-question-circle/icon-question-circle.vue.d.ts +1 -0
- package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-question-circle/index.d.ts +3 -0
- package/es/icon/icon-question-circle-fill/icon-question-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-question-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-quote/icon-quote.vue.d.ts +1 -0
- package/es/icon/icon-quote/index.d.ts +3 -0
- package/es/icon/icon-record/icon-record.vue.d.ts +1 -0
- package/es/icon/icon-record/index.d.ts +3 -0
- package/es/icon/icon-record-stop/icon-record-stop.vue.d.ts +1 -0
- package/es/icon/icon-record-stop/index.d.ts +3 -0
- package/es/icon/icon-redo/icon-redo.vue.d.ts +1 -0
- package/es/icon/icon-redo/index.d.ts +3 -0
- package/es/icon/icon-refresh/icon-refresh.vue.d.ts +1 -0
- package/es/icon/icon-refresh/index.d.ts +3 -0
- package/es/icon/icon-relation/icon-relation.vue.d.ts +1 -0
- package/es/icon/icon-relation/index.d.ts +3 -0
- package/es/icon/icon-reply/icon-reply.vue.d.ts +1 -0
- package/es/icon/icon-reply/index.d.ts +3 -0
- package/es/icon/icon-right/icon-right.js +5 -14
- package/es/icon/icon-right/icon-right.vue.d.ts +1 -0
- package/es/icon/icon-right/icon-right.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-right/index.d.ts +3 -0
- package/es/icon/icon-right-circle/icon-right-circle.vue.d.ts +1 -0
- package/es/icon/icon-right-circle/index.d.ts +3 -0
- package/es/icon/icon-robot/icon-robot.vue.d.ts +1 -0
- package/es/icon/icon-robot/index.d.ts +3 -0
- package/es/icon/icon-robot-add/icon-robot-add.vue.d.ts +1 -0
- package/es/icon/icon-robot-add/index.d.ts +3 -0
- package/es/icon/icon-rotate-left/icon-rotate-left.js +5 -14
- package/es/icon/icon-rotate-left/icon-rotate-left.vue.d.ts +1 -0
- package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-rotate-left/index.d.ts +3 -0
- package/es/icon/icon-rotate-right/icon-rotate-right.js +5 -14
- package/es/icon/icon-rotate-right/icon-rotate-right.vue.d.ts +1 -0
- package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-rotate-right/index.d.ts +3 -0
- package/es/icon/icon-safe/icon-safe.vue.d.ts +1 -0
- package/es/icon/icon-safe/index.d.ts +3 -0
- package/es/icon/icon-save/icon-save.vue.d.ts +1 -0
- package/es/icon/icon-save/index.d.ts +3 -0
- package/es/icon/icon-scan/icon-scan.vue.d.ts +1 -0
- package/es/icon/icon-scan/index.d.ts +3 -0
- package/es/icon/icon-schedule/icon-schedule.vue.d.ts +1 -0
- package/es/icon/icon-schedule/index.d.ts +3 -0
- package/es/icon/icon-scissor/icon-scissor.vue.d.ts +1 -0
- package/es/icon/icon-scissor/index.d.ts +3 -0
- package/es/icon/icon-search/icon-search.js +5 -14
- package/es/icon/icon-search/icon-search.vue.d.ts +1 -0
- package/es/icon/icon-search/icon-search.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-search/index.d.ts +3 -0
- package/es/icon/icon-select-all/icon-select-all.vue.d.ts +1 -0
- package/es/icon/icon-select-all/index.d.ts +3 -0
- package/es/icon/icon-send/icon-send.vue.d.ts +1 -0
- package/es/icon/icon-send/index.d.ts +3 -0
- package/es/icon/icon-settings/icon-settings.vue.d.ts +1 -0
- package/es/icon/icon-settings/index.d.ts +3 -0
- package/es/icon/icon-shake/icon-shake.vue.d.ts +1 -0
- package/es/icon/icon-shake/index.d.ts +3 -0
- package/es/icon/icon-share-alt/icon-share-alt.vue.d.ts +1 -0
- package/es/icon/icon-share-alt/index.d.ts +3 -0
- package/es/icon/icon-share-external/icon-share-external.vue.d.ts +1 -0
- package/es/icon/icon-share-external/index.d.ts +3 -0
- package/es/icon/icon-share-internal/icon-share-internal.vue.d.ts +1 -0
- package/es/icon/icon-share-internal/index.d.ts +3 -0
- package/es/icon/icon-shrink/icon-shrink.vue.d.ts +1 -0
- package/es/icon/icon-shrink/index.d.ts +3 -0
- package/es/icon/icon-skin/icon-skin.vue.d.ts +1 -0
- package/es/icon/icon-skin/index.d.ts +3 -0
- package/es/icon/icon-skip-next/icon-skip-next.vue.d.ts +1 -0
- package/es/icon/icon-skip-next/index.d.ts +3 -0
- package/es/icon/icon-skip-next-fill/icon-skip-next-fill.vue.d.ts +1 -0
- package/es/icon/icon-skip-next-fill/index.d.ts +3 -0
- package/es/icon/icon-skip-previous/icon-skip-previous.vue.d.ts +1 -0
- package/es/icon/icon-skip-previous/index.d.ts +3 -0
- package/es/icon/icon-skip-previous-fill/icon-skip-previous-fill.vue.d.ts +1 -0
- package/es/icon/icon-skip-previous-fill/index.d.ts +3 -0
- package/es/icon/icon-sort/icon-sort.vue.d.ts +1 -0
- package/es/icon/icon-sort/index.d.ts +3 -0
- package/es/icon/icon-sort-ascending/icon-sort-ascending.vue.d.ts +1 -0
- package/es/icon/icon-sort-ascending/index.d.ts +3 -0
- package/es/icon/icon-sort-descending/icon-sort-descending.vue.d.ts +1 -0
- package/es/icon/icon-sort-descending/index.d.ts +3 -0
- package/es/icon/icon-sound/icon-sound.vue.d.ts +1 -0
- package/es/icon/icon-sound/index.d.ts +3 -0
- package/es/icon/icon-sound-fill/icon-sound-fill.vue.d.ts +1 -0
- package/es/icon/icon-sound-fill/index.d.ts +3 -0
- package/es/icon/icon-stamp/icon-stamp.vue.d.ts +1 -0
- package/es/icon/icon-stamp/index.d.ts +3 -0
- package/es/icon/icon-star/icon-star.vue.d.ts +1 -0
- package/es/icon/icon-star/index.d.ts +3 -0
- package/es/icon/icon-star-fill/icon-star-fill.js +6 -15
- package/es/icon/icon-star-fill/icon-star-fill.vue.d.ts +1 -0
- package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-star-fill/index.d.ts +3 -0
- package/es/icon/icon-stop/icon-stop.vue.d.ts +1 -0
- package/es/icon/icon-stop/index.d.ts +3 -0
- package/es/icon/icon-storage/icon-storage.vue.d.ts +1 -0
- package/es/icon/icon-storage/index.d.ts +3 -0
- package/es/icon/icon-strikethrough/icon-strikethrough.vue.d.ts +1 -0
- package/es/icon/icon-strikethrough/index.d.ts +3 -0
- package/es/icon/icon-subscribe/icon-subscribe.vue.d.ts +1 -0
- package/es/icon/icon-subscribe/index.d.ts +3 -0
- package/es/icon/icon-subscribe-add/icon-subscribe-add.vue.d.ts +1 -0
- package/es/icon/icon-subscribe-add/index.d.ts +3 -0
- package/es/icon/icon-subscribed/icon-subscribed.vue.d.ts +1 -0
- package/es/icon/icon-subscribed/index.d.ts +3 -0
- package/es/icon/icon-sun/icon-sun.vue.d.ts +1 -0
- package/es/icon/icon-sun/index.d.ts +3 -0
- package/es/icon/icon-sun-fill/icon-sun-fill.vue.d.ts +1 -0
- package/es/icon/icon-sun-fill/index.d.ts +3 -0
- package/es/icon/icon-swap/icon-swap.vue.d.ts +1 -0
- package/es/icon/icon-swap/index.d.ts +3 -0
- package/es/icon/icon-sync/icon-sync.vue.d.ts +1 -0
- package/es/icon/icon-sync/index.d.ts +3 -0
- package/es/icon/icon-tag/icon-tag.vue.d.ts +1 -0
- package/es/icon/icon-tag/index.d.ts +3 -0
- package/es/icon/icon-tags/icon-tags.vue.d.ts +1 -0
- package/es/icon/icon-tags/index.d.ts +3 -0
- package/es/icon/icon-thumb-down/icon-thumb-down.vue.d.ts +1 -0
- package/es/icon/icon-thumb-down/index.d.ts +3 -0
- package/es/icon/icon-thumb-down-fill/icon-thumb-down-fill.vue.d.ts +1 -0
- package/es/icon/icon-thumb-down-fill/index.d.ts +3 -0
- package/es/icon/icon-thumb-up/icon-thumb-up.vue.d.ts +1 -0
- package/es/icon/icon-thumb-up/index.d.ts +3 -0
- package/es/icon/icon-thumb-up-fill/icon-thumb-up-fill.vue.d.ts +1 -0
- package/es/icon/icon-thumb-up-fill/index.d.ts +3 -0
- package/es/icon/icon-thunderbolt/icon-thunderbolt.vue.d.ts +1 -0
- package/es/icon/icon-thunderbolt/index.d.ts +3 -0
- package/es/icon/icon-tiktok-color/icon-tiktok-color.vue.d.ts +1 -0
- package/es/icon/icon-tiktok-color/index.d.ts +3 -0
- package/es/icon/icon-to-bottom/icon-to-bottom.vue.d.ts +1 -0
- package/es/icon/icon-to-bottom/index.d.ts +3 -0
- package/es/icon/icon-to-left/icon-to-left.vue.d.ts +1 -0
- package/es/icon/icon-to-left/index.d.ts +3 -0
- package/es/icon/icon-to-right/icon-to-right.vue.d.ts +1 -0
- package/es/icon/icon-to-right/index.d.ts +3 -0
- package/es/icon/icon-to-top/icon-to-top.js +6 -15
- package/es/icon/icon-to-top/icon-to-top.vue.d.ts +1 -0
- package/es/icon/icon-to-top/icon-to-top.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-to-top/index.d.ts +3 -0
- package/es/icon/icon-tool/icon-tool.vue.d.ts +1 -0
- package/es/icon/icon-tool/index.d.ts +3 -0
- package/es/icon/icon-translate/icon-translate.vue.d.ts +1 -0
- package/es/icon/icon-translate/index.d.ts +3 -0
- package/es/icon/icon-trophy/icon-trophy.vue.d.ts +1 -0
- package/es/icon/icon-trophy/index.d.ts +3 -0
- package/es/icon/icon-twitter/icon-twitter.vue.d.ts +1 -0
- package/es/icon/icon-twitter/index.d.ts +3 -0
- package/es/icon/icon-twitter-circle-fill/icon-twitter-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-twitter-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-underline/icon-underline.vue.d.ts +1 -0
- package/es/icon/icon-underline/index.d.ts +3 -0
- package/es/icon/icon-undo/icon-undo.vue.d.ts +1 -0
- package/es/icon/icon-undo/index.d.ts +3 -0
- package/es/icon/icon-unlock/icon-unlock.vue.d.ts +1 -0
- package/es/icon/icon-unlock/index.d.ts +3 -0
- package/es/icon/icon-unordered-list/icon-unordered-list.vue.d.ts +1 -0
- package/es/icon/icon-unordered-list/index.d.ts +3 -0
- package/es/icon/icon-up/icon-up.js +5 -14
- package/es/icon/icon-up/icon-up.vue.d.ts +1 -0
- package/es/icon/icon-up/icon-up.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-up/index.d.ts +3 -0
- package/es/icon/icon-up-circle/icon-up-circle.vue.d.ts +1 -0
- package/es/icon/icon-up-circle/index.d.ts +3 -0
- package/es/icon/icon-upload/icon-upload.js +5 -14
- package/es/icon/icon-upload/icon-upload.vue.d.ts +1 -0
- package/es/icon/icon-upload/icon-upload.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-upload/index.d.ts +3 -0
- package/es/icon/icon-user/icon-user.vue.d.ts +1 -0
- package/es/icon/icon-user/index.d.ts +3 -0
- package/es/icon/icon-user-add/icon-user-add.vue.d.ts +1 -0
- package/es/icon/icon-user-add/index.d.ts +3 -0
- package/es/icon/icon-user-group/icon-user-group.vue.d.ts +1 -0
- package/es/icon/icon-user-group/index.d.ts +3 -0
- package/es/icon/icon-video-camera/icon-video-camera.vue.d.ts +1 -0
- package/es/icon/icon-video-camera/index.d.ts +3 -0
- package/es/icon/icon-voice/icon-voice.vue.d.ts +1 -0
- package/es/icon/icon-voice/index.d.ts +3 -0
- package/es/icon/icon-wechat/icon-wechat.vue.d.ts +1 -0
- package/es/icon/icon-wechat/index.d.ts +3 -0
- package/es/icon/icon-wechatpay/icon-wechatpay.vue.d.ts +1 -0
- package/es/icon/icon-wechatpay/index.d.ts +3 -0
- package/es/icon/icon-weibo/icon-weibo.vue.d.ts +1 -0
- package/es/icon/icon-weibo/index.d.ts +3 -0
- package/es/icon/icon-weibo-circle-fill/icon-weibo-circle-fill.vue.d.ts +1 -0
- package/es/icon/icon-weibo-circle-fill/index.d.ts +3 -0
- package/es/icon/icon-wifi/icon-wifi.vue.d.ts +1 -0
- package/es/icon/icon-wifi/index.d.ts +3 -0
- package/es/icon/icon-woman/icon-woman.vue.d.ts +1 -0
- package/es/icon/icon-woman/index.d.ts +3 -0
- package/es/icon/icon-xigua-color/icon-xigua-color.vue.d.ts +1 -0
- package/es/icon/icon-xigua-color/index.d.ts +3 -0
- package/es/icon/icon-zoom-in/icon-zoom-in.js +5 -14
- package/es/icon/icon-zoom-in/icon-zoom-in.vue.d.ts +1 -0
- package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-zoom-in/index.d.ts +3 -0
- package/es/icon/icon-zoom-out/icon-zoom-out.js +5 -14
- package/es/icon/icon-zoom-out/icon-zoom-out.vue.d.ts +1 -0
- package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_lang.js +6 -0
- package/es/icon/icon-zoom-out/index.d.ts +3 -0
- package/es/icon.js +2975 -3836
- package/es/image/image.vue.d.ts +30 -12
- package/es/image/preview-action.d.ts +12 -12
- package/es/image/preview-arrow.vue.d.ts +6 -0
- package/es/image/preview-group.vue.d.ts +24 -12
- package/es/image/preview-toolbar.vue.d.ts +12 -12
- package/es/image/preview.vue.d.ts +24 -12
- package/es/index.css +145 -87
- package/es/index.d.ts +1 -1
- package/es/index.js +4 -4
- package/es/index.scss +1 -0
- package/es/input/index.d.ts +6 -0
- package/es/input/input-password.vue.d.ts +6 -0
- package/es/input-tag/index.d.ts +6 -6
- package/es/input-tag/input-tag.d.ts +3 -3
- package/es/input-tag/input-tag.js +179 -30
- package/es/input-tag/style/index.css +45 -0
- package/es/input-tag/style/input-tag.scss +53 -0
- package/es/layout/index.d.ts +18 -0
- package/es/layout/sider.vue.d.ts +18 -0
- package/es/link/index.d.ts +12 -0
- package/es/link/link.vue.d.ts +6 -0
- package/es/list/index.d.ts +12 -12
- package/es/list/list.d.ts +3 -3
- package/es/list/list.js +45 -11
- package/es/mention/utils.js +1 -1
- package/es/menu/base-menu.vue.d.ts +6 -0
- package/es/menu/index.js +3 -3
- package/es/menu/item.js +1 -2
- package/es/menu/menu.d.ts +6 -0
- package/es/menu/overflow-wrap.js +2 -2
- package/es/menu/sub-menu-inline.vue.d.ts +6 -6
- package/es/menu/sub-menu-pop.vue.d.ts +12 -6
- package/es/menu/sub-menu.d.ts +62 -3
- package/es/menu/sub-menu.js +3 -6
- package/es/message/message-list.d.ts +3 -1
- package/es/message/message-list.js +22 -28
- package/es/message/message.vue.d.ts +18 -0
- package/es/modal/index.d.ts +42 -0
- package/es/modal/index.js +1 -1
- package/es/modal/modal.vue.d.ts +21 -0
- package/es/modal/modal.vue_vue_type_script_lang.js +1 -1
- package/es/notification/notification-list.d.ts +3 -1
- package/es/notification/notification-list.js +28 -34
- package/es/notification/notification.vue.d.ts +15 -0
- package/es/overflow-list/index.d.ts +3 -3
- package/es/overflow-list/overflow-list.d.ts +1 -1
- package/es/page-header/index.d.ts +6 -0
- package/es/page-header/page-header.vue.d.ts +3 -0
- package/es/pagination/page-item-ellipsis.vue.d.ts +3 -0
- package/es/pagination/page-item-step.vue.d.ts +6 -0
- package/es/pagination/page-jumper.vue.d.ts +7 -6
- package/es/pagination/page-jumper.vue_vue_type_script_lang.js +2 -1
- package/es/pagination/page-options.vue.d.ts +192 -102
- package/es/popconfirm/index.d.ts +48 -12
- package/es/popconfirm/popconfirm.vue.d.ts +24 -6
- package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +1 -1
- package/es/popover/index.d.ts +12 -12
- package/es/popover/popover.vue.d.ts +6 -6
- package/es/progress/circle.js +7 -14
- package/es/progress/circle.vue.d.ts +18 -7
- package/es/progress/circle.vue_vue_type_script_lang.js +21 -1
- package/es/progress/index.d.ts +44 -5
- package/es/progress/line.vue.d.ts +4 -1
- package/es/progress/progress.js +1 -1
- package/es/progress/progress.vue.d.ts +21 -2
- package/es/progress/progress.vue_vue_type_script_lang.js +2 -0
- package/es/progress/steps.js +1 -1
- package/es/progress/steps.vue.d.ts +8 -3
- package/es/progress/steps.vue_vue_type_script_lang.js +9 -4
- package/es/radio/index.d.ts +1 -1
- package/es/radio/radio-group.d.ts +1 -1
- package/es/resize-box/index.d.ts +12 -0
- package/es/resize-box/resize-box.vue.d.ts +6 -0
- package/es/result/index.d.ts +24 -0
- package/es/result/result.vue.d.ts +12 -0
- package/es/scrollbar/index.d.ts +296 -170
- package/es/scrollbar/interface.d.ts +101 -12
- package/es/scrollbar/scrollbar.js +6 -40
- package/es/scrollbar/scrollbar.vue.d.ts +123 -79
- package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +180 -116
- package/es/scrollbar/style/index.css +43 -86
- package/es/scrollbar/style/index.d.ts +1 -0
- package/es/scrollbar/style/index.scss +43 -107
- package/es/scrollbar/style/token.scss +6 -2
- package/es/sd-vue.js +4 -4
- package/es/select/hooks/use-options.d.ts +9 -4
- package/es/select/hooks/use-options.js +2 -2
- package/es/select/hooks/use-select.d.ts +10 -5
- package/es/select/index.d.ts +192 -102
- package/es/select/interface.d.ts +57 -46
- package/es/select/option.vue.d.ts +1 -1
- package/es/select/select-dropdown.vue.d.ts +293 -168
- package/es/select/select.d.ts +107 -59
- package/es/select/select.js +185 -126
- package/es/select/utils.d.ts +1 -1
- package/es/select/utils.js +31 -13
- package/es/skeleton/index.d.ts +1 -1
- package/es/skeleton/line.vue.d.ts +1 -1
- package/es/slider/index.d.ts +34 -34
- package/es/slider/slider-button.vue.d.ts +12 -12
- package/es/slider/slider-input.vue.d.ts +2 -2
- package/es/slider/slider.vue.d.ts +16 -16
- package/es/slider/slider.vue_vue_type_script_lang.js +2 -2
- package/es/space/index.d.ts +3 -3
- package/es/space/space.d.ts +1 -1
- package/es/split/index.d.ts +15 -3
- package/es/split/split.vue.d.ts +7 -1
- package/es/split/split.vue_vue_type_script_lang.js +8 -5
- package/es/statistic/index.d.ts +6 -6
- package/es/statistic/statistic.vue.d.ts +2 -2
- package/es/steps/index.d.ts +9 -3
- package/es/steps/step.vue.d.ts +6 -0
- package/es/steps/steps.vue.d.ts +1 -1
- package/es/style/icon.scss +1 -1
- package/es/switch/index.d.ts +6 -0
- package/es/switch/switch.vue.d.ts +3 -0
- package/es/switch/switch.vue_vue_type_script_lang.js +1 -1
- package/es/{_components/virtual-list-v2/hooks/use-size.d.ts → table/hooks/use-table-virtual-size.d.ts} +2 -3
- package/es/table/hooks/use-table-virtual-size.js +97 -0
- package/es/table/index.d.ts +38 -11
- package/es/table/table-column.d.ts +1 -1
- package/es/{_components/virtual-list-v2/virtual-list.js → table/table-legacy-virtual-list.js} +7 -7
- package/es/{_components/virtual-list-v2/virtual-list.vue.d.ts → table/table-legacy-virtual-list.vue.d.ts} +26 -21
- package/es/{_components/virtual-list-v2/virtual-list.vue_vue_type_script_lang.js → table/table-legacy-virtual-list.vue_vue_type_script_lang.js} +50 -44
- package/es/table/table-operation-td.d.ts +8 -2
- package/es/table/table-tr.d.ts +1 -1
- package/es/table/table-virtual-list-item.js +37 -0
- package/es/table/table.d.ts +15 -5
- package/es/table/table.js +2 -2
- package/es/tabs/index.d.ts +6 -6
- package/es/tabs/tabs-tab.vue.d.ts +3 -0
- package/es/tabs/tabs.d.ts +2 -2
- package/es/tag/index.d.ts +12 -0
- package/es/tag/tag.vue.d.ts +6 -0
- package/es/textarea/index.d.ts +6 -0
- package/es/textarea/textarea.vue.d.ts +3 -0
- package/es/theme-provider/index.d.ts +3 -3
- package/es/time-picker/index.d.ts +112 -22
- package/es/time-picker/panel.vue.d.ts +7 -1
- package/es/time-picker/range-panel.d.ts +7 -1
- package/es/time-picker/time-column.vue.d.ts +2 -2
- package/es/time-picker/time-column.vue_vue_type_script_lang.js +2 -1
- package/es/time-picker/time-picker.vue.d.ts +55 -10
- package/es/time-picker/utils/index.d.ts +1 -0
- package/es/tooltip/index.d.ts +12 -12
- package/es/tooltip/tooltip.vue.d.ts +6 -6
- package/es/transfer/index.d.ts +644 -364
- package/es/transfer/transfer-view.vue.d.ts +310 -182
- package/es/transfer/transfer-view.vue_vue_type_script_lang.js +2 -2
- package/es/transfer/transfer.vue.d.ts +322 -182
- package/es/tree/base-node.vue.d.ts +12 -6
- package/es/tree/base-node.vue_vue_type_script_lang.js +20 -11
- package/es/tree/expand-transition.vue.d.ts +3 -3
- package/es/tree/expand-transition.vue_vue_type_script_lang.js +9 -6
- package/es/tree/hooks/use-tree-data.d.ts +2 -2
- package/es/tree/index.d.ts +2 -1604
- package/es/tree/interface.d.ts +3 -3
- package/es/tree/node-switcher.vue.d.ts +3 -0
- package/es/tree/transition-node-list.vue.d.ts +15 -9
- package/es/tree/tree.js +8 -5
- package/es/tree/tree.vue.d.ts +7083 -112
- package/es/tree/tree.vue_vue_type_script_lang.js +36 -5
- package/es/tree/utils/tree-data.d.ts +2 -2
- package/es/tree-select/hooks/use-selected-state.d.ts +2 -0
- package/es/tree-select/hooks/use-selected-state.js +26 -8
- package/es/tree-select/index.d.ts +2 -5533
- package/es/tree-select/interface.d.ts +18 -3
- package/es/tree-select/panel.d.ts +9 -1651
- package/es/tree-select/panel.js +3 -2
- package/es/tree-select/style/index.css +5 -0
- package/es/tree-select/style/index.scss +6 -0
- package/es/tree-select/tree-select.js +29 -16
- package/es/tree-select/tree-select.vue.d.ts +3 -2796
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +115 -22
- package/es/trigger/index.d.ts +6 -6
- package/es/trigger/trigger.d.ts +2 -2
- package/es/trigger/trigger.js +1 -1
- package/es/typography/edit-content.vue.d.ts +18 -0
- package/es/typography/operations.vue.d.ts +21 -12
- package/es/watermark/index.d.ts +3 -3
- package/es/watermark/watermark.d.ts +1 -1
- package/es/web-vue.css +670 -0
- package/json/vetur-attributes.json +93 -164
- package/json/vetur-tags.json +27 -47
- package/json/web-types.json +215 -374
- package/package.json +14 -9
- package/es/_components/virtual-list/filler.vue.d.ts +0 -35
- package/es/_components/virtual-list/hooks/use-item-height.d.ts +0 -15
- package/es/_components/virtual-list/hooks/use-range-state.d.ts +0 -16
- package/es/_components/virtual-list/hooks/use-render-children.d.ts +0 -11
- package/es/_components/virtual-list/hooks/use-scroll-to.d.ts +0 -35
- package/es/_components/virtual-list/hooks/use-viewport-height.d.ts +0 -7
- package/es/_components/virtual-list/utils/algorithm.d.ts +0 -6
- package/es/_components/virtual-list/utils/index.d.ts +0 -37
- package/es/_components/virtual-list-v2/hooks/use-size.js +0 -91
- package/es/_components/virtual-list-v2/index.js +0 -5
- package/es/_components/virtual-list-v2/interface.d.ts +0 -35
- package/es/_components/virtual-list-v2/virtual-list-item.js +0 -37
- package/es/scrollbar/thumb.js +0 -22
- package/es/scrollbar/thumb.vue.d.ts +0 -58
- package/es/scrollbar/thumb.vue_vue_type_script_lang.js +0 -116
- /package/es/_components/{virtual-list-v2 → virtual-list}/index.d.ts +0 -0
- /package/es/{_components/virtual-list-v2/virtual-list-item.d.ts → table/table-virtual-list-item.d.ts} +0 -0
package/es/select/select.js
CHANGED
|
@@ -2,8 +2,9 @@ import { useFormItem } from "../_hooks/use-form-item.js";
|
|
|
2
2
|
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
4
4
|
import { isArray, isBoolean, isEmptyObject, isFunction, isNull, isNumber, isObject, isString, isUndefined } from "../_utils/is.js";
|
|
5
|
-
import
|
|
5
|
+
import virtual_list_default from "../_components/virtual-list/index.js";
|
|
6
6
|
import { useAllowClear } from "../_hooks/use-allow-clear.js";
|
|
7
|
+
import { resolveDropdownVirtualListProps } from "../_utils/virtual-dropdown.js";
|
|
7
8
|
import { getKeyFromValue, hasEmptyStringKey, isGroupOptionInfo, isValidOption } from "./utils.js";
|
|
8
9
|
import { useSelect } from "./hooks/use-select.js";
|
|
9
10
|
import option_default from "./option.js";
|
|
@@ -21,10 +22,11 @@ function _isSlot(s) {
|
|
|
21
22
|
var DEFAULT_FIELD_NAMES = {
|
|
22
23
|
value: "value",
|
|
23
24
|
label: "label",
|
|
25
|
+
children: "children",
|
|
24
26
|
disabled: "disabled",
|
|
25
|
-
tagProps: "tagProps"
|
|
26
|
-
render: "render"
|
|
27
|
+
tagProps: "tagProps"
|
|
27
28
|
};
|
|
29
|
+
var DEFAULT_SELECT_VIRTUAL_ITEM_SIZE = 36;
|
|
28
30
|
var select_default = /* @__PURE__ */ defineComponent({
|
|
29
31
|
name: "Select",
|
|
30
32
|
components: {
|
|
@@ -37,6 +39,16 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
37
39
|
type: Boolean,
|
|
38
40
|
default: false
|
|
39
41
|
},
|
|
42
|
+
value: {
|
|
43
|
+
type: [
|
|
44
|
+
String,
|
|
45
|
+
Number,
|
|
46
|
+
Boolean,
|
|
47
|
+
Object,
|
|
48
|
+
Array
|
|
49
|
+
],
|
|
50
|
+
default: void 0
|
|
51
|
+
},
|
|
40
52
|
modelValue: {
|
|
41
53
|
type: [
|
|
42
54
|
String,
|
|
@@ -55,7 +67,7 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
55
67
|
Object,
|
|
56
68
|
Array
|
|
57
69
|
],
|
|
58
|
-
default: (props) =>
|
|
70
|
+
default: (props) => props.multiple ? [] : ""
|
|
59
71
|
},
|
|
60
72
|
inputValue: { type: String },
|
|
61
73
|
defaultInputValue: {
|
|
@@ -78,19 +90,23 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
78
90
|
},
|
|
79
91
|
allowClear: {
|
|
80
92
|
type: Boolean,
|
|
81
|
-
default:
|
|
93
|
+
default: true
|
|
82
94
|
},
|
|
83
95
|
allowSearch: {
|
|
84
96
|
type: [Boolean, Object],
|
|
85
|
-
default:
|
|
97
|
+
default: true
|
|
86
98
|
},
|
|
87
99
|
allowCreate: {
|
|
88
100
|
type: Boolean,
|
|
89
101
|
default: false
|
|
90
102
|
},
|
|
103
|
+
showArrow: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: true
|
|
106
|
+
},
|
|
91
107
|
maxTagCount: {
|
|
92
|
-
type: Number,
|
|
93
|
-
default:
|
|
108
|
+
type: [Number, String],
|
|
109
|
+
default: "responsive"
|
|
94
110
|
},
|
|
95
111
|
popupContainer: { type: [String, Object] },
|
|
96
112
|
bordered: {
|
|
@@ -105,10 +121,18 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
105
121
|
type: Boolean,
|
|
106
122
|
default: void 0
|
|
107
123
|
},
|
|
124
|
+
show: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
default: void 0
|
|
127
|
+
},
|
|
108
128
|
defaultPopupVisible: {
|
|
109
129
|
type: Boolean,
|
|
110
130
|
default: false
|
|
111
131
|
},
|
|
132
|
+
defaultShow: {
|
|
133
|
+
type: Boolean,
|
|
134
|
+
default: void 0
|
|
135
|
+
},
|
|
112
136
|
unmountOnClose: {
|
|
113
137
|
type: Boolean,
|
|
114
138
|
default: false
|
|
@@ -123,7 +147,6 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
123
147
|
},
|
|
124
148
|
virtualListProps: { type: Object },
|
|
125
149
|
triggerProps: { type: Object },
|
|
126
|
-
formatLabel: { type: Function },
|
|
127
150
|
fallbackOption: {
|
|
128
151
|
type: [Boolean, Function],
|
|
129
152
|
default: true
|
|
@@ -164,11 +187,14 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
164
187
|
},
|
|
165
188
|
emits: {
|
|
166
189
|
"update:modelValue": (_value) => true,
|
|
190
|
+
"update:value": (_value) => true,
|
|
167
191
|
"update:inputValue": (_inputValue) => true,
|
|
168
192
|
"update:popupVisible": (_visible) => true,
|
|
193
|
+
"update:show": (_visible) => true,
|
|
169
194
|
"change": (_value) => true,
|
|
170
195
|
"inputValueChange": (_inputValue) => true,
|
|
171
196
|
"popupVisibleChange": (_visible) => true,
|
|
197
|
+
"showChange": (_visible) => true,
|
|
172
198
|
"clear": (_ev) => true,
|
|
173
199
|
"remove": (_removed) => true,
|
|
174
200
|
"search": (_inputValue) => true,
|
|
@@ -176,9 +202,10 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
176
202
|
"dropdownReachBottom": (_ev) => true,
|
|
177
203
|
"exceedLimit": (_value, _ev) => true
|
|
178
204
|
},
|
|
179
|
-
setup(props, { slots, emit, attrs }) {
|
|
180
|
-
const { size, disabled, error, options, filterOption, valueKey, multiple, popupVisible, defaultPopupVisible, showExtraOptions, modelValue, fieldNames, loading, defaultActiveFirstOption, allowClear } = toRefs(props);
|
|
205
|
+
setup(props, { slots, emit, attrs, expose }) {
|
|
206
|
+
const { size, disabled, error, options, filterOption, valueKey, multiple, value: valueProp, popupVisible, show, defaultPopupVisible, defaultShow, showExtraOptions, modelValue, fieldNames, loading, defaultActiveFirstOption, allowClear } = toRefs(props);
|
|
181
207
|
const prefixCls = getPrefixCls("select");
|
|
208
|
+
const selectViewRef = ref(null);
|
|
182
209
|
const { mergedSize, mergedDisabled, mergedError, eventHandlers } = useFormItem({
|
|
183
210
|
size,
|
|
184
211
|
disabled,
|
|
@@ -190,26 +217,35 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
190
217
|
const dropdownRef = ref();
|
|
191
218
|
const optionRefs = ref({});
|
|
192
219
|
const virtualListRef = ref();
|
|
220
|
+
const resolvedVirtualListProps = computed(() => {
|
|
221
|
+
return resolveDropdownVirtualListProps(props.virtualListProps, props.triggerProps, DEFAULT_SELECT_VIRTUAL_ITEM_SIZE);
|
|
222
|
+
});
|
|
193
223
|
const { computedPopupVisible, handlePopupVisibleChange } = useTrigger({
|
|
194
224
|
popupVisible,
|
|
195
225
|
defaultPopupVisible,
|
|
226
|
+
show,
|
|
227
|
+
defaultShow,
|
|
196
228
|
emit
|
|
197
229
|
});
|
|
198
230
|
const _value = ref(props.defaultValue);
|
|
199
231
|
const computedValueObjects = computed(() => {
|
|
200
|
-
var _props$modelValue;
|
|
201
|
-
const mergedValue = (_props$modelValue = props.modelValue) !== null && _props$modelValue !== void 0 ? _props$modelValue : _value.value;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
232
|
+
var _ref, _props$modelValue;
|
|
233
|
+
const mergedValue = (_ref = (_props$modelValue = props.modelValue) !== null && _props$modelValue !== void 0 ? _props$modelValue : props.value) !== null && _ref !== void 0 ? _ref : _value.value;
|
|
234
|
+
const valueArray = [];
|
|
235
|
+
if (isArray(mergedValue)) valueArray.push(...mergedValue);
|
|
236
|
+
else if (mergedValue || isNumber(mergedValue) || isString(mergedValue) || isBoolean(mergedValue)) valueArray.push(mergedValue);
|
|
237
|
+
return valueArray.map((item) => ({
|
|
238
|
+
value: item,
|
|
239
|
+
key: getKeyFromValue(item, props.valueKey)
|
|
205
240
|
}));
|
|
206
241
|
});
|
|
207
|
-
watch(modelValue, (
|
|
208
|
-
|
|
242
|
+
watch([modelValue, valueProp], ([nextModelValue, nextValue]) => {
|
|
243
|
+
const mergedValue = nextModelValue !== null && nextModelValue !== void 0 ? nextModelValue : nextValue;
|
|
244
|
+
if (isUndefined(mergedValue) || isNull(mergedValue)) _value.value = multiple.value ? [] : mergedValue;
|
|
209
245
|
});
|
|
210
|
-
const computedValueKeys = computed(() => computedValueObjects.value.map((
|
|
211
|
-
const mergedFieldNames = computed(() => _objectSpread2(_objectSpread2({}, DEFAULT_FIELD_NAMES), fieldNames
|
|
212
|
-
const
|
|
246
|
+
const computedValueKeys = computed(() => computedValueObjects.value.map((item) => item.key));
|
|
247
|
+
const mergedFieldNames = computed(() => _objectSpread2(_objectSpread2({}, DEFAULT_FIELD_NAMES), fieldNames.value));
|
|
248
|
+
const selectedOptionMap = ref({});
|
|
213
249
|
const getRawOptionFromValueKeys = (valueKeys) => {
|
|
214
250
|
const optionMap = {};
|
|
215
251
|
valueKeys.forEach((key) => {
|
|
@@ -218,61 +254,63 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
218
254
|
return optionMap;
|
|
219
255
|
};
|
|
220
256
|
const updateSelectedOption = (valueKeys) => {
|
|
221
|
-
|
|
257
|
+
selectedOptionMap.value = getRawOptionFromValueKeys(valueKeys);
|
|
222
258
|
};
|
|
223
259
|
const getFallBackOption = (value) => {
|
|
224
260
|
if (isFunction(props.fallbackOption)) return props.fallbackOption(value);
|
|
225
261
|
return {
|
|
226
262
|
[mergedFieldNames.value.value]: value,
|
|
227
|
-
[mergedFieldNames.value.label]: String(isObject(value) ? value[valueKey
|
|
263
|
+
[mergedFieldNames.value.label]: String(isObject(value) ? value[valueKey.value] : value)
|
|
228
264
|
};
|
|
229
265
|
};
|
|
266
|
+
const shouldAppendExtraValue = (keyArray, optionKey, optionValue) => {
|
|
267
|
+
if (keyArray.includes(optionKey) || optionValue === "") return false;
|
|
268
|
+
const optionInfo = optionInfoMap.get(optionKey);
|
|
269
|
+
return !optionInfo || optionInfo.origin === "extraOptions";
|
|
270
|
+
};
|
|
271
|
+
const appendExtraValue = (valueArray, keyArray, option) => {
|
|
272
|
+
valueArray.push(option);
|
|
273
|
+
keyArray.push(option.key);
|
|
274
|
+
};
|
|
230
275
|
const getExtraValueData = () => {
|
|
231
276
|
const valueArray = [];
|
|
232
277
|
const keyArray = [];
|
|
233
278
|
if (props.allowCreate || props.fallbackOption) {
|
|
234
|
-
for (const item of computedValueObjects.value) if (
|
|
235
|
-
const optionInfo = optionInfoMap.get(item.key);
|
|
236
|
-
if (!optionInfo || optionInfo.origin === "extraOptions") {
|
|
237
|
-
valueArray.push(item);
|
|
238
|
-
keyArray.push(item.key);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
279
|
+
for (const item of computedValueObjects.value) if (shouldAppendExtraValue(keyArray, item.key, item.value)) appendExtraValue(valueArray, keyArray, item);
|
|
241
280
|
}
|
|
242
281
|
if (props.allowCreate && computedInputValue.value) {
|
|
243
|
-
const
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
key
|
|
249
|
-
});
|
|
250
|
-
}
|
|
282
|
+
const createdOption = {
|
|
283
|
+
value: computedInputValue.value,
|
|
284
|
+
key: getKeyFromValue(computedInputValue.value)
|
|
285
|
+
};
|
|
286
|
+
if (shouldAppendExtraValue(keyArray, createdOption.key, createdOption.value)) appendExtraValue(valueArray, keyArray, createdOption);
|
|
251
287
|
}
|
|
252
288
|
return valueArray;
|
|
253
289
|
};
|
|
254
290
|
const extraValueObjects = ref([]);
|
|
255
|
-
const extraOptions = computed(() => extraValueObjects.value.map((
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
const extraOptionRawInfo = (_selectedOption$value = _selectedOption.value) === null || _selectedOption$value === void 0 ? void 0 : _selectedOption$value[obj.key];
|
|
291
|
+
const extraOptions = computed(() => extraValueObjects.value.map((item) => {
|
|
292
|
+
let optionInfo = getFallBackOption(item.value);
|
|
293
|
+
const extraOptionRawInfo = selectedOptionMap.value[item.key];
|
|
259
294
|
if (!isUndefined(extraOptionRawInfo) && !isEmptyObject(extraOptionRawInfo)) optionInfo = _objectSpread2(_objectSpread2({}, optionInfo), extraOptionRawInfo);
|
|
260
295
|
return optionInfo;
|
|
261
296
|
}));
|
|
262
297
|
nextTick(() => {
|
|
263
298
|
watchEffect(() => {
|
|
264
299
|
const valueData = getExtraValueData();
|
|
265
|
-
if (valueData.length !== extraValueObjects.value.length)
|
|
266
|
-
|
|
300
|
+
if (valueData.length !== extraValueObjects.value.length) {
|
|
301
|
+
extraValueObjects.value = valueData;
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
for (let index = 0; index < valueData.length; index += 1) {
|
|
267
305
|
var _extraValueObjects$va;
|
|
268
|
-
if (valueData[
|
|
306
|
+
if (valueData[index].key !== ((_extraValueObjects$va = extraValueObjects.value[index]) === null || _extraValueObjects$va === void 0 ? void 0 : _extraValueObjects$va.key)) {
|
|
269
307
|
extraValueObjects.value = valueData;
|
|
270
308
|
break;
|
|
271
309
|
}
|
|
272
310
|
}
|
|
273
311
|
});
|
|
274
312
|
});
|
|
275
|
-
const _inputValue = ref(
|
|
313
|
+
const _inputValue = ref(props.defaultInputValue);
|
|
276
314
|
const computedInputValue = computed(() => {
|
|
277
315
|
var _props$inputValue;
|
|
278
316
|
return (_props$inputValue = props.inputValue) !== null && _props$inputValue !== void 0 ? _props$inputValue : _inputValue.value;
|
|
@@ -292,10 +330,11 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
292
330
|
};
|
|
293
331
|
const updateValue = (valueKeys) => {
|
|
294
332
|
var _eventHandlers$value, _eventHandlers$value$;
|
|
295
|
-
const
|
|
296
|
-
_value.value =
|
|
297
|
-
emit("update:modelValue",
|
|
298
|
-
emit("
|
|
333
|
+
const nextValue = getValueFromValueKeys(valueKeys);
|
|
334
|
+
_value.value = nextValue;
|
|
335
|
+
emit("update:modelValue", nextValue);
|
|
336
|
+
emit("update:value", nextValue);
|
|
337
|
+
emit("change", nextValue);
|
|
299
338
|
(_eventHandlers$value = eventHandlers.value) === null || _eventHandlers$value === void 0 || (_eventHandlers$value$ = _eventHandlers$value.onChange) === null || _eventHandlers$value$ === void 0 || _eventHandlers$value$.call(_eventHandlers$value);
|
|
300
339
|
updateSelectedOption(valueKeys);
|
|
301
340
|
};
|
|
@@ -304,53 +343,58 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
304
343
|
emit("update:inputValue", inputValue);
|
|
305
344
|
emit("inputValueChange", inputValue);
|
|
306
345
|
};
|
|
346
|
+
const handleMultipleSelect = (key, ev) => {
|
|
347
|
+
if (!computedValueKeys.value.includes(key)) {
|
|
348
|
+
if (enabledOptionKeys.value.includes(key)) if (props.limit > 0 && computedValueKeys.value.length >= props.limit) {
|
|
349
|
+
const info = optionInfoMap.get(key);
|
|
350
|
+
emit("exceedLimit", info === null || info === void 0 ? void 0 : info.value, ev);
|
|
351
|
+
} else updateValue(computedValueKeys.value.concat(key));
|
|
352
|
+
} else updateValue(computedValueKeys.value.filter((valueKeyItem) => valueKeyItem !== key));
|
|
353
|
+
if (!retainInputValue.value) updateInputValue("");
|
|
354
|
+
};
|
|
355
|
+
const handleSingleSelect = (key) => {
|
|
356
|
+
if (key !== computedValueKeys.value[0]) updateValue([key]);
|
|
357
|
+
if (retainInputValue.value) {
|
|
358
|
+
const optionInfo = optionInfoMap.get(key);
|
|
359
|
+
if (optionInfo) updateInputValue(optionInfo.label);
|
|
360
|
+
}
|
|
361
|
+
handlePopupVisibleChange(false);
|
|
362
|
+
};
|
|
307
363
|
const handleSelect = (key, ev) => {
|
|
308
364
|
if (props.multiple) {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
const info = optionInfoMap.get(key);
|
|
312
|
-
emit("exceedLimit", info === null || info === void 0 ? void 0 : info.value, ev);
|
|
313
|
-
} else updateValue(computedValueKeys.value.concat(key));
|
|
314
|
-
} else updateValue(computedValueKeys.value.filter((_key) => _key !== key));
|
|
315
|
-
if (!retainInputValue.value) updateInputValue("");
|
|
316
|
-
} else {
|
|
317
|
-
if (key !== computedValueKeys.value[0]) updateValue([key]);
|
|
318
|
-
if (retainInputValue.value) {
|
|
319
|
-
const optionInfo = optionInfoMap.get(key);
|
|
320
|
-
if (optionInfo) updateInputValue(optionInfo.label);
|
|
321
|
-
}
|
|
322
|
-
handlePopupVisibleChange(false);
|
|
365
|
+
handleMultipleSelect(key, ev);
|
|
366
|
+
return;
|
|
323
367
|
}
|
|
368
|
+
handleSingleSelect(key);
|
|
324
369
|
};
|
|
325
370
|
const handleSearch = debounce((value) => {
|
|
326
371
|
emit("search", value);
|
|
327
372
|
}, props.searchDelay);
|
|
328
373
|
const handleInputValueChange = (inputValue) => {
|
|
329
|
-
if (inputValue
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
}
|
|
374
|
+
if (inputValue === computedInputValue.value) return;
|
|
375
|
+
if (!computedPopupVisible.value) handlePopupVisibleChange(true);
|
|
376
|
+
updateInputValue(inputValue);
|
|
377
|
+
if (props.allowSearch) handleSearch(inputValue);
|
|
334
378
|
};
|
|
335
379
|
const handleRemove = (key) => {
|
|
336
380
|
const optionInfo = optionInfoMap.get(key);
|
|
337
|
-
updateValue(computedValueKeys.value.filter((
|
|
381
|
+
updateValue(computedValueKeys.value.filter((currentKey) => currentKey !== key));
|
|
338
382
|
emit("remove", optionInfo === null || optionInfo === void 0 ? void 0 : optionInfo.value);
|
|
339
383
|
};
|
|
340
|
-
const handleClear = (
|
|
341
|
-
|
|
384
|
+
const handleClear = (event) => {
|
|
385
|
+
event.stopPropagation();
|
|
342
386
|
updateValue(computedValueKeys.value.filter((key) => {
|
|
343
387
|
var _optionInfoMap$get3;
|
|
344
388
|
return (_optionInfoMap$get3 = optionInfoMap.get(key)) === null || _optionInfoMap$get3 === void 0 ? void 0 : _optionInfoMap$get3.disabled;
|
|
345
389
|
}));
|
|
346
390
|
updateInputValue("");
|
|
347
|
-
emit("clear",
|
|
391
|
+
emit("clear", event);
|
|
348
392
|
};
|
|
349
|
-
const handleDropdownScroll = (
|
|
350
|
-
emit("dropdownScroll",
|
|
393
|
+
const handleDropdownScroll = (event) => {
|
|
394
|
+
emit("dropdownScroll", event);
|
|
351
395
|
};
|
|
352
|
-
const handleDropdownReachBottom = (
|
|
353
|
-
emit("dropdownReachBottom",
|
|
396
|
+
const handleDropdownReachBottom = (event) => {
|
|
397
|
+
emit("dropdownReachBottom", event);
|
|
354
398
|
};
|
|
355
399
|
const { validOptions, optionInfoMap, validOptionInfos, enabledOptionKeys, handleKeyDown } = useSelect({
|
|
356
400
|
multiple,
|
|
@@ -375,25 +419,24 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
375
419
|
const selectViewValue = computed(() => {
|
|
376
420
|
const result = [];
|
|
377
421
|
for (const item of computedValueObjects.value) {
|
|
422
|
+
var _optionInfo$label;
|
|
378
423
|
const optionInfo = optionInfoMap.get(item.key);
|
|
379
|
-
if (optionInfo)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
}
|
|
424
|
+
if (!optionInfo) continue;
|
|
425
|
+
result.push(_objectSpread2(_objectSpread2({}, optionInfo), {}, {
|
|
426
|
+
value: item.key,
|
|
427
|
+
label: (_optionInfo$label = optionInfo.label) !== null && _optionInfo$label !== void 0 ? _optionInfo$label : String(isObject(item.value) ? item.value[valueKey.value] : item.value),
|
|
428
|
+
closable: !optionInfo.disabled,
|
|
429
|
+
tagProps: optionInfo.tagProps,
|
|
430
|
+
option: optionInfo.raw
|
|
431
|
+
}));
|
|
388
432
|
}
|
|
389
433
|
return result;
|
|
390
434
|
});
|
|
391
435
|
const getOptionContentFunc = (optionInfo) => {
|
|
392
|
-
if (isFunction(slots.option)) {
|
|
393
|
-
|
|
394
|
-
return ()
|
|
395
|
-
}
|
|
396
|
-
if (isFunction(optionInfo.render)) return optionInfo.render;
|
|
436
|
+
if (isFunction(slots.option)) return () => {
|
|
437
|
+
var _slots$option;
|
|
438
|
+
return (_slots$option = slots.option) === null || _slots$option === void 0 ? void 0 : _slots$option.call(slots, { data: optionInfo.raw });
|
|
439
|
+
};
|
|
397
440
|
return () => optionInfo.label;
|
|
398
441
|
};
|
|
399
442
|
const renderOption = (optionInfo) => {
|
|
@@ -406,11 +449,12 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
406
449
|
}
|
|
407
450
|
if (!isValidOption(optionInfo, {
|
|
408
451
|
inputValue: computedInputValue.value,
|
|
409
|
-
filterOption: filterOption
|
|
452
|
+
filterOption: filterOption.value
|
|
410
453
|
})) return null;
|
|
411
454
|
return createVNode(option_default, {
|
|
412
|
-
"ref": (
|
|
413
|
-
|
|
455
|
+
"ref": (refInstance) => {
|
|
456
|
+
const element = refInstance === null || refInstance === void 0 ? void 0 : refInstance.$el;
|
|
457
|
+
if (element instanceof HTMLElement) optionRefs.value[optionInfo.key] = element;
|
|
414
458
|
},
|
|
415
459
|
"key": optionInfo.key,
|
|
416
460
|
"value": optionInfo.value,
|
|
@@ -419,42 +463,54 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
419
463
|
"internal": true
|
|
420
464
|
}, { default: getOptionContentFunc(optionInfo) });
|
|
421
465
|
};
|
|
422
|
-
const renderDropDown = () => {
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
"
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
});
|
|
446
|
-
};
|
|
466
|
+
const renderDropDown = () => createVNode(select_dropdown_default, {
|
|
467
|
+
"ref": dropdownRef,
|
|
468
|
+
"loading": props.loading,
|
|
469
|
+
"empty": validOptionInfos.value.length === 0,
|
|
470
|
+
"virtualList": Boolean(props.virtualListProps),
|
|
471
|
+
"scrollbar": props.scrollbar,
|
|
472
|
+
"showHeaderOnEmpty": props.showHeaderOnEmpty,
|
|
473
|
+
"showFooterOnEmpty": props.showFooterOnEmpty,
|
|
474
|
+
"onScroll": handleDropdownScroll,
|
|
475
|
+
"onReachBottom": handleDropdownReachBottom
|
|
476
|
+
}, {
|
|
477
|
+
"default": () => {
|
|
478
|
+
var _slots$default, _slots$default2;
|
|
479
|
+
return [...(_slots$default = (_slots$default2 = slots.default) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)) !== null && _slots$default !== void 0 ? _slots$default : [], ...validOptions.value.map(renderOption)];
|
|
480
|
+
},
|
|
481
|
+
"virtual-list": () => createVNode(virtual_list_default, mergeProps(resolvedVirtualListProps.value, {
|
|
482
|
+
"ref": virtualListRef,
|
|
483
|
+
"items": validOptions.value
|
|
484
|
+
}), { item: ({ item }) => renderOption(item) }),
|
|
485
|
+
"empty": slots.empty,
|
|
486
|
+
"header": slots.header,
|
|
487
|
+
"footer": slots.footer
|
|
488
|
+
});
|
|
447
489
|
const renderLabel = ({ data }) => {
|
|
448
490
|
var _data$label;
|
|
449
|
-
if (
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
return (_slots$label = (_slots$label2 = slots.label) === null || _slots$label2 === void 0 ? void 0 : _slots$label2.call(slots, { data: optionInfo.raw })) !== null && _slots$label !== void 0 ? _slots$label : (_props$formatLabel = props.formatLabel) === null || _props$formatLabel === void 0 ? void 0 : _props$formatLabel.call(props, optionInfo.raw);
|
|
454
|
-
}
|
|
491
|
+
if (slots.label && data) {
|
|
492
|
+
var _data$option, _optionInfoMap$get4;
|
|
493
|
+
const optionData = (_data$option = data.option) !== null && _data$option !== void 0 ? _data$option : (_optionInfoMap$get4 = optionInfoMap.get(data.value)) === null || _optionInfoMap$get4 === void 0 ? void 0 : _optionInfoMap$get4.raw;
|
|
494
|
+
if (optionData) return slots.label({ data: optionData });
|
|
455
495
|
}
|
|
456
|
-
return (_data$label = data
|
|
496
|
+
return (_data$label = data.label) !== null && _data$label !== void 0 ? _data$label : "";
|
|
497
|
+
};
|
|
498
|
+
const renderTag = ({ data }) => {
|
|
499
|
+
var _data$option2, _optionInfoMap$get5, _slots$tag, _slots$tag2;
|
|
500
|
+
const optionData = (_data$option2 = data.option) !== null && _data$option2 !== void 0 ? _data$option2 : (_optionInfoMap$get5 = optionInfoMap.get(data.value)) === null || _optionInfoMap$get5 === void 0 ? void 0 : _optionInfoMap$get5.raw;
|
|
501
|
+
if (!optionData) return renderLabel({ data });
|
|
502
|
+
return (_slots$tag = (_slots$tag2 = slots.tag) === null || _slots$tag2 === void 0 ? void 0 : _slots$tag2.call(slots, { data: optionData })) !== null && _slots$tag !== void 0 ? _slots$tag : renderLabel({ data });
|
|
457
503
|
};
|
|
504
|
+
expose({
|
|
505
|
+
focus: () => {
|
|
506
|
+
var _selectViewRef$value, _selectViewRef$value$;
|
|
507
|
+
return (_selectViewRef$value = selectViewRef.value) === null || _selectViewRef$value === void 0 || (_selectViewRef$value$ = _selectViewRef$value.focus) === null || _selectViewRef$value$ === void 0 ? void 0 : _selectViewRef$value$.call(_selectViewRef$value);
|
|
508
|
+
},
|
|
509
|
+
blur: () => {
|
|
510
|
+
var _selectViewRef$value2, _selectViewRef$value3;
|
|
511
|
+
return (_selectViewRef$value2 = selectViewRef.value) === null || _selectViewRef$value2 === void 0 || (_selectViewRef$value3 = _selectViewRef$value2.blur) === null || _selectViewRef$value3 === void 0 ? void 0 : _selectViewRef$value3.call(_selectViewRef$value2);
|
|
512
|
+
}
|
|
513
|
+
});
|
|
458
514
|
return () => createVNode(Trigger, mergeProps({
|
|
459
515
|
"trigger": "click",
|
|
460
516
|
"position": "bl",
|
|
@@ -474,6 +530,7 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
474
530
|
default: () => {
|
|
475
531
|
var _slots$trigger, _slots$trigger2;
|
|
476
532
|
return [(_slots$trigger = (_slots$trigger2 = slots.trigger) === null || _slots$trigger2 === void 0 ? void 0 : _slots$trigger2.call(slots)) !== null && _slots$trigger !== void 0 ? _slots$trigger : createVNode(select_view_default, mergeProps({
|
|
533
|
+
"ref": selectViewRef,
|
|
477
534
|
"class": prefixCls,
|
|
478
535
|
"modelValue": selectViewValue.value,
|
|
479
536
|
"inputValue": computedInputValue.value,
|
|
@@ -484,6 +541,7 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
484
541
|
"allowClear": mergedAllowClear.value,
|
|
485
542
|
"allowCreate": props.allowCreate,
|
|
486
543
|
"allowSearch": Boolean(props.allowSearch),
|
|
544
|
+
"showArrow": props.showArrow,
|
|
487
545
|
"opened": computedPopupVisible.value,
|
|
488
546
|
"maxTagCount": props.maxTagCount,
|
|
489
547
|
"placeholder": props.placeholder,
|
|
@@ -496,6 +554,7 @@ var select_default = /* @__PURE__ */ defineComponent({
|
|
|
496
554
|
"onKeydown": handleKeyDown
|
|
497
555
|
}, attrs), {
|
|
498
556
|
"label": renderLabel,
|
|
557
|
+
"tag": renderTag,
|
|
499
558
|
"prefix": slots.prefix,
|
|
500
559
|
"arrow-icon": slots["arrow-icon"],
|
|
501
560
|
"loading-icon": slots["loading-icon"],
|
package/es/select/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FilterOption, SelectOptionGroup, SelectOptionGroupInfo, SelectOption, SelectOptionData, SelectOptionInfo, SelectOptionValue, SelectFieldNames } from './interface';
|
|
2
|
-
export declare const isGroupOption: (option: SelectOption) => option is SelectOptionGroup;
|
|
2
|
+
export declare const isGroupOption: (option: SelectOption, fieldNames?: Required<SelectFieldNames>) => option is SelectOptionGroup;
|
|
3
3
|
export declare const isGroupOptionInfo: (option: SelectOptionInfo | SelectOptionGroupInfo) => option is SelectOptionGroupInfo;
|
|
4
4
|
export declare const getValueString: (value: SelectOptionValue, valueKey?: string) => string;
|
|
5
5
|
export declare const getKeyFromValue: (value?: SelectOptionValue, valueKey?: string) => string;
|
package/es/select/utils.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
|
|
2
2
|
import { isBoolean, isFunction, isNumber, isObject, isString } from "../_utils/is.js";
|
|
3
3
|
//#region components/select/utils.ts
|
|
4
|
-
var isGroupOption = (option) => {
|
|
5
|
-
|
|
4
|
+
var isGroupOption = (option, fieldNames) => {
|
|
5
|
+
if (!isObject(option)) return false;
|
|
6
|
+
if ("isGroup" in option) return true;
|
|
7
|
+
if (!fieldNames) return false;
|
|
8
|
+
const children = option[fieldNames.children];
|
|
9
|
+
return Array.isArray(children);
|
|
6
10
|
};
|
|
7
11
|
var isGroupOptionInfo = (option) => {
|
|
8
12
|
return isObject(option) && "isGroup" in option;
|
|
@@ -18,16 +22,15 @@ var hasEmptyStringKey = (optionInfoMap) => {
|
|
|
18
22
|
};
|
|
19
23
|
var createOptionInfo = (option, { valueKey, fieldNames, origin, index = -1 }) => {
|
|
20
24
|
if (isObject(option)) {
|
|
21
|
-
var _option$fieldNames$la;
|
|
22
|
-
const value = option[fieldNames.value];
|
|
25
|
+
var _ref, _option$fieldNames$va, _option$fieldNames$la;
|
|
26
|
+
const value = (_ref = (_option$fieldNames$va = option[fieldNames.value]) !== null && _option$fieldNames$va !== void 0 ? _option$fieldNames$va : option.value) !== null && _ref !== void 0 ? _ref : "";
|
|
23
27
|
return {
|
|
24
28
|
raw: option,
|
|
25
29
|
index,
|
|
26
30
|
key: getKeyFromValue(value, valueKey),
|
|
27
31
|
origin,
|
|
28
32
|
value,
|
|
29
|
-
label: (_option$fieldNames$la = option[fieldNames.label]) !== null && _option$fieldNames$la !== void 0 ? _option$fieldNames$la : getValueString(value, valueKey),
|
|
30
|
-
render: option[fieldNames.render],
|
|
33
|
+
label: String((_option$fieldNames$la = option[fieldNames.label]) !== null && _option$fieldNames$la !== void 0 ? _option$fieldNames$la : getValueString(value, valueKey)),
|
|
31
34
|
disabled: Boolean(option[fieldNames.disabled]),
|
|
32
35
|
tagProps: option[fieldNames.tagProps]
|
|
33
36
|
};
|
|
@@ -44,20 +47,35 @@ var createOptionInfo = (option, { valueKey, fieldNames, origin, index = -1 }) =>
|
|
|
44
47
|
origin
|
|
45
48
|
}, raw);
|
|
46
49
|
};
|
|
50
|
+
var createGroupInfo = (item, { valueKey, fieldNames, origin, optionInfoMap }) => {
|
|
51
|
+
var _ref2, _item$options, _item$fieldNames$labe;
|
|
52
|
+
const groupOptions = (_ref2 = (_item$options = item.options) !== null && _item$options !== void 0 ? _item$options : item[fieldNames.children]) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
53
|
+
const groupLabel = (_item$fieldNames$labe = item[fieldNames.label]) !== null && _item$fieldNames$labe !== void 0 ? _item$fieldNames$labe : item.label;
|
|
54
|
+
const options = getOptionInfos(groupOptions, {
|
|
55
|
+
valueKey,
|
|
56
|
+
fieldNames,
|
|
57
|
+
origin,
|
|
58
|
+
optionInfoMap
|
|
59
|
+
});
|
|
60
|
+
if (options.length === 0) return null;
|
|
61
|
+
const label = typeof groupLabel === "string" ? groupLabel : "";
|
|
62
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
63
|
+
isGroup: true,
|
|
64
|
+
label,
|
|
65
|
+
options,
|
|
66
|
+
key: `__arco__group__${label}`
|
|
67
|
+
});
|
|
68
|
+
};
|
|
47
69
|
var getOptionInfos = (options, { valueKey, fieldNames, origin, optionInfoMap }) => {
|
|
48
70
|
const infos = [];
|
|
49
|
-
for (const item of options) if (isGroupOption(item)) {
|
|
50
|
-
|
|
51
|
-
const options = getOptionInfos((_item$options = item.options) !== null && _item$options !== void 0 ? _item$options : [], {
|
|
71
|
+
for (const item of options) if (isGroupOption(item, fieldNames)) {
|
|
72
|
+
const groupInfo = createGroupInfo(item, {
|
|
52
73
|
valueKey,
|
|
53
74
|
fieldNames,
|
|
54
75
|
origin,
|
|
55
76
|
optionInfoMap
|
|
56
77
|
});
|
|
57
|
-
if (
|
|
58
|
-
key: `__arco__group__${item.label}`,
|
|
59
|
-
options
|
|
60
|
-
}));
|
|
78
|
+
if (groupInfo) infos.push(groupInfo);
|
|
61
79
|
} else {
|
|
62
80
|
const optionInfo = createOptionInfo(item, {
|
|
63
81
|
valueKey,
|
package/es/skeleton/index.d.ts
CHANGED
|
@@ -105,8 +105,8 @@ declare const Skeleton: {
|
|
|
105
105
|
default: number;
|
|
106
106
|
};
|
|
107
107
|
}>> & Readonly<{}>, {
|
|
108
|
-
rows: number;
|
|
109
108
|
lineHeight: number;
|
|
109
|
+
rows: number;
|
|
110
110
|
widths: (string | number)[];
|
|
111
111
|
lineSpacing: number;
|
|
112
112
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -39,8 +39,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
39
39
|
default: number;
|
|
40
40
|
};
|
|
41
41
|
}>> & Readonly<{}>, {
|
|
42
|
-
rows: number;
|
|
43
42
|
lineHeight: number;
|
|
43
|
+
rows: number;
|
|
44
44
|
widths: (string | number)[];
|
|
45
45
|
lineSpacing: number;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|