@vtj/ui 0.13.31 → 0.13.32
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 +4 -4
- package/dist/index.umd.js +3 -3
- package/package.json +3 -3
- package/types/components/action/Action.d.ts +175 -19
- package/types/components/action/hooks.d.ts +30 -4
- package/types/components/action-bar/ActionBar.d.ts +117 -13
- package/types/components/data-item/DataItem.d.ts +117 -13
- package/types/components/grid/renderers/components/GridEdit.d.ts +43 -3
- package/types/components/grid-editor/GridEditor.d.ts +43 -3
- package/types/components/mask/Mask.d.ts +117 -13
- package/types/components/tabs/Tabs.d.ts +59 -7
- package/types/version.d.ts +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VxeGlobalRendererHandles } from '../../types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, StyleValue, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { GridEditorProps } from '../../..';
|
|
4
|
-
import { InputAutoSize } from 'element-plus';
|
|
4
|
+
import { InputModelModifiers, InputAutoSize } from 'element-plus';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
6
6
|
export interface Props {
|
|
7
7
|
params: VxeGlobalRendererHandles.RenderEditParams;
|
|
@@ -33,8 +33,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
33
33
|
readonly type: string;
|
|
34
34
|
readonly modelValue: string | number | null | undefined;
|
|
35
35
|
readonly readonly: boolean;
|
|
36
|
+
readonly modelModifiers: InputModelModifiers;
|
|
36
37
|
readonly autosize: InputAutoSize;
|
|
37
38
|
readonly autocomplete: AutoFill;
|
|
39
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
38
40
|
readonly containerRole: string;
|
|
39
41
|
readonly validateEvent: boolean;
|
|
40
42
|
readonly inputStyle: StyleValue;
|
|
@@ -51,12 +53,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
51
53
|
readonly autofocus: boolean;
|
|
52
54
|
readonly modelValue: string | number | null;
|
|
53
55
|
readonly validateEvent: boolean;
|
|
56
|
+
readonly modelModifiers: InputModelModifiers;
|
|
54
57
|
readonly autosize: InputAutoSize;
|
|
55
58
|
readonly autocomplete: AutoFill;
|
|
56
59
|
readonly readonly: boolean;
|
|
57
60
|
readonly clearable: boolean;
|
|
58
61
|
readonly showPassword: boolean;
|
|
59
62
|
readonly showWordLimit: boolean;
|
|
63
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
60
64
|
readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
61
65
|
readonly rows: number;
|
|
62
66
|
readonly size?: ("" | "large" | "default" | "small") | undefined;
|
|
@@ -87,7 +91,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
87
91
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
88
92
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
89
93
|
onClear?: (() => any) | undefined | undefined;
|
|
90
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "id" | "tabindex" | "autofocus" | "modelValue" | "validateEvent" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">;
|
|
94
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "id" | "tabindex" | "autofocus" | "modelValue" | "validateEvent" | "inputmode" | "modelModifiers" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "wordLimitPosition" | "containerRole" | "inputStyle" | "rows">;
|
|
91
95
|
$attrs: {
|
|
92
96
|
[x: string]: unknown;
|
|
93
97
|
};
|
|
@@ -136,6 +140,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
136
140
|
} & {
|
|
137
141
|
readonly default: "";
|
|
138
142
|
};
|
|
143
|
+
readonly modelModifiers: {
|
|
144
|
+
readonly type: PropType<InputModelModifiers>;
|
|
145
|
+
readonly required: false;
|
|
146
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
+
__epPropKey: true;
|
|
148
|
+
} & {
|
|
149
|
+
readonly default: () => {};
|
|
150
|
+
};
|
|
139
151
|
readonly maxlength: {
|
|
140
152
|
readonly type: PropType<string | number>;
|
|
141
153
|
readonly required: false;
|
|
@@ -212,6 +224,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
212
224
|
};
|
|
213
225
|
readonly showPassword: BooleanConstructor;
|
|
214
226
|
readonly showWordLimit: BooleanConstructor;
|
|
227
|
+
readonly wordLimitPosition: {
|
|
228
|
+
readonly type: PropType<"inside" | "outside">;
|
|
229
|
+
readonly required: false;
|
|
230
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
231
|
+
__epPropKey: true;
|
|
232
|
+
} & {
|
|
233
|
+
readonly default: "inside";
|
|
234
|
+
};
|
|
215
235
|
readonly suffixIcon: {
|
|
216
236
|
readonly type: PropType<string | Component>;
|
|
217
237
|
readonly required: false;
|
|
@@ -310,8 +330,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
310
330
|
readonly type: string;
|
|
311
331
|
readonly modelValue: string | number | null | undefined;
|
|
312
332
|
readonly readonly: boolean;
|
|
333
|
+
readonly modelModifiers: InputModelModifiers;
|
|
313
334
|
readonly autosize: InputAutoSize;
|
|
314
335
|
readonly autocomplete: AutoFill;
|
|
336
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
315
337
|
readonly containerRole: string;
|
|
316
338
|
readonly validateEvent: boolean;
|
|
317
339
|
readonly inputStyle: StyleValue;
|
|
@@ -348,8 +370,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
348
370
|
readonly type: string;
|
|
349
371
|
readonly modelValue: string | number | null | undefined;
|
|
350
372
|
readonly readonly: boolean;
|
|
373
|
+
readonly modelModifiers: InputModelModifiers;
|
|
351
374
|
readonly autosize: InputAutoSize;
|
|
352
375
|
readonly autocomplete: AutoFill;
|
|
376
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
353
377
|
readonly containerRole: string;
|
|
354
378
|
readonly validateEvent: boolean;
|
|
355
379
|
readonly inputStyle: StyleValue;
|
|
@@ -393,6 +417,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
393
417
|
} & {
|
|
394
418
|
readonly default: "";
|
|
395
419
|
};
|
|
420
|
+
readonly modelModifiers: {
|
|
421
|
+
readonly type: PropType<InputModelModifiers>;
|
|
422
|
+
readonly required: false;
|
|
423
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
424
|
+
__epPropKey: true;
|
|
425
|
+
} & {
|
|
426
|
+
readonly default: () => {};
|
|
427
|
+
};
|
|
396
428
|
readonly maxlength: {
|
|
397
429
|
readonly type: PropType<string | number>;
|
|
398
430
|
readonly required: false;
|
|
@@ -469,6 +501,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
469
501
|
};
|
|
470
502
|
readonly showPassword: BooleanConstructor;
|
|
471
503
|
readonly showWordLimit: BooleanConstructor;
|
|
504
|
+
readonly wordLimitPosition: {
|
|
505
|
+
readonly type: PropType<"inside" | "outside">;
|
|
506
|
+
readonly required: false;
|
|
507
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
508
|
+
__epPropKey: true;
|
|
509
|
+
} & {
|
|
510
|
+
readonly default: "inside";
|
|
511
|
+
};
|
|
472
512
|
readonly suffixIcon: {
|
|
473
513
|
readonly type: PropType<string | Component>;
|
|
474
514
|
readonly required: false;
|
|
@@ -535,7 +575,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
535
575
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
536
576
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
537
577
|
onClear?: (() => any) | undefined;
|
|
538
|
-
}, "clear" | "type" | "disabled" | "ref" | "input" | "select" | "textarea" | "id" | "tabindex" | "focus" | "autofocus" | "blur" | "modelValue" | "validateEvent" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & ShallowUnwrapRef<{
|
|
578
|
+
}, "clear" | "type" | "disabled" | "ref" | "input" | "select" | "textarea" | "id" | "tabindex" | "focus" | "autofocus" | "blur" | "modelValue" | "validateEvent" | "inputmode" | "modelModifiers" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "wordLimitPosition" | "containerRole" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & ShallowUnwrapRef<{
|
|
539
579
|
input: ShallowRef<HTMLInputElement | undefined>;
|
|
540
580
|
textarea: ShallowRef<HTMLTextAreaElement | undefined>;
|
|
541
581
|
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GridEditorProps } from './types';
|
|
2
2
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
-
import { InputAutoSize } from 'element-plus';
|
|
3
|
+
import { InputModelModifiers, InputAutoSize } from 'element-plus';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
5
5
|
declare const _default: DefineComponent<GridEditorProps, {
|
|
6
6
|
open: () => void;
|
|
@@ -27,8 +27,10 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
27
27
|
readonly type: string;
|
|
28
28
|
readonly modelValue: string | number | null | undefined;
|
|
29
29
|
readonly readonly: boolean;
|
|
30
|
+
readonly modelModifiers: InputModelModifiers;
|
|
30
31
|
readonly autosize: InputAutoSize;
|
|
31
32
|
readonly autocomplete: AutoFill;
|
|
33
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
32
34
|
readonly containerRole: string;
|
|
33
35
|
readonly validateEvent: boolean;
|
|
34
36
|
readonly inputStyle: StyleValue;
|
|
@@ -45,12 +47,14 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
45
47
|
readonly autofocus: boolean;
|
|
46
48
|
readonly modelValue: string | number | null;
|
|
47
49
|
readonly validateEvent: boolean;
|
|
50
|
+
readonly modelModifiers: InputModelModifiers;
|
|
48
51
|
readonly autosize: InputAutoSize;
|
|
49
52
|
readonly autocomplete: AutoFill;
|
|
50
53
|
readonly readonly: boolean;
|
|
51
54
|
readonly clearable: boolean;
|
|
52
55
|
readonly showPassword: boolean;
|
|
53
56
|
readonly showWordLimit: boolean;
|
|
57
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
54
58
|
readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
55
59
|
readonly rows: number;
|
|
56
60
|
readonly size?: ("" | "large" | "default" | "small") | undefined;
|
|
@@ -81,7 +85,7 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
81
85
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
82
86
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
83
87
|
onClear?: (() => any) | undefined | undefined;
|
|
84
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "id" | "tabindex" | "autofocus" | "modelValue" | "validateEvent" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">;
|
|
88
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "disabled" | "id" | "tabindex" | "autofocus" | "modelValue" | "validateEvent" | "inputmode" | "modelModifiers" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "wordLimitPosition" | "containerRole" | "inputStyle" | "rows">;
|
|
85
89
|
$attrs: {
|
|
86
90
|
[x: string]: unknown;
|
|
87
91
|
};
|
|
@@ -130,6 +134,14 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
130
134
|
} & {
|
|
131
135
|
readonly default: "";
|
|
132
136
|
};
|
|
137
|
+
readonly modelModifiers: {
|
|
138
|
+
readonly type: PropType<InputModelModifiers>;
|
|
139
|
+
readonly required: false;
|
|
140
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
141
|
+
__epPropKey: true;
|
|
142
|
+
} & {
|
|
143
|
+
readonly default: () => {};
|
|
144
|
+
};
|
|
133
145
|
readonly maxlength: {
|
|
134
146
|
readonly type: PropType<string | number>;
|
|
135
147
|
readonly required: false;
|
|
@@ -206,6 +218,14 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
206
218
|
};
|
|
207
219
|
readonly showPassword: BooleanConstructor;
|
|
208
220
|
readonly showWordLimit: BooleanConstructor;
|
|
221
|
+
readonly wordLimitPosition: {
|
|
222
|
+
readonly type: PropType<"inside" | "outside">;
|
|
223
|
+
readonly required: false;
|
|
224
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
225
|
+
__epPropKey: true;
|
|
226
|
+
} & {
|
|
227
|
+
readonly default: "inside";
|
|
228
|
+
};
|
|
209
229
|
readonly suffixIcon: {
|
|
210
230
|
readonly type: PropType<string | Component>;
|
|
211
231
|
readonly required: false;
|
|
@@ -304,8 +324,10 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
304
324
|
readonly type: string;
|
|
305
325
|
readonly modelValue: string | number | null | undefined;
|
|
306
326
|
readonly readonly: boolean;
|
|
327
|
+
readonly modelModifiers: InputModelModifiers;
|
|
307
328
|
readonly autosize: InputAutoSize;
|
|
308
329
|
readonly autocomplete: AutoFill;
|
|
330
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
309
331
|
readonly containerRole: string;
|
|
310
332
|
readonly validateEvent: boolean;
|
|
311
333
|
readonly inputStyle: StyleValue;
|
|
@@ -342,8 +364,10 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
342
364
|
readonly type: string;
|
|
343
365
|
readonly modelValue: string | number | null | undefined;
|
|
344
366
|
readonly readonly: boolean;
|
|
367
|
+
readonly modelModifiers: InputModelModifiers;
|
|
345
368
|
readonly autosize: InputAutoSize;
|
|
346
369
|
readonly autocomplete: AutoFill;
|
|
370
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
347
371
|
readonly containerRole: string;
|
|
348
372
|
readonly validateEvent: boolean;
|
|
349
373
|
readonly inputStyle: StyleValue;
|
|
@@ -387,6 +411,14 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
387
411
|
} & {
|
|
388
412
|
readonly default: "";
|
|
389
413
|
};
|
|
414
|
+
readonly modelModifiers: {
|
|
415
|
+
readonly type: PropType<InputModelModifiers>;
|
|
416
|
+
readonly required: false;
|
|
417
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
418
|
+
__epPropKey: true;
|
|
419
|
+
} & {
|
|
420
|
+
readonly default: () => {};
|
|
421
|
+
};
|
|
390
422
|
readonly maxlength: {
|
|
391
423
|
readonly type: PropType<string | number>;
|
|
392
424
|
readonly required: false;
|
|
@@ -463,6 +495,14 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
463
495
|
};
|
|
464
496
|
readonly showPassword: BooleanConstructor;
|
|
465
497
|
readonly showWordLimit: BooleanConstructor;
|
|
498
|
+
readonly wordLimitPosition: {
|
|
499
|
+
readonly type: PropType<"inside" | "outside">;
|
|
500
|
+
readonly required: false;
|
|
501
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
502
|
+
__epPropKey: true;
|
|
503
|
+
} & {
|
|
504
|
+
readonly default: "inside";
|
|
505
|
+
};
|
|
466
506
|
readonly suffixIcon: {
|
|
467
507
|
readonly type: PropType<string | Component>;
|
|
468
508
|
readonly required: false;
|
|
@@ -529,7 +569,7 @@ declare const _default: DefineComponent<GridEditorProps, {
|
|
|
529
569
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
530
570
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
531
571
|
onClear?: (() => any) | undefined;
|
|
532
|
-
}, "clear" | "type" | "disabled" | "ref" | "input" | "select" | "textarea" | "id" | "tabindex" | "focus" | "autofocus" | "blur" | "modelValue" | "validateEvent" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & ShallowUnwrapRef<{
|
|
572
|
+
}, "clear" | "type" | "disabled" | "ref" | "input" | "select" | "textarea" | "id" | "tabindex" | "focus" | "autofocus" | "blur" | "modelValue" | "validateEvent" | "inputmode" | "modelModifiers" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "wordLimitPosition" | "containerRole" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & ShallowUnwrapRef<{
|
|
533
573
|
input: ShallowRef<HTMLInputElement | undefined>;
|
|
534
574
|
textarea: ShallowRef<HTMLTextAreaElement | undefined>;
|
|
535
575
|
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionMenuItem } from '../';
|
|
2
2
|
import { MaskTab } from './types';
|
|
3
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
3
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, StyleValue } from 'vue';
|
|
4
4
|
import { Props } from './components/Tabs';
|
|
5
5
|
import { MenuDataItem } from '../menu';
|
|
6
6
|
import { ContainerWrap, ContainerDirection, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '../container';
|
|
@@ -501,12 +501,38 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
501
501
|
readonly default: "";
|
|
502
502
|
};
|
|
503
503
|
readonly popperClass: {
|
|
504
|
-
readonly type: PropType<string
|
|
504
|
+
readonly type: PropType<string | {
|
|
505
|
+
[x: string]: boolean;
|
|
506
|
+
} | (string | {
|
|
507
|
+
[x: string]: boolean;
|
|
508
|
+
} | (string | {
|
|
509
|
+
[x: string]: boolean;
|
|
510
|
+
} | (string | {
|
|
511
|
+
[x: string]: boolean;
|
|
512
|
+
} | (string | {
|
|
513
|
+
[x: string]: boolean;
|
|
514
|
+
} | (string | {
|
|
515
|
+
[x: string]: boolean;
|
|
516
|
+
} | (string | {
|
|
517
|
+
[x: string]: boolean;
|
|
518
|
+
} | (string | {
|
|
519
|
+
[x: string]: boolean;
|
|
520
|
+
} | (string | {
|
|
521
|
+
[x: string]: boolean;
|
|
522
|
+
} | (string | {
|
|
523
|
+
[x: string]: boolean;
|
|
524
|
+
} | (string | any[] | {
|
|
525
|
+
[x: string]: boolean;
|
|
526
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
527
|
+
readonly required: false;
|
|
528
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
529
|
+
__epPropKey: true;
|
|
530
|
+
};
|
|
531
|
+
readonly popperStyle: {
|
|
532
|
+
readonly type: PropType<StyleValue>;
|
|
505
533
|
readonly required: false;
|
|
506
534
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
507
535
|
__epPropKey: true;
|
|
508
|
-
} & {
|
|
509
|
-
readonly default: "";
|
|
510
536
|
};
|
|
511
537
|
readonly disabled: BooleanConstructor;
|
|
512
538
|
readonly role: {
|
|
@@ -715,12 +741,38 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
715
741
|
readonly default: "";
|
|
716
742
|
};
|
|
717
743
|
readonly popperClass: {
|
|
718
|
-
readonly type: PropType<string
|
|
744
|
+
readonly type: PropType<string | {
|
|
745
|
+
[x: string]: boolean;
|
|
746
|
+
} | (string | {
|
|
747
|
+
[x: string]: boolean;
|
|
748
|
+
} | (string | {
|
|
749
|
+
[x: string]: boolean;
|
|
750
|
+
} | (string | {
|
|
751
|
+
[x: string]: boolean;
|
|
752
|
+
} | (string | {
|
|
753
|
+
[x: string]: boolean;
|
|
754
|
+
} | (string | {
|
|
755
|
+
[x: string]: boolean;
|
|
756
|
+
} | (string | {
|
|
757
|
+
[x: string]: boolean;
|
|
758
|
+
} | (string | {
|
|
759
|
+
[x: string]: boolean;
|
|
760
|
+
} | (string | {
|
|
761
|
+
[x: string]: boolean;
|
|
762
|
+
} | (string | {
|
|
763
|
+
[x: string]: boolean;
|
|
764
|
+
} | (string | any[] | {
|
|
765
|
+
[x: string]: boolean;
|
|
766
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
767
|
+
readonly required: false;
|
|
768
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
769
|
+
__epPropKey: true;
|
|
770
|
+
};
|
|
771
|
+
readonly popperStyle: {
|
|
772
|
+
readonly type: PropType<StyleValue>;
|
|
719
773
|
readonly required: false;
|
|
720
774
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
721
775
|
__epPropKey: true;
|
|
722
|
-
} & {
|
|
723
|
-
readonly default: "";
|
|
724
776
|
};
|
|
725
777
|
readonly disabled: BooleanConstructor;
|
|
726
778
|
readonly role: {
|
|
@@ -984,12 +1036,38 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
984
1036
|
readonly default: "";
|
|
985
1037
|
};
|
|
986
1038
|
readonly popperClass: {
|
|
987
|
-
readonly type: PropType<string
|
|
1039
|
+
readonly type: PropType<string | {
|
|
1040
|
+
[x: string]: boolean;
|
|
1041
|
+
} | (string | {
|
|
1042
|
+
[x: string]: boolean;
|
|
1043
|
+
} | (string | {
|
|
1044
|
+
[x: string]: boolean;
|
|
1045
|
+
} | (string | {
|
|
1046
|
+
[x: string]: boolean;
|
|
1047
|
+
} | (string | {
|
|
1048
|
+
[x: string]: boolean;
|
|
1049
|
+
} | (string | {
|
|
1050
|
+
[x: string]: boolean;
|
|
1051
|
+
} | (string | {
|
|
1052
|
+
[x: string]: boolean;
|
|
1053
|
+
} | (string | {
|
|
1054
|
+
[x: string]: boolean;
|
|
1055
|
+
} | (string | {
|
|
1056
|
+
[x: string]: boolean;
|
|
1057
|
+
} | (string | {
|
|
1058
|
+
[x: string]: boolean;
|
|
1059
|
+
} | (string | any[] | {
|
|
1060
|
+
[x: string]: boolean;
|
|
1061
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
1062
|
+
readonly required: false;
|
|
1063
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1064
|
+
__epPropKey: true;
|
|
1065
|
+
};
|
|
1066
|
+
readonly popperStyle: {
|
|
1067
|
+
readonly type: PropType<StyleValue>;
|
|
988
1068
|
readonly required: false;
|
|
989
1069
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
990
1070
|
__epPropKey: true;
|
|
991
|
-
} & {
|
|
992
|
-
readonly default: "";
|
|
993
1071
|
};
|
|
994
1072
|
readonly disabled: BooleanConstructor;
|
|
995
1073
|
readonly role: {
|
|
@@ -1198,12 +1276,38 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
1198
1276
|
readonly default: "";
|
|
1199
1277
|
};
|
|
1200
1278
|
readonly popperClass: {
|
|
1201
|
-
readonly type: PropType<string
|
|
1279
|
+
readonly type: PropType<string | {
|
|
1280
|
+
[x: string]: boolean;
|
|
1281
|
+
} | (string | {
|
|
1282
|
+
[x: string]: boolean;
|
|
1283
|
+
} | (string | {
|
|
1284
|
+
[x: string]: boolean;
|
|
1285
|
+
} | (string | {
|
|
1286
|
+
[x: string]: boolean;
|
|
1287
|
+
} | (string | {
|
|
1288
|
+
[x: string]: boolean;
|
|
1289
|
+
} | (string | {
|
|
1290
|
+
[x: string]: boolean;
|
|
1291
|
+
} | (string | {
|
|
1292
|
+
[x: string]: boolean;
|
|
1293
|
+
} | (string | {
|
|
1294
|
+
[x: string]: boolean;
|
|
1295
|
+
} | (string | {
|
|
1296
|
+
[x: string]: boolean;
|
|
1297
|
+
} | (string | {
|
|
1298
|
+
[x: string]: boolean;
|
|
1299
|
+
} | (string | any[] | {
|
|
1300
|
+
[x: string]: boolean;
|
|
1301
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
1302
|
+
readonly required: false;
|
|
1303
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1304
|
+
__epPropKey: true;
|
|
1305
|
+
};
|
|
1306
|
+
readonly popperStyle: {
|
|
1307
|
+
readonly type: PropType<StyleValue>;
|
|
1202
1308
|
readonly required: false;
|
|
1203
1309
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1204
1310
|
__epPropKey: true;
|
|
1205
|
-
} & {
|
|
1206
|
-
readonly default: "";
|
|
1207
1311
|
};
|
|
1208
1312
|
readonly disabled: BooleanConstructor;
|
|
1209
1313
|
readonly role: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ActionProps, ActionMenuItem } from '../';
|
|
2
2
|
import { TabsItem } from './types';
|
|
3
3
|
import { IconParam } from '../icon';
|
|
4
|
-
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, StyleValue, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
5
|
import { ActionMode } from '../action';
|
|
6
6
|
import { ElTooltipProps, BadgeProps, TooltipTriggerType, Measurable, PopperEffect, ButtonProps } from 'element-plus';
|
|
7
7
|
import { BaseSize, BaseType } from '../shared';
|
|
@@ -218,12 +218,38 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
218
218
|
readonly default: "";
|
|
219
219
|
};
|
|
220
220
|
readonly popperClass: {
|
|
221
|
-
readonly type: PropType<string
|
|
221
|
+
readonly type: PropType<string | {
|
|
222
|
+
[x: string]: boolean;
|
|
223
|
+
} | (string | {
|
|
224
|
+
[x: string]: boolean;
|
|
225
|
+
} | (string | {
|
|
226
|
+
[x: string]: boolean;
|
|
227
|
+
} | (string | {
|
|
228
|
+
[x: string]: boolean;
|
|
229
|
+
} | (string | {
|
|
230
|
+
[x: string]: boolean;
|
|
231
|
+
} | (string | {
|
|
232
|
+
[x: string]: boolean;
|
|
233
|
+
} | (string | {
|
|
234
|
+
[x: string]: boolean;
|
|
235
|
+
} | (string | {
|
|
236
|
+
[x: string]: boolean;
|
|
237
|
+
} | (string | {
|
|
238
|
+
[x: string]: boolean;
|
|
239
|
+
} | (string | {
|
|
240
|
+
[x: string]: boolean;
|
|
241
|
+
} | (string | any[] | {
|
|
242
|
+
[x: string]: boolean;
|
|
243
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
244
|
+
readonly required: false;
|
|
245
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
|
+
__epPropKey: true;
|
|
247
|
+
};
|
|
248
|
+
readonly popperStyle: {
|
|
249
|
+
readonly type: PropType<StyleValue>;
|
|
222
250
|
readonly required: false;
|
|
223
251
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
224
252
|
__epPropKey: true;
|
|
225
|
-
} & {
|
|
226
|
-
readonly default: "";
|
|
227
253
|
};
|
|
228
254
|
readonly disabled: BooleanConstructor;
|
|
229
255
|
readonly role: {
|
|
@@ -448,12 +474,38 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
448
474
|
readonly default: "";
|
|
449
475
|
};
|
|
450
476
|
readonly popperClass: {
|
|
451
|
-
readonly type: PropType<string
|
|
477
|
+
readonly type: PropType<string | {
|
|
478
|
+
[x: string]: boolean;
|
|
479
|
+
} | (string | {
|
|
480
|
+
[x: string]: boolean;
|
|
481
|
+
} | (string | {
|
|
482
|
+
[x: string]: boolean;
|
|
483
|
+
} | (string | {
|
|
484
|
+
[x: string]: boolean;
|
|
485
|
+
} | (string | {
|
|
486
|
+
[x: string]: boolean;
|
|
487
|
+
} | (string | {
|
|
488
|
+
[x: string]: boolean;
|
|
489
|
+
} | (string | {
|
|
490
|
+
[x: string]: boolean;
|
|
491
|
+
} | (string | {
|
|
492
|
+
[x: string]: boolean;
|
|
493
|
+
} | (string | {
|
|
494
|
+
[x: string]: boolean;
|
|
495
|
+
} | (string | {
|
|
496
|
+
[x: string]: boolean;
|
|
497
|
+
} | (string | any[] | {
|
|
498
|
+
[x: string]: boolean;
|
|
499
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
500
|
+
readonly required: false;
|
|
501
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
502
|
+
__epPropKey: true;
|
|
503
|
+
};
|
|
504
|
+
readonly popperStyle: {
|
|
505
|
+
readonly type: PropType<StyleValue>;
|
|
452
506
|
readonly required: false;
|
|
453
507
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
454
508
|
__epPropKey: true;
|
|
455
|
-
} & {
|
|
456
|
-
readonly default: "";
|
|
457
509
|
};
|
|
458
510
|
readonly disabled: BooleanConstructor;
|
|
459
511
|
readonly role: {
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/ui
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.13.
|
|
5
|
+
* @version 0.13.31
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.13.
|
|
8
|
+
export declare const version = "0.13.31";
|