@vtj/designer 0.13.18 → 0.13.19
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/Editor-8RJefU0w.js +4 -0
- package/dist/{index-DOGS-4QF.js → index-CppPjCfT.js} +5 -3
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
- package/types/components/shared/binder.d.ts +4 -4
- package/types/components/shared/panel.d.ts +6 -6
- package/types/components/shared/viewer.d.ts +305 -305
- package/types/components/widgets/ai/index.d.ts +3 -3
- package/types/components/widgets/ai/json-input.d.ts +10 -10
- package/types/components/widgets/apis/form.d.ts +2 -2
- package/types/components/widgets/docs/index.d.ts +3 -3
- package/types/components/widgets/index.d.ts +9 -9
- package/types/components/widgets/market/index.d.ts +3 -3
- package/types/components/widgets/scripts/group.d.ts +16 -16
- package/types/utils.d.ts +6 -2
- package/types/version.d.ts +2 -2
- package/dist/Editor-C46Axool.js +0 -4
@@ -42,8 +42,8 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
42
42
|
card: boolean;
|
43
43
|
}> & Omit<{
|
44
44
|
readonly radius: boolean;
|
45
|
-
readonly fit: boolean;
|
46
45
|
readonly border: boolean;
|
46
|
+
readonly fit: boolean;
|
47
47
|
readonly card: boolean;
|
48
48
|
readonly size?: BaseSize | undefined;
|
49
49
|
readonly height?: string | number | undefined;
|
@@ -208,7 +208,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
208
208
|
};
|
209
209
|
}>>> | null | undefined;
|
210
210
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
211
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
211
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
212
212
|
$attrs: {
|
213
213
|
[x: string]: unknown;
|
214
214
|
};
|
@@ -586,7 +586,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
586
586
|
footer: {
|
587
587
|
type: PropType<ContainerProps>;
|
588
588
|
};
|
589
|
-
}>> & Readonly<{}>, "radius" | "
|
589
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
590
590
|
bodyRef: Ref<any, any>;
|
591
591
|
}> & {} & ComponentCustomProperties & {} & {
|
592
592
|
$slots: {
|
@@ -14,13 +14,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
14
14
|
$data: {};
|
15
15
|
$props: Partial<{
|
16
16
|
readonly disabled: boolean;
|
17
|
+
readonly tabindex: string | number;
|
17
18
|
readonly id: string;
|
18
19
|
readonly type: string;
|
19
20
|
readonly modelValue: string | number | null | undefined;
|
20
|
-
readonly tabindex: string | number;
|
21
21
|
readonly readonly: boolean;
|
22
22
|
readonly autosize: InputAutoSize;
|
23
|
-
readonly autocomplete:
|
23
|
+
readonly autocomplete: AutoFill;
|
24
24
|
readonly containerRole: string;
|
25
25
|
readonly validateEvent: boolean;
|
26
26
|
readonly inputStyle: StyleValue;
|
@@ -37,7 +37,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
37
37
|
readonly tabindex: string | number;
|
38
38
|
readonly autofocus: boolean;
|
39
39
|
readonly autosize: InputAutoSize;
|
40
|
-
readonly autocomplete:
|
40
|
+
readonly autocomplete: AutoFill;
|
41
41
|
readonly readonly: boolean;
|
42
42
|
readonly clearable: boolean;
|
43
43
|
readonly showPassword: boolean;
|
@@ -157,7 +157,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
157
157
|
readonly default: false;
|
158
158
|
};
|
159
159
|
readonly autocomplete: {
|
160
|
-
readonly type: PropType<
|
160
|
+
readonly type: PropType<AutoFill>;
|
161
161
|
readonly required: false;
|
162
162
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
163
163
|
__epPropKey: true;
|
@@ -278,6 +278,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
278
278
|
resizeTextarea: () => void;
|
279
279
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
280
280
|
input: (value: string) => void;
|
281
|
+
focus: (evt: FocusEvent) => void;
|
281
282
|
clear: () => void;
|
282
283
|
"update:modelValue": (value: string) => void;
|
283
284
|
change: (value: string) => void;
|
@@ -285,19 +286,18 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
285
286
|
compositionend: (evt: CompositionEvent) => void;
|
286
287
|
compositionstart: (evt: CompositionEvent) => void;
|
287
288
|
compositionupdate: (evt: CompositionEvent) => void;
|
288
|
-
focus: (evt: FocusEvent) => void;
|
289
289
|
keydown: (evt: Event | KeyboardEvent) => void;
|
290
290
|
mouseenter: (evt: MouseEvent) => void;
|
291
291
|
mouseleave: (evt: MouseEvent) => void;
|
292
292
|
}, string, {
|
293
293
|
readonly disabled: boolean;
|
294
|
+
readonly tabindex: string | number;
|
294
295
|
readonly id: string;
|
295
296
|
readonly type: string;
|
296
297
|
readonly modelValue: string | number | null | undefined;
|
297
|
-
readonly tabindex: string | number;
|
298
298
|
readonly readonly: boolean;
|
299
299
|
readonly autosize: InputAutoSize;
|
300
|
-
readonly autocomplete:
|
300
|
+
readonly autocomplete: AutoFill;
|
301
301
|
readonly containerRole: string;
|
302
302
|
readonly validateEvent: boolean;
|
303
303
|
readonly inputStyle: StyleValue;
|
@@ -329,13 +329,13 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
329
329
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
330
330
|
} & Readonly<{
|
331
331
|
readonly disabled: boolean;
|
332
|
+
readonly tabindex: string | number;
|
332
333
|
readonly id: string;
|
333
334
|
readonly type: string;
|
334
335
|
readonly modelValue: string | number | null | undefined;
|
335
|
-
readonly tabindex: string | number;
|
336
336
|
readonly readonly: boolean;
|
337
337
|
readonly autosize: InputAutoSize;
|
338
|
-
readonly autocomplete:
|
338
|
+
readonly autocomplete: AutoFill;
|
339
339
|
readonly containerRole: string;
|
340
340
|
readonly validateEvent: boolean;
|
341
341
|
readonly inputStyle: StyleValue;
|
@@ -414,7 +414,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
414
414
|
readonly default: false;
|
415
415
|
};
|
416
416
|
readonly autocomplete: {
|
417
|
-
readonly type: PropType<
|
417
|
+
readonly type: PropType<AutoFill>;
|
418
418
|
readonly required: false;
|
419
419
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
420
420
|
__epPropKey: true;
|
@@ -1363,7 +1363,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
1363
1363
|
clearValidate: () => void;
|
1364
1364
|
readonly labelWidth: string | number;
|
1365
1365
|
readonly labelPosition: "" | "top" | "left" | "right";
|
1366
|
-
readonly inlineMessage: string | boolean;
|
1367
1366
|
readonly showMessage: boolean;
|
1368
1367
|
readonly label?: string | undefined;
|
1369
1368
|
readonly prop?: FormItemProp | undefined;
|
@@ -1913,6 +1912,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
1913
1912
|
validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
1914
1913
|
}[] | undefined;
|
1915
1914
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
1915
|
+
readonly inlineMessage?: boolean | undefined;
|
1916
1916
|
readonly for?: string | undefined;
|
1917
1917
|
}[];
|
1918
1918
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
@@ -2068,7 +2068,6 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
2068
2068
|
clearValidate: () => void;
|
2069
2069
|
readonly labelWidth: string | number;
|
2070
2070
|
readonly labelPosition: "" | "top" | "left" | "right";
|
2071
|
-
readonly inlineMessage: string | boolean;
|
2072
2071
|
readonly showMessage: boolean;
|
2073
2072
|
readonly label?: string | undefined;
|
2074
2073
|
readonly prop?: FormItemProp | undefined;
|
@@ -2618,6 +2617,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
2618
2617
|
validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
2619
2618
|
}[] | undefined;
|
2620
2619
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
2620
|
+
readonly inlineMessage?: boolean | undefined;
|
2621
2621
|
readonly for?: string | undefined;
|
2622
2622
|
}[];
|
2623
2623
|
}> & {} & ComponentCustomProperties & {} & {
|
@@ -50,8 +50,8 @@ declare const _default: DefineComponent<Props, {
|
|
50
50
|
card: boolean;
|
51
51
|
}> & Omit<{
|
52
52
|
readonly radius: boolean;
|
53
|
-
readonly fit: boolean;
|
54
53
|
readonly border: boolean;
|
54
|
+
readonly fit: boolean;
|
55
55
|
readonly card: boolean;
|
56
56
|
readonly size?: BaseSize | undefined;
|
57
57
|
readonly height?: string | number | undefined;
|
@@ -216,7 +216,7 @@ declare const _default: DefineComponent<Props, {
|
|
216
216
|
};
|
217
217
|
}>>> | null | undefined;
|
218
218
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
219
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
219
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
220
220
|
$attrs: {
|
221
221
|
[x: string]: unknown;
|
222
222
|
};
|
@@ -594,7 +594,7 @@ declare const _default: DefineComponent<Props, {
|
|
594
594
|
footer: {
|
595
595
|
type: PropType<ContainerProps>;
|
596
596
|
};
|
597
|
-
}>> & Readonly<{}>, "radius" | "
|
597
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
598
598
|
bodyRef: Ref<any, any>;
|
599
599
|
}> & {} & ComponentCustomProperties & {} & {
|
600
600
|
$slots: {
|
@@ -246,8 +246,8 @@ export declare const widgets: {
|
|
246
246
|
card: boolean;
|
247
247
|
}> & Omit<{
|
248
248
|
readonly radius: boolean;
|
249
|
-
readonly fit: boolean;
|
250
249
|
readonly border: boolean;
|
250
|
+
readonly fit: boolean;
|
251
251
|
readonly card: boolean;
|
252
252
|
readonly size?: BaseSize | undefined;
|
253
253
|
readonly height?: string | number | undefined;
|
@@ -412,7 +412,7 @@ export declare const widgets: {
|
|
412
412
|
};
|
413
413
|
}>>> | null | undefined;
|
414
414
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
415
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
415
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
416
416
|
$attrs: {
|
417
417
|
[x: string]: unknown;
|
418
418
|
};
|
@@ -790,7 +790,7 @@ export declare const widgets: {
|
|
790
790
|
footer: {
|
791
791
|
type: PropType<ContainerProps>;
|
792
792
|
};
|
793
|
-
}>> & Readonly<{}>, "radius" | "
|
793
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
794
794
|
bodyRef: Ref<any, any>;
|
795
795
|
}> & {} & ComponentCustomProperties & {} & {
|
796
796
|
$slots: {
|
@@ -925,8 +925,8 @@ export declare const widgets: {
|
|
925
925
|
card: boolean;
|
926
926
|
}> & Omit<{
|
927
927
|
readonly radius: boolean;
|
928
|
-
readonly fit: boolean;
|
929
928
|
readonly border: boolean;
|
929
|
+
readonly fit: boolean;
|
930
930
|
readonly card: boolean;
|
931
931
|
readonly size?: BaseSize | undefined;
|
932
932
|
readonly height?: string | number | undefined;
|
@@ -1091,7 +1091,7 @@ export declare const widgets: {
|
|
1091
1091
|
};
|
1092
1092
|
}>>> | null | undefined;
|
1093
1093
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
1094
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
1094
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
1095
1095
|
$attrs: {
|
1096
1096
|
[x: string]: unknown;
|
1097
1097
|
};
|
@@ -1469,7 +1469,7 @@ export declare const widgets: {
|
|
1469
1469
|
footer: {
|
1470
1470
|
type: PropType<ContainerProps>;
|
1471
1471
|
};
|
1472
|
-
}>> & Readonly<{}>, "radius" | "
|
1472
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
1473
1473
|
bodyRef: Ref<any, any>;
|
1474
1474
|
}> & {} & ComponentCustomProperties & {} & {
|
1475
1475
|
$slots: {
|
@@ -1603,8 +1603,8 @@ export declare const widgets: {
|
|
1603
1603
|
card: boolean;
|
1604
1604
|
}> & Omit<{
|
1605
1605
|
readonly radius: boolean;
|
1606
|
-
readonly fit: boolean;
|
1607
1606
|
readonly border: boolean;
|
1607
|
+
readonly fit: boolean;
|
1608
1608
|
readonly card: boolean;
|
1609
1609
|
readonly size?: BaseSize | undefined;
|
1610
1610
|
readonly height?: string | number | undefined;
|
@@ -1769,7 +1769,7 @@ export declare const widgets: {
|
|
1769
1769
|
};
|
1770
1770
|
}>>> | null | undefined;
|
1771
1771
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
1772
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
1772
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
1773
1773
|
$attrs: {
|
1774
1774
|
[x: string]: unknown;
|
1775
1775
|
};
|
@@ -2147,7 +2147,7 @@ export declare const widgets: {
|
|
2147
2147
|
footer: {
|
2148
2148
|
type: PropType<ContainerProps>;
|
2149
2149
|
};
|
2150
|
-
}>> & Readonly<{}>, "radius" | "
|
2150
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
2151
2151
|
bodyRef: Ref<any, any>;
|
2152
2152
|
}> & {} & ComponentCustomProperties & {} & {
|
2153
2153
|
$slots: {
|
@@ -44,8 +44,8 @@ declare const _default: DefineComponent<{}, {
|
|
44
44
|
card: boolean;
|
45
45
|
}> & Omit<{
|
46
46
|
readonly radius: boolean;
|
47
|
-
readonly fit: boolean;
|
48
47
|
readonly border: boolean;
|
48
|
+
readonly fit: boolean;
|
49
49
|
readonly card: boolean;
|
50
50
|
readonly size?: BaseSize | undefined;
|
51
51
|
readonly height?: string | number | undefined;
|
@@ -210,7 +210,7 @@ declare const _default: DefineComponent<{}, {
|
|
210
210
|
};
|
211
211
|
}>>> | null | undefined;
|
212
212
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
213
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
213
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
214
214
|
$attrs: {
|
215
215
|
[x: string]: unknown;
|
216
216
|
};
|
@@ -588,7 +588,7 @@ declare const _default: DefineComponent<{}, {
|
|
588
588
|
footer: {
|
589
589
|
type: PropType<ContainerProps>;
|
590
590
|
};
|
591
|
-
}>> & Readonly<{}>, "radius" | "
|
591
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
592
592
|
bodyRef: Ref<any, any>;
|
593
593
|
}> & {} & ComponentCustomProperties & {} & {
|
594
594
|
$slots: {
|
@@ -83,12 +83,11 @@ declare function __VLS_template(): {
|
|
83
83
|
readonly required: boolean;
|
84
84
|
readonly labelWidth: string | number;
|
85
85
|
readonly labelPosition: "" | "top" | "left" | "right";
|
86
|
-
readonly inlineMessage:
|
86
|
+
readonly inlineMessage: boolean;
|
87
87
|
readonly showMessage: boolean;
|
88
88
|
}> & Omit<{
|
89
89
|
readonly labelWidth: string | number;
|
90
90
|
readonly labelPosition: "" | "top" | "left" | "right";
|
91
|
-
readonly inlineMessage: string | boolean;
|
92
91
|
readonly showMessage: boolean;
|
93
92
|
readonly size?: ("" | "large" | "default" | "small") | undefined;
|
94
93
|
readonly required?: boolean | undefined;
|
@@ -98,6 +97,7 @@ declare function __VLS_template(): {
|
|
98
97
|
readonly rules?: ( FormItemRule | FormItemRule[]) | undefined;
|
99
98
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
100
99
|
readonly for?: string | undefined;
|
100
|
+
readonly inlineMessage?: boolean | undefined;
|
101
101
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "required" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage">;
|
102
102
|
$attrs: {
|
103
103
|
[x: string]: unknown;
|
@@ -160,12 +160,12 @@ declare function __VLS_template(): {
|
|
160
160
|
};
|
161
161
|
readonly for: StringConstructor;
|
162
162
|
readonly inlineMessage: {
|
163
|
-
readonly type: PropType<
|
163
|
+
readonly type: PropType<boolean>;
|
164
164
|
readonly required: false;
|
165
165
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
166
166
|
__epPropKey: true;
|
167
167
|
} & {
|
168
|
-
readonly default:
|
168
|
+
readonly default: undefined;
|
169
169
|
};
|
170
170
|
readonly showMessage: {
|
171
171
|
readonly type: PropType<boolean>;
|
@@ -192,7 +192,7 @@ declare function __VLS_template(): {
|
|
192
192
|
readonly required: boolean;
|
193
193
|
readonly labelWidth: string | number;
|
194
194
|
readonly labelPosition: "" | "top" | "left" | "right";
|
195
|
-
readonly inlineMessage:
|
195
|
+
readonly inlineMessage: boolean;
|
196
196
|
readonly showMessage: boolean;
|
197
197
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
198
198
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -218,7 +218,7 @@ declare function __VLS_template(): {
|
|
218
218
|
readonly required: boolean;
|
219
219
|
readonly labelWidth: string | number;
|
220
220
|
readonly labelPosition: "" | "top" | "left" | "right";
|
221
|
-
readonly inlineMessage:
|
221
|
+
readonly inlineMessage: boolean;
|
222
222
|
readonly showMessage: boolean;
|
223
223
|
}> & Omit<Readonly< ExtractPropTypes<{
|
224
224
|
readonly label: StringConstructor;
|
@@ -267,12 +267,12 @@ declare function __VLS_template(): {
|
|
267
267
|
};
|
268
268
|
readonly for: StringConstructor;
|
269
269
|
readonly inlineMessage: {
|
270
|
-
readonly type: PropType<
|
270
|
+
readonly type: PropType<boolean>;
|
271
271
|
readonly required: false;
|
272
272
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
273
273
|
__epPropKey: true;
|
274
274
|
} & {
|
275
|
-
readonly default:
|
275
|
+
readonly default: undefined;
|
276
276
|
};
|
277
277
|
readonly showMessage: {
|
278
278
|
readonly type: PropType<boolean>;
|
@@ -639,12 +639,11 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
639
639
|
readonly required: boolean;
|
640
640
|
readonly labelWidth: string | number;
|
641
641
|
readonly labelPosition: "" | "top" | "left" | "right";
|
642
|
-
readonly inlineMessage:
|
642
|
+
readonly inlineMessage: boolean;
|
643
643
|
readonly showMessage: boolean;
|
644
644
|
}> & Omit<{
|
645
645
|
readonly labelWidth: string | number;
|
646
646
|
readonly labelPosition: "" | "top" | "left" | "right";
|
647
|
-
readonly inlineMessage: string | boolean;
|
648
647
|
readonly showMessage: boolean;
|
649
648
|
readonly size?: ("" | "large" | "default" | "small") | undefined;
|
650
649
|
readonly required?: boolean | undefined;
|
@@ -654,6 +653,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
654
653
|
readonly rules?: ( FormItemRule | FormItemRule[]) | undefined;
|
655
654
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
656
655
|
readonly for?: string | undefined;
|
656
|
+
readonly inlineMessage?: boolean | undefined;
|
657
657
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "required" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage">;
|
658
658
|
$attrs: {
|
659
659
|
[x: string]: unknown;
|
@@ -716,12 +716,12 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
716
716
|
};
|
717
717
|
readonly for: StringConstructor;
|
718
718
|
readonly inlineMessage: {
|
719
|
-
readonly type: PropType<
|
719
|
+
readonly type: PropType<boolean>;
|
720
720
|
readonly required: false;
|
721
721
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
722
722
|
__epPropKey: true;
|
723
723
|
} & {
|
724
|
-
readonly default:
|
724
|
+
readonly default: undefined;
|
725
725
|
};
|
726
726
|
readonly showMessage: {
|
727
727
|
readonly type: PropType<boolean>;
|
@@ -748,7 +748,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
748
748
|
readonly required: boolean;
|
749
749
|
readonly labelWidth: string | number;
|
750
750
|
readonly labelPosition: "" | "top" | "left" | "right";
|
751
|
-
readonly inlineMessage:
|
751
|
+
readonly inlineMessage: boolean;
|
752
752
|
readonly showMessage: boolean;
|
753
753
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
754
754
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -774,7 +774,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
774
774
|
readonly required: boolean;
|
775
775
|
readonly labelWidth: string | number;
|
776
776
|
readonly labelPosition: "" | "top" | "left" | "right";
|
777
|
-
readonly inlineMessage:
|
777
|
+
readonly inlineMessage: boolean;
|
778
778
|
readonly showMessage: boolean;
|
779
779
|
}> & Omit<Readonly< ExtractPropTypes<{
|
780
780
|
readonly label: StringConstructor;
|
@@ -823,12 +823,12 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
823
823
|
};
|
824
824
|
readonly for: StringConstructor;
|
825
825
|
readonly inlineMessage: {
|
826
|
-
readonly type: PropType<
|
826
|
+
readonly type: PropType<boolean>;
|
827
827
|
readonly required: false;
|
828
828
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
829
829
|
__epPropKey: true;
|
830
830
|
} & {
|
831
|
-
readonly default:
|
831
|
+
readonly default: undefined;
|
832
832
|
};
|
833
833
|
readonly showMessage: {
|
834
834
|
readonly type: PropType<boolean>;
|
package/types/utils.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { JSExpression, JSFunction } from '@vtj/core';
|
2
2
|
import { LoadingOptions, MessageBoxData, NotificationHandle, LoadingParentElement, MessageHandler } from 'element-plus';
|
3
|
-
import { ComponentPublicInstance, ComponentOptionsBase, Ref } from 'vue';
|
3
|
+
import { ComponentPublicInstance, ComponentOptionsBase, Ref, VNode, RendererNode, RendererElement } from 'vue';
|
4
4
|
export declare function alert(message: string, options?: any): Promise< MessageBoxData>;
|
5
5
|
export declare function notify(message: string, title?: string): NotificationHandle;
|
6
6
|
export declare function loading(options?: LoadingOptions): {
|
@@ -18,7 +18,11 @@ export declare function loading(options?: LoadingOptions): {
|
|
18
18
|
svg: Ref<string>;
|
19
19
|
svgViewBox: Ref<string>;
|
20
20
|
spinner: Ref<string | boolean>;
|
21
|
-
text: Ref<string
|
21
|
+
text: Ref<string | VNode<RendererNode, RendererElement, {
|
22
|
+
[key: string]: any;
|
23
|
+
}> | VNode<RendererNode, RendererElement, {
|
24
|
+
[key: string]: any;
|
25
|
+
}>[]>;
|
22
26
|
fullscreen: Ref<boolean>;
|
23
27
|
lock: Ref<boolean>;
|
24
28
|
customClass: Ref<string>;
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/designer
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.13.
|
5
|
+
* @version 0.13.18
|
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.18";
|
package/dist/Editor-C46Axool.js
DELETED