@vtj/ui 0.9.0-alpha.5 → 0.9.0-alpha.50
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.mjs +1039 -1015
- package/dist/index.umd.js +10 -10
- package/dist/style.css +1 -1
- package/package.json +8 -8
- package/types/components/action/Action.d.ts +13 -7
- package/types/components/action/hooks.d.ts +3 -2
- package/types/components/action-bar/ActionBar.d.ts +9 -5
- package/types/components/attachment/Attachment.d.ts +3 -3
- package/types/components/data-item/DataItem.d.ts +30 -5
- package/types/components/data-item/types.d.ts +9 -0
- package/types/components/dialog-form/DialogForm.d.ts +14 -2
- package/types/components/dialog-grid/DialogGrid.d.ts +24 -24
- package/types/components/field/Field.d.ts +1 -2
- package/types/components/form/Form.d.ts +10 -1
- package/types/components/form/types.d.ts +7 -0
- package/types/components/grid/Grid.d.ts +12 -12
- package/types/components/grid/hooks/useLoader.d.ts +12 -12
- package/types/components/grid/hooks/useState.d.ts +12 -12
- package/types/components/mask/Mask.d.ts +9 -5
- package/types/components/query-form/QueryForm.d.ts +42 -6
- package/types/components/tabs/Tabs.d.ts +5 -3
- package/types/utils/util.d.ts +1 -1
- package/types/version.d.ts +2 -2
@@ -6,7 +6,7 @@ import { MenuDataItem } from '../menu';
|
|
6
6
|
import { ActionBarItems } from '../action-bar';
|
7
7
|
import { IconParam } from '../icon';
|
8
8
|
import { ActionMode } from '../action';
|
9
|
-
import { ElTooltipProps, BadgeProps, TooltipTriggerType, ButtonProps } from 'element-plus';
|
9
|
+
import { ElTooltipProps, BadgeProps, TooltipTriggerType, PopperEffect, ButtonProps } from 'element-plus';
|
10
10
|
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
11
11
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
12
12
|
import { BaseSize, BaseType } from '../shared';
|
@@ -131,9 +131,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
131
131
|
dropdown: {
|
132
132
|
type: PropType<Partial< ExtractPropTypes<{
|
133
133
|
readonly trigger: EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
134
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
134
135
|
readonly effect: {
|
135
136
|
readonly default: "light";
|
136
|
-
readonly type: PropType<string
|
137
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
137
138
|
readonly required: false;
|
138
139
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
139
140
|
readonly __epPropKey: true;
|
@@ -220,9 +221,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
220
221
|
dropdown: {
|
221
222
|
type: PropType<Partial< ExtractPropTypes<{
|
222
223
|
readonly trigger: EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
224
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
223
225
|
readonly effect: {
|
224
226
|
readonly default: "light";
|
225
|
-
readonly type: PropType<string
|
227
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
226
228
|
readonly required: false;
|
227
229
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
228
230
|
readonly __epPropKey: true;
|
@@ -364,9 +366,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
364
366
|
dropdown: {
|
365
367
|
type: PropType<Partial< ExtractPropTypes<{
|
366
368
|
readonly trigger: EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
369
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
367
370
|
readonly effect: {
|
368
371
|
readonly default: "light";
|
369
|
-
readonly type: PropType<string
|
372
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
370
373
|
readonly required: false;
|
371
374
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
372
375
|
readonly __epPropKey: true;
|
@@ -453,9 +456,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
453
456
|
dropdown: {
|
454
457
|
type: PropType<Partial< ExtractPropTypes<{
|
455
458
|
readonly trigger: EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
459
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
456
460
|
readonly effect: {
|
457
461
|
readonly default: "light";
|
458
|
-
readonly type: PropType<string
|
462
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
459
463
|
readonly required: false;
|
460
464
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
461
465
|
readonly __epPropKey: true;
|
@@ -18,11 +18,13 @@ declare function __VLS_template(): {
|
|
18
18
|
model: Record<string, any>;
|
19
19
|
submitText: string | null;
|
20
20
|
resetText: string | null;
|
21
|
+
enterSubmit: boolean;
|
21
22
|
}> & Omit<{
|
22
23
|
readonly footer: boolean;
|
23
24
|
readonly inline: boolean;
|
24
25
|
readonly submitText: string | null;
|
25
26
|
readonly resetText: string | null;
|
27
|
+
readonly enterSubmit: boolean;
|
26
28
|
readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
|
27
29
|
readonly model?: Record<string, any> | undefined;
|
28
30
|
readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
|
@@ -30,7 +32,7 @@ declare function __VLS_template(): {
|
|
30
32
|
readonly onReset?: (() => any) | undefined;
|
31
33
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
32
34
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
33
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
35
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit">;
|
34
36
|
$attrs: {
|
35
37
|
[x: string]: unknown;
|
36
38
|
};
|
@@ -75,6 +77,10 @@ declare function __VLS_template(): {
|
|
75
77
|
type: PropType<boolean | Partial< ElTooltipProps>>;
|
76
78
|
default: undefined;
|
77
79
|
};
|
80
|
+
enterSubmit: {
|
81
|
+
type: BooleanConstructor;
|
82
|
+
default: boolean;
|
83
|
+
};
|
78
84
|
}>> & Readonly<{
|
79
85
|
onReset?: (() => any) | undefined;
|
80
86
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
@@ -97,6 +103,7 @@ declare function __VLS_template(): {
|
|
97
103
|
model: Record<string, any>;
|
98
104
|
submitText: string | null;
|
99
105
|
resetText: string | null;
|
106
|
+
enterSubmit: boolean;
|
100
107
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
101
108
|
beforeCreate?: (() => void) | (() => void)[];
|
102
109
|
created?: (() => void) | (() => void)[];
|
@@ -124,6 +131,7 @@ declare function __VLS_template(): {
|
|
124
131
|
model: Record<string, any>;
|
125
132
|
submitText: string | null;
|
126
133
|
resetText: string | null;
|
134
|
+
enterSubmit: boolean;
|
127
135
|
}> & Omit<Readonly< ExtractPropTypes<{
|
128
136
|
model: {
|
129
137
|
type: PropType<Record<string, any>>;
|
@@ -154,11 +162,15 @@ declare function __VLS_template(): {
|
|
154
162
|
type: PropType<boolean | Partial< ElTooltipProps>>;
|
155
163
|
default: undefined;
|
156
164
|
};
|
165
|
+
enterSubmit: {
|
166
|
+
type: BooleanConstructor;
|
167
|
+
default: boolean;
|
168
|
+
};
|
157
169
|
}>> & Readonly<{
|
158
170
|
onReset?: (() => any) | undefined;
|
159
171
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
160
172
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
161
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText")> & ShallowUnwrapRef<{
|
173
|
+
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit")> & ShallowUnwrapRef<{
|
162
174
|
formRef: Ref<any, any>;
|
163
175
|
model: FormModel;
|
164
176
|
submit: () => Promise<void>;
|
@@ -206,11 +218,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
206
218
|
model: Record<string, any>;
|
207
219
|
submitText: string | null;
|
208
220
|
resetText: string | null;
|
221
|
+
enterSubmit: boolean;
|
209
222
|
}> & Omit<{
|
210
223
|
readonly footer: boolean;
|
211
224
|
readonly inline: boolean;
|
212
225
|
readonly submitText: string | null;
|
213
226
|
readonly resetText: string | null;
|
227
|
+
readonly enterSubmit: boolean;
|
214
228
|
readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
|
215
229
|
readonly model?: Record<string, any> | undefined;
|
216
230
|
readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
|
@@ -218,7 +232,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
218
232
|
readonly onReset?: (() => any) | undefined;
|
219
233
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
220
234
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
221
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
235
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit">;
|
222
236
|
$attrs: {
|
223
237
|
[x: string]: unknown;
|
224
238
|
};
|
@@ -263,6 +277,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
263
277
|
type: PropType<boolean | Partial< ElTooltipProps>>;
|
264
278
|
default: undefined;
|
265
279
|
};
|
280
|
+
enterSubmit: {
|
281
|
+
type: BooleanConstructor;
|
282
|
+
default: boolean;
|
283
|
+
};
|
266
284
|
}>> & Readonly<{
|
267
285
|
onReset?: (() => any) | undefined;
|
268
286
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
@@ -285,6 +303,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
285
303
|
model: Record<string, any>;
|
286
304
|
submitText: string | null;
|
287
305
|
resetText: string | null;
|
306
|
+
enterSubmit: boolean;
|
288
307
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
289
308
|
beforeCreate?: (() => void) | (() => void)[];
|
290
309
|
created?: (() => void) | (() => void)[];
|
@@ -312,6 +331,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
312
331
|
model: Record<string, any>;
|
313
332
|
submitText: string | null;
|
314
333
|
resetText: string | null;
|
334
|
+
enterSubmit: boolean;
|
315
335
|
}> & Omit<Readonly< ExtractPropTypes<{
|
316
336
|
model: {
|
317
337
|
type: PropType<Record<string, any>>;
|
@@ -342,11 +362,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
342
362
|
type: PropType<boolean | Partial< ElTooltipProps>>;
|
343
363
|
default: undefined;
|
344
364
|
};
|
365
|
+
enterSubmit: {
|
366
|
+
type: BooleanConstructor;
|
367
|
+
default: boolean;
|
368
|
+
};
|
345
369
|
}>> & Readonly<{
|
346
370
|
onReset?: (() => any) | undefined;
|
347
371
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
348
372
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
349
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText")> & ShallowUnwrapRef<{
|
373
|
+
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit")> & ShallowUnwrapRef<{
|
350
374
|
formRef: Ref<any, any>;
|
351
375
|
model: FormModel;
|
352
376
|
submit: () => Promise<void>;
|
@@ -369,11 +393,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
369
393
|
model: Record<string, any>;
|
370
394
|
submitText: string | null;
|
371
395
|
resetText: string | null;
|
396
|
+
enterSubmit: boolean;
|
372
397
|
}> & Omit<{
|
373
398
|
readonly footer: boolean;
|
374
399
|
readonly inline: boolean;
|
375
400
|
readonly submitText: string | null;
|
376
401
|
readonly resetText: string | null;
|
402
|
+
readonly enterSubmit: boolean;
|
377
403
|
readonly tooltipMessage?: boolean | Partial< ElTooltipProps> | undefined;
|
378
404
|
readonly model?: Record<string, any> | undefined;
|
379
405
|
readonly submitMethod?: ((model: FormModel) => Promise<any>) | undefined;
|
@@ -381,7 +407,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
381
407
|
readonly onReset?: (() => any) | undefined;
|
382
408
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
383
409
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
384
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
410
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit">;
|
385
411
|
$attrs: {
|
386
412
|
[x: string]: unknown;
|
387
413
|
};
|
@@ -426,6 +452,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
426
452
|
type: PropType<boolean | Partial< ElTooltipProps>>;
|
427
453
|
default: undefined;
|
428
454
|
};
|
455
|
+
enterSubmit: {
|
456
|
+
type: BooleanConstructor;
|
457
|
+
default: boolean;
|
458
|
+
};
|
429
459
|
}>> & Readonly<{
|
430
460
|
onReset?: (() => any) | undefined;
|
431
461
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
@@ -448,6 +478,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
448
478
|
model: Record<string, any>;
|
449
479
|
submitText: string | null;
|
450
480
|
resetText: string | null;
|
481
|
+
enterSubmit: boolean;
|
451
482
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
452
483
|
beforeCreate?: (() => void) | (() => void)[];
|
453
484
|
created?: (() => void) | (() => void)[];
|
@@ -475,6 +506,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
475
506
|
model: Record<string, any>;
|
476
507
|
submitText: string | null;
|
477
508
|
resetText: string | null;
|
509
|
+
enterSubmit: boolean;
|
478
510
|
}> & Omit<Readonly< ExtractPropTypes<{
|
479
511
|
model: {
|
480
512
|
type: PropType<Record<string, any>>;
|
@@ -505,11 +537,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
505
537
|
type: PropType<boolean | Partial< ElTooltipProps>>;
|
506
538
|
default: undefined;
|
507
539
|
};
|
540
|
+
enterSubmit: {
|
541
|
+
type: BooleanConstructor;
|
542
|
+
default: boolean;
|
543
|
+
};
|
508
544
|
}>> & Readonly<{
|
509
545
|
onReset?: (() => any) | undefined;
|
510
546
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
511
547
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
512
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText")> & ShallowUnwrapRef<{
|
548
|
+
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit")> & ShallowUnwrapRef<{
|
513
549
|
formRef: Ref<any, any>;
|
514
550
|
model: FormModel;
|
515
551
|
submit: () => Promise<void>;
|
@@ -3,7 +3,7 @@ import { TabsItem } from './types';
|
|
3
3
|
import { IconParam } from '../icon';
|
4
4
|
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
5
5
|
import { ActionMode } from '../action';
|
6
|
-
import { ElTooltipProps, BadgeProps, TooltipTriggerType, ButtonProps } from 'element-plus';
|
6
|
+
import { ElTooltipProps, BadgeProps, TooltipTriggerType, PopperEffect, ButtonProps } from 'element-plus';
|
7
7
|
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
8
8
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
9
9
|
import { BaseSize, BaseType } from '../shared';
|
@@ -101,9 +101,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
101
101
|
dropdown: {
|
102
102
|
type: PropType<Partial< ExtractPropTypes<{
|
103
103
|
readonly trigger: EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
104
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
104
105
|
readonly effect: {
|
105
106
|
readonly default: "light";
|
106
|
-
readonly type: PropType<string
|
107
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
107
108
|
readonly required: false;
|
108
109
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
109
110
|
readonly __epPropKey: true;
|
@@ -206,9 +207,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
206
207
|
dropdown: {
|
207
208
|
type: PropType<Partial< ExtractPropTypes<{
|
208
209
|
readonly trigger: EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
210
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
209
211
|
readonly effect: {
|
210
212
|
readonly default: "light";
|
211
|
-
readonly type: PropType<string
|
213
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
212
214
|
readonly required: false;
|
213
215
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
214
216
|
readonly __epPropKey: true;
|
package/types/utils/util.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
export declare function getSizeValue(value: string | number): string;
|
2
|
-
export declare function parseSize(size:
|
2
|
+
export declare function parseSize(size: string | number | undefined, max: number): number;
|
3
3
|
export declare function toObjectProps<T extends Record<string, any>>(value?: boolean | T, defaultValue?: T): T;
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/ui
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.9.0-alpha.
|
5
|
+
* @version 0.9.0-alpha.49
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.9.0-alpha.
|
8
|
+
export declare const version = "0.9.0-alpha.49";
|