kui-vue 6.3.0 → 6.4.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/ai/kui-components.json +376 -7
- package/dist/index.js +2 -2
- package/es/index.js +1008 -479
- package/es/locale/de.js +2 -3
- package/es/locale/el.js +2 -3
- package/es/locale/en.js +2 -3
- package/es/locale/fr.js +2 -3
- package/es/locale/it.js +2 -3
- package/es/locale/ja.js +2 -3
- package/es/locale/ko.js +2 -3
- package/es/locale/ru.js +2 -3
- package/es/locale/th.js +2 -3
- package/es/locale/uk.js +2 -3
- package/es/locale/vi.js +2 -3
- package/es/locale/zh-CN.js +2 -3
- package/es/locale/zh-TW.js +2 -3
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +24 -24
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +1 -1
- package/types/affix/index.d.cts +42 -0
- package/types/alert/index.d.cts +84 -0
- package/types/alert/index.d.ts +2 -2
- package/types/anchor/anchor-link.d.cts +23 -0
- package/types/anchor/anchor.d.cts +58 -0
- package/types/anchor/anchor.d.ts +1 -1
- package/types/anchor/context.d.cts +8 -0
- package/types/anchor/index.d.cts +5 -0
- package/types/anchor/index.d.ts +4 -4
- package/types/auto-complete/index.d.cts +181 -0
- package/types/auto-complete/index.d.ts +1 -1
- package/types/avatar/avatar-group.d.cts +42 -0
- package/types/avatar/avatar-group.d.ts +1 -1
- package/types/avatar/avatar.d.cts +49 -0
- package/types/avatar/avatar.d.ts +2 -2
- package/types/avatar/context.d.cts +8 -0
- package/types/avatar/index.d.cts +5 -0
- package/types/avatar/index.d.ts +4 -4
- package/types/back-top/index.d.cts +60 -0
- package/types/badge/index.d.cts +45 -0
- package/types/badge/index.d.ts +2 -2
- package/types/base/transition.d.cts +3 -0
- package/types/breadcrumb/breadcrumb-item.d.cts +25 -0
- package/types/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/types/breadcrumb/breadcrumb.d.cts +22 -0
- package/types/breadcrumb/index.d.cts +5 -0
- package/types/breadcrumb/index.d.ts +4 -4
- package/types/button/button-group.d.cts +21 -0
- package/types/button/button-group.d.ts +1 -1
- package/types/button/button.d.cts +38 -0
- package/types/button/button.d.ts +2 -2
- package/types/button/index.d.cts +5 -0
- package/types/button/index.d.ts +4 -4
- package/types/calendar/index.d.cts +93 -0
- package/types/card/card-meta.d.cts +17 -0
- package/types/card/index.d.cts +76 -0
- package/types/card/index.d.ts +4 -4
- package/types/carousel/carousel-item.d.cts +2 -0
- package/types/carousel/carousel.d.cts +116 -0
- package/types/carousel/carousel.d.ts +1 -1
- package/types/carousel/drag.d.cts +19 -0
- package/types/carousel/index.d.cts +4 -0
- package/types/carousel/index.d.ts +3 -3
- package/types/cascader/index.d.cts +151 -0
- package/types/cascader/index.d.ts +23 -23
- package/types/cascader/types.d.cts +76 -0
- package/types/cascader/types.d.ts +2 -2
- package/types/check-card/check-card-group.d.cts +80 -0
- package/types/check-card/check-card-group.d.ts +2 -2
- package/types/check-card/check-card.d.cts +113 -0
- package/types/check-card/check-card.d.ts +3 -3
- package/types/check-card/context.d.cts +20 -0
- package/types/check-card/context.d.ts +2 -2
- package/types/check-card/index.d.cts +7 -0
- package/types/check-card/index.d.ts +5 -5
- package/types/check-card/types.d.cts +22 -0
- package/types/check-card/types.d.ts +2 -2
- package/types/checkbox/checkbox-group.d.cts +87 -0
- package/types/checkbox/checkbox-group.d.ts +2 -2
- package/types/checkbox/checkbox.d.cts +68 -0
- package/types/checkbox/checkbox.d.ts +2 -2
- package/types/checkbox/index.d.cts +7 -0
- package/types/checkbox/index.d.ts +5 -5
- package/types/checkbox/types.d.cts +12 -0
- package/types/collapse/collapse-panel.d.cts +21 -0
- package/types/collapse/collapse-panel.d.ts +1 -1
- package/types/collapse/collapse.d.cts +62 -0
- package/types/collapse/collapse.d.ts +2 -2
- package/types/collapse/context.d.cts +7 -0
- package/types/collapse/index.d.cts +6 -0
- package/types/collapse/index.d.ts +4 -4
- package/types/color-picker/alpha.d.cts +22 -0
- package/types/color-picker/hue.d.cts +21 -0
- package/types/color-picker/index.d.cts +233 -0
- package/types/color-picker/index.d.ts +9 -4
- package/types/color-picker/mode.d.cts +28 -0
- package/types/color-picker/mode.d.ts +2 -2
- package/types/color-picker/paint.d.cts +40 -0
- package/types/color-picker/presets.d.cts +22 -0
- package/types/color-picker/types.d.cts +1 -0
- package/types/components.d.cts +169 -0
- package/types/components.d.ts +169 -166
- package/types/config/context.d.cts +128 -0
- package/types/config/context.d.ts +1 -1
- package/types/config/index.d.cts +38 -0
- package/types/config/index.d.ts +2 -2
- package/types/config/popup-host.d.cts +6 -0
- package/types/config/popup.d.cts +4 -0
- package/types/const/types.d.cts +39 -0
- package/types/const/types.d.ts +1 -1
- package/types/const/var.d.cts +6 -0
- package/types/date-picker/index.d.cts +334 -0
- package/types/date-picker/index.d.ts +3 -3
- package/types/descriptions/descriptions-item.d.cts +28 -0
- package/types/descriptions/descriptions-item.d.ts +1 -1
- package/types/descriptions/descriptions.d.cts +69 -0
- package/types/descriptions/descriptions.d.ts +1 -1
- package/types/descriptions/index.d.cts +6 -0
- package/types/descriptions/index.d.ts +4 -4
- package/types/directives/outsiteclick.d.cts +2 -0
- package/types/directives/resize.d.cts +3 -0
- package/types/directives/scroll.d.cts +2 -0
- package/types/divider/index.d.cts +42 -0
- package/types/divider/index.d.ts +1 -1
- package/types/drawer/index.d.cts +197 -0
- package/types/drawer/index.d.ts +1 -1
- package/types/dropdown/dropdown-button.d.cts +65 -0
- package/types/dropdown/dropdown-button.d.ts +2 -2
- package/types/dropdown/dropdown-context.d.cts +16 -0
- package/types/dropdown/dropdown.d.cts +80 -0
- package/types/dropdown/dropdown.d.ts +1 -1
- package/types/dropdown/index.d.cts +6 -0
- package/types/dropdown/index.d.ts +4 -4
- package/types/dropdown/trigger.d.cts +13 -0
- package/types/dropdown/trigger.d.ts +2 -2
- package/types/empty/index.d.cts +12 -0
- package/types/feature-card/index.d.cts +101 -0
- package/types/feature-card/index.d.ts +2 -2
- package/types/feedback-panel/feedback-panel.d.cts +64 -0
- package/types/feedback-panel/feedback-panel.d.ts +3 -3
- package/types/feedback-panel/index.d.cts +4 -0
- package/types/feedback-panel/index.d.ts +3 -3
- package/types/flame-wrap/engine.d.cts +83 -0
- package/types/flame-wrap/index.d.cts +81 -0
- package/types/flame-wrap/index.d.ts +1 -1
- package/types/flex/index.d.cts +44 -0
- package/types/flex/index.d.ts +3 -3
- package/types/flex/types.d.cts +4 -0
- package/types/flex/types.d.ts +1 -1
- package/types/form/context.d.cts +68 -0
- package/types/form/context.d.ts +2 -2
- package/types/form/form-item.d.cts +39 -0
- package/types/form/form-item.d.ts +2 -2
- package/types/form/form.d.cts +87 -0
- package/types/form/form.d.ts +2 -2
- package/types/form/index.d.cts +8 -0
- package/types/form/index.d.ts +6 -6
- package/types/form/types.d.cts +27 -0
- package/types/global.d.cts +532 -0
- package/types/global.d.ts +16 -0
- package/types/gradient-picker/corners.d.cts +39 -0
- package/types/gradient-picker/corners.d.ts +39 -0
- package/types/gradient-picker/index.d.cts +87 -0
- package/types/gradient-picker/index.d.ts +87 -0
- package/types/gradient-picker/stops.d.cts +39 -0
- package/types/gradient-picker/stops.d.ts +39 -0
- package/types/gradient-picker/types.d.cts +34 -0
- package/types/gradient-picker/types.d.ts +34 -0
- package/types/grid/grid-item.d.cts +25 -0
- package/types/grid/grid-item.d.ts +1 -1
- package/types/grid/grid.d.cts +44 -0
- package/types/grid/grid.d.ts +2 -2
- package/types/grid/index.d.cts +6 -0
- package/types/grid/index.d.ts +5 -5
- package/types/grid/useBreakpoint.d.cts +9 -0
- package/types/icon/index.d.cts +62 -0
- package/types/icon/index.d.ts +3 -3
- package/types/icon/types.d.cts +4 -0
- package/types/image/context.d.cts +9 -0
- package/types/image/context.d.ts +1 -1
- package/types/image/group.d.cts +11 -0
- package/types/image/image.d.cts +73 -0
- package/types/image/image.d.ts +2 -2
- package/types/image/index.d.cts +6 -0
- package/types/image/index.d.ts +5 -5
- package/types/image/instance.d.cts +17 -0
- package/types/image/instance.d.ts +1 -1
- package/types/image/preview.d.cts +47 -0
- package/types/image/preview.d.ts +1 -1
- package/types/image/utils.d.cts +6 -0
- package/types/index.d.cts +1 -1
- package/types/index.d.ts +1 -1
- package/types/input/index.d.cts +8 -0
- package/types/input/index.d.ts +6 -6
- package/types/input/input-base.d.cts +186 -0
- package/types/input/input-base.d.ts +2 -2
- package/types/input/input-box.d.cts +47 -0
- package/types/input/input-box.d.ts +1 -1
- package/types/input/input-group.d.cts +54 -0
- package/types/input/input-group.d.ts +1 -1
- package/types/input/input.d.cts +114 -0
- package/types/input/input.d.ts +19 -19
- package/types/input/textarea.d.cts +81 -0
- package/types/input/textarea.d.ts +1 -1
- package/types/input-number/drag.d.cts +9 -0
- package/types/input-number/drag.d.ts +9 -0
- package/types/input-number/index.d.cts +193 -0
- package/types/input-number/index.d.ts +15 -2
- package/types/input-otp/index.d.cts +4 -0
- package/types/input-otp/index.d.ts +3 -3
- package/types/input-otp/input-otp.d.cts +113 -0
- package/types/input-otp/input-otp.d.ts +3 -3
- package/types/input-otp/types.d.cts +1 -0
- package/types/input-tag/index.d.cts +118 -0
- package/types/input-tag/index.d.ts +1 -1
- package/types/kanban/index.d.cts +124 -0
- package/types/kanban/index.d.ts +1 -1
- package/types/layout/index.d.cts +136 -0
- package/types/layout/index.d.ts +1 -1
- package/types/list-panel/index.d.cts +79 -0
- package/types/list-panel/index.d.ts +3 -3
- package/types/loading/index.d.cts +11 -0
- package/types/mentions/index.d.cts +167 -0
- package/types/mentions/index.d.ts +1 -1
- package/types/menu/index.d.cts +8 -0
- package/types/menu/index.d.ts +6 -6
- package/types/menu/menu-context.d.cts +23 -0
- package/types/menu/menu-context.d.ts +1 -1
- package/types/menu/menu-divider.d.cts +2 -0
- package/types/menu/menu-group.d.cts +11 -0
- package/types/menu/menu-item.d.cts +23 -0
- package/types/menu/menu-item.d.ts +2 -2
- package/types/menu/menu-keyboard.d.cts +30 -0
- package/types/menu/menu.d.cts +99 -0
- package/types/menu/menu.d.ts +3 -3
- package/types/menu/recursive-menu.d.cts +14 -0
- package/types/menu/recursive-menu.d.ts +1 -1
- package/types/menu/sub-menu.d.cts +19 -0
- package/types/menu/sub-menu.d.ts +2 -2
- package/types/menu/types.d.cts +14 -0
- package/types/menu/types.d.ts +1 -1
- package/types/message/index.d.cts +26 -0
- package/types/message/index.d.ts +2 -2
- package/types/modal/index.d.cts +38 -0
- package/types/modal/index.d.ts +3 -3
- package/types/modal/modal.d.cts +178 -0
- package/types/modal/modal.d.ts +2 -2
- package/types/modal/toast.d.cts +37 -0
- package/types/modal/toast.d.ts +2 -2
- package/types/notice/container.d.cts +6 -0
- package/types/notice/content.d.cts +64 -0
- package/types/notice/content.d.ts +3 -3
- package/types/notice/index.d.cts +24 -0
- package/types/notice/index.d.ts +2 -2
- package/types/notice/instance.d.cts +8 -0
- package/types/notice/instance.d.ts +1 -1
- package/types/page/index.d.cts +143 -0
- package/types/page/index.d.ts +1 -1
- package/types/page/responsive.d.cts +1 -0
- package/types/page-header/index.d.cts +14 -0
- package/types/popconfirm/index.d.cts +85 -0
- package/types/popconfirm/index.d.ts +5 -2
- package/types/poptip/index.d.cts +83 -0
- package/types/poptip/index.d.ts +5 -2
- package/types/popup/index.d.cts +255 -0
- package/types/popup/index.d.ts +7 -3
- package/types/popup/layers.d.cts +11 -0
- package/types/popup/types.d.cts +15 -0
- package/types/progress/index.d.cts +123 -0
- package/types/progress/index.d.ts +2 -2
- package/types/qrcode/index.d.cts +195 -0
- package/types/qrcode/index.d.ts +2 -2
- package/types/radio/index.d.cts +9 -0
- package/types/radio/index.d.ts +8 -8
- package/types/radio/radio-button.d.cts +84 -0
- package/types/radio/radio-button.d.ts +3 -3
- package/types/radio/radio-group.d.cts +36 -0
- package/types/radio/radio-group.d.ts +2 -2
- package/types/radio/radio.d.cts +84 -0
- package/types/radio/radio.d.ts +2 -2
- package/types/radio/types.d.cts +12 -0
- package/types/radio/types.d.ts +1 -1
- package/types/rate/index.d.cts +102 -0
- package/types/rate/index.d.ts +2 -2
- package/types/rate/star.d.cts +70 -0
- package/types/rate/star.d.ts +2 -2
- package/types/result/index.d.cts +4 -0
- package/types/result/index.d.ts +3 -3
- package/types/result/result.d.cts +34 -0
- package/types/result/result.d.ts +3 -3
- package/types/ripple/engine.d.cts +66 -0
- package/types/ripple/index.d.cts +42 -0
- package/types/ripple/index.d.ts +1 -1
- package/types/row-col/col.d.cts +52 -0
- package/types/row-col/index.d.cts +5 -0
- package/types/row-col/index.d.ts +4 -4
- package/types/row-col/row.d.cts +38 -0
- package/types/segmented/index.d.cts +49 -0
- package/types/segmented/index.d.ts +4 -3
- package/types/select/index.d.cts +6 -0
- package/types/select/index.d.ts +5 -5
- package/types/select/option.d.cts +53 -0
- package/types/select/option.d.ts +3 -3
- package/types/select/select.d.cts +81 -0
- package/types/select/select.d.ts +4 -4
- package/types/select/types.d.cts +12 -0
- package/types/skeleton/index.d.cts +11 -0
- package/types/skeleton/index.d.ts +10 -10
- package/types/skeleton/skeleton-avatar.d.cts +27 -0
- package/types/skeleton/skeleton-avatar.d.ts +9 -9
- package/types/skeleton/skeleton-button.d.cts +29 -0
- package/types/skeleton/skeleton-button.d.ts +11 -11
- package/types/skeleton/skeleton-image.d.cts +25 -0
- package/types/skeleton/skeleton-image.d.ts +5 -5
- package/types/skeleton/skeleton-text.d.cts +25 -0
- package/types/skeleton/skeleton-text.d.ts +7 -7
- package/types/skeleton/skeleton.d.cts +53 -0
- package/types/skeleton/skeleton.d.ts +9 -9
- package/types/skeleton/types.d.cts +71 -0
- package/types/skeleton/types.d.ts +1 -1
- package/types/skeleton/use-skeleton-loading.d.cts +2 -0
- package/types/slider/index.d.cts +66 -0
- package/types/slider/index.d.ts +1 -1
- package/types/slider/thumb.d.cts +70 -0
- package/types/slider/thumb.d.ts +1 -1
- package/types/space/index.d.cts +54 -0
- package/types/space/index.d.ts +1 -1
- package/types/spin/index.d.cts +71 -0
- package/types/spin/index.d.ts +1 -1
- package/types/splitter/index.d.cts +4 -0
- package/types/splitter/index.d.ts +2 -2
- package/types/splitter/splitter-panel.d.cts +35 -0
- package/types/splitter/splitter.d.cts +31 -0
- package/types/splitter/splitter.d.ts +1 -1
- package/types/stat-card/countup.d.cts +56 -0
- package/types/stat-card/index.d.cts +6 -0
- package/types/stat-card/index.d.ts +5 -5
- package/types/stat-card/rollup.d.cts +34 -0
- package/types/stat-card/stat-card.d.cts +120 -0
- package/types/stat-card/stat-card.d.ts +3 -3
- package/types/stat-card/stat-number.d.cts +110 -0
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/stat-card/types.d.cts +15 -0
- package/types/stat-card/utils/countup.d.cts +128 -0
- package/types/stat-card/utils/odometer.d.cts +17 -0
- package/types/stat-card/utils/odometer.d.ts +1 -1
- package/types/stat-card/utils/stat-item-key.d.cts +11 -0
- package/types/steps/index.d.cts +86 -0
- package/types/switch/index.d.cts +63 -0
- package/types/switch/index.d.ts +1 -1
- package/types/table/column-setting.d.cts +78 -0
- package/types/table/column-setting.d.ts +2 -2
- package/types/table/index.d.cts +262 -0
- package/types/table/index.d.ts +5 -5
- package/types/table/types.d.cts +39 -0
- package/types/table/utils.d.cts +89 -0
- package/types/table/utils.d.ts +1 -1
- package/types/tabs/index.d.cts +6 -0
- package/types/tabs/index.d.ts +5 -5
- package/types/tabs/tab-panel.d.cts +22 -0
- package/types/tabs/tab-panel.d.ts +2 -2
- package/types/tabs/tabs.d.cts +51 -0
- package/types/tabs/tabs.d.ts +1 -1
- package/types/tabs/types.d.cts +16 -0
- package/types/tabs/types.d.ts +1 -1
- package/types/tag/index.d.cts +58 -0
- package/types/tag/index.d.ts +2 -2
- package/types/time-line/index.d.cts +6 -0
- package/types/time-line/index.d.ts +5 -5
- package/types/time-line/timeline-item.d.cts +21 -0
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.cts +27 -0
- package/types/time-line/timeline.d.ts +2 -2
- package/types/tooltip/index.d.cts +79 -0
- package/types/tooltip/index.d.ts +5 -2
- package/types/tour/index.d.cts +122 -0
- package/types/transfer/index.d.cts +129 -0
- package/types/transfer/index.d.ts +1 -1
- package/types/tree/context.d.cts +6 -0
- package/types/tree/index.d.cts +166 -0
- package/types/tree/index.d.ts +5 -5
- package/types/tree/types.d.cts +27 -0
- package/types/tree/types.d.ts +1 -1
- package/types/tree/utils.d.cts +33 -0
- package/types/tree/utils.d.ts +1 -1
- package/types/tree-select/index.d.cts +96 -0
- package/types/tree-select/index.d.ts +4 -4
- package/types/typography/index.d.cts +316 -0
- package/types/upload/file-list.d.cts +101 -0
- package/types/upload/file-list.d.ts +3 -3
- package/types/upload/index.d.cts +229 -0
- package/types/upload/index.d.ts +4 -4
- package/types/upload/picture-sort.d.cts +2 -0
- package/types/upload/selector.d.cts +82 -0
- package/types/upload/selector.d.ts +4 -4
- package/types/upload/types.d.cts +39 -0
- package/types/upload/types.d.ts +1 -1
- package/types/utils/checked.d.cts +2 -0
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/color.d.cts +14 -0
- package/types/utils/css.d.cts +2 -0
- package/types/utils/element.d.cts +17 -0
- package/types/utils/focus.d.cts +5 -0
- package/types/utils/model-value.d.cts +10 -0
- package/types/utils/mouse.d.cts +1 -0
- package/types/utils/number.d.cts +6 -0
- package/types/utils/number.d.ts +1 -1
- package/types/utils/overlay-order.d.cts +6 -0
- package/types/utils/overlay-stack.d.cts +13 -0
- package/types/utils/placement.d.cts +17 -0
- package/types/utils/placement.d.ts +2 -1
- package/types/utils/popup-arrow.d.cts +5 -0
- package/types/utils/popup-arrow.d.ts +5 -0
- package/types/utils/popup.d.cts +11 -0
- package/types/utils/promise.d.cts +5 -0
- package/types/utils/selection-tags.d.cts +18 -0
- package/types/utils/selection-tags.d.ts +1 -1
- package/types/utils/share.d.cts +12 -0
- package/types/utils/theme.d.cts +5 -0
- package/types/utils/vnode.d.cts +33 -0
- package/types/utils/vue.d.cts +17 -0
- package/types/virtual-list/index.d.cts +76 -0
- package/types/virtual-list/index.d.ts +1 -1
- package/types/virtual-list/range.d.cts +15 -0
- package/types/watermark/index.d.cts +188 -0
- package/types/watermark/index.d.ts +3 -3
- package/types/watermark/types.d.cts +11 -0
- package/vetur/attributes.json +212 -4
- package/vetur/tags.json +66 -0
- package/vetur/web-types.json +337 -5
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { type CSSProperties, type ExtractPropTypes, type PropType, type Ref, type SlotsType, type VNodeChild } from "vue";
|
|
2
|
+
import type { PlacementsType } from "../const/types.cjs";
|
|
3
|
+
import type { PopupOpenChangeDetail, PopupRef, PopupTrigger } from "./types.cjs";
|
|
4
|
+
export type { PopupOpenChangeDetail, PopupOpenReason, PopupRef, PopupTrigger } from "./types.cjs";
|
|
5
|
+
export declare const popupProps: {
|
|
6
|
+
open: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
disabled: BooleanConstructor;
|
|
11
|
+
placement: {
|
|
12
|
+
type: PropType<PlacementsType>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
trigger: {
|
|
16
|
+
type: PropType<PopupTrigger>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
arrow: BooleanConstructor;
|
|
20
|
+
arrowPointAtCenter: BooleanConstructor;
|
|
21
|
+
offset: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
openDelay: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
closeDelay: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
closeOnOutsideClick: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
closeOnEscape: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
matchTriggerWidth: BooleanConstructor;
|
|
42
|
+
getPopupContainer: PropType<() => HTMLElement | null | undefined>;
|
|
43
|
+
destroyOnClose: BooleanConstructor;
|
|
44
|
+
target: PropType<HTMLElement | Ref<HTMLElement | {
|
|
45
|
+
$el: HTMLElement;
|
|
46
|
+
} | null>>;
|
|
47
|
+
overlay: PropType<VNodeChild>;
|
|
48
|
+
raw: BooleanConstructor;
|
|
49
|
+
outsideEvent: {
|
|
50
|
+
type: PropType<"click" | "mousedown">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
transitionDuration: NumberConstructor;
|
|
54
|
+
getAnchorPosition: PropType<() => {
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
} | null>;
|
|
58
|
+
prefixCls: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
transitionName: StringConstructor;
|
|
63
|
+
panelOnly: BooleanConstructor;
|
|
64
|
+
triggerAttrs: PropType<Record<string, unknown>>;
|
|
65
|
+
respectDefaultPrevented: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
contentStyle: PropType<CSSProperties>;
|
|
70
|
+
hideWhenDetached: BooleanConstructor;
|
|
71
|
+
onTriggerKeydown: PropType<(event: KeyboardEvent, popup: PopupRef) => void>;
|
|
72
|
+
};
|
|
73
|
+
export type PopupProps = Partial<ExtractPropTypes<typeof popupProps>> & {
|
|
74
|
+
"onUpdate:open"?: (open: boolean) => void;
|
|
75
|
+
onOpenChange?: (open: boolean, detail: PopupOpenChangeDetail) => void;
|
|
76
|
+
onAfterOpen?: () => void;
|
|
77
|
+
onAfterClose?: () => void;
|
|
78
|
+
};
|
|
79
|
+
export declare const PopupArrow: ({ prefixCls }: {
|
|
80
|
+
prefixCls: string;
|
|
81
|
+
}) => import("vue/jsx-runtime").JSX.Element;
|
|
82
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
83
|
+
open: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
87
|
+
disabled: BooleanConstructor;
|
|
88
|
+
placement: {
|
|
89
|
+
type: PropType<PlacementsType>;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
trigger: {
|
|
93
|
+
type: PropType<PopupTrigger>;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
arrow: BooleanConstructor;
|
|
97
|
+
arrowPointAtCenter: BooleanConstructor;
|
|
98
|
+
offset: {
|
|
99
|
+
type: NumberConstructor;
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
openDelay: {
|
|
103
|
+
type: NumberConstructor;
|
|
104
|
+
default: number;
|
|
105
|
+
};
|
|
106
|
+
closeDelay: {
|
|
107
|
+
type: NumberConstructor;
|
|
108
|
+
default: number;
|
|
109
|
+
};
|
|
110
|
+
closeOnOutsideClick: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
closeOnEscape: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
matchTriggerWidth: BooleanConstructor;
|
|
119
|
+
getPopupContainer: PropType<() => HTMLElement | null | undefined>;
|
|
120
|
+
destroyOnClose: BooleanConstructor;
|
|
121
|
+
target: PropType<HTMLElement | Ref<HTMLElement | {
|
|
122
|
+
$el: HTMLElement;
|
|
123
|
+
} | null>>;
|
|
124
|
+
overlay: PropType<VNodeChild>;
|
|
125
|
+
raw: BooleanConstructor;
|
|
126
|
+
outsideEvent: {
|
|
127
|
+
type: PropType<"click" | "mousedown">;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
transitionDuration: NumberConstructor;
|
|
131
|
+
getAnchorPosition: PropType<() => {
|
|
132
|
+
x: number;
|
|
133
|
+
y: number;
|
|
134
|
+
} | null>;
|
|
135
|
+
prefixCls: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
transitionName: StringConstructor;
|
|
140
|
+
panelOnly: BooleanConstructor;
|
|
141
|
+
triggerAttrs: PropType<Record<string, unknown>>;
|
|
142
|
+
respectDefaultPrevented: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
contentStyle: PropType<CSSProperties>;
|
|
147
|
+
hideWhenDetached: BooleanConstructor;
|
|
148
|
+
onTriggerKeydown: PropType<(event: KeyboardEvent, popup: PopupRef) => void>;
|
|
149
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
150
|
+
[key: string]: any;
|
|
151
|
+
}> | (false | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
152
|
+
[key: string]: any;
|
|
153
|
+
}> | null)[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
154
|
+
"update:open": (open: boolean) => boolean;
|
|
155
|
+
openChange: (open: boolean, detail: PopupOpenChangeDetail) => boolean;
|
|
156
|
+
afterOpen: () => true;
|
|
157
|
+
afterClose: () => true;
|
|
158
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
159
|
+
open: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: undefined;
|
|
162
|
+
};
|
|
163
|
+
disabled: BooleanConstructor;
|
|
164
|
+
placement: {
|
|
165
|
+
type: PropType<PlacementsType>;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
trigger: {
|
|
169
|
+
type: PropType<PopupTrigger>;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
arrow: BooleanConstructor;
|
|
173
|
+
arrowPointAtCenter: BooleanConstructor;
|
|
174
|
+
offset: {
|
|
175
|
+
type: NumberConstructor;
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
openDelay: {
|
|
179
|
+
type: NumberConstructor;
|
|
180
|
+
default: number;
|
|
181
|
+
};
|
|
182
|
+
closeDelay: {
|
|
183
|
+
type: NumberConstructor;
|
|
184
|
+
default: number;
|
|
185
|
+
};
|
|
186
|
+
closeOnOutsideClick: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
closeOnEscape: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
matchTriggerWidth: BooleanConstructor;
|
|
195
|
+
getPopupContainer: PropType<() => HTMLElement | null | undefined>;
|
|
196
|
+
destroyOnClose: BooleanConstructor;
|
|
197
|
+
target: PropType<HTMLElement | Ref<HTMLElement | {
|
|
198
|
+
$el: HTMLElement;
|
|
199
|
+
} | null>>;
|
|
200
|
+
overlay: PropType<VNodeChild>;
|
|
201
|
+
raw: BooleanConstructor;
|
|
202
|
+
outsideEvent: {
|
|
203
|
+
type: PropType<"click" | "mousedown">;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
transitionDuration: NumberConstructor;
|
|
207
|
+
getAnchorPosition: PropType<() => {
|
|
208
|
+
x: number;
|
|
209
|
+
y: number;
|
|
210
|
+
} | null>;
|
|
211
|
+
prefixCls: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
default: string;
|
|
214
|
+
};
|
|
215
|
+
transitionName: StringConstructor;
|
|
216
|
+
panelOnly: BooleanConstructor;
|
|
217
|
+
triggerAttrs: PropType<Record<string, unknown>>;
|
|
218
|
+
respectDefaultPrevented: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
222
|
+
contentStyle: PropType<CSSProperties>;
|
|
223
|
+
hideWhenDetached: BooleanConstructor;
|
|
224
|
+
onTriggerKeydown: PropType<(event: KeyboardEvent, popup: PopupRef) => void>;
|
|
225
|
+
}>> & Readonly<{
|
|
226
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
227
|
+
onOpenChange?: ((open: boolean, detail: PopupOpenChangeDetail) => any) | undefined;
|
|
228
|
+
onAfterOpen?: (() => any) | undefined;
|
|
229
|
+
onAfterClose?: (() => any) | undefined;
|
|
230
|
+
}>, {
|
|
231
|
+
offset: number;
|
|
232
|
+
open: boolean;
|
|
233
|
+
disabled: boolean;
|
|
234
|
+
arrowPointAtCenter: boolean;
|
|
235
|
+
trigger: PopupTrigger;
|
|
236
|
+
placement: PlacementsType;
|
|
237
|
+
arrow: boolean;
|
|
238
|
+
openDelay: number;
|
|
239
|
+
closeDelay: number;
|
|
240
|
+
closeOnOutsideClick: boolean;
|
|
241
|
+
closeOnEscape: boolean;
|
|
242
|
+
matchTriggerWidth: boolean;
|
|
243
|
+
destroyOnClose: boolean;
|
|
244
|
+
raw: boolean;
|
|
245
|
+
outsideEvent: "click" | "mousedown";
|
|
246
|
+
prefixCls: string;
|
|
247
|
+
panelOnly: boolean;
|
|
248
|
+
respectDefaultPrevented: boolean;
|
|
249
|
+
hideWhenDetached: boolean;
|
|
250
|
+
}, SlotsType<{
|
|
251
|
+
default?: (popup: PopupRef) => VNodeChild;
|
|
252
|
+
overlay?: (popup: PopupRef) => VNodeChild;
|
|
253
|
+
arrow?: () => VNodeChild;
|
|
254
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
255
|
+
export default _default;
|
package/types/popup/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type CSSProperties, type ExtractPropTypes, type PropType, type Ref, type SlotsType, type VNodeChild } from "vue";
|
|
2
|
-
import type { PlacementsType } from "../const/types";
|
|
3
|
-
import type { PopupOpenChangeDetail, PopupRef, PopupTrigger } from "./types";
|
|
4
|
-
export type { PopupOpenChangeDetail, PopupOpenReason, PopupRef, PopupTrigger } from "./types";
|
|
2
|
+
import type { PlacementsType } from "../const/types.js";
|
|
3
|
+
import type { PopupOpenChangeDetail, PopupRef, PopupTrigger } from "./types.js";
|
|
4
|
+
export type { PopupOpenChangeDetail, PopupOpenReason, PopupRef, PopupTrigger } from "./types.js";
|
|
5
5
|
export declare const popupProps: {
|
|
6
6
|
open: {
|
|
7
7
|
type: BooleanConstructor;
|
|
@@ -17,6 +17,7 @@ export declare const popupProps: {
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
arrow: BooleanConstructor;
|
|
20
|
+
arrowPointAtCenter: BooleanConstructor;
|
|
20
21
|
offset: {
|
|
21
22
|
type: NumberConstructor;
|
|
22
23
|
default: number;
|
|
@@ -93,6 +94,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
93
94
|
default: string;
|
|
94
95
|
};
|
|
95
96
|
arrow: BooleanConstructor;
|
|
97
|
+
arrowPointAtCenter: BooleanConstructor;
|
|
96
98
|
offset: {
|
|
97
99
|
type: NumberConstructor;
|
|
98
100
|
default: number;
|
|
@@ -168,6 +170,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
168
170
|
default: string;
|
|
169
171
|
};
|
|
170
172
|
arrow: BooleanConstructor;
|
|
173
|
+
arrowPointAtCenter: BooleanConstructor;
|
|
171
174
|
offset: {
|
|
172
175
|
type: NumberConstructor;
|
|
173
176
|
default: number;
|
|
@@ -228,6 +231,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
228
231
|
offset: number;
|
|
229
232
|
open: boolean;
|
|
230
233
|
disabled: boolean;
|
|
234
|
+
arrowPointAtCenter: boolean;
|
|
231
235
|
trigger: PopupTrigger;
|
|
232
236
|
placement: PlacementsType;
|
|
233
237
|
arrow: boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface PopupLayer {
|
|
2
|
+
trigger: () => HTMLElement | null;
|
|
3
|
+
popup: HTMLElement;
|
|
4
|
+
close: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function registerPopupLayer(layer: PopupLayer): () => void;
|
|
7
|
+
/** 还开着的弹层里最晚打开那位的顺序号;一个都没有则 0。遮罩层用它判断自己有没有被弹层压住。 */
|
|
8
|
+
export declare function latestPopupLayerOrder(): number;
|
|
9
|
+
export declare function isTopPopupLayer(layer: PopupLayer): boolean;
|
|
10
|
+
export declare function popupLayerElements(layer: PopupLayer): HTMLElement[];
|
|
11
|
+
export declare function closePopupChildren(popup: HTMLElement): void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type PopupTrigger = "hover" | "click" | "focus" | "contextmenu" | "manual";
|
|
2
|
+
export type PopupOpenReason = "trigger" | "hover" | "focus" | "contextmenu" | "outside" | "escape" | "programmatic" | "host";
|
|
3
|
+
export interface PopupOpenChangeDetail {
|
|
4
|
+
reason: PopupOpenReason;
|
|
5
|
+
event?: Event;
|
|
6
|
+
}
|
|
7
|
+
export interface PopupRef {
|
|
8
|
+
open: () => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
updatePosition: () => void;
|
|
11
|
+
cancelClose: () => void;
|
|
12
|
+
scheduleClose: () => void;
|
|
13
|
+
getTriggerElement: () => HTMLElement | null;
|
|
14
|
+
getPopupElement: () => HTMLElement | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { BooleanType, ProgressStatus, ProgressStroke, ProgressType, SizeType } from "../const/types.cjs";
|
|
3
|
+
declare const progressProps: {
|
|
4
|
+
percent: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
strokeWidth: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
color: StringConstructor;
|
|
13
|
+
format: PropType<(percent: number) => VNodeChild>;
|
|
14
|
+
width: NumberConstructor;
|
|
15
|
+
strokeHeight: NumberConstructor;
|
|
16
|
+
gapDegree: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
strokeLinecap: {
|
|
21
|
+
type: PropType<ProgressStroke>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
type: PropType<SizeType>;
|
|
26
|
+
};
|
|
27
|
+
status: {
|
|
28
|
+
type: PropType<ProgressStatus>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
type: {
|
|
32
|
+
type: PropType<ProgressType>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
showInfo: {
|
|
36
|
+
type: BooleanType;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type ProgressProps = ExtractPropTypes<typeof progressProps>;
|
|
41
|
+
declare const Progress: import("vue").DefineComponent<ExtractPropTypes<{
|
|
42
|
+
percent: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
strokeWidth: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
color: StringConstructor;
|
|
51
|
+
format: PropType<(percent: number) => VNodeChild>;
|
|
52
|
+
width: NumberConstructor;
|
|
53
|
+
strokeHeight: NumberConstructor;
|
|
54
|
+
gapDegree: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
strokeLinecap: {
|
|
59
|
+
type: PropType<ProgressStroke>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
size: {
|
|
63
|
+
type: PropType<SizeType>;
|
|
64
|
+
};
|
|
65
|
+
status: {
|
|
66
|
+
type: PropType<ProgressStatus>;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
type: {
|
|
70
|
+
type: PropType<ProgressType>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
showInfo: {
|
|
74
|
+
type: BooleanType;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
78
|
+
percent: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
strokeWidth: {
|
|
83
|
+
type: NumberConstructor;
|
|
84
|
+
default: number;
|
|
85
|
+
};
|
|
86
|
+
color: StringConstructor;
|
|
87
|
+
format: PropType<(percent: number) => VNodeChild>;
|
|
88
|
+
width: NumberConstructor;
|
|
89
|
+
strokeHeight: NumberConstructor;
|
|
90
|
+
gapDegree: {
|
|
91
|
+
type: NumberConstructor;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
strokeLinecap: {
|
|
95
|
+
type: PropType<ProgressStroke>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
type: PropType<SizeType>;
|
|
100
|
+
};
|
|
101
|
+
status: {
|
|
102
|
+
type: PropType<ProgressStatus>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
type: {
|
|
106
|
+
type: PropType<ProgressType>;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
showInfo: {
|
|
110
|
+
type: BooleanType;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
}>> & Readonly<{}>, {
|
|
114
|
+
strokeLinecap: ProgressStroke;
|
|
115
|
+
strokeWidth: number;
|
|
116
|
+
type: ProgressType;
|
|
117
|
+
status: ProgressStatus;
|
|
118
|
+
percent: number;
|
|
119
|
+
gapDegree: number;
|
|
120
|
+
showInfo: boolean | undefined;
|
|
121
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
|
+
export default Progress;
|
|
123
|
+
export type { ProgressStatus, ProgressStroke, ProgressType } from "../const/types.cjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
-
import type { BooleanType, ProgressStatus, ProgressStroke, ProgressType, SizeType } from "../const/types";
|
|
2
|
+
import type { BooleanType, ProgressStatus, ProgressStroke, ProgressType, SizeType } from "../const/types.js";
|
|
3
3
|
declare const progressProps: {
|
|
4
4
|
percent: {
|
|
5
5
|
type: NumberConstructor;
|
|
@@ -120,4 +120,4 @@ declare const Progress: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
120
120
|
showInfo: boolean | undefined;
|
|
121
121
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
122
122
|
export default Progress;
|
|
123
|
-
export type { ProgressStatus, ProgressStroke, ProgressType } from "../const/types";
|
|
123
|
+
export type { ProgressStatus, ProgressStroke, ProgressType } from "../const/types.js";
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, QRCodeErrorLevel, QRCodeStatus, ShapeType, SurfaceThemeType } from "../const/types.cjs";
|
|
3
|
+
declare const qrCodeProps: {
|
|
4
|
+
value: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: boolean;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
colorDark: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
colorLight: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
bordered: {
|
|
21
|
+
type: BooleanType;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
theme: {
|
|
25
|
+
type: PropType<SurfaceThemeType>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
shape: {
|
|
29
|
+
type: PropType<ShapeType>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
status: {
|
|
33
|
+
type: PropType<QRCodeStatus>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
logo: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
logoSize: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
};
|
|
43
|
+
margin: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
logoRadius: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
logoBorder: {
|
|
52
|
+
type: BooleanType;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
errorLevel: {
|
|
56
|
+
type: PropType<QRCodeErrorLevel>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export type QRCodeProps = ExtractPropTypes<typeof qrCodeProps>;
|
|
61
|
+
export interface QRCodeRef {
|
|
62
|
+
download: (fileName?: string) => Promise<void>;
|
|
63
|
+
}
|
|
64
|
+
declare const QRCode: import("vue").DefineComponent<ExtractPropTypes<{
|
|
65
|
+
value: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
required: boolean;
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
colorDark: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
colorLight: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
bordered: {
|
|
82
|
+
type: BooleanType;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
theme: {
|
|
86
|
+
type: PropType<SurfaceThemeType>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
shape: {
|
|
90
|
+
type: PropType<ShapeType>;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
status: {
|
|
94
|
+
type: PropType<QRCodeStatus>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
logo: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
logoSize: {
|
|
102
|
+
type: NumberConstructor;
|
|
103
|
+
};
|
|
104
|
+
margin: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
logoRadius: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
default: number;
|
|
111
|
+
};
|
|
112
|
+
logoBorder: {
|
|
113
|
+
type: BooleanType;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
errorLevel: {
|
|
117
|
+
type: PropType<QRCodeErrorLevel>;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
121
|
+
refresh: () => true;
|
|
122
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
123
|
+
value: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
required: boolean;
|
|
126
|
+
};
|
|
127
|
+
size: {
|
|
128
|
+
type: NumberConstructor;
|
|
129
|
+
default: number;
|
|
130
|
+
};
|
|
131
|
+
colorDark: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
colorLight: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
bordered: {
|
|
140
|
+
type: BooleanType;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
theme: {
|
|
144
|
+
type: PropType<SurfaceThemeType>;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
shape: {
|
|
148
|
+
type: PropType<ShapeType>;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
status: {
|
|
152
|
+
type: PropType<QRCodeStatus>;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
logo: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
logoSize: {
|
|
160
|
+
type: NumberConstructor;
|
|
161
|
+
};
|
|
162
|
+
margin: {
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
default: number;
|
|
165
|
+
};
|
|
166
|
+
logoRadius: {
|
|
167
|
+
type: NumberConstructor;
|
|
168
|
+
default: number;
|
|
169
|
+
};
|
|
170
|
+
logoBorder: {
|
|
171
|
+
type: BooleanType;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
errorLevel: {
|
|
175
|
+
type: PropType<QRCodeErrorLevel>;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
}>> & Readonly<{
|
|
179
|
+
onRefresh?: (() => any) | undefined;
|
|
180
|
+
}>, {
|
|
181
|
+
margin: number;
|
|
182
|
+
size: number;
|
|
183
|
+
theme: SurfaceThemeType;
|
|
184
|
+
shape: ShapeType;
|
|
185
|
+
bordered: boolean | undefined;
|
|
186
|
+
status: QRCodeStatus;
|
|
187
|
+
colorDark: string;
|
|
188
|
+
colorLight: string;
|
|
189
|
+
logo: string;
|
|
190
|
+
logoRadius: number;
|
|
191
|
+
logoBorder: boolean | undefined;
|
|
192
|
+
errorLevel: QRCodeErrorLevel;
|
|
193
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
194
|
+
export default QRCode;
|
|
195
|
+
export type { QRCodeErrorLevel, QRCodeStatus } from "../const/types.cjs";
|
package/types/qrcode/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, QRCodeErrorLevel, QRCodeStatus, ShapeType, SurfaceThemeType } from "../const/types";
|
|
2
|
+
import type { BooleanType, QRCodeErrorLevel, QRCodeStatus, ShapeType, SurfaceThemeType } from "../const/types.js";
|
|
3
3
|
declare const qrCodeProps: {
|
|
4
4
|
value: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -192,4 +192,4 @@ declare const QRCode: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
192
192
|
errorLevel: QRCodeErrorLevel;
|
|
193
193
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
194
194
|
export default QRCode;
|
|
195
|
-
export type { QRCodeErrorLevel, QRCodeStatus } from "../const/types";
|
|
195
|
+
export type { QRCodeErrorLevel, QRCodeStatus } from "../const/types.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Radio from "./radio.cjs";
|
|
2
|
+
import RadioButton from "./radio-button.cjs";
|
|
3
|
+
import RadioGroup from "./radio-group.cjs";
|
|
4
|
+
export type { RadioProps } from "./radio.cjs";
|
|
5
|
+
export type { RadioButtonProps } from "./radio-button.cjs";
|
|
6
|
+
export type { RadioGroupProps } from "./radio-group.cjs";
|
|
7
|
+
export type { RadioOption } from "./types.cjs";
|
|
8
|
+
export type { ChangeEvent as RadioChangeEvent } from "./types.cjs";
|
|
9
|
+
export { Radio, RadioButton, RadioGroup };
|
package/types/radio/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Radio from "./radio";
|
|
2
|
-
import RadioButton from "./radio-button";
|
|
3
|
-
import RadioGroup from "./radio-group";
|
|
4
|
-
export type { RadioProps } from "./radio";
|
|
5
|
-
export type { RadioButtonProps } from "./radio-button";
|
|
6
|
-
export type { RadioGroupProps } from "./radio-group";
|
|
7
|
-
export type { RadioOption } from "./types";
|
|
8
|
-
export type { ChangeEvent as RadioChangeEvent } from "./types";
|
|
1
|
+
import Radio from "./radio.js";
|
|
2
|
+
import RadioButton from "./radio-button.js";
|
|
3
|
+
import RadioGroup from "./radio-group.js";
|
|
4
|
+
export type { RadioProps } from "./radio.js";
|
|
5
|
+
export type { RadioButtonProps } from "./radio-button.js";
|
|
6
|
+
export type { RadioGroupProps } from "./radio-group.js";
|
|
7
|
+
export type { RadioOption } from "./types.js";
|
|
8
|
+
export type { ChangeEvent as RadioChangeEvent } from "./types.js";
|
|
9
9
|
export { Radio, RadioButton, RadioGroup };
|