antdv-next 1.0.0-alpha.5 → 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/alert/Alert.d.ts +3 -3
- package/dist/anchor/Anchor.d.ts +3 -3
- package/dist/antd.js +113 -105
- package/dist/app/App.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +4 -3
- package/dist/auto-complete/index.js +8 -1
- 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 +3 -3
- package/dist/button/Button.d.ts +3 -3
- 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/cascader/Panel.d.ts +3 -3
- package/dist/cascader/index.d.ts +1 -0
- package/dist/cascader/index.js +2 -0
- 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/color-picker/ColorPicker.d.ts +4 -4
- package/dist/color-picker/ColorPicker.js +11 -0
- package/dist/components.d.ts +8 -6
- package/dist/config-provider/context.d.ts +2 -1
- package/dist/config-provider/context.js +1 -1
- 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 +1 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.js +2 -1
- 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 +3 -3
- package/dist/dropdown/dropdown.js +7 -0
- 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/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/utils/valueUtil.js +4 -1
- package/dist/grid/col.js +7 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/style/index.js +6 -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 +12 -9
- package/dist/index.js +3 -1
- package/dist/input/TextArea.d.ts +3 -3
- 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 +1 -5
- 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/mentions/index.d.ts +4 -3
- package/dist/mentions/index.js +3 -1
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +3 -3
- package/dist/menu/SubMenu.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 +3 -2
- package/dist/notification/useNotification.js +7 -7
- package/dist/package.d.ts +34 -0
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +3 -3
- 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/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/segmented/index.d.ts +3 -3
- package/dist/select/index.d.ts +5 -5
- package/dist/select/index.js +3 -1
- package/dist/select/style/dropdown.js +1 -1
- 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/index.d.ts +5 -5
- package/dist/spin/index.d.ts +3 -3
- package/dist/spin/index.js +7 -6
- package/dist/splitter/Splitter.d.ts +3 -3
- package/dist/splitter/index.d.ts +2 -2
- 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/index.d.ts +3 -3
- package/dist/steps/style/icon.js +1 -1
- package/dist/steps/style/inline.js +1 -1
- package/dist/steps/style/panel.js +1 -1
- 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 +19 -5
- package/dist/table/Table.d.ts +3 -3
- 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 +4 -4
- 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/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 +10 -6
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +3 -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/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 +1 -1
- 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 +2 -0
- 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 +3 -3
- package/dist/upload/Upload.d.ts +3 -3
- package/dist/upload/Upload.js +15 -1
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/interface.d.ts +4 -4
- package/dist/watermark/index.d.ts +2 -2
- package/global.d.ts +1 -0
- package/package.json +49 -15
- package/web-tags.json +2452 -1907
- package/web-types.json +7148 -5592
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue316 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/tooltip/UniqueProvider/index.d.ts
|
|
4
|
-
declare const UniqueProvider:
|
|
4
|
+
declare const UniqueProvider: vue316.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue316.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { UniqueProvider };
|
package/dist/tooltip/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { AdjustOverflow } from "../_util/placements.js";
|
|
|
6
6
|
import { PurePanel } from "./PurePanel.js";
|
|
7
7
|
import { UniqueProvider as UniqueProvider$1 } from "./UniqueProvider/index.js";
|
|
8
8
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue175 from "vue";
|
|
10
10
|
import { SlotsType } from "vue";
|
|
11
11
|
import { TooltipProps, placements } from "@v-c/tooltip";
|
|
12
12
|
import { ActionType, AlignType } from "@v-c/trigger";
|
|
@@ -84,9 +84,9 @@ interface TooltipSlots {
|
|
|
84
84
|
interface InternalTooltipProps extends TooltipProps$1 {
|
|
85
85
|
dataPopoverInject?: boolean;
|
|
86
86
|
}
|
|
87
|
-
declare const InternalTooltip:
|
|
87
|
+
declare const InternalTooltip: vue175.DefineSetupFnComponent<InternalTooltipProps, TooltipEmits, SlotsType<TooltipSlots>, InternalTooltipProps & {
|
|
88
88
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
89
|
-
},
|
|
89
|
+
}, vue175.PublicProps>;
|
|
90
90
|
declare const _default: typeof InternalTooltip & {
|
|
91
91
|
UniqueProvider: typeof UniqueProvider$1;
|
|
92
92
|
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
|
@@ -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
|
|
@@ -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 };
|
|
@@ -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,6 +10,7 @@ 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 PurePanel_default from "../_util/PurePanel.js";
|
|
13
14
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
14
15
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
15
16
|
import { useFormItemInputContext } from "../form/context.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,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,16 +1,16 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { UploadProps, UploadSlots } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue326 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/upload/Dragger.d.ts
|
|
7
7
|
type DraggerProps<T = any> = UploadProps<T> & {
|
|
8
8
|
height?: number;
|
|
9
9
|
};
|
|
10
|
-
declare const Dragger:
|
|
10
|
+
declare const Dragger: vue326.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
11
11
|
height?: number;
|
|
12
12
|
} & {
|
|
13
13
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
14
|
-
},
|
|
14
|
+
}, vue326.PublicProps>;
|
|
15
15
|
//#endregion
|
|
16
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 };
|
package/dist/upload/Upload.js
CHANGED
|
@@ -12,6 +12,7 @@ import UploadList_default from "./UploadList/index.js";
|
|
|
12
12
|
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, nextTick, shallowRef, watch } from "vue";
|
|
13
13
|
import { clsx } from "@v-c/util";
|
|
14
14
|
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
15
|
+
import { omit } from "es-toolkit";
|
|
15
16
|
import VcUpload from "@v-c/upload";
|
|
16
17
|
|
|
17
18
|
//#region src/upload/Upload.tsx
|
|
@@ -251,7 +252,17 @@ const InternalUpload = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
251
252
|
onError,
|
|
252
253
|
onProgress,
|
|
253
254
|
onSuccess,
|
|
254
|
-
...props,
|
|
255
|
+
...omit(props, [
|
|
256
|
+
"classes",
|
|
257
|
+
"styles",
|
|
258
|
+
"rootClass",
|
|
259
|
+
"locale",
|
|
260
|
+
"maxCount",
|
|
261
|
+
"beforeUpload",
|
|
262
|
+
"onRemove",
|
|
263
|
+
"onPreview",
|
|
264
|
+
"onDownload"
|
|
265
|
+
]),
|
|
255
266
|
customRequest: customRequest.value,
|
|
256
267
|
data: props.data ?? {},
|
|
257
268
|
multiple: multiple ?? false,
|
|
@@ -268,6 +279,9 @@ const InternalUpload = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
268
279
|
id,
|
|
269
280
|
name
|
|
270
281
|
};
|
|
282
|
+
delete rcUploadProps.class;
|
|
283
|
+
delete rcUploadProps.className;
|
|
284
|
+
delete rcUploadProps.style;
|
|
271
285
|
if (!hasChildren || mergedDisabled.value) delete rcUploadProps.id;
|
|
272
286
|
const mergedRootCls = clsx(`${prefixCls.value}-wrapper`, contextClassName.value, mergedClassNames.value.root, rootClass.value, cssVarCls.value, rootCls.value, hashId.value, {
|
|
273
287
|
[`${prefixCls.value}-rtl`]: direction.value === "rtl",
|