@sdata/web-vue 1.11.0 → 1.12.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 +177 -6
- package/dist/sd.min.css +1 -1
- package/es/_components/select-view/style/index.css +13 -6
- package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +2 -2
- package/es/_hooks/use-allow-search.d.ts +10 -0
- package/es/_hooks/use-allow-search.js +31 -0
- package/es/_hooks/use-scrollbar.js +1 -1
- package/es/_utils/color.js +1 -1
- package/es/_utils/date.js +7 -1
- package/es/_utils/dom.js +1 -1
- 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 +4 -18
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/asyncToGenerator.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/defineProperty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/extends.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectDestructuringEmpty.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectSpread2.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutProperties.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPrimitive.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPropertyKey.js +1 -1
- package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/typeof.js +1 -1
- package/es/affix/affix.vue_vue_type_script_lang.js +31 -3
- package/es/alert/alert.vue_vue_type_script_lang.js +55 -0
- package/es/anchor/anchor-link.vue_vue_type_script_lang.js +8 -0
- package/es/anchor/anchor.vue_vue_type_script_lang.js +32 -0
- package/es/auto-complete/auto-complete.js +102 -0
- package/es/avatar/avatar-group.js +31 -0
- package/es/avatar/avatar.vue_vue_type_script_lang.js +51 -1
- package/es/back-top/back-top.vue_vue_type_script_lang.js +16 -0
- package/es/badge/badge.js +34 -1
- package/es/breadcrumb/breadcrumb-item.js +27 -0
- package/es/breadcrumb/breadcrumb.js +39 -0
- package/es/button/button-group.vue_vue_type_script_lang.js +22 -0
- package/es/button/button.vue_vue_type_script_lang.js +58 -1
- package/es/calendar/calendar.js +47 -0
- package/es/calendar/month.js +1 -1
- package/es/calendar/year.js +1 -1
- package/es/card/card-grid.vue_vue_type_script_lang.js +6 -1
- package/es/card/card-meta.js +23 -0
- package/es/card/card.js +54 -0
- package/es/carousel/carousel.js +68 -1
- package/es/cascader/cascader-panel.js +2 -28
- package/es/cascader/cascader-panel.vue.d.ts +24 -306
- package/es/cascader/{cascader-panel.vue_vue_type_script_lang.js → cascader-panel.vue_vue_type_script_setup_true_lang.js} +92 -101
- package/es/cascader/cascader.js +2 -145
- package/es/cascader/cascader.vue.d.ts +53 -1289
- package/es/cascader/{cascader.vue_vue_type_script_lang.js → cascader.vue_vue_type_script_setup_true_lang.js} +236 -172
- package/es/cascader/index.d.ts +4 -2986
- package/es/cascader/types.d.ts +79 -0
- package/es/checkbox/checkbox-group.js +48 -0
- package/es/checkbox/checkbox.js +35 -0
- package/es/collapse/collapse-item.js +36 -0
- package/es/collapse/collapse.vue_vue_type_script_lang.js +47 -0
- package/es/color-picker/color-picker.js +90 -1
- package/es/color-picker/panel.js +5 -2
- package/es/color-picker/utils.js +1 -1
- package/es/comment/comment.js +47 -1
- package/es/components.d.ts +132 -127
- package/es/config-provider/config-provider.vue.d.ts +9 -0
- package/es/config-provider/config-provider.vue_vue_type_script_lang.js +72 -1
- package/es/config-provider/context.d.ts +1 -0
- package/es/config-provider/index.d.ts +15 -0
- 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.js +5 -0
- package/es/copy/copy.vue.d.ts +15 -0
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +95 -0
- package/es/copy/index.d.ts +15 -0
- package/es/copy/index.js +10 -0
- package/es/copy/style/css.js +2 -0
- package/es/copy/style/index.css +25 -0
- package/es/copy/style/index.d.ts +2 -0
- package/es/copy/style/index.js +2 -0
- package/es/copy/style/index.scss +15 -0
- package/es/copy/style/token.scss +3 -0
- package/es/copy/types.d.ts +21 -0
- package/es/cropper/cropper.js +5 -0
- package/es/cropper/cropper.vue.d.ts +45 -0
- package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +266 -0
- package/es/cropper/index.d.ts +130 -0
- package/es/cropper/index.js +10 -0
- package/es/cropper/interface.d.ts +59 -0
- package/es/cropper/style/css.js +2 -0
- package/es/cropper/style/index.css +51 -0
- package/es/cropper/style/index.d.ts +2 -0
- package/es/cropper/style/index.js +2 -0
- package/es/cropper/style/index.scss +43 -0
- package/es/cropper/style/token.scss +8 -0
- package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
- package/es/date-picker/index.d.ts +54 -576
- package/es/date-picker/panels/date/index.js +1 -1
- package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/panels/footer.vue.d.ts +55 -577
- package/es/date-picker/panels/footer.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/panels/month/index.js +1 -1
- package/es/date-picker/panels/quarter/index.js +1 -1
- package/es/date-picker/panels/year/index.js +1 -1
- package/es/date-picker/picker-panel.vue.d.ts +54 -576
- package/es/date-picker/picker.js +1 -1
- package/es/date-picker/picker.vue.d.ts +54 -576
- package/es/date-picker/picker.vue_vue_type_script_lang.js +193 -1
- package/es/date-picker/pickers/date-picker.js +42 -0
- package/es/date-picker/pickers/month-picker.js +12 -0
- package/es/date-picker/pickers/quarter-picker.js +17 -0
- package/es/date-picker/pickers/week-picker.js +23 -0
- package/es/date-picker/pickers/year-picker.js +12 -0
- package/es/date-picker/range-picker-panel.vue.d.ts +54 -576
- package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +1 -1
- package/es/date-picker/range-picker.js +1 -1
- package/es/date-picker/range-picker.vue.d.ts +54 -576
- package/es/date-picker/range-picker.vue_vue_type_script_lang.js +120 -1
- package/es/descriptions/descriptions-item.vue_vue_type_script_lang.js +16 -0
- package/es/descriptions/descriptions.js +65 -1
- package/es/divider/divider.js +24 -0
- package/es/drawer/drawer.vue_vue_type_script_lang.js +161 -2
- package/es/drawer/index.js +2 -2
- package/es/dropdown/dropdown-button.vue_vue_type_script_lang.js +70 -0
- package/es/dropdown/dropdown-group.vue_vue_type_script_lang.js +12 -1
- package/es/dropdown/dropdown-option.vue_vue_type_script_lang.js +20 -1
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_lang.js +57 -0
- package/es/dropdown/dropdown.vue_vue_type_script_lang.js +55 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +25 -2
- package/es/ellipsis/performant-ellipsis.vue_vue_type_script_lang.js +24 -1
- package/es/empty/empty.js +18 -0
- package/es/form/form-item.vue_vue_type_script_lang.js +146 -3
- package/es/form/form.vue_vue_type_script_lang.js +108 -0
- package/es/grid/grid-col.vue_vue_type_script_lang.js +42 -1
- package/es/grid/grid-item.vue_vue_type_script_lang.js +13 -1
- package/es/grid/grid-row.vue_vue_type_script_lang.js +21 -0
- package/es/grid/grid.vue_vue_type_script_lang.js +20 -0
- package/es/icon.js +5 -5
- package/es/image/image.js +1 -1
- package/es/image/image.vue_vue_type_script_lang.js +82 -0
- package/es/image/preview-action.js +8 -0
- package/es/image/preview-group.js +1 -1
- package/es/image/preview-group.vue_vue_type_script_lang.js +48 -0
- package/es/image/preview-toolbar.vue_vue_type_script_lang.js +1 -0
- package/es/image/preview.vue_vue_type_script_lang.js +56 -1
- package/es/index.css +177 -6
- package/es/index.d.ts +9 -1
- package/es/index.js +6 -2
- package/es/index.scss +4 -0
- package/es/input/input-password.vue_vue_type_script_lang.js +13 -0
- package/es/input/input-search.js +35 -1
- package/es/input/input.js +129 -1
- package/es/input-number/index.d.ts +35 -23
- package/es/input-number/input-number.d.ts +19 -10
- package/es/input-number/input-number.js +205 -23
- package/es/input-tag/input-tag.js +137 -1
- package/es/input-tag/style/index.css +13 -6
- package/es/input-tag/utils.js +1 -1
- package/es/layout/content.js +5 -0
- package/es/layout/footer.js +5 -0
- package/es/layout/header.js +5 -0
- package/es/layout/layout.vue_vue_type_script_lang.js +6 -1
- package/es/layout/sider.vue_vue_type_script_lang.js +46 -0
- package/es/link/index.d.ts +44 -564
- package/es/link/interface.d.ts +15 -0
- package/es/link/link.js +2 -17
- package/es/link/link.vue.d.ts +31 -286
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +112 -0
- package/es/link/style/index.css +6 -0
- package/es/link/style/index.scss +10 -0
- package/es/list/list-item-meta.vue_vue_type_script_lang.js +23 -0
- package/es/list/list-item.js +21 -1
- package/es/list/list.js +104 -2
- package/es/mention/mention.js +87 -1
- package/es/menu/base-menu.vue_vue_type_script_lang.js +102 -0
- package/es/menu/item-group.vue_vue_type_script_lang.js +11 -1
- package/es/menu/item.d.ts +1 -1
- package/es/menu/item.js +13 -2
- package/es/menu/menu.js +2 -1
- package/es/menu/sub-menu-pop.vue.d.ts +1 -1
- package/es/menu/sub-menu.js +40 -1
- package/es/message/index.js +1 -1
- package/es/modal/index.js +2 -2
- package/es/modal/modal.vue_vue_type_script_lang.js +193 -2
- package/es/notification/index.js +1 -1
- package/es/overflow-list/overflow-list.js +25 -1
- package/es/page-header/page-header.vue_vue_type_script_lang.js +38 -0
- package/es/pagination/page-jumper.vue.d.ts +35 -22
- package/es/pagination/pagination.js +122 -0
- package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +95 -1
- package/es/popover/popover.vue_vue_type_script_lang.js +62 -0
- package/es/progress/line.vue_vue_type_script_lang.js +1 -1
- package/es/progress/progress.vue_vue_type_script_lang.js +48 -0
- package/es/radio/radio-group.js +53 -0
- package/es/radio/radio.js +36 -0
- package/es/rate/rate.js +54 -0
- package/es/resize-box/resize-box.vue_vue_type_script_lang.js +47 -1
- package/es/result/result.vue_vue_type_script_lang.js +40 -0
- package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +108 -2
- package/es/sd-vue.js +10 -2
- package/es/secret/index.d.ts +48 -0
- package/es/secret/index.js +10 -0
- package/es/secret/secret.js +5 -0
- package/es/secret/secret.vue.d.ts +17 -0
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +64 -0
- package/es/secret/style/css.js +2 -0
- package/es/secret/style/index.css +54 -0
- package/es/secret/style/index.d.ts +2 -0
- package/es/secret/style/index.js +2 -0
- package/es/secret/style/index.scss +48 -0
- package/es/secret/style/token.scss +9 -0
- package/es/select/hooks/use-options.js +1 -1
- package/es/select/optgroup.vue_vue_type_script_lang.js +12 -1
- package/es/select/option.vue_vue_type_script_lang.js +27 -0
- package/es/select/select.js +8 -6
- package/es/select/utils.js +1 -1
- package/es/skeleton/line.vue_vue_type_script_lang.js +16 -0
- package/es/skeleton/shape.vue_vue_type_script_lang.js +10 -0
- package/es/skeleton/skeleton.vue_vue_type_script_lang.js +8 -0
- package/es/slider/index.d.ts +66 -42
- package/es/slider/slider-input.vue.d.ts +33 -21
- package/es/slider/slider.vue.d.ts +33 -21
- package/es/slider/slider.vue_vue_type_script_lang.js +55 -0
- package/es/space/space.js +27 -0
- package/es/spin/spin.js +35 -0
- package/es/split/split.vue_vue_type_script_lang.js +62 -1
- package/es/statistic/countdown.vue_vue_type_script_lang.js +36 -1
- package/es/statistic/statistic.vue_vue_type_script_lang.js +74 -0
- package/es/steps/step.vue_vue_type_script_lang.js +36 -0
- package/es/steps/steps.vue_vue_type_script_lang.js +47 -0
- package/es/switch/switch.vue_vue_type_script_lang.js +98 -1
- package/es/table/table-column.js +115 -0
- package/es/table/table-operation-td.js +1 -1
- package/es/table/table-operation-th.js +1 -1
- package/es/table/table-td.js +1 -1
- package/es/table/table-th.js +1 -1
- package/es/table/table.js +442 -3
- package/es/table/utils.js +1 -1
- package/es/tabs/tab-pane.vue_vue_type_script_lang.js +23 -1
- package/es/tabs/tabs.js +104 -0
- package/es/tag/index.d.ts +29237 -74
- package/es/tag/interface.d.ts +9 -1
- package/es/tag/style/index.css +13 -6
- package/es/tag/style/index.scss +16 -4
- package/es/tag/tag.js +26 -5
- package/es/tag/tag.vue.d.ts +11688 -7
- package/es/tag/tag.vue_vue_type_script_lang.js +139 -3
- package/es/tag-group/index.d.ts +64 -0
- package/es/tag-group/index.js +10 -0
- package/es/tag-group/interface.d.ts +18 -0
- package/es/tag-group/style/css.js +2 -0
- package/es/tag-group/style/index.css +92 -0
- package/es/tag-group/style/index.d.ts +2 -0
- package/es/tag-group/style/index.js +2 -0
- package/es/tag-group/style/index.scss +108 -0
- package/es/tag-group/style/token.scss +6 -0
- package/es/tag-group/tag-group.js +5 -0
- package/es/tag-group/tag-group.vue.d.ts +46 -0
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +360 -0
- package/es/textarea/textarea.vue_vue_type_script_lang.js +90 -1
- package/es/time-picker/range-panel.js +1 -1
- package/es/time-picker/time-picker.js +1 -1
- package/es/time-picker/time-picker.vue_vue_type_script_lang.js +132 -0
- package/es/timeline/item.vue_vue_type_script_lang.js +38 -1
- package/es/timeline/timeline.js +28 -0
- package/es/tooltip/tooltip.vue_vue_type_script_lang.js +61 -1
- package/es/transfer/transfer.vue_vue_type_script_lang.js +136 -0
- package/es/tree/base-node.vue_vue_type_script_lang.js +7 -0
- package/es/tree/node.js +1 -1
- package/es/tree/tree.vue_vue_type_script_lang.js +287 -2
- package/es/tree/utils/tree-data.js +1 -1
- package/es/tree-select/hooks/use-selected-state.js +1 -1
- package/es/tree-select/panel.js +1 -1
- package/es/tree-select/tree-select.js +1 -1
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +281 -8
- package/es/trigger/trigger.js +161 -1
- package/es/trigger/utils.js +1 -1
- package/es/typography/base.d.ts +7 -0
- package/es/typography/base.js +127 -3
- package/es/typography/interface.d.ts +2 -0
- package/es/typography/operations.js +30 -0
- package/es/typography/paragraph.js +8 -0
- package/es/typography/title.js +6 -1
- package/es/upload/upload.js +279 -2
- package/es/verification-code/verification-code.js +59 -0
- package/es/watermark/hooks/use-mutation-observer.js +1 -1
- package/es/watermark/watermark.js +58 -1
- package/es/web-vue.css +24 -24
- package/json/vetur-attributes.json +134 -218
- package/json/vetur-tags.json +58 -67
- package/json/web-types.json +304 -493
- package/package.json +9 -7
- package/es/_utils/clipboard.d.ts +0 -1
- package/es/_utils/clipboard.js +0 -35
- package/es/link/link.vue_vue_type_script_lang.js +0 -56
|
@@ -28,38 +28,100 @@ var image_vue_vue_type_script_lang_default = defineComponent({
|
|
|
28
28
|
type: Boolean,
|
|
29
29
|
default: true
|
|
30
30
|
},
|
|
31
|
+
/**
|
|
32
|
+
* @zh 图片获取地址
|
|
33
|
+
* @en Image src
|
|
34
|
+
*/
|
|
31
35
|
src: { type: String },
|
|
36
|
+
/**
|
|
37
|
+
* @zh 图片显示宽度
|
|
38
|
+
* @en Image width
|
|
39
|
+
*/
|
|
32
40
|
width: { type: [String, Number] },
|
|
41
|
+
/**
|
|
42
|
+
* @zh 图片显示高度
|
|
43
|
+
* @en Image height
|
|
44
|
+
*/
|
|
33
45
|
height: { type: [String, Number] },
|
|
46
|
+
/**
|
|
47
|
+
* @zh 标题
|
|
48
|
+
* @en Title
|
|
49
|
+
*/
|
|
34
50
|
title: { type: String },
|
|
51
|
+
/**
|
|
52
|
+
* @zh 描述,将显示在底部,如果 alt 没有值,则会将其设置给 alt
|
|
53
|
+
* @en Description, will be displayed at the bottom. if alt has no value, it will be set to alt
|
|
54
|
+
*/
|
|
35
55
|
description: { type: String },
|
|
56
|
+
/**
|
|
57
|
+
* @zh 确定图片如何适应容器框
|
|
58
|
+
* @en indicate how the image should be resized to fit its container
|
|
59
|
+
*/
|
|
36
60
|
fit: { type: String },
|
|
61
|
+
/**
|
|
62
|
+
* @zh 图片的文字描述
|
|
63
|
+
* @en Text description of the image
|
|
64
|
+
*/
|
|
37
65
|
alt: { type: String },
|
|
66
|
+
/**
|
|
67
|
+
* @zh 是否隐藏 footer(2.36.0 版本支持 'never' 参数,支持在加载错误时显示底部内容)
|
|
68
|
+
* @en Whether to hide footer (Version 2.36.0 supports the 'never' parameter, which supports displaying bottom content when loading errors)
|
|
69
|
+
*/
|
|
38
70
|
hideFooter: {
|
|
39
71
|
type: [Boolean, String],
|
|
40
72
|
default: false
|
|
41
73
|
},
|
|
74
|
+
/**
|
|
75
|
+
* @zh 底部显示的位置
|
|
76
|
+
* @en The position shown at the bottom
|
|
77
|
+
*/
|
|
42
78
|
footerPosition: {
|
|
43
79
|
type: String,
|
|
44
80
|
default: "inner"
|
|
45
81
|
},
|
|
82
|
+
/**
|
|
83
|
+
* @zh 是否显示加载中效果
|
|
84
|
+
* @en Whether to show the loading effect
|
|
85
|
+
*/
|
|
46
86
|
showLoader: {
|
|
47
87
|
type: Boolean,
|
|
48
88
|
default: false
|
|
49
89
|
},
|
|
90
|
+
/**
|
|
91
|
+
* @zh 是否开启预览
|
|
92
|
+
* @en Whether to enable preview
|
|
93
|
+
*/
|
|
50
94
|
preview: {
|
|
51
95
|
type: Boolean,
|
|
52
96
|
default: true
|
|
53
97
|
},
|
|
98
|
+
/**
|
|
99
|
+
* @zh 控制预览的打开状态,可与 previewVisibleChange 配合使用
|
|
100
|
+
* @en Control the open state of the preview, can be used in conjunction with previewVisibleChange
|
|
101
|
+
* @vModel
|
|
102
|
+
*/
|
|
54
103
|
previewVisible: {
|
|
55
104
|
type: Boolean,
|
|
56
105
|
default: void 0
|
|
57
106
|
},
|
|
107
|
+
/**
|
|
108
|
+
* @zh 预览的默认打开状态
|
|
109
|
+
* @en The default open state of the preview
|
|
110
|
+
*/
|
|
58
111
|
defaultPreviewVisible: {
|
|
59
112
|
type: Boolean,
|
|
60
113
|
default: false
|
|
61
114
|
},
|
|
115
|
+
/**
|
|
116
|
+
* @zh 预览的配置项(所有选项都是可选的) [ImagePreviewProps](#image-preview%20Props)
|
|
117
|
+
* @en Preview configuration items (all options are optional) [ImagePreviewProps](#image-preview%20Props)
|
|
118
|
+
*/
|
|
62
119
|
previewProps: { type: Object },
|
|
120
|
+
/**
|
|
121
|
+
* @zh 底部显示区域的类名
|
|
122
|
+
* @en The class name of the bottom display area
|
|
123
|
+
* @version 2.23.0
|
|
124
|
+
*/
|
|
63
125
|
footerClass: { type: [
|
|
64
126
|
String,
|
|
65
127
|
Array,
|
|
@@ -67,6 +129,26 @@ var image_vue_vue_type_script_lang_default = defineComponent({
|
|
|
67
129
|
] }
|
|
68
130
|
},
|
|
69
131
|
emits: ["preview-visible-change", "update:previewVisible"],
|
|
132
|
+
/**
|
|
133
|
+
* @zh 自定义错误状态的图标
|
|
134
|
+
* @en Customize the icon of error content.
|
|
135
|
+
* @slot error-icon
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* @zh 自定义错误状态内容
|
|
139
|
+
* @en Customize error content.
|
|
140
|
+
* @slot error
|
|
141
|
+
*/
|
|
142
|
+
/**
|
|
143
|
+
* @zh 自定义加载状态效果
|
|
144
|
+
* @en Customize loading effect.
|
|
145
|
+
* @slot loader
|
|
146
|
+
*/
|
|
147
|
+
/**
|
|
148
|
+
* @zh 底部额外内容
|
|
149
|
+
* @en Extra content at the bottom
|
|
150
|
+
* @slot extra
|
|
151
|
+
*/
|
|
70
152
|
setup(props, { attrs, slots, emit }) {
|
|
71
153
|
const { t } = useI18n();
|
|
72
154
|
const { height, width, hideFooter, title, description, src, footerPosition, defaultPreviewVisible, previewVisible, preview, previewProps } = toRefs(props);
|
|
@@ -13,7 +13,15 @@ var preview_action_default = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
components: { Tooltip },
|
|
14
14
|
inheritAttrs: false,
|
|
15
15
|
props: {
|
|
16
|
+
/**
|
|
17
|
+
* @zh 名称
|
|
18
|
+
* @en the name of the action
|
|
19
|
+
*/
|
|
16
20
|
name: { type: String },
|
|
21
|
+
/**
|
|
22
|
+
* @zh 是否禁用
|
|
23
|
+
* @en Whether to disable the action
|
|
24
|
+
*/
|
|
17
25
|
disabled: { type: Boolean }
|
|
18
26
|
},
|
|
19
27
|
setup(props, { slots, attrs }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
2
2
|
import _plugin_vue_export_helper_default from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
import preview_group_vue_vue_type_script_lang_default from "./preview-group.vue_vue_type_script_lang.js";
|
|
4
4
|
import { Fragment, createElementBlock, createSlots, createVNode, mergeProps, openBlock, renderSlot, resolveComponent, withCtx } from "vue";
|
|
@@ -13,32 +13,70 @@ var preview_group_vue_vue_type_script_lang_default = /* @__PURE__ */ defineCompo
|
|
|
13
13
|
type: Boolean,
|
|
14
14
|
default: true
|
|
15
15
|
},
|
|
16
|
+
/**
|
|
17
|
+
* @zh 图片列表(设置了本属性之后,将不再收集 a-image 子组件的图片信息)
|
|
18
|
+
* @en Picture list (after setting this property, the picture information of a-image subcomponent will no longer be collected)
|
|
19
|
+
*/
|
|
16
20
|
srcList: { type: Array },
|
|
21
|
+
/**
|
|
22
|
+
* @zh 当前展示的图片的下标
|
|
23
|
+
* @en The index of the currently displayed image
|
|
24
|
+
* @vModel
|
|
25
|
+
*/
|
|
17
26
|
current: { type: Number },
|
|
27
|
+
/**
|
|
28
|
+
* @zh 第一张展示的图片的下标
|
|
29
|
+
* @en The index of the first image shown
|
|
30
|
+
*/
|
|
18
31
|
defaultCurrent: {
|
|
19
32
|
type: Number,
|
|
20
33
|
default: 0
|
|
21
34
|
},
|
|
35
|
+
/**
|
|
36
|
+
* @zh 是否无限循环
|
|
37
|
+
* @en Whether to loop infinitely
|
|
38
|
+
*/
|
|
22
39
|
infinite: {
|
|
23
40
|
type: Boolean,
|
|
24
41
|
default: false
|
|
25
42
|
},
|
|
43
|
+
/**
|
|
44
|
+
* @zh 是否可见,受控属性
|
|
45
|
+
* @en Whether is visible
|
|
46
|
+
* @vModel
|
|
47
|
+
*/
|
|
26
48
|
visible: {
|
|
27
49
|
type: Boolean,
|
|
28
50
|
default: void 0
|
|
29
51
|
},
|
|
52
|
+
/**
|
|
53
|
+
* @zh 默认是否可见,非受控
|
|
54
|
+
* @en Default visibility
|
|
55
|
+
*/
|
|
30
56
|
defaultVisible: {
|
|
31
57
|
type: Boolean,
|
|
32
58
|
default: false
|
|
33
59
|
},
|
|
60
|
+
/**
|
|
61
|
+
* @zh 点击 mask 是否触发关闭
|
|
62
|
+
* @en Whether to close the modal when mask is clicked
|
|
63
|
+
*/
|
|
34
64
|
maskClosable: {
|
|
35
65
|
type: Boolean,
|
|
36
66
|
default: true
|
|
37
67
|
},
|
|
68
|
+
/**
|
|
69
|
+
* @zh 是否显示关闭按钮
|
|
70
|
+
* @en Whether to show close button
|
|
71
|
+
*/
|
|
38
72
|
closable: {
|
|
39
73
|
type: Boolean,
|
|
40
74
|
default: true
|
|
41
75
|
},
|
|
76
|
+
/**
|
|
77
|
+
* @zh 控制条的布局
|
|
78
|
+
* @en Layout of action list
|
|
79
|
+
*/
|
|
42
80
|
actionsLayout: {
|
|
43
81
|
type: Array,
|
|
44
82
|
default: () => [
|
|
@@ -50,6 +88,10 @@ var preview_group_vue_vue_type_script_lang_default = /* @__PURE__ */ defineCompo
|
|
|
50
88
|
"originalSize"
|
|
51
89
|
]
|
|
52
90
|
},
|
|
91
|
+
/**
|
|
92
|
+
* @zh 设置弹出框的挂载点,同 `teleport` 的 `to`,缺省值是 document.body
|
|
93
|
+
* @en Set the mount point of the pop-up box, the same as the `to` of `teleport`, the default value is document.body
|
|
94
|
+
*/
|
|
53
95
|
popupContainer: { type: [String, Object] }
|
|
54
96
|
},
|
|
55
97
|
emits: [
|
|
@@ -58,6 +100,12 @@ var preview_group_vue_vue_type_script_lang_default = /* @__PURE__ */ defineCompo
|
|
|
58
100
|
"visible-change",
|
|
59
101
|
"update:visible"
|
|
60
102
|
],
|
|
103
|
+
/**
|
|
104
|
+
* @zh 自定义额外的操作项
|
|
105
|
+
* @en Customize additional action items
|
|
106
|
+
* @slot actions
|
|
107
|
+
* @version 2.46.0
|
|
108
|
+
*/
|
|
61
109
|
setup(props, { emit }) {
|
|
62
110
|
const { srcList, visible, defaultVisible, current, defaultCurrent, infinite } = toRefs(props);
|
|
63
111
|
const [mergedVisible, setLocalVisible] = useMergeState(defaultVisible.value, reactive({ value: visible }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { off, on } from "../_utils/dom.js";
|
|
4
4
|
import { throttleByRaf } from "../_utils/throttle-by-raf.js";
|
|
@@ -37,23 +37,48 @@ var preview_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
type: Boolean,
|
|
38
38
|
default: true
|
|
39
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* @zh 图片获取地址
|
|
42
|
+
* @en Image src
|
|
43
|
+
*/
|
|
40
44
|
src: { type: String },
|
|
45
|
+
/**
|
|
46
|
+
* @zh 是否可见
|
|
47
|
+
* @en Whether is visible
|
|
48
|
+
* @vModel
|
|
49
|
+
*/
|
|
41
50
|
visible: {
|
|
42
51
|
type: Boolean,
|
|
43
52
|
default: void 0
|
|
44
53
|
},
|
|
54
|
+
/**
|
|
55
|
+
* @zh 默认是否可见,非受控
|
|
56
|
+
* @en Default visibility
|
|
57
|
+
*/
|
|
45
58
|
defaultVisible: {
|
|
46
59
|
type: Boolean,
|
|
47
60
|
default: false
|
|
48
61
|
},
|
|
62
|
+
/**
|
|
63
|
+
* @zh 点击 mask 是否触发关闭
|
|
64
|
+
* @en Whether to close the modal when mask is clicked
|
|
65
|
+
*/
|
|
49
66
|
maskClosable: {
|
|
50
67
|
type: Boolean,
|
|
51
68
|
default: true
|
|
52
69
|
},
|
|
70
|
+
/**
|
|
71
|
+
* @zh 是否显示关闭按钮
|
|
72
|
+
* @en Whether to show close button
|
|
73
|
+
*/
|
|
53
74
|
closable: {
|
|
54
75
|
type: Boolean,
|
|
55
76
|
default: true
|
|
56
77
|
},
|
|
78
|
+
/**
|
|
79
|
+
* @zh 操作项的布局
|
|
80
|
+
* @en Layout of action list
|
|
81
|
+
*/
|
|
57
82
|
actionsLayout: {
|
|
58
83
|
type: Array,
|
|
59
84
|
default: () => [
|
|
@@ -65,6 +90,10 @@ var preview_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
|
|
|
65
90
|
"originalSize"
|
|
66
91
|
]
|
|
67
92
|
},
|
|
93
|
+
/**
|
|
94
|
+
* @zh 设置弹出框的挂载点,同 `teleport` 的 `to`,缺省值是 document.body
|
|
95
|
+
* @en Set the mount point of the pop-up box, the same as the `to` of `teleport`, the default value is document.body
|
|
96
|
+
*/
|
|
68
97
|
popupContainer: { type: [Object, String] },
|
|
69
98
|
inGroup: {
|
|
70
99
|
type: Boolean,
|
|
@@ -74,28 +103,54 @@ var preview_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
|
|
|
74
103
|
type: Object,
|
|
75
104
|
default: () => ({})
|
|
76
105
|
},
|
|
106
|
+
/**
|
|
107
|
+
* @zh 是否支持 ESC 键关闭预览
|
|
108
|
+
* @en Whether to support the ESC key to close the preview
|
|
109
|
+
*/
|
|
77
110
|
escToClose: {
|
|
78
111
|
type: Boolean,
|
|
79
112
|
default: true
|
|
80
113
|
},
|
|
114
|
+
/**
|
|
115
|
+
* @zh 是否开启滚轮缩放
|
|
116
|
+
* @en Whether to enable wheel zoom
|
|
117
|
+
*/
|
|
81
118
|
wheelZoom: {
|
|
82
119
|
type: Boolean,
|
|
83
120
|
default: true
|
|
84
121
|
},
|
|
122
|
+
/**
|
|
123
|
+
* @zh 是否开启键盘控制
|
|
124
|
+
* @en Whether to enable keyboard shortcuts
|
|
125
|
+
*/
|
|
85
126
|
keyboard: {
|
|
86
127
|
type: Boolean,
|
|
87
128
|
default: true
|
|
88
129
|
},
|
|
130
|
+
/**
|
|
131
|
+
* @zh 默认缩放比
|
|
132
|
+
* @en Default scale
|
|
133
|
+
*/
|
|
89
134
|
defaultScale: {
|
|
90
135
|
type: Number,
|
|
91
136
|
default: 1
|
|
92
137
|
},
|
|
138
|
+
/**
|
|
139
|
+
* @zh 缩放速率,仅对滚动缩放生效
|
|
140
|
+
* @en Zoom rate, only for scroll zoom
|
|
141
|
+
*/
|
|
93
142
|
zoomRate: {
|
|
94
143
|
type: Number,
|
|
95
144
|
default: 1.1
|
|
96
145
|
}
|
|
97
146
|
},
|
|
98
147
|
emits: ["close", "update:visible"],
|
|
148
|
+
/**
|
|
149
|
+
* @zh 自定义额外的操作项
|
|
150
|
+
* @en Customize additional action items
|
|
151
|
+
* @slot actions
|
|
152
|
+
* @version 2.17.0
|
|
153
|
+
*/
|
|
99
154
|
setup(props, { emit }) {
|
|
100
155
|
const { t } = useI18n();
|
|
101
156
|
const { src, popupContainer, visible, defaultVisible, maskClosable, actionsLayout, defaultScale, zoomRate } = toRefs(props);
|
package/es/index.css
CHANGED
|
@@ -1253,12 +1253,10 @@ body {
|
|
|
1253
1253
|
font-weight: 500;
|
|
1254
1254
|
font-size: 12px;
|
|
1255
1255
|
line-height: 22px;
|
|
1256
|
+
white-space: nowrap;
|
|
1256
1257
|
vertical-align: middle;
|
|
1257
1258
|
border: 1px solid transparent;
|
|
1258
1259
|
border-radius: var(--border-radius-small);
|
|
1259
|
-
overflow: hidden;
|
|
1260
|
-
white-space: nowrap;
|
|
1261
|
-
text-overflow: ellipsis;
|
|
1262
1260
|
}
|
|
1263
1261
|
.sd-tag .sd-icon-hover.sd-tag-icon-hover::before {
|
|
1264
1262
|
width: 16px;
|
|
@@ -1313,9 +1311,18 @@ body {
|
|
|
1313
1311
|
color: var(--color-text-2);
|
|
1314
1312
|
}
|
|
1315
1313
|
.sd-tag-text {
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1314
|
+
min-width: 0;
|
|
1315
|
+
max-width: 100%;
|
|
1316
|
+
}
|
|
1317
|
+
.sd-tag-ellipsis-line-clamp {
|
|
1318
|
+
height: auto;
|
|
1319
|
+
}
|
|
1320
|
+
.sd-tag-no-ellipsis {
|
|
1321
|
+
min-width: fit-content;
|
|
1322
|
+
}
|
|
1323
|
+
.sd-tag-no-ellipsis .sd-tag-text {
|
|
1324
|
+
min-width: fit-content;
|
|
1325
|
+
max-width: none;
|
|
1319
1326
|
}
|
|
1320
1327
|
.sd-tag .sd-tag.sd-tag-checked.sd-tag-red {
|
|
1321
1328
|
color: rgb(var(--red-6));
|
|
@@ -4258,6 +4265,82 @@ body {
|
|
|
4258
4265
|
resize: vertical;
|
|
4259
4266
|
}
|
|
4260
4267
|
|
|
4268
|
+
.sd-tag-group {
|
|
4269
|
+
position: relative;
|
|
4270
|
+
display: inline-flex;
|
|
4271
|
+
min-width: 0;
|
|
4272
|
+
max-width: 100%;
|
|
4273
|
+
vertical-align: middle;
|
|
4274
|
+
}
|
|
4275
|
+
.sd-tag-group-responsive {
|
|
4276
|
+
display: block;
|
|
4277
|
+
width: 100%;
|
|
4278
|
+
}
|
|
4279
|
+
.sd-tag-group-inner, .sd-tag-group-popover {
|
|
4280
|
+
display: inline-flex;
|
|
4281
|
+
gap: 4px;
|
|
4282
|
+
align-items: center;
|
|
4283
|
+
min-width: 0;
|
|
4284
|
+
margin: 0;
|
|
4285
|
+
padding: 0;
|
|
4286
|
+
list-style: none;
|
|
4287
|
+
}
|
|
4288
|
+
.sd-tag-group-responsive .sd-tag-group-inner {
|
|
4289
|
+
display: flex;
|
|
4290
|
+
width: 100%;
|
|
4291
|
+
}
|
|
4292
|
+
.sd-tag-group-popover {
|
|
4293
|
+
flex-wrap: wrap;
|
|
4294
|
+
max-width: 320px;
|
|
4295
|
+
}
|
|
4296
|
+
.sd-tag-group-item {
|
|
4297
|
+
display: inline-flex;
|
|
4298
|
+
flex: 0 1 auto;
|
|
4299
|
+
min-width: 0;
|
|
4300
|
+
max-width: 100%;
|
|
4301
|
+
}
|
|
4302
|
+
.sd-tag-group-item-counter > .sd-tag {
|
|
4303
|
+
cursor: pointer;
|
|
4304
|
+
}
|
|
4305
|
+
.sd-tag-group-item-content {
|
|
4306
|
+
max-width: 100%;
|
|
4307
|
+
}
|
|
4308
|
+
.sd-tag-group-counter-content {
|
|
4309
|
+
max-width: 100%;
|
|
4310
|
+
}
|
|
4311
|
+
.sd-tag-group-item-content-overflow {
|
|
4312
|
+
min-width: 0;
|
|
4313
|
+
}
|
|
4314
|
+
.sd-tag-group-item-content > .sd-tag, .sd-tag-group-counter-content > .sd-tag, .sd-tag-group-item-content > .sd-link, .sd-tag-group-counter-content > .sd-link, .sd-tag-group-item-content > a, .sd-tag-group-counter-content > a, .sd-tag-group-item-content > span, .sd-tag-group-counter-content > span {
|
|
4315
|
+
max-width: 100%;
|
|
4316
|
+
}
|
|
4317
|
+
.sd-tag-group-item-ellipsis {
|
|
4318
|
+
max-width: 100%;
|
|
4319
|
+
}
|
|
4320
|
+
.sd-tag-group-measure {
|
|
4321
|
+
position: absolute;
|
|
4322
|
+
top: 0;
|
|
4323
|
+
left: 0;
|
|
4324
|
+
z-index: -1;
|
|
4325
|
+
display: inline-flex;
|
|
4326
|
+
gap: 4px;
|
|
4327
|
+
align-items: center;
|
|
4328
|
+
height: 0;
|
|
4329
|
+
overflow: hidden;
|
|
4330
|
+
white-space: nowrap;
|
|
4331
|
+
visibility: hidden;
|
|
4332
|
+
pointer-events: none;
|
|
4333
|
+
}
|
|
4334
|
+
.sd-tag-group-measure .sd-tag-group-item {
|
|
4335
|
+
flex: 0 0 auto;
|
|
4336
|
+
max-width: none;
|
|
4337
|
+
}
|
|
4338
|
+
.sd-tag-group-resize-observer {
|
|
4339
|
+
position: absolute;
|
|
4340
|
+
inset: 0;
|
|
4341
|
+
pointer-events: none;
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4261
4344
|
.sd-icon-hover.sd-tabs-icon-hover::before {
|
|
4262
4345
|
width: 16px;
|
|
4263
4346
|
height: 16px;
|
|
@@ -7303,6 +7386,44 @@ body {
|
|
|
7303
7386
|
border-top: 1px solid var(--color-fill-3);
|
|
7304
7387
|
}
|
|
7305
7388
|
|
|
7389
|
+
.sd-secret {
|
|
7390
|
+
display: inline-flex;
|
|
7391
|
+
gap: 6px;
|
|
7392
|
+
align-items: center;
|
|
7393
|
+
min-width: 0;
|
|
7394
|
+
max-width: 100%;
|
|
7395
|
+
overflow: hidden;
|
|
7396
|
+
white-space: nowrap;
|
|
7397
|
+
}
|
|
7398
|
+
.sd-secret-content {
|
|
7399
|
+
flex: 1 1 auto;
|
|
7400
|
+
min-width: 0;
|
|
7401
|
+
}
|
|
7402
|
+
.sd-secret-placeholder {
|
|
7403
|
+
overflow: hidden;
|
|
7404
|
+
color: var(--color-text-3);
|
|
7405
|
+
white-space: nowrap;
|
|
7406
|
+
text-overflow: ellipsis;
|
|
7407
|
+
}
|
|
7408
|
+
.sd-secret-trigger {
|
|
7409
|
+
display: inline-flex;
|
|
7410
|
+
flex: none;
|
|
7411
|
+
align-items: center;
|
|
7412
|
+
justify-content: center;
|
|
7413
|
+
padding: 0;
|
|
7414
|
+
color: var(--color-text-3);
|
|
7415
|
+
background: transparent;
|
|
7416
|
+
border: 0;
|
|
7417
|
+
border-radius: var(--border-radius-small);
|
|
7418
|
+
cursor: pointer;
|
|
7419
|
+
}
|
|
7420
|
+
.sd-secret-trigger .sd-icon {
|
|
7421
|
+
font-size: 16px;
|
|
7422
|
+
}
|
|
7423
|
+
.sd-secret-trigger:hover {
|
|
7424
|
+
color: var(--color-text-1);
|
|
7425
|
+
}
|
|
7426
|
+
|
|
7306
7427
|
.sd-scrollbar {
|
|
7307
7428
|
position: relative;
|
|
7308
7429
|
width: 100%;
|
|
@@ -9763,6 +9884,12 @@ body {
|
|
|
9763
9884
|
font-size: 12px;
|
|
9764
9885
|
vertical-align: middle;
|
|
9765
9886
|
}
|
|
9887
|
+
.sd-link-content {
|
|
9888
|
+
min-width: 0;
|
|
9889
|
+
}
|
|
9890
|
+
.sd-link.sd-link-icon-only .sd-link-icon {
|
|
9891
|
+
margin-right: 0;
|
|
9892
|
+
}
|
|
9766
9893
|
|
|
9767
9894
|
.sd-layout {
|
|
9768
9895
|
display: flex;
|
|
@@ -14212,6 +14339,41 @@ body {
|
|
|
14212
14339
|
color: rgb(var(--primary-6));
|
|
14213
14340
|
}
|
|
14214
14341
|
|
|
14342
|
+
.sd-cropper {
|
|
14343
|
+
position: relative;
|
|
14344
|
+
display: block;
|
|
14345
|
+
width: var(--sd-cropper-width, 100%);
|
|
14346
|
+
min-width: 200px;
|
|
14347
|
+
height: var(--sd-cropper-height, 100%);
|
|
14348
|
+
min-height: 120px;
|
|
14349
|
+
overflow: hidden;
|
|
14350
|
+
background-color: var(--color-neutral-2);
|
|
14351
|
+
border: 1px solid var(--color-neutral-3);
|
|
14352
|
+
border-radius: 4px;
|
|
14353
|
+
}
|
|
14354
|
+
.sd-cropper-source-image {
|
|
14355
|
+
display: block;
|
|
14356
|
+
width: 100%;
|
|
14357
|
+
max-width: 100%;
|
|
14358
|
+
height: auto;
|
|
14359
|
+
opacity: 0;
|
|
14360
|
+
pointer-events: none;
|
|
14361
|
+
}
|
|
14362
|
+
.sd-cropper cropper-canvas {
|
|
14363
|
+
width: var(--sd-cropper-width, 100%);
|
|
14364
|
+
height: var(--sd-cropper-height, 100%);
|
|
14365
|
+
background-color: var(--color-neutral-2);
|
|
14366
|
+
}
|
|
14367
|
+
.sd-cropper cropper-image,
|
|
14368
|
+
.sd-cropper cropper-selection,
|
|
14369
|
+
.sd-cropper cropper-handle,
|
|
14370
|
+
.sd-cropper cropper-grid,
|
|
14371
|
+
.sd-cropper cropper-shade,
|
|
14372
|
+
.sd-cropper cropper-viewer,
|
|
14373
|
+
.sd-cropper cropper-crosshair {
|
|
14374
|
+
color: rgb(var(--primary-6));
|
|
14375
|
+
}
|
|
14376
|
+
|
|
14215
14377
|
.sd-comment {
|
|
14216
14378
|
display: flex;
|
|
14217
14379
|
flex-wrap: nowrap;
|
|
@@ -14263,6 +14425,15 @@ body {
|
|
|
14263
14425
|
justify-content: flex-end;
|
|
14264
14426
|
}
|
|
14265
14427
|
|
|
14428
|
+
.sd-copy {
|
|
14429
|
+
border-radius: 2px;
|
|
14430
|
+
}
|
|
14431
|
+
.sd-copy.sd-copy-inherit {
|
|
14432
|
+
color: inherit;
|
|
14433
|
+
font: inherit;
|
|
14434
|
+
line-height: inherit;
|
|
14435
|
+
}
|
|
14436
|
+
|
|
14266
14437
|
.sd-color-picker {
|
|
14267
14438
|
display: inline-flex;
|
|
14268
14439
|
align-items: center;
|
package/es/index.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ export { default as ConfigProvider } from './config-provider';
|
|
|
39
39
|
export type { ConfigProviderInstance, SDThemeConfig, SDThemeMeta, SDThemeMode, ThemeTokenMap, ThemeTokenValue, } from './config-provider';
|
|
40
40
|
export { default as ThemeProvider } from './theme-provider';
|
|
41
41
|
export type { ThemeProviderInstance } from './theme-provider';
|
|
42
|
+
export { default as Copy } from './copy';
|
|
43
|
+
export type { CopyButtonProps, CopyComponentType, CopyInstance, CopyLinkProps, CopyProps, } from './copy';
|
|
44
|
+
export { default as Cropper } from './cropper';
|
|
45
|
+
export type { CropperCanvasProps, CropperExpose, CropperImageProps, CropperImageTransformDetail, CropperInstance, CropperProps, CropperSelectionChangeDetail, CropperSelectionProps, } from './cropper';
|
|
42
46
|
export { default as DatePicker, MonthPicker, QuarterPicker, WeekPicker, YearPicker, RangePicker, } from './date-picker';
|
|
43
47
|
export type { CalendarValue, DatePickerChangeHandler, DatePickerInstance, DatePickerOkHandler, DatePickerProps, DatePickerSelectHandler, DisabledDate, DisabledTime, DisabledTimeProps, FormatFunc, MonthPickerProps, MonthPickerInstance, PickerProps, QuarterPickerProps, QuarterPickerInstance, RangeDisabledDate, RangeDisabledTime, RangePickerChangeHandler, RangePickerInstance, RangePickerOkHandler, RangePickerProps, RangePickerSelectHandler, ShortcutType, ValueFormat, WeekPickerProps, WeekPickerInstance, YearPickerProps, YearPickerInstance, } from './date-picker';
|
|
44
48
|
export { default as Descriptions, DescriptionsItem } from './descriptions';
|
|
@@ -69,7 +73,7 @@ export type { InputTagFieldNames, InputTagInstance, TagData } from './input-tag'
|
|
|
69
73
|
export { default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, } from './layout';
|
|
70
74
|
export type { LayoutContentInstance, LayoutFooterInstance, LayoutHeaderInstance, LayoutInstance, LayoutProps, LayoutSiderInstance, SiderProps, } from './layout';
|
|
71
75
|
export { default as Link } from './link';
|
|
72
|
-
export type { LinkInstance } from './link';
|
|
76
|
+
export type { LinkInstance, LinkProps } from './link';
|
|
73
77
|
export { default as List, ListItem, ListItemMeta } from './list';
|
|
74
78
|
export type { ListInstance, ListItemInstance, ListItemMetaInstance } from './list';
|
|
75
79
|
export { default as Mention } from './mention';
|
|
@@ -104,6 +108,8 @@ export { default as Scrollbar } from './scrollbar';
|
|
|
104
108
|
export type { ScrollbarElements, ScrollbarEventListener, ScrollbarEventListenerArgs, ScrollbarEventListeners, ScrollbarExpose, ScrollbarInstance, ScrollbarOptions, ScrollbarOptionsResolved, ScrollbarPlugin, ScrollbarProps, ScrollbarReadonlyOptions, ScrollbarState, ScrollbarType, ScrollbarUpdatedEvent, } from './scrollbar';
|
|
105
109
|
export { default as Select, Optgroup, Option } from './select';
|
|
106
110
|
export type { FilterOption, SelectFallbackOption, SelectFieldNames, SelectInstance, SelectOptGroupInstance, SelectOption, SelectOptionData, SelectOptionGroup, SelectOptionInstance, SelectProps, } from './select';
|
|
111
|
+
export { default as Secret } from './secret';
|
|
112
|
+
export type { SecretInstance } from './secret';
|
|
107
113
|
export { default as Skeleton, SkeletonLine, SkeletonShape } from './skeleton';
|
|
108
114
|
export type { SkeletonInstance, SkeletonLineInstance, SkeletonShapeInstance } from './skeleton';
|
|
109
115
|
export { default as Slider } from './slider';
|
|
@@ -126,6 +132,8 @@ export { default as Tabs, TabPane } from './tabs';
|
|
|
126
132
|
export type { ScrollPosition, TabPaneInstance, TabsInstance, TabsPosition, TabsType, TabTriggerEvent, } from './tabs';
|
|
127
133
|
export { default as Tag } from './tag';
|
|
128
134
|
export type { TagColor, TagInstance, TagProps } from './tag';
|
|
135
|
+
export { default as TagGroup } from './tag-group';
|
|
136
|
+
export type { TagGroupFieldNames, TagGroupInstance, TagGroupObjectOption, TagGroupOption, TagGroupOptionLabel, TagGroupProps, } from './tag-group';
|
|
129
137
|
export { default as Textarea } from './textarea';
|
|
130
138
|
export type { TextareaInstance } from './textarea';
|
|
131
139
|
export { default as TimePicker } from './time-picker';
|
package/es/index.js
CHANGED
|
@@ -53,6 +53,9 @@ import ColorPicker from "./color-picker/index.js";
|
|
|
53
53
|
import Comment from "./comment/index.js";
|
|
54
54
|
import ConfigProvider from "./config-provider/index.js";
|
|
55
55
|
import Link from "./link/index.js";
|
|
56
|
+
import Message from "./message/index.js";
|
|
57
|
+
import Copy from "./copy/index.js";
|
|
58
|
+
import Cropper from "./cropper/index.js";
|
|
56
59
|
import month_picker_default from "./date-picker/pickers/month-picker.js";
|
|
57
60
|
import quarter_picker_default from "./date-picker/pickers/quarter-picker.js";
|
|
58
61
|
import week_picker_default from "./date-picker/pickers/week-picker.js";
|
|
@@ -90,7 +93,6 @@ import item_default from "./menu/item.js";
|
|
|
90
93
|
import item_group_default from "./menu/item-group.js";
|
|
91
94
|
import sub_menu_default from "./menu/sub-menu.js";
|
|
92
95
|
import Menu from "./menu/index.js";
|
|
93
|
-
import Message from "./message/index.js";
|
|
94
96
|
import Modal from "./modal/index.js";
|
|
95
97
|
import Notification from "./notification/index.js";
|
|
96
98
|
import OverflowList from "./overflow-list/index.js";
|
|
@@ -99,6 +101,7 @@ import Popconfirm from "./popconfirm/index.js";
|
|
|
99
101
|
import Progress from "./progress/index.js";
|
|
100
102
|
import Rate from "./rate/index.js";
|
|
101
103
|
import Result from "./result/index.js";
|
|
104
|
+
import Secret from "./secret/index.js";
|
|
102
105
|
import line_default from "./skeleton/line.js";
|
|
103
106
|
import shape_default from "./skeleton/shape.js";
|
|
104
107
|
import Skeleton from "./skeleton/index.js";
|
|
@@ -119,6 +122,7 @@ import table_column_default from "./table/table-column.js";
|
|
|
119
122
|
import Table from "./table/index.js";
|
|
120
123
|
import tab_pane_default from "./tabs/tab-pane.js";
|
|
121
124
|
import Tabs from "./tabs/index.js";
|
|
125
|
+
import TagGroup from "./tag-group/index.js";
|
|
122
126
|
import ThemeProvider from "./theme-provider/index.js";
|
|
123
127
|
import TimePicker from "./time-picker/index.js";
|
|
124
128
|
import item_default$1 from "./timeline/item.js";
|
|
@@ -134,4 +138,4 @@ import Upload from "./upload/index.js";
|
|
|
134
138
|
import VerificationCode from "./verification-code/index.js";
|
|
135
139
|
import Watermark from "./watermark/index.js";
|
|
136
140
|
import SDVue from "./sd-vue.js";
|
|
137
|
-
export { Affix, Alert, Anchor, anchor_link_default as AnchorLink, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, breadcrumb_item_default as BreadcrumbItem, Button, button_group_default as ButtonGroup, Calendar, Card, card_grid_default as CardGrid, card_meta_default as CardMeta, Carousel, carousel_item_default as CarouselItem, Cascader, cascader_panel_default as CascaderPanel, Checkbox, checkbox_group_default as CheckboxGroup, grid_col_default as Col, Collapse, collapse_item_default as CollapseItem, ColorPicker, Comment, ConfigProvider, countdown_default as Countdown, DatePicker, Descriptions, descriptions_item_default as DescriptionsItem, dropdown_group_default as Dgroup, Divider, dropdown_option_default as Doption, Drawer, Dropdown, dropdown_button_default as DropdownButton, dropdown_submenu_default as Dsubmenu, Ellipsis, Empty, Form, form_item_default as FormItem, Grid, grid_item_default as GridItem, Icon, Image, preview_default as ImagePreview, preview_action_default as ImagePreviewAction, preview_group_default as ImagePreviewGroup, Input, input_group_default as InputGroup, InputNumber, input_password_default as InputPassword, input_search_default as InputSearch, InputTag, Layout, content_default as LayoutContent, footer_default as LayoutFooter, header_default as LayoutHeader, sider_default as LayoutSider, Link, List, list_item_default as ListItem, list_item_meta_default as ListItemMeta, Mention, Menu, item_default as MenuItem, item_group_default as MenuItemGroup, Message, Modal, month_picker_default as MonthPicker, Notification, optgroup_default as Optgroup, option_default as Option, OverflowList, PageHeader, Pagination, PerformantEllipsis, Popconfirm, Popover, Progress, quarter_picker_default as QuarterPicker, Radio, radio_group_default as RadioGroup, range_picker_default as RangePicker, Rate, ResizeBox, Result, grid_row_default as Row, Scrollbar, Select, Skeleton, line_default as SkeletonLine, shape_default as SkeletonShape, Slider, Space, Spin, Split, Statistic, step_default as Step, Steps, sub_menu_default as SubMenu, Switch, tab_pane_default as TabPane, Table, table_column_default as TableColumn, Tabs, Tag, table_tbody_default as Tbody, table_td_default as Td, Textarea, table_th_default as Th, table_thead_default as Thead, ThemeProvider, TimePicker, Timeline, item_default$1 as TimelineItem, Tooltip, table_tr_default as Tr, Transfer, Tree, TreeSelect, Trigger, Typography, paragraph_default as TypographyParagraph, text_default as TypographyText, title_default as TypographyTitle, Upload, VerificationCode, Watermark, week_picker_default as WeekPicker, year_picker_default as YearPicker, addI18nMessages, SDVue as default, getLocale, useFormItem, useLocale };
|
|
141
|
+
export { Affix, Alert, Anchor, anchor_link_default as AnchorLink, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, breadcrumb_item_default as BreadcrumbItem, Button, button_group_default as ButtonGroup, Calendar, Card, card_grid_default as CardGrid, card_meta_default as CardMeta, Carousel, carousel_item_default as CarouselItem, Cascader, cascader_panel_default as CascaderPanel, Checkbox, checkbox_group_default as CheckboxGroup, grid_col_default as Col, Collapse, collapse_item_default as CollapseItem, ColorPicker, Comment, ConfigProvider, Copy, countdown_default as Countdown, Cropper, DatePicker, Descriptions, descriptions_item_default as DescriptionsItem, dropdown_group_default as Dgroup, Divider, dropdown_option_default as Doption, Drawer, Dropdown, dropdown_button_default as DropdownButton, dropdown_submenu_default as Dsubmenu, Ellipsis, Empty, Form, form_item_default as FormItem, Grid, grid_item_default as GridItem, Icon, Image, preview_default as ImagePreview, preview_action_default as ImagePreviewAction, preview_group_default as ImagePreviewGroup, Input, input_group_default as InputGroup, InputNumber, input_password_default as InputPassword, input_search_default as InputSearch, InputTag, Layout, content_default as LayoutContent, footer_default as LayoutFooter, header_default as LayoutHeader, sider_default as LayoutSider, Link, List, list_item_default as ListItem, list_item_meta_default as ListItemMeta, Mention, Menu, item_default as MenuItem, item_group_default as MenuItemGroup, Message, Modal, month_picker_default as MonthPicker, Notification, optgroup_default as Optgroup, option_default as Option, OverflowList, PageHeader, Pagination, PerformantEllipsis, Popconfirm, Popover, Progress, quarter_picker_default as QuarterPicker, Radio, radio_group_default as RadioGroup, range_picker_default as RangePicker, Rate, ResizeBox, Result, grid_row_default as Row, Scrollbar, Secret, Select, Skeleton, line_default as SkeletonLine, shape_default as SkeletonShape, Slider, Space, Spin, Split, Statistic, step_default as Step, Steps, sub_menu_default as SubMenu, Switch, tab_pane_default as TabPane, Table, table_column_default as TableColumn, Tabs, Tag, TagGroup, table_tbody_default as Tbody, table_td_default as Td, Textarea, table_th_default as Th, table_thead_default as Thead, ThemeProvider, TimePicker, Timeline, item_default$1 as TimelineItem, Tooltip, table_tr_default as Tr, Transfer, Tree, TreeSelect, Trigger, Typography, paragraph_default as TypographyParagraph, text_default as TypographyText, title_default as TypographyTitle, Upload, VerificationCode, Watermark, week_picker_default as WeekPicker, year_picker_default as YearPicker, addI18nMessages, SDVue as default, getLocale, useFormItem, useLocale };
|