@sdata/web-vue 3.30.0 → 4.0.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 +248 -23
- package/dist/sd.min.css +2 -2
- package/es/_components/auto-tooltip/auto-tooltip.js +3 -62
- package/es/_components/auto-tooltip/auto-tooltip.vue.d.ts +17 -0
- package/es/_components/auto-tooltip/auto-tooltip.vue_vue_type_script_setup_true_lang.js +66 -0
- package/es/_components/client-only.js +3 -16
- package/es/_components/client-only.vue.d.ts +13 -0
- package/es/_components/client-only.vue_vue_type_script_setup_true_lang.js +17 -0
- package/es/_components/feedback-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/icon-hover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/input-label/input-label.js +3 -168
- package/es/_components/input-label/input-label.vue.d.ts +59 -0
- package/es/_components/input-label/input-label.vue_vue_type_script_setup_true_lang.js +192 -0
- package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/resize-observer.js +3 -44
- package/es/_components/resize-observer.vue.d.ts +17 -0
- package/es/_components/resize-observer.vue_vue_type_script_setup_true_lang.js +48 -0
- package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/_components/select-view/select-view.js +3 -231
- package/es/_components/select-view/select-view.vue.d.ts +76 -0
- package/es/_components/select-view/select-view.vue_vue_type_script_setup_true_lang.js +269 -0
- package/es/_components/transition/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/_hooks/use-scrollbar.js +1 -1
- package/es/_utils/array.js +1 -6
- package/es/_utils/color.js +4 -6
- package/es/_utils/date.js +2 -2
- package/es/_utils/global-config.js +1 -1
- package/es/_utils/omit.js +1 -1
- package/es/_utils/responsive-observe.js +1 -1
- package/es/_utils/virtual-dropdown.js +1 -1
- package/es/_utils/vue-utils.js +2 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/typeof.js +1 -1
- package/es/affix/affix.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/anchor/anchor-link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/auto-complete/auto-complete.js +3 -389
- package/es/auto-complete/auto-complete.vue.d.ts +693 -0
- package/es/auto-complete/auto-complete.vue_vue_type_script_setup_true_lang.js +293 -0
- package/es/auto-complete/index.d.ts +1667 -79
- package/es/avatar/avatar-group.js +4 -96
- package/es/avatar/avatar-group.vue.d.ts +29 -0
- package/es/avatar/avatar-group.vue_vue_type_script_setup_true_lang.js +84 -0
- package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/avatar/index.d.ts +53 -51
- package/es/avatar/index.js +4 -4
- package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/badge/badge.js +4 -149
- package/es/badge/badge.vue.d.ts +34 -0
- package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +97 -0
- package/es/badge/index.d.ts +36 -100
- package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/border-beam/styles.js +1 -1
- package/es/breadcrumb/breadcrumb-item.js +3 -106
- package/es/breadcrumb/breadcrumb-item.vue.d.ts +25 -0
- package/es/breadcrumb/breadcrumb-item.vue_vue_type_script_setup_true_lang.js +89 -0
- package/es/breadcrumb/breadcrumb.js +3 -115
- package/es/breadcrumb/breadcrumb.vue.d.ts +29 -0
- package/es/breadcrumb/breadcrumb.vue_vue_type_script_setup_true_lang.js +98 -0
- package/es/breadcrumb/index.d.ts +72 -79
- package/es/button/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +8 -6
- package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/card/card-actions.js +5 -0
- package/es/card/card-actions.vue.d.ts +7 -0
- package/es/card/card-actions.vue_vue_type_script_setup_true_lang.js +23 -0
- package/es/card/card-grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/card-meta.js +3 -47
- package/es/card/card-meta.vue.d.ts +21 -0
- package/es/card/card-meta.vue_vue_type_script_setup_true_lang.js +54 -0
- package/es/card/card.js +3 -180
- package/es/card/card.vue.d.ts +40 -0
- package/es/card/card.vue_vue_type_script_setup_true_lang.js +116 -0
- package/es/card/context.d.ts +1 -2
- package/es/card/index.d.ts +67 -871
- package/es/card/index.js +1 -1
- package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/carousel/carousel.js +3 -289
- package/es/carousel/{carousel.d.ts → carousel.vue.d.ts} +8 -11
- package/es/carousel/carousel.vue_vue_type_script_setup_true_lang.js +229 -0
- package/es/carousel/index.d.ts +11 -17
- package/es/carousel/index.js +1 -1
- package/es/cascader/base-cascader-panel.js +3 -70
- package/es/cascader/{base-cascader-panel.d.ts → base-cascader-panel.vue.d.ts} +20 -11
- package/es/cascader/base-cascader-panel.vue_vue_type_script_setup_true_lang.js +85 -0
- package/es/cascader/cascader-column.js +3 -75
- package/es/cascader/{cascader-column.d.ts → cascader-column.vue.d.ts} +18 -11
- package/es/cascader/cascader-column.vue_vue_type_script_setup_true_lang.js +103 -0
- package/es/cascader/cascader-option.js +3 -141
- package/es/cascader/{cascader-option.d.ts → cascader-option.vue.d.ts} +4 -3
- package/es/cascader/cascader-option.vue_vue_type_script_setup_true_lang.js +171 -0
- package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/cascader/cascader-search-panel.js +3 -58
- package/es/cascader/{cascader-search-panel.d.ts → cascader-search-panel.vue.d.ts} +15 -4
- package/es/cascader/cascader-search-panel.vue_vue_type_script_setup_true_lang.js +71 -0
- package/es/cascader/cascader.vue.d.ts +3 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +17 -13
- package/es/checkbox/checkbox-group.js +3 -139
- package/es/checkbox/checkbox-group.vue.d.ts +41 -0
- package/es/checkbox/checkbox-group.vue_vue_type_script_setup_true_lang.js +100 -0
- package/es/checkbox/checkbox.js +3 -195
- package/es/checkbox/checkbox.vue.d.ts +39 -0
- package/es/checkbox/checkbox.vue_vue_type_script_setup_true_lang.js +165 -0
- package/es/checkbox/icon-check.js +3 -18
- package/es/checkbox/icon-check.vue.d.ts +3 -0
- package/es/checkbox/icon-check.vue_vue_type_script_setup_true_lang.js +24 -0
- package/es/checkbox/index.d.ts +102 -294
- package/es/collapse/collapse-item.js +3 -177
- package/es/collapse/collapse-item.vue.d.ts +30 -0
- package/es/collapse/collapse-item.vue_vue_type_script_setup_true_lang.js +168 -0
- package/es/collapse/collapse.vue.d.ts +1 -1
- package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/collapse/index.d.ts +50 -155
- package/es/collapse/style/index.css +1 -0
- package/es/collapse/style/index.scss +1 -0
- package/es/color-picker/color-picker.js +3 -293
- package/es/color-picker/{color-picker.d.ts → color-picker.vue.d.ts} +25 -14
- package/es/color-picker/color-picker.vue_vue_type_script_setup_true_lang.js +256 -0
- package/es/color-picker/control-bar.js +3 -54
- package/es/color-picker/{control-bar.d.ts → control-bar.vue.d.ts} +5 -4
- package/es/color-picker/control-bar.vue_vue_type_script_setup_true_lang.js +68 -0
- package/es/color-picker/gradient-thumb.js +5 -0
- package/es/color-picker/gradient-thumb.vue.d.ts +13 -0
- package/es/color-picker/gradient-thumb.vue_vue_type_script_setup_true_lang.js +69 -0
- package/es/color-picker/index.d.ts +37 -32
- package/es/color-picker/palette.js +3 -43
- package/es/color-picker/palette.vue.d.ts +17 -0
- package/es/color-picker/palette.vue_vue_type_script_setup_true_lang.js +51 -0
- package/es/color-picker/panel.js +3 -475
- package/es/color-picker/{panel.d.ts → panel.vue.d.ts} +5 -4
- package/es/color-picker/panel.vue_vue_type_script_setup_true_lang.js +453 -0
- package/es/color-picker/utils.js +12 -10
- package/es/comment/comment.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/config-provider/theme.js +1 -1
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/date-picker/hooks/use-range-header-value.js +2 -2
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/hooks/use-time-picker-value.js +10 -8
- package/es/date-picker/index.d.ts +238 -122
- package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/date-picker/panels/footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/week-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker.vue.d.ts +1 -1
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/date-picker/pickers/date-picker.js +3 -93
- package/es/date-picker/pickers/{date-picker.d.ts → date-picker.vue.d.ts} +26 -35
- package/es/date-picker/pickers/date-picker.vue_vue_type_script_setup_true_lang.js +107 -0
- package/es/date-picker/pickers/month-picker.js +3 -37
- package/es/date-picker/pickers/month-picker.vue.d.ts +38 -0
- package/es/date-picker/pickers/month-picker.vue_vue_type_script_setup_true_lang.js +51 -0
- package/es/date-picker/pickers/quarter-picker.js +3 -46
- package/es/date-picker/pickers/{quarter-picker.d.ts → quarter-picker.vue.d.ts} +14 -3
- package/es/date-picker/pickers/quarter-picker.vue_vue_type_script_setup_true_lang.js +60 -0
- package/es/date-picker/pickers/week-picker.js +3 -56
- package/es/date-picker/pickers/{week-picker.d.ts → week-picker.vue.d.ts} +15 -4
- package/es/date-picker/pickers/week-picker.vue_vue_type_script_setup_true_lang.js +70 -0
- package/es/date-picker/pickers/year-picker.js +3 -37
- package/es/date-picker/pickers/year-picker.vue.d.ts +38 -0
- package/es/date-picker/pickers/year-picker.vue_vue_type_script_setup_true_lang.js +51 -0
- package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/range-picker.vue.d.ts +1 -1
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/descriptions/descriptions.js +3 -232
- package/es/descriptions/{descriptions.d.ts → descriptions.vue.d.ts} +22 -23
- package/es/descriptions/descriptions.vue_vue_type_script_setup_true_lang.js +209 -0
- package/es/descriptions/index.d.ts +18 -32
- package/es/descriptions/index.js +1 -1
- package/es/divider/divider.js +3 -71
- package/es/divider/divider.vue.d.ts +21 -0
- package/es/divider/divider.vue_vue_type_script_setup_true_lang.js +47 -0
- package/es/divider/index.d.ts +25 -66
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/drawer/index.js +2 -2
- package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-option.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +1 -2
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/empty/empty.js +3 -49
- package/es/empty/empty.vue.d.ts +18 -0
- package/es/empty/empty.vue_vue_type_script_setup_true_lang.js +44 -0
- package/es/empty/index.d.ts +20 -36
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/file-previewer/pdfjs-worker.min.mjs +4 -4
- package/es/file-previewer/use-pdf-js.js +2 -2
- package/es/form/form-item-label.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/form/form-item-message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +31 -30
- package/es/form/form.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/style/col.scss +29 -41
- package/es/grid/style/index.css +237 -0
- package/es/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-check/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-close/icon-close.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-copy/icon-copy.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-delete/icon-delete.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-down/icon-down.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-edit/icon-edit.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-empty/icon-empty.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-eye/icon-eye.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file/icon-file.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-filter/icon-filter.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-info/icon-info.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-left/icon-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-link/icon-link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-list/icon-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-loading/icon-loading.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-minus/icon-minus.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-more/icon-more.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-mute/icon-mute.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-pause/icon-pause.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-plus/icon-plus.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-right/icon-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-search/icon-search.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-to-top/icon-to-top.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-up/icon-up.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-upload/icon-upload.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-voice/icon-voice.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon-component/add-from-icon-font-cn.d.ts +8 -13
- package/es/icon-component/add-from-icon-font-cn.js +13 -22
- package/es/icon-component/icon-font.js +5 -0
- package/es/icon-component/icon-font.vue.d.ts +35 -0
- package/es/icon-component/icon-font.vue_vue_type_script_setup_true_lang.js +38 -0
- package/es/icon-component/icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/icon-component/index.d.ts +1 -13
- package/es/icon.js +5 -5
- package/es/image/hooks/use-image-drag.js +3 -1
- package/es/image/image-footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/image.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/image/index.d.ts +1 -1
- package/es/image/preview-action.js +3 -47
- package/es/image/preview-action.vue.d.ts +29 -0
- package/es/image/preview-action.vue_vue_type_script_setup_true_lang.js +55 -0
- package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-toolbar.vue.d.ts +2 -2
- package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/image/preview.vue_vue_type_script_setup_true_lang.js +33 -23
- package/es/index.css +248 -23
- package/es/index.d.ts +0 -2
- package/es/index.js +13 -14
- package/es/index.scss +0 -1
- package/es/input/index.d.ts +1770 -136
- package/es/input/index.js +1 -1
- package/es/input/input-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input/input-password.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/input/input-search.js +3 -140
- package/es/input/input-search.vue.d.ts +620 -0
- package/es/input/input-search.vue_vue_type_script_setup_true_lang.js +168 -0
- package/es/input/input.js +3 -487
- package/es/input/{input.d.ts → input.vue.d.ts} +42 -43
- package/es/input/input.vue_vue_type_script_setup_true_lang.js +377 -0
- package/es/input-mask/input-mask.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/input-mask/mask-engine.js +4 -4
- package/es/input-mask/presets.js +1 -1
- package/es/input-number/index.d.ts +1670 -106
- package/es/input-number/input-number.js +3 -529
- package/es/input-number/input-number.vue.d.ts +708 -0
- package/es/input-number/input-number.vue_vue_type_script_setup_true_lang.js +384 -0
- package/es/input-tag/index.d.ts +76 -92
- package/es/input-tag/input-tag.js +3 -672
- package/es/input-tag/{input-tag.d.ts → input-tag.vue.d.ts} +52 -49
- package/es/input-tag/input-tag.vue_vue_type_script_setup_true_lang.js +585 -0
- package/es/input-tag/utils.js +1 -1
- package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/utils.js +4 -4
- package/es/kv-list/index.d.ts +34 -34
- package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/kv-list/kv-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/index.d.ts +2619 -93
- package/es/list/index.js +2 -2
- package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list-item.js +3 -54
- package/es/list/list-item.vue.d.ts +22 -0
- package/es/list/list-item.vue_vue_type_script_setup_true_lang.js +58 -0
- package/es/list/list.js +3 -383
- package/es/list/list.vue.d.ts +980 -0
- package/es/list/list.vue_vue_type_script_setup_true_lang.js +326 -0
- package/es/mention/index.d.ts +3234 -58
- package/es/mention/mention.js +3 -437
- package/es/mention/mention.vue.d.ts +1210 -0
- package/es/mention/mention.vue_vue_type_script_setup_true_lang.js +376 -0
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +5 -4
- package/es/menu/hooks/use-level.js +2 -1
- package/es/menu/indent.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/menu/index.d.ts +3 -3
- package/es/menu/index.js +1 -1
- package/es/menu/item-group.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/menu/item.js +3 -127
- package/es/menu/{item.d.ts → item.vue.d.ts} +25 -4
- package/es/menu/item.vue_vue_type_script_setup_true_lang.js +147 -0
- package/es/menu/menu.js +3 -57
- package/es/menu/menu.vue.d.ts +66 -0
- package/es/menu/menu.vue_vue_type_script_setup_true_lang.js +78 -0
- package/es/menu/overflow-wrap.js +3 -97
- package/es/menu/overflow-wrap.vue.d.ts +3 -0
- package/es/menu/overflow-wrap.vue_vue_type_script_setup_true_lang.js +114 -0
- package/es/menu/sub-menu-inline.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/menu/sub-menu.js +3 -115
- package/es/menu/{sub-menu.d.ts → sub-menu.vue.d.ts} +27 -30
- package/es/menu/sub-menu.vue_vue_type_script_setup_true_lang.js +110 -0
- package/es/message/index.js +1 -1
- package/es/message/message-list.js +3 -45
- package/es/message/{message-list.d.ts → message-list.vue.d.ts} +9 -7
- package/es/message/message-list.vue_vue_type_script_setup_true_lang.js +64 -0
- package/es/message/message.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/modal/index.js +3 -3
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/model-selector/model-selector-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-dialog.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-empty.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-logo-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-logo.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-name.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-separator.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-shortcut.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/model-selector/model-selector-trigger-element.js +5 -0
- package/es/model-selector/model-selector-trigger-element.vue.d.ts +7 -0
- package/es/model-selector/model-selector-trigger-element.vue_vue_type_script_lang.js +18 -0
- package/es/model-selector/model-selector-trigger.vue_vue_type_script_setup_true_lang.js +4 -17
- package/es/model-selector/model-selector.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/notification/index.js +1 -1
- package/es/notification/notification-list.js +3 -58
- package/es/notification/notification-list.vue.d.ts +34 -0
- package/es/notification/notification-list.vue_vue_type_script_setup_true_lang.js +96 -0
- package/es/notification/notification.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/index.d.ts +45 -49
- package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-jumper.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/page-options.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/pagination/pagination.js +3 -463
- package/es/pagination/{pagination.d.ts → pagination.vue.d.ts} +42 -31
- package/es/pagination/pagination.vue_vue_type_script_setup_true_lang.js +454 -0
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/circle.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/progress.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/progress/steps.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/qr-code/index.d.ts +18 -33
- package/es/qr-code/qr-code.vue.d.ts +6 -11
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/radio/index.d.ts +111 -289
- package/es/radio/radio-group.js +3 -168
- package/es/radio/radio-group.vue.d.ts +45 -0
- package/es/radio/radio-group.vue_vue_type_script_setup_true_lang.js +129 -0
- package/es/radio/radio.js +3 -172
- package/es/radio/radio.vue.d.ts +40 -0
- package/es/radio/radio.vue_vue_type_script_setup_true_lang.js +152 -0
- package/es/rate/index.d.ts +17 -11
- package/es/rate/rate.js +3 -269
- package/es/rate/{rate.d.ts → rate.vue.d.ts} +18 -6
- package/es/rate/rate.vue_vue_type_script_setup_true_lang.js +220 -0
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +1 -3
- package/es/result/403.js +3 -481
- package/es/result/403.vue.d.ts +3 -0
- package/es/result/403.vue_vue_type_script_setup_true_lang.js +24 -0
- package/es/result/404.js +3 -335
- package/es/result/404.vue.d.ts +3 -0
- package/es/result/404.vue_vue_type_script_setup_true_lang.js +24 -0
- package/es/result/500.js +3 -344
- package/es/result/500.vue.d.ts +3 -0
- package/es/result/500.vue_vue_type_script_setup_true_lang.js +19 -0
- package/es/result/result.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/rich-text-editor/nodes/inline-component-node.js +1 -1
- package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/sd-vue.js +14 -16
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/select/hooks/use-options.js +1 -1
- package/es/select/index.d.ts +93 -2299
- package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/select/select.js +3 -684
- package/es/select/select.vue.d.ts +450 -0
- package/es/select/select.vue_vue_type_script_setup_true_lang.js +774 -0
- package/es/select/utils.js +1 -1
- package/es/selectable-card/selectable-card.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender-recording-icon.js +5 -0
- package/es/sender/sender-recording-icon.vue.d.ts +3 -0
- package/es/sender/sender-recording-icon.vue_vue_type_script_setup_true_lang.js +38 -0
- package/es/sender/sender-skill-tag.js +5 -0
- package/es/sender/sender-skill-tag.vue.d.ts +28 -0
- package/es/sender/sender-skill-tag.vue_vue_type_script_setup_true_lang.js +59 -0
- package/es/sender/sender-stop-loading-icon.js +5 -0
- package/es/sender/sender-stop-loading-icon.vue.d.ts +3 -0
- package/es/sender/sender-stop-loading-icon.vue_vue_type_script_setup_true_lang.js +54 -0
- package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +8 -109
- package/es/sender/use-recorder.js +2 -1
- package/es/skeleton/line.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/shape.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/skeleton/skeleton.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/slider/slider-dots.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-input.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-marks.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider-ticks.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/slider/utils.js +1 -2
- package/es/space/index.d.ts +26 -72
- package/es/space/space.js +3 -101
- package/es/space/space.vue.d.ts +22 -0
- package/es/space/space.vue_vue_type_script_setup_true_lang.js +84 -0
- package/es/spin/dot-loading.js +3 -28
- package/es/spin/dot-loading.vue.d.ts +6 -0
- package/es/spin/dot-loading.vue_vue_type_script_setup_true_lang.js +33 -0
- package/es/spin/index.d.ts +37 -60
- package/es/spin/spin.js +3 -153
- package/es/spin/spin.vue.d.ts +27 -0
- package/es/spin/spin.vue_vue_type_script_setup_true_lang.js +139 -0
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/statistic/utils.js +5 -5
- package/es/steps/step.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/style/theme/z-index.js +3 -3
- package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/table/hooks/use-row-selection.js +1 -1
- package/es/table/index.d.ts +449 -362
- package/es/table/index.js +1 -1
- package/es/table/table-column.js +3 -254
- package/es/table/table-column.vue.d.ts +75 -0
- package/es/table/table-column.vue_vue_type_script_setup_true_lang.js +194 -0
- package/es/table/table-operation-td.js +3 -130
- package/es/table/table-operation-td.vue.d.ts +87 -0
- package/es/table/table-operation-td.vue_vue_type_script_setup_true_lang.js +114 -0
- package/es/table/table-operation-th.js +3 -73
- package/es/table/{table-operation-th.d.ts → table-operation-th.vue.d.ts} +5 -4
- package/es/table/table-operation-th.vue_vue_type_script_setup_true_lang.js +86 -0
- package/es/table/table-tbody.js +3 -16
- package/es/table/table-tbody.vue.d.ts +14 -0
- package/es/table/table-tbody.vue_vue_type_script_setup_true_lang.js +23 -0
- package/es/table/table-td.js +3 -192
- package/es/table/{table-td.d.ts → table-td.vue.d.ts} +26 -12
- package/es/table/table-td.vue_vue_type_script_setup_true_lang.js +218 -0
- package/es/table/table-th.js +3 -225
- package/es/table/{table-th.d.ts → table-th.vue.d.ts} +17 -6
- package/es/table/table-th.vue_vue_type_script_setup_true_lang.js +268 -0
- package/es/table/table-thead.js +3 -16
- package/es/table/table-thead.vue.d.ts +14 -0
- package/es/table/table-thead.vue_vue_type_script_setup_true_lang.js +23 -0
- package/es/table/table-tr.js +3 -34
- package/es/table/table-tr.vue.d.ts +30 -0
- package/es/table/table-tr.vue_vue_type_script_setup_true_lang.js +48 -0
- package/es/table/table.js +3 -1637
- package/es/table/{table.d.ts → table.vue.d.ts} +41 -56
- package/es/table/table.vue_vue_type_script_setup_true_lang.js +1568 -0
- package/es/table/utils.js +1 -1
- package/es/tabs/index.d.ts +32 -33
- package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-button.js +3 -58
- package/es/tabs/{tabs-button.d.ts → tabs-button.vue.d.ts} +6 -3
- package/es/tabs/tabs-button.vue_vue_type_script_setup_true_lang.js +54 -0
- package/es/tabs/tabs-nav-ink.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs-nav.js +3 -297
- package/es/tabs/{tabs-nav.d.ts → tabs-nav.vue.d.ts} +23 -13
- package/es/tabs/tabs-nav.vue_vue_type_script_setup_true_lang.js +332 -0
- package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tabs/tabs.js +3 -325
- package/es/tabs/{tabs.d.ts → tabs.vue.d.ts} +25 -18
- package/es/tabs/tabs.vue_vue_type_script_setup_true_lang.js +237 -0
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/thinking-orb/engine/lattice.js +1 -1
- package/es/thinking-orb/engine/morph.js +1 -1
- package/es/thinking-orb/engine/profiles.js +1 -1
- package/es/thinking-orb/presets.js +1 -1
- package/es/thinking-orb/thinking-orb.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/hooks/use-time-state.js +4 -2
- package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/time-picker/range-panel.js +3 -56
- package/es/time-picker/range-panel.vue.d.ts +44 -0
- package/es/time-picker/range-panel.vue_vue_type_script_setup_true_lang.js +65 -0
- package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/timeline/context.d.ts +1 -0
- package/es/timeline/index.d.ts +36 -426
- package/es/timeline/item.vue.d.ts +3 -0
- package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +7 -5
- package/es/timeline/timeline.js +3 -109
- package/es/timeline/timeline.vue.d.ts +26 -0
- package/es/timeline/timeline.vue_vue_type_script_setup_true_lang.js +68 -0
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tooltip/index.d.ts +3 -0
- package/es/tooltip/interface.d.ts +1 -0
- package/es/tooltip/style/index.css +3 -0
- package/es/tooltip/style/index.scss +4 -0
- package/es/tooltip/tooltip.vue.d.ts +1 -0
- package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +6 -2
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +17 -15
- package/es/transfer/transfer-list-item.js +3 -74
- package/es/transfer/transfer-list-item.vue.d.ts +30 -0
- package/es/transfer/transfer-list-item.vue_vue_type_script_setup_true_lang.js +101 -0
- package/es/transfer/transfer-view.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/hooks/use-draggable.js +0 -2
- package/es/tree/node-switcher.js +2 -2
- package/es/tree/node-switcher.vue.d.ts +7 -43
- package/es/tree/node-switcher.vue_vue_type_script_setup_true_lang.js +85 -0
- package/es/tree/node.js +3 -20
- package/es/tree/node.vue.d.ts +15 -0
- package/es/tree/node.vue_vue_type_script_setup_true_lang.js +30 -0
- package/es/tree/transition-node-list.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +28 -30
- 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 +3 -71
- package/es/tree-select/panel.vue.d.ts +56 -0
- package/es/tree-select/panel.vue_vue_type_script_setup_true_lang.js +75 -0
- package/es/tree-select/tree-select.vue.d.ts +5 -2
- package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/trigger/index.d.ts +168 -506
- package/es/trigger/trigger.js +3 -833
- package/es/trigger/trigger.vue.d.ts +108 -0
- package/es/trigger/trigger.vue_vue_type_script_setup_true_lang.js +642 -0
- package/es/typography/base.js +3 -427
- package/es/typography/base.vue.d.ts +116 -0
- package/es/typography/base.vue_vue_type_script_setup_true_lang.js +314 -0
- package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/index.d.ts +108 -37
- package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/paragraph.js +3 -35
- package/es/typography/paragraph.vue.d.ts +33 -0
- package/es/typography/paragraph.vue_vue_type_script_setup_true_lang.js +42 -0
- package/es/typography/text.js +3 -22
- package/es/typography/text.vue.d.ts +27 -0
- package/es/typography/text.vue_vue_type_script_setup_true_lang.js +31 -0
- package/es/typography/title.js +3 -24
- package/es/typography/title.vue.d.ts +26 -0
- package/es/typography/title.vue_vue_type_script_setup_true_lang.js +33 -0
- package/es/typography/typography-content.js +5 -0
- package/es/typography/typography-content.vue.d.ts +9 -0
- package/es/typography/typography-content.vue_vue_type_script_setup_true_lang.js +47 -0
- package/es/typography/typography-operations.js +5 -0
- package/es/typography/typography-operations.vue.d.ts +22 -0
- package/es/typography/typography-operations.vue_vue_type_script_setup_true_lang.js +73 -0
- package/es/typography/typography.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/typography/utils/getInnerText.d.ts +1 -1
- package/es/typography/utils/getInnerText.js +4 -5
- package/es/typography/utils/inner-text-renderer.js +5 -0
- package/es/typography/utils/inner-text-renderer.vue.d.ts +7 -0
- package/es/typography/utils/inner-text-renderer.vue_vue_type_script_setup_true_lang.js +22 -0
- package/es/typography/utils/measure.d.ts +2 -3
- package/es/typography/utils/measure.js +8 -10
- package/es/upload/index.d.ts +74 -148
- package/es/upload/style/index.css +7 -9
- package/es/upload/style/index.scss +6 -6
- package/es/upload/upload-button.js +3 -137
- package/es/upload/{upload-button.d.ts → upload-button.vue.d.ts} +18 -11
- package/es/upload/upload-button.vue_vue_type_script_setup_true_lang.js +161 -0
- package/es/upload/upload-list-item.js +3 -120
- package/es/upload/{upload-list-item.d.ts → upload-list-item.vue.d.ts} +5 -4
- package/es/upload/upload-list-item.vue_vue_type_script_setup_true_lang.js +195 -0
- package/es/upload/upload-list.js +3 -46
- package/es/upload/upload-list.vue.d.ts +38 -0
- package/es/upload/upload-list.vue_vue_type_script_setup_true_lang.js +47 -0
- package/es/upload/upload-picture-item.js +3 -86
- package/es/upload/upload-picture-item.vue.d.ts +35 -0
- package/es/upload/upload-picture-item.vue_vue_type_script_setup_true_lang.js +147 -0
- package/es/upload/upload-progress.js +3 -73
- package/es/upload/{upload-progress.d.ts → upload-progress.vue.d.ts} +5 -4
- package/es/upload/upload-progress.vue_vue_type_script_setup_true_lang.js +75 -0
- package/es/upload/upload.js +3 -671
- package/es/upload/{upload.d.ts → upload.vue.d.ts} +50 -83
- package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +392 -0
- package/es/verification-code/index.d.ts +18 -24
- package/es/verification-code/verification-code.js +3 -216
- package/es/verification-code/{verification-code.d.ts → verification-code.vue.d.ts} +12 -15
- package/es/verification-code/verification-code.vue_vue_type_script_setup_true_lang.js +192 -0
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/index.d.ts +12 -8
- package/es/watermark/watermark.js +3 -292
- package/es/watermark/{watermark.d.ts → watermark.vue.d.ts} +13 -2
- package/es/watermark/watermark.vue_vue_type_script_setup_true_lang.js +303 -0
- package/json/vetur-attributes.json +70 -1356
- package/json/vetur-tags.json +86 -473
- package/json/web-types.json +2599 -5702
- package/package.json +14 -14
- package/es/_components/auto-tooltip/auto-tooltip.d.ts +0 -10
- package/es/_components/client-only.d.ts +0 -4
- package/es/_components/input-label/input-label.d.ts +0 -70
- package/es/_components/resize-observer.d.ts +0 -6
- package/es/_components/select-view/select-view.d.ts +0 -171
- package/es/auto-complete/auto-complete.d.ts +0 -146
- package/es/avatar/avatar-group.d.ts +0 -58
- package/es/badge/badge.d.ts +0 -67
- package/es/breadcrumb/breadcrumb-item.d.ts +0 -35
- package/es/breadcrumb/breadcrumb.d.ts +0 -34
- package/es/card/card-meta.d.ts +0 -18
- package/es/card/card.d.ts +0 -464
- package/es/checkbox/checkbox-group.d.ts +0 -62
- package/es/checkbox/checkbox.d.ts +0 -146
- package/es/checkbox/icon-check.d.ts +0 -2
- package/es/collapse/collapse-item.d.ts +0 -157
- package/es/color-picker/palette.d.ts +0 -16
- package/es/date-picker/pickers/month-picker.d.ts +0 -27
- package/es/date-picker/pickers/year-picker.d.ts +0 -27
- package/es/divider/divider.d.ts +0 -43
- package/es/empty/empty.d.ts +0 -20
- package/es/image/preview-action.d.ts +0 -73
- package/es/input/input-search.d.ts +0 -81
- package/es/input-number/input-number.d.ts +0 -178
- package/es/list/list-item.d.ts +0 -16
- package/es/list/list.d.ts +0 -127
- package/es/mention/mention.d.ts +0 -128
- package/es/menu/menu.d.ts +0 -455
- package/es/menu/overflow-wrap.d.ts +0 -2
- package/es/notification/notification-list.d.ts +0 -32
- package/es/overflow-list/index.d.ts +0 -81
- package/es/overflow-list/index.js +0 -10
- package/es/overflow-list/overflow-list.d.ts +0 -37
- package/es/overflow-list/overflow-list.js +0 -140
- package/es/overflow-list/style/css.js +0 -2
- package/es/overflow-list/style/index.css +0 -30
- package/es/overflow-list/style/index.d.ts +0 -2
- package/es/overflow-list/style/index.js +0 -2
- package/es/overflow-list/style/index.scss +0 -20
- package/es/radio/radio-group.d.ts +0 -72
- package/es/radio/radio.d.ts +0 -140
- package/es/result/403.d.ts +0 -2
- package/es/result/404.d.ts +0 -2
- package/es/result/500.d.ts +0 -2
- package/es/select/select.d.ts +0 -1533
- package/es/space/space.d.ts +0 -45
- package/es/spin/dot-loading.d.ts +0 -10
- package/es/spin/spin.d.ts +0 -37
- package/es/table/table-column.d.ts +0 -120
- package/es/table/table-operation-td.d.ts +0 -813
- package/es/table/table-tbody.d.ts +0 -4
- package/es/table/table-thead.d.ts +0 -4
- package/es/table/table-tr.d.ts +0 -41
- package/es/time-picker/range-panel.d.ts +0 -203
- package/es/timeline/timeline.d.ts +0 -226
- package/es/transfer/transfer-list-item.d.ts +0 -45
- package/es/tree/node-switcher.vue_vue_type_script_lang.js +0 -69
- package/es/tree/node.d.ts +0 -4
- package/es/tree-select/panel.d.ts +0 -14
- package/es/trigger/trigger.d.ts +0 -366
- package/es/typography/base.d.ts +0 -171
- package/es/typography/paragraph.d.ts +0 -27
- package/es/typography/text.d.ts +0 -18
- package/es/typography/title.d.ts +0 -17
- package/es/upload/upload-list.d.ts +0 -63
- package/es/upload/upload-picture-item.d.ts +0 -24
package/es/table/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { getComponentPrefix, setGlobalConfig } from "../_utils/global-config.js";
|
|
2
|
+
import table_column_default from "./table-column.js";
|
|
2
3
|
import table_tbody_default from "./table-tbody.js";
|
|
3
4
|
import table_td_default from "./table-td.js";
|
|
4
5
|
import table_th_default from "./table-th.js";
|
|
5
6
|
import table_thead_default from "./table-thead.js";
|
|
6
7
|
import table_tr_default from "./table-tr.js";
|
|
7
8
|
import table_default from "./table.js";
|
|
8
|
-
import table_column_default from "./table-column.js";
|
|
9
9
|
//#region components/table/index.ts
|
|
10
10
|
var Table = Object.assign(table_default, {
|
|
11
11
|
Thead: table_thead_default,
|
package/es/table/table-column.js
CHANGED
|
@@ -1,256 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { defineComponent, getCurrentInstance, inject, onBeforeUnmount, provide, reactive, ref, toRefs, watch } from "vue";
|
|
5
|
-
//#region components/table/table-column.tsx
|
|
6
|
-
var table_column_default = /* @__PURE__ */ defineComponent({
|
|
7
|
-
name: "TableColumn",
|
|
8
|
-
props: {
|
|
9
|
-
/**
|
|
10
|
-
* @zh 列信息的标识,对应TableData中的数据
|
|
11
|
-
* @en Identifies the column information, corresponding to the data in TableData
|
|
12
|
-
*/
|
|
13
|
-
dataIndex: String,
|
|
14
|
-
/**
|
|
15
|
-
* @zh 列标题
|
|
16
|
-
* @en Column title
|
|
17
|
-
*/
|
|
18
|
-
title: String,
|
|
19
|
-
/**
|
|
20
|
-
* @zh 列宽度
|
|
21
|
-
* @en Column width
|
|
22
|
-
*/
|
|
23
|
-
width: Number,
|
|
24
|
-
/**
|
|
25
|
-
* @zh 最小列宽
|
|
26
|
-
* @en Minimum column width
|
|
27
|
-
*/
|
|
28
|
-
minWidth: Number,
|
|
29
|
-
/**
|
|
30
|
-
* @zh 对齐方向
|
|
31
|
-
* @en Alignment direction
|
|
32
|
-
*/
|
|
33
|
-
align: { type: String },
|
|
34
|
-
/**
|
|
35
|
-
* @zh 固定位置
|
|
36
|
-
* @en Fixed position
|
|
37
|
-
*/
|
|
38
|
-
fixed: { type: String },
|
|
39
|
-
/**
|
|
40
|
-
* @zh 是否显示为省略
|
|
41
|
-
* @en Whether to display as omitted
|
|
42
|
-
*/
|
|
43
|
-
ellipsis: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: false
|
|
46
|
-
},
|
|
47
|
-
/**
|
|
48
|
-
* @zh 排序相关选项
|
|
49
|
-
* @en Sorting related options
|
|
50
|
-
*/
|
|
51
|
-
sortable: {
|
|
52
|
-
type: Object,
|
|
53
|
-
default: void 0
|
|
54
|
-
},
|
|
55
|
-
/**
|
|
56
|
-
* @zh 过滤相关选项
|
|
57
|
-
* @en Filter related options
|
|
58
|
-
*/
|
|
59
|
-
filterable: {
|
|
60
|
-
type: Object,
|
|
61
|
-
default: void 0
|
|
62
|
-
},
|
|
63
|
-
/**
|
|
64
|
-
* @zh 自定义单元格类名
|
|
65
|
-
* @en Custom cell class
|
|
66
|
-
* @version 2.36.0
|
|
67
|
-
*/
|
|
68
|
-
cellClass: { type: [
|
|
69
|
-
String,
|
|
70
|
-
Array,
|
|
71
|
-
Object
|
|
72
|
-
] },
|
|
73
|
-
/**
|
|
74
|
-
* @zh 自定义表头单元格类名
|
|
75
|
-
* @en Custom cell class
|
|
76
|
-
* @version 2.36.0
|
|
77
|
-
*/
|
|
78
|
-
headerCellClass: { type: [
|
|
79
|
-
String,
|
|
80
|
-
Array,
|
|
81
|
-
Object
|
|
82
|
-
] },
|
|
83
|
-
/**
|
|
84
|
-
* @zh 自定义内容单元格类名
|
|
85
|
-
* @en Custom cell class
|
|
86
|
-
* @version 2.36.0
|
|
87
|
-
*/
|
|
88
|
-
bodyCellClass: { type: [
|
|
89
|
-
String,
|
|
90
|
-
Array,
|
|
91
|
-
Object,
|
|
92
|
-
Function
|
|
93
|
-
] },
|
|
94
|
-
/**
|
|
95
|
-
* @zh 自定义总结栏单元格类名
|
|
96
|
-
* @en Customize summary column cell class
|
|
97
|
-
* @version 2.36.0
|
|
98
|
-
*/
|
|
99
|
-
summaryCellClass: { type: [
|
|
100
|
-
String,
|
|
101
|
-
Array,
|
|
102
|
-
Object,
|
|
103
|
-
Function
|
|
104
|
-
] },
|
|
105
|
-
/**
|
|
106
|
-
* @zh 自定义单元格样式
|
|
107
|
-
* @en Custom cell style
|
|
108
|
-
* @version 2.11.0
|
|
109
|
-
*/
|
|
110
|
-
cellStyle: { type: Object },
|
|
111
|
-
/**
|
|
112
|
-
* @zh 自定义表头单元格样式
|
|
113
|
-
* @en Custom cell style
|
|
114
|
-
* @version 2.29.0
|
|
115
|
-
*/
|
|
116
|
-
headerCellStyle: { type: Object },
|
|
117
|
-
/**
|
|
118
|
-
* @zh 自定义内容单元格样式
|
|
119
|
-
* @en Custom cell style
|
|
120
|
-
* @version 2.29.0
|
|
121
|
-
*/
|
|
122
|
-
bodyCellStyle: { type: [Object, Function] },
|
|
123
|
-
/**
|
|
124
|
-
* @zh 自定义总结栏单元格样式
|
|
125
|
-
* @en Customize summary column cell style
|
|
126
|
-
* @version 2.30.0
|
|
127
|
-
*/
|
|
128
|
-
summaryCellStyle: { type: [Object, Function] },
|
|
129
|
-
/**
|
|
130
|
-
* @zh 用于手动指定选项的 index。2.26.0 版本后不再需要手动指定
|
|
131
|
-
* @en index for manually specifying option. Manual specification is no longer required after version 2.26.0
|
|
132
|
-
* @version 2.20.2
|
|
133
|
-
*/
|
|
134
|
-
index: { type: Number },
|
|
135
|
-
/**
|
|
136
|
-
* @zh 在省略时是否显示文字提示
|
|
137
|
-
* @en Whether to show text hints when omitted
|
|
138
|
-
* @version 2.26.0
|
|
139
|
-
*/
|
|
140
|
-
tooltip: {
|
|
141
|
-
type: [Boolean, Object],
|
|
142
|
-
default: false
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
/**
|
|
146
|
-
* @zh 单元格
|
|
147
|
-
* @en Cell
|
|
148
|
-
* @slot cell
|
|
149
|
-
* @binding {TableData} record
|
|
150
|
-
* @binding {TableColumnData} column
|
|
151
|
-
* @binding {number} rowIndex
|
|
152
|
-
*/
|
|
153
|
-
/**
|
|
154
|
-
* @zh 标题
|
|
155
|
-
* @en Title
|
|
156
|
-
* @slot title
|
|
157
|
-
*/
|
|
158
|
-
/**
|
|
159
|
-
* @zh 自定义筛选弹出框内容
|
|
160
|
-
* @en Title
|
|
161
|
-
* @slot filter-content
|
|
162
|
-
* @binding {string[]} filterValue
|
|
163
|
-
* @binding {(filterValue: string[]) => void} setFilterValue
|
|
164
|
-
* @binding {(event: Event) => void} handleFilterConfirm
|
|
165
|
-
* @binding {(event: Event) => void} handleFilterReset
|
|
166
|
-
* @version 2.23.0
|
|
167
|
-
*/
|
|
168
|
-
/**
|
|
169
|
-
* @zh 筛选按钮图标
|
|
170
|
-
* @en Title
|
|
171
|
-
* @slot filter-icon
|
|
172
|
-
* @version 2.23.0
|
|
173
|
-
*/
|
|
174
|
-
setup(props, { slots }) {
|
|
175
|
-
const { dataIndex, title, width, align, fixed, ellipsis, index, minWidth } = toRefs(props);
|
|
176
|
-
const sortable = usePureProp(props, "sortable");
|
|
177
|
-
const filterable = usePureProp(props, "filterable");
|
|
178
|
-
const cellClass = usePureProp(props, "cellClass");
|
|
179
|
-
const headerCellClass = usePureProp(props, "headerCellClass");
|
|
180
|
-
const bodyCellClass = usePureProp(props, "bodyCellClass");
|
|
181
|
-
const summaryCellClass = usePureProp(props, "summaryCellClass");
|
|
182
|
-
const cellStyle = usePureProp(props, "cellStyle");
|
|
183
|
-
const headerCellStyle = usePureProp(props, "headerCellStyle");
|
|
184
|
-
const bodyCellStyle = usePureProp(props, "bodyCellStyle");
|
|
185
|
-
const summaryCellStyle = usePureProp(props, "summaryCellStyle");
|
|
186
|
-
const tooltip = usePureProp(props, "tooltip");
|
|
187
|
-
const instance = getCurrentInstance();
|
|
188
|
-
const tableCtx = inject(tableInjectionKey, {});
|
|
189
|
-
const tableColumnCtx = inject(tableColumnInjectionKey, void 0);
|
|
190
|
-
const { children, components } = useChildrenComponents("TableColumn");
|
|
191
|
-
const childrenColumnMap = reactive(/* @__PURE__ */ new Map());
|
|
192
|
-
const addChild = (id, data) => {
|
|
193
|
-
childrenColumnMap.set(id, data);
|
|
194
|
-
};
|
|
195
|
-
const removeChild = (id) => {
|
|
196
|
-
childrenColumnMap.delete(id);
|
|
197
|
-
};
|
|
198
|
-
provide(tableColumnInjectionKey, {
|
|
199
|
-
addChild,
|
|
200
|
-
removeChild
|
|
201
|
-
});
|
|
202
|
-
const childrenColumns = ref();
|
|
203
|
-
watch([components, childrenColumnMap], ([components, childrenColumnMap]) => {
|
|
204
|
-
if (components.length > 0) {
|
|
205
|
-
const columns = [];
|
|
206
|
-
components.forEach((id) => {
|
|
207
|
-
const column = childrenColumnMap.get(id);
|
|
208
|
-
if (column) columns.push(column);
|
|
209
|
-
});
|
|
210
|
-
childrenColumns.value = columns;
|
|
211
|
-
} else childrenColumns.value = void 0;
|
|
212
|
-
});
|
|
213
|
-
const column = reactive({
|
|
214
|
-
dataIndex,
|
|
215
|
-
title,
|
|
216
|
-
width,
|
|
217
|
-
minWidth,
|
|
218
|
-
align,
|
|
219
|
-
fixed,
|
|
220
|
-
ellipsis,
|
|
221
|
-
sortable,
|
|
222
|
-
filterable,
|
|
223
|
-
cellClass,
|
|
224
|
-
headerCellClass,
|
|
225
|
-
bodyCellClass,
|
|
226
|
-
summaryCellClass,
|
|
227
|
-
cellStyle,
|
|
228
|
-
headerCellStyle,
|
|
229
|
-
bodyCellStyle,
|
|
230
|
-
summaryCellStyle,
|
|
231
|
-
index,
|
|
232
|
-
tooltip,
|
|
233
|
-
children: childrenColumns,
|
|
234
|
-
slots
|
|
235
|
-
});
|
|
236
|
-
if (instance) if (tableColumnCtx) tableColumnCtx.addChild(instance.uid, column);
|
|
237
|
-
else {
|
|
238
|
-
var _tableCtx$addColumn;
|
|
239
|
-
(_tableCtx$addColumn = tableCtx.addColumn) === null || _tableCtx$addColumn === void 0 || _tableCtx$addColumn.call(tableCtx, instance.uid, column);
|
|
240
|
-
}
|
|
241
|
-
onBeforeUnmount(() => {
|
|
242
|
-
if (instance) if (tableColumnCtx) tableColumnCtx.removeChild(instance.uid);
|
|
243
|
-
else {
|
|
244
|
-
var _tableCtx$removeColum;
|
|
245
|
-
(_tableCtx$removeColum = tableCtx.removeColumn) === null || _tableCtx$removeColum === void 0 || _tableCtx$removeColum.call(tableCtx, instance.uid);
|
|
246
|
-
}
|
|
247
|
-
});
|
|
248
|
-
return () => {
|
|
249
|
-
var _slots$default;
|
|
250
|
-
children.value = (_slots$default = slots.default) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots);
|
|
251
|
-
return children.value;
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
});
|
|
1
|
+
import table_column_vue_vue_type_script_setup_true_lang_default from "./table-column.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
//#region components/table/table-column.vue
|
|
3
|
+
var table_column_default = table_column_vue_vue_type_script_setup_true_lang_default;
|
|
255
4
|
//#endregion
|
|
256
5
|
export { table_column_default as default };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { type CSSProperties, type PropType } from 'vue';
|
|
2
|
+
import type { ClassName } from '../_utils/types';
|
|
3
|
+
import type { TableColumnData, TableData, TableFilterable, TableSortable } from './interface';
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
dataIndex: StringConstructor;
|
|
6
|
+
title: StringConstructor;
|
|
7
|
+
width: NumberConstructor;
|
|
8
|
+
minWidth: NumberConstructor;
|
|
9
|
+
align: PropType<TableColumnData["align"]>;
|
|
10
|
+
fixed: PropType<TableColumnData["fixed"]>;
|
|
11
|
+
ellipsis: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
sortable: {
|
|
16
|
+
type: PropType<TableSortable>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
filterable: {
|
|
20
|
+
type: PropType<TableFilterable>;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
cellClass: PropType<ClassName>;
|
|
24
|
+
headerCellClass: PropType<ClassName>;
|
|
25
|
+
bodyCellClass: PropType<ClassName | ((record: TableData) => ClassName)>;
|
|
26
|
+
summaryCellClass: PropType<ClassName | ((record: TableData) => ClassName)>;
|
|
27
|
+
cellStyle: PropType<CSSProperties>;
|
|
28
|
+
headerCellStyle: PropType<CSSProperties>;
|
|
29
|
+
bodyCellStyle: PropType<CSSProperties | ((record: TableData) => CSSProperties)>;
|
|
30
|
+
summaryCellStyle: PropType<CSSProperties | ((record: TableData) => CSSProperties)>;
|
|
31
|
+
index: NumberConstructor;
|
|
32
|
+
tooltip: {
|
|
33
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
dataIndex: StringConstructor;
|
|
38
|
+
title: StringConstructor;
|
|
39
|
+
width: NumberConstructor;
|
|
40
|
+
minWidth: NumberConstructor;
|
|
41
|
+
align: PropType<TableColumnData["align"]>;
|
|
42
|
+
fixed: PropType<TableColumnData["fixed"]>;
|
|
43
|
+
ellipsis: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
sortable: {
|
|
48
|
+
type: PropType<TableSortable>;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
filterable: {
|
|
52
|
+
type: PropType<TableFilterable>;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
cellClass: PropType<ClassName>;
|
|
56
|
+
headerCellClass: PropType<ClassName>;
|
|
57
|
+
bodyCellClass: PropType<ClassName | ((record: TableData) => ClassName)>;
|
|
58
|
+
summaryCellClass: PropType<ClassName | ((record: TableData) => ClassName)>;
|
|
59
|
+
cellStyle: PropType<CSSProperties>;
|
|
60
|
+
headerCellStyle: PropType<CSSProperties>;
|
|
61
|
+
bodyCellStyle: PropType<CSSProperties | ((record: TableData) => CSSProperties)>;
|
|
62
|
+
summaryCellStyle: PropType<CSSProperties | ((record: TableData) => CSSProperties)>;
|
|
63
|
+
index: NumberConstructor;
|
|
64
|
+
tooltip: {
|
|
65
|
+
type: (ObjectConstructor | BooleanConstructor)[];
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{}>, {
|
|
69
|
+
ellipsis: boolean;
|
|
70
|
+
tooltip: boolean | Record<string, any>;
|
|
71
|
+
filterable: TableFilterable;
|
|
72
|
+
sortable: TableSortable;
|
|
73
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
declare const _default: typeof __VLS_export;
|
|
75
|
+
export default _default;
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import { useChildrenComponents } from "../_hooks/use-children-components.js";
|
|
3
|
+
import { usePureProp } from "../_hooks/use-pure-prop.js";
|
|
4
|
+
import { tableColumnInjectionKey, tableInjectionKey } from "./context.js";
|
|
5
|
+
import { createBlock, defineComponent, getCurrentInstance, inject, onBeforeUnmount, openBlock, provide, reactive, ref, toRefs, useSlots, watch } from "vue";
|
|
6
|
+
//#region components/table/table-column.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var table_column_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
8
|
+
name: "TableColumn",
|
|
9
|
+
inheritAttrs: false
|
|
10
|
+
}), {}, {
|
|
11
|
+
__name: "table-column",
|
|
12
|
+
props: {
|
|
13
|
+
/**
|
|
14
|
+
* @zh 列信息的标识,对应TableData中的数据
|
|
15
|
+
* @en Identifies the column information, corresponding to the data in TableData
|
|
16
|
+
*/
|
|
17
|
+
dataIndex: String,
|
|
18
|
+
/** @zh 列标题 @en Column title */
|
|
19
|
+
title: String,
|
|
20
|
+
/** @zh 列宽度 @en Column width */
|
|
21
|
+
width: Number,
|
|
22
|
+
/** @zh 最小列宽 @en Minimum column width */
|
|
23
|
+
minWidth: Number,
|
|
24
|
+
/** @zh 对齐方向 @en Alignment direction */
|
|
25
|
+
align: String,
|
|
26
|
+
/** @zh 固定位置 @en Fixed position */
|
|
27
|
+
fixed: String,
|
|
28
|
+
/** @zh 是否显示为省略 @en Whether to display as omitted */
|
|
29
|
+
ellipsis: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: false
|
|
32
|
+
},
|
|
33
|
+
/** @zh 排序相关选项 @en Sorting related options */
|
|
34
|
+
sortable: {
|
|
35
|
+
type: Object,
|
|
36
|
+
default: void 0
|
|
37
|
+
},
|
|
38
|
+
/** @zh 过滤相关选项 @en Filter related options */
|
|
39
|
+
filterable: {
|
|
40
|
+
type: Object,
|
|
41
|
+
default: void 0
|
|
42
|
+
},
|
|
43
|
+
/** @zh 自定义单元格类名 @en Custom cell class @version 2.36.0 */
|
|
44
|
+
cellClass: [
|
|
45
|
+
String,
|
|
46
|
+
Array,
|
|
47
|
+
Object
|
|
48
|
+
],
|
|
49
|
+
/** @zh 自定义表头单元格类名 @en Custom header cell class @version 2.36.0 */
|
|
50
|
+
headerCellClass: [
|
|
51
|
+
String,
|
|
52
|
+
Array,
|
|
53
|
+
Object
|
|
54
|
+
],
|
|
55
|
+
/** @zh 自定义内容单元格类名 @en Custom body cell class @version 2.36.0 */
|
|
56
|
+
bodyCellClass: [
|
|
57
|
+
String,
|
|
58
|
+
Array,
|
|
59
|
+
Object,
|
|
60
|
+
Function
|
|
61
|
+
],
|
|
62
|
+
/** @zh 自定义总结栏单元格类名 @en Custom summary cell class @version 2.36.0 */
|
|
63
|
+
summaryCellClass: [
|
|
64
|
+
String,
|
|
65
|
+
Array,
|
|
66
|
+
Object,
|
|
67
|
+
Function
|
|
68
|
+
],
|
|
69
|
+
/** @zh 自定义单元格样式 @en Custom cell style @version 2.11.0 */
|
|
70
|
+
cellStyle: Object,
|
|
71
|
+
/** @zh 自定义表头单元格样式 @en Custom header cell style @version 2.29.0 */
|
|
72
|
+
headerCellStyle: Object,
|
|
73
|
+
/** @zh 自定义内容单元格样式 @en Custom body cell style @version 2.29.0 */
|
|
74
|
+
bodyCellStyle: [Object, Function],
|
|
75
|
+
/** @zh 自定义总结栏单元格样式 @en Custom summary cell style @version 2.30.0 */
|
|
76
|
+
summaryCellStyle: [Object, Function],
|
|
77
|
+
/**
|
|
78
|
+
* @zh 用于手动指定选项的 index。2.26.0 版本后不再需要手动指定
|
|
79
|
+
* @en Index for manually specifying option
|
|
80
|
+
* @version 2.20.2
|
|
81
|
+
*/
|
|
82
|
+
index: Number,
|
|
83
|
+
/** @zh 在省略时是否显示文字提示 @en Whether to show text hints when omitted @version 2.26.0 */
|
|
84
|
+
tooltip: {
|
|
85
|
+
type: [Boolean, Object],
|
|
86
|
+
default: false
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
setup(__props) {
|
|
90
|
+
const props = __props;
|
|
91
|
+
/**
|
|
92
|
+
* @zh 单元格
|
|
93
|
+
* @en Cell
|
|
94
|
+
* @slot cell
|
|
95
|
+
* @binding {TableData} record
|
|
96
|
+
* @binding {TableColumnData} column
|
|
97
|
+
* @binding {number} rowIndex
|
|
98
|
+
*/
|
|
99
|
+
/** @zh 标题 @en Title @slot title */
|
|
100
|
+
/**
|
|
101
|
+
* @zh 自定义筛选弹出框内容
|
|
102
|
+
* @en Custom filter popup content
|
|
103
|
+
* @slot filter-content
|
|
104
|
+
* @version 2.23.0
|
|
105
|
+
*/
|
|
106
|
+
/** @zh 筛选按钮图标 @en Filter button icon @slot filter-icon @version 2.23.0 */
|
|
107
|
+
const slots = useSlots();
|
|
108
|
+
const VNodeRenderer = ({ content }) => content;
|
|
109
|
+
const { dataIndex, title, width, align, fixed, ellipsis, index, minWidth } = toRefs(props);
|
|
110
|
+
const sortable = usePureProp(props, "sortable");
|
|
111
|
+
const filterable = usePureProp(props, "filterable");
|
|
112
|
+
const cellClass = usePureProp(props, "cellClass");
|
|
113
|
+
const headerCellClass = usePureProp(props, "headerCellClass");
|
|
114
|
+
const bodyCellClass = usePureProp(props, "bodyCellClass");
|
|
115
|
+
const summaryCellClass = usePureProp(props, "summaryCellClass");
|
|
116
|
+
const cellStyle = usePureProp(props, "cellStyle");
|
|
117
|
+
const headerCellStyle = usePureProp(props, "headerCellStyle");
|
|
118
|
+
const bodyCellStyle = usePureProp(props, "bodyCellStyle");
|
|
119
|
+
const summaryCellStyle = usePureProp(props, "summaryCellStyle");
|
|
120
|
+
const tooltip = usePureProp(props, "tooltip");
|
|
121
|
+
const instance = getCurrentInstance();
|
|
122
|
+
const tableCtx = inject(tableInjectionKey, {});
|
|
123
|
+
const tableColumnCtx = inject(tableColumnInjectionKey, void 0);
|
|
124
|
+
const { children, components } = useChildrenComponents("TableColumn");
|
|
125
|
+
const childrenColumnMap = reactive(/* @__PURE__ */ new Map());
|
|
126
|
+
function addChild(id, data) {
|
|
127
|
+
childrenColumnMap.set(id, data);
|
|
128
|
+
}
|
|
129
|
+
function removeChild(id) {
|
|
130
|
+
childrenColumnMap.delete(id);
|
|
131
|
+
}
|
|
132
|
+
provide(tableColumnInjectionKey, {
|
|
133
|
+
addChild,
|
|
134
|
+
removeChild
|
|
135
|
+
});
|
|
136
|
+
const childrenColumns = ref();
|
|
137
|
+
watch([components, childrenColumnMap], ([componentIds, columnMap]) => {
|
|
138
|
+
if (componentIds.length > 0) {
|
|
139
|
+
const columns = [];
|
|
140
|
+
componentIds.forEach((id) => {
|
|
141
|
+
const column = columnMap.get(id);
|
|
142
|
+
if (column) columns.push(column);
|
|
143
|
+
});
|
|
144
|
+
childrenColumns.value = columns;
|
|
145
|
+
} else childrenColumns.value = void 0;
|
|
146
|
+
});
|
|
147
|
+
const column = reactive({
|
|
148
|
+
dataIndex,
|
|
149
|
+
title,
|
|
150
|
+
width,
|
|
151
|
+
minWidth,
|
|
152
|
+
align,
|
|
153
|
+
fixed,
|
|
154
|
+
ellipsis,
|
|
155
|
+
sortable,
|
|
156
|
+
filterable,
|
|
157
|
+
cellClass,
|
|
158
|
+
headerCellClass,
|
|
159
|
+
bodyCellClass,
|
|
160
|
+
summaryCellClass,
|
|
161
|
+
cellStyle,
|
|
162
|
+
headerCellStyle,
|
|
163
|
+
bodyCellStyle,
|
|
164
|
+
summaryCellStyle,
|
|
165
|
+
index,
|
|
166
|
+
tooltip,
|
|
167
|
+
children: childrenColumns,
|
|
168
|
+
slots
|
|
169
|
+
});
|
|
170
|
+
if (instance) if (tableColumnCtx) tableColumnCtx.addChild(instance.uid, column);
|
|
171
|
+
else {
|
|
172
|
+
var _tableCtx$addColumn;
|
|
173
|
+
(_tableCtx$addColumn = tableCtx.addColumn) === null || _tableCtx$addColumn === void 0 || _tableCtx$addColumn.call(tableCtx, instance.uid, column);
|
|
174
|
+
}
|
|
175
|
+
onBeforeUnmount(() => {
|
|
176
|
+
if (!instance) return;
|
|
177
|
+
if (tableColumnCtx) tableColumnCtx.removeChild(instance.uid);
|
|
178
|
+
else {
|
|
179
|
+
var _tableCtx$removeColum;
|
|
180
|
+
(_tableCtx$removeColum = tableCtx.removeColumn) === null || _tableCtx$removeColum === void 0 || _tableCtx$removeColum.call(tableCtx, instance.uid);
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
function getChildren() {
|
|
184
|
+
var _slots$default;
|
|
185
|
+
children.value = (_slots$default = slots.default) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots);
|
|
186
|
+
return children.value;
|
|
187
|
+
}
|
|
188
|
+
return (_ctx, _cache) => {
|
|
189
|
+
return openBlock(), createBlock(VNodeRenderer, { content: getChildren() }, null, 8, ["content"]);
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
}));
|
|
193
|
+
//#endregion
|
|
194
|
+
export { table_column_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,132 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import IconPlus from "../icon/icon-plus/index.js";
|
|
5
|
-
import Checkbox from "../checkbox/index.js";
|
|
6
|
-
import { tableInjectionKey } from "./context.js";
|
|
7
|
-
import { getGridSpanStyle, getLeafKeys, getOperationFixedCls, getOperationStyle, getSelectionStatus } from "./utils.js";
|
|
8
|
-
import IconDragDotVertical from "../icon/icon-drag-dot-vertical/index.js";
|
|
9
|
-
import Radio from "../radio/index.js";
|
|
10
|
-
import { computed, createVNode, defineComponent, inject } from "vue";
|
|
11
|
-
//#region components/table/table-operation-td.tsx
|
|
12
|
-
var table_operation_td_default = /* @__PURE__ */ defineComponent({
|
|
13
|
-
name: "OperationTd",
|
|
14
|
-
components: {
|
|
15
|
-
Checkbox,
|
|
16
|
-
Radio,
|
|
17
|
-
IconPlus,
|
|
18
|
-
IconMinus
|
|
19
|
-
},
|
|
20
|
-
props: {
|
|
21
|
-
operationColumn: {
|
|
22
|
-
type: Object,
|
|
23
|
-
required: true
|
|
24
|
-
},
|
|
25
|
-
operations: {
|
|
26
|
-
type: Array,
|
|
27
|
-
required: true
|
|
28
|
-
},
|
|
29
|
-
record: {
|
|
30
|
-
type: Object,
|
|
31
|
-
required: true
|
|
32
|
-
},
|
|
33
|
-
hasExpand: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: false
|
|
36
|
-
},
|
|
37
|
-
selectedRowKeys: { type: Array },
|
|
38
|
-
renderExpandBtn: { type: Function },
|
|
39
|
-
colSpan: {
|
|
40
|
-
type: Number,
|
|
41
|
-
default: 1
|
|
42
|
-
},
|
|
43
|
-
rowSpan: {
|
|
44
|
-
type: Number,
|
|
45
|
-
default: 1
|
|
46
|
-
},
|
|
47
|
-
summary: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: false
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
emits: ["select"],
|
|
53
|
-
setup(props, { slots }) {
|
|
54
|
-
const prefixCls = getPrefixCls("table");
|
|
55
|
-
const tableCtx = inject(tableInjectionKey, {});
|
|
56
|
-
const style = computed(() => _objectSpread2(_objectSpread2({}, getOperationStyle(props.operationColumn, props.operations)), getGridSpanStyle(props.rowSpan, props.colSpan)));
|
|
57
|
-
const cls = computed(() => [
|
|
58
|
-
`${prefixCls}-td`,
|
|
59
|
-
`${prefixCls}-operation`,
|
|
60
|
-
{
|
|
61
|
-
[`${prefixCls}-checkbox`]: props.operationColumn.name === "selection-checkbox",
|
|
62
|
-
[`${prefixCls}-radio`]: props.operationColumn.name === "selection-radio",
|
|
63
|
-
[`${prefixCls}-expand`]: props.operationColumn.name === "expand",
|
|
64
|
-
[`${prefixCls}-drag-handle`]: props.operationColumn.name === "drag-handle"
|
|
65
|
-
},
|
|
66
|
-
...getOperationFixedCls(prefixCls, props.operationColumn)
|
|
67
|
-
]);
|
|
68
|
-
const leafKeys = computed(() => getLeafKeys(props.record));
|
|
69
|
-
const selectionStatus = computed(() => {
|
|
70
|
-
var _tableCtx$currentSele;
|
|
71
|
-
return getSelectionStatus((_tableCtx$currentSele = tableCtx.currentSelectedRowKeys) !== null && _tableCtx$currentSele !== void 0 ? _tableCtx$currentSele : [], leafKeys.value);
|
|
72
|
-
});
|
|
73
|
-
const renderContent = () => {
|
|
74
|
-
if (props.summary) return null;
|
|
75
|
-
if (props.operationColumn.render) return props.operationColumn.render(props.record.raw);
|
|
76
|
-
if (props.operationColumn.name === "selection-checkbox") {
|
|
77
|
-
var _props$selectedRowKey, _props$selectedRowKey2;
|
|
78
|
-
const value = props.record.key;
|
|
79
|
-
if (!tableCtx.checkStrictly && !props.record.isLeaf) return createVNode(Checkbox, {
|
|
80
|
-
"modelValue": selectionStatus.value.checked,
|
|
81
|
-
"indeterminate": selectionStatus.value.indeterminate,
|
|
82
|
-
"disabled": Boolean(props.record.disabled),
|
|
83
|
-
"uninjectGroupContext": true,
|
|
84
|
-
"onChange": (checked) => {
|
|
85
|
-
var _tableCtx$onSelectAll;
|
|
86
|
-
return (_tableCtx$onSelectAll = tableCtx.onSelectAllLeafs) === null || _tableCtx$onSelectAll === void 0 ? void 0 : _tableCtx$onSelectAll.call(tableCtx, props.record, checked);
|
|
87
|
-
},
|
|
88
|
-
"onClick": (ev) => ev.stopPropagation()
|
|
89
|
-
}, null);
|
|
90
|
-
return createVNode(Checkbox, {
|
|
91
|
-
"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
|
-
"disabled": Boolean(props.record.disabled),
|
|
93
|
-
"uninjectGroupContext": true,
|
|
94
|
-
"onChange": (checked) => {
|
|
95
|
-
var _tableCtx$onSelect;
|
|
96
|
-
return (_tableCtx$onSelect = tableCtx.onSelect) === null || _tableCtx$onSelect === void 0 ? void 0 : _tableCtx$onSelect.call(tableCtx, checked, props.record);
|
|
97
|
-
},
|
|
98
|
-
"onClick": (ev) => ev.stopPropagation()
|
|
99
|
-
}, null);
|
|
100
|
-
}
|
|
101
|
-
if (props.operationColumn.name === "selection-radio") {
|
|
102
|
-
var _props$selectedRowKey3, _props$selectedRowKey4;
|
|
103
|
-
const value = props.record.key;
|
|
104
|
-
return createVNode(Radio, {
|
|
105
|
-
"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
|
-
"disabled": Boolean(props.record.disabled),
|
|
107
|
-
"uninjectGroupContext": true,
|
|
108
|
-
"onChange": (checked) => {
|
|
109
|
-
var _tableCtx$onSelect2;
|
|
110
|
-
return (_tableCtx$onSelect2 = tableCtx.onSelect) === null || _tableCtx$onSelect2 === void 0 ? void 0 : _tableCtx$onSelect2.call(tableCtx, checked, props.record);
|
|
111
|
-
},
|
|
112
|
-
"onClick": (ev) => ev.stopPropagation()
|
|
113
|
-
}, null);
|
|
114
|
-
}
|
|
115
|
-
if (props.operationColumn.name === "expand") {
|
|
116
|
-
if (props.hasExpand && props.renderExpandBtn) return props.renderExpandBtn(props.record);
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
if (props.operationColumn.name === "drag-handle") {
|
|
120
|
-
var _slots$dragHandleIc, _slots$dragHandleIc2;
|
|
121
|
-
return (_slots$dragHandleIc = (_slots$dragHandleIc2 = slots["drag-handle-icon"]) === null || _slots$dragHandleIc2 === void 0 ? void 0 : _slots$dragHandleIc2.call(slots)) !== null && _slots$dragHandleIc !== void 0 ? _slots$dragHandleIc : createVNode(IconDragDotVertical, null, null);
|
|
122
|
-
}
|
|
123
|
-
return null;
|
|
124
|
-
};
|
|
125
|
-
return () => createVNode("div", {
|
|
126
|
-
"class": cls.value,
|
|
127
|
-
"style": style.value
|
|
128
|
-
}, [createVNode("span", { "class": `${prefixCls}-cell` }, [renderContent()])]);
|
|
129
|
-
}
|
|
130
|
-
});
|
|
1
|
+
import table_operation_td_vue_vue_type_script_setup_true_lang_default from "./table-operation-td.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
//#region components/table/table-operation-td.vue
|
|
3
|
+
var table_operation_td_default = table_operation_td_vue_vue_type_script_setup_true_lang_default;
|
|
131
4
|
//#endregion
|
|
132
5
|
export { table_operation_td_default as default };
|