@tmagic/form 1.6.0 → 1.6.1
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/style.css +6 -0
- package/dist/tmagic-form.js +416 -419
- package/dist/tmagic-form.umd.cjs +416 -419
- package/package.json +6 -6
- package/src/fields/RadioGroup.vue +12 -2
- package/src/fields/Text.vue +1 -1
- package/src/theme/text.scss +6 -0
- package/types/index.d.ts +67 -36
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.6.
|
|
2
|
+
"version": "1.6.1",
|
|
3
3
|
"name": "@tmagic/form",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"@vue/test-utils": "^2.4.6"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"vue": "^3.5.
|
|
53
|
-
"typescript": "^5.9.
|
|
54
|
-
"@tmagic/
|
|
55
|
-
"@tmagic/
|
|
56
|
-
"@tmagic/utils": "1.6.
|
|
52
|
+
"vue": "^3.5.22",
|
|
53
|
+
"typescript": "^5.9.3",
|
|
54
|
+
"@tmagic/design": "1.6.1",
|
|
55
|
+
"@tmagic/form-schema": "1.6.1",
|
|
56
|
+
"@tmagic/utils": "1.6.1"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"typescript": {
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
>
|
|
10
10
|
<TMagicTooltip v-if="option.tooltip" placement="top-start" :content="option.tooltip">
|
|
11
11
|
<div>
|
|
12
|
-
<TMagicIcon v-if="option.icon" :size="
|
|
12
|
+
<TMagicIcon v-if="option.icon" :size="iconSize"><component :is="option.icon"></component></TMagicIcon>
|
|
13
13
|
<span>{{ option.text }}</span>
|
|
14
14
|
</div>
|
|
15
15
|
</TMagicTooltip>
|
|
16
16
|
<div v-else>
|
|
17
|
-
<TMagicIcon v-if="option.icon" :size="
|
|
17
|
+
<TMagicIcon v-if="option.icon" :size="iconSize"><component :is="option.icon"></component></TMagicIcon>
|
|
18
18
|
<span>{{ option.text }}</span>
|
|
19
19
|
</div>
|
|
20
20
|
</component>
|
|
@@ -49,4 +49,14 @@ const clickHandler = (item: any) => {
|
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
useAddField(props.prop);
|
|
52
|
+
|
|
53
|
+
const iconSize = computed(() => {
|
|
54
|
+
if (props.size === 'small') {
|
|
55
|
+
return '12';
|
|
56
|
+
}
|
|
57
|
+
if (props.size === 'large') {
|
|
58
|
+
return '16';
|
|
59
|
+
}
|
|
60
|
+
return '14';
|
|
61
|
+
});
|
|
52
62
|
</script>
|
package/src/fields/Text.vue
CHANGED
package/src/theme/text.scss
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ type __VLS_Props$u = {
|
|
|
53
53
|
preventSubmitDefault?: boolean;
|
|
54
54
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
55
55
|
};
|
|
56
|
-
declare const
|
|
56
|
+
declare const __VLS_export$u: _vue_runtime_core.DefineComponent<__VLS_Props$u, {
|
|
57
57
|
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
58
58
|
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
59
59
|
formState: FormState;
|
|
@@ -88,6 +88,7 @@ declare const _default$v: _vue_runtime_core.DefineComponent<__VLS_Props$u, {
|
|
|
88
88
|
parentValues: Record<string, any>;
|
|
89
89
|
stepActive: string | number;
|
|
90
90
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
declare const _default$v: typeof __VLS_export$u;
|
|
91
92
|
|
|
92
93
|
type __VLS_Props$t = {
|
|
93
94
|
config?: FormConfig;
|
|
@@ -115,7 +116,7 @@ type __VLS_Slots$4 = {} & {
|
|
|
115
116
|
} & {
|
|
116
117
|
footer?: (props: typeof __VLS_39) => any;
|
|
117
118
|
};
|
|
118
|
-
declare const
|
|
119
|
+
declare const __VLS_base$4: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
|
|
119
120
|
form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
120
121
|
config: FormConfig;
|
|
121
122
|
initValues: Record<string, any>;
|
|
@@ -344,7 +345,8 @@ declare const __VLS_component$4: _vue_runtime_core.DefineComponent<__VLS_Props$t
|
|
|
344
345
|
config: FormConfig;
|
|
345
346
|
confirmText: string;
|
|
346
347
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
347
|
-
declare const
|
|
348
|
+
declare const __VLS_export$t: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
349
|
+
declare const _default$u: typeof __VLS_export$t;
|
|
348
350
|
|
|
349
351
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
350
352
|
new (): {
|
|
@@ -380,7 +382,7 @@ type __VLS_Slots$3 = {} & {
|
|
|
380
382
|
} & {
|
|
381
383
|
footer?: (props: typeof __VLS_43) => any;
|
|
382
384
|
};
|
|
383
|
-
declare const
|
|
385
|
+
declare const __VLS_base$3: _vue_runtime_core.DefineComponent<__VLS_Props$s, {
|
|
384
386
|
form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
385
387
|
config: FormConfig;
|
|
386
388
|
initValues: Record<string, any>;
|
|
@@ -615,7 +617,8 @@ declare const __VLS_component$3: _vue_runtime_core.DefineComponent<__VLS_Props$s
|
|
|
615
617
|
config: FormConfig;
|
|
616
618
|
confirmText: string;
|
|
617
619
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
618
|
-
declare const
|
|
620
|
+
declare const __VLS_export$s: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
621
|
+
declare const _default$t: typeof __VLS_export$s;
|
|
619
622
|
|
|
620
623
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
621
624
|
new (): {
|
|
@@ -647,7 +650,7 @@ type __VLS_Slots$2 = {} & {
|
|
|
647
650
|
} & {
|
|
648
651
|
footer?: (props: typeof __VLS_19) => any;
|
|
649
652
|
};
|
|
650
|
-
declare const
|
|
653
|
+
declare const __VLS_base$2: _vue_runtime_core.DefineComponent<__VLS_Props$r, {
|
|
651
654
|
form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
652
655
|
config: FormConfig;
|
|
653
656
|
initValues: Record<string, any>;
|
|
@@ -871,7 +874,8 @@ declare const __VLS_component$2: _vue_runtime_core.DefineComponent<__VLS_Props$r
|
|
|
871
874
|
config: FormConfig;
|
|
872
875
|
confirmText: string;
|
|
873
876
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
874
|
-
declare const
|
|
877
|
+
declare const __VLS_export$r: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
878
|
+
declare const _default$s: typeof __VLS_export$r;
|
|
875
879
|
|
|
876
880
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
877
881
|
new (): {
|
|
@@ -894,7 +898,7 @@ type __VLS_Props$q = {
|
|
|
894
898
|
/** 是否开启对比模式 */
|
|
895
899
|
isCompare?: boolean;
|
|
896
900
|
};
|
|
897
|
-
declare const
|
|
901
|
+
declare const __VLS_export$q: _vue_runtime_core.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
898
902
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
899
903
|
addDiffCount: () => any;
|
|
900
904
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
@@ -907,6 +911,7 @@ declare const _default$r: _vue_runtime_core.DefineComponent<__VLS_Props$q, {}, {
|
|
|
907
911
|
isCompare: boolean;
|
|
908
912
|
expandMore: boolean;
|
|
909
913
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
914
|
+
declare const _default$r: typeof __VLS_export$q;
|
|
910
915
|
|
|
911
916
|
type __VLS_Props$p = {
|
|
912
917
|
labelWidth?: string;
|
|
@@ -919,7 +924,7 @@ type __VLS_Props$p = {
|
|
|
919
924
|
rules?: any;
|
|
920
925
|
disabled?: boolean;
|
|
921
926
|
};
|
|
922
|
-
declare const
|
|
927
|
+
declare const __VLS_export$p: _vue_runtime_core.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
923
928
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
924
929
|
addDiffCount: () => any;
|
|
925
930
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
|
|
@@ -931,6 +936,7 @@ declare const _default$q: _vue_runtime_core.DefineComponent<__VLS_Props$p, {}, {
|
|
|
931
936
|
lastValues: Record<string, any>;
|
|
932
937
|
isCompare: boolean;
|
|
933
938
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
939
|
+
declare const _default$q: typeof __VLS_export$p;
|
|
934
940
|
|
|
935
941
|
type __VLS_Props$o = {
|
|
936
942
|
model: any;
|
|
@@ -950,14 +956,15 @@ type __VLS_Slots$1 = {} & {
|
|
|
950
956
|
} & {
|
|
951
957
|
default?: (props: typeof __VLS_18) => any;
|
|
952
958
|
};
|
|
953
|
-
declare const
|
|
959
|
+
declare const __VLS_base$1: _vue_runtime_core.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
954
960
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
955
961
|
addDiffCount: () => any;
|
|
956
962
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
|
|
957
963
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
958
964
|
onAddDiffCount?: (() => any) | undefined;
|
|
959
965
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
960
|
-
declare const
|
|
966
|
+
declare const __VLS_export$o: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
967
|
+
declare const _default$p: typeof __VLS_export$o;
|
|
961
968
|
|
|
962
969
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
963
970
|
new (): {
|
|
@@ -977,13 +984,14 @@ type __VLS_Props$n = {
|
|
|
977
984
|
expandMore?: boolean;
|
|
978
985
|
disabled?: boolean;
|
|
979
986
|
};
|
|
980
|
-
declare const
|
|
987
|
+
declare const __VLS_export$n: _vue_runtime_core.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
981
988
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
982
989
|
addDiffCount: () => any;
|
|
983
990
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
|
|
984
991
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
985
992
|
onAddDiffCount?: (() => any) | undefined;
|
|
986
993
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
994
|
+
declare const _default$o: typeof __VLS_export$n;
|
|
987
995
|
|
|
988
996
|
type __VLS_Props$m = {
|
|
989
997
|
model: any;
|
|
@@ -997,7 +1005,7 @@ type __VLS_Props$m = {
|
|
|
997
1005
|
expandMore?: boolean;
|
|
998
1006
|
disabled?: boolean;
|
|
999
1007
|
};
|
|
1000
|
-
declare const
|
|
1008
|
+
declare const __VLS_export$m: _vue_runtime_core.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1001
1009
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1002
1010
|
addDiffCount: () => any;
|
|
1003
1011
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
@@ -1007,6 +1015,7 @@ declare const _default$n: _vue_runtime_core.DefineComponent<__VLS_Props$m, {}, {
|
|
|
1007
1015
|
lastValues: any;
|
|
1008
1016
|
isCompare: boolean;
|
|
1009
1017
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1018
|
+
declare const _default$n: typeof __VLS_export$m;
|
|
1010
1019
|
|
|
1011
1020
|
type __VLS_Props$l = {
|
|
1012
1021
|
model: any;
|
|
@@ -1036,7 +1045,7 @@ type __VLS_Slots = {} & {
|
|
|
1036
1045
|
} & {
|
|
1037
1046
|
default?: (props: typeof __VLS_111) => any;
|
|
1038
1047
|
};
|
|
1039
|
-
declare const
|
|
1048
|
+
declare const __VLS_base: _vue_runtime_core.DefineComponent<__VLS_Props$l, {
|
|
1040
1049
|
toggleRowSelection: (row: any, selected: boolean) => void;
|
|
1041
1050
|
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1042
1051
|
change: (...args: any[]) => void;
|
|
@@ -1054,7 +1063,8 @@ declare const __VLS_component: _vue_runtime_core.DefineComponent<__VLS_Props$l,
|
|
|
1054
1063
|
showIndex: boolean;
|
|
1055
1064
|
sortKey: string;
|
|
1056
1065
|
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1057
|
-
declare const
|
|
1066
|
+
declare const __VLS_export$l: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1067
|
+
declare const _default$m: typeof __VLS_export$l;
|
|
1058
1068
|
|
|
1059
1069
|
type __VLS_WithSlots<T, S> = T & {
|
|
1060
1070
|
new (): {
|
|
@@ -1073,133 +1083,151 @@ type __VLS_Props$k = {
|
|
|
1073
1083
|
size?: string;
|
|
1074
1084
|
disabled?: boolean;
|
|
1075
1085
|
};
|
|
1076
|
-
declare const
|
|
1086
|
+
declare const __VLS_export$k: _vue_runtime_core.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1077
1087
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1078
1088
|
addDiffCount: () => any;
|
|
1079
1089
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
1080
1090
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1081
1091
|
onAddDiffCount?: (() => any) | undefined;
|
|
1082
1092
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1093
|
+
declare const _default$l: typeof __VLS_export$k;
|
|
1083
1094
|
|
|
1084
1095
|
type __VLS_Props$j = FieldProps<TextConfig>;
|
|
1085
|
-
declare const
|
|
1096
|
+
declare const __VLS_export$j: _vue_runtime_core.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1086
1097
|
change: (value: string) => any;
|
|
1087
1098
|
input: (value: string) => any;
|
|
1088
1099
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
1089
1100
|
onChange?: ((value: string) => any) | undefined;
|
|
1090
1101
|
onInput?: ((value: string) => any) | undefined;
|
|
1091
1102
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1103
|
+
declare const _default$k: typeof __VLS_export$j;
|
|
1092
1104
|
|
|
1093
1105
|
type __VLS_Props$i = FieldProps<NumberConfig>;
|
|
1094
|
-
declare const
|
|
1106
|
+
declare const __VLS_export$i: _vue_runtime_core.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1095
1107
|
change: (values: number) => any;
|
|
1096
1108
|
input: (values: number) => any;
|
|
1097
1109
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
1098
1110
|
onChange?: ((values: number) => any) | undefined;
|
|
1099
1111
|
onInput?: ((values: number) => any) | undefined;
|
|
1100
1112
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1113
|
+
declare const _default$j: typeof __VLS_export$i;
|
|
1101
1114
|
|
|
1102
1115
|
type __VLS_Props$h = FieldProps<NumberRangeConfig>;
|
|
1103
|
-
declare const
|
|
1116
|
+
declare const __VLS_export$h: _vue_runtime_core.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1104
1117
|
change: (values: [number, number]) => any;
|
|
1105
1118
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
1106
1119
|
onChange?: ((values: [number, number]) => any) | undefined;
|
|
1107
1120
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1121
|
+
declare const _default$i: typeof __VLS_export$h;
|
|
1108
1122
|
|
|
1109
1123
|
type __VLS_Props$g = FieldProps<TextareaConfig>;
|
|
1110
|
-
declare const
|
|
1124
|
+
declare const __VLS_export$g: _vue_runtime_core.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1111
1125
|
change: (value: string) => any;
|
|
1112
1126
|
input: (value: string) => any;
|
|
1113
1127
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
1114
1128
|
onChange?: ((value: string) => any) | undefined;
|
|
1115
1129
|
onInput?: ((value: string) => any) | undefined;
|
|
1116
1130
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1131
|
+
declare const _default$h: typeof __VLS_export$g;
|
|
1117
1132
|
|
|
1118
1133
|
type __VLS_Props$f = FieldProps<HiddenConfig>;
|
|
1119
|
-
declare const
|
|
1134
|
+
declare const __VLS_export$f: _vue_runtime_core.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1135
|
+
declare const _default$g: typeof __VLS_export$f;
|
|
1120
1136
|
|
|
1121
1137
|
type __VLS_Props$e = FieldProps<DateConfig>;
|
|
1122
|
-
declare const
|
|
1138
|
+
declare const __VLS_export$e: _vue_runtime_core.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1123
1139
|
change: (value: string) => any;
|
|
1124
1140
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$e> & Readonly<{
|
|
1125
1141
|
onChange?: ((value: string) => any) | undefined;
|
|
1126
1142
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1143
|
+
declare const _default$f: typeof __VLS_export$e;
|
|
1127
1144
|
|
|
1128
1145
|
type __VLS_Props$d = FieldProps<DateTimeConfig>;
|
|
1129
|
-
declare const
|
|
1146
|
+
declare const __VLS_export$d: _vue_runtime_core.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1130
1147
|
change: (value: string) => any;
|
|
1131
1148
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$d> & Readonly<{
|
|
1132
1149
|
onChange?: ((value: string) => any) | undefined;
|
|
1133
1150
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1151
|
+
declare const _default$e: typeof __VLS_export$d;
|
|
1134
1152
|
|
|
1135
1153
|
type __VLS_Props$c = FieldProps<TimeConfig>;
|
|
1136
|
-
declare const
|
|
1154
|
+
declare const __VLS_export$c: _vue_runtime_core.DefineComponent<__VLS_Props$c, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1137
1155
|
change: (value: string) => any;
|
|
1138
1156
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
|
|
1139
1157
|
onChange?: ((value: string) => any) | undefined;
|
|
1140
1158
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1159
|
+
declare const _default$d: typeof __VLS_export$c;
|
|
1141
1160
|
|
|
1142
1161
|
type __VLS_Props$b = FieldProps<CheckboxConfig>;
|
|
1143
|
-
declare const
|
|
1162
|
+
declare const __VLS_export$b: _vue_runtime_core.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1144
1163
|
change: (...args: any[]) => void;
|
|
1145
1164
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
|
|
1146
1165
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1147
1166
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1167
|
+
declare const _default$c: typeof __VLS_export$b;
|
|
1148
1168
|
|
|
1149
1169
|
type __VLS_Props$a = FieldProps<SwitchConfig>;
|
|
1150
|
-
declare const
|
|
1170
|
+
declare const __VLS_export$a: _vue_runtime_core.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1151
1171
|
change: (value: any) => any;
|
|
1152
1172
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
|
|
1153
1173
|
onChange?: ((value: any) => any) | undefined;
|
|
1154
1174
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1175
|
+
declare const _default$b: typeof __VLS_export$a;
|
|
1155
1176
|
|
|
1156
1177
|
type __VLS_Props$9 = FieldProps<DaterangeConfig>;
|
|
1157
|
-
declare const
|
|
1178
|
+
declare const __VLS_export$9: _vue_runtime_core.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1158
1179
|
change: (...args: any[]) => void;
|
|
1159
1180
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
|
|
1160
1181
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1161
1182
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1183
|
+
declare const _default$a: typeof __VLS_export$9;
|
|
1162
1184
|
|
|
1163
1185
|
type __VLS_Props$8 = FieldProps<DaterangeConfig>;
|
|
1164
|
-
declare const
|
|
1186
|
+
declare const __VLS_export$8: _vue_runtime_core.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1165
1187
|
change: (...args: any[]) => void;
|
|
1166
1188
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
1167
1189
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1168
1190
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1191
|
+
declare const _default$9: typeof __VLS_export$8;
|
|
1169
1192
|
|
|
1170
1193
|
type __VLS_Props$7 = FieldProps<ColorPickConfig>;
|
|
1171
|
-
declare const
|
|
1194
|
+
declare const __VLS_export$7: _vue_runtime_core.DefineComponent<__VLS_Props$7, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1172
1195
|
change: (value: string) => any;
|
|
1173
1196
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
|
|
1174
1197
|
onChange?: ((value: string) => any) | undefined;
|
|
1175
1198
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1199
|
+
declare const _default$8: typeof __VLS_export$7;
|
|
1176
1200
|
|
|
1177
1201
|
type __VLS_Props$6 = FieldProps<CheckboxGroupConfig>;
|
|
1178
|
-
declare const
|
|
1202
|
+
declare const __VLS_export$6: _vue_runtime_core.DefineComponent<__VLS_Props$6, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1179
1203
|
change: (...args: any[]) => void;
|
|
1180
1204
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$6> & Readonly<{
|
|
1181
1205
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1182
1206
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1207
|
+
declare const _default$7: typeof __VLS_export$6;
|
|
1183
1208
|
|
|
1184
1209
|
type __VLS_Props$5 = FieldProps<RadioGroupConfig>;
|
|
1185
|
-
declare const
|
|
1210
|
+
declare const __VLS_export$5: _vue_runtime_core.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1186
1211
|
change: (...args: any[]) => void;
|
|
1187
1212
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
1188
1213
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1189
1214
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1215
|
+
declare const _default$6: typeof __VLS_export$5;
|
|
1190
1216
|
|
|
1191
1217
|
type __VLS_Props$4 = FieldProps<DisplayConfig>;
|
|
1192
|
-
declare const
|
|
1218
|
+
declare const __VLS_export$4: _vue_runtime_core.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1219
|
+
declare const _default$5: typeof __VLS_export$4;
|
|
1193
1220
|
|
|
1194
1221
|
type __VLS_Props$3 = FieldProps<LinkConfig>;
|
|
1195
|
-
declare const
|
|
1222
|
+
declare const __VLS_export$3: _vue_runtime_core.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1196
1223
|
change: (...args: any[]) => void;
|
|
1197
1224
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
1198
1225
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1199
1226
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1227
|
+
declare const _default$4: typeof __VLS_export$3;
|
|
1200
1228
|
|
|
1201
1229
|
type __VLS_Props$2 = FieldProps<SelectConfig>;
|
|
1202
|
-
declare const
|
|
1230
|
+
declare const __VLS_export$2: _vue_runtime_core.DefineComponent<__VLS_Props$2, {
|
|
1203
1231
|
options: _vue_reactivity.Ref<{
|
|
1204
1232
|
text: string;
|
|
1205
1233
|
value: any;
|
|
@@ -1233,20 +1261,23 @@ declare const _default$3: _vue_runtime_core.DefineComponent<__VLS_Props$2, {
|
|
|
1233
1261
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
1234
1262
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1235
1263
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1264
|
+
declare const _default$3: typeof __VLS_export$2;
|
|
1236
1265
|
|
|
1237
1266
|
type __VLS_Props$1 = FieldProps<CascaderConfig>;
|
|
1238
|
-
declare const
|
|
1267
|
+
declare const __VLS_export$1: _vue_runtime_core.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1239
1268
|
change: (...args: any[]) => void;
|
|
1240
1269
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
1241
1270
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1242
1271
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1272
|
+
declare const _default$2: typeof __VLS_export$1;
|
|
1243
1273
|
|
|
1244
1274
|
type __VLS_Props = FieldProps<DynamicFieldConfig>;
|
|
1245
|
-
declare const
|
|
1275
|
+
declare const __VLS_export: _vue_runtime_core.DefineComponent<__VLS_Props, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1246
1276
|
change: (...args: any[]) => void;
|
|
1247
1277
|
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
1248
1278
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1249
1279
|
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1280
|
+
declare const _default$1: typeof __VLS_export;
|
|
1250
1281
|
|
|
1251
1282
|
declare const createForm: <T extends [] = []>(config: FormConfig | T) => FormConfig | T;
|
|
1252
1283
|
interface FormInstallOptions {
|