@vtj/designer 0.12.53 → 0.12.54
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-B0W8dFkq.js +4 -0
- package/dist/{index-DpZZPDXb.js → index-D_MwLVuY.js} +6 -6
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
- package/types/components/shared/viewer.d.ts +5248 -2916
- package/types/components/widgets/ai/image-input.d.ts +3 -3
- package/types/components/widgets/ai/json-input.d.ts +28 -5
- package/types/components/widgets/scripts/group.d.ts +4 -4
- package/types/version.d.ts +2 -2
- package/dist/Editor-CLTsiarn.js +0 -4
@@ -31,9 +31,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
31
31
|
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
32
32
|
readonly method: string;
|
33
33
|
readonly action: string;
|
34
|
+
readonly accept: string;
|
34
35
|
readonly withCredentials: boolean;
|
35
36
|
readonly showFileList: boolean;
|
36
|
-
readonly accept: string;
|
37
37
|
readonly fileList: UploadUserFile[];
|
38
38
|
readonly autoUpload: boolean;
|
39
39
|
readonly listType: "text" | "picture" | "picture-card";
|
@@ -294,9 +294,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
294
294
|
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
295
295
|
readonly method: string;
|
296
296
|
readonly action: string;
|
297
|
+
readonly accept: string;
|
297
298
|
readonly withCredentials: boolean;
|
298
299
|
readonly showFileList: boolean;
|
299
|
-
readonly accept: string;
|
300
300
|
readonly fileList: UploadUserFile[];
|
301
301
|
readonly autoUpload: boolean;
|
302
302
|
readonly listType: "text" | "picture" | "picture-card";
|
@@ -345,9 +345,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
345
345
|
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
346
346
|
readonly method: string;
|
347
347
|
readonly action: string;
|
348
|
+
readonly accept: string;
|
348
349
|
readonly withCredentials: boolean;
|
349
350
|
readonly showFileList: boolean;
|
350
|
-
readonly accept: string;
|
351
351
|
readonly fileList: UploadUserFile[];
|
352
352
|
readonly autoUpload: boolean;
|
353
353
|
readonly listType: "text" | "picture" | "picture-card";
|
@@ -25,6 +25,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
25
25
|
readonly validateEvent: boolean;
|
26
26
|
readonly inputStyle: StyleValue;
|
27
27
|
readonly rows: number;
|
28
|
+
readonly inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
28
29
|
readonly clearable: boolean;
|
29
30
|
readonly showPassword: boolean;
|
30
31
|
readonly showWordLimit: boolean;
|
@@ -45,8 +46,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
45
46
|
readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
|
46
47
|
readonly rows: number;
|
47
48
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
49
|
+
readonly name?: string | undefined;
|
48
50
|
readonly id?: string | undefined;
|
49
51
|
readonly form?: string | undefined;
|
52
|
+
readonly inputmode?: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
50
53
|
readonly ariaLabel?: string | undefined;
|
51
54
|
readonly maxlength?: (string | number) | undefined;
|
52
55
|
readonly minlength?: (string | number) | undefined;
|
@@ -69,7 +72,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
69
72
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
70
73
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
71
74
|
onClear?: (() => any) | undefined | undefined;
|
72
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "id" | "modelValue" | "disabled" | "autofocus" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows">;
|
75
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "id" | "modelValue" | "disabled" | "autofocus" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows">;
|
73
76
|
$attrs: {
|
74
77
|
[x: string]: unknown;
|
75
78
|
};
|
@@ -85,6 +88,15 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
85
88
|
$emit: ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "clear") => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void);
|
86
89
|
$el: any;
|
87
90
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
91
|
+
readonly inputmode: {
|
92
|
+
readonly type: PropType<"search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined>;
|
93
|
+
readonly required: false;
|
94
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
95
|
+
__epPropKey: true;
|
96
|
+
} & {
|
97
|
+
readonly default: undefined;
|
98
|
+
};
|
99
|
+
readonly name: StringConstructor;
|
88
100
|
readonly ariaLabel: StringConstructor;
|
89
101
|
readonly id: {
|
90
102
|
readonly type: PropType<string>;
|
@@ -283,6 +295,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
283
295
|
readonly validateEvent: boolean;
|
284
296
|
readonly inputStyle: StyleValue;
|
285
297
|
readonly rows: number;
|
298
|
+
readonly inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
286
299
|
readonly clearable: boolean;
|
287
300
|
readonly showPassword: boolean;
|
288
301
|
readonly showWordLimit: boolean;
|
@@ -320,11 +333,21 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
320
333
|
readonly validateEvent: boolean;
|
321
334
|
readonly inputStyle: StyleValue;
|
322
335
|
readonly rows: number;
|
336
|
+
readonly inputmode: "search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
323
337
|
readonly clearable: boolean;
|
324
338
|
readonly showPassword: boolean;
|
325
339
|
readonly showWordLimit: boolean;
|
326
340
|
readonly autofocus: boolean;
|
327
341
|
}> & Omit<Readonly< ExtractPropTypes<{
|
342
|
+
readonly inputmode: {
|
343
|
+
readonly type: PropType<"search" | "text" | "none" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined>;
|
344
|
+
readonly required: false;
|
345
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
346
|
+
__epPropKey: true;
|
347
|
+
} & {
|
348
|
+
readonly default: undefined;
|
349
|
+
};
|
350
|
+
readonly name: StringConstructor;
|
328
351
|
readonly ariaLabel: StringConstructor;
|
329
352
|
readonly id: {
|
330
353
|
readonly type: PropType<string>;
|
@@ -485,7 +508,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
485
508
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
486
509
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
487
510
|
onClear?: (() => any) | undefined;
|
488
|
-
}, "clear" | "type" | "ref" | "id" | "modelValue" | "input" | "select" | "textarea" | "disabled" | "autofocus" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "focus" | "blur" | "resizeTextarea"> & ShallowUnwrapRef<{
|
511
|
+
}, "clear" | "type" | "ref" | "id" | "modelValue" | "input" | "select" | "textarea" | "disabled" | "autofocus" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "focus" | "blur" | "resizeTextarea"> & ShallowUnwrapRef<{
|
489
512
|
input: ShallowRef<HTMLInputElement | undefined>;
|
490
513
|
textarea: ShallowRef<HTMLTextAreaElement | undefined>;
|
491
514
|
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
@@ -527,9 +550,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
527
550
|
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
528
551
|
readonly method: string;
|
529
552
|
readonly action: string;
|
553
|
+
readonly accept: string;
|
530
554
|
readonly withCredentials: boolean;
|
531
555
|
readonly showFileList: boolean;
|
532
|
-
readonly accept: string;
|
533
556
|
readonly fileList: UploadUserFile[];
|
534
557
|
readonly autoUpload: boolean;
|
535
558
|
readonly listType: "text" | "picture" | "picture-card";
|
@@ -790,9 +813,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
790
813
|
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
791
814
|
readonly method: string;
|
792
815
|
readonly action: string;
|
816
|
+
readonly accept: string;
|
793
817
|
readonly withCredentials: boolean;
|
794
818
|
readonly showFileList: boolean;
|
795
|
-
readonly accept: string;
|
796
819
|
readonly fileList: UploadUserFile[];
|
797
820
|
readonly autoUpload: boolean;
|
798
821
|
readonly listType: "text" | "picture" | "picture-card";
|
@@ -841,9 +864,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
841
864
|
readonly onProgress: (evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void;
|
842
865
|
readonly method: string;
|
843
866
|
readonly action: string;
|
867
|
+
readonly accept: string;
|
844
868
|
readonly withCredentials: boolean;
|
845
869
|
readonly showFileList: boolean;
|
846
|
-
readonly accept: string;
|
847
870
|
readonly fileList: UploadUserFile[];
|
848
871
|
readonly autoUpload: boolean;
|
849
872
|
readonly listType: "text" | "picture" | "picture-card";
|
@@ -184,7 +184,7 @@ declare function __VLS_template(): {
|
|
184
184
|
}>>, {
|
185
185
|
size: ComputedRef<"" | "small" | "default" | "large">;
|
186
186
|
validateMessage: Ref<string>;
|
187
|
-
validateState: Ref<"" | "error" | "
|
187
|
+
validateState: Ref<"" | "error" | "success" | "validating">;
|
188
188
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
189
189
|
clearValidate: () => void;
|
190
190
|
resetField: () => void;
|
@@ -291,7 +291,7 @@ declare function __VLS_template(): {
|
|
291
291
|
}>>, "size" | "required" | "validateState" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "validateMessage" | "resetField"> & ShallowUnwrapRef<{
|
292
292
|
size: ComputedRef<"" | "small" | "default" | "large">;
|
293
293
|
validateMessage: Ref<string>;
|
294
|
-
validateState: Ref<"" | "error" | "
|
294
|
+
validateState: Ref<"" | "error" | "success" | "validating">;
|
295
295
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
296
296
|
clearValidate: () => void;
|
297
297
|
resetField: () => void;
|
@@ -740,7 +740,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
740
740
|
}>>, {
|
741
741
|
size: ComputedRef<"" | "small" | "default" | "large">;
|
742
742
|
validateMessage: Ref<string>;
|
743
|
-
validateState: Ref<"" | "error" | "
|
743
|
+
validateState: Ref<"" | "error" | "success" | "validating">;
|
744
744
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
745
745
|
clearValidate: () => void;
|
746
746
|
resetField: () => void;
|
@@ -847,7 +847,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
847
847
|
}>>, "size" | "required" | "validateState" | "clearValidate" | "validate" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "validateMessage" | "resetField"> & ShallowUnwrapRef<{
|
848
848
|
size: ComputedRef<"" | "small" | "default" | "large">;
|
849
849
|
validateMessage: Ref<string>;
|
850
|
-
validateState: Ref<"" | "error" | "
|
850
|
+
validateState: Ref<"" | "error" | "success" | "validating">;
|
851
851
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
852
852
|
clearValidate: () => void;
|
853
853
|
resetField: () => void;
|
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.12.
|
5
|
+
* @version 0.12.53
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.12.
|
8
|
+
export declare const version = "0.12.53";
|
package/dist/Editor-CLTsiarn.js
DELETED