@tu-design/vue 0.5.10 → 0.5.12
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/index.d.mts +1164 -1151
- package/dist/index.mjs +444 -321
- package/dist/registry/vue/alert-dialog.json +3 -3
- package/dist/registry/vue/alert.json +1 -1
- package/dist/registry/vue/avatar-group.json +1 -1
- package/dist/registry/vue/avatar.json +2 -2
- package/dist/registry/vue/badge.json +1 -1
- package/dist/registry/vue/button.json +1 -1
- package/dist/registry/vue/calendar.json +2 -2
- package/dist/registry/vue/card.json +1 -1
- package/dist/registry/vue/cascader.json +4 -4
- package/dist/registry/vue/checkbox.json +2 -2
- package/dist/registry/vue/context-menu.json +3 -3
- package/dist/registry/vue/currency-input.json +2 -2
- package/dist/registry/vue/date-picker.json +2 -2
- package/dist/registry/vue/date-range-picker.json +3 -3
- package/dist/registry/vue/date-shared.json +3 -3
- package/dist/registry/vue/dialog.json +3 -3
- package/dist/registry/vue/drawer.json +3 -3
- package/dist/registry/vue/dropdown-menu.json +3 -3
- package/dist/registry/vue/empty.json +1 -1
- package/dist/registry/vue/form-render.json +1 -1
- package/dist/registry/vue/form.json +2 -2
- package/dist/registry/vue/icon-shared.json +1 -1
- package/dist/registry/vue/input.json +1 -1
- package/dist/registry/vue/label.json +1 -1
- package/dist/registry/vue/month-picker.json +2 -2
- package/dist/registry/vue/number-input.json +2 -2
- package/dist/registry/vue/overlay-shared.json +15 -3
- package/dist/registry/vue/password-input.json +1 -1
- package/dist/registry/vue/pin-input.json +2 -2
- package/dist/registry/vue/popconfirm.json +2 -2
- package/dist/registry/vue/popover.json +3 -3
- package/dist/registry/vue/progress.json +2 -2
- package/dist/registry/vue/provider.json +28 -0
- package/dist/registry/vue/radio-group.json +2 -2
- package/dist/registry/vue/registry.json +59 -52
- package/dist/registry/vue/select.json +3 -3
- package/dist/registry/vue/separator.json +1 -1
- package/dist/registry/vue/skeleton.json +1 -1
- package/dist/registry/vue/slider.json +2 -2
- package/dist/registry/vue/slot.json +1 -1
- package/dist/registry/vue/spin.json +1 -1
- package/dist/registry/vue/switch.json +2 -2
- package/dist/registry/vue/table-render.json +8 -8
- package/dist/registry/vue/tabs.json +2 -2
- package/dist/registry/vue/textarea.json +1 -1
- package/dist/registry/vue/timeline.json +1 -1
- package/dist/registry/vue/toast.json +4 -4
- package/dist/registry/vue/tokens.json +2 -2
- package/dist/registry/vue/tooltip.json +3 -3
- package/dist/registry/vue/tree-select.json +4 -4
- package/dist/registry/vue/tree-shared.json +3 -3
- package/dist/registry/vue/utils.json +1 -1
- package/dist/registry/vue/week-picker.json +2 -2
- package/dist/registry/vue/year-picker.json +2 -2
- package/package.json +16 -16
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { ClassValue } from "clsx";
|
|
|
2
2
|
import { ImgHTMLAttributes, InjectionKey, MaybeRefOrGetter, PropType, Ref, SlotsType, VNode, VNodeChild } from "vue";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { DateValue } from "@ark-ui/vue/date-picker";
|
|
5
|
-
import { SelectRootProps } from "@ark-ui/vue/select";
|
|
5
|
+
import { Select, SelectRootProps } from "@ark-ui/vue/select";
|
|
6
6
|
import { PopoverRootProps } from "@ark-ui/vue/popover";
|
|
7
7
|
import { AnyFieldApi, FormApi, VueFormApi } from "@tanstack/vue-form";
|
|
8
8
|
import { Avatar } from "@ark-ui/vue/avatar";
|
|
@@ -11,15 +11,12 @@ import { TooltipRootProps } from "@ark-ui/vue/tooltip";
|
|
|
11
11
|
import { Table } from "@tanstack/vue-table";
|
|
12
12
|
import { Toast, ToastOptions as ToastOptions$1, ToastPlacement as ToastPlacement$1, ToastPromiseOptions as ToastPromiseOptions$1 } from "@ark-ui/vue/toast";
|
|
13
13
|
import { PositioningOptions } from "@zag-js/popper";
|
|
14
|
-
//#region src/lib/utils.d.ts
|
|
15
14
|
/**
|
|
16
15
|
* 合并 Tailwind CSS 类名:clsx 组合条件类名,tailwind-merge 消解冲突规则。
|
|
17
16
|
* @param inputs - 任意数量的类名值(字符串、数组或对象)
|
|
18
17
|
* @returns 消解冲突后的类名字符串
|
|
19
18
|
*/
|
|
20
19
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region src/resolver.d.ts
|
|
23
20
|
/**
|
|
24
21
|
* unplugin-vue-components 专用 Resolver:
|
|
25
22
|
* 消费者配置后可在模板中直接使用 <TButton> / <t-button>,无需手动 import。
|
|
@@ -28,7 +25,7 @@ export declare function cn(...inputs: ClassValue[]): string;
|
|
|
28
25
|
* (Transition/Teleport 等 T 开头名称会被 slice(1) 解析成错误导入)。
|
|
29
26
|
* 白名单与 index.ts 的组件导出保持同步(resolver.test.ts 强制校验)。
|
|
30
27
|
*/
|
|
31
|
-
export declare const COMPONENT_NAMES: readonly ["Alert", "AlertDialog", "Avatar", "AvatarGroup", "Badge", "Button", "Calendar", "Card", "Cascader", "Checkbox", "ContextMenu", "CurrencyInput", "DatePicker", "DateRangePicker", "Dialog", "Drawer", "DropdownMenu", "Empty", "Form", "FormControl", "FormDescription", "FormField", "FormItem", "FormLabel", "FormMessage", "FormRender", "FormSubscribe", "Input", "Label", "MonthPicker", "NumberInput", "PasswordInput", "PinInput", "Popconfirm", "Popover", "Progress", "RadioGroup", "Select", "Separator", "Skeleton", "Slider", "Slot", "Spin", "Switch", "TablePagination", "TableRender", "Tabs", "Textarea", "Timeline", "ToastProvider", "TreeSelect", "Tooltip", "WeekPicker", "YearPicker"];
|
|
28
|
+
export declare const COMPONENT_NAMES: readonly ["Alert", "AlertDialog", "Avatar", "AvatarGroup", "Badge", "Button", "Calendar", "Card", "Cascader", "Checkbox", "ContextMenu", "CurrencyInput", "DatePicker", "DateRangePicker", "Dialog", "Drawer", "DropdownMenu", "Empty", "Form", "FormControl", "FormDescription", "FormField", "FormItem", "FormLabel", "FormMessage", "FormRender", "FormSubscribe", "Input", "Label", "MonthPicker", "NumberInput", "PasswordInput", "PinInput", "Popconfirm", "Popover", "Progress", "RadioGroup", "Select", "Separator", "Skeleton", "Slider", "Slot", "Spin", "Switch", "TablePagination", "TableRender", "Tabs", "Textarea", "Timeline", "ToastProvider", "TreeSelect", "Tooltip", "TuDesignProvider", "WeekPicker", "YearPicker"];
|
|
32
29
|
/** 结构兼容 unplugin-vue-components 的 ComponentResolveResult,无需依赖其类型 */
|
|
33
30
|
export interface ComponentResolveResult {
|
|
34
31
|
name: string;
|
|
@@ -42,16 +39,16 @@ export type ComponentResolver = (name: string) => ComponentResolveResult | undef
|
|
|
42
39
|
* @returns Resolver 函数(组件名到导入描述的映射)
|
|
43
40
|
*/
|
|
44
41
|
export declare function TuDesignResolver(): ComponentResolver;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
default?: (props: typeof __VLS_33$1) => any;
|
|
42
|
+
declare const __VLS_template$34: () => {
|
|
43
|
+
__VLS_Slots: {
|
|
44
|
+
default?: (props: {}) => any;
|
|
45
|
+
};
|
|
50
46
|
};
|
|
51
|
-
|
|
47
|
+
type __VLS_Slots$35 = ReturnType<typeof __VLS_template$34>['__VLS_Slots'];
|
|
48
|
+
declare const __VLS_base$35: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
52
49
|
checked: {
|
|
53
50
|
type: PropType<boolean | "indeterminate" | undefined>;
|
|
54
|
-
default:
|
|
51
|
+
default: undefined;
|
|
55
52
|
};
|
|
56
53
|
defaultChecked: {
|
|
57
54
|
type: BooleanConstructor;
|
|
@@ -64,23 +61,23 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
|
|
|
64
61
|
/** 原生表单提交的字段名(透传 HiddenInput,与 RadioGroup 对齐) */
|
|
65
62
|
name: {
|
|
66
63
|
type: StringConstructor;
|
|
67
|
-
default:
|
|
64
|
+
default: undefined;
|
|
68
65
|
};
|
|
69
66
|
/** 关联的 form id */
|
|
70
67
|
form: {
|
|
71
68
|
type: StringConstructor;
|
|
72
|
-
default:
|
|
69
|
+
default: undefined;
|
|
73
70
|
};
|
|
74
71
|
class: {
|
|
75
72
|
type: StringConstructor;
|
|
76
|
-
default:
|
|
73
|
+
default: undefined;
|
|
77
74
|
};
|
|
78
75
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
76
|
"update:checked": (checked: boolean) => any;
|
|
80
77
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
78
|
checked: {
|
|
82
79
|
type: PropType<boolean | "indeterminate" | undefined>;
|
|
83
|
-
default:
|
|
80
|
+
default: undefined;
|
|
84
81
|
};
|
|
85
82
|
defaultChecked: {
|
|
86
83
|
type: BooleanConstructor;
|
|
@@ -93,36 +90,34 @@ declare const __VLS_base$34: import("vue").DefineComponent<import("vue").Extract
|
|
|
93
90
|
/** 原生表单提交的字段名(透传 HiddenInput,与 RadioGroup 对齐) */
|
|
94
91
|
name: {
|
|
95
92
|
type: StringConstructor;
|
|
96
|
-
default:
|
|
93
|
+
default: undefined;
|
|
97
94
|
};
|
|
98
95
|
/** 关联的 form id */
|
|
99
96
|
form: {
|
|
100
97
|
type: StringConstructor;
|
|
101
|
-
default:
|
|
98
|
+
default: undefined;
|
|
102
99
|
};
|
|
103
100
|
class: {
|
|
104
101
|
type: StringConstructor;
|
|
105
|
-
default:
|
|
102
|
+
default: undefined;
|
|
106
103
|
};
|
|
107
104
|
}>> & Readonly<{
|
|
108
|
-
"onUpdate:checked"?: (checked: boolean) => any;
|
|
105
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
109
106
|
}>, {
|
|
110
107
|
class: string;
|
|
111
|
-
|
|
108
|
+
checked: boolean | "indeterminate" | undefined;
|
|
109
|
+
defaultChecked: boolean;
|
|
112
110
|
disabled: boolean;
|
|
111
|
+
name: string;
|
|
113
112
|
form: string;
|
|
114
|
-
checked: boolean | "indeterminate";
|
|
115
|
-
defaultChecked: boolean;
|
|
116
113
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
|
-
declare const __VLS_export$
|
|
118
|
-
declare const _default$9: typeof __VLS_export$
|
|
119
|
-
type __VLS_WithSlots$
|
|
114
|
+
declare const __VLS_export$53: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
|
|
115
|
+
declare const _default$9: typeof __VLS_export$53;
|
|
116
|
+
type __VLS_WithSlots$35<T, S> = T & {
|
|
120
117
|
new (): {
|
|
121
118
|
$slots: S;
|
|
122
119
|
};
|
|
123
120
|
};
|
|
124
|
-
//#endregion
|
|
125
|
-
//#region src/components/currency-input/utils.d.ts
|
|
126
121
|
/** 货币单位:万/元/角/分(组件枚举固定,换算基准为整数分) */
|
|
127
122
|
type CurrencyUnit = "万" | "元" | "角" | "分";
|
|
128
123
|
/**
|
|
@@ -144,13 +139,11 @@ export declare function parseCurrency(raw: string, labelUnit: CurrencyUnit, valu
|
|
|
144
139
|
* @returns labelUnit 单位的回显文本(已去尾零);非有限值返回空串
|
|
145
140
|
*/
|
|
146
141
|
export declare function formatCurrency(value: number, valueUnit: CurrencyUnit, labelUnit: CurrencyUnit): string;
|
|
147
|
-
|
|
148
|
-
//#region src/components/currency-input/CurrencyInput.vue.d.ts
|
|
149
|
-
declare const __VLS_export$51: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
142
|
+
declare const __VLS_export$52: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
150
143
|
/** 受控值(valueUnit 单位);undefined 走内部非受控,null 表示空 */
|
|
151
144
|
modelValue: {
|
|
152
145
|
type: PropType<number | null | undefined>;
|
|
153
|
-
default:
|
|
146
|
+
default: undefined;
|
|
154
147
|
};
|
|
155
148
|
/** 界面输入单位 */
|
|
156
149
|
labelUnit: {
|
|
@@ -164,27 +157,27 @@ declare const __VLS_export$51: import("vue").DefineComponent<import("vue").Extra
|
|
|
164
157
|
};
|
|
165
158
|
placeholder: {
|
|
166
159
|
type: StringConstructor;
|
|
167
|
-
default:
|
|
160
|
+
default: undefined;
|
|
168
161
|
};
|
|
169
162
|
disabled: {
|
|
170
163
|
type: PropType<boolean | undefined>;
|
|
171
|
-
default:
|
|
164
|
+
default: undefined;
|
|
172
165
|
};
|
|
173
166
|
invalid: {
|
|
174
167
|
type: PropType<boolean | undefined>;
|
|
175
|
-
default:
|
|
168
|
+
default: undefined;
|
|
176
169
|
};
|
|
177
170
|
class: {
|
|
178
171
|
type: StringConstructor;
|
|
179
|
-
default:
|
|
172
|
+
default: undefined;
|
|
180
173
|
};
|
|
181
174
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
182
|
-
"update:modelValue": (value: number) => any;
|
|
175
|
+
"update:modelValue": (value: number | null) => any;
|
|
183
176
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
184
177
|
/** 受控值(valueUnit 单位);undefined 走内部非受控,null 表示空 */
|
|
185
178
|
modelValue: {
|
|
186
179
|
type: PropType<number | null | undefined>;
|
|
187
|
-
default:
|
|
180
|
+
default: undefined;
|
|
188
181
|
};
|
|
189
182
|
/** 界面输入单位 */
|
|
190
183
|
labelUnit: {
|
|
@@ -198,34 +191,32 @@ declare const __VLS_export$51: import("vue").DefineComponent<import("vue").Extra
|
|
|
198
191
|
};
|
|
199
192
|
placeholder: {
|
|
200
193
|
type: StringConstructor;
|
|
201
|
-
default:
|
|
194
|
+
default: undefined;
|
|
202
195
|
};
|
|
203
196
|
disabled: {
|
|
204
197
|
type: PropType<boolean | undefined>;
|
|
205
|
-
default:
|
|
198
|
+
default: undefined;
|
|
206
199
|
};
|
|
207
200
|
invalid: {
|
|
208
201
|
type: PropType<boolean | undefined>;
|
|
209
|
-
default:
|
|
202
|
+
default: undefined;
|
|
210
203
|
};
|
|
211
204
|
class: {
|
|
212
205
|
type: StringConstructor;
|
|
213
|
-
default:
|
|
206
|
+
default: undefined;
|
|
214
207
|
};
|
|
215
208
|
}>> & Readonly<{
|
|
216
|
-
"onUpdate:modelValue"?: (value: number) => any;
|
|
209
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
217
210
|
}>, {
|
|
218
211
|
class: string;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
modelValue: number;
|
|
212
|
+
modelValue: number | null | undefined;
|
|
213
|
+
disabled: boolean | undefined;
|
|
222
214
|
placeholder: string;
|
|
215
|
+
invalid: boolean | undefined;
|
|
223
216
|
labelUnit: CurrencyUnit;
|
|
224
217
|
valueUnit: CurrencyUnit;
|
|
225
218
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
226
|
-
declare const _default$11: typeof __VLS_export$
|
|
227
|
-
//#endregion
|
|
228
|
-
//#region src/components/date-shared/positioning.d.ts
|
|
219
|
+
declare const _default$11: typeof __VLS_export$52;
|
|
229
220
|
/**
|
|
230
221
|
* Ark DatePicker Root 的 positioning 配置类型。
|
|
231
222
|
*
|
|
@@ -237,22 +228,20 @@ declare const _default$11: typeof __VLS_export$51;
|
|
|
237
228
|
* packages/vue 已显式声明该依赖(catalog:),构建可移植。
|
|
238
229
|
*/
|
|
239
230
|
type PickerPositioning = PositioningOptions;
|
|
240
|
-
|
|
241
|
-
//#region src/components/date-picker/DatePicker.vue.d.ts
|
|
242
|
-
declare const __VLS_export$50: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
231
|
+
declare const __VLS_export$51: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
243
232
|
/** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
|
|
244
233
|
modelValue: {
|
|
245
234
|
type: PropType<string | null | undefined>;
|
|
246
|
-
default:
|
|
235
|
+
default: undefined;
|
|
247
236
|
};
|
|
248
237
|
defaultValue: {
|
|
249
238
|
type: StringConstructor;
|
|
250
|
-
default:
|
|
239
|
+
default: undefined;
|
|
251
240
|
};
|
|
252
241
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
253
242
|
open: {
|
|
254
243
|
type: PropType<boolean | undefined>;
|
|
255
|
-
default:
|
|
244
|
+
default: undefined;
|
|
256
245
|
};
|
|
257
246
|
defaultOpen: {
|
|
258
247
|
type: BooleanConstructor;
|
|
@@ -264,30 +253,30 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
264
253
|
};
|
|
265
254
|
disabled: {
|
|
266
255
|
type: PropType<boolean | undefined>;
|
|
267
|
-
default:
|
|
256
|
+
default: undefined;
|
|
268
257
|
};
|
|
269
258
|
invalid: {
|
|
270
259
|
type: PropType<boolean | undefined>;
|
|
271
|
-
default:
|
|
260
|
+
default: undefined;
|
|
272
261
|
};
|
|
273
262
|
readOnly: {
|
|
274
263
|
type: PropType<boolean | undefined>;
|
|
275
|
-
default:
|
|
264
|
+
default: undefined;
|
|
276
265
|
};
|
|
277
266
|
/** 可选下界("yyyy-MM-dd",含当日) */
|
|
278
267
|
min: {
|
|
279
268
|
type: StringConstructor;
|
|
280
|
-
default:
|
|
269
|
+
default: undefined;
|
|
281
270
|
};
|
|
282
271
|
/** 可选上界("yyyy-MM-dd",含当日) */
|
|
283
272
|
max: {
|
|
284
273
|
type: StringConstructor;
|
|
285
|
-
default:
|
|
274
|
+
default: undefined;
|
|
286
275
|
};
|
|
287
276
|
/** 不可选日期谓词(参数为 ark 的 DateValue,见 date-picker.md 类型说明) */
|
|
288
277
|
isDateUnavailable: {
|
|
289
278
|
type: PropType<(date: DateValue) => boolean>;
|
|
290
|
-
default:
|
|
279
|
+
default: undefined;
|
|
291
280
|
};
|
|
292
281
|
/** 选中后是否自动关弹层 */
|
|
293
282
|
closeOnSelect: {
|
|
@@ -304,29 +293,29 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
304
293
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
305
294
|
positioning: {
|
|
306
295
|
type: PropType<PickerPositioning>;
|
|
307
|
-
default:
|
|
296
|
+
default: undefined;
|
|
308
297
|
};
|
|
309
298
|
class: {
|
|
310
299
|
type: StringConstructor;
|
|
311
|
-
default:
|
|
300
|
+
default: undefined;
|
|
312
301
|
};
|
|
313
302
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
314
|
-
"update:modelValue": (value: string) => any;
|
|
303
|
+
"update:modelValue": (value: string | null) => any;
|
|
315
304
|
"update:open": (open: boolean) => any;
|
|
316
305
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
317
306
|
/** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
|
|
318
307
|
modelValue: {
|
|
319
308
|
type: PropType<string | null | undefined>;
|
|
320
|
-
default:
|
|
309
|
+
default: undefined;
|
|
321
310
|
};
|
|
322
311
|
defaultValue: {
|
|
323
312
|
type: StringConstructor;
|
|
324
|
-
default:
|
|
313
|
+
default: undefined;
|
|
325
314
|
};
|
|
326
315
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
327
316
|
open: {
|
|
328
317
|
type: PropType<boolean | undefined>;
|
|
329
|
-
default:
|
|
318
|
+
default: undefined;
|
|
330
319
|
};
|
|
331
320
|
defaultOpen: {
|
|
332
321
|
type: BooleanConstructor;
|
|
@@ -338,30 +327,30 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
338
327
|
};
|
|
339
328
|
disabled: {
|
|
340
329
|
type: PropType<boolean | undefined>;
|
|
341
|
-
default:
|
|
330
|
+
default: undefined;
|
|
342
331
|
};
|
|
343
332
|
invalid: {
|
|
344
333
|
type: PropType<boolean | undefined>;
|
|
345
|
-
default:
|
|
334
|
+
default: undefined;
|
|
346
335
|
};
|
|
347
336
|
readOnly: {
|
|
348
337
|
type: PropType<boolean | undefined>;
|
|
349
|
-
default:
|
|
338
|
+
default: undefined;
|
|
350
339
|
};
|
|
351
340
|
/** 可选下界("yyyy-MM-dd",含当日) */
|
|
352
341
|
min: {
|
|
353
342
|
type: StringConstructor;
|
|
354
|
-
default:
|
|
343
|
+
default: undefined;
|
|
355
344
|
};
|
|
356
345
|
/** 可选上界("yyyy-MM-dd",含当日) */
|
|
357
346
|
max: {
|
|
358
347
|
type: StringConstructor;
|
|
359
|
-
default:
|
|
348
|
+
default: undefined;
|
|
360
349
|
};
|
|
361
350
|
/** 不可选日期谓词(参数为 ark 的 DateValue,见 date-picker.md 类型说明) */
|
|
362
351
|
isDateUnavailable: {
|
|
363
352
|
type: PropType<(date: DateValue) => boolean>;
|
|
364
|
-
default:
|
|
353
|
+
default: undefined;
|
|
365
354
|
};
|
|
366
355
|
/** 选中后是否自动关弹层 */
|
|
367
356
|
closeOnSelect: {
|
|
@@ -378,49 +367,47 @@ declare const __VLS_export$50: import("vue").DefineComponent<import("vue").Extra
|
|
|
378
367
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
379
368
|
positioning: {
|
|
380
369
|
type: PropType<PickerPositioning>;
|
|
381
|
-
default:
|
|
370
|
+
default: undefined;
|
|
382
371
|
};
|
|
383
372
|
class: {
|
|
384
373
|
type: StringConstructor;
|
|
385
|
-
default:
|
|
374
|
+
default: undefined;
|
|
386
375
|
};
|
|
387
376
|
}>> & Readonly<{
|
|
388
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
389
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
377
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
378
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
390
379
|
}>, {
|
|
391
380
|
class: string;
|
|
392
381
|
max: string;
|
|
382
|
+
modelValue: string | null | undefined;
|
|
393
383
|
defaultValue: string;
|
|
394
|
-
disabled: boolean;
|
|
395
|
-
readOnly: boolean;
|
|
396
|
-
invalid: boolean;
|
|
397
|
-
modelValue: string;
|
|
398
384
|
min: string;
|
|
399
385
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
400
386
|
locale: string;
|
|
401
|
-
|
|
387
|
+
disabled: boolean | undefined;
|
|
388
|
+
open: boolean | undefined;
|
|
402
389
|
defaultOpen: boolean;
|
|
403
390
|
placeholder: string;
|
|
391
|
+
invalid: boolean | undefined;
|
|
392
|
+
readOnly: boolean | undefined;
|
|
404
393
|
closeOnSelect: boolean;
|
|
405
394
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
406
395
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
407
|
-
declare const _default$12: typeof __VLS_export$
|
|
408
|
-
|
|
409
|
-
//#region src/components/date-range-picker/DateRangePicker.vue.d.ts
|
|
410
|
-
declare const __VLS_export$49: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
396
|
+
declare const _default$12: typeof __VLS_export$51;
|
|
397
|
+
declare const __VLS_export$50: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
411
398
|
/** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
|
|
412
399
|
modelValue: {
|
|
413
400
|
type: PropType<[string, string] | null | undefined>;
|
|
414
|
-
default:
|
|
401
|
+
default: undefined;
|
|
415
402
|
};
|
|
416
403
|
defaultValue: {
|
|
417
404
|
type: PropType<[string, string] | undefined>;
|
|
418
|
-
default:
|
|
405
|
+
default: undefined;
|
|
419
406
|
};
|
|
420
407
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
421
408
|
open: {
|
|
422
409
|
type: PropType<boolean | undefined>;
|
|
423
|
-
default:
|
|
410
|
+
default: undefined;
|
|
424
411
|
};
|
|
425
412
|
defaultOpen: {
|
|
426
413
|
type: BooleanConstructor;
|
|
@@ -432,30 +419,30 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
432
419
|
};
|
|
433
420
|
disabled: {
|
|
434
421
|
type: PropType<boolean | undefined>;
|
|
435
|
-
default:
|
|
422
|
+
default: undefined;
|
|
436
423
|
};
|
|
437
424
|
invalid: {
|
|
438
425
|
type: PropType<boolean | undefined>;
|
|
439
|
-
default:
|
|
426
|
+
default: undefined;
|
|
440
427
|
};
|
|
441
428
|
readOnly: {
|
|
442
429
|
type: PropType<boolean | undefined>;
|
|
443
|
-
default:
|
|
430
|
+
default: undefined;
|
|
444
431
|
};
|
|
445
432
|
/** 可选下界("yyyy-MM-dd",含当日) */
|
|
446
433
|
min: {
|
|
447
434
|
type: StringConstructor;
|
|
448
|
-
default:
|
|
435
|
+
default: undefined;
|
|
449
436
|
};
|
|
450
437
|
/** 可选上界("yyyy-MM-dd",含当日) */
|
|
451
438
|
max: {
|
|
452
439
|
type: StringConstructor;
|
|
453
|
-
default:
|
|
440
|
+
default: undefined;
|
|
454
441
|
};
|
|
455
442
|
/** 不可选日期谓词(参数为 ark 的 DateValue) */
|
|
456
443
|
isDateUnavailable: {
|
|
457
444
|
type: PropType<(date: DateValue) => boolean>;
|
|
458
|
-
default:
|
|
445
|
+
default: undefined;
|
|
459
446
|
};
|
|
460
447
|
/** 选完终点后是否自动关弹层 */
|
|
461
448
|
closeOnSelect: {
|
|
@@ -476,29 +463,29 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
476
463
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
|
|
477
464
|
positioning: {
|
|
478
465
|
type: PropType<PickerPositioning>;
|
|
479
|
-
default:
|
|
466
|
+
default: undefined;
|
|
480
467
|
};
|
|
481
468
|
class: {
|
|
482
469
|
type: StringConstructor;
|
|
483
|
-
default:
|
|
470
|
+
default: undefined;
|
|
484
471
|
};
|
|
485
472
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
486
|
-
"update:modelValue": (value: [string, string]) => any;
|
|
473
|
+
"update:modelValue": (value: [string, string] | null) => any;
|
|
487
474
|
"update:open": (open: boolean) => any;
|
|
488
475
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
489
476
|
/** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
|
|
490
477
|
modelValue: {
|
|
491
478
|
type: PropType<[string, string] | null | undefined>;
|
|
492
|
-
default:
|
|
479
|
+
default: undefined;
|
|
493
480
|
};
|
|
494
481
|
defaultValue: {
|
|
495
482
|
type: PropType<[string, string] | undefined>;
|
|
496
|
-
default:
|
|
483
|
+
default: undefined;
|
|
497
484
|
};
|
|
498
485
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
499
486
|
open: {
|
|
500
487
|
type: PropType<boolean | undefined>;
|
|
501
|
-
default:
|
|
488
|
+
default: undefined;
|
|
502
489
|
};
|
|
503
490
|
defaultOpen: {
|
|
504
491
|
type: BooleanConstructor;
|
|
@@ -510,30 +497,30 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
510
497
|
};
|
|
511
498
|
disabled: {
|
|
512
499
|
type: PropType<boolean | undefined>;
|
|
513
|
-
default:
|
|
500
|
+
default: undefined;
|
|
514
501
|
};
|
|
515
502
|
invalid: {
|
|
516
503
|
type: PropType<boolean | undefined>;
|
|
517
|
-
default:
|
|
504
|
+
default: undefined;
|
|
518
505
|
};
|
|
519
506
|
readOnly: {
|
|
520
507
|
type: PropType<boolean | undefined>;
|
|
521
|
-
default:
|
|
508
|
+
default: undefined;
|
|
522
509
|
};
|
|
523
510
|
/** 可选下界("yyyy-MM-dd",含当日) */
|
|
524
511
|
min: {
|
|
525
512
|
type: StringConstructor;
|
|
526
|
-
default:
|
|
513
|
+
default: undefined;
|
|
527
514
|
};
|
|
528
515
|
/** 可选上界("yyyy-MM-dd",含当日) */
|
|
529
516
|
max: {
|
|
530
517
|
type: StringConstructor;
|
|
531
|
-
default:
|
|
518
|
+
default: undefined;
|
|
532
519
|
};
|
|
533
520
|
/** 不可选日期谓词(参数为 ark 的 DateValue) */
|
|
534
521
|
isDateUnavailable: {
|
|
535
522
|
type: PropType<(date: DateValue) => boolean>;
|
|
536
|
-
default:
|
|
523
|
+
default: undefined;
|
|
537
524
|
};
|
|
538
525
|
/** 选完终点后是否自动关弹层 */
|
|
539
526
|
closeOnSelect: {
|
|
@@ -554,36 +541,34 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
554
541
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
|
|
555
542
|
positioning: {
|
|
556
543
|
type: PropType<PickerPositioning>;
|
|
557
|
-
default:
|
|
544
|
+
default: undefined;
|
|
558
545
|
};
|
|
559
546
|
class: {
|
|
560
547
|
type: StringConstructor;
|
|
561
|
-
default:
|
|
548
|
+
default: undefined;
|
|
562
549
|
};
|
|
563
550
|
}>> & Readonly<{
|
|
564
|
-
"onUpdate:modelValue"?: (value: [string, string]) => any;
|
|
565
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
551
|
+
"onUpdate:modelValue"?: ((value: [string, string] | null) => any) | undefined;
|
|
552
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
566
553
|
}>, {
|
|
567
554
|
class: string;
|
|
568
555
|
max: string;
|
|
569
|
-
defaultValue: [string, string];
|
|
570
|
-
disabled: boolean;
|
|
571
|
-
readOnly: boolean;
|
|
572
|
-
invalid: boolean;
|
|
573
|
-
modelValue: [string, string];
|
|
574
556
|
numOfMonths: number;
|
|
557
|
+
modelValue: [string, string] | null | undefined;
|
|
558
|
+
defaultValue: [string, string] | undefined;
|
|
575
559
|
min: string;
|
|
576
560
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
577
561
|
locale: string;
|
|
578
|
-
|
|
562
|
+
disabled: boolean | undefined;
|
|
563
|
+
open: boolean | undefined;
|
|
579
564
|
defaultOpen: boolean;
|
|
580
565
|
placeholder: string;
|
|
566
|
+
invalid: boolean | undefined;
|
|
567
|
+
readOnly: boolean | undefined;
|
|
581
568
|
closeOnSelect: boolean;
|
|
582
569
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
583
570
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
584
|
-
declare const _default$13: typeof __VLS_export$
|
|
585
|
-
//#endregion
|
|
586
|
-
//#region src/components/input/Input.vue.d.ts
|
|
571
|
+
declare const _default$13: typeof __VLS_export$50;
|
|
587
572
|
type __VLS_Props$12 = {
|
|
588
573
|
class?: string;
|
|
589
574
|
invalid?: boolean;
|
|
@@ -592,29 +577,27 @@ type __VLS_ModelProps$2 = {
|
|
|
592
577
|
modelValue?: string | number;
|
|
593
578
|
};
|
|
594
579
|
type __VLS_PublicProps$2 = __VLS_Props$12 & __VLS_ModelProps$2;
|
|
595
|
-
declare const __VLS_export$
|
|
596
|
-
"update:modelValue": (value: string | number) => any;
|
|
580
|
+
declare const __VLS_export$49: import("vue").DefineComponent<__VLS_PublicProps$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
581
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
597
582
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
598
|
-
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
599
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
600
|
-
declare const _default$27: typeof __VLS_export$
|
|
601
|
-
|
|
602
|
-
//#region src/components/month-picker/MonthPicker.vue.d.ts
|
|
603
|
-
declare const __VLS_export$47: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
583
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
584
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
585
|
+
declare const _default$27: typeof __VLS_export$49;
|
|
586
|
+
declare const __VLS_export$48: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
604
587
|
/** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
|
|
605
588
|
modelValue: {
|
|
606
589
|
type: PropType<string | null | undefined>;
|
|
607
|
-
default:
|
|
590
|
+
default: undefined;
|
|
608
591
|
};
|
|
609
592
|
/** 非受控初值("yyyy-MM") */
|
|
610
593
|
defaultValue: {
|
|
611
594
|
type: StringConstructor;
|
|
612
|
-
default:
|
|
595
|
+
default: undefined;
|
|
613
596
|
};
|
|
614
597
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
615
598
|
open: {
|
|
616
599
|
type: PropType<boolean | undefined>;
|
|
617
|
-
default:
|
|
600
|
+
default: undefined;
|
|
618
601
|
};
|
|
619
602
|
defaultOpen: {
|
|
620
603
|
type: BooleanConstructor;
|
|
@@ -626,25 +609,25 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
626
609
|
};
|
|
627
610
|
disabled: {
|
|
628
611
|
type: PropType<boolean | undefined>;
|
|
629
|
-
default:
|
|
612
|
+
default: undefined;
|
|
630
613
|
};
|
|
631
614
|
invalid: {
|
|
632
615
|
type: PropType<boolean | undefined>;
|
|
633
|
-
default:
|
|
616
|
+
default: undefined;
|
|
634
617
|
};
|
|
635
618
|
readOnly: {
|
|
636
619
|
type: PropType<boolean | undefined>;
|
|
637
|
-
default:
|
|
620
|
+
default: undefined;
|
|
638
621
|
};
|
|
639
622
|
/** 可选下界("yyyy-MM",含当月) */
|
|
640
623
|
min: {
|
|
641
624
|
type: StringConstructor;
|
|
642
|
-
default:
|
|
625
|
+
default: undefined;
|
|
643
626
|
};
|
|
644
627
|
/** 可选上界("yyyy-MM",含当月) */
|
|
645
628
|
max: {
|
|
646
629
|
type: StringConstructor;
|
|
647
|
-
default:
|
|
630
|
+
default: undefined;
|
|
648
631
|
};
|
|
649
632
|
/** 选中后是否自动关弹层 */
|
|
650
633
|
closeOnSelect: {
|
|
@@ -661,30 +644,30 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
661
644
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
662
645
|
positioning: {
|
|
663
646
|
type: PropType<PickerPositioning>;
|
|
664
|
-
default:
|
|
647
|
+
default: undefined;
|
|
665
648
|
};
|
|
666
649
|
class: {
|
|
667
650
|
type: StringConstructor;
|
|
668
|
-
default:
|
|
651
|
+
default: undefined;
|
|
669
652
|
};
|
|
670
653
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
671
|
-
"update:modelValue": (value: string) => any;
|
|
654
|
+
"update:modelValue": (value: string | null) => any;
|
|
672
655
|
"update:open": (open: boolean) => any;
|
|
673
656
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
674
657
|
/** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
|
|
675
658
|
modelValue: {
|
|
676
659
|
type: PropType<string | null | undefined>;
|
|
677
|
-
default:
|
|
660
|
+
default: undefined;
|
|
678
661
|
};
|
|
679
662
|
/** 非受控初值("yyyy-MM") */
|
|
680
663
|
defaultValue: {
|
|
681
664
|
type: StringConstructor;
|
|
682
|
-
default:
|
|
665
|
+
default: undefined;
|
|
683
666
|
};
|
|
684
667
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
685
668
|
open: {
|
|
686
669
|
type: PropType<boolean | undefined>;
|
|
687
|
-
default:
|
|
670
|
+
default: undefined;
|
|
688
671
|
};
|
|
689
672
|
defaultOpen: {
|
|
690
673
|
type: BooleanConstructor;
|
|
@@ -696,25 +679,25 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
696
679
|
};
|
|
697
680
|
disabled: {
|
|
698
681
|
type: PropType<boolean | undefined>;
|
|
699
|
-
default:
|
|
682
|
+
default: undefined;
|
|
700
683
|
};
|
|
701
684
|
invalid: {
|
|
702
685
|
type: PropType<boolean | undefined>;
|
|
703
|
-
default:
|
|
686
|
+
default: undefined;
|
|
704
687
|
};
|
|
705
688
|
readOnly: {
|
|
706
689
|
type: PropType<boolean | undefined>;
|
|
707
|
-
default:
|
|
690
|
+
default: undefined;
|
|
708
691
|
};
|
|
709
692
|
/** 可选下界("yyyy-MM",含当月) */
|
|
710
693
|
min: {
|
|
711
694
|
type: StringConstructor;
|
|
712
|
-
default:
|
|
695
|
+
default: undefined;
|
|
713
696
|
};
|
|
714
697
|
/** 可选上界("yyyy-MM",含当月) */
|
|
715
698
|
max: {
|
|
716
699
|
type: StringConstructor;
|
|
717
|
-
default:
|
|
700
|
+
default: undefined;
|
|
718
701
|
};
|
|
719
702
|
/** 选中后是否自动关弹层 */
|
|
720
703
|
closeOnSelect: {
|
|
@@ -731,49 +714,47 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
731
714
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
732
715
|
positioning: {
|
|
733
716
|
type: PropType<PickerPositioning>;
|
|
734
|
-
default:
|
|
717
|
+
default: undefined;
|
|
735
718
|
};
|
|
736
719
|
class: {
|
|
737
720
|
type: StringConstructor;
|
|
738
|
-
default:
|
|
721
|
+
default: undefined;
|
|
739
722
|
};
|
|
740
723
|
}>> & Readonly<{
|
|
741
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
742
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
724
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
725
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
743
726
|
}>, {
|
|
744
727
|
class: string;
|
|
745
728
|
max: string;
|
|
729
|
+
modelValue: string | null | undefined;
|
|
746
730
|
defaultValue: string;
|
|
747
|
-
disabled: boolean;
|
|
748
|
-
readOnly: boolean;
|
|
749
|
-
invalid: boolean;
|
|
750
|
-
modelValue: string;
|
|
751
731
|
min: string;
|
|
752
732
|
locale: string;
|
|
753
|
-
|
|
733
|
+
disabled: boolean | undefined;
|
|
734
|
+
open: boolean | undefined;
|
|
754
735
|
defaultOpen: boolean;
|
|
755
736
|
placeholder: string;
|
|
737
|
+
invalid: boolean | undefined;
|
|
738
|
+
readOnly: boolean | undefined;
|
|
756
739
|
closeOnSelect: boolean;
|
|
757
740
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
758
741
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
759
|
-
declare const _default$29: typeof __VLS_export$
|
|
760
|
-
|
|
761
|
-
//#region src/components/week-picker/WeekPicker.vue.d.ts
|
|
762
|
-
declare const __VLS_export$46: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
742
|
+
declare const _default$29: typeof __VLS_export$48;
|
|
743
|
+
declare const __VLS_export$47: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
763
744
|
/** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
|
|
764
745
|
modelValue: {
|
|
765
746
|
type: PropType<string | null | undefined>;
|
|
766
|
-
default:
|
|
747
|
+
default: undefined;
|
|
767
748
|
};
|
|
768
749
|
/** 非受控初值("yyyy-MM-dd",内部归一到所在周起始日) */
|
|
769
750
|
defaultValue: {
|
|
770
751
|
type: StringConstructor;
|
|
771
|
-
default:
|
|
752
|
+
default: undefined;
|
|
772
753
|
};
|
|
773
754
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
774
755
|
open: {
|
|
775
756
|
type: PropType<boolean | undefined>;
|
|
776
|
-
default:
|
|
757
|
+
default: undefined;
|
|
777
758
|
};
|
|
778
759
|
defaultOpen: {
|
|
779
760
|
type: BooleanConstructor;
|
|
@@ -785,30 +766,30 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
785
766
|
};
|
|
786
767
|
disabled: {
|
|
787
768
|
type: PropType<boolean | undefined>;
|
|
788
|
-
default:
|
|
769
|
+
default: undefined;
|
|
789
770
|
};
|
|
790
771
|
invalid: {
|
|
791
772
|
type: PropType<boolean | undefined>;
|
|
792
|
-
default:
|
|
773
|
+
default: undefined;
|
|
793
774
|
};
|
|
794
775
|
readOnly: {
|
|
795
776
|
type: PropType<boolean | undefined>;
|
|
796
|
-
default:
|
|
777
|
+
default: undefined;
|
|
797
778
|
};
|
|
798
779
|
/** 可选下界("yyyy-MM-dd",含当日;日粒度,周条带可能视觉越界但不影响点选禁用) */
|
|
799
780
|
min: {
|
|
800
781
|
type: StringConstructor;
|
|
801
|
-
default:
|
|
782
|
+
default: undefined;
|
|
802
783
|
};
|
|
803
784
|
/** 可选上界("yyyy-MM-dd",含当日) */
|
|
804
785
|
max: {
|
|
805
786
|
type: StringConstructor;
|
|
806
|
-
default:
|
|
787
|
+
default: undefined;
|
|
807
788
|
};
|
|
808
789
|
/** 不可选日期谓词(参数为 ark 的 DateValue;命中格不可点,同周其余日仍可选) */
|
|
809
790
|
isDateUnavailable: {
|
|
810
791
|
type: PropType<(date: DateValue) => boolean>;
|
|
811
|
-
default:
|
|
792
|
+
default: undefined;
|
|
812
793
|
};
|
|
813
794
|
/** 选中后是否自动关弹层 */
|
|
814
795
|
closeOnSelect: {
|
|
@@ -825,30 +806,30 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
825
806
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
826
807
|
positioning: {
|
|
827
808
|
type: PropType<PickerPositioning>;
|
|
828
|
-
default:
|
|
809
|
+
default: undefined;
|
|
829
810
|
};
|
|
830
811
|
class: {
|
|
831
812
|
type: StringConstructor;
|
|
832
|
-
default:
|
|
813
|
+
default: undefined;
|
|
833
814
|
};
|
|
834
815
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
835
|
-
"update:modelValue": (value: string) => any;
|
|
816
|
+
"update:modelValue": (value: string | null) => any;
|
|
836
817
|
"update:open": (open: boolean) => any;
|
|
837
818
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
838
819
|
/** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
|
|
839
820
|
modelValue: {
|
|
840
821
|
type: PropType<string | null | undefined>;
|
|
841
|
-
default:
|
|
822
|
+
default: undefined;
|
|
842
823
|
};
|
|
843
824
|
/** 非受控初值("yyyy-MM-dd",内部归一到所在周起始日) */
|
|
844
825
|
defaultValue: {
|
|
845
826
|
type: StringConstructor;
|
|
846
|
-
default:
|
|
827
|
+
default: undefined;
|
|
847
828
|
};
|
|
848
829
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
849
830
|
open: {
|
|
850
831
|
type: PropType<boolean | undefined>;
|
|
851
|
-
default:
|
|
832
|
+
default: undefined;
|
|
852
833
|
};
|
|
853
834
|
defaultOpen: {
|
|
854
835
|
type: BooleanConstructor;
|
|
@@ -860,30 +841,30 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
860
841
|
};
|
|
861
842
|
disabled: {
|
|
862
843
|
type: PropType<boolean | undefined>;
|
|
863
|
-
default:
|
|
844
|
+
default: undefined;
|
|
864
845
|
};
|
|
865
846
|
invalid: {
|
|
866
847
|
type: PropType<boolean | undefined>;
|
|
867
|
-
default:
|
|
848
|
+
default: undefined;
|
|
868
849
|
};
|
|
869
850
|
readOnly: {
|
|
870
851
|
type: PropType<boolean | undefined>;
|
|
871
|
-
default:
|
|
852
|
+
default: undefined;
|
|
872
853
|
};
|
|
873
854
|
/** 可选下界("yyyy-MM-dd",含当日;日粒度,周条带可能视觉越界但不影响点选禁用) */
|
|
874
855
|
min: {
|
|
875
856
|
type: StringConstructor;
|
|
876
|
-
default:
|
|
857
|
+
default: undefined;
|
|
877
858
|
};
|
|
878
859
|
/** 可选上界("yyyy-MM-dd",含当日) */
|
|
879
860
|
max: {
|
|
880
861
|
type: StringConstructor;
|
|
881
|
-
default:
|
|
862
|
+
default: undefined;
|
|
882
863
|
};
|
|
883
864
|
/** 不可选日期谓词(参数为 ark 的 DateValue;命中格不可点,同周其余日仍可选) */
|
|
884
865
|
isDateUnavailable: {
|
|
885
866
|
type: PropType<(date: DateValue) => boolean>;
|
|
886
|
-
default:
|
|
867
|
+
default: undefined;
|
|
887
868
|
};
|
|
888
869
|
/** 选中后是否自动关弹层 */
|
|
889
870
|
closeOnSelect: {
|
|
@@ -900,132 +881,130 @@ declare const __VLS_export$46: import("vue").DefineComponent<import("vue").Extra
|
|
|
900
881
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
901
882
|
positioning: {
|
|
902
883
|
type: PropType<PickerPositioning>;
|
|
903
|
-
default:
|
|
884
|
+
default: undefined;
|
|
904
885
|
};
|
|
905
886
|
class: {
|
|
906
887
|
type: StringConstructor;
|
|
907
|
-
default:
|
|
888
|
+
default: undefined;
|
|
908
889
|
};
|
|
909
890
|
}>> & Readonly<{
|
|
910
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
911
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
891
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
892
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
912
893
|
}>, {
|
|
913
894
|
class: string;
|
|
914
895
|
max: string;
|
|
896
|
+
modelValue: string | null | undefined;
|
|
915
897
|
defaultValue: string;
|
|
916
|
-
disabled: boolean;
|
|
917
|
-
readOnly: boolean;
|
|
918
|
-
invalid: boolean;
|
|
919
|
-
modelValue: string;
|
|
920
898
|
min: string;
|
|
921
899
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
922
900
|
locale: string;
|
|
923
|
-
|
|
901
|
+
disabled: boolean | undefined;
|
|
902
|
+
open: boolean | undefined;
|
|
924
903
|
defaultOpen: boolean;
|
|
925
904
|
placeholder: string;
|
|
905
|
+
invalid: boolean | undefined;
|
|
906
|
+
readOnly: boolean | undefined;
|
|
926
907
|
closeOnSelect: boolean;
|
|
927
908
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
928
909
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
929
|
-
declare const _default$
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
}
|
|
936
|
-
increment?: (props: typeof __VLS_29$1) => any;
|
|
910
|
+
declare const _default$52: typeof __VLS_export$47;
|
|
911
|
+
declare const __VLS_template$33: () => {
|
|
912
|
+
__VLS_Slots: {
|
|
913
|
+
decrement?: (props: {}) => any;
|
|
914
|
+
} & {
|
|
915
|
+
increment?: (props: {}) => any;
|
|
916
|
+
};
|
|
937
917
|
};
|
|
938
|
-
|
|
918
|
+
type __VLS_Slots$34 = ReturnType<typeof __VLS_template$33>['__VLS_Slots'];
|
|
919
|
+
declare const __VLS_base$34: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
939
920
|
/** 受控值:number 或 null(空);undefined 走内部非受控 */
|
|
940
921
|
modelValue: {
|
|
941
922
|
type: PropType<number | null | undefined>;
|
|
942
|
-
default:
|
|
923
|
+
default: undefined;
|
|
943
924
|
};
|
|
944
925
|
min: {
|
|
945
926
|
type: NumberConstructor;
|
|
946
|
-
default:
|
|
927
|
+
default: undefined;
|
|
947
928
|
};
|
|
948
929
|
max: {
|
|
949
930
|
type: NumberConstructor;
|
|
950
|
-
default:
|
|
931
|
+
default: undefined;
|
|
951
932
|
};
|
|
952
933
|
step: {
|
|
953
934
|
type: NumberConstructor;
|
|
954
|
-
default:
|
|
935
|
+
default: undefined;
|
|
955
936
|
};
|
|
956
937
|
formatOptions: {
|
|
957
938
|
type: PropType<Intl.NumberFormatOptions>;
|
|
958
|
-
default:
|
|
939
|
+
default: undefined;
|
|
959
940
|
};
|
|
960
941
|
disabled: {
|
|
961
942
|
type: PropType<boolean | undefined>;
|
|
962
|
-
default:
|
|
943
|
+
default: undefined;
|
|
963
944
|
};
|
|
964
945
|
invalid: {
|
|
965
946
|
type: PropType<boolean | undefined>;
|
|
966
|
-
default:
|
|
947
|
+
default: undefined;
|
|
967
948
|
};
|
|
968
949
|
class: {
|
|
969
950
|
type: StringConstructor;
|
|
970
|
-
default:
|
|
951
|
+
default: undefined;
|
|
971
952
|
};
|
|
972
953
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
973
|
-
"update:modelValue": (value: number) => any;
|
|
954
|
+
"update:modelValue": (value: number | null) => any;
|
|
974
955
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
975
956
|
/** 受控值:number 或 null(空);undefined 走内部非受控 */
|
|
976
957
|
modelValue: {
|
|
977
958
|
type: PropType<number | null | undefined>;
|
|
978
|
-
default:
|
|
959
|
+
default: undefined;
|
|
979
960
|
};
|
|
980
961
|
min: {
|
|
981
962
|
type: NumberConstructor;
|
|
982
|
-
default:
|
|
963
|
+
default: undefined;
|
|
983
964
|
};
|
|
984
965
|
max: {
|
|
985
966
|
type: NumberConstructor;
|
|
986
|
-
default:
|
|
967
|
+
default: undefined;
|
|
987
968
|
};
|
|
988
969
|
step: {
|
|
989
970
|
type: NumberConstructor;
|
|
990
|
-
default:
|
|
971
|
+
default: undefined;
|
|
991
972
|
};
|
|
992
973
|
formatOptions: {
|
|
993
974
|
type: PropType<Intl.NumberFormatOptions>;
|
|
994
|
-
default:
|
|
975
|
+
default: undefined;
|
|
995
976
|
};
|
|
996
977
|
disabled: {
|
|
997
978
|
type: PropType<boolean | undefined>;
|
|
998
|
-
default:
|
|
979
|
+
default: undefined;
|
|
999
980
|
};
|
|
1000
981
|
invalid: {
|
|
1001
982
|
type: PropType<boolean | undefined>;
|
|
1002
|
-
default:
|
|
983
|
+
default: undefined;
|
|
1003
984
|
};
|
|
1004
985
|
class: {
|
|
1005
986
|
type: StringConstructor;
|
|
1006
|
-
default:
|
|
987
|
+
default: undefined;
|
|
1007
988
|
};
|
|
1008
989
|
}>> & Readonly<{
|
|
1009
|
-
"onUpdate:modelValue"?: (value: number) => any;
|
|
990
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
1010
991
|
}>, {
|
|
1011
992
|
class: string;
|
|
1012
993
|
max: number;
|
|
1013
|
-
|
|
1014
|
-
invalid: boolean;
|
|
1015
|
-
modelValue: number;
|
|
994
|
+
modelValue: number | null | undefined;
|
|
1016
995
|
min: number;
|
|
996
|
+
disabled: boolean | undefined;
|
|
997
|
+
invalid: boolean | undefined;
|
|
1017
998
|
step: number;
|
|
1018
999
|
formatOptions: Intl.NumberFormatOptions;
|
|
1019
1000
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1020
|
-
declare const __VLS_export$
|
|
1021
|
-
declare const _default$30: typeof __VLS_export$
|
|
1022
|
-
type __VLS_WithSlots$
|
|
1001
|
+
declare const __VLS_export$46: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
1002
|
+
declare const _default$30: typeof __VLS_export$46;
|
|
1003
|
+
type __VLS_WithSlots$34<T, S> = T & {
|
|
1023
1004
|
new (): {
|
|
1024
1005
|
$slots: S;
|
|
1025
1006
|
};
|
|
1026
1007
|
};
|
|
1027
|
-
//#endregion
|
|
1028
|
-
//#region src/components/number-input/utils.d.ts
|
|
1029
1008
|
/**
|
|
1030
1009
|
* Ark ValueChangeDetails → number|null(空串/NaN 归一 null,numberOrNull 为可单测的纯函数)
|
|
1031
1010
|
* @param details - Ark NumberInput 的 ValueChangeDetails
|
|
@@ -1035,24 +1014,24 @@ export declare function numberOrNull(details: {
|
|
|
1035
1014
|
value: string;
|
|
1036
1015
|
valueAsNumber: number;
|
|
1037
1016
|
}): number | null;
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
};
|
|
1043
|
-
|
|
1044
|
-
'visibility-icon'?: (props: typeof __VLS_1$11) => any;
|
|
1017
|
+
declare const __VLS_template$32: () => {
|
|
1018
|
+
__VLS_Slots: {
|
|
1019
|
+
'visibility-icon'?: (props: {
|
|
1020
|
+
visible: boolean;
|
|
1021
|
+
}) => any;
|
|
1022
|
+
};
|
|
1045
1023
|
};
|
|
1046
|
-
|
|
1024
|
+
type __VLS_Slots$33 = ReturnType<typeof __VLS_template$32>['__VLS_Slots'];
|
|
1025
|
+
declare const __VLS_base$33: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1047
1026
|
/** 受控值;undefined 走内部非受控 */
|
|
1048
1027
|
modelValue: {
|
|
1049
1028
|
type: PropType<string | undefined>;
|
|
1050
|
-
default:
|
|
1029
|
+
default: undefined;
|
|
1051
1030
|
};
|
|
1052
1031
|
/** 明文显示;undefined 走内部非受控(默认隐藏) */
|
|
1053
1032
|
visible: {
|
|
1054
1033
|
type: PropType<boolean | undefined>;
|
|
1055
|
-
default:
|
|
1034
|
+
default: undefined;
|
|
1056
1035
|
};
|
|
1057
1036
|
autoComplete: {
|
|
1058
1037
|
type: PropType<"current-password" | "new-password">;
|
|
@@ -1060,19 +1039,19 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
|
|
|
1060
1039
|
};
|
|
1061
1040
|
placeholder: {
|
|
1062
1041
|
type: StringConstructor;
|
|
1063
|
-
default:
|
|
1042
|
+
default: undefined;
|
|
1064
1043
|
};
|
|
1065
1044
|
disabled: {
|
|
1066
1045
|
type: PropType<boolean | undefined>;
|
|
1067
|
-
default:
|
|
1046
|
+
default: undefined;
|
|
1068
1047
|
};
|
|
1069
1048
|
invalid: {
|
|
1070
1049
|
type: PropType<boolean | undefined>;
|
|
1071
|
-
default:
|
|
1050
|
+
default: undefined;
|
|
1072
1051
|
};
|
|
1073
1052
|
class: {
|
|
1074
1053
|
type: StringConstructor;
|
|
1075
|
-
default:
|
|
1054
|
+
default: undefined;
|
|
1076
1055
|
};
|
|
1077
1056
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1078
1057
|
"update:modelValue": (value: string) => any;
|
|
@@ -1081,12 +1060,12 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
|
|
|
1081
1060
|
/** 受控值;undefined 走内部非受控 */
|
|
1082
1061
|
modelValue: {
|
|
1083
1062
|
type: PropType<string | undefined>;
|
|
1084
|
-
default:
|
|
1063
|
+
default: undefined;
|
|
1085
1064
|
};
|
|
1086
1065
|
/** 明文显示;undefined 走内部非受控(默认隐藏) */
|
|
1087
1066
|
visible: {
|
|
1088
1067
|
type: PropType<boolean | undefined>;
|
|
1089
|
-
default:
|
|
1068
|
+
default: undefined;
|
|
1090
1069
|
};
|
|
1091
1070
|
autoComplete: {
|
|
1092
1071
|
type: PropType<"current-password" | "new-password">;
|
|
@@ -1094,41 +1073,39 @@ declare const __VLS_base$32: import("vue").DefineComponent<import("vue").Extract
|
|
|
1094
1073
|
};
|
|
1095
1074
|
placeholder: {
|
|
1096
1075
|
type: StringConstructor;
|
|
1097
|
-
default:
|
|
1076
|
+
default: undefined;
|
|
1098
1077
|
};
|
|
1099
1078
|
disabled: {
|
|
1100
1079
|
type: PropType<boolean | undefined>;
|
|
1101
|
-
default:
|
|
1080
|
+
default: undefined;
|
|
1102
1081
|
};
|
|
1103
1082
|
invalid: {
|
|
1104
1083
|
type: PropType<boolean | undefined>;
|
|
1105
|
-
default:
|
|
1084
|
+
default: undefined;
|
|
1106
1085
|
};
|
|
1107
1086
|
class: {
|
|
1108
1087
|
type: StringConstructor;
|
|
1109
|
-
default:
|
|
1088
|
+
default: undefined;
|
|
1110
1089
|
};
|
|
1111
1090
|
}>> & Readonly<{
|
|
1112
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
1113
|
-
"onUpdate:visible"?: (visible: boolean) => any;
|
|
1091
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1092
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1114
1093
|
}>, {
|
|
1115
1094
|
class: string;
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
modelValue: string;
|
|
1095
|
+
modelValue: string | undefined;
|
|
1096
|
+
disabled: boolean | undefined;
|
|
1119
1097
|
placeholder: string;
|
|
1120
|
-
|
|
1098
|
+
invalid: boolean | undefined;
|
|
1099
|
+
visible: boolean | undefined;
|
|
1121
1100
|
autoComplete: "current-password" | "new-password";
|
|
1122
1101
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1123
|
-
declare const __VLS_export$
|
|
1124
|
-
declare const _default$31: typeof __VLS_export$
|
|
1125
|
-
type __VLS_WithSlots$
|
|
1102
|
+
declare const __VLS_export$45: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
|
|
1103
|
+
declare const _default$31: typeof __VLS_export$45;
|
|
1104
|
+
type __VLS_WithSlots$33<T, S> = T & {
|
|
1126
1105
|
new (): {
|
|
1127
1106
|
$slots: S;
|
|
1128
1107
|
};
|
|
1129
1108
|
};
|
|
1130
|
-
//#endregion
|
|
1131
|
-
//#region src/components/radio-group/RadioGroup.vue.d.ts
|
|
1132
1109
|
/** 单个选项配置项 */
|
|
1133
1110
|
interface RadioGroupOption {
|
|
1134
1111
|
/** 选中后写入组值的唯一标识 */
|
|
@@ -1158,27 +1135,27 @@ interface Props$9 {
|
|
|
1158
1135
|
orientation?: "horizontal" | "vertical";
|
|
1159
1136
|
class?: string;
|
|
1160
1137
|
}
|
|
1161
|
-
declare
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1138
|
+
declare const __VLS_template$31: () => {
|
|
1139
|
+
__VLS_Slots: {
|
|
1140
|
+
item?: (props: {
|
|
1141
|
+
item: RadioGroupOption;
|
|
1142
|
+
checked: boolean;
|
|
1143
|
+
}) => any;
|
|
1144
|
+
};
|
|
1167
1145
|
};
|
|
1168
|
-
|
|
1146
|
+
type __VLS_Slots$32 = ReturnType<typeof __VLS_template$31>['__VLS_Slots'];
|
|
1147
|
+
declare const __VLS_base$32: import("vue").DefineComponent<Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1169
1148
|
"update:value": (value: string) => any;
|
|
1170
1149
|
}, string, import("vue").PublicProps, Readonly<Props$9> & Readonly<{
|
|
1171
|
-
"onUpdate:value"?: (value: string) => any;
|
|
1150
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
1172
1151
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1173
|
-
declare const __VLS_export$
|
|
1174
|
-
declare const _default$36: typeof __VLS_export$
|
|
1175
|
-
type __VLS_WithSlots$
|
|
1152
|
+
declare const __VLS_export$44: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
|
|
1153
|
+
declare const _default$36: typeof __VLS_export$44;
|
|
1154
|
+
type __VLS_WithSlots$32<T, S> = T & {
|
|
1176
1155
|
new (): {
|
|
1177
1156
|
$slots: S;
|
|
1178
1157
|
};
|
|
1179
1158
|
};
|
|
1180
|
-
//#endregion
|
|
1181
|
-
//#region src/components/tree-shared/interface.d.ts
|
|
1182
1159
|
/*!
|
|
1183
1160
|
* 移植自 treemate v0.3.11 —— https://github.com/07akioni/treemate
|
|
1184
1161
|
* MIT License · Copyright (c) 07akioni
|
|
@@ -1187,8 +1164,6 @@ type __VLS_WithSlots$31<T, S> = T & {
|
|
|
1187
1164
|
*/
|
|
1188
1165
|
type Key = string | number;
|
|
1189
1166
|
type CheckStrategy = "all" | "child" | "parent";
|
|
1190
|
-
//#endregion
|
|
1191
|
-
//#region src/components/tree-shared/types.d.ts
|
|
1192
1167
|
/** 组件公开的选项类型:key/label/children 常用字段显式化,其余字段透传(对齐 naive-ui TreeOption) */
|
|
1193
1168
|
interface TreeOption {
|
|
1194
1169
|
key: Key;
|
|
@@ -1198,9 +1173,7 @@ interface TreeOption {
|
|
|
1198
1173
|
isLeaf?: boolean;
|
|
1199
1174
|
[key: string]: unknown;
|
|
1200
1175
|
}
|
|
1201
|
-
|
|
1202
|
-
//#region src/components/cascader/Cascader.vue.d.ts
|
|
1203
|
-
declare const __VLS_export$42: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1176
|
+
declare const __VLS_export$43: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1204
1177
|
/** 树形选项(key 必填,label 展示名,children 子级) */
|
|
1205
1178
|
options: {
|
|
1206
1179
|
type: PropType<TreeOption[]>;
|
|
@@ -1209,11 +1182,11 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1209
1182
|
/** 受控值:单选为叶子 key,multiple/checkable 为 key 数组;undefined 走内部非受控 */
|
|
1210
1183
|
modelValue: {
|
|
1211
1184
|
type: PropType<Key | Key[] | undefined>;
|
|
1212
|
-
default:
|
|
1185
|
+
default: undefined;
|
|
1213
1186
|
};
|
|
1214
1187
|
defaultValue: {
|
|
1215
1188
|
type: PropType<Key | Key[] | undefined>;
|
|
1216
|
-
default:
|
|
1189
|
+
default: undefined;
|
|
1217
1190
|
};
|
|
1218
1191
|
/** 多选(值恒为数组) */
|
|
1219
1192
|
multiple: {
|
|
@@ -1257,7 +1230,7 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1257
1230
|
};
|
|
1258
1231
|
disabled: {
|
|
1259
1232
|
type: PropType<boolean | undefined>;
|
|
1260
|
-
default:
|
|
1233
|
+
default: undefined;
|
|
1261
1234
|
};
|
|
1262
1235
|
placeholder: {
|
|
1263
1236
|
type: StringConstructor;
|
|
@@ -1266,12 +1239,12 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1266
1239
|
/** 多选时最多展示的标签数,超出折叠为 +N */
|
|
1267
1240
|
maxTagCount: {
|
|
1268
1241
|
type: NumberConstructor;
|
|
1269
|
-
default:
|
|
1242
|
+
default: undefined;
|
|
1270
1243
|
};
|
|
1271
1244
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1272
1245
|
open: {
|
|
1273
1246
|
type: PropType<boolean | undefined>;
|
|
1274
|
-
default:
|
|
1247
|
+
default: undefined;
|
|
1275
1248
|
};
|
|
1276
1249
|
defaultOpen: {
|
|
1277
1250
|
type: BooleanConstructor;
|
|
@@ -1281,14 +1254,14 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1281
1254
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
|
|
1282
1255
|
positioning: {
|
|
1283
1256
|
type: PropType<PopoverRootProps["positioning"]>;
|
|
1284
|
-
default:
|
|
1257
|
+
default: undefined;
|
|
1285
1258
|
};
|
|
1286
1259
|
class: {
|
|
1287
1260
|
type: StringConstructor;
|
|
1288
|
-
default:
|
|
1261
|
+
default: undefined;
|
|
1289
1262
|
};
|
|
1290
1263
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1291
|
-
"update:modelValue": (value: Key | Key[]) => any;
|
|
1264
|
+
"update:modelValue": (value: Key | Key[] | undefined) => any;
|
|
1292
1265
|
"update:open": (open: boolean) => any;
|
|
1293
1266
|
"update:show": (open: boolean) => any;
|
|
1294
1267
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1300,11 +1273,11 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1300
1273
|
/** 受控值:单选为叶子 key,multiple/checkable 为 key 数组;undefined 走内部非受控 */
|
|
1301
1274
|
modelValue: {
|
|
1302
1275
|
type: PropType<Key | Key[] | undefined>;
|
|
1303
|
-
default:
|
|
1276
|
+
default: undefined;
|
|
1304
1277
|
};
|
|
1305
1278
|
defaultValue: {
|
|
1306
1279
|
type: PropType<Key | Key[] | undefined>;
|
|
1307
|
-
default:
|
|
1280
|
+
default: undefined;
|
|
1308
1281
|
};
|
|
1309
1282
|
/** 多选(值恒为数组) */
|
|
1310
1283
|
multiple: {
|
|
@@ -1348,7 +1321,7 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1348
1321
|
};
|
|
1349
1322
|
disabled: {
|
|
1350
1323
|
type: PropType<boolean | undefined>;
|
|
1351
|
-
default:
|
|
1324
|
+
default: undefined;
|
|
1352
1325
|
};
|
|
1353
1326
|
placeholder: {
|
|
1354
1327
|
type: StringConstructor;
|
|
@@ -1357,12 +1330,12 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1357
1330
|
/** 多选时最多展示的标签数,超出折叠为 +N */
|
|
1358
1331
|
maxTagCount: {
|
|
1359
1332
|
type: NumberConstructor;
|
|
1360
|
-
default:
|
|
1333
|
+
default: undefined;
|
|
1361
1334
|
};
|
|
1362
1335
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1363
1336
|
open: {
|
|
1364
1337
|
type: PropType<boolean | undefined>;
|
|
1365
|
-
default:
|
|
1338
|
+
default: undefined;
|
|
1366
1339
|
};
|
|
1367
1340
|
defaultOpen: {
|
|
1368
1341
|
type: BooleanConstructor;
|
|
@@ -1372,25 +1345,25 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1372
1345
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
|
|
1373
1346
|
positioning: {
|
|
1374
1347
|
type: PropType<PopoverRootProps["positioning"]>;
|
|
1375
|
-
default:
|
|
1348
|
+
default: undefined;
|
|
1376
1349
|
};
|
|
1377
1350
|
class: {
|
|
1378
1351
|
type: StringConstructor;
|
|
1379
|
-
default:
|
|
1352
|
+
default: undefined;
|
|
1380
1353
|
};
|
|
1381
1354
|
}>> & Readonly<{
|
|
1382
|
-
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1383
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1384
|
-
"onUpdate:show"?: (open: boolean) => any;
|
|
1355
|
+
"onUpdate:modelValue"?: ((value: Key | Key[] | undefined) => any) | undefined;
|
|
1356
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
1357
|
+
"onUpdate:show"?: ((open: boolean) => any) | undefined;
|
|
1385
1358
|
}>, {
|
|
1386
1359
|
class: string;
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
open: boolean;
|
|
1360
|
+
modelValue: Key | Key[] | undefined;
|
|
1361
|
+
defaultValue: Key | Key[] | undefined;
|
|
1362
|
+
disabled: boolean | undefined;
|
|
1363
|
+
open: boolean | undefined;
|
|
1391
1364
|
defaultOpen: boolean;
|
|
1392
1365
|
placeholder: string;
|
|
1393
|
-
positioning: import("@
|
|
1366
|
+
positioning: import("@ark-ui/vue/select").SelectPositioningOptions | undefined;
|
|
1394
1367
|
multiple: boolean;
|
|
1395
1368
|
checkable: boolean;
|
|
1396
1369
|
cascade: boolean;
|
|
@@ -1401,10 +1374,8 @@ declare const __VLS_export$42: import("vue").DefineComponent<import("vue").Extra
|
|
|
1401
1374
|
clearable: boolean;
|
|
1402
1375
|
maxTagCount: number;
|
|
1403
1376
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1404
|
-
declare const _default$8: typeof __VLS_export$
|
|
1405
|
-
|
|
1406
|
-
//#region src/components/tree-select/TreeSelect.vue.d.ts
|
|
1407
|
-
declare const __VLS_export$41: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1377
|
+
declare const _default$8: typeof __VLS_export$43;
|
|
1378
|
+
declare const __VLS_export$42: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1408
1379
|
/** 树选项(key/label/children/disabled) */
|
|
1409
1380
|
options: {
|
|
1410
1381
|
type: PropType<TreeOption[]>;
|
|
@@ -1413,11 +1384,11 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1413
1384
|
/** 当前值:单选为 key,multiple 为 key 数组;不传走内部非受控 */
|
|
1414
1385
|
modelValue: {
|
|
1415
1386
|
type: PropType<Key | Key[] | undefined>;
|
|
1416
|
-
default:
|
|
1387
|
+
default: undefined;
|
|
1417
1388
|
};
|
|
1418
1389
|
defaultValue: {
|
|
1419
1390
|
type: PropType<Key | Key[] | undefined>;
|
|
1420
|
-
default:
|
|
1391
|
+
default: undefined;
|
|
1421
1392
|
};
|
|
1422
1393
|
/** 多选:值恒为数组,点击节点切换选中 */
|
|
1423
1394
|
multiple: {
|
|
@@ -1442,7 +1413,7 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1442
1413
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1443
1414
|
open: {
|
|
1444
1415
|
type: PropType<boolean | undefined>;
|
|
1445
|
-
default:
|
|
1416
|
+
default: undefined;
|
|
1446
1417
|
};
|
|
1447
1418
|
defaultOpen: {
|
|
1448
1419
|
type: BooleanConstructor;
|
|
@@ -1450,7 +1421,7 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1450
1421
|
};
|
|
1451
1422
|
disabled: {
|
|
1452
1423
|
type: PropType<boolean | undefined>;
|
|
1453
|
-
default:
|
|
1424
|
+
default: undefined;
|
|
1454
1425
|
};
|
|
1455
1426
|
placeholder: {
|
|
1456
1427
|
type: StringConstructor;
|
|
@@ -1459,7 +1430,7 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1459
1430
|
/** 多选最多展示标签数,超出折叠为 +N */
|
|
1460
1431
|
maxTagCount: {
|
|
1461
1432
|
type: NumberConstructor;
|
|
1462
|
-
default:
|
|
1433
|
+
default: undefined;
|
|
1463
1434
|
};
|
|
1464
1435
|
/** 展示清空按钮 */
|
|
1465
1436
|
clearable: {
|
|
@@ -1474,11 +1445,11 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1474
1445
|
/** 受控展开键集合;undefined 走内部非受控 */
|
|
1475
1446
|
expandedKeys: {
|
|
1476
1447
|
type: PropType<Key[] | undefined>;
|
|
1477
|
-
default:
|
|
1448
|
+
default: undefined;
|
|
1478
1449
|
};
|
|
1479
1450
|
defaultExpandedKeys: {
|
|
1480
1451
|
type: PropType<Key[]>;
|
|
1481
|
-
default: () =>
|
|
1452
|
+
default: () => never[];
|
|
1482
1453
|
};
|
|
1483
1454
|
/** 初始展开全部分支 */
|
|
1484
1455
|
defaultExpandAll: {
|
|
@@ -1489,14 +1460,14 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1489
1460
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
|
|
1490
1461
|
positioning: {
|
|
1491
1462
|
type: PropType<PopoverRootProps["positioning"]>;
|
|
1492
|
-
default:
|
|
1463
|
+
default: undefined;
|
|
1493
1464
|
};
|
|
1494
1465
|
class: {
|
|
1495
1466
|
type: StringConstructor;
|
|
1496
|
-
default:
|
|
1467
|
+
default: undefined;
|
|
1497
1468
|
};
|
|
1498
1469
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1499
|
-
"update:modelValue": (value: Key | Key[]) => any;
|
|
1470
|
+
"update:modelValue": (value: Key | Key[] | undefined) => any;
|
|
1500
1471
|
"update:open": (open: boolean) => any;
|
|
1501
1472
|
"update:show": (open: boolean) => any;
|
|
1502
1473
|
"update:expandedKeys": (keys: Key[]) => any;
|
|
@@ -1509,11 +1480,11 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1509
1480
|
/** 当前值:单选为 key,multiple 为 key 数组;不传走内部非受控 */
|
|
1510
1481
|
modelValue: {
|
|
1511
1482
|
type: PropType<Key | Key[] | undefined>;
|
|
1512
|
-
default:
|
|
1483
|
+
default: undefined;
|
|
1513
1484
|
};
|
|
1514
1485
|
defaultValue: {
|
|
1515
1486
|
type: PropType<Key | Key[] | undefined>;
|
|
1516
|
-
default:
|
|
1487
|
+
default: undefined;
|
|
1517
1488
|
};
|
|
1518
1489
|
/** 多选:值恒为数组,点击节点切换选中 */
|
|
1519
1490
|
multiple: {
|
|
@@ -1538,7 +1509,7 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1538
1509
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1539
1510
|
open: {
|
|
1540
1511
|
type: PropType<boolean | undefined>;
|
|
1541
|
-
default:
|
|
1512
|
+
default: undefined;
|
|
1542
1513
|
};
|
|
1543
1514
|
defaultOpen: {
|
|
1544
1515
|
type: BooleanConstructor;
|
|
@@ -1546,7 +1517,7 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1546
1517
|
};
|
|
1547
1518
|
disabled: {
|
|
1548
1519
|
type: PropType<boolean | undefined>;
|
|
1549
|
-
default:
|
|
1520
|
+
default: undefined;
|
|
1550
1521
|
};
|
|
1551
1522
|
placeholder: {
|
|
1552
1523
|
type: StringConstructor;
|
|
@@ -1555,7 +1526,7 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1555
1526
|
/** 多选最多展示标签数,超出折叠为 +N */
|
|
1556
1527
|
maxTagCount: {
|
|
1557
1528
|
type: NumberConstructor;
|
|
1558
|
-
default:
|
|
1529
|
+
default: undefined;
|
|
1559
1530
|
};
|
|
1560
1531
|
/** 展示清空按钮 */
|
|
1561
1532
|
clearable: {
|
|
@@ -1570,11 +1541,11 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1570
1541
|
/** 受控展开键集合;undefined 走内部非受控 */
|
|
1571
1542
|
expandedKeys: {
|
|
1572
1543
|
type: PropType<Key[] | undefined>;
|
|
1573
|
-
default:
|
|
1544
|
+
default: undefined;
|
|
1574
1545
|
};
|
|
1575
1546
|
defaultExpandedKeys: {
|
|
1576
1547
|
type: PropType<Key[]>;
|
|
1577
|
-
default: () =>
|
|
1548
|
+
default: () => never[];
|
|
1578
1549
|
};
|
|
1579
1550
|
/** 初始展开全部分支 */
|
|
1580
1551
|
defaultExpandAll: {
|
|
@@ -1585,26 +1556,26 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1585
1556
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed */
|
|
1586
1557
|
positioning: {
|
|
1587
1558
|
type: PropType<PopoverRootProps["positioning"]>;
|
|
1588
|
-
default:
|
|
1559
|
+
default: undefined;
|
|
1589
1560
|
};
|
|
1590
1561
|
class: {
|
|
1591
1562
|
type: StringConstructor;
|
|
1592
|
-
default:
|
|
1563
|
+
default: undefined;
|
|
1593
1564
|
};
|
|
1594
1565
|
}>> & Readonly<{
|
|
1595
|
-
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1596
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1597
|
-
"onUpdate:show"?: (open: boolean) => any;
|
|
1598
|
-
"onUpdate:expandedKeys"?: (keys: Key[]) => any;
|
|
1566
|
+
"onUpdate:modelValue"?: ((value: Key | Key[] | undefined) => any) | undefined;
|
|
1567
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
1568
|
+
"onUpdate:show"?: ((open: boolean) => any) | undefined;
|
|
1569
|
+
"onUpdate:expandedKeys"?: ((keys: Key[]) => any) | undefined;
|
|
1599
1570
|
}>, {
|
|
1600
1571
|
class: string;
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
open: boolean;
|
|
1572
|
+
modelValue: Key | Key[] | undefined;
|
|
1573
|
+
defaultValue: Key | Key[] | undefined;
|
|
1574
|
+
disabled: boolean | undefined;
|
|
1575
|
+
open: boolean | undefined;
|
|
1605
1576
|
defaultOpen: boolean;
|
|
1606
1577
|
placeholder: string;
|
|
1607
|
-
positioning: import("@
|
|
1578
|
+
positioning: import("@ark-ui/vue/select").SelectPositioningOptions | undefined;
|
|
1608
1579
|
multiple: boolean;
|
|
1609
1580
|
checkable: boolean;
|
|
1610
1581
|
cascade: boolean;
|
|
@@ -1612,31 +1583,29 @@ declare const __VLS_export$41: import("vue").DefineComponent<import("vue").Extra
|
|
|
1612
1583
|
clearable: boolean;
|
|
1613
1584
|
maxTagCount: number;
|
|
1614
1585
|
filterable: boolean;
|
|
1615
|
-
expandedKeys: Key[];
|
|
1586
|
+
expandedKeys: Key[] | undefined;
|
|
1616
1587
|
defaultExpandedKeys: Key[];
|
|
1617
1588
|
defaultExpandAll: boolean;
|
|
1618
1589
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1619
|
-
declare const _default$50: typeof __VLS_export$
|
|
1620
|
-
//#endregion
|
|
1621
|
-
//#region src/components/select/types.d.ts
|
|
1590
|
+
declare const _default$50: typeof __VLS_export$42;
|
|
1622
1591
|
interface SelectItemOption {
|
|
1623
1592
|
label: string;
|
|
1624
1593
|
value: string;
|
|
1625
1594
|
disabled?: boolean;
|
|
1626
1595
|
}
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
}
|
|
1637
|
-
item?: (props: typeof __VLS_53$2) => any;
|
|
1596
|
+
declare const __VLS_template$30: () => {
|
|
1597
|
+
__VLS_Slots: {
|
|
1598
|
+
'trigger-icon'?: (props: {}) => any;
|
|
1599
|
+
} & {
|
|
1600
|
+
item?: (props: {
|
|
1601
|
+
item: string | SelectItemOption;
|
|
1602
|
+
label: string;
|
|
1603
|
+
selected: boolean;
|
|
1604
|
+
}) => any;
|
|
1605
|
+
};
|
|
1638
1606
|
};
|
|
1639
|
-
|
|
1607
|
+
type __VLS_Slots$31 = ReturnType<typeof __VLS_template$30>['__VLS_Slots'];
|
|
1608
|
+
declare const __VLS_base$31: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1640
1609
|
/** 选项列表:字符串(label = value)或 { label, value, disabled? } */
|
|
1641
1610
|
items: {
|
|
1642
1611
|
type: PropType<(string | SelectItemOption)[]>;
|
|
@@ -1645,16 +1614,16 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
1645
1614
|
/** 当前值(配合 v-model);不传时为非受控 */
|
|
1646
1615
|
modelValue: {
|
|
1647
1616
|
type: PropType<string | undefined>;
|
|
1648
|
-
default:
|
|
1617
|
+
default: undefined;
|
|
1649
1618
|
};
|
|
1650
1619
|
defaultValue: {
|
|
1651
1620
|
type: StringConstructor;
|
|
1652
|
-
default:
|
|
1621
|
+
default: undefined;
|
|
1653
1622
|
};
|
|
1654
1623
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1655
1624
|
open: {
|
|
1656
1625
|
type: PropType<boolean | undefined>;
|
|
1657
|
-
default:
|
|
1626
|
+
default: undefined;
|
|
1658
1627
|
};
|
|
1659
1628
|
defaultOpen: {
|
|
1660
1629
|
type: BooleanConstructor;
|
|
@@ -1668,19 +1637,19 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
1668
1637
|
/** 透传合并到触发器(Trigger)的 class */
|
|
1669
1638
|
triggerClass: {
|
|
1670
1639
|
type: StringConstructor;
|
|
1671
|
-
default:
|
|
1640
|
+
default: undefined;
|
|
1672
1641
|
};
|
|
1673
1642
|
/** 透传合并到弹层(Content)的 class */
|
|
1674
1643
|
contentClass: {
|
|
1675
1644
|
type: StringConstructor;
|
|
1676
|
-
default:
|
|
1645
|
+
default: undefined;
|
|
1677
1646
|
};
|
|
1678
1647
|
/** Ark Select Root 的 positioning 配置(placement/gutter 等);
|
|
1679
1648
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
1680
1649
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
1681
1650
|
positioning: {
|
|
1682
1651
|
type: PropType<SelectRootProps<string | SelectItemOption[]>["positioning"]>;
|
|
1683
|
-
default:
|
|
1652
|
+
default: undefined;
|
|
1684
1653
|
};
|
|
1685
1654
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1686
1655
|
"update:modelValue": (value: string) => any;
|
|
@@ -1694,16 +1663,16 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
1694
1663
|
/** 当前值(配合 v-model);不传时为非受控 */
|
|
1695
1664
|
modelValue: {
|
|
1696
1665
|
type: PropType<string | undefined>;
|
|
1697
|
-
default:
|
|
1666
|
+
default: undefined;
|
|
1698
1667
|
};
|
|
1699
1668
|
defaultValue: {
|
|
1700
1669
|
type: StringConstructor;
|
|
1701
|
-
default:
|
|
1670
|
+
default: undefined;
|
|
1702
1671
|
};
|
|
1703
1672
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1704
1673
|
open: {
|
|
1705
1674
|
type: PropType<boolean | undefined>;
|
|
1706
|
-
default:
|
|
1675
|
+
default: undefined;
|
|
1707
1676
|
};
|
|
1708
1677
|
defaultOpen: {
|
|
1709
1678
|
type: BooleanConstructor;
|
|
@@ -1717,42 +1686,40 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
1717
1686
|
/** 透传合并到触发器(Trigger)的 class */
|
|
1718
1687
|
triggerClass: {
|
|
1719
1688
|
type: StringConstructor;
|
|
1720
|
-
default:
|
|
1689
|
+
default: undefined;
|
|
1721
1690
|
};
|
|
1722
1691
|
/** 透传合并到弹层(Content)的 class */
|
|
1723
1692
|
contentClass: {
|
|
1724
1693
|
type: StringConstructor;
|
|
1725
|
-
default:
|
|
1694
|
+
default: undefined;
|
|
1726
1695
|
};
|
|
1727
1696
|
/** Ark Select Root 的 positioning 配置(placement/gutter 等);
|
|
1728
1697
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
1729
1698
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
1730
1699
|
positioning: {
|
|
1731
1700
|
type: PropType<SelectRootProps<string | SelectItemOption[]>["positioning"]>;
|
|
1732
|
-
default:
|
|
1701
|
+
default: undefined;
|
|
1733
1702
|
};
|
|
1734
1703
|
}>> & Readonly<{
|
|
1735
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
1736
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1704
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1705
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
1737
1706
|
}>, {
|
|
1707
|
+
modelValue: string | undefined;
|
|
1738
1708
|
defaultValue: string;
|
|
1739
|
-
|
|
1740
|
-
open: boolean;
|
|
1709
|
+
open: boolean | undefined;
|
|
1741
1710
|
defaultOpen: boolean;
|
|
1742
1711
|
placeholder: string;
|
|
1743
|
-
positioning:
|
|
1712
|
+
positioning: Select.PositioningOptions | undefined;
|
|
1744
1713
|
contentClass: string;
|
|
1745
1714
|
triggerClass: string;
|
|
1746
1715
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1747
|
-
declare const __VLS_export$
|
|
1748
|
-
declare const _default$37: typeof __VLS_export$
|
|
1749
|
-
type __VLS_WithSlots$
|
|
1716
|
+
declare const __VLS_export$41: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
|
|
1717
|
+
declare const _default$37: typeof __VLS_export$41;
|
|
1718
|
+
type __VLS_WithSlots$31<T, S> = T & {
|
|
1750
1719
|
new (): {
|
|
1751
1720
|
$slots: S;
|
|
1752
1721
|
};
|
|
1753
1722
|
};
|
|
1754
|
-
//#endregion
|
|
1755
|
-
//#region src/components/slider/Slider.vue.d.ts
|
|
1756
1723
|
type __VLS_Props$11 = {
|
|
1757
1724
|
/** 当前值(配合 v-model);单值或区间数组,不传时为非受控。出参恒为 number[] */
|
|
1758
1725
|
modelValue?: number | number[];
|
|
@@ -1765,26 +1732,26 @@ type __VLS_Props$11 = {
|
|
|
1765
1732
|
disabled?: boolean;
|
|
1766
1733
|
class?: string;
|
|
1767
1734
|
};
|
|
1768
|
-
declare const __VLS_export$
|
|
1735
|
+
declare const __VLS_export$40: import("vue").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1769
1736
|
"update:modelValue": (value: number[]) => any;
|
|
1770
1737
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
|
|
1771
|
-
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
1738
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
1772
1739
|
}>, {
|
|
1773
1740
|
max: number;
|
|
1774
1741
|
min: number;
|
|
1775
1742
|
step: number;
|
|
1776
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
1777
|
-
declare const _default$40: typeof __VLS_export$
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
default?: (props: typeof __VLS_32) => any;
|
|
1743
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1744
|
+
declare const _default$40: typeof __VLS_export$40;
|
|
1745
|
+
declare const __VLS_template$29: () => {
|
|
1746
|
+
__VLS_Slots: {
|
|
1747
|
+
default?: (props: {}) => any;
|
|
1748
|
+
};
|
|
1783
1749
|
};
|
|
1784
|
-
|
|
1750
|
+
type __VLS_Slots$30 = ReturnType<typeof __VLS_template$29>['__VLS_Slots'];
|
|
1751
|
+
declare const __VLS_base$30: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1785
1752
|
checked: {
|
|
1786
1753
|
type: PropType<boolean | undefined>;
|
|
1787
|
-
default:
|
|
1754
|
+
default: undefined;
|
|
1788
1755
|
};
|
|
1789
1756
|
defaultChecked: {
|
|
1790
1757
|
type: BooleanConstructor;
|
|
@@ -1796,14 +1763,14 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
|
|
|
1796
1763
|
};
|
|
1797
1764
|
class: {
|
|
1798
1765
|
type: StringConstructor;
|
|
1799
|
-
default:
|
|
1766
|
+
default: undefined;
|
|
1800
1767
|
};
|
|
1801
1768
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1802
1769
|
"update:checked": (checked: boolean) => any;
|
|
1803
1770
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1804
1771
|
checked: {
|
|
1805
1772
|
type: PropType<boolean | undefined>;
|
|
1806
|
-
default:
|
|
1773
|
+
default: undefined;
|
|
1807
1774
|
};
|
|
1808
1775
|
defaultChecked: {
|
|
1809
1776
|
type: BooleanConstructor;
|
|
@@ -1815,25 +1782,23 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
|
|
|
1815
1782
|
};
|
|
1816
1783
|
class: {
|
|
1817
1784
|
type: StringConstructor;
|
|
1818
|
-
default:
|
|
1785
|
+
default: undefined;
|
|
1819
1786
|
};
|
|
1820
1787
|
}>> & Readonly<{
|
|
1821
|
-
"onUpdate:checked"?: (checked: boolean) => any;
|
|
1788
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
1822
1789
|
}>, {
|
|
1823
1790
|
class: string;
|
|
1824
|
-
|
|
1825
|
-
checked: boolean;
|
|
1791
|
+
checked: boolean | undefined;
|
|
1826
1792
|
defaultChecked: boolean;
|
|
1793
|
+
disabled: boolean;
|
|
1827
1794
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1828
|
-
declare const __VLS_export$
|
|
1829
|
-
declare const _default$42: typeof __VLS_export$
|
|
1830
|
-
type __VLS_WithSlots$
|
|
1795
|
+
declare const __VLS_export$39: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
1796
|
+
declare const _default$42: typeof __VLS_export$39;
|
|
1797
|
+
type __VLS_WithSlots$30<T, S> = T & {
|
|
1831
1798
|
new (): {
|
|
1832
1799
|
$slots: S;
|
|
1833
1800
|
};
|
|
1834
1801
|
};
|
|
1835
|
-
//#endregion
|
|
1836
|
-
//#region src/components/textarea/Textarea.vue.d.ts
|
|
1837
1802
|
type __VLS_Props$10 = {
|
|
1838
1803
|
class?: string;
|
|
1839
1804
|
invalid?: boolean;
|
|
@@ -1842,29 +1807,27 @@ type __VLS_ModelProps$1 = {
|
|
|
1842
1807
|
modelValue?: string | number;
|
|
1843
1808
|
};
|
|
1844
1809
|
type __VLS_PublicProps$1 = __VLS_Props$10 & __VLS_ModelProps$1;
|
|
1845
|
-
declare const __VLS_export$
|
|
1846
|
-
"update:modelValue": (value: string | number) => any;
|
|
1810
|
+
declare const __VLS_export$38: import("vue").DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1811
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
1847
1812
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
1848
|
-
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
1849
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
1850
|
-
declare const _default$46: typeof __VLS_export$
|
|
1851
|
-
|
|
1852
|
-
//#region src/components/year-picker/YearPicker.vue.d.ts
|
|
1853
|
-
declare const __VLS_export$36: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1813
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
1814
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1815
|
+
declare const _default$46: typeof __VLS_export$38;
|
|
1816
|
+
declare const __VLS_export$37: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1854
1817
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1855
1818
|
modelValue: {
|
|
1856
1819
|
type: PropType<string | null | undefined>;
|
|
1857
|
-
default:
|
|
1820
|
+
default: undefined;
|
|
1858
1821
|
};
|
|
1859
1822
|
/** 非受控初值("yyyy") */
|
|
1860
1823
|
defaultValue: {
|
|
1861
1824
|
type: StringConstructor;
|
|
1862
|
-
default:
|
|
1825
|
+
default: undefined;
|
|
1863
1826
|
};
|
|
1864
1827
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1865
1828
|
open: {
|
|
1866
1829
|
type: PropType<boolean | undefined>;
|
|
1867
|
-
default:
|
|
1830
|
+
default: undefined;
|
|
1868
1831
|
};
|
|
1869
1832
|
defaultOpen: {
|
|
1870
1833
|
type: BooleanConstructor;
|
|
@@ -1876,25 +1839,25 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
|
|
|
1876
1839
|
};
|
|
1877
1840
|
disabled: {
|
|
1878
1841
|
type: PropType<boolean | undefined>;
|
|
1879
|
-
default:
|
|
1842
|
+
default: undefined;
|
|
1880
1843
|
};
|
|
1881
1844
|
invalid: {
|
|
1882
1845
|
type: PropType<boolean | undefined>;
|
|
1883
|
-
default:
|
|
1846
|
+
default: undefined;
|
|
1884
1847
|
};
|
|
1885
1848
|
readOnly: {
|
|
1886
1849
|
type: PropType<boolean | undefined>;
|
|
1887
|
-
default:
|
|
1850
|
+
default: undefined;
|
|
1888
1851
|
};
|
|
1889
1852
|
/** 可选下界("yyyy",含当年) */
|
|
1890
1853
|
min: {
|
|
1891
1854
|
type: StringConstructor;
|
|
1892
|
-
default:
|
|
1855
|
+
default: undefined;
|
|
1893
1856
|
};
|
|
1894
1857
|
/** 可选上界("yyyy",含当年) */
|
|
1895
1858
|
max: {
|
|
1896
1859
|
type: StringConstructor;
|
|
1897
|
-
default:
|
|
1860
|
+
default: undefined;
|
|
1898
1861
|
};
|
|
1899
1862
|
/** 选中后是否自动关弹层 */
|
|
1900
1863
|
closeOnSelect: {
|
|
@@ -1911,30 +1874,30 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
|
|
|
1911
1874
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
1912
1875
|
positioning: {
|
|
1913
1876
|
type: PropType<PickerPositioning>;
|
|
1914
|
-
default:
|
|
1877
|
+
default: undefined;
|
|
1915
1878
|
};
|
|
1916
1879
|
class: {
|
|
1917
1880
|
type: StringConstructor;
|
|
1918
|
-
default:
|
|
1881
|
+
default: undefined;
|
|
1919
1882
|
};
|
|
1920
1883
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1921
|
-
"update:modelValue": (value: string) => any;
|
|
1884
|
+
"update:modelValue": (value: string | null) => any;
|
|
1922
1885
|
"update:open": (open: boolean) => any;
|
|
1923
1886
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1924
1887
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1925
1888
|
modelValue: {
|
|
1926
1889
|
type: PropType<string | null | undefined>;
|
|
1927
|
-
default:
|
|
1890
|
+
default: undefined;
|
|
1928
1891
|
};
|
|
1929
1892
|
/** 非受控初值("yyyy") */
|
|
1930
1893
|
defaultValue: {
|
|
1931
1894
|
type: StringConstructor;
|
|
1932
|
-
default:
|
|
1895
|
+
default: undefined;
|
|
1933
1896
|
};
|
|
1934
1897
|
/** 弹层开合受控;undefined 走内部非受控(default: undefined 禁用 Boolean casting) */
|
|
1935
1898
|
open: {
|
|
1936
1899
|
type: PropType<boolean | undefined>;
|
|
1937
|
-
default:
|
|
1900
|
+
default: undefined;
|
|
1938
1901
|
};
|
|
1939
1902
|
defaultOpen: {
|
|
1940
1903
|
type: BooleanConstructor;
|
|
@@ -1946,25 +1909,25 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
|
|
|
1946
1909
|
};
|
|
1947
1910
|
disabled: {
|
|
1948
1911
|
type: PropType<boolean | undefined>;
|
|
1949
|
-
default:
|
|
1912
|
+
default: undefined;
|
|
1950
1913
|
};
|
|
1951
1914
|
invalid: {
|
|
1952
1915
|
type: PropType<boolean | undefined>;
|
|
1953
|
-
default:
|
|
1916
|
+
default: undefined;
|
|
1954
1917
|
};
|
|
1955
1918
|
readOnly: {
|
|
1956
1919
|
type: PropType<boolean | undefined>;
|
|
1957
|
-
default:
|
|
1920
|
+
default: undefined;
|
|
1958
1921
|
};
|
|
1959
1922
|
/** 可选下界("yyyy",含当年) */
|
|
1960
1923
|
min: {
|
|
1961
1924
|
type: StringConstructor;
|
|
1962
|
-
default:
|
|
1925
|
+
default: undefined;
|
|
1963
1926
|
};
|
|
1964
1927
|
/** 可选上界("yyyy",含当年) */
|
|
1965
1928
|
max: {
|
|
1966
1929
|
type: StringConstructor;
|
|
1967
|
-
default:
|
|
1930
|
+
default: undefined;
|
|
1968
1931
|
};
|
|
1969
1932
|
/** 选中后是否自动关弹层 */
|
|
1970
1933
|
closeOnSelect: {
|
|
@@ -1981,34 +1944,32 @@ declare const __VLS_export$36: import("vue").DefineComponent<import("vue").Extra
|
|
|
1981
1944
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
1982
1945
|
positioning: {
|
|
1983
1946
|
type: PropType<PickerPositioning>;
|
|
1984
|
-
default:
|
|
1947
|
+
default: undefined;
|
|
1985
1948
|
};
|
|
1986
1949
|
class: {
|
|
1987
1950
|
type: StringConstructor;
|
|
1988
|
-
default:
|
|
1951
|
+
default: undefined;
|
|
1989
1952
|
};
|
|
1990
1953
|
}>> & Readonly<{
|
|
1991
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
1992
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1954
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
1955
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
1993
1956
|
}>, {
|
|
1994
1957
|
class: string;
|
|
1995
1958
|
max: string;
|
|
1959
|
+
modelValue: string | null | undefined;
|
|
1996
1960
|
defaultValue: string;
|
|
1997
|
-
disabled: boolean;
|
|
1998
|
-
readOnly: boolean;
|
|
1999
|
-
invalid: boolean;
|
|
2000
|
-
modelValue: string;
|
|
2001
1961
|
min: string;
|
|
2002
1962
|
locale: string;
|
|
2003
|
-
|
|
1963
|
+
disabled: boolean | undefined;
|
|
1964
|
+
open: boolean | undefined;
|
|
2004
1965
|
defaultOpen: boolean;
|
|
2005
1966
|
placeholder: string;
|
|
1967
|
+
invalid: boolean | undefined;
|
|
1968
|
+
readOnly: boolean | undefined;
|
|
2006
1969
|
closeOnSelect: boolean;
|
|
2007
1970
|
positioning: import("@zag-js/popper").PositioningOptions;
|
|
2008
1971
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2009
|
-
declare const _default$
|
|
2010
|
-
//#endregion
|
|
2011
|
-
//#region src/components/form-render/types.d.ts
|
|
1972
|
+
declare const _default$53: typeof __VLS_export$37;
|
|
2012
1973
|
/**
|
|
2013
1974
|
* useForm() 返回实例的宽松形态(与 form/context.ts 的 FormInstance 同款契约:
|
|
2014
1975
|
* provide/inject 与跨组件边界会擦除泛型,any 化是项目既定约定)。
|
|
@@ -2071,9 +2032,9 @@ type SliderWidgetOptions = SfcOptions<typeof _default$40>;
|
|
|
2071
2032
|
/** picker 三组件 props 面不同(DatePicker 有 isDateUnavailable/max/min,Month/Year 有 locale),各自派生 */
|
|
2072
2033
|
type DatePickerWidgetOptions = SfcOptions<typeof _default$12>;
|
|
2073
2034
|
type MonthPickerWidgetOptions = SfcOptions<typeof _default$29>;
|
|
2074
|
-
type YearPickerWidgetOptions = SfcOptions<typeof _default$
|
|
2035
|
+
type YearPickerWidgetOptions = SfcOptions<typeof _default$53>;
|
|
2075
2036
|
type DateRangeWidgetOptions = SfcOptions<typeof _default$13>;
|
|
2076
|
-
type WeekPickerWidgetOptions = SfcOptions<typeof _default$
|
|
2037
|
+
type WeekPickerWidgetOptions = SfcOptions<typeof _default$52>;
|
|
2077
2038
|
/**
|
|
2078
2039
|
* widget 注册表类型契约:实现对象在 widgets/index.ts。
|
|
2079
2040
|
* 类型集中于此避免循环依赖(type-only import 无运行时环)。
|
|
@@ -2151,13 +2112,13 @@ interface FormRenderDefinition<T extends object> {
|
|
|
2151
2112
|
/** 按钮预设投影(引擎从 options 七项直传;未配置为 undefined——此时组件按钮 props 全量生效) */
|
|
2152
2113
|
actions?: FormActionsConfig;
|
|
2153
2114
|
}
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
actions?: (props: typeof __VLS_6) => any;
|
|
2115
|
+
declare const __VLS_template$28: () => {
|
|
2116
|
+
__VLS_Slots: {
|
|
2117
|
+
actions?: (props: {}) => any;
|
|
2118
|
+
};
|
|
2159
2119
|
};
|
|
2160
|
-
|
|
2120
|
+
type __VLS_Slots$29 = ReturnType<typeof __VLS_template$28>['__VLS_Slots'];
|
|
2121
|
+
declare const __VLS_base$29: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2161
2122
|
/** 聚合式(推荐):defineForm 返回的定义对象 */
|
|
2162
2123
|
definition: {
|
|
2163
2124
|
type: PropType<FormRenderDefinition<any>>;
|
|
@@ -2171,21 +2132,21 @@ declare const __VLS_base$28: import("vue").DefineComponent<import("vue").Extract
|
|
|
2171
2132
|
};
|
|
2172
2133
|
searchable: {
|
|
2173
2134
|
type: PropType<boolean | undefined>;
|
|
2174
|
-
default:
|
|
2135
|
+
default: undefined;
|
|
2175
2136
|
};
|
|
2176
2137
|
submitable: {
|
|
2177
2138
|
type: PropType<boolean | undefined>;
|
|
2178
|
-
default:
|
|
2139
|
+
default: undefined;
|
|
2179
2140
|
};
|
|
2180
2141
|
/** 缺省跟随 searchable */
|
|
2181
2142
|
resetable: {
|
|
2182
2143
|
type: PropType<boolean | undefined>;
|
|
2183
|
-
default:
|
|
2144
|
+
default: undefined;
|
|
2184
2145
|
};
|
|
2185
2146
|
/** 缺省跟随 submitable */
|
|
2186
2147
|
cancelable: {
|
|
2187
2148
|
type: PropType<boolean | undefined>;
|
|
2188
|
-
default:
|
|
2149
|
+
default: undefined;
|
|
2189
2150
|
};
|
|
2190
2151
|
searchText: {
|
|
2191
2152
|
type: StringConstructor;
|
|
@@ -2201,7 +2162,7 @@ declare const __VLS_base$28: import("vue").DefineComponent<import("vue").Extract
|
|
|
2201
2162
|
type: NumberConstructor;
|
|
2202
2163
|
};
|
|
2203
2164
|
}>, {
|
|
2204
|
-
form: FormRenderFormApi;
|
|
2165
|
+
form: FormRenderFormApi | undefined;
|
|
2205
2166
|
items: import("vue").ComputedRef<FormRenderItem<any>[]>;
|
|
2206
2167
|
resetToDefaults: () => void;
|
|
2207
2168
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -2223,21 +2184,21 @@ declare const __VLS_base$28: import("vue").DefineComponent<import("vue").Extract
|
|
|
2223
2184
|
};
|
|
2224
2185
|
searchable: {
|
|
2225
2186
|
type: PropType<boolean | undefined>;
|
|
2226
|
-
default:
|
|
2187
|
+
default: undefined;
|
|
2227
2188
|
};
|
|
2228
2189
|
submitable: {
|
|
2229
2190
|
type: PropType<boolean | undefined>;
|
|
2230
|
-
default:
|
|
2191
|
+
default: undefined;
|
|
2231
2192
|
};
|
|
2232
2193
|
/** 缺省跟随 searchable */
|
|
2233
2194
|
resetable: {
|
|
2234
2195
|
type: PropType<boolean | undefined>;
|
|
2235
|
-
default:
|
|
2196
|
+
default: undefined;
|
|
2236
2197
|
};
|
|
2237
2198
|
/** 缺省跟随 submitable */
|
|
2238
2199
|
cancelable: {
|
|
2239
2200
|
type: PropType<boolean | undefined>;
|
|
2240
|
-
default:
|
|
2201
|
+
default: undefined;
|
|
2241
2202
|
};
|
|
2242
2203
|
searchText: {
|
|
2243
2204
|
type: StringConstructor;
|
|
@@ -2253,25 +2214,23 @@ declare const __VLS_base$28: import("vue").DefineComponent<import("vue").Extract
|
|
|
2253
2214
|
type: NumberConstructor;
|
|
2254
2215
|
};
|
|
2255
2216
|
}>> & Readonly<{
|
|
2256
|
-
onSearch?: () => any;
|
|
2257
|
-
onCancel?: () => any;
|
|
2258
|
-
onReset?: () => any;
|
|
2259
|
-
onSubmit?: () => any;
|
|
2217
|
+
onSearch?: (() => any) | undefined;
|
|
2218
|
+
onCancel?: (() => any) | undefined;
|
|
2219
|
+
onReset?: (() => any) | undefined;
|
|
2220
|
+
onSubmit?: (() => any) | undefined;
|
|
2260
2221
|
}>, {
|
|
2261
|
-
searchable: boolean;
|
|
2262
|
-
submitable: boolean;
|
|
2263
|
-
resetable: boolean;
|
|
2264
|
-
cancelable: boolean;
|
|
2222
|
+
searchable: boolean | undefined;
|
|
2223
|
+
submitable: boolean | undefined;
|
|
2224
|
+
resetable: boolean | undefined;
|
|
2225
|
+
cancelable: boolean | undefined;
|
|
2265
2226
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2266
|
-
declare const __VLS_export$
|
|
2267
|
-
declare const _default$25: typeof __VLS_export$
|
|
2268
|
-
type __VLS_WithSlots$
|
|
2227
|
+
declare const __VLS_export$36: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
2228
|
+
declare const _default$25: typeof __VLS_export$36;
|
|
2229
|
+
type __VLS_WithSlots$29<T, S> = T & {
|
|
2269
2230
|
new (): {
|
|
2270
2231
|
$slots: S;
|
|
2271
2232
|
};
|
|
2272
2233
|
};
|
|
2273
|
-
//#endregion
|
|
2274
|
-
//#region src/components/form-render/define-form.d.ts
|
|
2275
2234
|
interface DefineFormOptions<T extends object> {
|
|
2276
2235
|
items: FormRenderItem<T>[];
|
|
2277
2236
|
/** Standard Schema(valibot v.object 输出直接兼容),映射到 TanStack validators.onSubmit */
|
|
@@ -2305,8 +2264,6 @@ interface DefineFormOptions<T extends object> {
|
|
|
2305
2264
|
* @returns 表单渲染 definition(items + form + resetToDefaults + submit + actions?),直接传给 <FormRender>
|
|
2306
2265
|
*/
|
|
2307
2266
|
export declare function defineForm<T extends object>(config: DefineFormOptions<T>): FormRenderDefinition<T>;
|
|
2308
|
-
//#endregion
|
|
2309
|
-
//#region src/components/form-render/useFormRender.d.ts
|
|
2310
2267
|
interface UseFormRenderOptions<T extends object> {
|
|
2311
2268
|
items: FormRenderItem<T>[];
|
|
2312
2269
|
/** Standard Schema(valibot v.object 输出直接兼容),映射到 TanStack validators.onSubmit */
|
|
@@ -2335,8 +2292,6 @@ interface UseFormRenderOptions<T extends object> {
|
|
|
2335
2292
|
* @returns 表单渲染 definition(items + form + resetToDefaults + submit + actions?)
|
|
2336
2293
|
*/
|
|
2337
2294
|
export declare function useFormRender<T extends object>(options: UseFormRenderOptions<T>): FormRenderDefinition<T>;
|
|
2338
|
-
//#endregion
|
|
2339
|
-
//#region src/components/form-render/widgets/index.d.ts
|
|
2340
2295
|
/**
|
|
2341
2296
|
* widget 注册表:`r.input({...})` 等柯里化工厂的运行时对象。
|
|
2342
2297
|
* 文件按绑定形态聚合:input / model-value(modelValue 系)/ boolean(checked 系)/
|
|
@@ -2344,8 +2299,6 @@ export declare function useFormRender<T extends object>(options: UseFormRenderOp
|
|
|
2344
2299
|
* @returns 各 widget 类型的柯里化工厂映射(render 为恒等直通),供 FormRender 渲染时调用
|
|
2345
2300
|
*/
|
|
2346
2301
|
export declare function widgetRenders<T extends object>(): WidgetRenders<T>;
|
|
2347
|
-
//#endregion
|
|
2348
|
-
//#region src/components/form-render/widgets/bind.d.ts
|
|
2349
2302
|
/**
|
|
2350
2303
|
* 值绑定形态描述:
|
|
2351
2304
|
* - modelValue:大多数组件(Input/Password/Number/Currency/Textarea/picker 系/Select)
|
|
@@ -2376,8 +2329,6 @@ export declare function bindField(field: AnyFieldApi, spec: BindingSpec): {
|
|
|
2376
2329
|
[x: string]: any;
|
|
2377
2330
|
onBlur: () => void;
|
|
2378
2331
|
};
|
|
2379
|
-
//#endregion
|
|
2380
|
-
//#region src/components/avatar/Avatar.vue.d.ts
|
|
2381
2332
|
interface Props$8 {
|
|
2382
2333
|
src?: string;
|
|
2383
2334
|
alt?: string;
|
|
@@ -2394,43 +2345,41 @@ interface Props$8 {
|
|
|
2394
2345
|
imgProps?: ImgHTMLAttributes;
|
|
2395
2346
|
class?: string;
|
|
2396
2347
|
}
|
|
2397
|
-
declare
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
} & {
|
|
2401
|
-
|
|
2348
|
+
declare const __VLS_template$27: () => {
|
|
2349
|
+
__VLS_Slots: {
|
|
2350
|
+
placeholder?: (props: {}) => any;
|
|
2351
|
+
} & {
|
|
2352
|
+
default?: (props: {}) => any;
|
|
2353
|
+
};
|
|
2402
2354
|
};
|
|
2403
|
-
|
|
2355
|
+
type __VLS_Slots$28 = ReturnType<typeof __VLS_template$27>['__VLS_Slots'];
|
|
2356
|
+
declare const __VLS_base$28: import("vue").DefineComponent<Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2404
2357
|
error: (details: Avatar.StatusChangeDetails) => any;
|
|
2405
2358
|
load: (details: Avatar.StatusChangeDetails) => any;
|
|
2406
2359
|
}, string, import("vue").PublicProps, Readonly<Props$8> & Readonly<{
|
|
2407
|
-
onError?: (details: Avatar.StatusChangeDetails) => any;
|
|
2408
|
-
onLoad?: (details: Avatar.StatusChangeDetails) => any;
|
|
2360
|
+
onError?: ((details: Avatar.StatusChangeDetails) => any) | undefined;
|
|
2361
|
+
onLoad?: ((details: Avatar.StatusChangeDetails) => any) | undefined;
|
|
2409
2362
|
}>, {
|
|
2410
|
-
shape:
|
|
2411
|
-
objectFit: "fill" | "
|
|
2412
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
2413
|
-
declare const __VLS_export$
|
|
2414
|
-
declare const _default$2: typeof __VLS_export$
|
|
2415
|
-
type __VLS_WithSlots$
|
|
2363
|
+
shape: "circle" | "square" | null;
|
|
2364
|
+
objectFit: "fill" | "cover" | "contain" | "none" | "scale-down";
|
|
2365
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2366
|
+
declare const __VLS_export$35: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
|
|
2367
|
+
declare const _default$2: typeof __VLS_export$35;
|
|
2368
|
+
type __VLS_WithSlots$28<T, S> = T & {
|
|
2416
2369
|
new (): {
|
|
2417
2370
|
$slots: S;
|
|
2418
2371
|
};
|
|
2419
2372
|
};
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
shape?: "circle" | "square";
|
|
2425
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2373
|
+
export declare const avatarVariants: (props?: ({
|
|
2374
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
2375
|
+
shape?: "circle" | "square" | null | undefined;
|
|
2376
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
2426
2377
|
export type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
2427
2378
|
/** 头像组上下文:size 经 provide/inject 下发给子 Avatar(子级显式 size 优先) */
|
|
2428
2379
|
export interface AvatarGroupContext {
|
|
2429
2380
|
size: Ref<AvatarVariants["size"] | number | undefined>;
|
|
2430
2381
|
}
|
|
2431
2382
|
export declare const avatarGroupKey: InjectionKey<AvatarGroupContext>;
|
|
2432
|
-
//#endregion
|
|
2433
|
-
//#region src/components/avatar-group/AvatarGroup.vue.d.ts
|
|
2434
2383
|
interface Props$7 {
|
|
2435
2384
|
/** 最多展示的子头像数,超出折叠为 +N 尾巴(按 default 插槽内子 Avatar 计数) */
|
|
2436
2385
|
max?: number;
|
|
@@ -2443,46 +2392,44 @@ interface Props$7 {
|
|
|
2443
2392
|
bordered?: boolean;
|
|
2444
2393
|
class?: string;
|
|
2445
2394
|
}
|
|
2446
|
-
declare
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2395
|
+
declare const __VLS_template$26: () => {
|
|
2396
|
+
__VLS_Slots: {
|
|
2397
|
+
rest?: (props: {
|
|
2398
|
+
rest: number;
|
|
2399
|
+
}) => any;
|
|
2400
|
+
};
|
|
2451
2401
|
};
|
|
2452
|
-
|
|
2453
|
-
declare const
|
|
2454
|
-
declare const
|
|
2455
|
-
|
|
2402
|
+
type __VLS_Slots$27 = ReturnType<typeof __VLS_template$26>['__VLS_Slots'];
|
|
2403
|
+
declare const __VLS_base$27: import("vue").DefineComponent<Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2404
|
+
declare const __VLS_export$34: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
|
|
2405
|
+
declare const _default$3: typeof __VLS_export$34;
|
|
2406
|
+
type __VLS_WithSlots$27<T, S> = T & {
|
|
2456
2407
|
new (): {
|
|
2457
2408
|
$slots: S;
|
|
2458
2409
|
};
|
|
2459
2410
|
};
|
|
2460
|
-
//#endregion
|
|
2461
|
-
//#region src/components/badge/Badge.vue.d.ts
|
|
2462
2411
|
interface Props$6 {
|
|
2463
2412
|
variant?: BadgeVariants["variant"];
|
|
2464
2413
|
class?: string;
|
|
2465
2414
|
}
|
|
2466
|
-
declare
|
|
2467
|
-
|
|
2468
|
-
|
|
2415
|
+
declare const __VLS_template$25: () => {
|
|
2416
|
+
__VLS_Slots: {
|
|
2417
|
+
default?: (props: {}) => any;
|
|
2418
|
+
};
|
|
2469
2419
|
};
|
|
2470
|
-
|
|
2471
|
-
declare const
|
|
2472
|
-
declare const
|
|
2473
|
-
|
|
2420
|
+
type __VLS_Slots$26 = ReturnType<typeof __VLS_template$25>['__VLS_Slots'];
|
|
2421
|
+
declare const __VLS_base$26: import("vue").DefineComponent<Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$6> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2422
|
+
declare const __VLS_export$33: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
2423
|
+
declare const _default$4: typeof __VLS_export$33;
|
|
2424
|
+
type __VLS_WithSlots$26<T, S> = T & {
|
|
2474
2425
|
new (): {
|
|
2475
2426
|
$slots: S;
|
|
2476
2427
|
};
|
|
2477
2428
|
};
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
variant?: "default" | "secondary" | "destructive" | "outline";
|
|
2482
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2429
|
+
export declare const badgeVariants: (props?: ({
|
|
2430
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
2431
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
2483
2432
|
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
2484
|
-
//#endregion
|
|
2485
|
-
//#region src/components/button/Button.vue.d.ts
|
|
2486
2433
|
interface Props$5 {
|
|
2487
2434
|
variant?: ButtonVariants["variant"];
|
|
2488
2435
|
size?: ButtonVariants["size"];
|
|
@@ -2490,44 +2437,44 @@ interface Props$5 {
|
|
|
2490
2437
|
asChild?: boolean;
|
|
2491
2438
|
class?: string;
|
|
2492
2439
|
}
|
|
2493
|
-
declare
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
} & {
|
|
2497
|
-
|
|
2498
|
-
} & {
|
|
2499
|
-
|
|
2440
|
+
declare const __VLS_template$24: () => {
|
|
2441
|
+
__VLS_Slots: {
|
|
2442
|
+
default?: (props: {}) => any;
|
|
2443
|
+
} & {
|
|
2444
|
+
icon?: (props: {}) => any;
|
|
2445
|
+
} & {
|
|
2446
|
+
default?: (props: {}) => any;
|
|
2447
|
+
};
|
|
2500
2448
|
};
|
|
2501
|
-
|
|
2449
|
+
type __VLS_Slots$25 = ReturnType<typeof __VLS_template$24>['__VLS_Slots'];
|
|
2450
|
+
declare const __VLS_base$25: import("vue").DefineComponent<Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$5> & Readonly<{}>, {
|
|
2502
2451
|
as: string;
|
|
2503
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
2504
|
-
declare const __VLS_export$
|
|
2505
|
-
declare const _default$5: typeof __VLS_export$
|
|
2506
|
-
type __VLS_WithSlots$
|
|
2452
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2453
|
+
declare const __VLS_export$32: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
2454
|
+
declare const _default$5: typeof __VLS_export$32;
|
|
2455
|
+
type __VLS_WithSlots$25<T, S> = T & {
|
|
2507
2456
|
new (): {
|
|
2508
2457
|
$slots: S;
|
|
2509
2458
|
};
|
|
2510
2459
|
};
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
size?: "sm" | "lg" | "default" | "icon";
|
|
2516
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2460
|
+
export declare const buttonVariants: (props?: ({
|
|
2461
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
|
|
2462
|
+
size?: "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
2463
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
2517
2464
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
} & {
|
|
2524
|
-
|
|
2525
|
-
} & {
|
|
2526
|
-
|
|
2527
|
-
}
|
|
2528
|
-
'next-icon'?: (props: typeof __VLS_38$1) => any;
|
|
2465
|
+
declare const __VLS_template$23: () => {
|
|
2466
|
+
__VLS_Slots: {
|
|
2467
|
+
'prev-icon'?: (props: {}) => any;
|
|
2468
|
+
} & {
|
|
2469
|
+
'next-icon'?: (props: {}) => any;
|
|
2470
|
+
} & {
|
|
2471
|
+
'prev-icon'?: (props: {}) => any;
|
|
2472
|
+
} & {
|
|
2473
|
+
'next-icon'?: (props: {}) => any;
|
|
2474
|
+
};
|
|
2529
2475
|
};
|
|
2530
|
-
|
|
2476
|
+
type __VLS_Slots$24 = ReturnType<typeof __VLS_template$23>['__VLS_Slots'];
|
|
2477
|
+
declare const __VLS_base$24: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2531
2478
|
/** 视图形态:day=日网格(可切月/年);standalone 时 month/year 同时派生视图锁定 */
|
|
2532
2479
|
mode: {
|
|
2533
2480
|
type: PropType<"day" | "month" | "year">;
|
|
@@ -2541,27 +2488,27 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
|
|
|
2541
2488
|
/** 受控值("yyyy-MM-dd");仅 standalone 独立形态生效,embedded 值归宿主 Picker */
|
|
2542
2489
|
modelValue: {
|
|
2543
2490
|
type: PropType<string | null | undefined>;
|
|
2544
|
-
default:
|
|
2491
|
+
default: undefined;
|
|
2545
2492
|
};
|
|
2546
2493
|
/** 非受控初值(仅 standalone) */
|
|
2547
2494
|
defaultValue: {
|
|
2548
2495
|
type: StringConstructor;
|
|
2549
|
-
default:
|
|
2496
|
+
default: undefined;
|
|
2550
2497
|
};
|
|
2551
2498
|
/** 可选下界("yyyy-MM-dd",含当日;仅 standalone) */
|
|
2552
2499
|
min: {
|
|
2553
2500
|
type: StringConstructor;
|
|
2554
|
-
default:
|
|
2501
|
+
default: undefined;
|
|
2555
2502
|
};
|
|
2556
2503
|
/** 可选上界("yyyy-MM-dd",含当日;仅 standalone) */
|
|
2557
2504
|
max: {
|
|
2558
2505
|
type: StringConstructor;
|
|
2559
|
-
default:
|
|
2506
|
+
default: undefined;
|
|
2560
2507
|
};
|
|
2561
2508
|
/** 不可选日期谓词(参数为 ark 的 DateValue;仅 standalone) */
|
|
2562
2509
|
isDateUnavailable: {
|
|
2563
2510
|
type: PropType<(date: DateValue) => boolean>;
|
|
2564
|
-
default:
|
|
2511
|
+
default: undefined;
|
|
2565
2512
|
};
|
|
2566
2513
|
/** 文案与周起点跟随 locale(仅 standalone;embedded 随宿主 Picker) */
|
|
2567
2514
|
locale: {
|
|
@@ -2574,7 +2521,7 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
|
|
|
2574
2521
|
default: boolean;
|
|
2575
2522
|
};
|
|
2576
2523
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2577
|
-
"update:modelValue": (value: string) => any;
|
|
2524
|
+
"update:modelValue": (value: string | null) => any;
|
|
2578
2525
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2579
2526
|
/** 视图形态:day=日网格(可切月/年);standalone 时 month/year 同时派生视图锁定 */
|
|
2580
2527
|
mode: {
|
|
@@ -2589,27 +2536,27 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
|
|
|
2589
2536
|
/** 受控值("yyyy-MM-dd");仅 standalone 独立形态生效,embedded 值归宿主 Picker */
|
|
2590
2537
|
modelValue: {
|
|
2591
2538
|
type: PropType<string | null | undefined>;
|
|
2592
|
-
default:
|
|
2539
|
+
default: undefined;
|
|
2593
2540
|
};
|
|
2594
2541
|
/** 非受控初值(仅 standalone) */
|
|
2595
2542
|
defaultValue: {
|
|
2596
2543
|
type: StringConstructor;
|
|
2597
|
-
default:
|
|
2544
|
+
default: undefined;
|
|
2598
2545
|
};
|
|
2599
2546
|
/** 可选下界("yyyy-MM-dd",含当日;仅 standalone) */
|
|
2600
2547
|
min: {
|
|
2601
2548
|
type: StringConstructor;
|
|
2602
|
-
default:
|
|
2549
|
+
default: undefined;
|
|
2603
2550
|
};
|
|
2604
2551
|
/** 可选上界("yyyy-MM-dd",含当日;仅 standalone) */
|
|
2605
2552
|
max: {
|
|
2606
2553
|
type: StringConstructor;
|
|
2607
|
-
default:
|
|
2554
|
+
default: undefined;
|
|
2608
2555
|
};
|
|
2609
2556
|
/** 不可选日期谓词(参数为 ark 的 DateValue;仅 standalone) */
|
|
2610
2557
|
isDateUnavailable: {
|
|
2611
2558
|
type: PropType<(date: DateValue) => boolean>;
|
|
2612
|
-
default:
|
|
2559
|
+
default: undefined;
|
|
2613
2560
|
};
|
|
2614
2561
|
/** 文案与周起点跟随 locale(仅 standalone;embedded 随宿主 Picker) */
|
|
2615
2562
|
locale: {
|
|
@@ -2622,27 +2569,25 @@ declare const __VLS_base$23: import("vue").DefineComponent<import("vue").Extract
|
|
|
2622
2569
|
default: boolean;
|
|
2623
2570
|
};
|
|
2624
2571
|
}>> & Readonly<{
|
|
2625
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
2572
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
2626
2573
|
}>, {
|
|
2627
2574
|
mode: "day" | "month" | "year";
|
|
2628
2575
|
max: string;
|
|
2629
|
-
defaultValue: string;
|
|
2630
|
-
modelValue: string;
|
|
2631
2576
|
numOfMonths: number;
|
|
2577
|
+
modelValue: string | null | undefined;
|
|
2578
|
+
defaultValue: string;
|
|
2632
2579
|
min: string;
|
|
2633
2580
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
2634
2581
|
locale: string;
|
|
2635
2582
|
week: boolean;
|
|
2636
2583
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2637
|
-
declare const __VLS_export$
|
|
2638
|
-
declare const _default$6: typeof __VLS_export$
|
|
2639
|
-
type __VLS_WithSlots$
|
|
2584
|
+
declare const __VLS_export$31: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
|
|
2585
|
+
declare const _default$6: typeof __VLS_export$31;
|
|
2586
|
+
type __VLS_WithSlots$24<T, S> = T & {
|
|
2640
2587
|
new (): {
|
|
2641
2588
|
$slots: S;
|
|
2642
2589
|
};
|
|
2643
2590
|
};
|
|
2644
|
-
//#endregion
|
|
2645
|
-
//#region src/components/card/Card.vue.d.ts
|
|
2646
2591
|
interface Props$4 {
|
|
2647
2592
|
/** 标题文案,渲染进头部(#title / #header 插槽可覆盖) */
|
|
2648
2593
|
title?: string;
|
|
@@ -2664,75 +2609,75 @@ interface Props$4 {
|
|
|
2664
2609
|
closable?: boolean;
|
|
2665
2610
|
class?: string;
|
|
2666
2611
|
}
|
|
2667
|
-
declare
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
} & {
|
|
2671
|
-
|
|
2672
|
-
} & {
|
|
2673
|
-
|
|
2674
|
-
} & {
|
|
2675
|
-
|
|
2676
|
-
} & {
|
|
2677
|
-
|
|
2678
|
-
} & {
|
|
2679
|
-
|
|
2680
|
-
} & {
|
|
2681
|
-
|
|
2612
|
+
declare const __VLS_template$22: () => {
|
|
2613
|
+
__VLS_Slots: {
|
|
2614
|
+
cover?: (props: {}) => any;
|
|
2615
|
+
} & {
|
|
2616
|
+
header?: (props: {}) => any;
|
|
2617
|
+
} & {
|
|
2618
|
+
title?: (props: {}) => any;
|
|
2619
|
+
} & {
|
|
2620
|
+
description?: (props: {}) => any;
|
|
2621
|
+
} & {
|
|
2622
|
+
action?: (props: {}) => any;
|
|
2623
|
+
} & {
|
|
2624
|
+
default?: (props: {}) => any;
|
|
2625
|
+
} & {
|
|
2626
|
+
footer?: (props: {}) => any;
|
|
2627
|
+
};
|
|
2682
2628
|
};
|
|
2683
|
-
|
|
2629
|
+
type __VLS_Slots$23 = ReturnType<typeof __VLS_template$22>['__VLS_Slots'];
|
|
2630
|
+
declare const __VLS_base$23: import("vue").DefineComponent<Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2684
2631
|
close: () => any;
|
|
2685
2632
|
}, string, import("vue").PublicProps, Readonly<Props$4> & Readonly<{
|
|
2686
|
-
onClose?: () => any;
|
|
2633
|
+
onClose?: (() => any) | undefined;
|
|
2687
2634
|
}>, {
|
|
2688
|
-
size:
|
|
2635
|
+
size: "sm" | "lg" | "default" | null;
|
|
2689
2636
|
bordered: boolean;
|
|
2690
2637
|
title: string;
|
|
2691
2638
|
description: string;
|
|
2692
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
2693
|
-
declare const __VLS_export$
|
|
2694
|
-
declare const _default$7: typeof __VLS_export$
|
|
2695
|
-
type __VLS_WithSlots$
|
|
2639
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2640
|
+
declare const __VLS_export$30: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
2641
|
+
declare const _default$7: typeof __VLS_export$30;
|
|
2642
|
+
type __VLS_WithSlots$23<T, S> = T & {
|
|
2696
2643
|
new (): {
|
|
2697
2644
|
$slots: S;
|
|
2698
2645
|
};
|
|
2699
2646
|
};
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
embedded?: boolean;
|
|
2708
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2647
|
+
export declare const cardVariants: (props?: ({
|
|
2648
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
2649
|
+
bordered?: boolean | null | undefined;
|
|
2650
|
+
hoverable?: boolean | null | undefined;
|
|
2651
|
+
interactive?: boolean | null | undefined;
|
|
2652
|
+
embedded?: boolean | null | undefined;
|
|
2653
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
2709
2654
|
export type CardVariants = VariantProps<typeof cardVariants>;
|
|
2710
|
-
//#endregion
|
|
2711
|
-
//#region src/components/dialog/Dialog.vue.d.ts
|
|
2712
2655
|
/** 关闭对话框(#footer 作用域插槽注入):走受控桥把 open 置 false,
|
|
2713
2656
|
* 与原 TDialogClose(Ark CloseTrigger)的关闭语义等价,退出动画/焦点还原由 zag 处理 */
|
|
2714
2657
|
declare function close$1(): void;
|
|
2715
|
-
declare
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
} & {
|
|
2721
|
-
|
|
2722
|
-
} & {
|
|
2723
|
-
|
|
2724
|
-
} & {
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
} & {
|
|
2729
|
-
|
|
2658
|
+
declare const __VLS_template$21: () => {
|
|
2659
|
+
__VLS_Slots: {
|
|
2660
|
+
trigger?: (props: {}) => any;
|
|
2661
|
+
} & {
|
|
2662
|
+
title?: (props: {}) => any;
|
|
2663
|
+
} & {
|
|
2664
|
+
description?: (props: {}) => any;
|
|
2665
|
+
} & {
|
|
2666
|
+
default?: (props: {}) => any;
|
|
2667
|
+
} & {
|
|
2668
|
+
footer?: (props: {
|
|
2669
|
+
close: typeof close$1;
|
|
2670
|
+
}) => any;
|
|
2671
|
+
} & {
|
|
2672
|
+
close?: (props: {}) => any;
|
|
2673
|
+
};
|
|
2730
2674
|
};
|
|
2731
|
-
|
|
2675
|
+
type __VLS_Slots$22 = ReturnType<typeof __VLS_template$21>['__VLS_Slots'];
|
|
2676
|
+
declare const __VLS_base$22: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2732
2677
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
2733
2678
|
open: {
|
|
2734
2679
|
type: PropType<boolean | undefined>;
|
|
2735
|
-
default:
|
|
2680
|
+
default: undefined;
|
|
2736
2681
|
};
|
|
2737
2682
|
/** 非受控时的初始开关 */
|
|
2738
2683
|
defaultOpen: {
|
|
@@ -2752,12 +2697,12 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2752
2697
|
/** 标题文案(#title 插槽优先,两者皆无则不渲染标题) */
|
|
2753
2698
|
title: {
|
|
2754
2699
|
type: StringConstructor;
|
|
2755
|
-
default:
|
|
2700
|
+
default: undefined;
|
|
2756
2701
|
};
|
|
2757
2702
|
/** 描述文案(#description 插槽优先,两者皆无则不渲染描述) */
|
|
2758
2703
|
description: {
|
|
2759
2704
|
type: StringConstructor;
|
|
2760
|
-
default:
|
|
2705
|
+
default: undefined;
|
|
2761
2706
|
};
|
|
2762
2707
|
/** 是否渲染右上角内置关闭按钮 */
|
|
2763
2708
|
showCloseButton: {
|
|
@@ -2767,7 +2712,7 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2767
2712
|
/** 追加/覆盖面板样式类(默认 sm:max-w-lg 可由此覆盖,如 "sm:max-w-xl") */
|
|
2768
2713
|
contentClass: {
|
|
2769
2714
|
type: StringConstructor;
|
|
2770
|
-
default:
|
|
2715
|
+
default: undefined;
|
|
2771
2716
|
};
|
|
2772
2717
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2773
2718
|
"update:open": (open: boolean) => any;
|
|
@@ -2775,7 +2720,7 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2775
2720
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
2776
2721
|
open: {
|
|
2777
2722
|
type: PropType<boolean | undefined>;
|
|
2778
|
-
default:
|
|
2723
|
+
default: undefined;
|
|
2779
2724
|
};
|
|
2780
2725
|
/** 非受控时的初始开关 */
|
|
2781
2726
|
defaultOpen: {
|
|
@@ -2795,12 +2740,12 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2795
2740
|
/** 标题文案(#title 插槽优先,两者皆无则不渲染标题) */
|
|
2796
2741
|
title: {
|
|
2797
2742
|
type: StringConstructor;
|
|
2798
|
-
default:
|
|
2743
|
+
default: undefined;
|
|
2799
2744
|
};
|
|
2800
2745
|
/** 描述文案(#description 插槽优先,两者皆无则不渲染描述) */
|
|
2801
2746
|
description: {
|
|
2802
2747
|
type: StringConstructor;
|
|
2803
|
-
default:
|
|
2748
|
+
default: undefined;
|
|
2804
2749
|
};
|
|
2805
2750
|
/** 是否渲染右上角内置关闭按钮 */
|
|
2806
2751
|
showCloseButton: {
|
|
@@ -2810,29 +2755,27 @@ declare const __VLS_base$21: import("vue").DefineComponent<import("vue").Extract
|
|
|
2810
2755
|
/** 追加/覆盖面板样式类(默认 sm:max-w-lg 可由此覆盖,如 "sm:max-w-xl") */
|
|
2811
2756
|
contentClass: {
|
|
2812
2757
|
type: StringConstructor;
|
|
2813
|
-
default:
|
|
2758
|
+
default: undefined;
|
|
2814
2759
|
};
|
|
2815
2760
|
}>> & Readonly<{
|
|
2816
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
2761
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
2817
2762
|
}>, {
|
|
2818
|
-
open: boolean;
|
|
2763
|
+
open: boolean | undefined;
|
|
2819
2764
|
defaultOpen: boolean;
|
|
2820
2765
|
lazyMount: boolean;
|
|
2821
2766
|
unmountOnExit: boolean;
|
|
2822
|
-
contentClass: string;
|
|
2823
2767
|
title: string;
|
|
2824
2768
|
description: string;
|
|
2825
2769
|
showCloseButton: boolean;
|
|
2770
|
+
contentClass: string;
|
|
2826
2771
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2827
|
-
declare const __VLS_export$
|
|
2828
|
-
declare const _default$14: typeof __VLS_export$
|
|
2829
|
-
type __VLS_WithSlots$
|
|
2772
|
+
declare const __VLS_export$29: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
2773
|
+
declare const _default$14: typeof __VLS_export$29;
|
|
2774
|
+
type __VLS_WithSlots$22<T, S> = T & {
|
|
2830
2775
|
new (): {
|
|
2831
2776
|
$slots: S;
|
|
2832
2777
|
};
|
|
2833
2778
|
};
|
|
2834
|
-
//#endregion
|
|
2835
|
-
//#region src/components/dropdown-menu/types.d.ts
|
|
2836
2779
|
/** DropdownMenu 菜单项描述:四种形态,group 可嵌套 children 形成层级 */
|
|
2837
2780
|
type MenuItemOption = {
|
|
2838
2781
|
type: "item";
|
|
@@ -2853,19 +2796,19 @@ type MenuItemOption = {
|
|
|
2853
2796
|
class?: string;
|
|
2854
2797
|
children: MenuItemOption[];
|
|
2855
2798
|
};
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
}
|
|
2866
|
-
item?: (props: typeof __VLS_38) => any;
|
|
2799
|
+
declare const __VLS_template$20: () => {
|
|
2800
|
+
__VLS_Slots: {
|
|
2801
|
+
default?: (props: {}) => any;
|
|
2802
|
+
} & {
|
|
2803
|
+
item?: (props: {
|
|
2804
|
+
item: Extract<MenuItemOption, {
|
|
2805
|
+
type: "item";
|
|
2806
|
+
}>;
|
|
2807
|
+
}) => any;
|
|
2808
|
+
};
|
|
2867
2809
|
};
|
|
2868
|
-
|
|
2810
|
+
type __VLS_Slots$21 = ReturnType<typeof __VLS_template$20>['__VLS_Slots'];
|
|
2811
|
+
declare const __VLS_base$21: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2869
2812
|
/** 菜单项描述列表(item/label/separator/group 四种形态,group 可嵌套) */
|
|
2870
2813
|
items: {
|
|
2871
2814
|
type: PropType<MenuItemOption[]>;
|
|
@@ -2874,7 +2817,7 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
|
|
|
2874
2817
|
/** 受控开关(配合 v-model:open);不传时为非受控(default: undefined 禁用 Boolean casting) */
|
|
2875
2818
|
open: {
|
|
2876
2819
|
type: PropType<boolean | undefined>;
|
|
2877
|
-
default:
|
|
2820
|
+
default: undefined;
|
|
2878
2821
|
};
|
|
2879
2822
|
defaultOpen: {
|
|
2880
2823
|
type: BooleanConstructor;
|
|
@@ -2891,19 +2834,19 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
|
|
|
2891
2834
|
/** 追加到触发元素上的 class(默认插槽内容即触发元素本身) */
|
|
2892
2835
|
triggerClass: {
|
|
2893
2836
|
type: StringConstructor;
|
|
2894
|
-
default:
|
|
2837
|
+
default: undefined;
|
|
2895
2838
|
};
|
|
2896
2839
|
/** 追加到菜单面板上的 class */
|
|
2897
2840
|
contentClass: {
|
|
2898
2841
|
type: StringConstructor;
|
|
2899
|
-
default:
|
|
2842
|
+
default: undefined;
|
|
2900
2843
|
};
|
|
2901
2844
|
/** Ark Menu Root 的 positioning 配置(placement/gutter 等);
|
|
2902
2845
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
2903
2846
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
2904
2847
|
positioning: {
|
|
2905
2848
|
type: PropType<MenuRootProps["positioning"]>;
|
|
2906
|
-
default:
|
|
2849
|
+
default: undefined;
|
|
2907
2850
|
};
|
|
2908
2851
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2909
2852
|
"update:open": (open: boolean) => any;
|
|
@@ -2919,7 +2862,7 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
|
|
|
2919
2862
|
/** 受控开关(配合 v-model:open);不传时为非受控(default: undefined 禁用 Boolean casting) */
|
|
2920
2863
|
open: {
|
|
2921
2864
|
type: PropType<boolean | undefined>;
|
|
2922
|
-
default:
|
|
2865
|
+
default: undefined;
|
|
2923
2866
|
};
|
|
2924
2867
|
defaultOpen: {
|
|
2925
2868
|
type: BooleanConstructor;
|
|
@@ -2936,105 +2879,101 @@ declare const __VLS_base$20: import("vue").DefineComponent<import("vue").Extract
|
|
|
2936
2879
|
/** 追加到触发元素上的 class(默认插槽内容即触发元素本身) */
|
|
2937
2880
|
triggerClass: {
|
|
2938
2881
|
type: StringConstructor;
|
|
2939
|
-
default:
|
|
2882
|
+
default: undefined;
|
|
2940
2883
|
};
|
|
2941
2884
|
/** 追加到菜单面板上的 class */
|
|
2942
2885
|
contentClass: {
|
|
2943
2886
|
type: StringConstructor;
|
|
2944
|
-
default:
|
|
2887
|
+
default: undefined;
|
|
2945
2888
|
};
|
|
2946
2889
|
/** Ark Menu Root 的 positioning 配置(placement/gutter 等);
|
|
2947
2890
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
2948
2891
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
2949
2892
|
positioning: {
|
|
2950
2893
|
type: PropType<MenuRootProps["positioning"]>;
|
|
2951
|
-
default:
|
|
2894
|
+
default: undefined;
|
|
2952
2895
|
};
|
|
2953
2896
|
}>> & Readonly<{
|
|
2954
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
2955
|
-
onSelect?: (details: {
|
|
2897
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
2898
|
+
onSelect?: ((details: {
|
|
2956
2899
|
value: string;
|
|
2957
|
-
}) => any;
|
|
2900
|
+
}) => any) | undefined;
|
|
2958
2901
|
}>, {
|
|
2959
|
-
open: boolean;
|
|
2902
|
+
open: boolean | undefined;
|
|
2960
2903
|
defaultOpen: boolean;
|
|
2961
|
-
positioning: import("@
|
|
2904
|
+
positioning: import("@ark-ui/vue/select").SelectPositioningOptions | undefined;
|
|
2962
2905
|
lazyMount: boolean;
|
|
2963
2906
|
unmountOnExit: boolean;
|
|
2964
2907
|
contentClass: string;
|
|
2965
2908
|
triggerClass: string;
|
|
2966
2909
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2967
|
-
declare const __VLS_export$
|
|
2968
|
-
declare const _default$16: typeof __VLS_export$
|
|
2969
|
-
type __VLS_WithSlots$
|
|
2910
|
+
declare const __VLS_export$28: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
2911
|
+
declare const _default$16: typeof __VLS_export$28;
|
|
2912
|
+
type __VLS_WithSlots$21<T, S> = T & {
|
|
2970
2913
|
new (): {
|
|
2971
2914
|
$slots: S;
|
|
2972
2915
|
};
|
|
2973
2916
|
};
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
type FormInstance =
|
|
2978
|
-
//#endregion
|
|
2979
|
-
//#region src/components/form/Form.vue.d.ts
|
|
2917
|
+
/** useForm() 返回实例的宽松形态(provide/inject 边界会擦除泛型,any 化是契约)。
|
|
2918
|
+
* 注:TS6 对 FormApi<any> 的方法成员按逆变检查(如 pushFieldValue 的 TField 收窄为 never),
|
|
2919
|
+
* any 化交集不再能兼容任意具体泛型实例,故契约直接 any 化。 */
|
|
2920
|
+
type FormInstance = any;
|
|
2980
2921
|
type __VLS_Props$9 = {
|
|
2981
2922
|
/** useForm() 返回的实例 */
|
|
2982
2923
|
form: FormInstance;
|
|
2983
2924
|
class?: string;
|
|
2984
2925
|
};
|
|
2985
|
-
declare
|
|
2986
|
-
|
|
2987
|
-
|
|
2926
|
+
declare const __VLS_template$19: () => {
|
|
2927
|
+
__VLS_Slots: {
|
|
2928
|
+
default?: (props: {}) => any;
|
|
2929
|
+
};
|
|
2988
2930
|
};
|
|
2989
|
-
|
|
2990
|
-
declare const
|
|
2991
|
-
declare const
|
|
2992
|
-
|
|
2931
|
+
type __VLS_Slots$20 = ReturnType<typeof __VLS_template$19>['__VLS_Slots'];
|
|
2932
|
+
declare const __VLS_base$20: import("vue").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2933
|
+
declare const __VLS_export$27: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
2934
|
+
declare const _default$18: typeof __VLS_export$27;
|
|
2935
|
+
type __VLS_WithSlots$20<T, S> = T & {
|
|
2993
2936
|
new (): {
|
|
2994
2937
|
$slots: S;
|
|
2995
2938
|
};
|
|
2996
2939
|
};
|
|
2997
|
-
//#endregion
|
|
2998
|
-
//#region src/components/form/FormControl.vue.d.ts
|
|
2999
2940
|
/**
|
|
3000
2941
|
* 把 id / aria-invalid / aria-describedby 合并到唯一子元素(cloneVNode)。
|
|
3001
2942
|
* aria 全同步计算:description/message 的 presence 由 FormItem 的 refs 提供。
|
|
3002
2943
|
*/
|
|
3003
|
-
declare const _default$19: typeof __VLS_export$
|
|
3004
|
-
declare const __VLS_export$
|
|
2944
|
+
declare const _default$19: typeof __VLS_export$26;
|
|
2945
|
+
declare const __VLS_export$26: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3005
2946
|
class: {
|
|
3006
2947
|
type: StringConstructor;
|
|
3007
|
-
default:
|
|
2948
|
+
default: undefined;
|
|
3008
2949
|
};
|
|
3009
2950
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3010
2951
|
[key: string]: any;
|
|
3011
|
-
}
|
|
2952
|
+
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3012
2953
|
class: {
|
|
3013
2954
|
type: StringConstructor;
|
|
3014
|
-
default:
|
|
2955
|
+
default: undefined;
|
|
3015
2956
|
};
|
|
3016
2957
|
}>> & Readonly<{}>, {
|
|
3017
2958
|
class: string;
|
|
3018
2959
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3019
|
-
//#endregion
|
|
3020
|
-
//#region src/components/form/FormDescription.vue.d.ts
|
|
3021
2960
|
type __VLS_Props$8 = {
|
|
3022
2961
|
class?: string;
|
|
3023
2962
|
};
|
|
3024
|
-
declare
|
|
3025
|
-
|
|
3026
|
-
|
|
2963
|
+
declare const __VLS_template$18: () => {
|
|
2964
|
+
__VLS_Slots: {
|
|
2965
|
+
default?: (props: {}) => any;
|
|
2966
|
+
};
|
|
3027
2967
|
};
|
|
3028
|
-
|
|
3029
|
-
declare const
|
|
3030
|
-
declare const
|
|
3031
|
-
|
|
2968
|
+
type __VLS_Slots$19 = ReturnType<typeof __VLS_template$18>['__VLS_Slots'];
|
|
2969
|
+
declare const __VLS_base$19: import("vue").DefineComponent<__VLS_Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$8> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2970
|
+
declare const __VLS_export$25: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
2971
|
+
declare const _default$20: typeof __VLS_export$25;
|
|
2972
|
+
type __VLS_WithSlots$19<T, S> = T & {
|
|
3032
2973
|
new (): {
|
|
3033
2974
|
$slots: S;
|
|
3034
2975
|
};
|
|
3035
2976
|
};
|
|
3036
|
-
//#endregion
|
|
3037
|
-
//#region src/components/form/FormField.vue.d.ts
|
|
3038
2977
|
interface FormFieldProps {
|
|
3039
2978
|
/** 字段名(TanStack 深层 key 的运行时形态) */
|
|
3040
2979
|
name: string;
|
|
@@ -3043,97 +2982,95 @@ interface FormFieldProps {
|
|
|
3043
2982
|
/** 字段模式:value 单值(默认);array 数组字段,解锁 pushValue/removeValue 等行操作 */
|
|
3044
2983
|
mode?: "value" | "array";
|
|
3045
2984
|
}
|
|
3046
|
-
declare const _default$21: typeof __VLS_export$
|
|
3047
|
-
declare const __VLS_export$
|
|
2985
|
+
declare const _default$21: typeof __VLS_export$24;
|
|
2986
|
+
declare const __VLS_export$24: import("vue").DefineSetupFnComponent<FormFieldProps, {}, SlotsType<{
|
|
3048
2987
|
default?: (props: {
|
|
3049
2988
|
field: AnyFieldApi | undefined;
|
|
3050
2989
|
}) => VNodeChild;
|
|
3051
2990
|
}>, FormFieldProps & {}, import("vue").PublicProps>;
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
default?: (props: typeof __VLS_1$6) => any;
|
|
2991
|
+
declare const __VLS_template$17: () => {
|
|
2992
|
+
__VLS_Slots: {
|
|
2993
|
+
default?: (props: {}) => any;
|
|
2994
|
+
};
|
|
3057
2995
|
};
|
|
3058
|
-
|
|
3059
|
-
declare const
|
|
3060
|
-
declare const
|
|
3061
|
-
|
|
2996
|
+
type __VLS_Slots$18 = ReturnType<typeof __VLS_template$17>['__VLS_Slots'];
|
|
2997
|
+
declare const __VLS_base$18: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2998
|
+
declare const __VLS_export$23: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
2999
|
+
declare const _default$22: typeof __VLS_export$23;
|
|
3000
|
+
type __VLS_WithSlots$18<T, S> = T & {
|
|
3062
3001
|
new (): {
|
|
3063
3002
|
$slots: S;
|
|
3064
3003
|
};
|
|
3065
3004
|
};
|
|
3066
|
-
//#endregion
|
|
3067
|
-
//#region src/components/form/FormLabel.vue.d.ts
|
|
3068
3005
|
type __VLS_Props$7 = {
|
|
3069
3006
|
class?: string;
|
|
3070
3007
|
};
|
|
3071
|
-
declare
|
|
3072
|
-
|
|
3073
|
-
|
|
3008
|
+
declare const __VLS_template$16: () => {
|
|
3009
|
+
__VLS_Slots: {
|
|
3010
|
+
default?: (props: {}) => any;
|
|
3011
|
+
};
|
|
3074
3012
|
};
|
|
3075
|
-
|
|
3076
|
-
declare const
|
|
3077
|
-
declare const
|
|
3078
|
-
|
|
3013
|
+
type __VLS_Slots$17 = ReturnType<typeof __VLS_template$16>['__VLS_Slots'];
|
|
3014
|
+
declare const __VLS_base$17: import("vue").DefineComponent<__VLS_Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3015
|
+
declare const __VLS_export$22: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
3016
|
+
declare const _default$23: typeof __VLS_export$22;
|
|
3017
|
+
type __VLS_WithSlots$17<T, S> = T & {
|
|
3079
3018
|
new (): {
|
|
3080
3019
|
$slots: S;
|
|
3081
3020
|
};
|
|
3082
3021
|
};
|
|
3083
|
-
//#endregion
|
|
3084
|
-
//#region src/components/form/FormMessage.vue.d.ts
|
|
3085
3022
|
type __VLS_Props$6 = {
|
|
3086
3023
|
/** 静态提示文案:传入后即使无校验错误也渲染(不走 aria-errormessage) */
|
|
3087
3024
|
message?: string;
|
|
3088
3025
|
class?: string;
|
|
3089
3026
|
};
|
|
3090
|
-
declare const __VLS_export$
|
|
3091
|
-
declare const _default$24: typeof __VLS_export$
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
};
|
|
3098
|
-
|
|
3099
|
-
default?: (props: typeof __VLS_9) => any;
|
|
3027
|
+
declare const __VLS_export$21: import("vue").DefineComponent<__VLS_Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$6> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3028
|
+
declare const _default$24: typeof __VLS_export$21;
|
|
3029
|
+
declare const __VLS_template$15: () => {
|
|
3030
|
+
__VLS_Slots: {
|
|
3031
|
+
default?: (props: {
|
|
3032
|
+
canSubmit: any;
|
|
3033
|
+
isSubmitting: any;
|
|
3034
|
+
}) => any;
|
|
3035
|
+
};
|
|
3100
3036
|
};
|
|
3101
|
-
|
|
3102
|
-
declare const
|
|
3103
|
-
declare const
|
|
3104
|
-
|
|
3037
|
+
type __VLS_Slots$16 = ReturnType<typeof __VLS_template$15>['__VLS_Slots'];
|
|
3038
|
+
declare const __VLS_base$16: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3039
|
+
declare const __VLS_export$20: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
3040
|
+
declare const _default$26: typeof __VLS_export$20;
|
|
3041
|
+
type __VLS_WithSlots$16<T, S> = T & {
|
|
3105
3042
|
new (): {
|
|
3106
3043
|
$slots: S;
|
|
3107
3044
|
};
|
|
3108
3045
|
};
|
|
3109
|
-
//#endregion
|
|
3110
|
-
//#region src/components/label/Label.vue.d.ts
|
|
3111
3046
|
type __VLS_Props$5 = {
|
|
3112
3047
|
class?: string;
|
|
3113
3048
|
};
|
|
3114
|
-
declare
|
|
3115
|
-
|
|
3116
|
-
|
|
3049
|
+
declare const __VLS_template$14: () => {
|
|
3050
|
+
__VLS_Slots: {
|
|
3051
|
+
default?: (props: {}) => any;
|
|
3052
|
+
};
|
|
3117
3053
|
};
|
|
3118
|
-
|
|
3119
|
-
declare const
|
|
3120
|
-
declare const
|
|
3121
|
-
|
|
3054
|
+
type __VLS_Slots$15 = ReturnType<typeof __VLS_template$14>['__VLS_Slots'];
|
|
3055
|
+
declare const __VLS_base$15: import("vue").DefineComponent<__VLS_Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$5> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3056
|
+
declare const __VLS_export$19: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
3057
|
+
declare const _default$28: typeof __VLS_export$19;
|
|
3058
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
3122
3059
|
new (): {
|
|
3123
3060
|
$slots: S;
|
|
3124
3061
|
};
|
|
3125
3062
|
};
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
separator?: (props: typeof __VLS_16$4) => any;
|
|
3063
|
+
declare const __VLS_template$13: () => {
|
|
3064
|
+
__VLS_Slots: {
|
|
3065
|
+
separator?: (props: {}) => any;
|
|
3066
|
+
};
|
|
3131
3067
|
};
|
|
3132
|
-
|
|
3068
|
+
type __VLS_Slots$14 = ReturnType<typeof __VLS_template$13>['__VLS_Slots'];
|
|
3069
|
+
declare const __VLS_base$14: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3133
3070
|
/** 受控值:每格一个元素的数组;undefined 走内部非受控 */
|
|
3134
3071
|
modelValue: {
|
|
3135
3072
|
type: PropType<string[] | undefined>;
|
|
3136
|
-
default:
|
|
3073
|
+
default: undefined;
|
|
3137
3074
|
};
|
|
3138
3075
|
/** 格数(默认 4) */
|
|
3139
3076
|
length: {
|
|
@@ -3143,39 +3080,39 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
|
|
|
3143
3080
|
/** 单格字符类型 */
|
|
3144
3081
|
type: {
|
|
3145
3082
|
type: PropType<"numeric" | "alphanumeric" | undefined>;
|
|
3146
|
-
default:
|
|
3083
|
+
default: undefined;
|
|
3147
3084
|
};
|
|
3148
3085
|
otp: {
|
|
3149
3086
|
type: PropType<boolean | undefined>;
|
|
3150
|
-
default:
|
|
3087
|
+
default: undefined;
|
|
3151
3088
|
};
|
|
3152
3089
|
mask: {
|
|
3153
3090
|
type: PropType<boolean | undefined>;
|
|
3154
|
-
default:
|
|
3091
|
+
default: undefined;
|
|
3155
3092
|
};
|
|
3156
3093
|
autoSubmit: {
|
|
3157
3094
|
type: PropType<boolean | undefined>;
|
|
3158
|
-
default:
|
|
3095
|
+
default: undefined;
|
|
3159
3096
|
};
|
|
3160
3097
|
blurOnComplete: {
|
|
3161
3098
|
type: PropType<boolean | undefined>;
|
|
3162
|
-
default:
|
|
3099
|
+
default: undefined;
|
|
3163
3100
|
};
|
|
3164
3101
|
placeholder: {
|
|
3165
3102
|
type: StringConstructor;
|
|
3166
|
-
default:
|
|
3103
|
+
default: undefined;
|
|
3167
3104
|
};
|
|
3168
3105
|
disabled: {
|
|
3169
3106
|
type: PropType<boolean | undefined>;
|
|
3170
|
-
default:
|
|
3107
|
+
default: undefined;
|
|
3171
3108
|
};
|
|
3172
3109
|
invalid: {
|
|
3173
3110
|
type: PropType<boolean | undefined>;
|
|
3174
|
-
default:
|
|
3111
|
+
default: undefined;
|
|
3175
3112
|
};
|
|
3176
3113
|
class: {
|
|
3177
3114
|
type: StringConstructor;
|
|
3178
|
-
default:
|
|
3115
|
+
default: undefined;
|
|
3179
3116
|
};
|
|
3180
3117
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3181
3118
|
"update:modelValue": (value: string[]) => any;
|
|
@@ -3184,7 +3121,7 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
|
|
|
3184
3121
|
/** 受控值:每格一个元素的数组;undefined 走内部非受控 */
|
|
3185
3122
|
modelValue: {
|
|
3186
3123
|
type: PropType<string[] | undefined>;
|
|
3187
|
-
default:
|
|
3124
|
+
default: undefined;
|
|
3188
3125
|
};
|
|
3189
3126
|
/** 格数(默认 4) */
|
|
3190
3127
|
length: {
|
|
@@ -3194,88 +3131,88 @@ declare const __VLS_base$13: import("vue").DefineComponent<import("vue").Extract
|
|
|
3194
3131
|
/** 单格字符类型 */
|
|
3195
3132
|
type: {
|
|
3196
3133
|
type: PropType<"numeric" | "alphanumeric" | undefined>;
|
|
3197
|
-
default:
|
|
3134
|
+
default: undefined;
|
|
3198
3135
|
};
|
|
3199
3136
|
otp: {
|
|
3200
3137
|
type: PropType<boolean | undefined>;
|
|
3201
|
-
default:
|
|
3138
|
+
default: undefined;
|
|
3202
3139
|
};
|
|
3203
3140
|
mask: {
|
|
3204
3141
|
type: PropType<boolean | undefined>;
|
|
3205
|
-
default:
|
|
3142
|
+
default: undefined;
|
|
3206
3143
|
};
|
|
3207
3144
|
autoSubmit: {
|
|
3208
3145
|
type: PropType<boolean | undefined>;
|
|
3209
|
-
default:
|
|
3146
|
+
default: undefined;
|
|
3210
3147
|
};
|
|
3211
3148
|
blurOnComplete: {
|
|
3212
3149
|
type: PropType<boolean | undefined>;
|
|
3213
|
-
default:
|
|
3150
|
+
default: undefined;
|
|
3214
3151
|
};
|
|
3215
3152
|
placeholder: {
|
|
3216
3153
|
type: StringConstructor;
|
|
3217
|
-
default:
|
|
3154
|
+
default: undefined;
|
|
3218
3155
|
};
|
|
3219
3156
|
disabled: {
|
|
3220
3157
|
type: PropType<boolean | undefined>;
|
|
3221
|
-
default:
|
|
3158
|
+
default: undefined;
|
|
3222
3159
|
};
|
|
3223
3160
|
invalid: {
|
|
3224
3161
|
type: PropType<boolean | undefined>;
|
|
3225
|
-
default:
|
|
3162
|
+
default: undefined;
|
|
3226
3163
|
};
|
|
3227
3164
|
class: {
|
|
3228
3165
|
type: StringConstructor;
|
|
3229
|
-
default:
|
|
3166
|
+
default: undefined;
|
|
3230
3167
|
};
|
|
3231
3168
|
}>> & Readonly<{
|
|
3232
|
-
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
3233
|
-
onComplete?: (value: string[]) => any;
|
|
3169
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
3170
|
+
onComplete?: ((value: string[]) => any) | undefined;
|
|
3234
3171
|
}>, {
|
|
3235
3172
|
class: string;
|
|
3236
3173
|
length: number;
|
|
3237
|
-
type: "numeric" | "alphanumeric";
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
modelValue: string[];
|
|
3174
|
+
type: "numeric" | "alphanumeric" | undefined;
|
|
3175
|
+
modelValue: string[] | undefined;
|
|
3176
|
+
disabled: boolean | undefined;
|
|
3241
3177
|
placeholder: string;
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3178
|
+
invalid: boolean | undefined;
|
|
3179
|
+
otp: boolean | undefined;
|
|
3180
|
+
mask: boolean | undefined;
|
|
3181
|
+
autoSubmit: boolean | undefined;
|
|
3182
|
+
blurOnComplete: boolean | undefined;
|
|
3246
3183
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3247
|
-
declare const __VLS_export$
|
|
3248
|
-
declare const _default$32: typeof __VLS_export$
|
|
3249
|
-
type __VLS_WithSlots$
|
|
3184
|
+
declare const __VLS_export$18: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
3185
|
+
declare const _default$32: typeof __VLS_export$18;
|
|
3186
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
3250
3187
|
new (): {
|
|
3251
3188
|
$slots: S;
|
|
3252
3189
|
};
|
|
3253
3190
|
};
|
|
3254
|
-
//#endregion
|
|
3255
|
-
//#region src/components/popover/Popover.vue.d.ts
|
|
3256
3191
|
/** 面板相对触发器的对齐方向 */
|
|
3257
3192
|
type Align = "start" | "center" | "end";
|
|
3258
3193
|
/** 面板主轴方向(与 align 组合成 12 方位 placement) */
|
|
3259
3194
|
type Side = "top" | "bottom" | "left" | "right";
|
|
3260
3195
|
/** 触发方式:click 内建切换;hover/focus 延迟桥接;manual 纯受控 */
|
|
3261
3196
|
type TriggerMode = "click" | "hover" | "focus" | "manual";
|
|
3262
|
-
declare
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
} & {
|
|
3266
|
-
|
|
3267
|
-
} & {
|
|
3268
|
-
|
|
3269
|
-
} & {
|
|
3270
|
-
|
|
3271
|
-
} & {
|
|
3272
|
-
|
|
3197
|
+
declare const __VLS_template$12: () => {
|
|
3198
|
+
__VLS_Slots: {
|
|
3199
|
+
default?: (props: {}) => any;
|
|
3200
|
+
} & {
|
|
3201
|
+
default?: (props: {}) => any;
|
|
3202
|
+
} & {
|
|
3203
|
+
header?: (props: {}) => any;
|
|
3204
|
+
} & {
|
|
3205
|
+
content?: (props: {}) => any;
|
|
3206
|
+
} & {
|
|
3207
|
+
footer?: (props: {}) => any;
|
|
3208
|
+
};
|
|
3273
3209
|
};
|
|
3274
|
-
|
|
3210
|
+
type __VLS_Slots$13 = ReturnType<typeof __VLS_template$12>['__VLS_Slots'];
|
|
3211
|
+
declare const __VLS_base$13: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3275
3212
|
/** 受控开关(配合 v-model:open);不传时为非受控 */
|
|
3276
3213
|
open: {
|
|
3277
3214
|
type: PropType<boolean | undefined>;
|
|
3278
|
-
default:
|
|
3215
|
+
default: undefined;
|
|
3279
3216
|
};
|
|
3280
3217
|
/** 非受控时的初始开关 */
|
|
3281
3218
|
defaultOpen: {
|
|
@@ -3330,7 +3267,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3330
3267
|
/** 追加/覆盖箭头样式类 */
|
|
3331
3268
|
arrowClass: {
|
|
3332
3269
|
type: StringConstructor;
|
|
3333
|
-
default:
|
|
3270
|
+
default: undefined;
|
|
3334
3271
|
};
|
|
3335
3272
|
/** 禁用触发(不响应任何触发事件;已打开状态不受影响) */
|
|
3336
3273
|
disabled: {
|
|
@@ -3346,7 +3283,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3346
3283
|
缺省时若应用挂载容器处于 shadow DOM 或 wujie graft 沙箱,自动降级为该容器,否则 body */
|
|
3347
3284
|
to: {
|
|
3348
3285
|
type: PropType<string | HTMLElement>;
|
|
3349
|
-
default:
|
|
3286
|
+
default: undefined;
|
|
3350
3287
|
};
|
|
3351
3288
|
/** 面板宽度与触发元素一致 */
|
|
3352
3289
|
matchTriggerWidth: {
|
|
@@ -3356,17 +3293,17 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3356
3293
|
/** 覆盖面板/定位层级(默认走 --z-overlay) */
|
|
3357
3294
|
zIndex: {
|
|
3358
3295
|
type: NumberConstructor;
|
|
3359
|
-
default:
|
|
3296
|
+
default: undefined;
|
|
3360
3297
|
};
|
|
3361
3298
|
/** 追加/覆盖面板样式类(默认 w-72 可由此覆盖,如 "w-56 p-0") */
|
|
3362
3299
|
contentClass: {
|
|
3363
3300
|
type: StringConstructor;
|
|
3364
|
-
default:
|
|
3301
|
+
default: undefined;
|
|
3365
3302
|
};
|
|
3366
3303
|
/** 透传到面板根元素上的属性(id/style/data-* 等,class 请用 contentClass) */
|
|
3367
3304
|
contentProps: {
|
|
3368
3305
|
type: PropType<Record<string, unknown>>;
|
|
3369
|
-
default:
|
|
3306
|
+
default: undefined;
|
|
3370
3307
|
};
|
|
3371
3308
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3372
3309
|
"update:open": (open: boolean) => any;
|
|
@@ -3374,7 +3311,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3374
3311
|
/** 受控开关(配合 v-model:open);不传时为非受控 */
|
|
3375
3312
|
open: {
|
|
3376
3313
|
type: PropType<boolean | undefined>;
|
|
3377
|
-
default:
|
|
3314
|
+
default: undefined;
|
|
3378
3315
|
};
|
|
3379
3316
|
/** 非受控时的初始开关 */
|
|
3380
3317
|
defaultOpen: {
|
|
@@ -3429,7 +3366,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3429
3366
|
/** 追加/覆盖箭头样式类 */
|
|
3430
3367
|
arrowClass: {
|
|
3431
3368
|
type: StringConstructor;
|
|
3432
|
-
default:
|
|
3369
|
+
default: undefined;
|
|
3433
3370
|
};
|
|
3434
3371
|
/** 禁用触发(不响应任何触发事件;已打开状态不受影响) */
|
|
3435
3372
|
disabled: {
|
|
@@ -3445,7 +3382,7 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3445
3382
|
缺省时若应用挂载容器处于 shadow DOM 或 wujie graft 沙箱,自动降级为该容器,否则 body */
|
|
3446
3383
|
to: {
|
|
3447
3384
|
type: PropType<string | HTMLElement>;
|
|
3448
|
-
default:
|
|
3385
|
+
default: undefined;
|
|
3449
3386
|
};
|
|
3450
3387
|
/** 面板宽度与触发元素一致 */
|
|
3451
3388
|
matchTriggerWidth: {
|
|
@@ -3455,26 +3392,27 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3455
3392
|
/** 覆盖面板/定位层级(默认走 --z-overlay) */
|
|
3456
3393
|
zIndex: {
|
|
3457
3394
|
type: NumberConstructor;
|
|
3458
|
-
default:
|
|
3395
|
+
default: undefined;
|
|
3459
3396
|
};
|
|
3460
3397
|
/** 追加/覆盖面板样式类(默认 w-72 可由此覆盖,如 "w-56 p-0") */
|
|
3461
3398
|
contentClass: {
|
|
3462
3399
|
type: StringConstructor;
|
|
3463
|
-
default:
|
|
3400
|
+
default: undefined;
|
|
3464
3401
|
};
|
|
3465
3402
|
/** 透传到面板根元素上的属性(id/style/data-* 等,class 请用 contentClass) */
|
|
3466
3403
|
contentProps: {
|
|
3467
3404
|
type: PropType<Record<string, unknown>>;
|
|
3468
|
-
default:
|
|
3405
|
+
default: undefined;
|
|
3469
3406
|
};
|
|
3470
3407
|
}>> & Readonly<{
|
|
3471
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
3408
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
3472
3409
|
}>, {
|
|
3473
3410
|
disabled: boolean;
|
|
3474
|
-
open: boolean;
|
|
3411
|
+
open: boolean | undefined;
|
|
3475
3412
|
defaultOpen: boolean;
|
|
3476
3413
|
lazyMount: boolean;
|
|
3477
3414
|
unmountOnExit: boolean;
|
|
3415
|
+
contentClass: string;
|
|
3478
3416
|
trigger: TriggerMode;
|
|
3479
3417
|
openDelay: number;
|
|
3480
3418
|
closeDelay: number;
|
|
@@ -3487,35 +3425,28 @@ declare const __VLS_base$12: import("vue").DefineComponent<import("vue").Extract
|
|
|
3487
3425
|
to: string | HTMLElement;
|
|
3488
3426
|
matchTriggerWidth: boolean;
|
|
3489
3427
|
zIndex: number;
|
|
3490
|
-
contentClass: string;
|
|
3491
3428
|
contentProps: Record<string, unknown>;
|
|
3492
3429
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3493
|
-
declare const __VLS_export$
|
|
3494
|
-
declare const _default$34: typeof __VLS_export$
|
|
3495
|
-
type __VLS_WithSlots$
|
|
3430
|
+
declare const __VLS_export$17: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
3431
|
+
declare const _default$34: typeof __VLS_export$17;
|
|
3432
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
3496
3433
|
new (): {
|
|
3497
3434
|
$slots: S;
|
|
3498
3435
|
};
|
|
3499
3436
|
};
|
|
3500
|
-
//#endregion
|
|
3501
|
-
//#region src/components/separator/Separator.vue.d.ts
|
|
3502
3437
|
interface Props$3 {
|
|
3503
3438
|
orientation?: "horizontal" | "vertical";
|
|
3504
3439
|
class?: string;
|
|
3505
3440
|
}
|
|
3506
|
-
declare const __VLS_export$
|
|
3507
|
-
orientation: "
|
|
3508
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
3509
|
-
declare const _default$38: typeof __VLS_export$
|
|
3510
|
-
//#endregion
|
|
3511
|
-
//#region src/components/skeleton/Skeleton.vue.d.ts
|
|
3441
|
+
declare const __VLS_export$16: import("vue").DefineComponent<Props$3, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$3> & Readonly<{}>, {
|
|
3442
|
+
orientation: "vertical" | "horizontal";
|
|
3443
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3444
|
+
declare const _default$38: typeof __VLS_export$16;
|
|
3512
3445
|
type __VLS_Props$4 = {
|
|
3513
3446
|
class?: string;
|
|
3514
3447
|
};
|
|
3515
|
-
declare const __VLS_export$
|
|
3516
|
-
declare const _default$39: typeof __VLS_export$
|
|
3517
|
-
//#endregion
|
|
3518
|
-
//#region src/components/slot/Slot.d.ts
|
|
3448
|
+
declare const __VLS_export$15: import("vue").DefineComponent<__VLS_Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3449
|
+
declare const _default$39: typeof __VLS_export$15;
|
|
3519
3450
|
/**
|
|
3520
3451
|
* asChild 组合原语:把落在自身上的 attrs(class、事件、透传属性)合并到默认插槽的
|
|
3521
3452
|
* 第一个元素子节点上,而不是渲染额外 DOM。Button 的 asChild 与后续交互组件批次的
|
|
@@ -3532,8 +3463,6 @@ declare const _default$39: typeof __VLS_export$14;
|
|
|
3532
3463
|
export declare const Slot: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3533
3464
|
[key: string]: any;
|
|
3534
3465
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3535
|
-
//#endregion
|
|
3536
|
-
//#region src/components/table-render/column-renders.d.ts
|
|
3537
3466
|
/** 单元格渲染器:与 TableColumnOptions.render 同签名(column 用于读取字段值) */
|
|
3538
3467
|
type ColumnRender<T extends DataRecord> = (record: T, index: number, column: TableColumnOptions<T>) => VNodeChild;
|
|
3539
3468
|
type DictEntryVariant = BadgeVariants["variant"];
|
|
@@ -3605,8 +3534,23 @@ interface ColumnRenders<T extends DataRecord> {
|
|
|
3605
3534
|
* @returns 各内置渲染器集合(render/dict/date/currency/serial/button/image)
|
|
3606
3535
|
*/
|
|
3607
3536
|
export declare function columnRenders<T extends DataRecord>(): ColumnRenders<T>;
|
|
3608
|
-
|
|
3609
|
-
|
|
3537
|
+
/** 布局容器与 TableRender 的跨包填充协议 key:provide(true) 声明容器内 TableRender 应填满、内部滚动、表头固定 */
|
|
3538
|
+
export declare const PAGE_TABLE_FILL_KEY = "tu-design:page-table-fill";
|
|
3539
|
+
/**
|
|
3540
|
+
* TanStack v9 特性装配(模块级静态,跨实例共享稳定引用):行选择 + 排序 + 分页 + 树形展开。
|
|
3541
|
+
* row model 槽位须排在其前置特性之后(v9 tableFeatures 的校验规则)。
|
|
3542
|
+
*/
|
|
3543
|
+
declare const TABLE_FEATURES: {
|
|
3544
|
+
rowSelectionFeature: import("@tanstack/vue-table").TableFeature;
|
|
3545
|
+
rowSortingFeature: import("@tanstack/vue-table").TableFeature;
|
|
3546
|
+
rowPaginationFeature: import("@tanstack/vue-table").TableFeature;
|
|
3547
|
+
rowExpandingFeature: import("@tanstack/vue-table").TableFeature;
|
|
3548
|
+
sortedRowModel: (table: import("@tanstack/vue-table").Table<any, any>) => () => import("@tanstack/vue-table").RowModel<any, any>;
|
|
3549
|
+
paginatedRowModel: (table: import("@tanstack/vue-table").Table<any, any>) => () => import("@tanstack/vue-table").RowModel<any, any>;
|
|
3550
|
+
expandedRowModel: (table: import("@tanstack/vue-table").Table<any, any>) => () => import("@tanstack/vue-table").RowModel<any, any>;
|
|
3551
|
+
};
|
|
3552
|
+
/** 上表装配推导出的特性集类型:Row/Table/ColumnDef 的第一泛型参数 */
|
|
3553
|
+
type TableRenderFeatures = typeof TABLE_FEATURES;
|
|
3610
3554
|
/** 任意数据行(表格是弱类型数据容器,行结构由调用方的 T 决定) */
|
|
3611
3555
|
interface DataRecord {
|
|
3612
3556
|
[key: string]: any;
|
|
@@ -3797,7 +3741,7 @@ interface TableRenderDefinition<T extends DataRecord = DataRecord> {
|
|
|
3797
3741
|
*/
|
|
3798
3742
|
columnTree?: TableColumnNode<T>[];
|
|
3799
3743
|
/** TanStack 表格实例(逃逸舱口) */
|
|
3800
|
-
table: Table<T>;
|
|
3744
|
+
table: Table<TableRenderFeatures, T>;
|
|
3801
3745
|
page: Readonly<PageableOptions>;
|
|
3802
3746
|
sort: Readonly<{
|
|
3803
3747
|
value: SortableOptions | undefined;
|
|
@@ -3856,9 +3800,7 @@ interface TableRenderDefinition<T extends DataRecord = DataRecord> {
|
|
|
3856
3800
|
/** 内部装配口:拆分式由 TableRender 在 setup 时回填 rowKey */
|
|
3857
3801
|
setRowKey: (rowKey: string | undefined) => void;
|
|
3858
3802
|
}
|
|
3859
|
-
|
|
3860
|
-
//#region src/components/table-render/TablePagination.vue.d.ts
|
|
3861
|
-
declare const __VLS_export$13: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3803
|
+
declare const __VLS_export$14: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3862
3804
|
/** 组合式:传 defineTable 返回值,自动接线 page/动作并单页自隐藏;
|
|
3863
3805
|
* 与手动分页 props 同传时以 definition 为准(DEV 警告) */
|
|
3864
3806
|
definition: {
|
|
@@ -3867,29 +3809,29 @@ declare const __VLS_export$13: import("vue").DefineComponent<import("vue").Extra
|
|
|
3867
3809
|
/** 1-based 当前页码(手动模式) */
|
|
3868
3810
|
pageIndex: {
|
|
3869
3811
|
type: NumberConstructor;
|
|
3870
|
-
default:
|
|
3812
|
+
default: undefined;
|
|
3871
3813
|
};
|
|
3872
3814
|
pageSize: {
|
|
3873
3815
|
type: NumberConstructor;
|
|
3874
|
-
default:
|
|
3816
|
+
default: undefined;
|
|
3875
3817
|
};
|
|
3876
3818
|
pageSizeOpts: {
|
|
3877
3819
|
type: PropType<readonly number[]>;
|
|
3878
|
-
default:
|
|
3820
|
+
default: undefined;
|
|
3879
3821
|
};
|
|
3880
3822
|
total: {
|
|
3881
3823
|
type: NumberConstructor;
|
|
3882
|
-
default:
|
|
3824
|
+
default: undefined;
|
|
3883
3825
|
};
|
|
3884
3826
|
/** 「共 N 条」,缺省 true */
|
|
3885
3827
|
showTotal: {
|
|
3886
3828
|
type: PropType<boolean | undefined>;
|
|
3887
|
-
default:
|
|
3829
|
+
default: undefined;
|
|
3888
3830
|
};
|
|
3889
3831
|
/** 条/页 select,缺省 false(组合式简形分页条可保持关闭) */
|
|
3890
3832
|
showSizeSelect: {
|
|
3891
3833
|
type: PropType<boolean | undefined>;
|
|
3892
|
-
default:
|
|
3834
|
+
default: undefined;
|
|
3893
3835
|
};
|
|
3894
3836
|
/** 上一页/下一页形态:text 文字(缺省)/ icon 图标 */
|
|
3895
3837
|
navMode: {
|
|
@@ -3908,29 +3850,29 @@ declare const __VLS_export$13: import("vue").DefineComponent<import("vue").Extra
|
|
|
3908
3850
|
/** 1-based 当前页码(手动模式) */
|
|
3909
3851
|
pageIndex: {
|
|
3910
3852
|
type: NumberConstructor;
|
|
3911
|
-
default:
|
|
3853
|
+
default: undefined;
|
|
3912
3854
|
};
|
|
3913
3855
|
pageSize: {
|
|
3914
3856
|
type: NumberConstructor;
|
|
3915
|
-
default:
|
|
3857
|
+
default: undefined;
|
|
3916
3858
|
};
|
|
3917
3859
|
pageSizeOpts: {
|
|
3918
3860
|
type: PropType<readonly number[]>;
|
|
3919
|
-
default:
|
|
3861
|
+
default: undefined;
|
|
3920
3862
|
};
|
|
3921
3863
|
total: {
|
|
3922
3864
|
type: NumberConstructor;
|
|
3923
|
-
default:
|
|
3865
|
+
default: undefined;
|
|
3924
3866
|
};
|
|
3925
3867
|
/** 「共 N 条」,缺省 true */
|
|
3926
3868
|
showTotal: {
|
|
3927
3869
|
type: PropType<boolean | undefined>;
|
|
3928
|
-
default:
|
|
3870
|
+
default: undefined;
|
|
3929
3871
|
};
|
|
3930
3872
|
/** 条/页 select,缺省 false(组合式简形分页条可保持关闭) */
|
|
3931
3873
|
showSizeSelect: {
|
|
3932
3874
|
type: PropType<boolean | undefined>;
|
|
3933
|
-
default:
|
|
3875
|
+
default: undefined;
|
|
3934
3876
|
};
|
|
3935
3877
|
/** 上一页/下一页形态:text 文字(缺省)/ icon 图标 */
|
|
3936
3878
|
navMode: {
|
|
@@ -3938,21 +3880,19 @@ declare const __VLS_export$13: import("vue").DefineComponent<import("vue").Extra
|
|
|
3938
3880
|
default: string;
|
|
3939
3881
|
};
|
|
3940
3882
|
}>> & Readonly<{
|
|
3941
|
-
"onUpdate:pageIndex"?: (pageIndex: number) => any;
|
|
3942
|
-
"onUpdate:pageSize"?: (pageSize: number) => any;
|
|
3883
|
+
"onUpdate:pageIndex"?: ((pageIndex: number) => any) | undefined;
|
|
3884
|
+
"onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
|
|
3943
3885
|
}>, {
|
|
3944
3886
|
pageIndex: number;
|
|
3945
3887
|
pageSize: number;
|
|
3946
3888
|
pageSizeOpts: readonly number[];
|
|
3947
3889
|
total: number;
|
|
3948
|
-
showTotal: boolean;
|
|
3949
|
-
showSizeSelect: boolean;
|
|
3890
|
+
showTotal: boolean | undefined;
|
|
3891
|
+
showSizeSelect: boolean | undefined;
|
|
3950
3892
|
navMode: "icon" | "text";
|
|
3951
3893
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3952
|
-
declare const _default$43: typeof __VLS_export$
|
|
3953
|
-
|
|
3954
|
-
//#region src/components/table-render/TableRender.vue.d.ts
|
|
3955
|
-
type __VLS_Slots$11 = {
|
|
3894
|
+
declare const _default$43: typeof __VLS_export$14;
|
|
3895
|
+
type __VLS_Slots$12 = {
|
|
3956
3896
|
empty?: () => VNodeChild;
|
|
3957
3897
|
/** 错误态占位(服务端模式 onLoad 失败时渲染,优先于数据区) */
|
|
3958
3898
|
error?: (props: {
|
|
@@ -3963,7 +3903,7 @@ type __VLS_Slots$11 = {
|
|
|
3963
3903
|
declare function onSort(key: string): void;
|
|
3964
3904
|
declare function onPageIndex(pageIndex: number): void;
|
|
3965
3905
|
declare function onPageSize(pageSize: number): void;
|
|
3966
|
-
declare const __VLS_base$
|
|
3906
|
+
declare const __VLS_base$12: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3967
3907
|
/** 聚合式(推荐):defineTable 返回的定义对象 */
|
|
3968
3908
|
definition: {
|
|
3969
3909
|
type: PropType<TableRenderDefinition<any>>;
|
|
@@ -3973,9 +3913,9 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3973
3913
|
type: StringConstructor;
|
|
3974
3914
|
required: true;
|
|
3975
3915
|
};
|
|
3976
|
-
/** 拆分式:与 definition 二选一,definition
|
|
3916
|
+
/** 拆分式:与 definition 二选一,definition 优先(支持分组列节点;列泛型不约束记录形态) */
|
|
3977
3917
|
columns: {
|
|
3978
|
-
type: PropType<TableColumnNode[]>;
|
|
3918
|
+
type: PropType<TableColumnNode<any>[]>;
|
|
3979
3919
|
};
|
|
3980
3920
|
onLoad: {
|
|
3981
3921
|
type: PropType<(params: TableLoadParams) => void | Promise<unknown>>;
|
|
@@ -3985,7 +3925,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3985
3925
|
};
|
|
3986
3926
|
autoLoad: {
|
|
3987
3927
|
type: PropType<boolean | undefined>;
|
|
3988
|
-
default:
|
|
3928
|
+
default: undefined;
|
|
3989
3929
|
};
|
|
3990
3930
|
/** 每页条数 / 受控每页条数:传入即受控(pageIndex 未受控时页码归位内部处理并通知) */
|
|
3991
3931
|
pageSize: {
|
|
@@ -3996,7 +3936,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3996
3936
|
};
|
|
3997
3937
|
loading: {
|
|
3998
3938
|
type: PropType<boolean | undefined>;
|
|
3999
|
-
default:
|
|
3939
|
+
default: undefined;
|
|
4000
3940
|
};
|
|
4001
3941
|
emptyText: {
|
|
4002
3942
|
type: StringConstructor;
|
|
@@ -4004,7 +3944,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4004
3944
|
/** 行选择(仅拆分式生效;聚合式请在 defineTable 配置):"radio" | "checkbox" | 对象 */
|
|
4005
3945
|
rowSelection: {
|
|
4006
3946
|
type: PropType<"radio" | "checkbox" | TableSelectionOptions>;
|
|
4007
|
-
default:
|
|
3947
|
+
default: undefined;
|
|
4008
3948
|
};
|
|
4009
3949
|
/** 搜索表单(defineForm 返回值):拆分式直接传;聚合式请在 defineTable 配置(definition 优先,同传 DEV 警告) */
|
|
4010
3950
|
search: {
|
|
@@ -4013,7 +3953,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4013
3953
|
/** 虚拟滚动:开启后表体行虚拟化渲染;聚合式请在 defineTable 配置(definition 优先);须同时给 height */
|
|
4014
3954
|
virtual: {
|
|
4015
3955
|
type: PropType<boolean | undefined>;
|
|
4016
|
-
default:
|
|
3956
|
+
default: undefined;
|
|
4017
3957
|
};
|
|
4018
3958
|
/** 虚拟滚动容器高度(数字 px 或 CSS 高度);仅 virtual: true 时生效 */
|
|
4019
3959
|
height: {
|
|
@@ -4026,7 +3966,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4026
3966
|
/** 行拖拽排序(仅拆分式生效;聚合式请在 defineTable 配置):true 或对象配置;与 tree/virtual 互斥 */
|
|
4027
3967
|
draggable: {
|
|
4028
3968
|
type: PropType<boolean | TableDraggableOptions>;
|
|
4029
|
-
default:
|
|
3969
|
+
default: undefined;
|
|
4030
3970
|
};
|
|
4031
3971
|
/** 受控页码(1-based):传入即受控,缺省非受控;内部翻页经 update:page-index 通知 */
|
|
4032
3972
|
pageIndex: {
|
|
@@ -4051,17 +3991,17 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4051
3991
|
/** 列设置触发器/面板开关(默认 true);false 时不渲染 UI,受控 API 不受影响 */
|
|
4052
3992
|
columnSettings: {
|
|
4053
3993
|
type: PropType<boolean | undefined>;
|
|
4054
|
-
default:
|
|
3994
|
+
default: undefined;
|
|
4055
3995
|
};
|
|
4056
3996
|
/** 搜索区渲染开关:false 关闭内置搜索区(组合式外置 FormRender);数据链路不变 */
|
|
4057
3997
|
showSearch: {
|
|
4058
3998
|
type: PropType<boolean | undefined>;
|
|
4059
|
-
default:
|
|
3999
|
+
default: undefined;
|
|
4060
4000
|
};
|
|
4061
4001
|
/** 分页条渲染开关:false 关闭内置分页条(组合式外置 TablePagination);缺省模式单页自隐藏不变 */
|
|
4062
4002
|
showPagination: {
|
|
4063
4003
|
type: PropType<boolean | undefined>;
|
|
4064
|
-
default:
|
|
4004
|
+
default: undefined;
|
|
4065
4005
|
};
|
|
4066
4006
|
/** 填充模式:根容器 h-full 纵向 flex,滚动区 flex-1 内滚;表头 sticky 钉住。
|
|
4067
4007
|
* 父链需有确定高度(如页面布局的 .table-body);无确定高度时安全退化为自然高度。
|
|
@@ -4069,18 +4009,23 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4069
4009
|
* 纯布局属性,不进 defineTable/definition(virtual/height 例外),setup 期定版不支持运行时切换。 */
|
|
4070
4010
|
fillHeight: {
|
|
4071
4011
|
type: PropType<boolean | undefined>;
|
|
4072
|
-
default:
|
|
4012
|
+
default: undefined;
|
|
4073
4013
|
};
|
|
4074
4014
|
}>, {
|
|
4075
|
-
table: import("@tanstack/vue-table").Table<
|
|
4015
|
+
table: import("@tanstack/vue-table").Table<{
|
|
4016
|
+
rowSelectionFeature: import("@tanstack/vue-table").TableFeature;
|
|
4017
|
+
rowSortingFeature: import("@tanstack/vue-table").TableFeature;
|
|
4018
|
+
rowPaginationFeature: import("@tanstack/vue-table").TableFeature;
|
|
4019
|
+
rowExpandingFeature: import("@tanstack/vue-table").TableFeature;
|
|
4020
|
+
sortedRowModel: (table: import("@tanstack/vue-table").Table<any, any>) => () => import("@tanstack/vue-table").RowModel<any, any>;
|
|
4021
|
+
paginatedRowModel: (table: import("@tanstack/vue-table").Table<any, any>) => () => import("@tanstack/vue-table").RowModel<any, any>;
|
|
4022
|
+
expandedRowModel: (table: import("@tanstack/vue-table").Table<any, any>) => () => import("@tanstack/vue-table").RowModel<any, any>;
|
|
4023
|
+
}, any>;
|
|
4076
4024
|
page: Readonly<PageableOptions>;
|
|
4077
|
-
sort: Readonly<{
|
|
4078
|
-
value: SortableOptions | undefined;
|
|
4079
|
-
}>;
|
|
4080
4025
|
loading: Readonly<{
|
|
4081
4026
|
value: boolean;
|
|
4082
4027
|
}>;
|
|
4083
|
-
error: Readonly<import("vue").Ref<Error, Error>>;
|
|
4028
|
+
error: Readonly<import("vue").Ref<Error | undefined, Error | undefined>>;
|
|
4084
4029
|
visibleKeys: Readonly<import("vue").Ref<readonly string[], readonly string[]>>;
|
|
4085
4030
|
setVisibleKeys: (keys: string[]) => void;
|
|
4086
4031
|
reload: (resetPage?: boolean) => void;
|
|
@@ -4088,11 +4033,6 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4088
4033
|
setPageIndex: typeof onPageIndex;
|
|
4089
4034
|
setPageSize: typeof onPageSize;
|
|
4090
4035
|
selection: Readonly<{
|
|
4091
|
-
value: DataRecord[];
|
|
4092
|
-
enabled: boolean;
|
|
4093
|
-
type: "radio" | "checkbox";
|
|
4094
|
-
width: number;
|
|
4095
|
-
}> | Readonly<{
|
|
4096
4036
|
value: any[];
|
|
4097
4037
|
enabled: boolean;
|
|
4098
4038
|
type: "radio" | "checkbox";
|
|
@@ -4106,7 +4046,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4106
4046
|
reset: (values: DataRecord) => any;
|
|
4107
4047
|
"update:page-index": (pageIndex: number) => any;
|
|
4108
4048
|
"update:page-size": (pageSize: number) => any;
|
|
4109
|
-
"sort-change": (sort: SortableOptions) => any;
|
|
4049
|
+
"sort-change": (sort: SortableOptions | undefined) => any;
|
|
4110
4050
|
"row-click": (record: DataRecord, index: number, event: MouseEvent) => any;
|
|
4111
4051
|
"row-dblclick": (record: DataRecord, index: number, event: MouseEvent) => any;
|
|
4112
4052
|
"row-contextmenu": (record: DataRecord, index: number, event: MouseEvent) => any;
|
|
@@ -4127,9 +4067,9 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4127
4067
|
type: StringConstructor;
|
|
4128
4068
|
required: true;
|
|
4129
4069
|
};
|
|
4130
|
-
/** 拆分式:与 definition 二选一,definition
|
|
4070
|
+
/** 拆分式:与 definition 二选一,definition 优先(支持分组列节点;列泛型不约束记录形态) */
|
|
4131
4071
|
columns: {
|
|
4132
|
-
type: PropType<TableColumnNode[]>;
|
|
4072
|
+
type: PropType<TableColumnNode<any>[]>;
|
|
4133
4073
|
};
|
|
4134
4074
|
onLoad: {
|
|
4135
4075
|
type: PropType<(params: TableLoadParams) => void | Promise<unknown>>;
|
|
@@ -4139,7 +4079,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4139
4079
|
};
|
|
4140
4080
|
autoLoad: {
|
|
4141
4081
|
type: PropType<boolean | undefined>;
|
|
4142
|
-
default:
|
|
4082
|
+
default: undefined;
|
|
4143
4083
|
};
|
|
4144
4084
|
/** 每页条数 / 受控每页条数:传入即受控(pageIndex 未受控时页码归位内部处理并通知) */
|
|
4145
4085
|
pageSize: {
|
|
@@ -4150,7 +4090,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4150
4090
|
};
|
|
4151
4091
|
loading: {
|
|
4152
4092
|
type: PropType<boolean | undefined>;
|
|
4153
|
-
default:
|
|
4093
|
+
default: undefined;
|
|
4154
4094
|
};
|
|
4155
4095
|
emptyText: {
|
|
4156
4096
|
type: StringConstructor;
|
|
@@ -4158,7 +4098,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4158
4098
|
/** 行选择(仅拆分式生效;聚合式请在 defineTable 配置):"radio" | "checkbox" | 对象 */
|
|
4159
4099
|
rowSelection: {
|
|
4160
4100
|
type: PropType<"radio" | "checkbox" | TableSelectionOptions>;
|
|
4161
|
-
default:
|
|
4101
|
+
default: undefined;
|
|
4162
4102
|
};
|
|
4163
4103
|
/** 搜索表单(defineForm 返回值):拆分式直接传;聚合式请在 defineTable 配置(definition 优先,同传 DEV 警告) */
|
|
4164
4104
|
search: {
|
|
@@ -4167,7 +4107,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4167
4107
|
/** 虚拟滚动:开启后表体行虚拟化渲染;聚合式请在 defineTable 配置(definition 优先);须同时给 height */
|
|
4168
4108
|
virtual: {
|
|
4169
4109
|
type: PropType<boolean | undefined>;
|
|
4170
|
-
default:
|
|
4110
|
+
default: undefined;
|
|
4171
4111
|
};
|
|
4172
4112
|
/** 虚拟滚动容器高度(数字 px 或 CSS 高度);仅 virtual: true 时生效 */
|
|
4173
4113
|
height: {
|
|
@@ -4180,7 +4120,7 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4180
4120
|
/** 行拖拽排序(仅拆分式生效;聚合式请在 defineTable 配置):true 或对象配置;与 tree/virtual 互斥 */
|
|
4181
4121
|
draggable: {
|
|
4182
4122
|
type: PropType<boolean | TableDraggableOptions>;
|
|
4183
|
-
default:
|
|
4123
|
+
default: undefined;
|
|
4184
4124
|
};
|
|
4185
4125
|
/** 受控页码(1-based):传入即受控,缺省非受控;内部翻页经 update:page-index 通知 */
|
|
4186
4126
|
pageIndex: {
|
|
@@ -4205,17 +4145,17 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4205
4145
|
/** 列设置触发器/面板开关(默认 true);false 时不渲染 UI,受控 API 不受影响 */
|
|
4206
4146
|
columnSettings: {
|
|
4207
4147
|
type: PropType<boolean | undefined>;
|
|
4208
|
-
default:
|
|
4148
|
+
default: undefined;
|
|
4209
4149
|
};
|
|
4210
4150
|
/** 搜索区渲染开关:false 关闭内置搜索区(组合式外置 FormRender);数据链路不变 */
|
|
4211
4151
|
showSearch: {
|
|
4212
4152
|
type: PropType<boolean | undefined>;
|
|
4213
|
-
default:
|
|
4153
|
+
default: undefined;
|
|
4214
4154
|
};
|
|
4215
4155
|
/** 分页条渲染开关:false 关闭内置分页条(组合式外置 TablePagination);缺省模式单页自隐藏不变 */
|
|
4216
4156
|
showPagination: {
|
|
4217
4157
|
type: PropType<boolean | undefined>;
|
|
4218
|
-
default:
|
|
4158
|
+
default: undefined;
|
|
4219
4159
|
};
|
|
4220
4160
|
/** 填充模式:根容器 h-full 纵向 flex,滚动区 flex-1 内滚;表头 sticky 钉住。
|
|
4221
4161
|
* 父链需有确定高度(如页面布局的 .table-body);无确定高度时安全退化为自然高度。
|
|
@@ -4223,48 +4163,42 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
4223
4163
|
* 纯布局属性,不进 defineTable/definition(virtual/height 例外),setup 期定版不支持运行时切换。 */
|
|
4224
4164
|
fillHeight: {
|
|
4225
4165
|
type: PropType<boolean | undefined>;
|
|
4226
|
-
default:
|
|
4166
|
+
default: undefined;
|
|
4227
4167
|
};
|
|
4228
4168
|
}>> & Readonly<{
|
|
4229
|
-
onSearch?: (values: DataRecord) => any;
|
|
4230
|
-
onReset?: (values: DataRecord) => any;
|
|
4231
|
-
"onUpdate:page-index"?: (pageIndex: number) => any;
|
|
4232
|
-
"onUpdate:page-size"?: (pageSize: number) => any;
|
|
4233
|
-
"onSort-change"?: (sort: SortableOptions) => any;
|
|
4234
|
-
"onRow-click"?: (record: DataRecord, index: number, event: MouseEvent) => any;
|
|
4235
|
-
"onRow-dblclick"?: (record: DataRecord, index: number, event: MouseEvent) => any;
|
|
4236
|
-
"onRow-contextmenu"?: (record: DataRecord, index: number, event: MouseEvent) => any;
|
|
4237
|
-
"onCell-click"?: (record: DataRecord, columnKey: string, index: number, event: MouseEvent) => any;
|
|
4238
|
-
"onSelection-change"?: (rows: DataRecord[]) => any;
|
|
4239
|
-
"onUpdate:selected-keys"?: (keys: (string | number)[]) => any;
|
|
4240
|
-
"onLoad-error"?: (error: Error) => any;
|
|
4241
|
-
"onUpdate:visible-keys"?: (keys: string[]) => any;
|
|
4242
|
-
"onColumn-visibility-change"?: (keys: string[]) => any;
|
|
4243
|
-
"onDrag-sort"?: (payload: TableDragSortPayload<DataRecord>) => any;
|
|
4169
|
+
onSearch?: ((values: DataRecord) => any) | undefined;
|
|
4170
|
+
onReset?: ((values: DataRecord) => any) | undefined;
|
|
4171
|
+
"onUpdate:page-index"?: ((pageIndex: number) => any) | undefined;
|
|
4172
|
+
"onUpdate:page-size"?: ((pageSize: number) => any) | undefined;
|
|
4173
|
+
"onSort-change"?: ((sort: SortableOptions | undefined) => any) | undefined;
|
|
4174
|
+
"onRow-click"?: ((record: DataRecord, index: number, event: MouseEvent) => any) | undefined;
|
|
4175
|
+
"onRow-dblclick"?: ((record: DataRecord, index: number, event: MouseEvent) => any) | undefined;
|
|
4176
|
+
"onRow-contextmenu"?: ((record: DataRecord, index: number, event: MouseEvent) => any) | undefined;
|
|
4177
|
+
"onCell-click"?: ((record: DataRecord, columnKey: string, index: number, event: MouseEvent) => any) | undefined;
|
|
4178
|
+
"onSelection-change"?: ((rows: DataRecord[]) => any) | undefined;
|
|
4179
|
+
"onUpdate:selected-keys"?: ((keys: (string | number)[]) => any) | undefined;
|
|
4180
|
+
"onLoad-error"?: ((error: Error) => any) | undefined;
|
|
4181
|
+
"onUpdate:visible-keys"?: ((keys: string[]) => any) | undefined;
|
|
4182
|
+
"onColumn-visibility-change"?: ((keys: string[]) => any) | undefined;
|
|
4183
|
+
"onDrag-sort"?: ((payload: TableDragSortPayload<DataRecord>) => any) | undefined;
|
|
4244
4184
|
}>, {
|
|
4185
|
+
loading: boolean | undefined;
|
|
4245
4186
|
draggable: boolean | TableDraggableOptions<DataRecord>;
|
|
4246
|
-
|
|
4247
|
-
autoLoad: boolean;
|
|
4187
|
+
autoLoad: boolean | undefined;
|
|
4248
4188
|
rowSelection: "radio" | "checkbox" | TableSelectionOptions<DataRecord>;
|
|
4249
|
-
virtual: boolean;
|
|
4250
|
-
columnSettings: boolean;
|
|
4251
|
-
showSearch: boolean;
|
|
4252
|
-
showPagination: boolean;
|
|
4253
|
-
fillHeight: boolean;
|
|
4189
|
+
virtual: boolean | undefined;
|
|
4190
|
+
columnSettings: boolean | undefined;
|
|
4191
|
+
showSearch: boolean | undefined;
|
|
4192
|
+
showPagination: boolean | undefined;
|
|
4193
|
+
fillHeight: boolean | undefined;
|
|
4254
4194
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4255
|
-
declare const __VLS_export$
|
|
4256
|
-
declare const _default$44: typeof __VLS_export$
|
|
4257
|
-
type __VLS_WithSlots$
|
|
4195
|
+
declare const __VLS_export$13: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
4196
|
+
declare const _default$44: typeof __VLS_export$13;
|
|
4197
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
4258
4198
|
new (): {
|
|
4259
4199
|
$slots: S;
|
|
4260
4200
|
};
|
|
4261
4201
|
};
|
|
4262
|
-
//#endregion
|
|
4263
|
-
//#region src/components/table-render/constants.d.ts
|
|
4264
|
-
/** 布局容器与 TableRender 的跨包填充协议 key:provide(true) 声明容器内 TableRender 应填满、内部滚动、表头固定 */
|
|
4265
|
-
export declare const PAGE_TABLE_FILL_KEY = "tu-design:page-table-fill";
|
|
4266
|
-
//#endregion
|
|
4267
|
-
//#region src/components/table-render/define-columns.d.ts
|
|
4268
4202
|
/**
|
|
4269
4203
|
* 列定义辅助:补全泛型推导,便于把列配置抽到独立文件。
|
|
4270
4204
|
*
|
|
@@ -4273,8 +4207,6 @@ export declare const PAGE_TABLE_FILL_KEY = "tu-design:page-table-fill";
|
|
|
4273
4207
|
* @returns 原样返回的列节点树
|
|
4274
4208
|
*/
|
|
4275
4209
|
export declare function defineColumns<T extends DataRecord = DataRecord>(columns: TableColumnNode<T>[]): TableColumnNode<T>[];
|
|
4276
|
-
//#endregion
|
|
4277
|
-
//#region src/components/table-render/define-table.d.ts
|
|
4278
4210
|
/**
|
|
4279
4211
|
* 聚合入口:单次调用完成「列定义 + 数据内核 + 分页排序状态 + 实例动作」。
|
|
4280
4212
|
*
|
|
@@ -4284,8 +4216,6 @@ export declare function defineColumns<T extends DataRecord = DataRecord>(columns
|
|
|
4284
4216
|
* @returns 表格渲染定义,直接传给 TableRender 组件的 definition prop
|
|
4285
4217
|
*/
|
|
4286
4218
|
export declare function defineTable<T extends DataRecord>(config: DefineTableOptions<T>): TableRenderDefinition<T>;
|
|
4287
|
-
//#endregion
|
|
4288
|
-
//#region src/components/table-render/columns.d.ts
|
|
4289
4219
|
/**
|
|
4290
4220
|
* 列节点工具:分组判别与叶子扁平化(多级表头支撑)。
|
|
4291
4221
|
*
|
|
@@ -4305,8 +4235,6 @@ export declare function isColumnGroup<T extends DataRecord>(node: TableColumnNod
|
|
|
4305
4235
|
* @returns 深度优先展开的叶子列数组(下游全部消费此层)
|
|
4306
4236
|
*/
|
|
4307
4237
|
export declare function flattenColumns<T extends DataRecord>(nodes: TableColumnNode<T>[]): TableColumnOptions<T>[];
|
|
4308
|
-
//#endregion
|
|
4309
|
-
//#region src/components/table-render/useTableRender.d.ts
|
|
4310
4238
|
/**
|
|
4311
4239
|
* 表格数据内核:TanStack 无头引擎组装 + 1-based 对外投影 + 实例动作。
|
|
4312
4240
|
*
|
|
@@ -4317,8 +4245,6 @@ export declare function flattenColumns<T extends DataRecord>(nodes: TableColumnN
|
|
|
4317
4245
|
* @returns 表格渲染定义(含只读投影与实例动作),供 TableRender 组件消费
|
|
4318
4246
|
*/
|
|
4319
4247
|
export declare function useTableRender<T extends DataRecord>(options: UseTableRenderOptions<T>): TableRenderDefinition<T>;
|
|
4320
|
-
//#endregion
|
|
4321
|
-
//#region src/components/tabs/types.d.ts
|
|
4322
4248
|
/** 单个标签页配置项 */
|
|
4323
4249
|
interface TabItem {
|
|
4324
4250
|
/** 唯一标识,同时作为触发按钮与面板的 value */
|
|
@@ -4336,8 +4262,6 @@ interface TabItem {
|
|
|
4336
4262
|
/** 显示关闭按钮;点击仅发出 close 事件,移除 items 由使用方处理 */
|
|
4337
4263
|
closable?: boolean;
|
|
4338
4264
|
}
|
|
4339
|
-
//#endregion
|
|
4340
|
-
//#region src/components/tabs/Tabs.vue.d.ts
|
|
4341
4265
|
interface Props$2 {
|
|
4342
4266
|
/** 标签页配置列表(必填) */
|
|
4343
4267
|
items: TabItem[];
|
|
@@ -4365,52 +4289,54 @@ interface Props$2 {
|
|
|
4365
4289
|
/** 面板激活时淡入过渡;对 unmountOnExit 卸载型面板无过渡 */
|
|
4366
4290
|
animated?: boolean;
|
|
4367
4291
|
}
|
|
4368
|
-
declare
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
} & {
|
|
4376
|
-
|
|
4377
|
-
} & {
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4292
|
+
declare const __VLS_template$11: () => {
|
|
4293
|
+
__VLS_Slots: {
|
|
4294
|
+
prefix?: (props: {}) => any;
|
|
4295
|
+
} & {
|
|
4296
|
+
trigger?: (props: {
|
|
4297
|
+
item: TabItem;
|
|
4298
|
+
}) => any;
|
|
4299
|
+
} & {
|
|
4300
|
+
suffix?: (props: {}) => any;
|
|
4301
|
+
} & {
|
|
4302
|
+
panel?: (props: {
|
|
4303
|
+
item: TabItem;
|
|
4304
|
+
}) => any;
|
|
4305
|
+
};
|
|
4381
4306
|
};
|
|
4382
|
-
|
|
4307
|
+
type __VLS_Slots$11 = ReturnType<typeof __VLS_template$11>['__VLS_Slots'];
|
|
4308
|
+
declare const __VLS_base$11: import("vue").DefineComponent<Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4383
4309
|
"update:value": (value: string) => any;
|
|
4384
4310
|
close: (value: string) => any;
|
|
4385
4311
|
}, string, import("vue").PublicProps, Readonly<Props$2> & Readonly<{
|
|
4386
|
-
"onUpdate:value"?: (value: string) => any;
|
|
4387
|
-
onClose?: (value: string) => any;
|
|
4312
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
4313
|
+
onClose?: ((value: string) => any) | undefined;
|
|
4388
4314
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4389
|
-
declare const __VLS_export$
|
|
4390
|
-
declare const _default$45: typeof __VLS_export$
|
|
4391
|
-
type __VLS_WithSlots$
|
|
4315
|
+
declare const __VLS_export$12: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
4316
|
+
declare const _default$45: typeof __VLS_export$12;
|
|
4317
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
4392
4318
|
new (): {
|
|
4393
4319
|
$slots: S;
|
|
4394
4320
|
};
|
|
4395
4321
|
};
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
}
|
|
4402
|
-
content?: (props: typeof __VLS_30) => any;
|
|
4322
|
+
declare const __VLS_template$10: () => {
|
|
4323
|
+
__VLS_Slots: {
|
|
4324
|
+
default?: (props: {}) => any;
|
|
4325
|
+
} & {
|
|
4326
|
+
content?: (props: {}) => any;
|
|
4327
|
+
};
|
|
4403
4328
|
};
|
|
4404
|
-
|
|
4329
|
+
type __VLS_Slots$10 = ReturnType<typeof __VLS_template$10>['__VLS_Slots'];
|
|
4330
|
+
declare const __VLS_base$10: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4405
4331
|
/** 提示文字;#content 插槽可覆盖以渲染富内容 */
|
|
4406
4332
|
content: {
|
|
4407
4333
|
type: StringConstructor;
|
|
4408
|
-
default:
|
|
4334
|
+
default: undefined;
|
|
4409
4335
|
};
|
|
4410
4336
|
/** 受控开关(配合 v-model:open);不传时为非受控 */
|
|
4411
4337
|
open: {
|
|
4412
4338
|
type: PropType<boolean | undefined>;
|
|
4413
|
-
default:
|
|
4339
|
+
default: undefined;
|
|
4414
4340
|
};
|
|
4415
4341
|
defaultOpen: {
|
|
4416
4342
|
type: BooleanConstructor;
|
|
@@ -4419,12 +4345,12 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4419
4345
|
/** 悬停多久后显示(毫秒) */
|
|
4420
4346
|
delayDuration: {
|
|
4421
4347
|
type: NumberConstructor;
|
|
4422
|
-
default:
|
|
4348
|
+
default: undefined;
|
|
4423
4349
|
};
|
|
4424
4350
|
/** 移开后多久隐藏(毫秒) */
|
|
4425
4351
|
closeDuration: {
|
|
4426
4352
|
type: NumberConstructor;
|
|
4427
|
-
default:
|
|
4353
|
+
default: undefined;
|
|
4428
4354
|
};
|
|
4429
4355
|
lazyMount: {
|
|
4430
4356
|
type: BooleanConstructor;
|
|
@@ -4437,19 +4363,19 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4437
4363
|
/** 追加/覆盖气泡样式(经 cn 合并) */
|
|
4438
4364
|
contentClass: {
|
|
4439
4365
|
type: StringConstructor;
|
|
4440
|
-
default:
|
|
4366
|
+
default: undefined;
|
|
4441
4367
|
};
|
|
4442
4368
|
/** 透传到气泡 Content 的属性对象(id、data-*、事件监听等) */
|
|
4443
4369
|
contentProps: {
|
|
4444
4370
|
type: PropType<Record<string, unknown>>;
|
|
4445
|
-
default:
|
|
4371
|
+
default: undefined;
|
|
4446
4372
|
};
|
|
4447
4373
|
/** Ark Tooltip Root 的 positioning 配置(placement/gutter 等);
|
|
4448
4374
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
4449
4375
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4450
4376
|
positioning: {
|
|
4451
4377
|
type: PropType<TooltipRootProps["positioning"]>;
|
|
4452
|
-
default:
|
|
4378
|
+
default: undefined;
|
|
4453
4379
|
};
|
|
4454
4380
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4455
4381
|
"update:open": (open: boolean) => any;
|
|
@@ -4457,12 +4383,12 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4457
4383
|
/** 提示文字;#content 插槽可覆盖以渲染富内容 */
|
|
4458
4384
|
content: {
|
|
4459
4385
|
type: StringConstructor;
|
|
4460
|
-
default:
|
|
4386
|
+
default: undefined;
|
|
4461
4387
|
};
|
|
4462
4388
|
/** 受控开关(配合 v-model:open);不传时为非受控 */
|
|
4463
4389
|
open: {
|
|
4464
4390
|
type: PropType<boolean | undefined>;
|
|
4465
|
-
default:
|
|
4391
|
+
default: undefined;
|
|
4466
4392
|
};
|
|
4467
4393
|
defaultOpen: {
|
|
4468
4394
|
type: BooleanConstructor;
|
|
@@ -4471,12 +4397,12 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4471
4397
|
/** 悬停多久后显示(毫秒) */
|
|
4472
4398
|
delayDuration: {
|
|
4473
4399
|
type: NumberConstructor;
|
|
4474
|
-
default:
|
|
4400
|
+
default: undefined;
|
|
4475
4401
|
};
|
|
4476
4402
|
/** 移开后多久隐藏(毫秒) */
|
|
4477
4403
|
closeDuration: {
|
|
4478
4404
|
type: NumberConstructor;
|
|
4479
|
-
default:
|
|
4405
|
+
default: undefined;
|
|
4480
4406
|
};
|
|
4481
4407
|
lazyMount: {
|
|
4482
4408
|
type: BooleanConstructor;
|
|
@@ -4489,26 +4415,26 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4489
4415
|
/** 追加/覆盖气泡样式(经 cn 合并) */
|
|
4490
4416
|
contentClass: {
|
|
4491
4417
|
type: StringConstructor;
|
|
4492
|
-
default:
|
|
4418
|
+
default: undefined;
|
|
4493
4419
|
};
|
|
4494
4420
|
/** 透传到气泡 Content 的属性对象(id、data-*、事件监听等) */
|
|
4495
4421
|
contentProps: {
|
|
4496
4422
|
type: PropType<Record<string, unknown>>;
|
|
4497
|
-
default:
|
|
4423
|
+
default: undefined;
|
|
4498
4424
|
};
|
|
4499
4425
|
/** Ark Tooltip Root 的 positioning 配置(placement/gutter 等);
|
|
4500
4426
|
iframe realm(wujie graft / iframe 嵌入)下 strategy 未显式指定时默认 fixed
|
|
4501
4427
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4502
4428
|
positioning: {
|
|
4503
4429
|
type: PropType<TooltipRootProps["positioning"]>;
|
|
4504
|
-
default:
|
|
4430
|
+
default: undefined;
|
|
4505
4431
|
};
|
|
4506
4432
|
}>> & Readonly<{
|
|
4507
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
4433
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
4508
4434
|
}>, {
|
|
4509
|
-
open: boolean;
|
|
4435
|
+
open: boolean | undefined;
|
|
4510
4436
|
defaultOpen: boolean;
|
|
4511
|
-
positioning: import("@
|
|
4437
|
+
positioning: import("@ark-ui/vue/select").SelectPositioningOptions | undefined;
|
|
4512
4438
|
lazyMount: boolean;
|
|
4513
4439
|
unmountOnExit: boolean;
|
|
4514
4440
|
contentClass: string;
|
|
@@ -4517,15 +4443,13 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4517
4443
|
delayDuration: number;
|
|
4518
4444
|
closeDuration: number;
|
|
4519
4445
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4520
|
-
declare const __VLS_export$
|
|
4521
|
-
declare const _default$49: typeof __VLS_export$
|
|
4522
|
-
type __VLS_WithSlots$
|
|
4446
|
+
declare const __VLS_export$11: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
4447
|
+
declare const _default$49: typeof __VLS_export$11;
|
|
4448
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
4523
4449
|
new (): {
|
|
4524
4450
|
$slots: S;
|
|
4525
4451
|
};
|
|
4526
4452
|
};
|
|
4527
|
-
//#endregion
|
|
4528
|
-
//#region src/components/alert/Alert.vue.d.ts
|
|
4529
4453
|
interface Props$1 {
|
|
4530
4454
|
title?: string;
|
|
4531
4455
|
description?: string;
|
|
@@ -4539,46 +4463,46 @@ type __VLS_ModelProps = {
|
|
|
4539
4463
|
modelValue?: boolean;
|
|
4540
4464
|
};
|
|
4541
4465
|
type __VLS_PublicProps = __VLS_Props$3 & __VLS_ModelProps;
|
|
4542
|
-
declare
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
} & {
|
|
4546
|
-
|
|
4547
|
-
} & {
|
|
4548
|
-
|
|
4549
|
-
} & {
|
|
4550
|
-
|
|
4466
|
+
declare const __VLS_template$9: () => {
|
|
4467
|
+
__VLS_Slots: {
|
|
4468
|
+
icon?: (props: {}) => any;
|
|
4469
|
+
} & {
|
|
4470
|
+
title?: (props: {}) => any;
|
|
4471
|
+
} & {
|
|
4472
|
+
default?: (props: {}) => any;
|
|
4473
|
+
} & {
|
|
4474
|
+
close?: (props: {}) => any;
|
|
4475
|
+
};
|
|
4551
4476
|
};
|
|
4552
|
-
|
|
4477
|
+
type __VLS_Slots$9 = ReturnType<typeof __VLS_template$9>['__VLS_Slots'];
|
|
4478
|
+
declare const __VLS_base$9: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4553
4479
|
"update:modelValue": (value: boolean) => any;
|
|
4554
4480
|
close: () => any;
|
|
4555
4481
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
4556
|
-
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
4557
|
-
onClose?: () => any;
|
|
4482
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
4483
|
+
onClose?: (() => any) | undefined;
|
|
4558
4484
|
}>, {
|
|
4559
|
-
variant:
|
|
4485
|
+
variant: "default" | "info" | "success" | "warning" | "error" | null;
|
|
4560
4486
|
class: string;
|
|
4561
4487
|
title: string;
|
|
4562
4488
|
description: string;
|
|
4563
4489
|
closable: boolean;
|
|
4564
4490
|
showIcon: boolean;
|
|
4565
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
4566
|
-
declare const __VLS_export$
|
|
4567
|
-
declare const _default: typeof __VLS_export$
|
|
4568
|
-
type __VLS_WithSlots$
|
|
4491
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4492
|
+
declare const __VLS_export$10: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
4493
|
+
declare const _default: typeof __VLS_export$10;
|
|
4494
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
4569
4495
|
new (): {
|
|
4570
4496
|
$slots: S;
|
|
4571
4497
|
};
|
|
4572
4498
|
};
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
variant?: "default" | "success" | "warning" | "info" | "error";
|
|
4577
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4499
|
+
export declare const alertVariants: (props?: ({
|
|
4500
|
+
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
4501
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4578
4502
|
export type AlertVariants = VariantProps<typeof alertVariants>;
|
|
4579
|
-
export declare const alertIconVariants: (props?: {
|
|
4580
|
-
variant?: "default" | "
|
|
4581
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4503
|
+
export declare const alertIconVariants: (props?: ({
|
|
4504
|
+
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
4505
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4582
4506
|
/**
|
|
4583
4507
|
* 内置图标路径(按 variant 形状差异化,保证色弱用户可辨别):
|
|
4584
4508
|
* - default:圆圈 + i(信息)
|
|
@@ -4588,30 +4512,28 @@ export declare const alertIconVariants: (props?: {
|
|
|
4588
4512
|
* - error:圆圈 + 叉号
|
|
4589
4513
|
*/
|
|
4590
4514
|
export declare const alertIconPaths: Record<string, string>;
|
|
4591
|
-
//#endregion
|
|
4592
|
-
//#region src/components/empty/Empty.vue.d.ts
|
|
4593
4515
|
type __VLS_Props$2 = {
|
|
4594
4516
|
class?: string;
|
|
4595
4517
|
description?: string;
|
|
4596
4518
|
};
|
|
4597
|
-
declare
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
} & {
|
|
4601
|
-
|
|
4519
|
+
declare const __VLS_template$8: () => {
|
|
4520
|
+
__VLS_Slots: {
|
|
4521
|
+
icon?: (props: {}) => any;
|
|
4522
|
+
} & {
|
|
4523
|
+
default?: (props: {}) => any;
|
|
4524
|
+
};
|
|
4602
4525
|
};
|
|
4603
|
-
|
|
4526
|
+
type __VLS_Slots$8 = ReturnType<typeof __VLS_template$8>['__VLS_Slots'];
|
|
4527
|
+
declare const __VLS_base$8: import("vue").DefineComponent<__VLS_Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$2> & Readonly<{}>, {
|
|
4604
4528
|
description: string;
|
|
4605
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
4606
|
-
declare const __VLS_export$
|
|
4607
|
-
declare const _default$17: typeof __VLS_export$
|
|
4608
|
-
type __VLS_WithSlots$
|
|
4529
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4530
|
+
declare const __VLS_export$9: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
4531
|
+
declare const _default$17: typeof __VLS_export$9;
|
|
4532
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
4609
4533
|
new (): {
|
|
4610
4534
|
$slots: S;
|
|
4611
4535
|
};
|
|
4612
4536
|
};
|
|
4613
|
-
//#endregion
|
|
4614
|
-
//#region src/components/progress/Progress.vue.d.ts
|
|
4615
4537
|
/** 语义变体 */
|
|
4616
4538
|
type ProgressVariant = "default" | "info" | "success" | "warning" | "error";
|
|
4617
4539
|
type __VLS_Props$1 = {
|
|
@@ -4630,19 +4552,17 @@ type __VLS_Props$1 = {
|
|
|
4630
4552
|
/** 追加/覆盖根元素样式类 */
|
|
4631
4553
|
class?: string;
|
|
4632
4554
|
};
|
|
4633
|
-
declare const __VLS_export$
|
|
4634
|
-
"update:value": (value: number) => any;
|
|
4555
|
+
declare const __VLS_export$8: import("vue").DefineComponent<__VLS_Props$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4556
|
+
"update:value": (value: number | null) => any;
|
|
4635
4557
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
4636
|
-
"onUpdate:value"?: (value: number) => any;
|
|
4558
|
+
"onUpdate:value"?: ((value: number | null) => any) | undefined;
|
|
4637
4559
|
}>, {
|
|
4638
4560
|
variant: ProgressVariant;
|
|
4639
4561
|
max: number;
|
|
4640
4562
|
indeterminate: boolean;
|
|
4641
4563
|
showValue: boolean;
|
|
4642
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
4643
|
-
declare const _default$35: typeof __VLS_export$
|
|
4644
|
-
//#endregion
|
|
4645
|
-
//#region src/components/spin/Spin.vue.d.ts
|
|
4564
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4565
|
+
declare const _default$35: typeof __VLS_export$8;
|
|
4646
4566
|
type __VLS_Props = {
|
|
4647
4567
|
/** spinner 尺寸 */
|
|
4648
4568
|
size?: "sm" | "default" | "lg";
|
|
@@ -4652,26 +4572,26 @@ type __VLS_Props = {
|
|
|
4652
4572
|
label?: string;
|
|
4653
4573
|
class?: string;
|
|
4654
4574
|
};
|
|
4655
|
-
declare
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
} & {
|
|
4659
|
-
|
|
4575
|
+
declare const __VLS_template$7: () => {
|
|
4576
|
+
__VLS_Slots: {
|
|
4577
|
+
default?: (props: {}) => any;
|
|
4578
|
+
} & {
|
|
4579
|
+
icon?: (props: {}) => any;
|
|
4580
|
+
};
|
|
4660
4581
|
};
|
|
4661
|
-
|
|
4662
|
-
|
|
4582
|
+
type __VLS_Slots$7 = ReturnType<typeof __VLS_template$7>['__VLS_Slots'];
|
|
4583
|
+
declare const __VLS_base$7: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
4584
|
+
size: "sm" | "lg" | "default";
|
|
4663
4585
|
label: string;
|
|
4664
4586
|
spinning: boolean;
|
|
4665
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
4666
|
-
declare const __VLS_export$
|
|
4667
|
-
declare const _default$41: typeof __VLS_export$
|
|
4668
|
-
type __VLS_WithSlots$
|
|
4587
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4588
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
4589
|
+
declare const _default$41: typeof __VLS_export$7;
|
|
4590
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
4669
4591
|
new (): {
|
|
4670
4592
|
$slots: S;
|
|
4671
4593
|
};
|
|
4672
4594
|
};
|
|
4673
|
-
//#endregion
|
|
4674
|
-
//#region src/components/toast/useToast.d.ts
|
|
4675
4595
|
type ToastOptions = ToastOptions$1;
|
|
4676
4596
|
type ToastPlacement = ToastPlacement$1;
|
|
4677
4597
|
type ToastPromiseOptions<T> = ToastPromiseOptions$1<T>;
|
|
@@ -4716,7 +4636,7 @@ declare const toastApi: {
|
|
|
4716
4636
|
promise: <T>(promise: Promise<T> | (() => Promise<T>), options: ToastPromiseOptions$1<T>, shared?: Omit<ToastOptions, "type">) => {
|
|
4717
4637
|
id: string | undefined;
|
|
4718
4638
|
unwrap: () => Promise<T>;
|
|
4719
|
-
};
|
|
4639
|
+
} | undefined;
|
|
4720
4640
|
/**
|
|
4721
4641
|
* 关闭指定 toast;不传 id 时关闭全部。
|
|
4722
4642
|
* @param id - 目标 toast 的 id;缺省时关闭全部
|
|
@@ -4769,7 +4689,7 @@ export declare function useToast(): {
|
|
|
4769
4689
|
promise: <T>(promise: Promise<T> | (() => Promise<T>), options: ToastPromiseOptions$1<T>, shared?: Omit<ToastOptions, "type">) => {
|
|
4770
4690
|
id: string | undefined;
|
|
4771
4691
|
unwrap: () => Promise<T>;
|
|
4772
|
-
};
|
|
4692
|
+
} | undefined;
|
|
4773
4693
|
/**
|
|
4774
4694
|
* 关闭指定 toast;不传 id 时关闭全部。
|
|
4775
4695
|
* @param id - 目标 toast 的 id;缺省时关闭全部
|
|
@@ -4777,15 +4697,15 @@ export declare function useToast(): {
|
|
|
4777
4697
|
dismiss: (id?: string) => void;
|
|
4778
4698
|
};
|
|
4779
4699
|
type ToastApi = typeof toastApi;
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
};
|
|
4785
|
-
|
|
4786
|
-
icon?: (props: typeof __VLS_14) => any;
|
|
4700
|
+
declare const __VLS_template$6: () => {
|
|
4701
|
+
__VLS_Slots: {
|
|
4702
|
+
icon?: (props: {
|
|
4703
|
+
type: Toast.Type;
|
|
4704
|
+
}) => any;
|
|
4705
|
+
};
|
|
4787
4706
|
};
|
|
4788
|
-
|
|
4707
|
+
type __VLS_Slots$6 = ReturnType<typeof __VLS_template$6>['__VLS_Slots'];
|
|
4708
|
+
declare const __VLS_base$6: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4789
4709
|
/** 弹出位置 */
|
|
4790
4710
|
placement: {
|
|
4791
4711
|
type: () => ToastPlacement;
|
|
@@ -4822,28 +4742,28 @@ declare const __VLS_base$5: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4822
4742
|
placement: Toast.Placement;
|
|
4823
4743
|
duration: number;
|
|
4824
4744
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4825
|
-
declare const __VLS_export$
|
|
4826
|
-
declare const _default$48: typeof __VLS_export$
|
|
4827
|
-
type __VLS_WithSlots$
|
|
4745
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
4746
|
+
declare const _default$48: typeof __VLS_export$6;
|
|
4747
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
4828
4748
|
new (): {
|
|
4829
4749
|
$slots: S;
|
|
4830
4750
|
};
|
|
4831
4751
|
};
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
} & {
|
|
4838
|
-
|
|
4839
|
-
}
|
|
4840
|
-
default?: (props: typeof __VLS_43) => any;
|
|
4752
|
+
declare const __VLS_template$5: () => {
|
|
4753
|
+
__VLS_Slots: {
|
|
4754
|
+
title?: (props: {}) => any;
|
|
4755
|
+
} & {
|
|
4756
|
+
description?: (props: {}) => any;
|
|
4757
|
+
} & {
|
|
4758
|
+
default?: (props: {}) => any;
|
|
4759
|
+
};
|
|
4841
4760
|
};
|
|
4842
|
-
|
|
4761
|
+
type __VLS_Slots$5 = ReturnType<typeof __VLS_template$5>['__VLS_Slots'];
|
|
4762
|
+
declare const __VLS_base$5: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4843
4763
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
4844
4764
|
open: {
|
|
4845
4765
|
type: PropType<boolean | undefined>;
|
|
4846
|
-
default:
|
|
4766
|
+
default: undefined;
|
|
4847
4767
|
};
|
|
4848
4768
|
/** 标题文案(#title 插槽优先) */
|
|
4849
4769
|
title: {
|
|
@@ -4853,7 +4773,7 @@ declare const __VLS_base$4: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4853
4773
|
/** 描述文案(#description 插槽优先,可不传) */
|
|
4854
4774
|
description: {
|
|
4855
4775
|
type: StringConstructor;
|
|
4856
|
-
default:
|
|
4776
|
+
default: undefined;
|
|
4857
4777
|
};
|
|
4858
4778
|
/** 确认按钮文案 */
|
|
4859
4779
|
confirmText: {
|
|
@@ -4878,7 +4798,7 @@ declare const __VLS_base$4: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4878
4798
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
4879
4799
|
open: {
|
|
4880
4800
|
type: PropType<boolean | undefined>;
|
|
4881
|
-
default:
|
|
4801
|
+
default: undefined;
|
|
4882
4802
|
};
|
|
4883
4803
|
/** 标题文案(#title 插槽优先) */
|
|
4884
4804
|
title: {
|
|
@@ -4888,7 +4808,7 @@ declare const __VLS_base$4: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4888
4808
|
/** 描述文案(#description 插槽优先,可不传) */
|
|
4889
4809
|
description: {
|
|
4890
4810
|
type: StringConstructor;
|
|
4891
|
-
default:
|
|
4811
|
+
default: undefined;
|
|
4892
4812
|
};
|
|
4893
4813
|
/** 确认按钮文案 */
|
|
4894
4814
|
confirmText: {
|
|
@@ -4906,30 +4826,30 @@ declare const __VLS_base$4: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4906
4826
|
default: boolean;
|
|
4907
4827
|
};
|
|
4908
4828
|
}>> & Readonly<{
|
|
4909
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
4910
|
-
onCancel?: () => any;
|
|
4911
|
-
onConfirm?: () => any;
|
|
4829
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
4830
|
+
onCancel?: (() => any) | undefined;
|
|
4831
|
+
onConfirm?: (() => any) | undefined;
|
|
4912
4832
|
}>, {
|
|
4913
4833
|
destructive: boolean;
|
|
4914
|
-
open: boolean;
|
|
4834
|
+
open: boolean | undefined;
|
|
4915
4835
|
description: string;
|
|
4916
4836
|
confirmText: string;
|
|
4917
4837
|
cancelText: string;
|
|
4918
4838
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4919
|
-
declare const __VLS_export$
|
|
4920
|
-
declare const _default$1: typeof __VLS_export$
|
|
4921
|
-
type __VLS_WithSlots$
|
|
4839
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
4840
|
+
declare const _default$1: typeof __VLS_export$5;
|
|
4841
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
4922
4842
|
new (): {
|
|
4923
4843
|
$slots: S;
|
|
4924
4844
|
};
|
|
4925
4845
|
};
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
default?: (props: typeof __VLS_16$1) => any;
|
|
4846
|
+
declare const __VLS_template$4: () => {
|
|
4847
|
+
__VLS_Slots: {
|
|
4848
|
+
default?: (props: {}) => any;
|
|
4849
|
+
};
|
|
4931
4850
|
};
|
|
4932
|
-
|
|
4851
|
+
type __VLS_Slots$4 = ReturnType<typeof __VLS_template$4>['__VLS_Slots'];
|
|
4852
|
+
declare const __VLS_base$4: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4933
4853
|
/** 菜单项描述列表,与 DropdownMenu 的 items 完全同构(item/label/separator/group 四种形态,group 可嵌套) */
|
|
4934
4854
|
items: {
|
|
4935
4855
|
type: PropType<MenuItemOption[]>;
|
|
@@ -4940,7 +4860,7 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4940
4860
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4941
4861
|
positioning: {
|
|
4942
4862
|
type: PropType<MenuRootProps["positioning"]>;
|
|
4943
|
-
default:
|
|
4863
|
+
default: undefined;
|
|
4944
4864
|
};
|
|
4945
4865
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4946
4866
|
select: (details: {
|
|
@@ -4957,49 +4877,49 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4957
4877
|
(absolute 包含块错位修正,机制详注见 useSandboxOverlay / sandbox.ts) */
|
|
4958
4878
|
positioning: {
|
|
4959
4879
|
type: PropType<MenuRootProps["positioning"]>;
|
|
4960
|
-
default:
|
|
4880
|
+
default: undefined;
|
|
4961
4881
|
};
|
|
4962
4882
|
}>> & Readonly<{
|
|
4963
|
-
onSelect?: (details: {
|
|
4883
|
+
onSelect?: ((details: {
|
|
4964
4884
|
value: string;
|
|
4965
|
-
}) => any;
|
|
4885
|
+
}) => any) | undefined;
|
|
4966
4886
|
}>, {
|
|
4967
|
-
positioning: import("@
|
|
4887
|
+
positioning: import("@ark-ui/vue/select").SelectPositioningOptions | undefined;
|
|
4968
4888
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4969
|
-
declare const __VLS_export$
|
|
4970
|
-
declare const _default$10: typeof __VLS_export$
|
|
4971
|
-
type __VLS_WithSlots$
|
|
4889
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
4890
|
+
declare const _default$10: typeof __VLS_export$4;
|
|
4891
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
4972
4892
|
new (): {
|
|
4973
4893
|
$slots: S;
|
|
4974
4894
|
};
|
|
4975
4895
|
};
|
|
4976
|
-
//#endregion
|
|
4977
|
-
//#region src/components/drawer/Drawer.vue.d.ts
|
|
4978
4896
|
type Placement = "top" | "right" | "bottom" | "left";
|
|
4979
4897
|
type Size = "sm" | "default" | "lg";
|
|
4980
4898
|
/** 关闭抽屉(#footer 作用域插槽注入) */
|
|
4981
4899
|
declare function close(): void;
|
|
4982
|
-
declare
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
} & {
|
|
4988
|
-
|
|
4989
|
-
} & {
|
|
4990
|
-
|
|
4991
|
-
} & {
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
} & {
|
|
4996
|
-
|
|
4900
|
+
declare const __VLS_template$3: () => {
|
|
4901
|
+
__VLS_Slots: {
|
|
4902
|
+
trigger?: (props: {}) => any;
|
|
4903
|
+
} & {
|
|
4904
|
+
title?: (props: {}) => any;
|
|
4905
|
+
} & {
|
|
4906
|
+
description?: (props: {}) => any;
|
|
4907
|
+
} & {
|
|
4908
|
+
default?: (props: {}) => any;
|
|
4909
|
+
} & {
|
|
4910
|
+
footer?: (props: {
|
|
4911
|
+
close: typeof close;
|
|
4912
|
+
}) => any;
|
|
4913
|
+
} & {
|
|
4914
|
+
close?: (props: {}) => any;
|
|
4915
|
+
};
|
|
4997
4916
|
};
|
|
4998
|
-
|
|
4917
|
+
type __VLS_Slots$3 = ReturnType<typeof __VLS_template$3>['__VLS_Slots'];
|
|
4918
|
+
declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4999
4919
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
5000
4920
|
open: {
|
|
5001
4921
|
type: PropType<boolean | undefined>;
|
|
5002
|
-
default:
|
|
4922
|
+
default: undefined;
|
|
5003
4923
|
};
|
|
5004
4924
|
/** 非受控时的初始开关 */
|
|
5005
4925
|
defaultOpen: {
|
|
@@ -5029,12 +4949,12 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5029
4949
|
/** 标题文案(#title 插槽优先,两者皆无则不渲染标题) */
|
|
5030
4950
|
title: {
|
|
5031
4951
|
type: StringConstructor;
|
|
5032
|
-
default:
|
|
4952
|
+
default: undefined;
|
|
5033
4953
|
};
|
|
5034
4954
|
/** 描述文案(#description 插槽优先,两者皆无则不渲染描述) */
|
|
5035
4955
|
description: {
|
|
5036
4956
|
type: StringConstructor;
|
|
5037
|
-
default:
|
|
4957
|
+
default: undefined;
|
|
5038
4958
|
};
|
|
5039
4959
|
/** 是否渲染右上角内置关闭按钮(aria-label="关闭") */
|
|
5040
4960
|
showCloseButton: {
|
|
@@ -5047,7 +4967,7 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5047
4967
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
5048
4968
|
open: {
|
|
5049
4969
|
type: PropType<boolean | undefined>;
|
|
5050
|
-
default:
|
|
4970
|
+
default: undefined;
|
|
5051
4971
|
};
|
|
5052
4972
|
/** 非受控时的初始开关 */
|
|
5053
4973
|
defaultOpen: {
|
|
@@ -5077,12 +4997,12 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5077
4997
|
/** 标题文案(#title 插槽优先,两者皆无则不渲染标题) */
|
|
5078
4998
|
title: {
|
|
5079
4999
|
type: StringConstructor;
|
|
5080
|
-
default:
|
|
5000
|
+
default: undefined;
|
|
5081
5001
|
};
|
|
5082
5002
|
/** 描述文案(#description 插槽优先,两者皆无则不渲染描述) */
|
|
5083
5003
|
description: {
|
|
5084
5004
|
type: StringConstructor;
|
|
5085
|
-
default:
|
|
5005
|
+
default: undefined;
|
|
5086
5006
|
};
|
|
5087
5007
|
/** 是否渲染右上角内置关闭按钮(aria-label="关闭") */
|
|
5088
5008
|
showCloseButton: {
|
|
@@ -5090,32 +5010,32 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5090
5010
|
default: boolean;
|
|
5091
5011
|
};
|
|
5092
5012
|
}>> & Readonly<{
|
|
5093
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
5013
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
5094
5014
|
}>, {
|
|
5095
5015
|
size: Size;
|
|
5096
|
-
open: boolean;
|
|
5016
|
+
open: boolean | undefined;
|
|
5097
5017
|
defaultOpen: boolean;
|
|
5098
|
-
placement: Placement;
|
|
5099
5018
|
lazyMount: boolean;
|
|
5100
5019
|
unmountOnExit: boolean;
|
|
5101
5020
|
title: string;
|
|
5102
5021
|
description: string;
|
|
5103
5022
|
showCloseButton: boolean;
|
|
5023
|
+
placement: Placement;
|
|
5104
5024
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5105
|
-
declare const __VLS_export$
|
|
5106
|
-
declare const _default$15: typeof __VLS_export$
|
|
5107
|
-
type __VLS_WithSlots$
|
|
5025
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
5026
|
+
declare const _default$15: typeof __VLS_export$3;
|
|
5027
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
5108
5028
|
new (): {
|
|
5109
5029
|
$slots: S;
|
|
5110
5030
|
};
|
|
5111
5031
|
};
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
default?: (props: typeof __VLS_10) => any;
|
|
5032
|
+
declare const __VLS_template$2: () => {
|
|
5033
|
+
__VLS_Slots: {
|
|
5034
|
+
default?: (props: {}) => any;
|
|
5035
|
+
};
|
|
5117
5036
|
};
|
|
5118
|
-
|
|
5037
|
+
type __VLS_Slots$2 = ReturnType<typeof __VLS_template$2>['__VLS_Slots'];
|
|
5038
|
+
declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5119
5039
|
/** 气泡标题(渲染为 Ark Popover.Title,content 自动接线 aria-labelledby) */
|
|
5120
5040
|
title: {
|
|
5121
5041
|
type: StringConstructor;
|
|
@@ -5124,7 +5044,7 @@ declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5124
5044
|
/** 气泡描述(可选,渲染为 Ark Popover.Description,content 自动接线 aria-describedby) */
|
|
5125
5045
|
description: {
|
|
5126
5046
|
type: StringConstructor;
|
|
5127
|
-
default:
|
|
5047
|
+
default: undefined;
|
|
5128
5048
|
};
|
|
5129
5049
|
/** 确认按钮文案 */
|
|
5130
5050
|
confirmText: {
|
|
@@ -5144,7 +5064,7 @@ declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5144
5064
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
5145
5065
|
open: {
|
|
5146
5066
|
type: PropType<boolean | undefined>;
|
|
5147
|
-
default:
|
|
5067
|
+
default: undefined;
|
|
5148
5068
|
};
|
|
5149
5069
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5150
5070
|
"update:open": (open: boolean) => any;
|
|
@@ -5159,7 +5079,7 @@ declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5159
5079
|
/** 气泡描述(可选,渲染为 Ark Popover.Description,content 自动接线 aria-describedby) */
|
|
5160
5080
|
description: {
|
|
5161
5081
|
type: StringConstructor;
|
|
5162
|
-
default:
|
|
5082
|
+
default: undefined;
|
|
5163
5083
|
};
|
|
5164
5084
|
/** 确认按钮文案 */
|
|
5165
5085
|
confirmText: {
|
|
@@ -5179,28 +5099,26 @@ declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
5179
5099
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
5180
5100
|
open: {
|
|
5181
5101
|
type: PropType<boolean | undefined>;
|
|
5182
|
-
default:
|
|
5102
|
+
default: undefined;
|
|
5183
5103
|
};
|
|
5184
5104
|
}>> & Readonly<{
|
|
5185
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
5186
|
-
onCancel?: () => any;
|
|
5187
|
-
onConfirm?: () => any;
|
|
5105
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
5106
|
+
onCancel?: (() => any) | undefined;
|
|
5107
|
+
onConfirm?: (() => any) | undefined;
|
|
5188
5108
|
}>, {
|
|
5189
5109
|
variant: "default" | "destructive";
|
|
5190
|
-
open: boolean;
|
|
5110
|
+
open: boolean | undefined;
|
|
5191
5111
|
description: string;
|
|
5192
5112
|
confirmText: string;
|
|
5193
5113
|
cancelText: string;
|
|
5194
5114
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5195
|
-
declare const __VLS_export$
|
|
5196
|
-
declare const _default$33: typeof __VLS_export$
|
|
5197
|
-
type __VLS_WithSlots$
|
|
5115
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
5116
|
+
declare const _default$33: typeof __VLS_export$2;
|
|
5117
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
5198
5118
|
new (): {
|
|
5199
5119
|
$slots: S;
|
|
5200
5120
|
};
|
|
5201
5121
|
};
|
|
5202
|
-
//#endregion
|
|
5203
|
-
//#region src/components/timeline/Timeline.vue.d.ts
|
|
5204
5122
|
interface Props {
|
|
5205
5123
|
/** 数据源:按数组顺序自上而下渲染 */
|
|
5206
5124
|
items: TimelineItemData[];
|
|
@@ -5211,26 +5129,26 @@ interface Props {
|
|
|
5211
5129
|
/** 追加/覆盖样式(经 cn 合并) */
|
|
5212
5130
|
class?: string;
|
|
5213
5131
|
}
|
|
5214
|
-
declare
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5132
|
+
declare const __VLS_template$1: () => {
|
|
5133
|
+
__VLS_Slots: {
|
|
5134
|
+
item?: (props: {
|
|
5135
|
+
item: TimelineItemData;
|
|
5136
|
+
index: number;
|
|
5137
|
+
}) => any;
|
|
5138
|
+
};
|
|
5220
5139
|
};
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5140
|
+
type __VLS_Slots$1 = ReturnType<typeof __VLS_template$1>['__VLS_Slots'];
|
|
5141
|
+
declare const __VLS_base$1: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
5142
|
+
size: "sm" | "default" | null;
|
|
5143
|
+
mode: "right" | "alternate" | null;
|
|
5224
5144
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5225
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5226
|
-
declare const _default$47: typeof __VLS_export;
|
|
5227
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
5145
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
5146
|
+
declare const _default$47: typeof __VLS_export$1;
|
|
5147
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
5228
5148
|
new (): {
|
|
5229
5149
|
$slots: S;
|
|
5230
5150
|
};
|
|
5231
5151
|
};
|
|
5232
|
-
//#endregion
|
|
5233
|
-
//#region src/components/timeline/index.d.ts
|
|
5234
5152
|
/** 时间轴单项数据 */
|
|
5235
5153
|
export interface TimelineItemData {
|
|
5236
5154
|
/** 事件标题 */
|
|
@@ -5247,23 +5165,118 @@ export interface TimelineItemData {
|
|
|
5247
5165
|
hollow?: boolean;
|
|
5248
5166
|
}
|
|
5249
5167
|
/** 容器变体:alternate 模式加 isolate 隔离堆叠上下文,避免连线/节点受外部 z-index 干扰 */
|
|
5250
|
-
export declare const timelineVariants: (props?: {
|
|
5251
|
-
mode?: "right" | "alternate";
|
|
5252
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
5168
|
+
export declare const timelineVariants: (props?: ({
|
|
5169
|
+
mode?: "right" | "alternate" | null | undefined;
|
|
5170
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5253
5171
|
export type TimelineVariants = VariantProps<typeof timelineVariants>;
|
|
5254
5172
|
/** 项变体:li 的 last:pb-0 相对 ol 语义正确;首末项连线裁切在模板内按 index 计算,不用伪类 */
|
|
5255
|
-
export declare const timelineItemVariants: (props?: {
|
|
5256
|
-
mode?: "right" | "alternate";
|
|
5257
|
-
size?: "sm" | "default";
|
|
5258
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
5173
|
+
export declare const timelineItemVariants: (props?: ({
|
|
5174
|
+
mode?: "right" | "alternate" | null | undefined;
|
|
5175
|
+
size?: "sm" | "default" | null | undefined;
|
|
5176
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5259
5177
|
export type TimelineItemVariants = VariantProps<typeof timelineItemVariants>;
|
|
5260
5178
|
/** 节点变体:hollow × color 经 compoundVariants 配对出边框色,实心直接配底色 */
|
|
5261
|
-
export declare const timelineDotVariants: (props?: {
|
|
5262
|
-
mode?: "right" | "alternate";
|
|
5263
|
-
size?: "sm" | "default";
|
|
5264
|
-
color?: "destructive" | "
|
|
5265
|
-
hollow?: boolean;
|
|
5266
|
-
} & import("class-variance-authority/types").ClassProp) => string;
|
|
5179
|
+
export declare const timelineDotVariants: (props?: ({
|
|
5180
|
+
mode?: "right" | "alternate" | null | undefined;
|
|
5181
|
+
size?: "sm" | "default" | null | undefined;
|
|
5182
|
+
color?: "destructive" | "success" | "warning" | "primary" | "muted" | null | undefined;
|
|
5183
|
+
hollow?: boolean | null | undefined;
|
|
5184
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5267
5185
|
export type TimelineDotVariants = VariantProps<typeof timelineDotVariants>;
|
|
5268
|
-
|
|
5269
|
-
|
|
5186
|
+
/**
|
|
5187
|
+
* TuDesignProvider 应用级显式配置层(plan: tu-design-provider-mode)。
|
|
5188
|
+
*
|
|
5189
|
+
* 动机:自动探测(marker / realm / 结构信号)存在固有边界——marker 随 wujie 版本漂移、
|
|
5190
|
+
* degrade 模式无法区分、故障静默。本模块新增手动声明层,解析优先级:
|
|
5191
|
+
* 组件显式 prop(to / positioning.strategy 等,已有) > Provider mode(本模块) > 自动探测(auto 缺省)。
|
|
5192
|
+
*
|
|
5193
|
+
* mode 语义 = 「隔离构成」行为组,判据是拓扑而非框架品牌(机制详注见 sandbox.ts 头注):
|
|
5194
|
+
* - none = { } // 独立运行 / qiankun / micro-app lightDOM / 纯 iframe 嵌入 / wujie degrade
|
|
5195
|
+
* - shadow = { teleport降级 } // micro-app strictStyleIsolation / web component
|
|
5196
|
+
* - shadow-iframe = { teleport降级, fixed策略, 锁禁用 } // wujie 默认模式(iframe realm + shadow graft 双重隔离)
|
|
5197
|
+
* - auto(缺省) = 现行探测链,行为与历史版本逐字节一致
|
|
5198
|
+
*
|
|
5199
|
+
* 纪律:
|
|
5200
|
+
* - 显式 mode 一律短路,不进入任何探测代码(marker 漂移免疫的可证性质);
|
|
5201
|
+
* - mode 只表达渲染环境单维度;新的根部能力走 Provider 命名空间对象 prop(present = enabled),
|
|
5202
|
+
* 且每个 prop 必须注明 mount-time / reactive(缺省 mount-time);
|
|
5203
|
+
* - `none` 是「显式关全部适配」,不保证与 auto 逐位等值(如纯 iframe 下 auto 会注入无害 fixed)。
|
|
5204
|
+
*/
|
|
5205
|
+
/** 渲染环境声明(行为组名,非框架名) */
|
|
5206
|
+
type TuProviderMode = "auto" | "none" | "shadow" | "shadow-iframe";
|
|
5207
|
+
/**
|
|
5208
|
+
* overlay 滚动锁契约(issue #5):消费方提供 lock() → 解锁函数,
|
|
5209
|
+
* 契约层只负责「是否消费」的拓扑判定,不包装、不持有状态。
|
|
5210
|
+
*/
|
|
5211
|
+
interface TuOverlayContract {
|
|
5212
|
+
lock(): VoidFunction;
|
|
5213
|
+
}
|
|
5214
|
+
/**
|
|
5215
|
+
* `TuDesignProvider` 的 `:toast` 命名空间配置(present = enabled)。
|
|
5216
|
+
* 各键语义与独立使用 ToastProvider 时的同名 prop 完全一致;mount-time 消费。
|
|
5217
|
+
*/
|
|
5218
|
+
interface TuToastConfig {
|
|
5219
|
+
/** 弹出位置 */
|
|
5220
|
+
placement?: ToastPlacement;
|
|
5221
|
+
/** 默认自动关闭时长(ms) */
|
|
5222
|
+
duration?: number;
|
|
5223
|
+
/** 同屏最大数量,超出排队 */
|
|
5224
|
+
max?: number;
|
|
5225
|
+
}
|
|
5226
|
+
/**
|
|
5227
|
+
* 根部能力契约备忘(新能力加入 Provider 时遵循):
|
|
5228
|
+
* - 命名空间对象 prop(如 toast),present = enabled,未传 = 该能力关闭;
|
|
5229
|
+
* - mount-time / reactive 必须显式声明,缺省 mount-time;
|
|
5230
|
+
* - 不再新增平级 Provider 组件,能力一律聚合到 TuDesignProvider。
|
|
5231
|
+
*/
|
|
5232
|
+
declare const __VLS_template: () => {
|
|
5233
|
+
__VLS_Slots: {
|
|
5234
|
+
default?: (props: {}) => any;
|
|
5235
|
+
};
|
|
5236
|
+
};
|
|
5237
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
5238
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5239
|
+
/** 渲染环境声明(行为组名,非框架名);缺省 auto = 现行探测链 */
|
|
5240
|
+
mode: {
|
|
5241
|
+
type: PropType<TuProviderMode>;
|
|
5242
|
+
default: string;
|
|
5243
|
+
};
|
|
5244
|
+
/** 消息提示宿主配置:未传不渲染 Toaster;传 {} 全走缺省 */
|
|
5245
|
+
toast: {
|
|
5246
|
+
type: PropType<TuToastConfig>;
|
|
5247
|
+
default: undefined;
|
|
5248
|
+
};
|
|
5249
|
+
/** overlay 滚动锁契约(present = enabled):仅锁禁用拓扑消费(语义 B),mount-time */
|
|
5250
|
+
overlay: {
|
|
5251
|
+
type: PropType<TuOverlayContract>;
|
|
5252
|
+
default: undefined;
|
|
5253
|
+
};
|
|
5254
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5255
|
+
/** 渲染环境声明(行为组名,非框架名);缺省 auto = 现行探测链 */
|
|
5256
|
+
mode: {
|
|
5257
|
+
type: PropType<TuProviderMode>;
|
|
5258
|
+
default: string;
|
|
5259
|
+
};
|
|
5260
|
+
/** 消息提示宿主配置:未传不渲染 Toaster;传 {} 全走缺省 */
|
|
5261
|
+
toast: {
|
|
5262
|
+
type: PropType<TuToastConfig>;
|
|
5263
|
+
default: undefined;
|
|
5264
|
+
};
|
|
5265
|
+
/** overlay 滚动锁契约(present = enabled):仅锁禁用拓扑消费(语义 B),mount-time */
|
|
5266
|
+
overlay: {
|
|
5267
|
+
type: PropType<TuOverlayContract>;
|
|
5268
|
+
default: undefined;
|
|
5269
|
+
};
|
|
5270
|
+
}>> & Readonly<{}>, {
|
|
5271
|
+
mode: TuProviderMode;
|
|
5272
|
+
toast: TuToastConfig;
|
|
5273
|
+
overlay: TuOverlayContract;
|
|
5274
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5275
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5276
|
+
declare const _default$51: typeof __VLS_export;
|
|
5277
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
5278
|
+
new (): {
|
|
5279
|
+
$slots: S;
|
|
5280
|
+
};
|
|
5281
|
+
};
|
|
5282
|
+
export { _default as Alert, _default$1 as AlertDialog, _default$2 as Avatar, _default$3 as AvatarGroup, _default$4 as Badge, type BindingSpec, _default$5 as Button, _default$6 as Calendar, _default$7 as Card, _default$8 as Cascader, type CheckStrategy, _default$9 as Checkbox, type CheckboxWidgetOptions, type ColumnRenders, _default$10 as ContextMenu, _default$11 as CurrencyInput, type CurrencyUnit, type CurrencyWidgetOptions, type DataRecord, _default$12 as DatePicker, type DatePickerWidgetOptions, _default$13 as DateRangePicker, type DateRangeWidgetOptions, type DefineFormOptions, type DefineTableOptions, _default$14 as Dialog, type DictColumnMapping, type DictColumnOptions, type DictEntryVariant, _default$15 as Drawer, _default$16 as DropdownMenu, _default$17 as Empty, _default$18 as Form, type FormActionsConfig, _default$19 as FormControl, _default$20 as FormDescription, _default$21 as FormField, _default$22 as FormItem, _default$23 as FormLabel, _default$24 as FormMessage, _default$25 as FormRender, type FormRenderDefinition, type FormRenderFormApi, type FormRenderItem, _default$26 as FormSubscribe, type ImageColumnOptions, _default$27 as Input, type InputWidgetOptions, type Key, _default$28 as Label, type MenuItemOption, _default$29 as MonthPicker, type MonthPickerWidgetOptions, _default$30 as NumberInput, type NumberWidgetOptions, type PageableOptions, _default$31 as PasswordInput, type PasswordWidgetOptions, _default$32 as PinInput, _default$33 as Popconfirm, _default$34 as Popover, _default$35 as Progress, _default$36 as RadioGroup, type RadioGroupWidgetOptions, _default$37 as Select, type SelectItemOption, type SelectWidgetOptions, _default$38 as Separator, type SerialColumnOptions, type SfcOptions, _default$39 as Skeleton, _default$40 as Slider, type SliderWidgetOptions, type SortableOptions, _default$41 as Spin, _default$42 as Switch, type SwitchWidgetOptions, type TabItem, type TableActionButton, type TableActionConfirm, type TableColumnGroupOptions, type TableColumnNode, type TableColumnOptions, type TableDragSortPayload, type TableDraggableOptions, type TableLoadParams, _default$43 as TablePagination, _default$44 as TableRender, type TableRenderDefinition, _default$45 as Tabs, _default$46 as Textarea, type TextareaWidgetOptions, _default$47 as Timeline, type ToastApi, type ToastOptions, type ToastPlacement, type ToastPromiseOptions, _default$48 as ToastProvider, _default$49 as Tooltip, type TreeOption, type TreeOptions, _default$50 as TreeSelect, _default$51 as TuDesignProvider, type TuProviderMode, type TuToastConfig, type UseFormRenderOptions, type UseTableRenderOptions, _default$52 as WeekPicker, type WidgetContext, type WidgetItemOption, type WidgetRenderReturn, type WidgetRenders, _default$53 as YearPicker, type YearPickerWidgetOptions };
|