@sdata/web-vue 1.9.0 → 1.11.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 +199 -1035
- 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/style/input-label.scss +11 -51
- 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/select-view.d.ts +2 -2
- package/es/_components/select-view/style/index.css +0 -84
- 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 +62 -11
- package/es/_components/virtual-list/style/index.scss +1 -0
- package/es/_components/{virtual-list-v2/hooks/use-size.d.ts → virtual-list/use-virtual-size.d.ts} +5 -4
- package/es/_components/virtual-list/use-virtual-size.js +94 -0
- package/es/_components/virtual-list/virtual-list.js +122 -0
- package/es/_components/virtual-list/virtual-list.vue.d.ts +512 -94
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +742 -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/_utils/clipboard.js +2 -1
- 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 +2 -2
- package/es/auto-complete/auto-complete.js +8 -3
- package/es/auto-complete/index.d.ts +27 -18
- package/es/auto-complete/style/index.css +0 -16
- package/es/auto-complete/style/index.scss +11 -26
- 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/badge/badge.d.ts +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/badge/style/index.scss +11 -41
- 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/button/style/index.css +35 -445
- package/es/button/style/index.scss +57 -332
- package/es/calendar/hooks/useCellClassName.d.ts +18 -10
- package/es/calendar/hooks/useCellClassName.js +1 -1
- package/es/card/style/index.scss +18 -52
- package/es/carousel/carousel-arrow.vue.d.ts +12 -0
- package/es/carousel/carousel.d.ts +2 -2
- package/es/carousel/index.d.ts +7 -6
- 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 +177 -48
- 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 +503 -141
- package/es/cascader/interface.d.ts +14 -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/color-picker/style/index.scss +17 -99
- package/es/config-provider/config-provider.vue.d.ts +5 -5
- package/es/config-provider/index.d.ts +13 -12
- package/es/config-provider/theme-provider.vue.d.ts +1 -1
- package/es/date-picker/index.d.ts +204 -33
- package/es/date-picker/panels/date/index.js +1 -1
- package/es/date-picker/panels/date/index.vue.d.ts +28 -3
- 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 +68 -17
- 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 +167 -13
- 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 +185 -21
- 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 +4 -4
- package/es/descriptions/style/index.scss +18 -63
- 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/form/style/index.css +12 -176
- package/es/form/style/status.scss +36 -73
- 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 +199 -1035
- package/es/index.d.ts +22 -21
- package/es/index.js +2 -2
- 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/style/input.scss +14 -66
- package/es/input-number/index.d.ts +5 -0
- package/es/input-tag/style/index.css +0 -84
- package/es/input-tag/style/input-tag.scss +16 -170
- 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 +9 -9
- package/es/list/list.d.ts +2 -2
- package/es/list/list.js +45 -11
- package/es/list/style/index.scss +12 -42
- package/es/mention/utils.js +1 -1
- package/es/menu/base-menu.vue.d.ts +6 -0
- package/es/menu/index.d.ts +8 -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/style/index.css +0 -178
- package/es/menu/style/index.scss +36 -139
- 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/index.d.ts +3 -3
- package/es/pagination/interface.d.ts +2 -1
- 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.js +1 -1
- package/es/pagination/page-options.vue.d.ts +96 -95
- package/es/pagination/page-options.vue_vue_type_script_lang.js +6 -0
- package/es/pagination/pagination.d.ts +3 -3
- package/es/pagination/style/index.css +0 -12
- package/es/pagination/style/index.scss +19 -76
- 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 +39 -0
- package/es/progress/line.vue.d.ts +3 -0
- package/es/progress/progress.js +1 -1
- package/es/progress/progress.vue.d.ts +19 -0
- 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 +4 -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/result/style/index.css +0 -16
- package/es/result/style/index.scss +12 -34
- 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 +2 -2
- package/es/select/hooks/use-select.d.ts +1 -1
- package/es/select/index.d.ts +42 -42
- package/es/select/interface.d.ts +3 -2
- 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 +16 -16
- package/es/select/select.js +8 -3
- package/es/select/utils.js +5 -5
- package/es/slider/index.d.ts +37 -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/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 +3 -3
- package/es/statistic/statistic.vue.d.ts +1 -1
- package/es/steps/index.d.ts +11 -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 +9 -0
- package/es/switch/switch.vue.d.ts +3 -0
- package/es/switch/switch.vue_vue_type_script_lang.js +1 -1
- package/es/table/context.d.ts +1 -1
- package/es/table/hooks/use-column-resize.d.ts +2 -3
- package/es/table/hooks/use-column-resize.js +48 -21
- package/es/table/hooks/use-drag.d.ts +4 -2
- package/es/table/hooks/use-drag.js +16 -2
- package/es/table/index.d.ts +45 -30
- package/es/table/interface.d.ts +21 -2
- package/es/table/style/index.css +97 -21
- package/es/table/style/index.scss +137 -125
- package/es/table/table-column.d.ts +1 -1
- package/es/table/table-operation-td.d.ts +10 -4
- package/es/table/table-operation-td.js +4 -5
- package/es/table/table-operation-th.js +4 -4
- package/es/table/table-tbody.js +1 -1
- package/es/table/table-td.js +5 -6
- package/es/table/table-th.js +25 -24
- package/es/table/table-thead.js +1 -1
- package/es/table/table-tr.d.ts +1 -1
- package/es/table/table-tr.js +1 -1
- package/es/table/table.d.ts +22 -16
- package/es/table/table.js +399 -190
- package/es/tabs/index.d.ts +7 -6
- package/es/tabs/style/index.scss +53 -135
- 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/style/index.css +0 -84
- package/es/tag/style/index.scss +19 -146
- 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 +12 -12
- package/es/time-picker/index.d.ts +113 -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/timeline/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 +639 -358
- package/es/transfer/interface.d.ts +1 -1
- package/es/transfer/transfer-view.vue.d.ts +307 -179
- package/es/transfer/transfer-view.vue_vue_type_script_lang.js +2 -2
- package/es/transfer/transfer.vue.d.ts +319 -179
- 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 +19 -31
- package/es/tree/index.d.ts +8 -1605
- package/es/tree/interface.d.ts +5 -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 +9 -6
- package/es/tree/tree.vue.d.ts +10615 -96
- package/es/tree/tree.vue_vue_type_script_lang.js +52 -9
- package/es/tree/utils/tree-data.d.ts +2 -2
- package/es/tree-select/hooks/use-selected-state.js +3 -1
- package/es/tree-select/index.d.ts +5 -5737
- package/es/tree-select/interface.d.ts +2 -0
- 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 +1 -1
- package/es/tree-select/tree-select.vue.d.ts +129 -1671
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +17 -1
- 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 +58 -12
- package/json/vetur-tags.json +17 -2
- package/json/web-types.json +143 -19
- package/package.json +8 -3
- 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.d.ts +0 -22
- package/es/_components/virtual-list-v2/virtual-list-item.js +0 -37
- package/es/_components/virtual-list-v2/virtual-list.js +0 -47
- package/es/_components/virtual-list-v2/virtual-list.vue.d.ts +0 -151
- package/es/_components/virtual-list-v2/virtual-list.vue_vue_type_script_lang.js +0 -142
- 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/style/theme/legacy-less-var.scss +0 -15
- package/es/table/table-col-group.js +0 -21
- package/es/table/table-col-group.vue_vue_type_script_lang.js +0 -32
- /package/es/_components/{virtual-list-v2 → virtual-list}/index.d.ts +0 -0
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
|
|
2
|
+
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
3
|
+
import { isObject, isString } from "../../_utils/is.js";
|
|
4
|
+
import { useVirtualSize } from "./use-virtual-size.js";
|
|
5
|
+
import { _asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.124.0/helpers/asyncToGenerator.js";
|
|
6
|
+
import { computed, defineComponent, nextTick, onBeforeUnmount, onMounted, onUpdated, ref, watch } from "vue";
|
|
7
|
+
import { OverlayScrollbars } from "overlayscrollbars";
|
|
8
|
+
import { DynamicScroller, DynamicScrollerItem, RecycleScroller } from "vue-virtual-scroller";
|
|
9
|
+
//#region components/_components/virtual-list/virtual-list.vue?vue&type=script&lang.ts
|
|
10
|
+
var virtual_list_vue_vue_type_script_lang_default = defineComponent({
|
|
11
|
+
name: "VirtualList",
|
|
12
|
+
components: {
|
|
13
|
+
RecycleScroller,
|
|
14
|
+
DynamicScroller,
|
|
15
|
+
DynamicScrollerItem
|
|
16
|
+
},
|
|
17
|
+
props: {
|
|
18
|
+
items: {
|
|
19
|
+
type: Array,
|
|
20
|
+
default: () => []
|
|
21
|
+
},
|
|
22
|
+
height: {
|
|
23
|
+
type: [Number, String],
|
|
24
|
+
default: void 0
|
|
25
|
+
},
|
|
26
|
+
keyField: {
|
|
27
|
+
type: [String, Function],
|
|
28
|
+
default: "key"
|
|
29
|
+
},
|
|
30
|
+
direction: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: "vertical"
|
|
33
|
+
},
|
|
34
|
+
listTag: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: "div"
|
|
37
|
+
},
|
|
38
|
+
itemTag: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "div"
|
|
41
|
+
},
|
|
42
|
+
itemSize: {
|
|
43
|
+
type: [
|
|
44
|
+
Number,
|
|
45
|
+
Function,
|
|
46
|
+
Object
|
|
47
|
+
],
|
|
48
|
+
default: void 0
|
|
49
|
+
},
|
|
50
|
+
gridItems: Number,
|
|
51
|
+
itemSecondarySize: Number,
|
|
52
|
+
minItemSize: {
|
|
53
|
+
type: [Number, String],
|
|
54
|
+
default: void 0
|
|
55
|
+
},
|
|
56
|
+
sizeField: String,
|
|
57
|
+
typeField: String,
|
|
58
|
+
buffer: Number,
|
|
59
|
+
shift: Boolean,
|
|
60
|
+
cache: Object,
|
|
61
|
+
prerender: Number,
|
|
62
|
+
emitUpdate: Boolean,
|
|
63
|
+
disableTransform: Boolean,
|
|
64
|
+
flowMode: Boolean,
|
|
65
|
+
hiddenPosition: Number,
|
|
66
|
+
updateInterval: Number,
|
|
67
|
+
skipHover: Boolean,
|
|
68
|
+
enabled: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: true
|
|
71
|
+
},
|
|
72
|
+
listClass: { type: [
|
|
73
|
+
String,
|
|
74
|
+
Object,
|
|
75
|
+
Array
|
|
76
|
+
] },
|
|
77
|
+
itemClass: { type: [
|
|
78
|
+
String,
|
|
79
|
+
Object,
|
|
80
|
+
Array
|
|
81
|
+
] },
|
|
82
|
+
threshold: {
|
|
83
|
+
type: Number,
|
|
84
|
+
default: 0
|
|
85
|
+
},
|
|
86
|
+
fixedSize: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: false
|
|
89
|
+
},
|
|
90
|
+
estimatedSize: {
|
|
91
|
+
type: Number,
|
|
92
|
+
default: void 0
|
|
93
|
+
},
|
|
94
|
+
component: {
|
|
95
|
+
type: [String, Object],
|
|
96
|
+
default: void 0
|
|
97
|
+
},
|
|
98
|
+
listAttrs: {
|
|
99
|
+
type: Object,
|
|
100
|
+
default: void 0
|
|
101
|
+
},
|
|
102
|
+
contentWrapperAttrs: {
|
|
103
|
+
type: Object,
|
|
104
|
+
default: void 0
|
|
105
|
+
},
|
|
106
|
+
contentAttrs: {
|
|
107
|
+
type: Object,
|
|
108
|
+
default: void 0
|
|
109
|
+
},
|
|
110
|
+
listStyle: {
|
|
111
|
+
type: Object,
|
|
112
|
+
default: void 0
|
|
113
|
+
},
|
|
114
|
+
paddingPosition: {
|
|
115
|
+
type: String,
|
|
116
|
+
default: "content"
|
|
117
|
+
},
|
|
118
|
+
scrollbar: {
|
|
119
|
+
type: [Boolean, Object],
|
|
120
|
+
default: true
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
emits: {
|
|
124
|
+
scroll: (_ev) => true,
|
|
125
|
+
reachBottom: (_ev) => true,
|
|
126
|
+
resize: () => true,
|
|
127
|
+
visible: () => true,
|
|
128
|
+
hidden: () => true,
|
|
129
|
+
update: (_startIndex, _endIndex, _visibleStartIndex, _visibleEndIndex) => true,
|
|
130
|
+
scrollStart: () => true,
|
|
131
|
+
scrollEnd: () => true
|
|
132
|
+
},
|
|
133
|
+
setup(props, { emit, expose }) {
|
|
134
|
+
const prefixCls = getPrefixCls("virtual-list");
|
|
135
|
+
const scrollbarHostRef = ref();
|
|
136
|
+
const scrollerRef = ref();
|
|
137
|
+
const viewportRef = ref();
|
|
138
|
+
const compatItemRefs = /* @__PURE__ */ new Map();
|
|
139
|
+
const osInstanceRef = ref(null);
|
|
140
|
+
const overlayViewportReadyRef = ref(false);
|
|
141
|
+
const resolvedItems = computed(() => {
|
|
142
|
+
var _props$items;
|
|
143
|
+
return (_props$items = props.items) !== null && _props$items !== void 0 ? _props$items : [];
|
|
144
|
+
});
|
|
145
|
+
const isCompatMode = computed(() => {
|
|
146
|
+
return Boolean(props.component || props.listAttrs || props.contentWrapperAttrs || props.contentAttrs || props.listStyle || props.paddingPosition !== "content");
|
|
147
|
+
});
|
|
148
|
+
const hasCompatContentWrapper = computed(() => {
|
|
149
|
+
return Boolean(props.contentWrapperAttrs || isObject(props.component) && props.component.item);
|
|
150
|
+
});
|
|
151
|
+
const resolvedScrollbarProps = computed(() => {
|
|
152
|
+
if (!props.scrollbar) return;
|
|
153
|
+
if (typeof props.scrollbar === "boolean") return { type: "embed" };
|
|
154
|
+
return _objectSpread2({ type: "embed" }, props.scrollbar);
|
|
155
|
+
});
|
|
156
|
+
const hostClassNames = computed(() => {
|
|
157
|
+
var _resolvedScrollbarPro;
|
|
158
|
+
return [
|
|
159
|
+
prefixCls,
|
|
160
|
+
resolvedScrollbarProps.value && "sd-scrollbar",
|
|
161
|
+
resolvedScrollbarProps.value && `sd-scrollbar-type-${(_resolvedScrollbarPro = resolvedScrollbarProps.value.type) !== null && _resolvedScrollbarPro !== void 0 ? _resolvedScrollbarPro : "embed"}`,
|
|
162
|
+
resolvedScrollbarProps.value && `${prefixCls}-scrollbar`
|
|
163
|
+
];
|
|
164
|
+
});
|
|
165
|
+
const containerOuterStyle = computed(() => {
|
|
166
|
+
if (props.height === void 0) return;
|
|
167
|
+
return { height: typeof props.height === "number" ? `${props.height}px` : props.height };
|
|
168
|
+
});
|
|
169
|
+
const resolvedHeightValue = computed(() => {
|
|
170
|
+
if (props.height === void 0) return;
|
|
171
|
+
return typeof props.height === "number" ? `${props.height}px` : props.height;
|
|
172
|
+
});
|
|
173
|
+
const mergedCompatComponent = computed(() => {
|
|
174
|
+
var _props$component;
|
|
175
|
+
if (isObject(props.component)) return _objectSpread2({
|
|
176
|
+
container: "div",
|
|
177
|
+
list: "div",
|
|
178
|
+
content: "div",
|
|
179
|
+
item: "div"
|
|
180
|
+
}, props.component);
|
|
181
|
+
return {
|
|
182
|
+
container: (_props$component = props.component) !== null && _props$component !== void 0 ? _props$component : "div",
|
|
183
|
+
list: "div",
|
|
184
|
+
content: "div",
|
|
185
|
+
item: "div"
|
|
186
|
+
};
|
|
187
|
+
});
|
|
188
|
+
const compatFixedSize = computed(() => {
|
|
189
|
+
return props.fixedSize || typeof props.itemSize === "number";
|
|
190
|
+
});
|
|
191
|
+
const compatEstimatedSize = computed(() => {
|
|
192
|
+
if (props.estimatedSize !== void 0) return props.estimatedSize;
|
|
193
|
+
if (typeof props.itemSize === "number") return props.itemSize;
|
|
194
|
+
if (typeof props.minItemSize === "number") return props.minItemSize;
|
|
195
|
+
});
|
|
196
|
+
const compatViewportSize = ref(0);
|
|
197
|
+
const compatResolvedItemSize = computed(() => {
|
|
198
|
+
var _compatEstimatedSize$;
|
|
199
|
+
return (_compatEstimatedSize$ = compatEstimatedSize.value) !== null && _compatEstimatedSize$ !== void 0 ? _compatEstimatedSize$ : 30;
|
|
200
|
+
});
|
|
201
|
+
const compatBuffer = computed(() => {
|
|
202
|
+
var _props$buffer;
|
|
203
|
+
return (_props$buffer = props.buffer) !== null && _props$buffer !== void 0 ? _props$buffer : 200;
|
|
204
|
+
});
|
|
205
|
+
const compatOverscan = computed(() => {
|
|
206
|
+
const baseItemSize = Math.max(compatResolvedItemSize.value, 1);
|
|
207
|
+
return Math.max(Math.ceil(compatBuffer.value / baseItemSize), 0);
|
|
208
|
+
});
|
|
209
|
+
const compatVisibleCount = computed(() => {
|
|
210
|
+
const baseItemSize = Math.max(compatResolvedItemSize.value, 1);
|
|
211
|
+
if (compatViewportSize.value <= 0) return 1;
|
|
212
|
+
return Math.max(Math.ceil(compatViewportSize.value / baseItemSize), 1);
|
|
213
|
+
});
|
|
214
|
+
const getCompatItemKey = (item, index) => {
|
|
215
|
+
const keyField = props.keyField;
|
|
216
|
+
if (typeof keyField === "function") return keyField(item, index);
|
|
217
|
+
if (item && typeof item === "object" && isString(keyField)) {
|
|
218
|
+
var _item$keyField;
|
|
219
|
+
return (_item$keyField = item[keyField]) !== null && _item$keyField !== void 0 ? _item$keyField : index;
|
|
220
|
+
}
|
|
221
|
+
return index;
|
|
222
|
+
};
|
|
223
|
+
const { frontPadding: compatFrontPadding, behindPadding: compatBehindPadding, start: compatStartRef, end: compatEnd, getStartByScroll: getCompatStartByScroll, setItemSize: compatSetItemSize, setStart: setCompatStart, getScrollOffset: getCompatScrollOffset, getItemSize: getCompatItemSize } = useVirtualSize({
|
|
224
|
+
dataKeys: computed(() => {
|
|
225
|
+
return resolvedItems.value.map((item, index) => getCompatItemKey(item, index));
|
|
226
|
+
}),
|
|
227
|
+
fixedSize: compatFixedSize,
|
|
228
|
+
estimatedSize: compatEstimatedSize,
|
|
229
|
+
overscan: compatOverscan,
|
|
230
|
+
visibleCount: compatVisibleCount
|
|
231
|
+
});
|
|
232
|
+
const compatCurrentList = computed(() => {
|
|
233
|
+
if (!isCompatMode.value) return [];
|
|
234
|
+
if (props.threshold && resolvedItems.value.length <= props.threshold) return resolvedItems.value;
|
|
235
|
+
return resolvedItems.value.slice(compatStartRef.value, compatEnd.value);
|
|
236
|
+
});
|
|
237
|
+
const compatStart = computed(() => {
|
|
238
|
+
if (props.threshold && resolvedItems.value.length <= props.threshold) return 0;
|
|
239
|
+
return compatStartRef.value;
|
|
240
|
+
});
|
|
241
|
+
const compatViewportStyle = computed(() => {
|
|
242
|
+
const style = { minHeight: 0 };
|
|
243
|
+
if (resolvedHeightValue.value !== void 0) style.height = resolvedScrollbarProps.value && resolvedHeightValue.value !== "auto" ? "100%" : resolvedHeightValue.value;
|
|
244
|
+
if (!resolvedScrollbarProps.value || !overlayViewportReadyRef.value) if (props.direction === "horizontal") {
|
|
245
|
+
style.overflowX = "auto";
|
|
246
|
+
style.overflowY = "hidden";
|
|
247
|
+
} else {
|
|
248
|
+
style.overflowY = "auto";
|
|
249
|
+
style.overflowX = "hidden";
|
|
250
|
+
}
|
|
251
|
+
return style;
|
|
252
|
+
});
|
|
253
|
+
const compatListPaddingStyle = computed(() => {
|
|
254
|
+
if (props.paddingPosition !== "list") return;
|
|
255
|
+
return {
|
|
256
|
+
paddingTop: `${compatFrontPadding.value}px`,
|
|
257
|
+
paddingBottom: `${compatBehindPadding.value}px`
|
|
258
|
+
};
|
|
259
|
+
});
|
|
260
|
+
const compatContentPaddingStyle = computed(() => {
|
|
261
|
+
if (props.paddingPosition !== "content") return;
|
|
262
|
+
return {
|
|
263
|
+
paddingTop: `${compatFrontPadding.value}px`,
|
|
264
|
+
paddingBottom: `${compatBehindPadding.value}px`
|
|
265
|
+
};
|
|
266
|
+
});
|
|
267
|
+
const compatListStyle = computed(() => {
|
|
268
|
+
if (!props.listStyle && !compatListPaddingStyle.value) return;
|
|
269
|
+
return _objectSpread2(_objectSpread2({}, props.listStyle), compatListPaddingStyle.value);
|
|
270
|
+
});
|
|
271
|
+
const compatContentStyle = computed(() => {
|
|
272
|
+
return compatContentPaddingStyle.value;
|
|
273
|
+
});
|
|
274
|
+
const compatContentWrapperStyle = computed(() => {
|
|
275
|
+
if (!hasCompatContentWrapper.value || props.paddingPosition !== "content") return;
|
|
276
|
+
return compatContentStyle.value;
|
|
277
|
+
});
|
|
278
|
+
const updateCompatItemSize = (key, element) => {
|
|
279
|
+
const height = element.getBoundingClientRect().height || element.offsetHeight;
|
|
280
|
+
if (height) compatSetItemSize(key, height);
|
|
281
|
+
};
|
|
282
|
+
const updateCompatItemSizes = () => {
|
|
283
|
+
compatItemRefs.forEach((element, key) => {
|
|
284
|
+
updateCompatItemSize(key, element);
|
|
285
|
+
});
|
|
286
|
+
};
|
|
287
|
+
const updateCompatViewportSize = () => {
|
|
288
|
+
var _scrollerElement$clie, _scrollerElement$clie2;
|
|
289
|
+
if (!isCompatMode.value) {
|
|
290
|
+
compatViewportSize.value = 0;
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
const scrollerElement = getScrollerElement();
|
|
294
|
+
const nextViewportSize = props.direction === "horizontal" ? (_scrollerElement$clie = scrollerElement === null || scrollerElement === void 0 ? void 0 : scrollerElement.clientWidth) !== null && _scrollerElement$clie !== void 0 ? _scrollerElement$clie : 0 : (_scrollerElement$clie2 = scrollerElement === null || scrollerElement === void 0 ? void 0 : scrollerElement.clientHeight) !== null && _scrollerElement$clie2 !== void 0 ? _scrollerElement$clie2 : 0;
|
|
295
|
+
if (nextViewportSize > 0) compatViewportSize.value = nextViewportSize;
|
|
296
|
+
};
|
|
297
|
+
const setCompatItemRef = (key, value) => {
|
|
298
|
+
var _value$$el;
|
|
299
|
+
const element = (_value$$el = value === null || value === void 0 ? void 0 : value.$el) !== null && _value$$el !== void 0 ? _value$$el : value;
|
|
300
|
+
if (!(element instanceof HTMLElement)) {
|
|
301
|
+
compatItemRefs.delete(key);
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
compatItemRefs.set(key, element);
|
|
305
|
+
updateCompatItemSize(key, element);
|
|
306
|
+
};
|
|
307
|
+
const getCompatContentStyle = (index) => {
|
|
308
|
+
if (hasCompatContentWrapper.value) return;
|
|
309
|
+
if (props.paddingPosition !== "content") return compatContentStyle.value;
|
|
310
|
+
const style = _objectSpread2({}, compatContentStyle.value);
|
|
311
|
+
if (index === 0) style.paddingTop = `${compatFrontPadding.value}px`;
|
|
312
|
+
if (index === compatCurrentList.value.length - 1) style.paddingBottom = `${compatBehindPadding.value}px`;
|
|
313
|
+
return style;
|
|
314
|
+
};
|
|
315
|
+
const isDynamicScroller = computed(() => {
|
|
316
|
+
return !isCompatMode.value && props.itemSize === void 0;
|
|
317
|
+
});
|
|
318
|
+
const currentScroller = computed(() => {
|
|
319
|
+
return isDynamicScroller.value ? DynamicScroller : RecycleScroller;
|
|
320
|
+
});
|
|
321
|
+
const scrollerStyle = computed(() => {
|
|
322
|
+
const style = { minHeight: 0 };
|
|
323
|
+
if (resolvedHeightValue.value !== void 0) style.height = resolvedScrollbarProps.value ? "100%" : resolvedHeightValue.value;
|
|
324
|
+
if (!resolvedScrollbarProps.value || !overlayViewportReadyRef.value) if (props.direction === "horizontal") {
|
|
325
|
+
style.overflowX = "auto";
|
|
326
|
+
style.overflowY = "hidden";
|
|
327
|
+
} else {
|
|
328
|
+
style.overflowY = "auto";
|
|
329
|
+
style.overflowX = "hidden";
|
|
330
|
+
}
|
|
331
|
+
return style;
|
|
332
|
+
});
|
|
333
|
+
const resolvedOverlayOptions = computed(() => {
|
|
334
|
+
var _scrollbarProps$overl, _scrollbarProps$paddi, _scrollbarProps$showN, _scrollbarProps$updat;
|
|
335
|
+
const scrollbarProps = resolvedScrollbarProps.value;
|
|
336
|
+
if (!scrollbarProps) return null;
|
|
337
|
+
const overlayOptions = (_scrollbarProps$overl = scrollbarProps.overlayOptions) !== null && _scrollbarProps$overl !== void 0 ? _scrollbarProps$overl : {};
|
|
338
|
+
const isTrackType = scrollbarProps.type === "track";
|
|
339
|
+
return _objectSpread2(_objectSpread2({}, overlayOptions), {}, {
|
|
340
|
+
paddingAbsolute: (_scrollbarProps$paddi = scrollbarProps.paddingAbsolute) !== null && _scrollbarProps$paddi !== void 0 ? _scrollbarProps$paddi : overlayOptions.paddingAbsolute,
|
|
341
|
+
showNativeOverlaidScrollbars: (_scrollbarProps$showN = scrollbarProps.showNativeOverlaidScrollbars) !== null && _scrollbarProps$showN !== void 0 ? _scrollbarProps$showN : overlayOptions.showNativeOverlaidScrollbars,
|
|
342
|
+
update: (_scrollbarProps$updat = scrollbarProps.updateOptions) !== null && _scrollbarProps$updat !== void 0 ? _scrollbarProps$updat : overlayOptions.update,
|
|
343
|
+
overflow: _objectSpread2(_objectSpread2({
|
|
344
|
+
x: "scroll",
|
|
345
|
+
y: "scroll"
|
|
346
|
+
}, overlayOptions.overflow), scrollbarProps.overflow),
|
|
347
|
+
scrollbars: _objectSpread2(_objectSpread2({
|
|
348
|
+
theme: isTrackType ? "sd-scrollbar-theme-track" : "sd-scrollbar-theme-embed",
|
|
349
|
+
visibility: isTrackType ? "visible" : "auto",
|
|
350
|
+
autoHide: isTrackType ? "never" : "leave",
|
|
351
|
+
autoHideSuspend: true,
|
|
352
|
+
clickScroll: "instant"
|
|
353
|
+
}, overlayOptions.scrollbars), scrollbarProps.scrollbars)
|
|
354
|
+
});
|
|
355
|
+
});
|
|
356
|
+
const resolveOSInstance = () => {
|
|
357
|
+
const instance = osInstanceRef.value;
|
|
358
|
+
if (!instance || instance.state().destroyed) return null;
|
|
359
|
+
return instance;
|
|
360
|
+
};
|
|
361
|
+
const getScrollerElement = () => {
|
|
362
|
+
if (isCompatMode.value) {
|
|
363
|
+
var _viewportRef$value;
|
|
364
|
+
return (_viewportRef$value = viewportRef.value) !== null && _viewportRef$value !== void 0 ? _viewportRef$value : null;
|
|
365
|
+
}
|
|
366
|
+
const scroller = scrollerRef.value;
|
|
367
|
+
return (scroller === null || scroller === void 0 ? void 0 : scroller.$el) instanceof HTMLElement ? scroller.$el : null;
|
|
368
|
+
};
|
|
369
|
+
const getEstimatedItemSize = () => {
|
|
370
|
+
if (typeof props.itemSize === "number" && props.itemSize > 0) return props.itemSize;
|
|
371
|
+
if (typeof props.minItemSize === "number" && props.minItemSize > 0) return props.minItemSize;
|
|
372
|
+
return 32;
|
|
373
|
+
};
|
|
374
|
+
const shouldResetScrollForSmallList = (nextItems, previousItems) => {
|
|
375
|
+
const viewport = getScrollerElement();
|
|
376
|
+
if (!viewport || viewport.scrollTop <= 0 || !(previousItems === null || previousItems === void 0 ? void 0 : previousItems.length)) return false;
|
|
377
|
+
if (!nextItems.length) return true;
|
|
378
|
+
if (nextItems.length >= previousItems.length || props.shift) return false;
|
|
379
|
+
const estimatedItemSize = getEstimatedItemSize();
|
|
380
|
+
const visibleCount = Math.max(1, Math.ceil(viewport.clientHeight / estimatedItemSize));
|
|
381
|
+
return nextItems.length <= visibleCount * 2;
|
|
382
|
+
};
|
|
383
|
+
const clampScrollPosition = () => {
|
|
384
|
+
const viewport = getScrollerElement();
|
|
385
|
+
if (!viewport) return;
|
|
386
|
+
const maxScrollTop = Math.max(viewport.scrollHeight - viewport.clientHeight, 0);
|
|
387
|
+
if (viewport.scrollTop > maxScrollTop) scrollToPosition(maxScrollTop);
|
|
388
|
+
};
|
|
389
|
+
const refreshVisibleWindow = (itemsChanged = true) => {
|
|
390
|
+
if (isDynamicScroller.value) {
|
|
391
|
+
forceUpdate(true);
|
|
392
|
+
return;
|
|
393
|
+
}
|
|
394
|
+
updateVisibleItems(itemsChanged, true);
|
|
395
|
+
};
|
|
396
|
+
const waitForLayoutFrame = function() {
|
|
397
|
+
var _ref = _asyncToGenerator(function* () {
|
|
398
|
+
yield new Promise((resolve) => {
|
|
399
|
+
if (typeof requestAnimationFrame === "function") {
|
|
400
|
+
requestAnimationFrame(() => resolve());
|
|
401
|
+
return;
|
|
402
|
+
}
|
|
403
|
+
resolve();
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
return function waitForLayoutFrame() {
|
|
407
|
+
return _ref.apply(this, arguments);
|
|
408
|
+
};
|
|
409
|
+
}();
|
|
410
|
+
const destroyOverlayScrollbar = () => {
|
|
411
|
+
var _osInstanceRef$value;
|
|
412
|
+
overlayViewportReadyRef.value = false;
|
|
413
|
+
(_osInstanceRef$value = osInstanceRef.value) === null || _osInstanceRef$value === void 0 || _osInstanceRef$value.destroy();
|
|
414
|
+
osInstanceRef.value = null;
|
|
415
|
+
};
|
|
416
|
+
const initOverlayScrollbar = function() {
|
|
417
|
+
var _ref2 = _asyncToGenerator(function* (waitForDom = true) {
|
|
418
|
+
destroyOverlayScrollbar();
|
|
419
|
+
if (!resolvedOverlayOptions.value) return;
|
|
420
|
+
if (waitForDom) yield nextTick();
|
|
421
|
+
const host = scrollbarHostRef.value;
|
|
422
|
+
const viewport = getScrollerElement();
|
|
423
|
+
if (!host || !viewport) return;
|
|
424
|
+
osInstanceRef.value = OverlayScrollbars({
|
|
425
|
+
target: host,
|
|
426
|
+
elements: {
|
|
427
|
+
viewport,
|
|
428
|
+
padding: false,
|
|
429
|
+
content: false
|
|
430
|
+
}
|
|
431
|
+
}, resolvedOverlayOptions.value, { scroll: (_instance, event) => {
|
|
432
|
+
if (!isCompatMode.value) onScroll(event);
|
|
433
|
+
} });
|
|
434
|
+
overlayViewportReadyRef.value = true;
|
|
435
|
+
});
|
|
436
|
+
return function initOverlayScrollbar() {
|
|
437
|
+
return _ref2.apply(this, arguments);
|
|
438
|
+
};
|
|
439
|
+
}();
|
|
440
|
+
onMounted(_asyncToGenerator(function* () {
|
|
441
|
+
yield nextTick();
|
|
442
|
+
updateCompatViewportSize();
|
|
443
|
+
initOverlayScrollbar(false);
|
|
444
|
+
}));
|
|
445
|
+
onUpdated(() => {
|
|
446
|
+
if (isCompatMode.value) {
|
|
447
|
+
updateCompatItemSizes();
|
|
448
|
+
updateCompatViewportSize();
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
watch([currentScroller, resolvedOverlayOptions], _asyncToGenerator(function* () {
|
|
452
|
+
if (!resolvedOverlayOptions.value) {
|
|
453
|
+
destroyOverlayScrollbar();
|
|
454
|
+
return;
|
|
455
|
+
}
|
|
456
|
+
yield nextTick();
|
|
457
|
+
const viewport = getScrollerElement();
|
|
458
|
+
const osInstance = resolveOSInstance();
|
|
459
|
+
if (!viewport || !scrollbarHostRef.value) return;
|
|
460
|
+
if (!osInstance || osInstance.elements().viewport !== viewport) {
|
|
461
|
+
yield initOverlayScrollbar(true);
|
|
462
|
+
return;
|
|
463
|
+
}
|
|
464
|
+
osInstance.options(resolvedOverlayOptions.value);
|
|
465
|
+
osInstance.update(true);
|
|
466
|
+
}), { deep: true });
|
|
467
|
+
watch(() => resolvedItems.value, function() {
|
|
468
|
+
var _ref3 = _asyncToGenerator(function* (nextItems, previousItems) {
|
|
469
|
+
var _resolveOSInstance, _resolveOSInstance2;
|
|
470
|
+
yield nextTick();
|
|
471
|
+
if (isCompatMode.value) {
|
|
472
|
+
updateCompatItemSizes();
|
|
473
|
+
updateCompatViewportSize();
|
|
474
|
+
}
|
|
475
|
+
(_resolveOSInstance = resolveOSInstance()) === null || _resolveOSInstance === void 0 || _resolveOSInstance.update(true);
|
|
476
|
+
yield waitForLayoutFrame();
|
|
477
|
+
if (shouldResetScrollForSmallList(nextItems, previousItems)) {
|
|
478
|
+
scrollToPosition(0);
|
|
479
|
+
yield waitForLayoutFrame();
|
|
480
|
+
}
|
|
481
|
+
refreshVisibleWindow(true);
|
|
482
|
+
yield nextTick();
|
|
483
|
+
yield waitForLayoutFrame();
|
|
484
|
+
clampScrollPosition();
|
|
485
|
+
(_resolveOSInstance2 = resolveOSInstance()) === null || _resolveOSInstance2 === void 0 || _resolveOSInstance2.update(true);
|
|
486
|
+
yield nextTick();
|
|
487
|
+
yield waitForLayoutFrame();
|
|
488
|
+
refreshVisibleWindow(true);
|
|
489
|
+
});
|
|
490
|
+
return function(_x, _x2) {
|
|
491
|
+
return _ref3.apply(this, arguments);
|
|
492
|
+
};
|
|
493
|
+
}(), { deep: true });
|
|
494
|
+
onBeforeUnmount(() => {
|
|
495
|
+
destroyOverlayScrollbar();
|
|
496
|
+
});
|
|
497
|
+
const scrollerProps = computed(() => {
|
|
498
|
+
const commonProps = {
|
|
499
|
+
items: resolvedItems.value,
|
|
500
|
+
height: props.height,
|
|
501
|
+
keyField: props.keyField,
|
|
502
|
+
direction: props.direction,
|
|
503
|
+
listTag: props.listTag,
|
|
504
|
+
itemTag: props.itemTag,
|
|
505
|
+
shift: props.shift,
|
|
506
|
+
cache: props.cache,
|
|
507
|
+
disableTransform: props.disableTransform,
|
|
508
|
+
flowMode: props.flowMode,
|
|
509
|
+
hiddenPosition: props.hiddenPosition,
|
|
510
|
+
enabled: props.enabled
|
|
511
|
+
};
|
|
512
|
+
if (isDynamicScroller.value) {
|
|
513
|
+
var _props$minItemSize;
|
|
514
|
+
return _objectSpread2(_objectSpread2({}, commonProps), {}, { minItemSize: (_props$minItemSize = props.minItemSize) !== null && _props$minItemSize !== void 0 ? _props$minItemSize : 32 });
|
|
515
|
+
}
|
|
516
|
+
return _objectSpread2(_objectSpread2({}, commonProps), {}, {
|
|
517
|
+
itemSize: props.itemSize,
|
|
518
|
+
gridItems: props.gridItems,
|
|
519
|
+
itemSecondarySize: props.itemSecondarySize,
|
|
520
|
+
minItemSize: props.minItemSize,
|
|
521
|
+
sizeField: props.sizeField,
|
|
522
|
+
typeField: props.typeField,
|
|
523
|
+
buffer: props.buffer,
|
|
524
|
+
prerender: props.prerender,
|
|
525
|
+
emitUpdate: props.emitUpdate,
|
|
526
|
+
updateInterval: props.updateInterval,
|
|
527
|
+
skipHover: props.skipHover,
|
|
528
|
+
listClass: props.listClass,
|
|
529
|
+
itemClass: props.itemClass
|
|
530
|
+
});
|
|
531
|
+
});
|
|
532
|
+
const onScroll = (ev) => {
|
|
533
|
+
emit("scroll", ev);
|
|
534
|
+
const target = ev.target;
|
|
535
|
+
if (!target) return;
|
|
536
|
+
if (Math.floor(target.scrollHeight - (target.scrollTop + target.clientHeight)) <= 0) emit("reachBottom", ev);
|
|
537
|
+
};
|
|
538
|
+
const onCompatScroll = (ev) => {
|
|
539
|
+
const target = ev.target;
|
|
540
|
+
if (target) {
|
|
541
|
+
const nextStart = getCompatStartByScroll(target.scrollTop);
|
|
542
|
+
if (nextStart !== compatStartRef.value) setCompatStart(nextStart);
|
|
543
|
+
}
|
|
544
|
+
onScroll(ev);
|
|
545
|
+
};
|
|
546
|
+
const onScrollEnd = () => {
|
|
547
|
+
var _osInstance$elements$;
|
|
548
|
+
emit("scrollEnd");
|
|
549
|
+
const osInstance = resolveOSInstance();
|
|
550
|
+
if (!(osInstance ? (_osInstance$elements$ = osInstance.elements().scrollOffsetElement) !== null && _osInstance$elements$ !== void 0 ? _osInstance$elements$ : osInstance.elements().viewport : getScrollerElement())) return;
|
|
551
|
+
emit("reachBottom", new Event("scroll"));
|
|
552
|
+
};
|
|
553
|
+
const scrollerListeners = computed(() => {
|
|
554
|
+
if (isDynamicScroller.value) return {
|
|
555
|
+
resize: () => emit("resize"),
|
|
556
|
+
visible: () => emit("visible")
|
|
557
|
+
};
|
|
558
|
+
return {
|
|
559
|
+
resize: () => emit("resize"),
|
|
560
|
+
visible: () => emit("visible"),
|
|
561
|
+
hidden: () => emit("hidden"),
|
|
562
|
+
update: (startIndex, endIndex, visibleStartIndex, visibleEndIndex) => emit("update", startIndex, endIndex, visibleStartIndex, visibleEndIndex),
|
|
563
|
+
scrollStart: () => emit("scrollStart"),
|
|
564
|
+
scrollEnd: onScrollEnd
|
|
565
|
+
};
|
|
566
|
+
});
|
|
567
|
+
const normalizeAlign = (align) => {
|
|
568
|
+
if (!align || align === "auto") return "nearest";
|
|
569
|
+
if (align === "top") return "start";
|
|
570
|
+
if (align === "bottom") return "end";
|
|
571
|
+
return align;
|
|
572
|
+
};
|
|
573
|
+
const getSlotItemWithSize = (slotProps) => {
|
|
574
|
+
return "itemWithSize" in slotProps ? slotProps.itemWithSize : void 0;
|
|
575
|
+
};
|
|
576
|
+
const getScroller = () => scrollerRef.value;
|
|
577
|
+
const scrollToItem = (index, options) => {
|
|
578
|
+
var _getScroller;
|
|
579
|
+
if (isCompatMode.value) {
|
|
580
|
+
scrollTo({
|
|
581
|
+
index,
|
|
582
|
+
align: (options === null || options === void 0 ? void 0 : options.smooth) ? "auto" : void 0,
|
|
583
|
+
smooth: options === null || options === void 0 ? void 0 : options.smooth,
|
|
584
|
+
offset: options === null || options === void 0 ? void 0 : options.offset
|
|
585
|
+
});
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
(_getScroller = getScroller()) === null || _getScroller === void 0 || _getScroller.scrollToItem(index, options);
|
|
589
|
+
};
|
|
590
|
+
const scrollToPosition = (position, options) => {
|
|
591
|
+
var _getScroller2;
|
|
592
|
+
if (isCompatMode.value) {
|
|
593
|
+
const viewport = getScrollerElement();
|
|
594
|
+
if (!viewport) return;
|
|
595
|
+
if (options === null || options === void 0 ? void 0 : options.smooth) viewport.scrollTo({
|
|
596
|
+
top: position,
|
|
597
|
+
behavior: "smooth"
|
|
598
|
+
});
|
|
599
|
+
else viewport.scrollTop = position;
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
(_getScroller2 = getScroller()) === null || _getScroller2 === void 0 || _getScroller2.scrollToPosition(position, options);
|
|
603
|
+
};
|
|
604
|
+
const findItemIndex = (offset) => {
|
|
605
|
+
var _getScroller$findItem, _getScroller3;
|
|
606
|
+
if (isCompatMode.value) return getCompatStartByScroll(offset);
|
|
607
|
+
return (_getScroller$findItem = (_getScroller3 = getScroller()) === null || _getScroller3 === void 0 ? void 0 : _getScroller3.findItemIndex(offset)) !== null && _getScroller$findItem !== void 0 ? _getScroller$findItem : -1;
|
|
608
|
+
};
|
|
609
|
+
const getItemOffset = (index) => {
|
|
610
|
+
var _getScroller$getItemO, _getScroller4;
|
|
611
|
+
if (isCompatMode.value) return getCompatScrollOffset(index);
|
|
612
|
+
return (_getScroller$getItemO = (_getScroller4 = getScroller()) === null || _getScroller4 === void 0 ? void 0 : _getScroller4.getItemOffset(index)) !== null && _getScroller$getItemO !== void 0 ? _getScroller$getItemO : 0;
|
|
613
|
+
};
|
|
614
|
+
const getItemSize = (index) => {
|
|
615
|
+
var _getScroller$getItemS, _getScroller5;
|
|
616
|
+
if (isCompatMode.value) return getCompatItemSize(index);
|
|
617
|
+
if (isDynamicScroller.value) {
|
|
618
|
+
const dynamicScroller = getScroller();
|
|
619
|
+
if (!dynamicScroller) return 0;
|
|
620
|
+
return dynamicScroller.getItemSize(resolvedItems.value[index], index);
|
|
621
|
+
}
|
|
622
|
+
return (_getScroller$getItemS = (_getScroller5 = getScroller()) === null || _getScroller5 === void 0 ? void 0 : _getScroller5.getItemSize(index)) !== null && _getScroller$getItemS !== void 0 ? _getScroller$getItemS : 0;
|
|
623
|
+
};
|
|
624
|
+
const cacheSnapshot = () => {
|
|
625
|
+
const scroller = getScroller();
|
|
626
|
+
if (!(scroller === null || scroller === void 0 ? void 0 : scroller.cacheSnapshot)) return;
|
|
627
|
+
if ("value" in scroller.cacheSnapshot) return scroller.cacheSnapshot.value;
|
|
628
|
+
return scroller.cacheSnapshot;
|
|
629
|
+
};
|
|
630
|
+
const restoreCache = (snapshot) => {
|
|
631
|
+
var _getScroller$restoreC, _getScroller6;
|
|
632
|
+
return (_getScroller$restoreC = (_getScroller6 = getScroller()) === null || _getScroller6 === void 0 ? void 0 : _getScroller6.restoreCache(snapshot)) !== null && _getScroller$restoreC !== void 0 ? _getScroller$restoreC : false;
|
|
633
|
+
};
|
|
634
|
+
const updateVisibleItems = (itemsChanged, checkPositionDiff) => {
|
|
635
|
+
const scroller = getScroller();
|
|
636
|
+
scroller === null || scroller === void 0 || scroller.updateVisibleItems(itemsChanged, checkPositionDiff);
|
|
637
|
+
};
|
|
638
|
+
const scrollToBottom = () => {
|
|
639
|
+
if (isCompatMode.value) {
|
|
640
|
+
const viewport = getScrollerElement();
|
|
641
|
+
if (!viewport) return;
|
|
642
|
+
scrollToPosition(viewport.scrollHeight);
|
|
643
|
+
return;
|
|
644
|
+
}
|
|
645
|
+
const scroller = getScroller();
|
|
646
|
+
scroller === null || scroller === void 0 || scroller.scrollToBottom();
|
|
647
|
+
};
|
|
648
|
+
const forceUpdate = (clear) => {
|
|
649
|
+
if (isCompatMode.value) {
|
|
650
|
+
if (clear) setCompatStart(0);
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
653
|
+
const scroller = getScroller();
|
|
654
|
+
scroller === null || scroller === void 0 || scroller.forceUpdate(clear);
|
|
655
|
+
};
|
|
656
|
+
const getDynamicItemSize = (item, index) => {
|
|
657
|
+
var _scroller$getItemSize;
|
|
658
|
+
if (isCompatMode.value) return typeof index === "number" ? getCompatItemSize(index) : 0;
|
|
659
|
+
const scroller = getScroller();
|
|
660
|
+
return (_scroller$getItemSize = scroller === null || scroller === void 0 ? void 0 : scroller.getItemSize(item, index)) !== null && _scroller$getItemSize !== void 0 ? _scroller$getItemSize : 0;
|
|
661
|
+
};
|
|
662
|
+
const scrollTo = (options) => {
|
|
663
|
+
if (typeof options === "number") {
|
|
664
|
+
scrollToPosition(options);
|
|
665
|
+
return;
|
|
666
|
+
}
|
|
667
|
+
let index = options.index;
|
|
668
|
+
if (typeof index !== "number" && options.key !== void 0) {
|
|
669
|
+
const keyField = props.keyField;
|
|
670
|
+
index = resolvedItems.value.findIndex((item, currentIndex) => {
|
|
671
|
+
if (typeof keyField === "function") return keyField(item, currentIndex) === options.key;
|
|
672
|
+
if (item && typeof item === "object" && isString(keyField)) return item[keyField] === options.key;
|
|
673
|
+
return currentIndex === options.key;
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
if (typeof index !== "number" || index < 0) return;
|
|
677
|
+
if (isCompatMode.value) {
|
|
678
|
+
setCompatStart(index - compatOverscan.value);
|
|
679
|
+
scrollToPosition(getCompatScrollOffset(index), {
|
|
680
|
+
smooth: options.smooth,
|
|
681
|
+
offset: options.offset
|
|
682
|
+
});
|
|
683
|
+
nextTick(() => {
|
|
684
|
+
const scrollTop = getCompatScrollOffset(index);
|
|
685
|
+
const viewport = getScrollerElement();
|
|
686
|
+
if (viewport && scrollTop !== viewport.scrollTop) viewport.scrollTop = scrollTop;
|
|
687
|
+
});
|
|
688
|
+
return;
|
|
689
|
+
}
|
|
690
|
+
scrollToItem(index, {
|
|
691
|
+
align: normalizeAlign(options.align),
|
|
692
|
+
smooth: options.smooth,
|
|
693
|
+
offset: options.offset
|
|
694
|
+
});
|
|
695
|
+
};
|
|
696
|
+
expose({
|
|
697
|
+
scrollToItem,
|
|
698
|
+
scrollToPosition,
|
|
699
|
+
findItemIndex,
|
|
700
|
+
getItemOffset,
|
|
701
|
+
getItemSize,
|
|
702
|
+
cacheSnapshot,
|
|
703
|
+
restoreCache,
|
|
704
|
+
updateVisibleItems,
|
|
705
|
+
scrollToBottom,
|
|
706
|
+
forceUpdate,
|
|
707
|
+
getDynamicItemSize,
|
|
708
|
+
scrollTo
|
|
709
|
+
});
|
|
710
|
+
return {
|
|
711
|
+
prefixCls,
|
|
712
|
+
props,
|
|
713
|
+
hostClassNames,
|
|
714
|
+
scrollbarHostRef,
|
|
715
|
+
scrollerRef,
|
|
716
|
+
viewportRef,
|
|
717
|
+
isCompatMode,
|
|
718
|
+
mergedCompatComponent,
|
|
719
|
+
hasCompatContentWrapper,
|
|
720
|
+
compatViewportStyle,
|
|
721
|
+
compatListStyle,
|
|
722
|
+
compatContentStyle,
|
|
723
|
+
compatContentWrapperStyle,
|
|
724
|
+
compatCurrentList,
|
|
725
|
+
compatStart,
|
|
726
|
+
getCompatItemKey,
|
|
727
|
+
setCompatItemRef,
|
|
728
|
+
getCompatContentStyle,
|
|
729
|
+
onCompatScroll,
|
|
730
|
+
currentScroller,
|
|
731
|
+
isDynamicScroller,
|
|
732
|
+
containerOuterStyle,
|
|
733
|
+
scrollerStyle,
|
|
734
|
+
scrollerProps,
|
|
735
|
+
scrollerListeners,
|
|
736
|
+
getSlotItemWithSize,
|
|
737
|
+
onScroll
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
});
|
|
741
|
+
//#endregion
|
|
742
|
+
export { virtual_list_vue_vue_type_script_lang_default as default };
|