@sdata/web-vue 1.19.0 → 2.1.1
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/README.md +3 -7
- package/dist/sd.css +4083 -2512
- package/dist/sd.min.css +1 -1
- package/es/_components/feedback-icon.js +1 -1
- package/es/_components/icon-hover.js +9 -6
- package/es/_components/icon-hover.vue.d.ts +5 -3
- package/es/_components/icon-hover.vue_vue_type_script_lang.js +1 -0
- package/es/_components/input-label/input-label.d.ts +1 -1
- package/es/_components/input-label/style/index.css +27 -27
- package/es/_components/picker/input-range.js +1 -1
- package/es/_components/picker/input-range.vue.d.ts +6 -4
- package/es/_components/picker/input.js +1 -1
- package/es/_components/picker/input.vue.d.ts +6 -4
- package/es/_components/resize-trigger.js +1 -1
- package/es/_components/select-view/select-view.d.ts +3 -3
- package/es/_components/select-view/style/index.css +199 -199
- package/es/_components/transition/expand-transition.js +1 -1
- package/es/_components/virtual-list/virtual-list.js +1 -1
- package/es/_components/virtual-list/virtual-list.vue.d.ts +8 -5
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +9 -16
- package/es/_hooks/use-form-item.d.ts +1 -1
- package/es/_hooks/use-input.d.ts +1 -1
- package/es/_hooks/use-pagination.d.ts +7 -4
- package/es/_hooks/use-popup-overflow-hidden.js +2 -1
- package/es/_hooks/use-scrollbar.d.ts +2 -3
- package/es/_hooks/use-scrollbar.js +4 -8
- package/es/_hooks/use-size.d.ts +1 -1
- package/es/_utils/color.d.ts +9 -0
- package/es/_utils/color.js +38 -2
- package/es/_utils/date.d.ts +1 -2
- package/es/_utils/date.js +74 -25
- package/es/_utils/debounce.d.ts +1 -1
- package/es/_utils/get-value-by-path.d.ts +2 -2
- package/es/_utils/global-config.d.ts +4 -0
- package/es/_utils/global-config.js +10 -2
- package/es/_utils/is-equal.js +1 -1
- package/es/_utils/is.d.ts +3 -3
- package/es/_utils/is.js +1 -1
- package/es/_utils/omit.d.ts +1 -1
- package/es/_utils/omit.js +1 -1
- package/es/_utils/pick.d.ts +1 -1
- package/es/_utils/pick.js +1 -2
- package/es/_utils/responsive-observe.js +1 -1
- package/es/_utils/throttle-by-raf.d.ts +2 -2
- package/es/_utils/types.d.ts +1 -1
- package/es/_utils/virtual-dropdown.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/typeof.js +1 -1
- package/es/affix/affix.js +1 -1
- package/es/affix/affix.vue.d.ts +1 -1
- package/es/affix/affix.vue_vue_type_script_lang.js +1 -1
- package/es/affix/index.d.ts +3 -3
- package/es/alert/alert.js +1 -1
- package/es/alert/alert.vue.d.ts +5 -3
- package/es/alert/index.d.ts +10 -6
- package/es/alert/style/index.css +28 -28
- package/es/anchor/anchor-link.js +1 -1
- package/es/anchor/anchor.js +1 -1
- package/es/anchor/style/index.css +9 -9
- package/es/auto-complete/auto-complete.d.ts +3 -3
- package/es/auto-complete/auto-complete.js +25 -12
- package/es/auto-complete/index.d.ts +9 -9
- package/es/auto-complete/style/index.css +3 -3
- package/es/avatar/avatar.js +1 -1
- package/es/avatar/avatar.vue_vue_type_script_lang.js +1 -1
- package/es/avatar/style/index.css +15 -15
- package/es/back-top/back-top.js +1 -1
- package/es/back-top/style/index.css +4 -4
- package/es/badge/badge.d.ts +1 -1
- package/es/badge/badge.js +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/badge/style/index.css +25 -25
- package/es/breadcrumb/style/index.css +12 -12
- package/es/button/button-group.js +1 -1
- package/es/button/button.js +1 -1
- package/es/button/button.vue.d.ts +2 -2
- package/es/button/index.d.ts +6 -6
- package/es/button/style/index.css +37 -37
- package/es/calendar/components/body.js +5 -0
- package/es/calendar/components/body.vue.d.ts +100 -0
- package/es/calendar/components/body.vue_vue_type_script_setup_true_lang.js +158 -0
- package/es/calendar/components/cell.js +5 -0
- package/es/calendar/components/cell.vue.d.ts +220 -0
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +813 -0
- package/es/calendar/components/event.js +5 -0
- package/es/calendar/components/event.vue.d.ts +73 -0
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +291 -0
- package/es/calendar/components/header.js +5 -0
- package/es/calendar/components/header.vue.d.ts +34 -0
- package/es/calendar/components/header.vue_vue_type_script_setup_true_lang.js +84 -0
- package/es/calendar/components/headings-bar.js +5 -0
- package/es/calendar/components/headings-bar.vue.d.ts +40 -0
- package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +201 -0
- package/es/calendar/components/index.js +5 -0
- package/es/calendar/components/index.vue.d.ts +616 -0
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +314 -0
- package/es/calendar/components/time-column.js +5 -0
- package/es/calendar/components/time-column.vue.d.ts +27 -0
- package/es/calendar/components/time-column.vue_vue_type_script_setup_true_lang.js +66 -0
- package/es/calendar/context.d.ts +17 -0
- package/es/calendar/context.js +5 -0
- package/es/calendar/core/config.d.ts +126 -0
- package/es/calendar/core/config.js +522 -0
- package/es/calendar/core/events.d.ts +1 -0
- package/es/calendar/core/events.js +921 -0
- package/es/calendar/core/i18n.d.ts +1 -0
- package/es/calendar/core/i18n.js +72 -0
- package/es/calendar/core/index.d.ts +112 -0
- package/es/calendar/core/index.js +66 -0
- package/es/calendar/core/props-definitions.d.ts +263 -0
- package/es/calendar/core/props-definitions.js +70 -0
- package/es/calendar/core/view.d.ts +60 -0
- package/es/calendar/core/view.js +761 -0
- package/es/calendar/default-theme.scss +1012 -0
- package/es/calendar/hooks/use-calendar-theme.d.ts +4 -0
- package/es/calendar/hooks/use-calendar-theme.js +32 -0
- package/es/calendar/index.d.ts +836 -98
- package/es/calendar/index.js +3 -3
- package/es/calendar/index.scss +331 -0
- package/es/calendar/modules/drag-and-drop.d.ts +8 -0
- package/es/calendar/modules/drag-and-drop.js +442 -0
- package/es/calendar/style/body.scss +51 -0
- package/es/calendar/style/cell.scss +153 -0
- package/es/calendar/style/css.js +0 -1
- package/es/calendar/style/event.scss +69 -0
- package/es/calendar/style/header.scss +104 -0
- package/es/calendar/style/headings-bar.scss +94 -0
- package/es/calendar/style/index.css +1514 -264
- package/es/calendar/style/index.d.ts +1 -3
- package/es/calendar/style/index.js +0 -1
- package/es/calendar/style/index.scss +9 -496
- package/es/calendar/style/time-column.scss +109 -0
- package/es/calendar/style/token.scss +64 -60
- package/es/calendar/utils/conversions.d.ts +3 -0
- package/es/calendar/utils/conversions.js +31 -0
- package/es/calendar/utils/date.d.ts +26 -0
- package/es/calendar/utils/date.js +253 -0
- package/es/calendar/utils/special-hours-allow-events.d.ts +28 -0
- package/es/calendar/utils/special-hours-allow-events.js +230 -0
- package/es/card/card-grid.js +1 -1
- package/es/card/style/index.css +16 -16
- package/es/carousel/carousel-arrow.js +1 -1
- package/es/carousel/carousel-indicator.js +1 -1
- package/es/carousel/carousel-indicator.vue.d.ts +1 -1
- package/es/carousel/carousel-item.js +1 -1
- package/es/carousel/carousel.js +1 -1
- package/es/carousel/style/index.css +11 -11
- package/es/cascader/base-cascader-panel.js +4 -5
- package/es/cascader/cascader-option.d.ts +1 -1
- package/es/cascader/cascader-option.js +7 -9
- package/es/cascader/cascader-panel.vue.d.ts +1 -1
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cascader/cascader.vue.d.ts +5 -5
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/cascader/style/index.css +36 -36
- package/es/checkbox/checkbox.d.ts +5 -3
- package/es/checkbox/index.d.ts +10 -6
- package/es/checkbox/style/index.css +18 -18
- package/es/collapse/collapse-item.d.ts +5 -3
- package/es/collapse/collapse.js +1 -1
- package/es/collapse/index.d.ts +5 -3
- package/es/collapse/style/index.css +15 -15
- package/es/color-picker/color-picker.d.ts +1 -1
- package/es/color-picker/color-picker.js +1 -1
- package/es/color-picker/index.d.ts +3 -3
- package/es/color-picker/palette.js +1 -1
- package/es/color-picker/panel.d.ts +1 -1
- package/es/color-picker/panel.js +2 -2
- package/es/color-picker/style/index.css +13 -13
- package/es/color-picker/utils.js +1 -1
- package/es/comment/comment.js +2 -2
- package/es/comment/style/index.css +5 -5
- package/es/components.d.ts +2 -2
- package/es/config-provider/config-provider.js +1 -1
- package/es/config-provider/config-provider.vue.d.ts +1 -1
- package/es/config-provider/context.d.ts +3 -0
- package/es/config-provider/index.d.ts +3 -3
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/config-provider/theme.js +1 -1
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/cropper/style/index.css +3 -3
- package/es/date-picker/context.d.ts +1 -1
- package/es/date-picker/hooks/use-inject-datepicker-transform.d.ts +1 -1
- package/es/date-picker/hooks/use-provide-datepicker-transform.d.ts +1 -1
- package/es/date-picker/hooks/use-range-header-value.d.ts +3 -3
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/index.d.ts +63 -61
- package/es/date-picker/interface.d.ts +1 -1
- package/es/date-picker/panels/body.js +1 -1
- package/es/date-picker/panels/date/index.js +2 -2
- package/es/date-picker/panels/date/index.vue.d.ts +8 -8
- package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/panels/footer.js +1 -1
- package/es/date-picker/panels/footer.vue.d.ts +10 -10
- package/es/date-picker/panels/header.js +1 -1
- package/es/date-picker/panels/month/index.js +2 -2
- package/es/date-picker/panels/month/index.vue.d.ts +1 -1
- package/es/date-picker/panels/quarter/index.js +2 -2
- package/es/date-picker/panels/shortcuts.js +1 -1
- package/es/date-picker/panels/shortcuts.vue.d.ts +7 -7
- package/es/date-picker/panels/week/index.js +1 -1
- package/es/date-picker/panels/week/index.vue.d.ts +8 -8
- package/es/date-picker/panels/week-list.js +1 -1
- package/es/date-picker/panels/year/index.js +2 -2
- package/es/date-picker/picker-panel.js +1 -1
- package/es/date-picker/picker-panel.vue.d.ts +35 -35
- package/es/date-picker/picker.js +2 -2
- package/es/date-picker/picker.vue.d.ts +57 -55
- package/es/date-picker/picker.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker-panel.js +1 -1
- package/es/date-picker/range-picker-panel.vue.d.ts +38 -38
- package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker.js +2 -2
- package/es/date-picker/range-picker.vue.d.ts +63 -61
- package/es/date-picker/range-picker.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/style/index.css +72 -72
- package/es/descriptions/descriptions-item.js +1 -1
- package/es/descriptions/descriptions.d.ts +2 -2
- package/es/descriptions/descriptions.js +1 -1
- package/es/descriptions/index.d.ts +6 -6
- package/es/descriptions/style/index.css +10 -10
- package/es/divider/divider.d.ts +1 -1
- package/es/divider/index.d.ts +3 -3
- package/es/divider/style/index.css +4 -4
- package/es/drawer/drawer.js +9 -2
- package/es/drawer/drawer.vue.d.ts +2910 -13
- package/es/drawer/drawer.vue_vue_type_script_lang.js +26 -7
- package/es/drawer/index.d.ts +6557 -767
- package/es/drawer/index.js +2 -2
- package/es/drawer/style/index.css +12 -7
- package/es/drawer/style/index.scss +6 -0
- package/es/dropdown/dropdown-button.js +1 -1
- package/es/dropdown/dropdown-button.vue.d.ts +26 -23
- package/es/dropdown/dropdown-group.js +1 -1
- package/es/dropdown/dropdown-option.js +1 -1
- package/es/dropdown/dropdown-option.vue.d.ts +1 -1
- package/es/dropdown/dropdown-panel.js +1 -1
- package/es/dropdown/dropdown-panel.vue.d.ts +6 -3
- package/es/dropdown/dropdown-submenu.js +1 -1
- package/es/dropdown/dropdown-submenu.vue.d.ts +18 -15
- package/es/dropdown/dropdown.js +1 -1
- package/es/dropdown/dropdown.vue.d.ts +18 -15
- package/es/dropdown/index.d.ts +85 -73
- package/es/dropdown/interface.d.ts +2 -2
- package/es/dropdown/style/index.css +1 -1
- package/es/ellipsis/ellipsis.js +1 -1
- package/es/ellipsis/ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +2 -2
- package/es/ellipsis/index.d.ts +96 -96
- package/es/ellipsis/performant-ellipsis.js +1 -1
- package/es/ellipsis/performant-ellipsis.vue.d.ts +24 -24
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_lang.js +1 -1
- package/es/empty/style/index.css +2 -2
- package/es/form/context.d.ts +7 -6
- package/es/form/form-item-label.js +1 -1
- package/es/form/form-item-label.vue.d.ts +24 -24
- package/es/form/form-item-message.js +1 -1
- package/es/form/form-item.js +1 -1
- package/es/form/form-item.vue.d.ts +35 -39
- package/es/form/form-item.vue_vue_type_script_lang.js +3 -3
- package/es/form/form.js +1 -1
- package/es/form/form.vue.d.ts +1 -1
- package/es/form/index.d.ts +41 -45
- package/es/form/interface.d.ts +2 -2
- package/es/form/style/index.css +6 -6
- package/es/grid/grid-col.js +1 -1
- package/es/grid/grid-col.vue.d.ts +3 -7
- package/es/grid/grid-col.vue_vue_type_script_lang.js +1 -1
- package/es/grid/grid-item.js +1 -1
- package/es/grid/grid-item.vue_vue_type_script_lang.js +1 -1
- package/es/grid/grid-row.js +1 -1
- package/es/grid/grid-row.vue.d.ts +4 -4
- package/es/grid/grid.js +1 -1
- package/es/grid/hook/use-responsive-value.d.ts +7 -19
- package/es/grid/index.d.ts +6 -10
- package/es/grid/interface.d.ts +11 -18
- package/es/icon/icon-calendar/icon-calendar.js +1 -1
- package/es/icon/icon-caret-down/icon-caret-down.js +1 -1
- package/es/icon/icon-caret-left/icon-caret-left.js +1 -1
- package/es/icon/icon-caret-right/icon-caret-right.js +1 -1
- package/es/icon/icon-caret-up/icon-caret-up.js +1 -1
- package/es/icon/icon-check/icon-check.js +1 -1
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.js +1 -1
- package/es/icon/icon-clock-circle/icon-clock-circle.js +1 -1
- package/es/icon/icon-close/icon-close.js +1 -1
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.js +1 -1
- package/es/icon/icon-copy/icon-copy.js +1 -1
- package/es/icon/icon-delete/icon-delete.js +1 -1
- package/es/icon/icon-double-left/icon-double-left.js +1 -1
- package/es/icon/icon-double-right/icon-double-right.js +1 -1
- package/es/icon/icon-down/icon-down.js +1 -1
- package/es/icon/icon-drag-dot/icon-drag-dot.js +1 -1
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.js +1 -1
- package/es/icon/icon-edit/icon-edit.js +1 -1
- package/es/icon/icon-empty/icon-empty.js +1 -1
- package/es/icon/icon-exclamation/icon-exclamation.js +1 -1
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.js +1 -1
- package/es/icon/icon-eye/icon-eye.js +1 -1
- package/es/icon/icon-eye-invisible/icon-eye-invisible.js +1 -1
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.js +1 -1
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.js +1 -1
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.js +1 -1
- package/es/icon/icon-file/icon-file.js +1 -1
- package/es/icon/icon-file-audio/icon-file-audio.js +1 -1
- package/es/icon/icon-file-image/icon-file-image.js +1 -1
- package/es/icon/icon-file-pdf/icon-file-pdf.js +1 -1
- package/es/icon/icon-file-video/icon-file-video.js +1 -1
- package/es/icon/icon-filter/icon-filter.js +1 -1
- package/es/icon/icon-fullscreen/icon-fullscreen.js +1 -1
- package/es/icon/icon-image-close/icon-image-close.js +1 -1
- package/es/icon/icon-info/icon-info.js +1 -1
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.js +1 -1
- package/es/icon/icon-left/icon-left.js +1 -1
- package/es/icon/icon-link/icon-link.js +1 -1
- package/es/icon/icon-loading/icon-loading.js +1 -1
- package/es/icon/icon-menu-fold/icon-menu-fold.js +1 -1
- package/es/icon/icon-menu-unfold/icon-menu-unfold.js +1 -1
- package/es/icon/icon-minus/icon-minus.js +1 -1
- package/es/icon/icon-more/icon-more.js +1 -1
- package/es/icon/icon-oblique-line/icon-oblique-line.js +1 -1
- package/es/icon/icon-original-size/icon-original-size.js +1 -1
- package/es/icon/icon-pause/icon-pause.js +1 -1
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.js +1 -1
- package/es/icon/icon-plus/icon-plus.js +1 -1
- package/es/icon/icon-question-circle/icon-question-circle.js +1 -1
- package/es/icon/icon-right/icon-right.js +1 -1
- package/es/icon/icon-rotate-left/icon-rotate-left.js +1 -1
- package/es/icon/icon-rotate-right/icon-rotate-right.js +1 -1
- package/es/icon/icon-search/icon-search.js +1 -1
- package/es/icon/icon-star-fill/icon-star-fill.js +1 -1
- package/es/icon/icon-to-top/icon-to-top.js +1 -1
- package/es/icon/icon-up/icon-up.js +1 -1
- package/es/icon/icon-upload/icon-upload.js +1 -1
- package/es/icon/icon-zoom-in/icon-zoom-in.js +1 -1
- package/es/icon/icon-zoom-out/icon-zoom-out.js +1 -1
- package/es/icon-component/icon.js +1 -1
- package/es/icon.js +292 -292
- package/es/image/image-footer.js +1 -1
- package/es/image/image.js +2 -2
- package/es/image/image.vue.d.ts +26 -26
- package/es/image/interface.d.ts +1 -1
- package/es/image/preview-action.d.ts +24 -24
- package/es/image/preview-arrow.js +1 -1
- package/es/image/preview-group.js +2 -2
- package/es/image/preview-group.vue.d.ts +26 -26
- package/es/image/preview-toolbar.js +1 -1
- package/es/image/preview-toolbar.vue.d.ts +24 -24
- package/es/image/preview.js +1 -1
- package/es/image/preview.vue.d.ts +25 -25
- package/es/image/preview.vue_vue_type_script_lang.js +1 -1
- package/es/image/style/index.css +32 -32
- package/es/index.css +4083 -2512
- package/es/index.d.ts +8 -2
- package/es/index.js +11 -10
- package/es/index.scss +3 -1
- package/es/input/index.d.ts +13 -11
- package/es/input/input-group.js +1 -1
- package/es/input/input-password.js +1 -1
- package/es/input/input-password.vue.d.ts +7 -5
- package/es/input/input.d.ts +2 -2
- package/es/input/input.js +4 -5
- package/es/input/style/index.css +50 -50
- package/es/input-number/index.d.ts +6 -6
- package/es/input-number/input-number.d.ts +2 -2
- package/es/input-number/input-number.js +21 -20
- package/es/input-number/style/index.css +16 -16
- package/es/input-tag/index.d.ts +6 -6
- package/es/input-tag/input-tag.d.ts +2 -2
- package/es/input-tag/input-tag.js +11 -13
- package/es/input-tag/style/index.css +172 -172
- package/es/input-tag/utils.js +1 -1
- package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/json-form/utils.js +3 -3
- package/es/layout/content.js +1 -1
- package/es/layout/footer.js +1 -1
- package/es/layout/header.vue.d.ts +1 -1
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/layout/index.d.ts +21 -21
- package/es/layout/layout.js +1 -1
- package/es/layout/sider.js +1 -1
- package/es/layout/sider.vue.d.ts +16 -16
- package/es/layout/sider.vue_vue_type_script_lang.js +1 -1
- package/es/layout/style/index.css +12 -12
- package/es/link/index.d.ts +3 -3
- package/es/link/link.vue.d.ts +1 -1
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/link/style/index.css +23 -23
- package/es/list/index.d.ts +9 -9
- package/es/list/list-item-meta.js +1 -1
- package/es/list/list.d.ts +3 -3
- package/es/list/list.js +4 -4
- package/es/list/style/index.css +9 -9
- package/es/list/use-pagination.d.ts +7 -4
- package/es/locale/index.d.ts +1 -1
- package/es/locale/index.js +1 -1
- package/es/locale/interface.d.ts +7 -0
- package/es/locale/lang/ar-eg.js +7 -1
- package/es/locale/lang/de-de.js +7 -1
- package/es/locale/lang/en-us.js +7 -1
- package/es/locale/lang/es-es.js +7 -1
- package/es/locale/lang/fr-fr.js +7 -1
- package/es/locale/lang/id-id.js +7 -1
- package/es/locale/lang/it-it.js +7 -1
- package/es/locale/lang/ja-jp.js +7 -1
- package/es/locale/lang/km-kh.js +7 -1
- package/es/locale/lang/ko-kr.js +7 -1
- package/es/locale/lang/ms-my.js +7 -1
- package/es/locale/lang/nl-nl.js +7 -1
- package/es/locale/lang/pt-pt.js +7 -1
- package/es/locale/lang/ru-ru.js +7 -1
- package/es/locale/lang/th-th.js +7 -1
- package/es/locale/lang/vi-vn.js +7 -1
- package/es/locale/lang/zh-cn.js +7 -1
- package/es/locale/lang/zh-tw.js +7 -1
- package/es/mention/index.d.ts +9 -9
- package/es/mention/mention.d.ts +3 -3
- package/es/mention/mention.js +34 -20
- package/es/menu/base-menu.js +1 -1
- package/es/menu/indent.js +1 -1
- package/es/menu/interface.d.ts +1 -3
- package/es/menu/item-group.js +1 -1
- package/es/menu/item-group.vue.d.ts +48 -48
- package/es/menu/item.js +1 -1
- package/es/menu/menu.js +1 -1
- package/es/menu/style/index.css +62 -62
- package/es/menu/sub-menu-inline.js +1 -1
- package/es/menu/sub-menu-inline.vue.d.ts +48 -48
- package/es/menu/sub-menu-pop.js +1 -1
- package/es/menu/sub-menu-pop.vue.d.ts +59 -59
- package/es/menu/sub-menu.js +1 -1
- package/es/message/index.js +1 -1
- package/es/message/message-list.d.ts +1 -1
- package/es/message/message.js +1 -1
- package/es/message/message.vue.d.ts +5 -3
- package/es/message/style/index.css +26 -26
- package/es/modal/index.d.ts +6374 -572
- package/es/modal/index.js +2 -2
- package/es/modal/interface.d.ts +2 -2
- package/es/modal/modal.js +15 -4
- package/es/modal/modal.vue.d.ts +2911 -10
- package/es/modal/modal.vue_vue_type_script_lang.js +28 -5
- package/es/modal/style/index.css +28 -12
- package/es/modal/style/index.scss +23 -0
- package/es/notification/index.js +1 -1
- package/es/notification/notification.js +1 -1
- package/es/notification/notification.vue.d.ts +5 -3
- package/es/notification/style/index.css +26 -26
- package/es/page-header/index.d.ts +10 -6
- package/es/page-header/page-header.js +1 -1
- package/es/page-header/page-header.vue.d.ts +5 -3
- package/es/page-header/style/index.css +6 -6
- package/es/pagination/page-item-ellipsis.js +1 -1
- package/es/pagination/page-item-step.js +1 -1
- package/es/pagination/page-item.js +1 -1
- package/es/pagination/page-jumper.js +1 -1
- package/es/pagination/page-jumper.vue.d.ts +7 -7
- package/es/pagination/page-options.js +1 -1
- package/es/pagination/page-options.vue.d.ts +656 -470
- package/es/pagination/style/index.css +21 -21
- package/es/popconfirm/index.d.ts +36 -36
- package/es/popconfirm/popconfirm.js +1 -1
- package/es/popconfirm/popconfirm.vue.d.ts +17 -17
- package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +1 -1
- package/es/popconfirm/style/index.css +11 -11
- package/es/popover/index.d.ts +899 -21
- package/es/popover/popover.js +7 -3
- package/es/popover/popover.vue.d.ts +451 -10
- package/es/popover/popover.vue_vue_type_script_lang.js +15 -3
- package/es/popover/style/index.css +7 -7
- package/es/popover/style/index.d.ts +1 -0
- package/es/progress/circle.js +1 -1
- package/es/progress/circle.vue.d.ts +1 -1
- package/es/progress/index.d.ts +7 -7
- package/es/progress/line.js +1 -1
- package/es/progress/line.vue.d.ts +1 -1
- package/es/progress/line.vue_vue_type_script_lang.js +1 -1
- package/es/progress/progress.js +1 -1
- package/es/progress/progress.vue.d.ts +3 -3
- package/es/progress/steps.js +1 -1
- package/es/progress/style/index.css +32 -32
- package/es/qr-code/index.d.ts +294 -0
- package/es/qr-code/index.js +10 -0
- package/es/qr-code/qr-code-status.js +5 -0
- package/es/qr-code/qr-code-status.vue.d.ts +8 -0
- package/es/qr-code/qr-code-status.vue_vue_type_script_setup_true_lang.js +30 -0
- package/es/qr-code/qr-code.js +5 -0
- package/es/qr-code/qr-code.vue.d.ts +167 -0
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +313 -0
- package/es/qr-code/style/css.js +2 -0
- package/es/qr-code/style/index.css +106 -0
- package/es/qr-code/style/index.d.ts +2 -0
- package/es/qr-code/style/index.js +2 -0
- package/es/qr-code/style/index.scss +111 -0
- package/es/qr-code/style/token.scss +36 -0
- package/es/qr-code/types.d.ts +19 -0
- package/es/radio/index.d.ts +13 -9
- package/es/radio/radio.d.ts +6 -4
- package/es/radio/style/index.css +33 -33
- package/es/rate/index.d.ts +3 -3
- package/es/rate/rate.d.ts +1 -1
- package/es/rate/style/index.css +3 -3
- package/es/resize-box/index.d.ts +6 -6
- package/es/resize-box/resize-box.js +1 -1
- package/es/resize-box/resize-box.vue.d.ts +2 -2
- package/es/resize-box/resize-box.vue_vue_type_script_lang.js +1 -1
- package/es/resize-box/style/index.css +2 -2
- package/es/result/result.js +1 -1
- package/es/result/style/index.css +2 -2
- package/es/scrollbar/index.d.ts +6 -3
- package/es/scrollbar/interface.d.ts +1 -1
- package/es/scrollbar/scrollbar.js +2 -1
- package/es/scrollbar/scrollbar.vue.d.ts +2 -1
- package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +52 -2
- package/es/scrollbar/style/index.css +13 -13
- package/es/sd-vue.js +13 -12
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/secret/style/index.css +4 -4
- package/es/select/context.d.ts +1 -4
- package/es/select/hooks/use-options.d.ts +1 -4
- package/es/select/hooks/use-options.js +2 -23
- package/es/select/hooks/use-select.d.ts +1 -3
- package/es/select/hooks/use-select.js +2 -7
- package/es/select/index.d.ts +656 -475
- package/es/select/index.js +5 -13
- package/es/select/interface.d.ts +1 -1
- package/es/select/select-dropdown.js +3 -2
- package/es/select/select-dropdown.vue.d.ts +56 -54
- package/es/select/select-dropdown.vue_vue_type_script_lang.js +2 -3
- package/es/select/select.d.ts +264 -18
- package/es/select/select.js +50 -27
- package/es/select/style/index.css +14 -14
- package/es/select/utils.d.ts +1 -1
- package/es/select/utils.js +1 -1
- package/es/skeleton/line.js +1 -1
- package/es/skeleton/shape.js +1 -1
- package/es/skeleton/skeleton.js +1 -1
- package/es/skeleton/style/index.css +4 -4
- package/es/slider/index.d.ts +67 -67
- package/es/slider/slider-button.js +1 -1
- package/es/slider/slider-button.vue.d.ts +25 -25
- package/es/slider/slider-dots.js +1 -1
- package/es/slider/slider-input.js +1 -1
- package/es/slider/slider-input.vue.d.ts +7 -7
- package/es/slider/slider-marks.js +1 -1
- package/es/slider/slider-ticks.js +1 -1
- package/es/slider/slider.js +1 -1
- package/es/slider/slider.vue.d.ts +33 -33
- package/es/slider/style/index.css +18 -18
- package/es/space/index.d.ts +9 -9
- package/es/space/space.d.ts +2 -2
- package/es/spin/index.d.ts +1 -0
- package/es/spin/style/index.css +9 -9
- package/es/split/split.js +1 -1
- package/es/split/split.vue_vue_type_script_lang.js +1 -1
- package/es/split/style/index.css +2 -2
- package/es/statistic/countdown.js +1 -1
- package/es/statistic/countdown.vue.d.ts +1 -1
- package/es/statistic/countdown.vue_vue_type_script_lang.js +5 -5
- package/es/statistic/index.d.ts +1 -1
- package/es/statistic/statistic.js +1 -1
- package/es/statistic/statistic.vue_vue_type_script_lang.js +4 -4
- package/es/statistic/style/index.css +4 -4
- package/es/steps/index.d.ts +4 -4
- package/es/steps/step.js +1 -1
- package/es/steps/step.vue.d.ts +1 -1
- package/es/steps/steps.js +1 -1
- package/es/steps/steps.vue.d.ts +1 -1
- package/es/steps/style/index.css +79 -79
- package/es/style/color/colors.scss +1 -1
- package/es/style/theme/global.scss +8 -8
- package/es/style/theme/index.scss +4 -12
- package/es/style/theme/z-index.js +1 -2
- package/es/switch/style/index.css +30 -30
- package/es/switch/switch.js +1 -1
- package/es/switch/switch.vue_vue_type_script_lang.js +1 -1
- package/es/table/index.d.ts +14 -14
- package/es/table/style/index.css +65 -65
- package/es/table/table-operation-td.d.ts +23 -15
- package/es/table/table-operation-td.js +11 -14
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.d.ts +1 -1
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.d.ts +1 -1
- package/es/table/table-th.js +19 -8
- package/es/table/table.d.ts +5 -5
- package/es/table/table.js +45 -48
- package/es/table/utils.js +1 -1
- package/es/tabs/index.d.ts +9 -9
- package/es/tabs/style/index.css +56 -56
- package/es/tabs/tab-pane.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_lang.js +1 -1
- package/es/tabs/tabs-nav-ink.js +1 -1
- package/es/tabs/tabs-nav.d.ts +1 -1
- package/es/tabs/tabs-tab.js +1 -1
- package/es/tabs/tabs-tab.vue.d.ts +5 -3
- package/es/tabs/tabs.d.ts +3 -3
- package/es/tag/index.d.ts +66 -29688
- package/es/tag/interface.d.ts +2 -0
- package/es/tag/style/index.css +134 -134
- package/es/tag/style/index.scss +33 -13
- package/es/tag/tag.js +2 -64
- package/es/tag/tag.vue.d.ts +53 -11936
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +368 -0
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/textarea/index.d.ts +16 -12
- package/es/textarea/style/index.css +28 -28
- package/es/textarea/textarea.js +1 -1
- package/es/textarea/textarea.vue.d.ts +7 -5
- package/es/textarea/textarea.vue_vue_type_script_lang.js +1 -1
- package/es/time-picker/hooks/use-time-list.js +1 -1
- package/es/time-picker/index.d.ts +79 -71
- package/es/time-picker/panel.js +1 -1
- package/es/time-picker/panel.vue.d.ts +7 -7
- package/es/time-picker/range-panel.d.ts +7 -7
- package/es/time-picker/range-panel.js +6 -7
- package/es/time-picker/style/index.css +11 -11
- package/es/time-picker/time-column.js +1 -1
- package/es/time-picker/time-picker.js +2 -2
- package/es/time-picker/time-picker.vue.d.ts +38 -34
- package/es/time-picker/utils/index.d.ts +1 -1
- package/es/timeline/item.js +1 -1
- package/es/timeline/item.vue_vue_type_script_lang.js +1 -1
- package/es/timeline/style/index.css +11 -11
- package/es/tooltip/index.d.ts +24 -24
- package/es/tooltip/style/index.css +3 -3
- package/es/tooltip/tooltip.js +1 -1
- package/es/tooltip/tooltip.vue.d.ts +11 -11
- package/es/tooltip/tooltip.vue_vue_type_script_lang.js +1 -1
- package/es/tour/index.d.ts +664 -0
- package/es/tour/index.js +10 -0
- package/es/tour/style/css.js +1 -0
- package/es/tour/style/index.css +226 -0
- package/es/tour/style/index.d.ts +1 -0
- package/es/tour/style/index.js +1 -0
- package/es/tour/style/index.scss +218 -0
- package/es/tour/style/token.scss +27 -0
- package/es/tour/tour.js +5 -0
- package/es/tour/tour.vue.d.ts +411 -0
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +1219 -0
- package/es/tour/types.d.ts +143 -0
- package/es/transfer/index.d.ts +75 -57
- package/es/transfer/style/index.css +20 -20
- package/es/transfer/transfer-list-item.js +2 -5
- package/es/transfer/transfer-view.js +2 -3
- package/es/transfer/transfer-view.vue.d.ts +30 -21
- package/es/transfer/transfer-view.vue_vue_type_script_lang.js +1 -1
- package/es/transfer/transfer.js +1 -1
- package/es/transfer/transfer.vue.d.ts +37 -28
- package/es/tree/base-node.js +1 -1
- package/es/tree/base-node.vue.d.ts +10 -6
- package/es/tree/expand-transition.js +1 -1
- package/es/tree/interface.d.ts +1 -1
- package/es/tree/node.js +1 -1
- package/es/tree/style/index.css +25 -25
- package/es/tree/transition-node-list.js +1 -1
- package/es/tree/transition-node-list.vue.d.ts +10 -6
- package/es/tree/tree.js +1 -1
- package/es/tree/tree.vue.d.ts +14 -11
- package/es/tree/tree.vue_vue_type_script_lang.js +2 -2
- package/es/tree/utils/tree-data.js +1 -1
- package/es/tree-select/hooks/use-selected-state.js +1 -1
- package/es/tree-select/panel.js +9 -10
- package/es/tree-select/style/index.css +5 -5
- package/es/tree-select/tree-select.js +2 -2
- package/es/tree-select/tree-select.vue.d.ts +22 -22
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +1 -1
- package/es/trigger/context.d.ts +3 -3
- package/es/trigger/index.d.ts +9 -9
- package/es/trigger/interface.d.ts +3 -2
- package/es/trigger/style/index.css +5 -5
- package/es/trigger/trigger.d.ts +3 -3
- package/es/trigger/trigger.js +18 -17
- package/es/trigger/utils.js +1 -1
- package/es/typography/base.d.ts +4 -4
- package/es/typography/base.js +3 -3
- package/es/typography/edit-content.js +1 -1
- package/es/typography/edit-content.vue.d.ts +40 -34
- package/es/typography/interface.d.ts +1 -1
- package/es/typography/operations.js +1 -1
- package/es/typography/operations.vue.d.ts +25 -25
- package/es/typography/style/index.css +22 -22
- package/es/typography/typography.js +1 -1
- package/es/upload/index.d.ts +6 -6
- package/es/upload/interfaces.d.ts +3 -3
- package/es/upload/style/index.css +51 -51
- package/es/upload/upload-button.d.ts +1 -1
- package/es/upload/upload-list.js +2 -5
- package/es/upload/upload.d.ts +2 -2
- package/es/upload/upload.js +6 -7
- package/es/verification-code/index.d.ts +3 -3
- package/es/verification-code/verification-code.d.ts +1 -1
- package/es/verification-code/verification-code.js +7 -6
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/watermark.js +1 -1
- package/json/vetur-attributes.json +125 -107
- package/json/vetur-tags.json +39 -36
- package/json/web-types.json +182 -163
- package/package.json +19 -15
- package/es/calendar/calendar.d.ts +0 -104
- package/es/calendar/calendar.js +0 -207
- package/es/calendar/header.d.ts +0 -104
- package/es/calendar/header.js +0 -131
- package/es/calendar/hooks/useCellClassName.d.ts +0 -19
- package/es/calendar/hooks/useCellClassName.js +0 -43
- package/es/calendar/month.d.ts +0 -83
- package/es/calendar/month.js +0 -149
- package/es/calendar/week.d.ts +0 -61
- package/es/calendar/week.js +0 -45
- package/es/calendar/year.d.ts +0 -69
- package/es/calendar/year.js +0 -101
- package/es/select/optgroup.js +0 -10
- package/es/select/optgroup.vue.d.ts +0 -13
- package/es/select/optgroup.vue_vue_type_script_lang.js +0 -23
- package/es/select/option.js +0 -51
- package/es/select/option.vue.d.ts +0 -299
- package/es/select/option.vue_vue_type_script_lang.js +0 -149
- package/es/tag/tag.vue_vue_type_script_lang.js +0 -264
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import Checkbox from "../checkbox/index.js";
|
|
4
4
|
import Radio from "../radio/index.js";
|
|
@@ -7,7 +7,7 @@ import IconPlus from "../icon/icon-plus/index.js";
|
|
|
7
7
|
import IconDragDotVertical from "../icon/icon-drag-dot-vertical/index.js";
|
|
8
8
|
import { tableInjectionKey } from "./context.js";
|
|
9
9
|
import { getLeafKeys, getOperationFixedCls, getOperationStyle, getSelectionStatus } from "./utils.js";
|
|
10
|
-
import { computed, createVNode, defineComponent, inject } from "vue";
|
|
10
|
+
import { computed, createVNode, defineComponent, inject, mergeProps } from "vue";
|
|
11
11
|
//#region components/table/table-operation-td.tsx
|
|
12
12
|
var table_operation_td_default = /* @__PURE__ */ defineComponent({
|
|
13
13
|
name: "OperationTd",
|
|
@@ -76,7 +76,7 @@ var table_operation_td_default = /* @__PURE__ */ defineComponent({
|
|
|
76
76
|
if (props.operationColumn.name === "selection-checkbox") {
|
|
77
77
|
var _props$selectedRowKey, _props$selectedRowKey2;
|
|
78
78
|
const value = props.record.key;
|
|
79
|
-
if (!tableCtx.checkStrictly && !props.record.isLeaf) return createVNode(Checkbox, {
|
|
79
|
+
if (!tableCtx.checkStrictly && !props.record.isLeaf) return createVNode(Checkbox, mergeProps({
|
|
80
80
|
"modelValue": selectionStatus.value.checked,
|
|
81
81
|
"indeterminate": selectionStatus.value.indeterminate,
|
|
82
82
|
"disabled": Boolean(props.record.disabled),
|
|
@@ -84,33 +84,30 @@ var table_operation_td_default = /* @__PURE__ */ defineComponent({
|
|
|
84
84
|
"onChange": (checked) => {
|
|
85
85
|
var _tableCtx$onSelectAll;
|
|
86
86
|
return (_tableCtx$onSelectAll = tableCtx.onSelectAllLeafs) === null || _tableCtx$onSelectAll === void 0 ? void 0 : _tableCtx$onSelectAll.call(tableCtx, props.record, checked);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
return createVNode(Checkbox, {
|
|
87
|
+
}
|
|
88
|
+
}, { onClick: (ev) => ev.stopPropagation() }), null);
|
|
89
|
+
return createVNode(Checkbox, mergeProps({
|
|
91
90
|
"modelValue": (_props$selectedRowKey = (_props$selectedRowKey2 = props.selectedRowKeys) === null || _props$selectedRowKey2 === void 0 ? void 0 : _props$selectedRowKey2.includes(value)) !== null && _props$selectedRowKey !== void 0 ? _props$selectedRowKey : false,
|
|
92
91
|
"disabled": Boolean(props.record.disabled),
|
|
93
92
|
"uninjectGroupContext": true,
|
|
94
93
|
"onChange": (checked) => {
|
|
95
94
|
var _tableCtx$onSelect;
|
|
96
95
|
return (_tableCtx$onSelect = tableCtx.onSelect) === null || _tableCtx$onSelect === void 0 ? void 0 : _tableCtx$onSelect.call(tableCtx, checked, props.record);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
}, null);
|
|
96
|
+
}
|
|
97
|
+
}, { onClick: (ev) => ev.stopPropagation() }), null);
|
|
100
98
|
}
|
|
101
99
|
if (props.operationColumn.name === "selection-radio") {
|
|
102
100
|
var _props$selectedRowKey3, _props$selectedRowKey4;
|
|
103
101
|
const value = props.record.key;
|
|
104
|
-
return createVNode(Radio, {
|
|
102
|
+
return createVNode(Radio, mergeProps({
|
|
105
103
|
"modelValue": (_props$selectedRowKey3 = (_props$selectedRowKey4 = props.selectedRowKeys) === null || _props$selectedRowKey4 === void 0 ? void 0 : _props$selectedRowKey4.includes(value)) !== null && _props$selectedRowKey3 !== void 0 ? _props$selectedRowKey3 : false,
|
|
106
104
|
"disabled": Boolean(props.record.disabled),
|
|
107
105
|
"uninjectGroupContext": true,
|
|
108
106
|
"onChange": (checked) => {
|
|
109
107
|
var _tableCtx$onSelect2;
|
|
110
108
|
return (_tableCtx$onSelect2 = tableCtx.onSelect) === null || _tableCtx$onSelect2 === void 0 ? void 0 : _tableCtx$onSelect2.call(tableCtx, checked, props.record);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
}, null);
|
|
109
|
+
}
|
|
110
|
+
}, { onClick: (ev) => ev.stopPropagation() }), null);
|
|
114
111
|
}
|
|
115
112
|
if (props.operationColumn.name === "expand") {
|
|
116
113
|
if (props.hasExpand && props.renderExpandBtn) return props.renderExpandBtn(props.record);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isFunction } from "../_utils/is.js";
|
|
4
4
|
import Checkbox from "../checkbox/index.js";
|
package/es/table/table-td.d.ts
CHANGED
|
@@ -110,8 +110,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
110
110
|
};
|
|
111
111
|
}>> & Readonly<{}>, {
|
|
112
112
|
type: "normal" | "checkbox" | "radio" | "expand" | "operation";
|
|
113
|
-
summary: boolean;
|
|
114
113
|
column: TableColumnData;
|
|
114
|
+
summary: boolean;
|
|
115
115
|
dataColumns: TableColumnData[];
|
|
116
116
|
operations: TableOperationColumn[];
|
|
117
117
|
record: TableDataWithRaw;
|
package/es/table/table-td.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isFunction, isObject } from "../_utils/is.js";
|
|
4
4
|
import IconLoading from "../icon/icon-loading/index.js";
|
package/es/table/table-th.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
32
|
resizable: BooleanConstructor;
|
|
33
33
|
}>> & Readonly<{}>, {
|
|
34
34
|
column: TableColumnData;
|
|
35
|
+
resizable: boolean;
|
|
35
36
|
dataColumns: TableColumnData[];
|
|
36
37
|
operations: TableOperationColumn[];
|
|
37
|
-
resizable: boolean;
|
|
38
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
export default _default;
|
package/es/table/table-th.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isBoolean, isFunction, isObject } from "../_utils/is.js";
|
|
4
4
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
5
5
|
import Button from "../button/index.js";
|
|
6
|
-
import Checkbox from "../checkbox/index.js";
|
|
7
6
|
import { useI18n } from "../locale/index.js";
|
|
8
7
|
import Trigger from "../trigger/index.js";
|
|
8
|
+
import Checkbox from "../checkbox/index.js";
|
|
9
9
|
import Radio from "../radio/index.js";
|
|
10
10
|
import IconCaretDown from "../icon/icon-caret-down/index.js";
|
|
11
11
|
import { tableInjectionKey } from "./context.js";
|
|
@@ -100,12 +100,24 @@ var table_th_default = /* @__PURE__ */ defineComponent({
|
|
|
100
100
|
"value": item.value,
|
|
101
101
|
"modelValue": columnFilterValue.value,
|
|
102
102
|
"uninjectGroupContext": true,
|
|
103
|
-
"onChange":
|
|
103
|
+
"onChange": (value) => {
|
|
104
|
+
if (Array.isArray(value)) {
|
|
105
|
+
handleCheckboxFilterChange(value.map(String));
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
throw new Error("Checkbox filter value should be an array");
|
|
109
|
+
}
|
|
104
110
|
}, { default: () => [item.text] }) : createVNode(Radio, {
|
|
105
111
|
"value": item.value,
|
|
106
112
|
"modelValue": (_columnFilterValue$va = columnFilterValue.value[0]) !== null && _columnFilterValue$va !== void 0 ? _columnFilterValue$va : "",
|
|
107
113
|
"uninjectGroupContext": true,
|
|
108
|
-
"onChange":
|
|
114
|
+
"onChange": (value) => {
|
|
115
|
+
if (typeof value === "string") {
|
|
116
|
+
handleRadioFilterChange(value);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
throw new Error("Radio filter value should be a string");
|
|
120
|
+
}
|
|
109
121
|
}, { default: () => [item.text] })]);
|
|
110
122
|
})]), createVNode("div", { "class": `${prefixCls}-filters-bottom` }, [createVNode(Button, {
|
|
111
123
|
"size": "mini",
|
|
@@ -126,15 +138,14 @@ var table_th_default = /* @__PURE__ */ defineComponent({
|
|
|
126
138
|
"popupOffset": filterIconAlignLeft.value ? 4 : 0,
|
|
127
139
|
"onPopupVisibleChange": handleFilterPopupVisibleChange
|
|
128
140
|
}, filterable.triggerProps), {
|
|
129
|
-
default: () => [createVNode(icon_hover_default, {
|
|
141
|
+
default: () => [createVNode(icon_hover_default, mergeProps({
|
|
130
142
|
"class": [`${prefixCls}-filters`, {
|
|
131
143
|
[`${prefixCls}-filters-active`]: isFilterActive.value,
|
|
132
144
|
[`${prefixCls}-filters-open`]: filterPopupVisible.value,
|
|
133
145
|
[`${prefixCls}-filters-align-left`]: filterIconAlignLeft.value
|
|
134
146
|
}],
|
|
135
|
-
"disabled": !filterIconAlignLeft.value
|
|
136
|
-
|
|
137
|
-
}, { default: () => {
|
|
147
|
+
"disabled": !filterIconAlignLeft.value
|
|
148
|
+
}, { onClick: (ev) => ev.stopPropagation() }), { default: () => {
|
|
138
149
|
var _ref, _props$column$slots$f, _props$column$slots3, _props$column$slots3$, _filterable$icon;
|
|
139
150
|
return [(_ref = (_props$column$slots$f = (_props$column$slots3 = props.column.slots) === null || _props$column$slots3 === void 0 || (_props$column$slots3$ = _props$column$slots3["filter-icon"]) === null || _props$column$slots3$ === void 0 ? void 0 : _props$column$slots3$.call(_props$column$slots3)) !== null && _props$column$slots$f !== void 0 ? _props$column$slots$f : (_filterable$icon = filterable.icon) === null || _filterable$icon === void 0 ? void 0 : _filterable$icon.call(filterable)) !== null && _ref !== void 0 ? _ref : createVNode(IconFilter, null, null)];
|
|
140
151
|
} })],
|
package/es/table/table.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
};
|
|
35
35
|
size: {
|
|
36
36
|
type: PropType<Size>;
|
|
37
|
-
default: () => "
|
|
37
|
+
default: () => "medium" | "large" | "small" | "mini";
|
|
38
38
|
};
|
|
39
39
|
loading: {
|
|
40
40
|
type: (ObjectConstructor | BooleanConstructor)[];
|
|
@@ -236,7 +236,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
236
236
|
};
|
|
237
237
|
size: {
|
|
238
238
|
type: PropType<Size>;
|
|
239
|
-
default: () => "
|
|
239
|
+
default: () => "medium" | "large" | "small" | "mini";
|
|
240
240
|
};
|
|
241
241
|
loading: {
|
|
242
242
|
type: (ObjectConstructor | BooleanConstructor)[];
|
|
@@ -397,9 +397,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
397
397
|
onRowContextmenu?: ((_record: TableData, _ev: Event) => any) | undefined;
|
|
398
398
|
onCellContextmenu?: ((_record: TableData, _column: TableColumnData, _ev: Event) => any) | undefined;
|
|
399
399
|
}>, {
|
|
400
|
-
size: "
|
|
401
|
-
data: TableData[];
|
|
400
|
+
size: "medium" | "large" | "small" | "mini";
|
|
402
401
|
scrollbar: boolean | ScrollbarProps;
|
|
402
|
+
data: TableData[];
|
|
403
403
|
loading: boolean | Record<string, any>;
|
|
404
404
|
columns: TableColumnData[];
|
|
405
405
|
bordered: boolean | TableBorder;
|
|
@@ -409,7 +409,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
409
409
|
filterIconAlignLeft: boolean;
|
|
410
410
|
stripe: boolean;
|
|
411
411
|
pagination: boolean | PaginationProps;
|
|
412
|
-
pagePosition: "
|
|
412
|
+
pagePosition: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
|
|
413
413
|
rowKey: string | ((record: TableData) => BaseType);
|
|
414
414
|
showHeader: boolean;
|
|
415
415
|
spanAll: boolean;
|
package/es/table/table.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { configProviderInjectionKey } from "../config-provider/context.js";
|
|
2
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
4
4
|
import { isArray, isFunction, isNull, isNumber, isObject, isString, isUndefined } from "../_utils/is.js";
|
|
5
|
-
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.
|
|
5
|
+
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
6
6
|
import virtual_list_default from "../_components/virtual-list/index.js";
|
|
7
7
|
import { omit } from "../_utils/omit.js";
|
|
8
8
|
import { useComponentRef } from "../_hooks/use-component-ref.js";
|
|
@@ -10,9 +10,9 @@ import { useScrollbar } from "../_hooks/use-scrollbar.js";
|
|
|
10
10
|
import Empty from "../empty/index.js";
|
|
11
11
|
import Scrollbar from "../scrollbar/index.js";
|
|
12
12
|
import Spin from "../spin/index.js";
|
|
13
|
-
import { _objectWithoutProperties } from "../_virtual/_@oxc-project_runtime@0.
|
|
14
|
-
import { debounce } from "../_utils/debounce.js";
|
|
13
|
+
import { _objectWithoutProperties } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectWithoutProperties.js";
|
|
15
14
|
import { useChildrenComponents } from "../_hooks/use-children-components.js";
|
|
15
|
+
import { debounce } from "../_utils/debounce.js";
|
|
16
16
|
import IconMinus from "../icon/icon-minus/index.js";
|
|
17
17
|
import IconPlus from "../icon/icon-plus/index.js";
|
|
18
18
|
import { getValueByPath, setValueByPath } from "../_utils/get-value-by-path.js";
|
|
@@ -593,7 +593,7 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
593
593
|
var _rowSelection$value$c, _rowSelection$value;
|
|
594
594
|
return (_rowSelection$value$c = (_rowSelection$value = rowSelection.value) === null || _rowSelection$value === void 0 ? void 0 : _rowSelection$value.checkStrictly) !== null && _rowSelection$value$c !== void 0 ? _rowSelection$value$c : true;
|
|
595
595
|
});
|
|
596
|
-
const {
|
|
596
|
+
const { scrollbarProps } = useScrollbar(scrollbar);
|
|
597
597
|
const containerClientWidth = ref(0);
|
|
598
598
|
const containerScrollWidth = ref(0);
|
|
599
599
|
const autoScrollX = ref(false);
|
|
@@ -864,6 +864,7 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
864
864
|
dataIndex: field,
|
|
865
865
|
direction
|
|
866
866
|
});
|
|
867
|
+
if (valueA == null || valueB == null) return 0;
|
|
867
868
|
const result = valueA > valueB ? 1 : -1;
|
|
868
869
|
return direction === "descend" ? -result : result;
|
|
869
870
|
});
|
|
@@ -1366,11 +1367,10 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1366
1367
|
columns: allColumns
|
|
1367
1368
|
});
|
|
1368
1369
|
const renderSummaryRow = (record, rowIndex) => {
|
|
1369
|
-
return createVNode(table_tr_default, {
|
|
1370
|
+
return createVNode(table_tr_default, mergeProps({
|
|
1370
1371
|
"key": `table-summary-${rowIndex}`,
|
|
1371
|
-
"class": [`${prefixCls}-tr-summary`, isFunction(props.rowClass) ? props.rowClass(record.raw, rowIndex) : props.rowClass]
|
|
1372
|
-
|
|
1373
|
-
}, {
|
|
1372
|
+
"class": [`${prefixCls}-tr-summary`, isFunction(props.rowClass) ? props.rowClass(record.raw, rowIndex) : props.rowClass]
|
|
1373
|
+
}, { onClick: (ev) => handleRowClick(record, ev) }), {
|
|
1374
1374
|
default: () => [operations.value.map((operation, index) => {
|
|
1375
1375
|
var _tableSummarySpan$val;
|
|
1376
1376
|
const cellId = `${rowIndex}-${index}-${record.key}`;
|
|
@@ -1389,7 +1389,7 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1389
1389
|
const cellId = `${rowIndex}-${operations.value.length + index}-${record.key}`;
|
|
1390
1390
|
const [rowspan, colspan] = (_tableSummarySpan$val2 = tableSummarySpan.value[cellId]) !== null && _tableSummarySpan$val2 !== void 0 ? _tableSummarySpan$val2 : [1, 1];
|
|
1391
1391
|
if (removedSummaryCells.value.includes(cellId)) return null;
|
|
1392
|
-
return createVNode(table_td_default, {
|
|
1392
|
+
return createVNode(table_td_default, mergeProps({
|
|
1393
1393
|
"key": `td-${cellId}`,
|
|
1394
1394
|
"rowIndex": rowIndex,
|
|
1395
1395
|
"record": record,
|
|
@@ -1398,13 +1398,14 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1398
1398
|
"dataColumns": dataColumns.value,
|
|
1399
1399
|
"rowSpan": rowspan,
|
|
1400
1400
|
"colSpan": colspan,
|
|
1401
|
-
"summary": true
|
|
1402
|
-
"onClick": (ev) => handleCellClick(record, column, ev),
|
|
1403
|
-
"onDblclick": (ev) => handleCellDblclick(record, column, ev),
|
|
1404
|
-
"onMouseenter": (ev) => handleCellMouseEnter(record, column, ev),
|
|
1405
|
-
"onMouseleave": (ev) => handleCellMouseLeave(record, column, ev),
|
|
1406
|
-
"onContextmenu": (ev) => handleCellContextmenu(record, column, ev)
|
|
1401
|
+
"summary": true
|
|
1407
1402
|
}, {
|
|
1403
|
+
onClick: (ev) => handleCellClick(record, column, ev),
|
|
1404
|
+
onDblclick: (ev) => handleCellDblclick(record, column, ev),
|
|
1405
|
+
onMouseenter: (ev) => handleCellMouseEnter(record, column, ev),
|
|
1406
|
+
onMouseleave: (ev) => handleCellMouseLeave(record, column, ev),
|
|
1407
|
+
onContextmenu: (ev) => handleCellContextmenu(record, column, ev)
|
|
1408
|
+
}), {
|
|
1408
1409
|
td: slots.td,
|
|
1409
1410
|
cell: slots["summary-cell"]
|
|
1410
1411
|
});
|
|
@@ -1495,10 +1496,11 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1495
1496
|
}, isFunction(props.rowClass) ? props.rowClass(record.raw, rowIndex) : props.rowClass],
|
|
1496
1497
|
"rowIndex": rowIndex,
|
|
1497
1498
|
"record": record,
|
|
1498
|
-
"checked": props.rowSelection && ((_selectedRowKeys$valu = selectedRowKeys.value) === null || _selectedRowKeys$valu === void 0 ? void 0 : _selectedRowKeys$valu.includes(currentKey))
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1499
|
+
"checked": props.rowSelection && ((_selectedRowKeys$valu = selectedRowKeys.value) === null || _selectedRowKeys$valu === void 0 ? void 0 : _selectedRowKeys$valu.includes(currentKey))
|
|
1500
|
+
}, {
|
|
1501
|
+
onClick: (ev) => handleRowClick(record, ev),
|
|
1502
|
+
onDblclick: (ev) => handleRowDblclick(record, ev),
|
|
1503
|
+
onContextmenu: (ev) => handleRowContextMenu(record, ev)
|
|
1502
1504
|
}, dragType.value === "row" ? dragSourceEvent : {}, dragTargetEvent), {
|
|
1503
1505
|
default: () => [operations.value.map((operation, index) => {
|
|
1504
1506
|
var _tableSpan$value$cell;
|
|
@@ -1536,11 +1538,11 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1536
1538
|
"renderExpandBtn": renderExpandBtn,
|
|
1537
1539
|
"colSpan": colspan
|
|
1538
1540
|
}, extraProps, {
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1541
|
+
onClick: (ev) => handleCellClick(record, column, ev),
|
|
1542
|
+
onDblclick: (ev) => handleCellDblclick(record, column, ev),
|
|
1543
|
+
onMouseenter: (ev) => handleCellMouseEnter(record, column, ev),
|
|
1544
|
+
onMouseleave: (ev) => handleCellMouseLeave(record, column, ev),
|
|
1545
|
+
onContextmenu: (ev) => handleCellContextmenu(record, column, ev)
|
|
1544
1546
|
}), { td: slots.td });
|
|
1545
1547
|
})],
|
|
1546
1548
|
tr: slots.tr
|
|
@@ -1565,29 +1567,26 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1565
1567
|
const renderHeader = () => createVNode(table_thead_default, null, {
|
|
1566
1568
|
default: () => [groupColumns.value.map((row, index) => createVNode(table_tr_default, { "key": `header-row-${index}` }, { default: () => [index === 0 && operations.value.map((operation, index) => {
|
|
1567
1569
|
var _props$rowSelection2;
|
|
1568
|
-
return createVNode(table_operation_th_default, {
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
},
|
|
1570
|
+
return createVNode(table_operation_th_default, mergeProps({ "key": `operation-th-${index}` }, { ref: (ins) => {
|
|
1571
|
+
const instance = ins;
|
|
1572
|
+
if ((instance === null || instance === void 0 ? void 0 : instance.$el) && operation.name) thRefs.value[operation.name] = instance.$el;
|
|
1573
|
+
} }, {
|
|
1573
1574
|
"operationColumn": operation,
|
|
1574
1575
|
"operations": operations.value,
|
|
1575
1576
|
"selectAll": Boolean(operation.name === "selection-checkbox" && ((_props$rowSelection2 = props.rowSelection) === null || _props$rowSelection2 === void 0 ? void 0 : _props$rowSelection2.showCheckedAll)),
|
|
1576
1577
|
"rowSpan": groupColumns.value.length
|
|
1577
|
-
}, null);
|
|
1578
|
+
}), null);
|
|
1578
1579
|
}), row.map((column, index) => {
|
|
1579
1580
|
const resizable = props.columnResizable && Boolean(column.dataIndex) && index < row.length - 1;
|
|
1580
|
-
return createVNode(table_th_default, {
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
},
|
|
1581
|
+
return createVNode(table_th_default, mergeProps({ "key": `th-${index}` }, { ref: (ins) => {
|
|
1582
|
+
const instance = ins;
|
|
1583
|
+
if ((instance === null || instance === void 0 ? void 0 : instance.$el) && column.dataIndex) thRefs.value[column.dataIndex] = instance.$el;
|
|
1584
|
+
} }, {
|
|
1585
1585
|
"column": column,
|
|
1586
1586
|
"operations": operations.value,
|
|
1587
1587
|
"dataColumns": dataColumns.value,
|
|
1588
|
-
"resizable": resizable
|
|
1589
|
-
|
|
1590
|
-
}, { th: slots.th });
|
|
1588
|
+
"resizable": resizable
|
|
1589
|
+
}, { onClick: (ev) => handleHeaderClick(column, ev) }), { th: slots.th });
|
|
1591
1590
|
})] }))],
|
|
1592
1591
|
thead: slots.thead
|
|
1593
1592
|
});
|
|
@@ -1595,7 +1594,6 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1595
1594
|
if (splitTable.value) {
|
|
1596
1595
|
var _props$scroll15, _props$scroll16;
|
|
1597
1596
|
const top = isNumber(props.stickyHeader) ? `${props.stickyHeader}px` : void 0;
|
|
1598
|
-
const BodyComponent = displayScrollbar.value ? Scrollbar : "div";
|
|
1599
1597
|
const bodyContent = isVirtualList.value && flattenData.value.length ? createVNode("div", {
|
|
1600
1598
|
"class": `${prefixCls}-element`,
|
|
1601
1599
|
"style": elementStyle.value
|
|
@@ -1612,14 +1610,14 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1612
1610
|
"keyField": "key",
|
|
1613
1611
|
"height": "auto",
|
|
1614
1612
|
"onScroll": onTbodyScroll
|
|
1615
|
-
}, tableVirtualListProps.value), { item: ({ item, index }) => renderVirtualRecord(item, index) })])]) : createVNode(
|
|
1613
|
+
}, tableVirtualListProps.value), { item: ({ item, index }) => renderVirtualRecord(item, index) })])]) : createVNode(Scrollbar, mergeProps({
|
|
1616
1614
|
"ref": tbodyComRef,
|
|
1617
1615
|
"class": `${prefixCls}-body`,
|
|
1618
1616
|
"style": { maxHeight: isNumber((_props$scroll15 = props.scroll) === null || _props$scroll15 === void 0 ? void 0 : _props$scroll15.y) ? `${(_props$scroll16 = props.scroll) === null || _props$scroll16 === void 0 ? void 0 : _props$scroll16.y}px` : "100%" }
|
|
1619
|
-
},
|
|
1617
|
+
}, _objectSpread2(_objectSpread2({}, scrollbarProps.value), {}, { outerStyle: _objectSpread2({
|
|
1620
1618
|
display: "flex",
|
|
1621
1619
|
minHeight: "0"
|
|
1622
|
-
} }, scrollbarProps.value) :
|
|
1620
|
+
}, Array.isArray(scrollbarProps.value.outerStyle) ? Object.assign({}, ...scrollbarProps.value.outerStyle) : scrollbarProps.value.outerStyle) }), { "onScroll": onTbodyScroll }), { default: () => [createVNode("div", {
|
|
1623
1621
|
"class": `${prefixCls}-element`,
|
|
1624
1622
|
"style": elementStyle.value
|
|
1625
1623
|
}, [renderBody()])] });
|
|
@@ -1629,7 +1627,7 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1629
1627
|
"class": [`${prefixCls}-header`, { [`${prefixCls}-header-sticky`]: props.stickyHeader }],
|
|
1630
1628
|
"style": {
|
|
1631
1629
|
overflowX: "hidden",
|
|
1632
|
-
overflowY:
|
|
1630
|
+
overflowY: "hidden",
|
|
1633
1631
|
top
|
|
1634
1632
|
}
|
|
1635
1633
|
}, [createVNode("div", {
|
|
@@ -1640,7 +1638,7 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1640
1638
|
summaryData.value && summaryData.value.length > 0 && createVNode("div", {
|
|
1641
1639
|
"ref": summaryRef,
|
|
1642
1640
|
"class": `${prefixCls}-tfoot`,
|
|
1643
|
-
"style": { overflowY:
|
|
1641
|
+
"style": { overflowY: "hidden" }
|
|
1644
1642
|
}, [createVNode("div", {
|
|
1645
1643
|
"class": `${prefixCls}-element`,
|
|
1646
1644
|
"style": elementStyle.value
|
|
@@ -1660,12 +1658,11 @@ var table_default = /* @__PURE__ */ defineComponent({
|
|
|
1660
1658
|
const renderTable = (content) => {
|
|
1661
1659
|
var _props$scroll17;
|
|
1662
1660
|
const style = ((_props$scroll17 = props.scroll) === null || _props$scroll17 === void 0 ? void 0 : _props$scroll17.maxHeight) ? { maxHeight: props.scroll.maxHeight } : void 0;
|
|
1663
|
-
|
|
1664
|
-
return createVNode(Fragment, null, [createVNode("div", { "class": [`${prefixCls}-container`, tableCls.value] }, [createVNode(ContentComponent, mergeProps({
|
|
1661
|
+
return createVNode(Fragment, null, [createVNode("div", { "class": [`${prefixCls}-container`, tableCls.value] }, [createVNode(Scrollbar, mergeProps({
|
|
1665
1662
|
"ref": contentComRef,
|
|
1666
1663
|
"class": [`${prefixCls}-content`, { [`${prefixCls}-content-scroll-x`]: !splitTable.value }],
|
|
1667
1664
|
"style": style
|
|
1668
|
-
},
|
|
1665
|
+
}, _objectSpread2(_objectSpread2({}, scrollbarProps.value), {}, { outerStyle: { height: "100%" } }), { "onScroll": handleScroll }), { default: () => [content ? createVNode("div", {
|
|
1669
1666
|
"class": `${prefixCls}-element`,
|
|
1670
1667
|
"style": elementStyle.value
|
|
1671
1668
|
}, [content()]) : renderContent()] })]), slots.footer && createVNode("div", { "class": `${prefixCls}-footer` }, [slots.footer()])]);
|
package/es/table/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { isArray, isNull, isUndefined } from "../_utils/is.js";
|
|
3
3
|
//#region components/table/utils.ts
|
|
4
4
|
var getDataColumnsNumber = (columns) => {
|
package/es/tabs/index.d.ts
CHANGED
|
@@ -72,8 +72,8 @@ declare const Tabs: {
|
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
74
|
}>> & Readonly<{
|
|
75
|
-
onDelete?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
76
75
|
onAdd?: ((_ev: Event) => any) | undefined;
|
|
76
|
+
onDelete?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
77
77
|
onChange?: ((_key: string | number) => any) | undefined;
|
|
78
78
|
"onUpdate:activeKey"?: ((_key: string | number) => any) | undefined;
|
|
79
79
|
onTabClick?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
@@ -85,10 +85,10 @@ declare const Tabs: {
|
|
|
85
85
|
delete: (_key: string | number, _ev: Event) => true;
|
|
86
86
|
}, import("vue").PublicProps, {
|
|
87
87
|
type: import("./interface").TabsType;
|
|
88
|
-
trigger: import("./interface").TabTriggerEvent;
|
|
89
88
|
position: import("./interface").TabsPosition;
|
|
90
|
-
direction: "horizontal" | "vertical";
|
|
91
89
|
justify: boolean;
|
|
90
|
+
trigger: import("./interface").TabTriggerEvent;
|
|
91
|
+
direction: "horizontal" | "vertical";
|
|
92
92
|
animation: boolean;
|
|
93
93
|
activeKey: string | number;
|
|
94
94
|
destroyOnHide: boolean;
|
|
@@ -176,17 +176,17 @@ declare const Tabs: {
|
|
|
176
176
|
default: string;
|
|
177
177
|
};
|
|
178
178
|
}>> & Readonly<{
|
|
179
|
-
onDelete?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
180
179
|
onAdd?: ((_ev: Event) => any) | undefined;
|
|
180
|
+
onDelete?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
181
181
|
onChange?: ((_key: string | number) => any) | undefined;
|
|
182
182
|
"onUpdate:activeKey"?: ((_key: string | number) => any) | undefined;
|
|
183
183
|
onTabClick?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
184
184
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
185
185
|
type: import("./interface").TabsType;
|
|
186
|
-
trigger: import("./interface").TabTriggerEvent;
|
|
187
186
|
position: import("./interface").TabsPosition;
|
|
188
|
-
direction: "horizontal" | "vertical";
|
|
189
187
|
justify: boolean;
|
|
188
|
+
trigger: import("./interface").TabTriggerEvent;
|
|
189
|
+
direction: "horizontal" | "vertical";
|
|
190
190
|
animation: boolean;
|
|
191
191
|
activeKey: string | number;
|
|
192
192
|
destroyOnHide: boolean;
|
|
@@ -271,8 +271,8 @@ declare const Tabs: {
|
|
|
271
271
|
default: string;
|
|
272
272
|
};
|
|
273
273
|
}>> & Readonly<{
|
|
274
|
-
onDelete?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
275
274
|
onAdd?: ((_ev: Event) => any) | undefined;
|
|
275
|
+
onDelete?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
276
276
|
onChange?: ((_key: string | number) => any) | undefined;
|
|
277
277
|
"onUpdate:activeKey"?: ((_key: string | number) => any) | undefined;
|
|
278
278
|
onTabClick?: ((_key: string | number, _ev: Event) => any) | undefined;
|
|
@@ -284,10 +284,10 @@ declare const Tabs: {
|
|
|
284
284
|
delete: (_key: string | number, _ev: Event) => true;
|
|
285
285
|
}, string, {
|
|
286
286
|
type: import("./interface").TabsType;
|
|
287
|
-
trigger: import("./interface").TabTriggerEvent;
|
|
288
287
|
position: import("./interface").TabsPosition;
|
|
289
|
-
direction: "horizontal" | "vertical";
|
|
290
288
|
justify: boolean;
|
|
289
|
+
trigger: import("./interface").TabTriggerEvent;
|
|
290
|
+
direction: "horizontal" | "vertical";
|
|
291
291
|
animation: boolean;
|
|
292
292
|
activeKey: string | number;
|
|
293
293
|
destroyOnHide: boolean;
|