@sdata/web-vue 3.30.0 → 4.1.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 +319 -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 +36 -0
- package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +112 -0
- package/es/badge/index.d.ts +39 -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/components.d.ts +2 -0
- 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 +319 -23
- package/es/index.d.ts +2 -2
- package/es/index.js +16 -14
- package/es/index.scss +1 -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/number-flow/continuous.d.ts +2 -0
- package/es/number-flow/continuous.js +7 -0
- package/es/number-flow/formatter.d.ts +15 -0
- package/es/number-flow/formatter.js +54 -0
- package/es/number-flow/group-key.d.ts +11 -0
- package/es/number-flow/group-key.js +4 -0
- package/es/number-flow/index.d.ts +63 -0
- package/es/number-flow/index.js +15 -0
- package/es/number-flow/number-flow-group.js +5 -0
- package/es/number-flow/number-flow-group.vue.d.ts +12 -0
- package/es/number-flow/number-flow-group.vue_vue_type_script_setup_true_lang.js +58 -0
- package/es/number-flow/number-flow.js +5 -0
- package/es/number-flow/number-flow.vue.d.ts +20 -0
- package/es/number-flow/number-flow.vue_vue_type_script_setup_true_lang.js +284 -0
- package/es/number-flow/style/index.css +85 -0
- package/es/number-flow/style/index.scss +93 -0
- package/es/number-flow/style/token.scss +5 -0
- package/es/number-flow/types.d.ts +46 -0
- package/es/number-flow/use-can-animate.d.ts +4 -0
- package/es/number-flow/use-can-animate.js +30 -0
- 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/index.d.ts +3 -3
- package/es/rich-text-editor/nodes/inline-component-node.js +1 -1
- package/es/rich-text-editor/rich-text-editor.vue.d.ts +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 +17 -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.d.ts +9 -0
- package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +30 -3
- package/es/statistic/index.d.ts +15 -0
- package/es/statistic/statistic.vue.d.ts +3 -3
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +32 -63
- package/es/statistic/style/index.css +3 -0
- package/es/statistic/style/index.scss +5 -0
- 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 +74 -1352
- package/json/vetur-tags.json +94 -473
- package/json/web-types.json +2615 -5690
- 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/index.css +0 -30
- 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/{overflow-list → number-flow}/style/css.js +0 -0
- /package/es/{overflow-list → number-flow}/style/index.d.ts +0 -0
- /package/es/{overflow-list → number-flow}/style/index.js +0 -0
|
@@ -1,64 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { createVNode, defineComponent, isVNode, mergeProps, onMounted, onUpdated, ref } from "vue";
|
|
5
|
-
//#region components/_components/auto-tooltip/auto-tooltip.tsx
|
|
6
|
-
function _isSlot(s) {
|
|
7
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
8
|
-
}
|
|
9
|
-
var auto_tooltip_default = /* @__PURE__ */ defineComponent({
|
|
10
|
-
name: "AutoTooltip",
|
|
11
|
-
inheritAttrs: false,
|
|
12
|
-
props: { tooltipProps: { type: Object } },
|
|
13
|
-
setup(props, { attrs, slots }) {
|
|
14
|
-
const prefix = getPrefixCls("auto-tooltip");
|
|
15
|
-
const containerRef = ref();
|
|
16
|
-
const contentRef = ref();
|
|
17
|
-
const text = ref("");
|
|
18
|
-
const showTooltip = ref(false);
|
|
19
|
-
const calTooltip = () => {
|
|
20
|
-
if (containerRef.value && contentRef.value) {
|
|
21
|
-
const _show = contentRef.value.offsetWidth > containerRef.value.offsetWidth;
|
|
22
|
-
if (_show !== showTooltip.value) showTooltip.value = _show;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const getText = () => {
|
|
26
|
-
var _contentRef$value;
|
|
27
|
-
if (((_contentRef$value = contentRef.value) === null || _contentRef$value === void 0 ? void 0 : _contentRef$value.textContent) && contentRef.value.textContent !== text.value) text.value = contentRef.value.textContent;
|
|
28
|
-
};
|
|
29
|
-
const onResize = () => {
|
|
30
|
-
getText();
|
|
31
|
-
calTooltip();
|
|
32
|
-
};
|
|
33
|
-
onMounted(() => {
|
|
34
|
-
getText();
|
|
35
|
-
calTooltip();
|
|
36
|
-
});
|
|
37
|
-
onUpdated(() => {
|
|
38
|
-
getText();
|
|
39
|
-
calTooltip();
|
|
40
|
-
});
|
|
41
|
-
const renderContent = () => {
|
|
42
|
-
return createVNode("span", mergeProps({
|
|
43
|
-
"ref": containerRef,
|
|
44
|
-
"class": prefix
|
|
45
|
-
}, attrs), [createVNode(resize_observer_v2_default, { "onResize": onResize }, { default: () => {
|
|
46
|
-
var _slots$default;
|
|
47
|
-
return [createVNode("span", {
|
|
48
|
-
"ref": contentRef,
|
|
49
|
-
"class": `${prefix}-content`
|
|
50
|
-
}, [(_slots$default = slots.default) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)])];
|
|
51
|
-
} })]);
|
|
52
|
-
};
|
|
53
|
-
return () => {
|
|
54
|
-
let _slot2;
|
|
55
|
-
if (showTooltip.value) {
|
|
56
|
-
let _slot;
|
|
57
|
-
return createVNode(Tooltip, mergeProps({ "content": text.value }, props.tooltipProps), _isSlot(_slot = renderContent()) ? _slot : { default: () => [_slot] });
|
|
58
|
-
}
|
|
59
|
-
return createVNode(resize_observer_v2_default, { "onResize": onResize }, _isSlot(_slot2 = renderContent()) ? _slot2 : { default: () => [_slot2] });
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
});
|
|
1
|
+
import auto_tooltip_vue_vue_type_script_setup_true_lang_default from "./auto-tooltip.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
//#region components/_components/auto-tooltip/auto-tooltip.vue
|
|
3
|
+
var auto_tooltip_default = auto_tooltip_vue_vue_type_script_setup_true_lang_default;
|
|
63
4
|
//#endregion
|
|
64
5
|
export { auto_tooltip_default as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import type { TooltipProps } from '../../tooltip/interface';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
tooltipProps?: TooltipProps;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default?: () => VNode[];
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
3
|
+
import resize_observer_v2_default from "../resize-observer-v2.js";
|
|
4
|
+
import Tooltip from "../../tooltip/index.js";
|
|
5
|
+
import { Fragment, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeProps, onMounted, onUpdated, openBlock, ref, renderSlot, unref, withCtx } from "vue";
|
|
6
|
+
import { createReusableTemplate } from "@vueuse/core";
|
|
7
|
+
//#region components/_components/auto-tooltip/auto-tooltip.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var auto_tooltip_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
9
|
+
name: "AutoTooltip",
|
|
10
|
+
inheritAttrs: false
|
|
11
|
+
}), {}, {
|
|
12
|
+
__name: "auto-tooltip",
|
|
13
|
+
props: { tooltipProps: {} },
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const [DefineContent, ReuseContent] = createReusableTemplate();
|
|
16
|
+
const prefix = getPrefixCls("auto-tooltip");
|
|
17
|
+
const containerRef = ref(null);
|
|
18
|
+
const contentRef = ref(null);
|
|
19
|
+
const text = ref("");
|
|
20
|
+
const showTooltip = ref(false);
|
|
21
|
+
const calculateTooltip = () => {
|
|
22
|
+
if (containerRef.value && contentRef.value) {
|
|
23
|
+
const shouldShow = contentRef.value.offsetWidth > containerRef.value.offsetWidth;
|
|
24
|
+
if (shouldShow !== showTooltip.value) showTooltip.value = shouldShow;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const updateText = () => {
|
|
28
|
+
var _contentRef$value;
|
|
29
|
+
if (((_contentRef$value = contentRef.value) === null || _contentRef$value === void 0 ? void 0 : _contentRef$value.textContent) && contentRef.value.textContent !== text.value) text.value = contentRef.value.textContent;
|
|
30
|
+
};
|
|
31
|
+
const onResize = () => {
|
|
32
|
+
updateText();
|
|
33
|
+
calculateTooltip();
|
|
34
|
+
};
|
|
35
|
+
onMounted(onResize);
|
|
36
|
+
onUpdated(onResize);
|
|
37
|
+
return (_ctx, _cache) => {
|
|
38
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(DefineContent), null, {
|
|
39
|
+
default: withCtx(() => [createElementVNode("span", mergeProps({
|
|
40
|
+
ref_key: "containerRef",
|
|
41
|
+
ref: containerRef,
|
|
42
|
+
class: unref(prefix)
|
|
43
|
+
}, _ctx.$attrs), [createVNode(unref(resize_observer_v2_default), { onResize }, {
|
|
44
|
+
default: withCtx(() => [createElementVNode("span", {
|
|
45
|
+
ref_key: "contentRef",
|
|
46
|
+
ref: contentRef,
|
|
47
|
+
class: normalizeClass(`${unref(prefix)}-content`)
|
|
48
|
+
}, [renderSlot(_ctx.$slots, "default")], 2)]),
|
|
49
|
+
_: 3
|
|
50
|
+
})], 16)]),
|
|
51
|
+
_: 3
|
|
52
|
+
}), showTooltip.value ? (openBlock(), createBlock(unref(Tooltip), normalizeProps(mergeProps({ key: 0 }, _objectSpread2({ content: text.value }, __props.tooltipProps))), {
|
|
53
|
+
default: withCtx(() => [createVNode(unref(ReuseContent))]),
|
|
54
|
+
_: 1
|
|
55
|
+
}, 16)) : (openBlock(), createBlock(unref(resize_observer_v2_default), {
|
|
56
|
+
key: 1,
|
|
57
|
+
onResize
|
|
58
|
+
}, {
|
|
59
|
+
default: withCtx(() => [createVNode(unref(ReuseContent))]),
|
|
60
|
+
_: 1
|
|
61
|
+
}))], 64);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}));
|
|
65
|
+
//#endregion
|
|
66
|
+
export { auto_tooltip_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
//#region components/_components/client-only.
|
|
3
|
-
var client_only_default =
|
|
4
|
-
name: "ClientOnly",
|
|
5
|
-
setup(_, { slots }) {
|
|
6
|
-
const mounted = ref(false);
|
|
7
|
-
onMounted(() => mounted.value = true);
|
|
8
|
-
return () => {
|
|
9
|
-
if (mounted.value) {
|
|
10
|
-
var _slots$default;
|
|
11
|
-
return (_slots$default = slots.default) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots);
|
|
12
|
-
}
|
|
13
|
-
return null;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
});
|
|
1
|
+
import client_only_vue_vue_type_script_setup_true_lang_default from "./client-only.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
//#region components/_components/client-only.vue
|
|
3
|
+
var client_only_default = client_only_vue_vue_type_script_setup_true_lang_default;
|
|
17
4
|
//#endregion
|
|
18
5
|
export { client_only_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default?: () => VNode[];
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import { createCommentVNode, defineComponent, onMounted, ref, renderSlot } from "vue";
|
|
3
|
+
//#region components/_components/client-only.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var client_only_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "ClientOnly" }), {}, {
|
|
5
|
+
__name: "client-only",
|
|
6
|
+
setup(__props) {
|
|
7
|
+
const mounted = ref(false);
|
|
8
|
+
onMounted(() => {
|
|
9
|
+
mounted.value = true;
|
|
10
|
+
});
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return mounted.value ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : createCommentVNode("", true);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}));
|
|
16
|
+
//#endregion
|
|
17
|
+
export { client_only_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import IconCheckCircleFill from "../icon/icon-check-circle-fill/index.js";
|
|
4
4
|
import IconCloseCircleFill from "../icon/icon-close-circle-fill/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
4
|
//#region components/_components/icon-hover.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,170 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { useFitWidth } from "../../_hooks/use-fit-width.js";
|
|
5
|
-
import { useSize } from "../../_hooks/use-size.js";
|
|
6
|
-
import { INPUT_EVENTS } from "../../_utils/constant.js";
|
|
7
|
-
import { omit } from "../../_utils/omit.js";
|
|
8
|
-
import pick from "../../_utils/pick.js";
|
|
9
|
-
import Ellipsis from "../../ellipsis/index.js";
|
|
10
|
-
import { useInput } from "../../_hooks/use-input.js";
|
|
11
|
-
import { computed, createVNode, defineComponent, isVNode, mergeProps, toRefs } from "vue";
|
|
12
|
-
//#region components/_components/input-label/input-label.tsx
|
|
13
|
-
function _isSlot(s) {
|
|
14
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
15
|
-
}
|
|
16
|
-
var input_label_default = /* @__PURE__ */ defineComponent({
|
|
17
|
-
name: "InputLabel",
|
|
18
|
-
inheritAttrs: false,
|
|
19
|
-
props: {
|
|
20
|
-
modelValue: Object,
|
|
21
|
-
inputValue: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: ""
|
|
24
|
-
},
|
|
25
|
-
enabledInput: Boolean,
|
|
26
|
-
formatLabel: Function,
|
|
27
|
-
placeholder: String,
|
|
28
|
-
retainInputValue: Boolean,
|
|
29
|
-
disabled: Boolean,
|
|
30
|
-
baseCls: String,
|
|
31
|
-
size: String,
|
|
32
|
-
error: Boolean,
|
|
33
|
-
focused: Boolean,
|
|
34
|
-
uninjectFormItemContext: Boolean,
|
|
35
|
-
inputAttrs: Object,
|
|
36
|
-
fitWidth: Boolean,
|
|
37
|
-
maxWFull: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: true
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
emits: [
|
|
43
|
-
"update:inputValue",
|
|
44
|
-
"inputValueChange",
|
|
45
|
-
"focus",
|
|
46
|
-
"blur"
|
|
47
|
-
],
|
|
48
|
-
setup(props, { attrs, emit, slots }) {
|
|
49
|
-
var _props$baseCls;
|
|
50
|
-
const { size, disabled, error, inputValue, uninjectFormItemContext } = toRefs(props);
|
|
51
|
-
const prefixCls = (_props$baseCls = props.baseCls) !== null && _props$baseCls !== void 0 ? _props$baseCls : getPrefixCls("input-label");
|
|
52
|
-
const { mergedSize: _mergedSize, mergedDisabled, mergedError, eventHandlers } = useFormItem({
|
|
53
|
-
size,
|
|
54
|
-
disabled,
|
|
55
|
-
error,
|
|
56
|
-
uninject: uninjectFormItemContext === null || uninjectFormItemContext === void 0 ? void 0 : uninjectFormItemContext.value
|
|
57
|
-
});
|
|
58
|
-
const { mergedSize } = useSize(_mergedSize);
|
|
59
|
-
const { inputRef, _focused, computedValue: computedInputValue, handleInput, handleComposition, handleFocus, handleBlur, handleMousedown } = useInput({
|
|
60
|
-
modelValue: inputValue,
|
|
61
|
-
emit,
|
|
62
|
-
eventName: "inputValueChange",
|
|
63
|
-
updateEventName: "update:inputValue",
|
|
64
|
-
eventHandlers
|
|
65
|
-
});
|
|
66
|
-
const mergedFocused = computed(() => {
|
|
67
|
-
var _props$focused;
|
|
68
|
-
return (_props$focused = props.focused) !== null && _props$focused !== void 0 ? _props$focused : _focused.value;
|
|
69
|
-
});
|
|
70
|
-
const showInput = computed(() => props.enabledInput && _focused.value || !props.modelValue);
|
|
71
|
-
const formatLabel = () => {
|
|
72
|
-
if (props.modelValue) {
|
|
73
|
-
var _props$formatLabel, _props$formatLabel2;
|
|
74
|
-
return (_props$formatLabel = (_props$formatLabel2 = props.formatLabel) === null || _props$formatLabel2 === void 0 ? void 0 : _props$formatLabel2.call(props, props.modelValue)) !== null && _props$formatLabel !== void 0 ? _props$formatLabel : props.modelValue.label;
|
|
75
|
-
}
|
|
76
|
-
return "";
|
|
77
|
-
};
|
|
78
|
-
const mergedPlaceholder = computed(() => {
|
|
79
|
-
if (props.enabledInput && props.modelValue) return formatLabel();
|
|
80
|
-
return props.placeholder;
|
|
81
|
-
});
|
|
82
|
-
const { fitWidthStyle, fitWidthValue } = useFitWidth({
|
|
83
|
-
fitWidth: () => props.fitWidth,
|
|
84
|
-
text: computed(() => computedInputValue.value || formatLabel() || props.placeholder),
|
|
85
|
-
fallbackWidth: "4ch",
|
|
86
|
-
target: inputRef
|
|
87
|
-
});
|
|
88
|
-
const renderLabel = () => {
|
|
89
|
-
if (props.modelValue) {
|
|
90
|
-
var _slots$default, _slots$default2;
|
|
91
|
-
return (_slots$default = (_slots$default2 = slots.default) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots, { data: props.modelValue })) !== null && _slots$default !== void 0 ? _slots$default : formatLabel();
|
|
92
|
-
}
|
|
93
|
-
return null;
|
|
94
|
-
};
|
|
95
|
-
const cls = computed(() => [
|
|
96
|
-
prefixCls,
|
|
97
|
-
`${prefixCls}-size-${mergedSize.value}`,
|
|
98
|
-
{
|
|
99
|
-
[`${prefixCls}-search`]: props.enabledInput,
|
|
100
|
-
[`${prefixCls}-focus`]: mergedFocused.value,
|
|
101
|
-
[`${prefixCls}-disabled`]: mergedDisabled.value,
|
|
102
|
-
[`${prefixCls}-error`]: mergedError.value,
|
|
103
|
-
[`${prefixCls}-fit-width`]: props.fitWidth,
|
|
104
|
-
[`${prefixCls}-max-w-full`]: props.maxWFull
|
|
105
|
-
}
|
|
106
|
-
]);
|
|
107
|
-
const wrapperAttrs = computed(() => {
|
|
108
|
-
const wrapperAttrs = omit(attrs, INPUT_EVENTS);
|
|
109
|
-
return _objectSpread2(_objectSpread2({}, wrapperAttrs), {}, { style: [fitWidthStyle.value, wrapperAttrs.style] });
|
|
110
|
-
});
|
|
111
|
-
const inputAttrs = computed(() => pick(attrs, INPUT_EVENTS));
|
|
112
|
-
const render = () => {
|
|
113
|
-
var _props$inputAttrs, _props$inputAttrs2;
|
|
114
|
-
let _slot;
|
|
115
|
-
return createVNode("span", mergeProps(wrapperAttrs.value, {
|
|
116
|
-
"class": cls.value,
|
|
117
|
-
"onMousedown": handleMousedown
|
|
118
|
-
}), [
|
|
119
|
-
slots.prefix && createVNode("span", { "class": `${prefixCls}-prefix` }, [slots.prefix()]),
|
|
120
|
-
createVNode("input", mergeProps(inputAttrs.value, (_props$inputAttrs = props.inputAttrs) !== null && _props$inputAttrs !== void 0 ? _props$inputAttrs : {}, {
|
|
121
|
-
"ref": inputRef,
|
|
122
|
-
"class": [`${prefixCls}-input`, { [`${prefixCls}-input-hidden`]: !showInput.value }],
|
|
123
|
-
"value": computedInputValue.value,
|
|
124
|
-
"readonly": !props.enabledInput,
|
|
125
|
-
"placeholder": mergedPlaceholder.value,
|
|
126
|
-
"disabled": mergedDisabled.value,
|
|
127
|
-
"style": [props.fitWidth ? {
|
|
128
|
-
flex: `0 1 ${fitWidthValue}`,
|
|
129
|
-
width: fitWidthValue,
|
|
130
|
-
minWidth: 0
|
|
131
|
-
} : void 0, (_props$inputAttrs2 = props.inputAttrs) === null || _props$inputAttrs2 === void 0 ? void 0 : _props$inputAttrs2.style],
|
|
132
|
-
"onInput": handleInput,
|
|
133
|
-
"onFocus": handleFocus,
|
|
134
|
-
"onBlur": handleBlur,
|
|
135
|
-
"onCompositionstart": handleComposition,
|
|
136
|
-
"onCompositionupdate": handleComposition,
|
|
137
|
-
"onCompositionend": handleComposition
|
|
138
|
-
}), null),
|
|
139
|
-
createVNode("span", {
|
|
140
|
-
"class": [`${prefixCls}-value`, { [`${prefixCls}-value-hidden`]: showInput.value }],
|
|
141
|
-
"style": props.fitWidth ? {
|
|
142
|
-
flex: `0 1 ${fitWidthValue}`,
|
|
143
|
-
width: fitWidthValue,
|
|
144
|
-
minWidth: 0
|
|
145
|
-
} : void 0
|
|
146
|
-
}, [props.modelValue && createVNode(Ellipsis, { "style": { width: "100%" } }, _isSlot(_slot = renderLabel()) ? _slot : { default: () => [_slot] })]),
|
|
147
|
-
slots.suffix && createVNode("span", { "class": `${prefixCls}-suffix` }, [slots.suffix()])
|
|
148
|
-
]);
|
|
149
|
-
};
|
|
150
|
-
return {
|
|
151
|
-
inputRef,
|
|
152
|
-
render
|
|
153
|
-
};
|
|
154
|
-
},
|
|
155
|
-
methods: {
|
|
156
|
-
focus() {
|
|
157
|
-
var _this$inputRef;
|
|
158
|
-
(_this$inputRef = this.inputRef) === null || _this$inputRef === void 0 || _this$inputRef.focus();
|
|
159
|
-
},
|
|
160
|
-
blur() {
|
|
161
|
-
var _this$inputRef2;
|
|
162
|
-
(_this$inputRef2 = this.inputRef) === null || _this$inputRef2 === void 0 || _this$inputRef2.blur();
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
render() {
|
|
166
|
-
return this.render();
|
|
167
|
-
}
|
|
168
|
-
});
|
|
1
|
+
import input_label_vue_vue_type_script_setup_true_lang_default from "./input-label.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
+
//#region components/_components/input-label/input-label.vue
|
|
3
|
+
var input_label_default = input_label_vue_vue_type_script_setup_true_lang_default;
|
|
169
4
|
//#endregion
|
|
170
5
|
export { input_label_default as default };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import type { Size } from '../../_utils/constant';
|
|
3
|
+
import type { SelectViewValue } from '../select-view/interface';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
modelValue?: SelectViewValue;
|
|
6
|
+
inputValue?: string;
|
|
7
|
+
enabledInput?: boolean;
|
|
8
|
+
formatLabel?: (data?: SelectViewValue) => string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
retainInputValue?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
baseCls?: string;
|
|
13
|
+
size?: Size;
|
|
14
|
+
error?: boolean;
|
|
15
|
+
focused?: boolean;
|
|
16
|
+
uninjectFormItemContext?: boolean;
|
|
17
|
+
inputAttrs?: Record<string, unknown>;
|
|
18
|
+
fitWidth?: boolean;
|
|
19
|
+
maxWFull?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Slots = {
|
|
22
|
+
default?: (props: {
|
|
23
|
+
data: SelectViewValue;
|
|
24
|
+
}) => VNode[];
|
|
25
|
+
prefix?: () => VNode[];
|
|
26
|
+
suffix?: () => VNode[];
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
29
|
+
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
30
|
+
focus: () => void | undefined;
|
|
31
|
+
blur: () => void | undefined;
|
|
32
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
focus: (event: FocusEvent) => any;
|
|
34
|
+
blur: (event: FocusEvent) => any;
|
|
35
|
+
"update:inputValue": (value: string) => any;
|
|
36
|
+
inputValueChange: (value: string, event: Event) => any;
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
39
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
40
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
41
|
+
onInputValueChange?: ((value: string, event: Event) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
error: boolean;
|
|
45
|
+
fitWidth: boolean;
|
|
46
|
+
maxWFull: boolean;
|
|
47
|
+
inputValue: string;
|
|
48
|
+
uninjectFormItemContext: boolean;
|
|
49
|
+
retainInputValue: boolean;
|
|
50
|
+
enabledInput: boolean;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
53
|
+
declare const _default: typeof __VLS_export;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { useFormItem } from "../../_hooks/use-form-item.js";
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
3
|
+
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
4
|
+
import { useFitWidth } from "../../_hooks/use-fit-width.js";
|
|
5
|
+
import { useSize } from "../../_hooks/use-size.js";
|
|
6
|
+
import { INPUT_EVENTS } from "../../_utils/constant.js";
|
|
7
|
+
import { omit } from "../../_utils/omit.js";
|
|
8
|
+
import pick from "../../_utils/pick.js";
|
|
9
|
+
import Ellipsis from "../../ellipsis/index.js";
|
|
10
|
+
import { useInput } from "../../_hooks/use-input.js";
|
|
11
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString, toRef, unref, useAttrs, withCtx } from "vue";
|
|
12
|
+
//#region components/_components/input-label/input-label.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
var _hoisted_1 = [
|
|
14
|
+
"value",
|
|
15
|
+
"readonly",
|
|
16
|
+
"placeholder",
|
|
17
|
+
"disabled"
|
|
18
|
+
];
|
|
19
|
+
var input_label_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
20
|
+
name: "InputLabel",
|
|
21
|
+
inheritAttrs: false
|
|
22
|
+
}), {}, {
|
|
23
|
+
__name: "input-label",
|
|
24
|
+
props: {
|
|
25
|
+
modelValue: {},
|
|
26
|
+
inputValue: { default: "" },
|
|
27
|
+
enabledInput: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: false
|
|
30
|
+
},
|
|
31
|
+
formatLabel: {},
|
|
32
|
+
placeholder: {},
|
|
33
|
+
retainInputValue: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: false
|
|
36
|
+
},
|
|
37
|
+
disabled: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: false
|
|
40
|
+
},
|
|
41
|
+
baseCls: {},
|
|
42
|
+
size: {},
|
|
43
|
+
error: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
},
|
|
47
|
+
focused: { type: Boolean },
|
|
48
|
+
uninjectFormItemContext: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
52
|
+
inputAttrs: {},
|
|
53
|
+
fitWidth: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: false
|
|
56
|
+
},
|
|
57
|
+
maxWFull: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
emits: [
|
|
63
|
+
"update:inputValue",
|
|
64
|
+
"inputValueChange",
|
|
65
|
+
"focus",
|
|
66
|
+
"blur"
|
|
67
|
+
],
|
|
68
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
69
|
+
var _props$baseCls;
|
|
70
|
+
const props = __props;
|
|
71
|
+
const emit = __emit;
|
|
72
|
+
const attrs = useAttrs();
|
|
73
|
+
const prefixCls = (_props$baseCls = props.baseCls) !== null && _props$baseCls !== void 0 ? _props$baseCls : getPrefixCls("input-label");
|
|
74
|
+
const { mergedSize: formItemSize, mergedDisabled, mergedError, eventHandlers } = useFormItem({
|
|
75
|
+
size: toRef(props, "size"),
|
|
76
|
+
disabled: toRef(props, "disabled"),
|
|
77
|
+
error: toRef(props, "error"),
|
|
78
|
+
uninject: props.uninjectFormItemContext
|
|
79
|
+
});
|
|
80
|
+
const { mergedSize } = useSize(formItemSize);
|
|
81
|
+
const { inputRef, _focused: internalFocused, computedValue: computedInputValue, handleInput, handleComposition, handleFocus, handleBlur, handleMousedown } = useInput({
|
|
82
|
+
modelValue: toRef(props, "inputValue"),
|
|
83
|
+
emit,
|
|
84
|
+
eventName: "inputValueChange",
|
|
85
|
+
updateEventName: "update:inputValue",
|
|
86
|
+
eventHandlers
|
|
87
|
+
});
|
|
88
|
+
const mergedFocused = computed(() => {
|
|
89
|
+
var _props$focused;
|
|
90
|
+
return (_props$focused = props.focused) !== null && _props$focused !== void 0 ? _props$focused : internalFocused.value;
|
|
91
|
+
});
|
|
92
|
+
const showInput = computed(() => props.enabledInput && internalFocused.value || !props.modelValue);
|
|
93
|
+
const formatLabel = () => {
|
|
94
|
+
var _props$formatLabel, _props$formatLabel2;
|
|
95
|
+
return props.modelValue ? (_props$formatLabel = (_props$formatLabel2 = props.formatLabel) === null || _props$formatLabel2 === void 0 ? void 0 : _props$formatLabel2.call(props, props.modelValue)) !== null && _props$formatLabel !== void 0 ? _props$formatLabel : props.modelValue.label : "";
|
|
96
|
+
};
|
|
97
|
+
const mergedPlaceholder = computed(() => props.enabledInput && props.modelValue ? formatLabel() : props.placeholder);
|
|
98
|
+
const fitWidthText = computed(() => computedInputValue.value || formatLabel() || props.placeholder);
|
|
99
|
+
const { fitWidthStyle, fitWidthValue } = useFitWidth({
|
|
100
|
+
fitWidth: () => props.fitWidth,
|
|
101
|
+
text: fitWidthText,
|
|
102
|
+
fallbackWidth: "4ch",
|
|
103
|
+
target: inputRef
|
|
104
|
+
});
|
|
105
|
+
const cls = computed(() => [
|
|
106
|
+
prefixCls,
|
|
107
|
+
`${prefixCls}-size-${mergedSize.value}`,
|
|
108
|
+
{
|
|
109
|
+
[`${prefixCls}-search`]: props.enabledInput,
|
|
110
|
+
[`${prefixCls}-focus`]: mergedFocused.value,
|
|
111
|
+
[`${prefixCls}-disabled`]: mergedDisabled.value,
|
|
112
|
+
[`${prefixCls}-error`]: mergedError.value,
|
|
113
|
+
[`${prefixCls}-fit-width`]: props.fitWidth,
|
|
114
|
+
[`${prefixCls}-max-w-full`]: props.maxWFull
|
|
115
|
+
}
|
|
116
|
+
]);
|
|
117
|
+
const wrapperAttrs = computed(() => {
|
|
118
|
+
const filteredAttrs = omit(attrs, INPUT_EVENTS);
|
|
119
|
+
return _objectSpread2(_objectSpread2({}, filteredAttrs), {}, { style: [fitWidthStyle.value, filteredAttrs.style] });
|
|
120
|
+
});
|
|
121
|
+
const eventInputAttrs = computed(() => pick(attrs, INPUT_EVENTS));
|
|
122
|
+
const mergedInputAttrs = computed(() => _objectSpread2(_objectSpread2({}, eventInputAttrs.value), props.inputAttrs));
|
|
123
|
+
const fitInputStyle = computed(() => props.fitWidth ? {
|
|
124
|
+
flex: `0 1 ${fitWidthValue}`,
|
|
125
|
+
width: fitWidthValue,
|
|
126
|
+
minWidth: 0
|
|
127
|
+
} : void 0);
|
|
128
|
+
const inputStyle = computed(() => {
|
|
129
|
+
var _props$inputAttrs;
|
|
130
|
+
return [fitInputStyle.value, (_props$inputAttrs = props.inputAttrs) === null || _props$inputAttrs === void 0 ? void 0 : _props$inputAttrs.style];
|
|
131
|
+
});
|
|
132
|
+
const valueStyle = computed(() => fitInputStyle.value);
|
|
133
|
+
const valueCls = computed(() => [`${prefixCls}-value`, { [`${prefixCls}-value-hidden`]: showInput.value }]);
|
|
134
|
+
const focus = () => {
|
|
135
|
+
var _inputRef$value;
|
|
136
|
+
return (_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 ? void 0 : _inputRef$value.focus();
|
|
137
|
+
};
|
|
138
|
+
const blur = () => {
|
|
139
|
+
var _inputRef$value2;
|
|
140
|
+
return (_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 ? void 0 : _inputRef$value2.blur();
|
|
141
|
+
};
|
|
142
|
+
__expose({
|
|
143
|
+
inputRef,
|
|
144
|
+
focus,
|
|
145
|
+
blur
|
|
146
|
+
});
|
|
147
|
+
return (_ctx, _cache) => {
|
|
148
|
+
return openBlock(), createElementBlock("span", mergeProps(wrapperAttrs.value, {
|
|
149
|
+
class: cls.value,
|
|
150
|
+
onMousedown: _cache[6] || (_cache[6] = (...args) => unref(handleMousedown) && unref(handleMousedown)(...args))
|
|
151
|
+
}), [
|
|
152
|
+
_ctx.$slots.prefix ? (openBlock(), createElementBlock("span", {
|
|
153
|
+
key: 0,
|
|
154
|
+
class: normalizeClass(`${unref(prefixCls)}-prefix`)
|
|
155
|
+
}, [renderSlot(_ctx.$slots, "prefix")], 2)) : createCommentVNode("", true),
|
|
156
|
+
createElementVNode("input", mergeProps({
|
|
157
|
+
ref_key: "inputRef",
|
|
158
|
+
ref: inputRef
|
|
159
|
+
}, mergedInputAttrs.value, {
|
|
160
|
+
class: [`${unref(prefixCls)}-input`, { [`${unref(prefixCls)}-input-hidden`]: !showInput.value }],
|
|
161
|
+
value: unref(computedInputValue),
|
|
162
|
+
readonly: !__props.enabledInput,
|
|
163
|
+
placeholder: mergedPlaceholder.value,
|
|
164
|
+
disabled: unref(mergedDisabled),
|
|
165
|
+
style: inputStyle.value,
|
|
166
|
+
onInput: _cache[0] || (_cache[0] = (...args) => unref(handleInput) && unref(handleInput)(...args)),
|
|
167
|
+
onFocus: _cache[1] || (_cache[1] = (...args) => unref(handleFocus) && unref(handleFocus)(...args)),
|
|
168
|
+
onBlur: _cache[2] || (_cache[2] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),
|
|
169
|
+
onCompositionstart: _cache[3] || (_cache[3] = (...args) => unref(handleComposition) && unref(handleComposition)(...args)),
|
|
170
|
+
onCompositionupdate: _cache[4] || (_cache[4] = (...args) => unref(handleComposition) && unref(handleComposition)(...args)),
|
|
171
|
+
onCompositionend: _cache[5] || (_cache[5] = (...args) => unref(handleComposition) && unref(handleComposition)(...args))
|
|
172
|
+
}), null, 16, _hoisted_1),
|
|
173
|
+
createElementVNode("span", {
|
|
174
|
+
class: normalizeClass(valueCls.value),
|
|
175
|
+
style: normalizeStyle(valueStyle.value)
|
|
176
|
+
}, [__props.modelValue ? (openBlock(), createBlock(unref(Ellipsis), {
|
|
177
|
+
key: 0,
|
|
178
|
+
style: { width: "100%" }
|
|
179
|
+
}, {
|
|
180
|
+
default: withCtx(() => [_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { data: __props.modelValue }, void 0, void 0, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(formatLabel()), 1)], 64))]),
|
|
181
|
+
_: 3
|
|
182
|
+
})) : createCommentVNode("", true)], 6),
|
|
183
|
+
_ctx.$slots.suffix ? (openBlock(), createElementBlock("span", {
|
|
184
|
+
key: 1,
|
|
185
|
+
class: normalizeClass(`${unref(prefixCls)}-suffix`)
|
|
186
|
+
}, [renderSlot(_ctx.$slots, "suffix")], 2)) : createCommentVNode("", true)
|
|
187
|
+
], 16);
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
}));
|
|
191
|
+
//#endregion
|
|
192
|
+
export { input_label_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFormItem } from "../../_hooks/use-form-item.js";
|
|
2
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
4
4
|
import { isArray, isDayjs, isFunction, isNumber, isUndefined } from "../../_utils/is.js";
|
|
5
5
|
import icon_hover_default from "../icon-hover.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFormItem } from "../../_hooks/use-form-item.js";
|
|
2
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { getPrefixCls } from "../../_utils/global-config.js";
|
|
4
4
|
import { isDayjs, isFunction } from "../../_utils/is.js";
|
|
5
5
|
import icon_hover_default from "../icon-hover.js";
|