antdv-next 1.0.0-alpha.4 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_util/PurePanel.js +106 -0
- package/dist/_util/hooks/useMergeSemantic.js +3 -3
- package/dist/_util/styleUtils.js +10 -0
- package/dist/_util/tools.js +2 -1
- package/dist/_util/wave/WaveEffect.js +6 -1
- package/dist/_util/wave/style.js +4 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/alert/Alert.d.ts +4 -3
- package/dist/alert/Alert.js +1 -1
- package/dist/anchor/Anchor.d.ts +5 -5
- package/dist/anchor/AnchorLink.js +2 -2
- package/dist/anchor/index.d.ts +1 -1
- package/dist/antd.js +123 -115
- package/dist/app/App.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +78 -0
- package/dist/auto-complete/index.js +634 -0
- package/dist/avatar/Avatar.d.ts +3 -3
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +3 -3
- package/dist/badge/ScrollNumber.js +1 -1
- package/dist/badge/SingleNumber.js +1 -1
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/index.js +5 -3
- package/dist/badge/style/index.js +1 -1
- package/dist/breadcrumb/Breadcrumb.d.ts +5 -5
- package/dist/breadcrumb/Breadcrumb.js +0 -8
- package/dist/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.js +1 -17
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/button/Button.d.ts +3 -3
- package/dist/button/style/variant.js +116 -104
- package/dist/calendar/Header.js +1 -1
- package/dist/calendar/generateCalendar.d.ts +3 -3
- package/dist/calendar/index.d.ts +3 -3
- package/dist/calendar/style/index.d.ts +1 -1
- package/dist/calendar/style/index.js +1 -1
- package/dist/card/Card.d.ts +3 -3
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +3 -3
- package/dist/card/style/index.js +11 -2
- package/dist/carousel/index.d.ts +3 -3
- package/dist/cascader/Panel.d.ts +3 -3
- package/dist/cascader/index.d.ts +4 -3
- package/dist/cascader/index.js +3 -1
- package/dist/checkbox/Checkbox.d.ts +3 -3
- package/dist/checkbox/Group.d.ts +3 -3
- package/dist/checkbox/style/index.d.ts +1 -1
- package/dist/collapse/Collapse.d.ts +3 -3
- package/dist/color-picker/ColorPicker.d.ts +3 -3
- package/dist/color-picker/ColorPicker.js +13 -2
- package/dist/components.d.ts +11 -8
- package/dist/components.js +7 -4
- package/dist/config-provider/context.d.ts +2 -1
- package/dist/config-provider/context.js +3 -3
- package/dist/config-provider/define.d.ts +14 -0
- package/dist/config-provider/index.d.ts +3 -3
- package/dist/config-provider/index.js +21 -2
- package/dist/date-picker/generatePicker/generateRangePicker.js +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -2
- package/dist/date-picker/generatePicker/index.d.ts +17 -17
- package/dist/date-picker/index.d.ts +29 -27
- package/dist/date-picker/index.js +3 -0
- package/dist/date-picker/style/panel.js +4 -4
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/divider/index.d.ts +2 -2
- package/dist/drawer/index.d.ts +6 -4
- package/dist/drawer/index.js +17 -5
- package/dist/drawer/useFocusable.d.ts +10 -0
- package/dist/drawer/useFocusable.js +18 -0
- package/dist/dropdown/dropdown.d.ts +4 -4
- package/dist/dropdown/dropdown.js +12 -3
- package/dist/empty/index.d.ts +3 -3
- package/dist/flex/index.d.ts +3 -3
- package/dist/flex/index.js +1 -1
- package/dist/float-button/BackTop.d.ts +3 -3
- package/dist/float-button/BackTop.js +4 -1
- package/dist/float-button/FloatButton.d.ts +3 -3
- package/dist/float-button/FloatButtonGroup.d.ts +3 -3
- package/dist/float-button/PurePanel.js +5 -5
- package/dist/float-button/style/button.js +4 -4
- package/dist/float-button/style/group.js +12 -12
- package/dist/form/ErrorList.js +4 -7
- package/dist/form/Form.d.ts +7 -3
- package/dist/form/Form.js +39 -22
- package/dist/form/FormItem/ItemHolder.js +0 -1
- package/dist/form/FormItem/index.d.ts +5 -5
- package/dist/form/FormItem/index.js +48 -29
- package/dist/form/FormItemInput.js +17 -19
- package/dist/form/style/index.js +3 -2
- package/dist/form/utils/valueUtil.js +4 -1
- package/dist/grid/col.js +7 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.js +7 -5
- package/dist/image/PreviewGroup.d.ts +2 -2
- package/dist/image/index.d.ts +7 -4
- package/dist/image/index.js +2 -0
- package/dist/image/style/index.d.ts +1 -1
- package/dist/index.d.ts +16 -12
- package/dist/index.js +7 -4
- package/dist/input/Input.js +1 -1
- package/dist/input/OTP/index.js +1 -1
- package/dist/input/TextArea.d.ts +3 -3
- package/dist/input/TextArea.js +1 -1
- package/dist/input/index.d.ts +11 -11
- package/dist/input/style/index.d.ts +2 -2
- package/dist/input-number/index.d.ts +4 -4
- package/dist/input-number/index.js +2 -6
- package/dist/input-number/style/index.js +18 -17
- package/dist/layout/index.d.ts +6 -6
- package/dist/layout/layout.d.ts +2 -2
- package/dist/layout/style/sider.js +1 -1
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/Masonry.js +8 -6
- package/dist/mentions/index.d.ts +4 -3
- package/dist/mentions/index.js +4 -2
- package/dist/mentions/style/index.js +18 -17
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +3 -3
- package/dist/menu/index.d.ts +5 -5
- package/dist/menu/style/horizontal.js +1 -1
- package/dist/menu/style/index.js +5 -5
- package/dist/message/PurePanel.d.ts +2 -2
- package/dist/message/useMessage.d.ts +1 -0
- package/dist/modal/ConfirmDialog.js +1 -1
- package/dist/modal/Modal.d.ts +3 -3
- package/dist/modal/Modal.js +17 -6
- package/dist/modal/PurePanel.js +305 -0
- package/dist/modal/index.js +2 -0
- package/dist/modal/interface.d.ts +3 -1
- package/dist/notification/PurePanel.d.ts +2 -2
- package/dist/notification/PurePanel.js +4 -3
- package/dist/notification/style/index.d.ts +1 -1
- package/dist/notification/useNotification.d.ts +2 -1
- package/dist/notification/useNotification.js +7 -7
- package/dist/package.d.ts +143 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +3 -3
- package/dist/pagination/Pagination.js +1 -1
- package/dist/pagination/style/index.js +61 -50
- package/dist/popconfirm/PurePanel.d.ts +2 -2
- package/dist/popconfirm/PurePanel.js +2 -1
- package/dist/popconfirm/index.d.ts +3 -3
- package/dist/popover/PurePanel.js +4 -2
- package/dist/popover/index.d.ts +9 -6
- package/dist/popover/index.js +2 -1
- package/dist/popover/style/index.js +11 -8
- package/dist/progress/progress.d.ts +3 -3
- package/dist/qrcode/index.d.ts +3 -3
- package/dist/radio/index.d.ts +5 -5
- package/dist/radio/radio.d.ts +3 -3
- package/dist/radio/style/index.js +1 -1
- package/dist/rate/index.d.ts +3 -3
- package/dist/rate/style/index.d.ts +1 -1
- package/dist/result/index.d.ts +3 -3
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/segmented/index.d.ts +3 -3
- package/dist/select/index.d.ts +6 -6
- package/dist/select/index.js +5 -3
- package/dist/select/style/dropdown.js +1 -1
- package/dist/select/style/select-input-multiple.js +31 -29
- package/dist/select/style/select-input.js +50 -44
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +3 -3
- package/dist/skeleton/Skeleton.d.ts +3 -3
- package/dist/skeleton/Skeleton.js +1 -1
- package/dist/skeleton/Title.d.ts +1 -2
- package/dist/skeleton/Title.js +0 -5
- package/dist/slider/index.d.ts +3 -3
- package/dist/space/Compact.d.ts +2 -0
- package/dist/space/Compact.js +17 -4
- package/dist/space/index.d.ts +5 -5
- package/dist/space/style/addon.js +20 -19
- package/dist/spin/index.d.ts +3 -3
- package/dist/spin/index.js +7 -6
- package/dist/splitter/SplitBar.js +9 -2
- package/dist/splitter/Splitter.d.ts +3 -3
- package/dist/splitter/Splitter.js +2 -1
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.js +6 -6
- package/dist/statistic/Statistic.d.ts +3 -3
- package/dist/statistic/Timer.d.ts +5 -5
- package/dist/statistic/index.d.ts +5 -5
- package/dist/steps/ProgressIcon.js +9 -2
- package/dist/steps/index.d.ts +3 -3
- package/dist/steps/index.js +7 -4
- package/dist/steps/style/horizontal.js +13 -10
- package/dist/steps/style/icon.js +12 -9
- package/dist/steps/style/index.js +19 -18
- package/dist/steps/style/inline.js +20 -17
- package/dist/steps/style/label-placement.js +22 -20
- package/dist/steps/style/nav.js +7 -5
- package/dist/steps/style/panel.js +34 -32
- package/dist/steps/style/progress-dot.js +10 -8
- package/dist/steps/style/progress.js +29 -58
- package/dist/steps/style/rtl.js +6 -4
- package/dist/steps/style/small.js +10 -8
- package/dist/steps/style/status.js +124 -121
- package/dist/steps/style/util.js +7 -4
- package/dist/steps/style/vertical.js +17 -14
- package/dist/style/placementArrow.js +7 -5
- package/dist/switch/index.d.ts +3 -3
- package/dist/table/Column.d.ts +3 -3
- package/dist/table/ColumnGroup.d.ts +3 -3
- package/dist/table/InternalTable.js +20 -6
- package/dist/table/Table.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
- package/dist/table/style/index.js +3 -3
- package/dist/table/style/radius.js +6 -0
- package/dist/table/style/virtual.js +1 -1
- package/dist/tabs/TabPane.d.ts +3 -3
- package/dist/tabs/index.d.ts +3 -3
- package/dist/tag/CheckableTag.d.ts +3 -3
- package/dist/tag/CheckableTagGroup.d.ts +3 -3
- package/dist/tag/CheckableTagGroup.js +3 -3
- package/dist/tag/index.d.ts +3 -3
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/useToken.d.ts +2 -2
- package/dist/theme/useToken.js +1 -1
- package/dist/theme/util/genStyleUtils.d.ts +2 -2
- package/dist/theme/util/genStyleUtils.js +8 -5
- package/dist/theme/util/useResetIconStyle.js +1 -1
- package/dist/time-picker/index.d.ts +8 -7
- package/dist/time-picker/index.js +17 -13
- package/dist/timeline/Timeline.d.ts +3 -3
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/PurePanel.js +12 -8
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/index.js +2 -3
- package/dist/tooltip/style/index.js +10 -8
- package/dist/tooltip/util.js +5 -3
- package/dist/tour/PurePanel.js +243 -0
- package/dist/tour/index.d.ts +3 -3
- package/dist/tour/index.js +2 -0
- package/dist/tour/style/index.js +5 -4
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +3 -3
- package/dist/transfer/Transfer.js +2 -2
- package/dist/transfer/search.d.ts +3 -3
- package/dist/tree/DirectoryTree.d.ts +3 -3
- package/dist/tree/Tree.d.ts +3 -3
- package/dist/tree/style/index.d.ts +1 -1
- package/dist/tree-select/index.d.ts +5 -4
- package/dist/tree-select/index.js +3 -1
- package/dist/typography/Link.d.ts +3 -3
- package/dist/typography/Paragraph.d.ts +3 -3
- package/dist/typography/Text.d.ts +3 -3
- package/dist/typography/Title.d.ts +3 -3
- package/dist/typography/Typography.d.ts +3 -3
- package/dist/typography/index.d.ts +9 -9
- package/dist/upload/Dragger.d.ts +6 -3
- package/dist/upload/Upload.d.ts +3 -3
- package/dist/upload/Upload.js +15 -1
- package/dist/upload/index.d.ts +6 -3
- package/dist/upload/interface.d.ts +4 -4
- package/global.d.ts +3 -0
- package/package.json +69 -17
- package/web-tags.json +5069 -0
- package/web-types.json +14335 -0
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
|
+
import useClosable from "../_util/hooks/useClosable.js";
|
|
3
|
+
import { RawPurePanel } from "../popover/PurePanel.js";
|
|
4
|
+
import panelRender_default from "./panelRender.js";
|
|
5
|
+
import style_default from "./style/index.js";
|
|
6
|
+
import { computed, createVNode, defineComponent, isVNode, mergeDefaults } from "vue";
|
|
7
|
+
import { clsx } from "@v-c/util";
|
|
8
|
+
|
|
9
|
+
//#region src/tour/PurePanel.tsx
|
|
10
|
+
/** @private Internal Component. Do not use in your production. */
|
|
11
|
+
const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
12
|
+
const { prefixCls } = useComponentBaseConfig("tour", props);
|
|
13
|
+
const [hashId, cssVarCls] = style_default(prefixCls);
|
|
14
|
+
const closableCollection = computed(() => ({
|
|
15
|
+
closable: props.closable,
|
|
16
|
+
closeIcon: props.closeIcon
|
|
17
|
+
}));
|
|
18
|
+
const fallbackCloseCollection = computed(() => ({
|
|
19
|
+
closable: true,
|
|
20
|
+
closeIconRender: (icon) => {
|
|
21
|
+
if (isVNode(icon)) {
|
|
22
|
+
const iconClass = icon.props?.class;
|
|
23
|
+
return {
|
|
24
|
+
...icon,
|
|
25
|
+
props: {
|
|
26
|
+
...icon.props,
|
|
27
|
+
class: clsx(iconClass, `${prefixCls.value}-close-icon`)
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return icon;
|
|
32
|
+
}
|
|
33
|
+
}));
|
|
34
|
+
const closableResult = useClosable(closableCollection, computed(() => null), fallbackCloseCollection);
|
|
35
|
+
return () => {
|
|
36
|
+
const { current = 0, total = 6, type, closable: _closable, closeIcon: _closeIcon,...restProps } = props;
|
|
37
|
+
const [mergedClosable, mergedCloseIcon] = closableResult.value ?? [false, null];
|
|
38
|
+
return createVNode(RawPurePanel, {
|
|
39
|
+
"prefixCls": prefixCls.value,
|
|
40
|
+
"hashId": hashId.value,
|
|
41
|
+
"class": clsx(attrs.class, `${prefixCls.value}-pure`, type && `${prefixCls.value}-${type}`, cssVarCls.value, props.class),
|
|
42
|
+
"style": [attrs.style, props.style]
|
|
43
|
+
}, { default: () => [createVNode(panelRender_default, {
|
|
44
|
+
"stepProps": {
|
|
45
|
+
...restProps,
|
|
46
|
+
prefixCls: prefixCls.value,
|
|
47
|
+
total,
|
|
48
|
+
closable: mergedClosable ? { closeIcon: mergedCloseIcon } : void 0
|
|
49
|
+
},
|
|
50
|
+
"current": current,
|
|
51
|
+
"type": type
|
|
52
|
+
}, null)] });
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
56
|
+
cover: {
|
|
57
|
+
type: [
|
|
58
|
+
Function,
|
|
59
|
+
Boolean,
|
|
60
|
+
String,
|
|
61
|
+
Number,
|
|
62
|
+
null,
|
|
63
|
+
Object
|
|
64
|
+
],
|
|
65
|
+
required: false,
|
|
66
|
+
default: void 0
|
|
67
|
+
},
|
|
68
|
+
nextButtonProps: {
|
|
69
|
+
type: Object,
|
|
70
|
+
required: false,
|
|
71
|
+
default: void 0
|
|
72
|
+
},
|
|
73
|
+
prevButtonProps: {
|
|
74
|
+
type: Object,
|
|
75
|
+
required: false,
|
|
76
|
+
default: void 0
|
|
77
|
+
},
|
|
78
|
+
indicatorsRender: {
|
|
79
|
+
type: Function,
|
|
80
|
+
required: false,
|
|
81
|
+
default: void 0
|
|
82
|
+
},
|
|
83
|
+
actionsRender: {
|
|
84
|
+
type: Function,
|
|
85
|
+
required: false,
|
|
86
|
+
default: void 0
|
|
87
|
+
},
|
|
88
|
+
type: {
|
|
89
|
+
type: String,
|
|
90
|
+
required: false,
|
|
91
|
+
default: void 0
|
|
92
|
+
},
|
|
93
|
+
classes: {
|
|
94
|
+
type: Object,
|
|
95
|
+
required: false,
|
|
96
|
+
default: void 0
|
|
97
|
+
},
|
|
98
|
+
styles: {
|
|
99
|
+
type: Object,
|
|
100
|
+
required: false,
|
|
101
|
+
default: void 0
|
|
102
|
+
},
|
|
103
|
+
class: {
|
|
104
|
+
type: String,
|
|
105
|
+
required: false,
|
|
106
|
+
default: void 0
|
|
107
|
+
},
|
|
108
|
+
prefixCls: {
|
|
109
|
+
type: String,
|
|
110
|
+
required: false,
|
|
111
|
+
default: void 0
|
|
112
|
+
},
|
|
113
|
+
total: {
|
|
114
|
+
type: Number,
|
|
115
|
+
required: false,
|
|
116
|
+
default: void 0
|
|
117
|
+
},
|
|
118
|
+
current: {
|
|
119
|
+
type: Number,
|
|
120
|
+
required: false,
|
|
121
|
+
default: void 0
|
|
122
|
+
},
|
|
123
|
+
onClose: {
|
|
124
|
+
type: Function,
|
|
125
|
+
required: false,
|
|
126
|
+
default: void 0
|
|
127
|
+
},
|
|
128
|
+
onFinish: {
|
|
129
|
+
type: Function,
|
|
130
|
+
required: false,
|
|
131
|
+
default: void 0
|
|
132
|
+
},
|
|
133
|
+
renderPanel: {
|
|
134
|
+
type: Function,
|
|
135
|
+
required: false,
|
|
136
|
+
default: void 0
|
|
137
|
+
},
|
|
138
|
+
onPrev: {
|
|
139
|
+
type: Function,
|
|
140
|
+
required: false,
|
|
141
|
+
default: void 0
|
|
142
|
+
},
|
|
143
|
+
onNext: {
|
|
144
|
+
type: Function,
|
|
145
|
+
required: false,
|
|
146
|
+
default: void 0
|
|
147
|
+
},
|
|
148
|
+
classNames: {
|
|
149
|
+
type: Object,
|
|
150
|
+
required: false,
|
|
151
|
+
default: void 0
|
|
152
|
+
},
|
|
153
|
+
arrow: {
|
|
154
|
+
type: [Boolean, Object],
|
|
155
|
+
required: false,
|
|
156
|
+
default: void 0
|
|
157
|
+
},
|
|
158
|
+
target: {
|
|
159
|
+
type: [
|
|
160
|
+
Object,
|
|
161
|
+
null,
|
|
162
|
+
Function
|
|
163
|
+
],
|
|
164
|
+
required: false,
|
|
165
|
+
skipCheck: true,
|
|
166
|
+
default: void 0
|
|
167
|
+
},
|
|
168
|
+
title: {
|
|
169
|
+
type: [
|
|
170
|
+
Object,
|
|
171
|
+
Function,
|
|
172
|
+
String,
|
|
173
|
+
Number,
|
|
174
|
+
null,
|
|
175
|
+
Boolean,
|
|
176
|
+
Array
|
|
177
|
+
],
|
|
178
|
+
required: true,
|
|
179
|
+
default: void 0
|
|
180
|
+
},
|
|
181
|
+
description: {
|
|
182
|
+
type: [
|
|
183
|
+
Object,
|
|
184
|
+
Function,
|
|
185
|
+
String,
|
|
186
|
+
Number,
|
|
187
|
+
null,
|
|
188
|
+
Boolean,
|
|
189
|
+
Array
|
|
190
|
+
],
|
|
191
|
+
required: false,
|
|
192
|
+
default: void 0
|
|
193
|
+
},
|
|
194
|
+
placement: {
|
|
195
|
+
type: String,
|
|
196
|
+
required: false,
|
|
197
|
+
default: void 0
|
|
198
|
+
},
|
|
199
|
+
style: {
|
|
200
|
+
type: Object,
|
|
201
|
+
required: false,
|
|
202
|
+
default: void 0
|
|
203
|
+
},
|
|
204
|
+
mask: {
|
|
205
|
+
type: [Boolean, Object],
|
|
206
|
+
required: false,
|
|
207
|
+
default: void 0
|
|
208
|
+
},
|
|
209
|
+
scrollIntoViewOptions: {
|
|
210
|
+
type: Boolean,
|
|
211
|
+
required: false,
|
|
212
|
+
skipCheck: true,
|
|
213
|
+
default: void 0
|
|
214
|
+
},
|
|
215
|
+
closeIcon: {
|
|
216
|
+
type: [
|
|
217
|
+
Object,
|
|
218
|
+
Function,
|
|
219
|
+
String,
|
|
220
|
+
Number,
|
|
221
|
+
null,
|
|
222
|
+
Boolean,
|
|
223
|
+
Array
|
|
224
|
+
],
|
|
225
|
+
required: false,
|
|
226
|
+
default: void 0
|
|
227
|
+
},
|
|
228
|
+
closable: {
|
|
229
|
+
type: [Boolean, Object],
|
|
230
|
+
required: false,
|
|
231
|
+
default: void 0
|
|
232
|
+
}
|
|
233
|
+
}, {
|
|
234
|
+
current: 0,
|
|
235
|
+
total: 6
|
|
236
|
+
}),
|
|
237
|
+
name: "TourPurePanel",
|
|
238
|
+
inheritAttrs: false
|
|
239
|
+
});
|
|
240
|
+
var PurePanel_default = PurePanel;
|
|
241
|
+
|
|
242
|
+
//#endregion
|
|
243
|
+
export { PurePanel_default as default };
|
package/dist/tour/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TourEmits, TourLocale, TourProps, TourSemanticName, TourSlots, TourStepProps, TourStylesType } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue61 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/tour/index.d.ts
|
|
6
|
-
declare const Tour:
|
|
6
|
+
declare const Tour: vue61.DefineSetupFnComponent<TourProps, TourEmits, SlotsType<TourSlots>, TourProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue61.PublicProps>;
|
|
9
9
|
type TourStepItem = TourStepProps;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Tour, TourStepItem };
|
package/dist/tour/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import { checkRenderNode } from "../_util/vueNode.js";
|
|
|
10
10
|
import getPlacements from "../_util/placements.js";
|
|
11
11
|
import panelRender_default from "./panelRender.js";
|
|
12
12
|
import style_default from "./style/index.js";
|
|
13
|
+
import PurePanel_default from "./PurePanel.js";
|
|
13
14
|
import { computed, createVNode, defineComponent, mergeProps } from "vue";
|
|
14
15
|
import { clsx } from "@v-c/util";
|
|
15
16
|
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
@@ -287,6 +288,7 @@ const Tour = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
287
288
|
Tour.install = (app) => {
|
|
288
289
|
app.component(Tour.name, Tour);
|
|
289
290
|
};
|
|
291
|
+
Tour._InternalPanelDoNotUseOrYouWillBeFired = PurePanel_default;
|
|
290
292
|
var tour_default = Tour;
|
|
291
293
|
|
|
292
294
|
//#endregion
|
package/dist/tour/style/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { genFocusStyle, resetComponent } from "../../style/index.js";
|
|
2
|
-
import { genStyleHooks } from "../../theme/util/genStyleUtils.js";
|
|
2
|
+
import { genCssVar, genStyleHooks } from "../../theme/util/genStyleUtils.js";
|
|
3
3
|
import { mergeToken } from "../../theme/internal.js";
|
|
4
4
|
import { getArrowToken } from "../../style/roundedArrow.js";
|
|
5
5
|
import getArrowStyle, { MAX_VERTICAL_CONTENT_RADIUS, getArrowOffsetToken } from "../../style/placementArrow.js";
|
|
@@ -9,6 +9,7 @@ import { FastColor } from "@ant-design/fast-color";
|
|
|
9
9
|
//#region src/tour/style/index.ts
|
|
10
10
|
const genBaseStyle = (token) => {
|
|
11
11
|
const { componentCls, padding, paddingXS, borderRadius, borderRadiusXS, colorPrimary, colorFill, indicatorHeight, indicatorWidth, boxShadowTertiary, zIndexPopup, colorBgElevated, fontWeightStrong, marginXS, colorTextLightSolid, tourBorderRadius, colorWhite, primaryNextBtnHoverBg, closeBtnSize, motionDurationSlow, antCls, primaryPrevBtnBg } = token;
|
|
12
|
+
const [varName, varRef] = genCssVar(antCls, "tooltip");
|
|
12
13
|
return [{
|
|
13
14
|
[componentCls]: {
|
|
14
15
|
...resetComponent(token),
|
|
@@ -17,7 +18,7 @@ const genBaseStyle = (token) => {
|
|
|
17
18
|
"maxWidth": "fit-content",
|
|
18
19
|
"visibility": "visible",
|
|
19
20
|
"width": 520,
|
|
20
|
-
"
|
|
21
|
+
[varName("arrow-background-color")]: colorBgElevated,
|
|
21
22
|
"&-pure": {
|
|
22
23
|
maxWidth: "100%",
|
|
23
24
|
position: "relative"
|
|
@@ -94,7 +95,7 @@ const genBaseStyle = (token) => {
|
|
|
94
95
|
}
|
|
95
96
|
},
|
|
96
97
|
[`${componentCls}-primary, &${componentCls}-primary`]: {
|
|
97
|
-
"
|
|
98
|
+
[varName("arrow-background-color")]: colorPrimary,
|
|
98
99
|
[`${componentCls}-section`]: {
|
|
99
100
|
color: colorTextLightSolid,
|
|
100
101
|
textAlign: "start",
|
|
@@ -134,7 +135,7 @@ const genBaseStyle = (token) => {
|
|
|
134
135
|
"&-placement-rightTop",
|
|
135
136
|
"&-placement-rightBottom"
|
|
136
137
|
].join(",")]: { [`${componentCls}-section`]: { borderRadius: token.min(tourBorderRadius, MAX_VERTICAL_CONTENT_RADIUS) } }
|
|
137
|
-
}, getArrowStyle(token, "
|
|
138
|
+
}, getArrowStyle(token, varRef("arrow-background-color"))];
|
|
138
139
|
};
|
|
139
140
|
const prepareComponentToken = (token) => ({
|
|
140
141
|
zIndexPopup: token.zIndexPopupBase + 70,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { DirectionType } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue216 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/transfer/Actions.d.ts
|
|
@@ -16,6 +16,6 @@ interface TransferOperationProps {
|
|
|
16
16
|
direction?: DirectionType;
|
|
17
17
|
oneWay?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const Actions:
|
|
19
|
+
declare const Actions: vue216.DefineSetupFnComponent<TransferOperationProps, {}, {}, TransferOperationProps & {}, vue216.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Actions, TransferOperationProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyWiseTransferItem, TransferListProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue220 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/transfer/Section.d.ts
|
|
5
|
-
declare const TransferSection:
|
|
5
|
+
declare const TransferSection: vue220.DefineSetupFnComponent<TransferListProps<KeyWiseTransferItem>, {}, {}, TransferListProps<KeyWiseTransferItem> & {}, vue220.PublicProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { TransferSection };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TransferEmits, TransferProps, TransferSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue218 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/Transfer.d.ts
|
|
6
|
-
declare const Transfer:
|
|
6
|
+
declare const Transfer: vue218.DefineSetupFnComponent<TransferProps<any>, TransferEmits, SlotsType<TransferSlots<any>>, TransferProps<any> & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue218.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Transfer };
|
|
@@ -8,9 +8,9 @@ import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
|
8
8
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
9
9
|
import en_US_default from "../locale/en_US.js";
|
|
10
10
|
import useLocale_default from "../locale/useLocale.js";
|
|
11
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
12
11
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
13
12
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
13
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
14
14
|
import Actions_default from "./Actions.js";
|
|
15
15
|
import { groupDisabledKeysMap, groupKeysMap } from "../_util/transKeys.js";
|
|
16
16
|
import Section_default from "./Section.js";
|
|
@@ -168,7 +168,7 @@ const Transfer = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit })
|
|
|
168
168
|
const [contextLocale] = useLocale_default("Transfer", en_US_default.Transfer);
|
|
169
169
|
const listLocale = computed(() => ({
|
|
170
170
|
...contextLocale?.value,
|
|
171
|
-
notFoundContent: renderEmpty?.("Transfer") || createVNode(DefaultRenderEmpty, { "componentName": "Transfer" }, null),
|
|
171
|
+
notFoundContent: renderEmpty?.value?.("Transfer") || createVNode(DefaultRenderEmpty, { "componentName": "Transfer" }, null),
|
|
172
172
|
...props.locale || {}
|
|
173
173
|
}));
|
|
174
174
|
const titles = computed(() => getSlotNodes(slots.titles) ?? getTitles(listLocale.value));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue214 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/search.d.ts
|
|
@@ -17,8 +17,8 @@ interface TransferSearchEmits {
|
|
|
17
17
|
interface TransferSearchSlots {
|
|
18
18
|
prefix?: () => VueNode;
|
|
19
19
|
}
|
|
20
|
-
declare const Search:
|
|
20
|
+
declare const Search: vue214.DefineSetupFnComponent<TransferSearchProps, TransferSearchEmits, SlotsType<TransferSearchSlots>, TransferSearchProps & {
|
|
21
21
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
22
|
-
},
|
|
22
|
+
}, vue214.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Search, TransferSearchEmits, TransferSearchProps, TransferSearchSlots };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TreeEmits, TreeProps as TreeProps$1, TreeSlots } from "./Tree.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue322 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { BasicDataNode, DataNode } from "@v-c/tree";
|
|
5
5
|
|
|
@@ -10,8 +10,8 @@ interface DirectoryTreeProps<T extends BasicDataNode = DataNode> extends TreePro
|
|
|
10
10
|
}
|
|
11
11
|
interface DirectoryTreeEmits extends TreeEmits {}
|
|
12
12
|
interface DirectoryTreeSlots extends TreeSlots {}
|
|
13
|
-
declare const DirectoryTree:
|
|
13
|
+
declare const DirectoryTree: vue322.DefineSetupFnComponent<DirectoryTreeProps<DataNode>, DirectoryTreeEmits, SlotsType<DirectoryTreeSlots>, DirectoryTreeProps<DataNode> & {
|
|
14
14
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
15
|
-
},
|
|
15
|
+
}, vue322.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DirectoryTree, DirectoryTreeEmits, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction };
|
package/dist/tree/Tree.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue320 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
import { BasicDataNode, DataNode, TreeProps } from "@v-c/tree";
|
|
7
7
|
import { Key } from "@v-c/util/dist/type";
|
|
@@ -166,8 +166,8 @@ interface TreeSlots {
|
|
|
166
166
|
icon: (props: AntdTreeNodeAttribute) => any;
|
|
167
167
|
titleRender: TreeProps['titleRender'];
|
|
168
168
|
}
|
|
169
|
-
declare const Tree:
|
|
169
|
+
declare const Tree: vue320.DefineSetupFnComponent<TreeProps$1<DataNode>, TreeEmits, SlotsType<TreeSlots>, TreeProps$1<DataNode> & {
|
|
170
170
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
171
|
-
},
|
|
171
|
+
}, vue320.PublicProps>;
|
|
172
172
|
//#endregion
|
|
173
173
|
export { AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, SwitcherIcon, Tree, TreeEmits, TreeProps$1 as TreeProps, TreeSlots };
|
|
@@ -7,7 +7,7 @@ import { SelectCommonPlacement } from "../_util/motion.js";
|
|
|
7
7
|
import { SwitcherIcon, TreeProps } from "../tree/Tree.js";
|
|
8
8
|
import "../tree/index.js";
|
|
9
9
|
import { Variant } from "../config-provider/context.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue179 from "vue";
|
|
11
11
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
12
12
|
import { DataNode, SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeNode, TreeSelectProps } from "@v-c/tree-select";
|
|
13
13
|
|
|
@@ -83,16 +83,17 @@ interface TreeSelectSlots {
|
|
|
83
83
|
switcherIcon?: () => any;
|
|
84
84
|
treeTitleRender?: (nodeData: DataNode) => any;
|
|
85
85
|
}
|
|
86
|
-
declare const InternalTreeSelect:
|
|
86
|
+
declare const InternalTreeSelect: vue179.DefineSetupFnComponent<TreeSelectProps$1<any, DataNode>, TreeSelectEmits, SlotsType<TreeSelectSlots>, TreeSelectProps$1<any, DataNode> & {
|
|
87
87
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
88
|
-
},
|
|
88
|
+
}, vue179.PublicProps>;
|
|
89
89
|
declare const TreeSelect: typeof InternalTreeSelect & {
|
|
90
90
|
install: (app: App) => void;
|
|
91
91
|
TreeNode: typeof TreeNode;
|
|
92
92
|
SHOW_ALL: typeof SHOW_ALL;
|
|
93
93
|
SHOW_PARENT: typeof SHOW_PARENT;
|
|
94
94
|
SHOW_CHILD: typeof SHOW_CHILD;
|
|
95
|
+
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
95
96
|
};
|
|
96
|
-
declare const TreeSelectNode:
|
|
97
|
+
declare const TreeSelectNode: vue179.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any>, vue179.PublicProps>;
|
|
97
98
|
//#endregion
|
|
98
99
|
export { TreeSelect, TreeSelectEmits, TreeSelectNode, TreeSelectProps$1 as TreeSelectProps, TreeSelectSlots };
|
|
@@ -10,9 +10,10 @@ import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
|
10
10
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
11
11
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
12
12
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
13
|
-
import
|
|
13
|
+
import PurePanel_default from "../_util/PurePanel.js";
|
|
14
14
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
15
15
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
16
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
16
17
|
import useVariant from "../form/hooks/useVariant.js";
|
|
17
18
|
import mergedBuiltinPlacements_default from "../select/mergedBuiltinPlacements.js";
|
|
18
19
|
import style_default from "../select/style/index.js";
|
|
@@ -838,6 +839,7 @@ TreeSelect.install = (app) => {
|
|
|
838
839
|
app.component("ATreeSelectOption", TreeSelectNode);
|
|
839
840
|
return app;
|
|
840
841
|
};
|
|
842
|
+
TreeSelect._InternalPanelDoNotUseOrYouWillBeFired = PurePanel_default(TreeSelect, "popupAlign", (props) => omit(props, ["visible"]));
|
|
841
843
|
var tree_select_default = TreeSelect;
|
|
842
844
|
|
|
843
845
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue418 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Link.d.ts
|
|
@@ -9,8 +9,8 @@ interface LinkProps extends BlockProps {
|
|
|
9
9
|
target?: string;
|
|
10
10
|
rel?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const Link:
|
|
12
|
+
declare const Link: vue418.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, SlotsType<TypographySlots>, LinkProps & {
|
|
13
13
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
14
|
-
},
|
|
14
|
+
}, vue418.PublicProps>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Link, LinkProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue420 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Paragraph.d.ts
|
|
6
6
|
interface ParagraphProps extends BlockProps {}
|
|
7
|
-
declare const Paragraph:
|
|
7
|
+
declare const Paragraph: vue420.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, SlotsType<TypographySlots>, ParagraphProps & {
|
|
8
8
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
9
|
-
},
|
|
9
|
+
}, vue420.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Paragraph, ParagraphProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BlockProps, EllipsisConfig, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue414 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Text.d.ts
|
|
6
6
|
interface TextProps extends BlockProps {
|
|
7
7
|
ellipsis?: boolean | Omit<EllipsisConfig, 'expandable' | 'rows' | 'onExpand'>;
|
|
8
8
|
}
|
|
9
|
-
declare const Text$1:
|
|
9
|
+
declare const Text$1: vue414.DefineSetupFnComponent<TextProps, TypographyBaseEmits, SlotsType<TypographySlots>, TextProps & {
|
|
10
10
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
11
|
-
},
|
|
11
|
+
}, vue414.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Text$1 as Text, TextProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue416 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Title.d.ts
|
|
@@ -7,8 +7,8 @@ declare const TITLE_ELE_LIST: readonly [1, 2, 3, 4, 5];
|
|
|
7
7
|
interface TitleProps extends Omit<BlockProps, 'strong'> {
|
|
8
8
|
level?: (typeof TITLE_ELE_LIST)[number];
|
|
9
9
|
}
|
|
10
|
-
declare const Title:
|
|
10
|
+
declare const Title: vue416.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, SlotsType<TypographySlots>, TitleProps & {
|
|
11
11
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
12
|
-
},
|
|
12
|
+
}, vue416.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Title, TitleProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { TypographyBaseProps, TypographySlots } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue422 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/typography/Typography.d.ts
|
|
7
|
-
declare const Typography:
|
|
7
|
+
declare const Typography: vue422.DefineSetupFnComponent<TypographyBaseProps, EmptyEmit, SlotsType<TypographySlots>, TypographyBaseProps & {
|
|
8
8
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
9
|
-
},
|
|
9
|
+
}, vue422.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Typography };
|
|
@@ -4,22 +4,22 @@ import { Link, LinkProps } from "./Link.js";
|
|
|
4
4
|
import { Title, TitleProps } from "./Title.js";
|
|
5
5
|
import { Paragraph, ParagraphProps } from "./Paragraph.js";
|
|
6
6
|
import { Typography } from "./Typography.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue183 from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/typography/index.d.ts
|
|
10
10
|
|
|
11
|
-
declare const TypographyText:
|
|
11
|
+
declare const TypographyText: vue183.DefineSetupFnComponent<TextProps, TypographyBaseEmits, vue183.SlotsType<TypographySlots>, TextProps & {
|
|
12
12
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
13
|
-
},
|
|
14
|
-
declare const TypographyLink:
|
|
13
|
+
}, vue183.PublicProps>;
|
|
14
|
+
declare const TypographyLink: vue183.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, vue183.SlotsType<TypographySlots>, LinkProps & {
|
|
15
15
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
16
|
-
},
|
|
17
|
-
declare const TypographyTitle:
|
|
16
|
+
}, vue183.PublicProps>;
|
|
17
|
+
declare const TypographyTitle: vue183.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, vue183.SlotsType<TypographySlots>, TitleProps & {
|
|
18
18
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
19
|
-
},
|
|
20
|
-
declare const TypographyParagraph:
|
|
19
|
+
}, vue183.PublicProps>;
|
|
20
|
+
declare const TypographyParagraph: vue183.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, vue183.SlotsType<TypographySlots>, ParagraphProps & {
|
|
21
21
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
22
|
-
},
|
|
22
|
+
}, vue183.PublicProps>;
|
|
23
23
|
declare const Typography$1: typeof Typography & {
|
|
24
24
|
Text: typeof Text$1;
|
|
25
25
|
Link: typeof Link;
|
package/dist/upload/Dragger.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
import { EmptyEmit } from "../_util/type.js";
|
|
1
2
|
import { UploadProps, UploadSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
3
|
+
import * as vue326 from "vue";
|
|
3
4
|
import { SlotsType } from "vue";
|
|
4
5
|
|
|
5
6
|
//#region src/upload/Dragger.d.ts
|
|
6
7
|
type DraggerProps<T = any> = UploadProps<T> & {
|
|
7
8
|
height?: number;
|
|
8
9
|
};
|
|
9
|
-
declare const Dragger:
|
|
10
|
+
declare const Dragger: vue326.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
10
11
|
height?: number;
|
|
11
|
-
} & {
|
|
12
|
+
} & {
|
|
13
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}, vue326.PublicProps>;
|
|
12
15
|
//#endregion
|
|
13
16
|
export { Dragger, DraggerProps };
|
package/dist/upload/Upload.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UploadEmits, UploadProps, UploadSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue324 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import "@v-c/upload";
|
|
5
5
|
|
|
6
6
|
//#region src/upload/Upload.d.ts
|
|
7
7
|
|
|
8
|
-
declare const InternalUpload:
|
|
8
|
+
declare const InternalUpload: vue324.DefineSetupFnComponent<UploadProps<any>, UploadEmits<any>, SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
9
9
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
10
|
-
},
|
|
10
|
+
}, vue324.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { InternalUpload };
|