@tmagic/form 1.5.0-beta.9 → 1.5.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 → tmagic-form.css} +53 -2
- package/dist/tmagic-form.js +295 -181
- package/dist/tmagic-form.umd.cjs +294 -181
- package/package.json +10 -8
- package/src/Form.vue +29 -8
- package/src/FormBox.vue +11 -5
- package/src/FormDialog.vue +6 -4
- package/src/FormDrawer.vue +6 -4
- package/src/containers/Col.vue +6 -3
- package/src/containers/Container.vue +92 -34
- package/src/containers/Fieldset.vue +13 -12
- package/src/containers/GroupList.vue +26 -10
- package/src/containers/GroupListItem.vue +4 -2
- package/src/containers/Panel.vue +8 -3
- package/src/containers/Row.vue +8 -3
- package/src/containers/Step.vue +9 -4
- package/src/containers/Table.vue +32 -32
- package/src/containers/Tabs.vue +35 -20
- package/src/fields/DateTime.vue +2 -2
- package/src/fields/DynamicField.vue +4 -2
- package/src/fields/Text.vue +71 -36
- package/src/index.ts +3 -2
- package/src/schema.ts +30 -16
- package/src/theme/form.scss +2 -2
- package/src/theme/text.scss +56 -0
- package/types/index.d.ts +433 -657
package/types/index.d.ts
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
-
import * as _vue_reactivity from '@vue/reactivity';
|
|
4
3
|
import * as _tmagic_design from '@tmagic/design';
|
|
4
|
+
import { TMagicMessageBox, TMagicMessage } from '@tmagic/design';
|
|
5
|
+
import * as _tmagic_editor from '@tmagic/editor';
|
|
6
|
+
import * as _vue_reactivity from '@vue/reactivity';
|
|
5
7
|
|
|
6
8
|
interface ValidateError {
|
|
7
9
|
message: string;
|
|
8
10
|
field: string;
|
|
9
11
|
}
|
|
12
|
+
interface ChangeRecord {
|
|
13
|
+
propPath?: string;
|
|
14
|
+
value: any;
|
|
15
|
+
}
|
|
16
|
+
interface ContainerChangeEventData {
|
|
17
|
+
modifyKey?: string;
|
|
18
|
+
changeRecords?: ChangeRecord[];
|
|
19
|
+
}
|
|
10
20
|
interface FieldProps<T = any> {
|
|
11
21
|
config: T;
|
|
12
22
|
model: any;
|
|
@@ -34,6 +44,8 @@ type FormState = {
|
|
|
34
44
|
setField: (prop: string, field: any) => void;
|
|
35
45
|
getField: (prop: string) => any;
|
|
36
46
|
deleteField: (prop: string) => any;
|
|
47
|
+
$messageBox: TMagicMessageBox;
|
|
48
|
+
$message: TMagicMessage;
|
|
37
49
|
[key: string]: any;
|
|
38
50
|
};
|
|
39
51
|
/**
|
|
@@ -126,24 +138,27 @@ interface Input {
|
|
|
126
138
|
placeholder?: string;
|
|
127
139
|
}
|
|
128
140
|
type TypeFunction = (mForm: FormState | undefined, data: {
|
|
129
|
-
model:
|
|
141
|
+
model: FormValue;
|
|
130
142
|
}) => string;
|
|
131
143
|
type FilterFunction<T = boolean> = (mForm: FormState | undefined, data: {
|
|
132
|
-
model:
|
|
133
|
-
values:
|
|
134
|
-
parent?:
|
|
135
|
-
formValue:
|
|
144
|
+
model: FormValue;
|
|
145
|
+
values: FormValue;
|
|
146
|
+
parent?: FormValue;
|
|
147
|
+
formValue: FormValue;
|
|
136
148
|
prop: string;
|
|
137
149
|
config: any;
|
|
138
150
|
index?: number;
|
|
139
151
|
}) => T;
|
|
140
|
-
|
|
141
|
-
model:
|
|
142
|
-
values
|
|
143
|
-
parent?:
|
|
144
|
-
formValue
|
|
152
|
+
interface OnChangeHandlerData {
|
|
153
|
+
model: FormValue;
|
|
154
|
+
values?: FormValue;
|
|
155
|
+
parent?: FormValue;
|
|
156
|
+
formValue?: FormValue;
|
|
145
157
|
config: any;
|
|
146
|
-
|
|
158
|
+
prop: string;
|
|
159
|
+
changeRecords: ChangeRecord[];
|
|
160
|
+
}
|
|
161
|
+
type OnChangeHandler = (mForm: FormState | undefined, value: any, data: OnChangeHandlerData) => any;
|
|
147
162
|
type DefaultValueFunction = (mForm: FormState | undefined) => any;
|
|
148
163
|
/**
|
|
149
164
|
* 下拉选择器选项配置
|
|
@@ -623,7 +638,7 @@ declare const datetimeFormatter: (v: string | Date, defaultValue?: string, forma
|
|
|
623
638
|
|
|
624
639
|
declare const useAddField: (prop?: string) => void;
|
|
625
640
|
|
|
626
|
-
|
|
641
|
+
type __VLS_Props$u = {
|
|
627
642
|
/** 表单配置 */
|
|
628
643
|
config: FormConfig;
|
|
629
644
|
/** 表单值 */
|
|
@@ -637,48 +652,33 @@ declare const _default$v: vue.DefineComponent<{
|
|
|
637
652
|
disabled?: boolean;
|
|
638
653
|
height?: string;
|
|
639
654
|
stepActive?: string | number;
|
|
640
|
-
size?:
|
|
655
|
+
size?: 'small' | 'default' | 'large';
|
|
641
656
|
inline?: boolean;
|
|
642
657
|
labelPosition?: string;
|
|
643
658
|
keyProp?: string;
|
|
644
659
|
popperClass?: string;
|
|
660
|
+
preventSubmitDefault?: boolean;
|
|
645
661
|
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
646
|
-
}
|
|
662
|
+
};
|
|
663
|
+
declare const _default$v: vue.DefineComponent<__VLS_Props$u, {
|
|
647
664
|
values: vue.Ref<FormValue, FormValue>;
|
|
648
665
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
649
666
|
formState: FormState;
|
|
650
667
|
initialized: vue.Ref<boolean, boolean>;
|
|
651
|
-
|
|
652
|
-
|
|
668
|
+
changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
669
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
670
|
+
resetForm: () => void;
|
|
653
671
|
submitForm: (native?: boolean) => Promise<any>;
|
|
654
672
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
655
673
|
change: (...args: any[]) => void;
|
|
656
674
|
error: (...args: any[]) => void;
|
|
675
|
+
"update:stepActive": (...args: any[]) => void;
|
|
657
676
|
"field-change": (...args: any[]) => void;
|
|
658
677
|
"field-input": (...args: any[]) => void;
|
|
659
|
-
}, string, vue.PublicProps, Readonly<{
|
|
660
|
-
/** 表单配置 */
|
|
661
|
-
config: FormConfig;
|
|
662
|
-
/** 表单值 */
|
|
663
|
-
initValues: Record<string, any>;
|
|
664
|
-
/** 需对比的值(开启对比模式时传入) */
|
|
665
|
-
lastValues?: Record<string, any>;
|
|
666
|
-
/** 是否开启对比模式 */
|
|
667
|
-
isCompare?: boolean;
|
|
668
|
-
parentValues?: Record<string, any>;
|
|
669
|
-
labelWidth?: string;
|
|
670
|
-
disabled?: boolean;
|
|
671
|
-
height?: string;
|
|
672
|
-
stepActive?: string | number;
|
|
673
|
-
size?: "small" | "default" | "large";
|
|
674
|
-
inline?: boolean;
|
|
675
|
-
labelPosition?: string;
|
|
676
|
-
keyProp?: string;
|
|
677
|
-
popperClass?: string;
|
|
678
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
679
|
-
}> & Readonly<{
|
|
678
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$u> & Readonly<{
|
|
680
679
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
681
680
|
onError?: ((...args: any[]) => any) | undefined;
|
|
681
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
682
682
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
683
683
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
684
684
|
}>, {
|
|
@@ -694,9 +694,26 @@ declare const _default$v: vue.DefineComponent<{
|
|
|
694
694
|
parentValues: Record<string, any>;
|
|
695
695
|
stepActive: string | number;
|
|
696
696
|
height: string;
|
|
697
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
697
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
698
698
|
|
|
699
|
+
type __VLS_Props$t = {
|
|
700
|
+
config?: FormConfig;
|
|
701
|
+
values?: Object;
|
|
702
|
+
parentValues?: Object;
|
|
703
|
+
width?: string | number;
|
|
704
|
+
labelWidth?: string;
|
|
705
|
+
fullscreen?: boolean;
|
|
706
|
+
disabled?: boolean;
|
|
707
|
+
title?: string;
|
|
708
|
+
inline?: boolean;
|
|
709
|
+
labelPosition?: string;
|
|
710
|
+
zIndex?: number;
|
|
711
|
+
size?: 'small' | 'default' | 'large';
|
|
712
|
+
confirmText?: string;
|
|
713
|
+
preventSubmitDefault?: boolean;
|
|
714
|
+
};
|
|
699
715
|
declare function __VLS_template$4(): {
|
|
716
|
+
attrs: Partial<{}>;
|
|
700
717
|
slots: {
|
|
701
718
|
default?(_: {}): any;
|
|
702
719
|
left?(_: {}): any;
|
|
@@ -718,47 +735,30 @@ declare function __VLS_template$4(): {
|
|
|
718
735
|
labelPosition?: string;
|
|
719
736
|
keyProp?: string;
|
|
720
737
|
popperClass?: string;
|
|
721
|
-
|
|
738
|
+
preventSubmitDefault?: boolean;
|
|
739
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
722
740
|
}> & Readonly<{
|
|
723
741
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
724
742
|
onError?: ((...args: any[]) => any) | undefined;
|
|
743
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
725
744
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
726
745
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
727
746
|
}>, {
|
|
728
747
|
values: vue.Ref<FormValue, FormValue>;
|
|
729
748
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
730
|
-
formState: FormState;
|
|
749
|
+
formState: _tmagic_editor.FormState;
|
|
731
750
|
initialized: vue.Ref<boolean, boolean>;
|
|
732
|
-
|
|
733
|
-
|
|
751
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
752
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
753
|
+
resetForm: () => void;
|
|
734
754
|
submitForm: (native?: boolean) => Promise<any>;
|
|
735
755
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
736
756
|
change: (...args: any[]) => void;
|
|
737
757
|
error: (...args: any[]) => void;
|
|
758
|
+
"update:stepActive": (...args: any[]) => void;
|
|
738
759
|
"field-change": (...args: any[]) => void;
|
|
739
760
|
"field-input": (...args: any[]) => void;
|
|
740
|
-
}, vue.
|
|
741
|
-
config: FormConfig;
|
|
742
|
-
initValues: Record<string, any>;
|
|
743
|
-
lastValues?: Record<string, any>;
|
|
744
|
-
isCompare?: boolean;
|
|
745
|
-
parentValues?: Record<string, any>;
|
|
746
|
-
labelWidth?: string;
|
|
747
|
-
disabled?: boolean;
|
|
748
|
-
height?: string;
|
|
749
|
-
stepActive?: string | number;
|
|
750
|
-
size?: "small" | "default" | "large";
|
|
751
|
-
inline?: boolean;
|
|
752
|
-
labelPosition?: string;
|
|
753
|
-
keyProp?: string;
|
|
754
|
-
popperClass?: string;
|
|
755
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
756
|
-
}> & Readonly<{
|
|
757
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
758
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
759
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
760
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
761
|
-
}>, {
|
|
761
|
+
}, vue.PublicProps, {
|
|
762
762
|
disabled: boolean;
|
|
763
763
|
labelWidth: string;
|
|
764
764
|
inline: boolean;
|
|
@@ -771,7 +771,7 @@ declare function __VLS_template$4(): {
|
|
|
771
771
|
parentValues: Record<string, any>;
|
|
772
772
|
stepActive: string | number;
|
|
773
773
|
height: string;
|
|
774
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
774
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
775
775
|
P: {};
|
|
776
776
|
B: {};
|
|
777
777
|
D: {};
|
|
@@ -793,19 +793,22 @@ declare function __VLS_template$4(): {
|
|
|
793
793
|
labelPosition?: string;
|
|
794
794
|
keyProp?: string;
|
|
795
795
|
popperClass?: string;
|
|
796
|
-
|
|
796
|
+
preventSubmitDefault?: boolean;
|
|
797
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
797
798
|
}> & Readonly<{
|
|
798
799
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
799
800
|
onError?: ((...args: any[]) => any) | undefined;
|
|
801
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
800
802
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
801
803
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
802
804
|
}>, {
|
|
803
805
|
values: vue.Ref<FormValue, FormValue>;
|
|
804
806
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
805
|
-
formState: FormState;
|
|
807
|
+
formState: _tmagic_editor.FormState;
|
|
806
808
|
initialized: vue.Ref<boolean, boolean>;
|
|
807
|
-
|
|
808
|
-
|
|
809
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
810
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
811
|
+
resetForm: () => void;
|
|
809
812
|
submitForm: (native?: boolean) => Promise<any>;
|
|
810
813
|
}, {}, {}, {}, {
|
|
811
814
|
disabled: boolean;
|
|
@@ -822,24 +825,10 @@ declare function __VLS_template$4(): {
|
|
|
822
825
|
height: string;
|
|
823
826
|
}> | null;
|
|
824
827
|
};
|
|
825
|
-
|
|
828
|
+
rootEl: any;
|
|
826
829
|
};
|
|
827
830
|
type __VLS_TemplateResult$4 = ReturnType<typeof __VLS_template$4>;
|
|
828
|
-
declare const __VLS_component$4: vue.DefineComponent<{
|
|
829
|
-
config?: FormConfig;
|
|
830
|
-
values?: Object;
|
|
831
|
-
parentValues?: Object;
|
|
832
|
-
width?: string | number;
|
|
833
|
-
labelWidth?: string;
|
|
834
|
-
fullscreen?: boolean;
|
|
835
|
-
disabled?: boolean;
|
|
836
|
-
title?: string;
|
|
837
|
-
inline?: boolean;
|
|
838
|
-
labelPosition?: string;
|
|
839
|
-
zIndex?: number;
|
|
840
|
-
size?: "small" | "default" | "large";
|
|
841
|
-
confirmText?: string;
|
|
842
|
-
}, {
|
|
831
|
+
declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
843
832
|
form: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
844
833
|
config: FormConfig;
|
|
845
834
|
initValues: Record<string, any>;
|
|
@@ -855,47 +844,30 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
855
844
|
labelPosition?: string;
|
|
856
845
|
keyProp?: string;
|
|
857
846
|
popperClass?: string;
|
|
858
|
-
|
|
847
|
+
preventSubmitDefault?: boolean;
|
|
848
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
859
849
|
}> & Readonly<{
|
|
860
850
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
861
851
|
onError?: ((...args: any[]) => any) | undefined;
|
|
852
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
862
853
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
863
854
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
864
855
|
}>, {
|
|
865
856
|
values: vue.Ref<FormValue, FormValue>;
|
|
866
857
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
867
|
-
formState: FormState;
|
|
858
|
+
formState: _tmagic_editor.FormState;
|
|
868
859
|
initialized: vue.Ref<boolean, boolean>;
|
|
869
|
-
|
|
870
|
-
|
|
860
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
861
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
862
|
+
resetForm: () => void;
|
|
871
863
|
submitForm: (native?: boolean) => Promise<any>;
|
|
872
864
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
873
865
|
change: (...args: any[]) => void;
|
|
874
866
|
error: (...args: any[]) => void;
|
|
867
|
+
"update:stepActive": (...args: any[]) => void;
|
|
875
868
|
"field-change": (...args: any[]) => void;
|
|
876
869
|
"field-input": (...args: any[]) => void;
|
|
877
|
-
}, vue.
|
|
878
|
-
config: FormConfig;
|
|
879
|
-
initValues: Record<string, any>;
|
|
880
|
-
lastValues?: Record<string, any>;
|
|
881
|
-
isCompare?: boolean;
|
|
882
|
-
parentValues?: Record<string, any>;
|
|
883
|
-
labelWidth?: string;
|
|
884
|
-
disabled?: boolean;
|
|
885
|
-
height?: string;
|
|
886
|
-
stepActive?: string | number;
|
|
887
|
-
size?: "small" | "default" | "large";
|
|
888
|
-
inline?: boolean;
|
|
889
|
-
labelPosition?: string;
|
|
890
|
-
keyProp?: string;
|
|
891
|
-
popperClass?: string;
|
|
892
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
893
|
-
}> & Readonly<{
|
|
894
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
895
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
896
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
897
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
898
|
-
}>, {
|
|
870
|
+
}, vue.PublicProps, {
|
|
899
871
|
disabled: boolean;
|
|
900
872
|
labelWidth: string;
|
|
901
873
|
inline: boolean;
|
|
@@ -908,7 +880,7 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
908
880
|
parentValues: Record<string, any>;
|
|
909
881
|
stepActive: string | number;
|
|
910
882
|
height: string;
|
|
911
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
883
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
912
884
|
P: {};
|
|
913
885
|
B: {};
|
|
914
886
|
D: {};
|
|
@@ -930,19 +902,22 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
930
902
|
labelPosition?: string;
|
|
931
903
|
keyProp?: string;
|
|
932
904
|
popperClass?: string;
|
|
933
|
-
|
|
905
|
+
preventSubmitDefault?: boolean;
|
|
906
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
934
907
|
}> & Readonly<{
|
|
935
908
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
936
909
|
onError?: ((...args: any[]) => any) | undefined;
|
|
910
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
937
911
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
938
912
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
939
913
|
}>, {
|
|
940
914
|
values: vue.Ref<FormValue, FormValue>;
|
|
941
915
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
942
|
-
formState: FormState;
|
|
916
|
+
formState: _tmagic_editor.FormState;
|
|
943
917
|
initialized: vue.Ref<boolean, boolean>;
|
|
944
|
-
|
|
945
|
-
|
|
918
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
919
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
920
|
+
resetForm: () => void;
|
|
946
921
|
submitForm: (native?: boolean) => Promise<any>;
|
|
947
922
|
}, {}, {}, {}, {
|
|
948
923
|
disabled: boolean;
|
|
@@ -972,47 +947,30 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
972
947
|
labelPosition?: string;
|
|
973
948
|
keyProp?: string;
|
|
974
949
|
popperClass?: string;
|
|
975
|
-
|
|
950
|
+
preventSubmitDefault?: boolean;
|
|
951
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
976
952
|
}> & Readonly<{
|
|
977
953
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
978
954
|
onError?: ((...args: any[]) => any) | undefined;
|
|
955
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
979
956
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
980
957
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
981
958
|
}>, {
|
|
982
959
|
values: vue.Ref<FormValue, FormValue>;
|
|
983
960
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
984
|
-
formState: FormState;
|
|
961
|
+
formState: _tmagic_editor.FormState;
|
|
985
962
|
initialized: vue.Ref<boolean, boolean>;
|
|
986
|
-
|
|
987
|
-
|
|
963
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
964
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
965
|
+
resetForm: () => void;
|
|
988
966
|
submitForm: (native?: boolean) => Promise<any>;
|
|
989
967
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
990
968
|
change: (...args: any[]) => void;
|
|
991
969
|
error: (...args: any[]) => void;
|
|
970
|
+
"update:stepActive": (...args: any[]) => void;
|
|
992
971
|
"field-change": (...args: any[]) => void;
|
|
993
972
|
"field-input": (...args: any[]) => void;
|
|
994
|
-
}, vue.
|
|
995
|
-
config: FormConfig;
|
|
996
|
-
initValues: Record<string, any>;
|
|
997
|
-
lastValues?: Record<string, any>;
|
|
998
|
-
isCompare?: boolean;
|
|
999
|
-
parentValues?: Record<string, any>;
|
|
1000
|
-
labelWidth?: string;
|
|
1001
|
-
disabled?: boolean;
|
|
1002
|
-
height?: string;
|
|
1003
|
-
stepActive?: string | number;
|
|
1004
|
-
size?: "small" | "default" | "large";
|
|
1005
|
-
inline?: boolean;
|
|
1006
|
-
labelPosition?: string;
|
|
1007
|
-
keyProp?: string;
|
|
1008
|
-
popperClass?: string;
|
|
1009
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1010
|
-
}> & Readonly<{
|
|
1011
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1012
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1013
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1014
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1015
|
-
}>, {
|
|
973
|
+
}, vue.PublicProps, {
|
|
1016
974
|
disabled: boolean;
|
|
1017
975
|
labelWidth: string;
|
|
1018
976
|
inline: boolean;
|
|
@@ -1025,7 +983,7 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
1025
983
|
parentValues: Record<string, any>;
|
|
1026
984
|
stepActive: string | number;
|
|
1027
985
|
height: string;
|
|
1028
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
986
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1029
987
|
P: {};
|
|
1030
988
|
B: {};
|
|
1031
989
|
D: {};
|
|
@@ -1047,19 +1005,22 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
1047
1005
|
labelPosition?: string;
|
|
1048
1006
|
keyProp?: string;
|
|
1049
1007
|
popperClass?: string;
|
|
1050
|
-
|
|
1008
|
+
preventSubmitDefault?: boolean;
|
|
1009
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1051
1010
|
}> & Readonly<{
|
|
1052
1011
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1053
1012
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1013
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1054
1014
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1055
1015
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1056
1016
|
}>, {
|
|
1057
1017
|
values: vue.Ref<FormValue, FormValue>;
|
|
1058
1018
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1059
|
-
formState: FormState;
|
|
1019
|
+
formState: _tmagic_editor.FormState;
|
|
1060
1020
|
initialized: vue.Ref<boolean, boolean>;
|
|
1061
|
-
|
|
1062
|
-
|
|
1021
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1022
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1023
|
+
resetForm: () => void;
|
|
1063
1024
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1064
1025
|
}, {}, {}, {}, {
|
|
1065
1026
|
disabled: boolean;
|
|
@@ -1086,21 +1047,7 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
1086
1047
|
close: (...args: any[]) => void;
|
|
1087
1048
|
error: (...args: any[]) => void;
|
|
1088
1049
|
submit: (...args: any[]) => void;
|
|
1089
|
-
}, string, vue.PublicProps, Readonly<{
|
|
1090
|
-
config?: FormConfig;
|
|
1091
|
-
values?: Object;
|
|
1092
|
-
parentValues?: Object;
|
|
1093
|
-
width?: string | number;
|
|
1094
|
-
labelWidth?: string;
|
|
1095
|
-
fullscreen?: boolean;
|
|
1096
|
-
disabled?: boolean;
|
|
1097
|
-
title?: string;
|
|
1098
|
-
inline?: boolean;
|
|
1099
|
-
labelPosition?: string;
|
|
1100
|
-
zIndex?: number;
|
|
1101
|
-
size?: "small" | "default" | "large";
|
|
1102
|
-
confirmText?: string;
|
|
1103
|
-
}> & Readonly<{
|
|
1050
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
|
|
1104
1051
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1105
1052
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
1106
1053
|
onError?: ((...args: any[]) => any) | undefined;
|
|
@@ -1109,7 +1056,7 @@ declare const __VLS_component$4: vue.DefineComponent<{
|
|
|
1109
1056
|
values: Object;
|
|
1110
1057
|
config: FormConfig;
|
|
1111
1058
|
confirmText: string;
|
|
1112
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
1059
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1113
1060
|
declare const _default$u: __VLS_WithTemplateSlots$4<typeof __VLS_component$4, __VLS_TemplateResult$4["slots"]>;
|
|
1114
1061
|
|
|
1115
1062
|
type __VLS_WithTemplateSlots$4<T, S> = T & {
|
|
@@ -1118,7 +1065,26 @@ type __VLS_WithTemplateSlots$4<T, S> = T & {
|
|
|
1118
1065
|
};
|
|
1119
1066
|
};
|
|
1120
1067
|
|
|
1068
|
+
type __VLS_Props$s = {
|
|
1069
|
+
config?: FormConfig;
|
|
1070
|
+
values?: Object;
|
|
1071
|
+
parentValues?: Object;
|
|
1072
|
+
width?: string | number;
|
|
1073
|
+
labelWidth?: string;
|
|
1074
|
+
disabled?: boolean;
|
|
1075
|
+
closeOnPressEscape?: boolean;
|
|
1076
|
+
title?: string;
|
|
1077
|
+
zIndex?: number;
|
|
1078
|
+
size?: 'small' | 'default' | 'large';
|
|
1079
|
+
confirmText?: string;
|
|
1080
|
+
inline?: boolean;
|
|
1081
|
+
labelPosition?: string;
|
|
1082
|
+
preventSubmitDefault?: boolean;
|
|
1083
|
+
/** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
|
|
1084
|
+
beforeClose?: (done: (cancel?: boolean) => void) => void;
|
|
1085
|
+
};
|
|
1121
1086
|
declare function __VLS_template$3(): {
|
|
1087
|
+
attrs: Partial<{}>;
|
|
1122
1088
|
slots: {
|
|
1123
1089
|
default?(_: {}): any;
|
|
1124
1090
|
left?(_: {}): any;
|
|
@@ -1138,18 +1104,12 @@ declare function __VLS_template$3(): {
|
|
|
1138
1104
|
readonly closeOnClickModal?: boolean | undefined;
|
|
1139
1105
|
readonly closeOnPressEscape?: boolean | undefined;
|
|
1140
1106
|
readonly direction?: ("rtl" | "ltr" | "ttb" | "bt") | undefined;
|
|
1141
|
-
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
1142
1107
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1108
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
1143
1109
|
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
1144
1110
|
readonly onOpened?: ((...args: any[]) => any) | undefined;
|
|
1145
1111
|
readonly onClosed?: ((...args: any[]) => any) | undefined;
|
|
1146
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps
|
|
1147
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1148
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1149
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1150
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
1151
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1152
|
-
}>;
|
|
1112
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
1153
1113
|
$attrs: {
|
|
1154
1114
|
[x: string]: unknown;
|
|
1155
1115
|
};
|
|
@@ -1162,19 +1122,19 @@ declare function __VLS_template$3(): {
|
|
|
1162
1122
|
$root: vue.ComponentPublicInstance | null;
|
|
1163
1123
|
$parent: vue.ComponentPublicInstance | null;
|
|
1164
1124
|
$host: Element | null;
|
|
1165
|
-
$emit: ((event: "
|
|
1125
|
+
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "opened", ...args: any[]) => void) & ((event: "closed", ...args: any[]) => void);
|
|
1166
1126
|
$el: any;
|
|
1167
1127
|
$options: vue.ComponentOptionsBase<Readonly<_tmagic_design.DrawerProps> & Readonly<{
|
|
1168
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1169
1128
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1129
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1170
1130
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1171
1131
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
1172
1132
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1173
1133
|
}>, {
|
|
1174
1134
|
handleClose: () => any;
|
|
1175
1135
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1176
|
-
close: (...args: any[]) => void;
|
|
1177
1136
|
"update:modelValue": (...args: any[]) => void;
|
|
1137
|
+
close: (...args: any[]) => void;
|
|
1178
1138
|
open: (...args: any[]) => void;
|
|
1179
1139
|
opened: (...args: any[]) => void;
|
|
1180
1140
|
closed: (...args: any[]) => void;
|
|
@@ -1199,8 +1159,8 @@ declare function __VLS_template$3(): {
|
|
|
1199
1159
|
$nextTick: typeof vue.nextTick;
|
|
1200
1160
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
|
|
1201
1161
|
} & Readonly<{}> & Omit<Readonly<_tmagic_design.DrawerProps> & Readonly<{
|
|
1202
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1203
1162
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1163
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1204
1164
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1205
1165
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
1206
1166
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
@@ -1229,47 +1189,30 @@ declare function __VLS_template$3(): {
|
|
|
1229
1189
|
labelPosition?: string;
|
|
1230
1190
|
keyProp?: string;
|
|
1231
1191
|
popperClass?: string;
|
|
1232
|
-
|
|
1192
|
+
preventSubmitDefault?: boolean;
|
|
1193
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1233
1194
|
}> & Readonly<{
|
|
1234
1195
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1235
1196
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1197
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1236
1198
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1237
1199
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1238
1200
|
}>, {
|
|
1239
1201
|
values: vue.Ref<FormValue, FormValue>;
|
|
1240
1202
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1241
|
-
formState: FormState;
|
|
1203
|
+
formState: _tmagic_editor.FormState;
|
|
1242
1204
|
initialized: vue.Ref<boolean, boolean>;
|
|
1243
|
-
|
|
1244
|
-
|
|
1205
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1206
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1207
|
+
resetForm: () => void;
|
|
1245
1208
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1246
1209
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1247
1210
|
change: (...args: any[]) => void;
|
|
1248
1211
|
error: (...args: any[]) => void;
|
|
1212
|
+
"update:stepActive": (...args: any[]) => void;
|
|
1249
1213
|
"field-change": (...args: any[]) => void;
|
|
1250
1214
|
"field-input": (...args: any[]) => void;
|
|
1251
|
-
}, vue.
|
|
1252
|
-
config: FormConfig;
|
|
1253
|
-
initValues: Record<string, any>;
|
|
1254
|
-
lastValues?: Record<string, any>;
|
|
1255
|
-
isCompare?: boolean;
|
|
1256
|
-
parentValues?: Record<string, any>;
|
|
1257
|
-
labelWidth?: string;
|
|
1258
|
-
disabled?: boolean;
|
|
1259
|
-
height?: string;
|
|
1260
|
-
stepActive?: string | number;
|
|
1261
|
-
size?: "small" | "default" | "large";
|
|
1262
|
-
inline?: boolean;
|
|
1263
|
-
labelPosition?: string;
|
|
1264
|
-
keyProp?: string;
|
|
1265
|
-
popperClass?: string;
|
|
1266
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1267
|
-
}> & Readonly<{
|
|
1268
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1269
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1270
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1271
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1272
|
-
}>, {
|
|
1215
|
+
}, vue.PublicProps, {
|
|
1273
1216
|
disabled: boolean;
|
|
1274
1217
|
labelWidth: string;
|
|
1275
1218
|
inline: boolean;
|
|
@@ -1282,7 +1225,7 @@ declare function __VLS_template$3(): {
|
|
|
1282
1225
|
parentValues: Record<string, any>;
|
|
1283
1226
|
stepActive: string | number;
|
|
1284
1227
|
height: string;
|
|
1285
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
1228
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1286
1229
|
P: {};
|
|
1287
1230
|
B: {};
|
|
1288
1231
|
D: {};
|
|
@@ -1304,19 +1247,22 @@ declare function __VLS_template$3(): {
|
|
|
1304
1247
|
labelPosition?: string;
|
|
1305
1248
|
keyProp?: string;
|
|
1306
1249
|
popperClass?: string;
|
|
1307
|
-
|
|
1250
|
+
preventSubmitDefault?: boolean;
|
|
1251
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1308
1252
|
}> & Readonly<{
|
|
1309
1253
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1310
1254
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1255
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1311
1256
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1312
1257
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1313
1258
|
}>, {
|
|
1314
1259
|
values: vue.Ref<FormValue, FormValue>;
|
|
1315
1260
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1316
|
-
formState: FormState;
|
|
1261
|
+
formState: _tmagic_editor.FormState;
|
|
1317
1262
|
initialized: vue.Ref<boolean, boolean>;
|
|
1318
|
-
|
|
1319
|
-
|
|
1263
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1264
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1265
|
+
resetForm: () => void;
|
|
1320
1266
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1321
1267
|
}, {}, {}, {}, {
|
|
1322
1268
|
disabled: boolean;
|
|
@@ -1333,26 +1279,10 @@ declare function __VLS_template$3(): {
|
|
|
1333
1279
|
height: string;
|
|
1334
1280
|
}> | null;
|
|
1335
1281
|
};
|
|
1336
|
-
|
|
1282
|
+
rootEl: any;
|
|
1337
1283
|
};
|
|
1338
1284
|
type __VLS_TemplateResult$3 = ReturnType<typeof __VLS_template$3>;
|
|
1339
|
-
declare const __VLS_component$3: vue.DefineComponent<{
|
|
1340
|
-
config?: FormConfig;
|
|
1341
|
-
values?: Object;
|
|
1342
|
-
parentValues?: Object;
|
|
1343
|
-
width?: string | number;
|
|
1344
|
-
labelWidth?: string;
|
|
1345
|
-
disabled?: boolean;
|
|
1346
|
-
closeOnPressEscape?: boolean;
|
|
1347
|
-
title?: string;
|
|
1348
|
-
zIndex?: number;
|
|
1349
|
-
size?: "small" | "default" | "large";
|
|
1350
|
-
confirmText?: string;
|
|
1351
|
-
inline?: boolean;
|
|
1352
|
-
labelPosition?: string;
|
|
1353
|
-
/** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
|
|
1354
|
-
beforeClose?: (done: (cancel?: boolean) => void) => void;
|
|
1355
|
-
}, {
|
|
1285
|
+
declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
1356
1286
|
form: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1357
1287
|
config: FormConfig;
|
|
1358
1288
|
initValues: Record<string, any>;
|
|
@@ -1368,47 +1298,30 @@ declare const __VLS_component$3: vue.DefineComponent<{
|
|
|
1368
1298
|
labelPosition?: string;
|
|
1369
1299
|
keyProp?: string;
|
|
1370
1300
|
popperClass?: string;
|
|
1371
|
-
|
|
1301
|
+
preventSubmitDefault?: boolean;
|
|
1302
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1372
1303
|
}> & Readonly<{
|
|
1373
1304
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1374
1305
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1306
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1375
1307
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1376
1308
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1377
1309
|
}>, {
|
|
1378
1310
|
values: vue.Ref<FormValue, FormValue>;
|
|
1379
1311
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1380
|
-
formState: FormState;
|
|
1312
|
+
formState: _tmagic_editor.FormState;
|
|
1381
1313
|
initialized: vue.Ref<boolean, boolean>;
|
|
1382
|
-
|
|
1383
|
-
|
|
1314
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1315
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1316
|
+
resetForm: () => void;
|
|
1384
1317
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1385
1318
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1386
1319
|
change: (...args: any[]) => void;
|
|
1387
1320
|
error: (...args: any[]) => void;
|
|
1321
|
+
"update:stepActive": (...args: any[]) => void;
|
|
1388
1322
|
"field-change": (...args: any[]) => void;
|
|
1389
1323
|
"field-input": (...args: any[]) => void;
|
|
1390
|
-
}, vue.
|
|
1391
|
-
config: FormConfig;
|
|
1392
|
-
initValues: Record<string, any>;
|
|
1393
|
-
lastValues?: Record<string, any>;
|
|
1394
|
-
isCompare?: boolean;
|
|
1395
|
-
parentValues?: Record<string, any>;
|
|
1396
|
-
labelWidth?: string;
|
|
1397
|
-
disabled?: boolean;
|
|
1398
|
-
height?: string;
|
|
1399
|
-
stepActive?: string | number;
|
|
1400
|
-
size?: "small" | "default" | "large";
|
|
1401
|
-
inline?: boolean;
|
|
1402
|
-
labelPosition?: string;
|
|
1403
|
-
keyProp?: string;
|
|
1404
|
-
popperClass?: string;
|
|
1405
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1406
|
-
}> & Readonly<{
|
|
1407
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1408
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1409
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1410
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1411
|
-
}>, {
|
|
1324
|
+
}, vue.PublicProps, {
|
|
1412
1325
|
disabled: boolean;
|
|
1413
1326
|
labelWidth: string;
|
|
1414
1327
|
inline: boolean;
|
|
@@ -1421,7 +1334,7 @@ declare const __VLS_component$3: vue.DefineComponent<{
|
|
|
1421
1334
|
parentValues: Record<string, any>;
|
|
1422
1335
|
stepActive: string | number;
|
|
1423
1336
|
height: string;
|
|
1424
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
1337
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1425
1338
|
P: {};
|
|
1426
1339
|
B: {};
|
|
1427
1340
|
D: {};
|
|
@@ -1443,19 +1356,22 @@ declare const __VLS_component$3: vue.DefineComponent<{
|
|
|
1443
1356
|
labelPosition?: string;
|
|
1444
1357
|
keyProp?: string;
|
|
1445
1358
|
popperClass?: string;
|
|
1446
|
-
|
|
1359
|
+
preventSubmitDefault?: boolean;
|
|
1360
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1447
1361
|
}> & Readonly<{
|
|
1448
1362
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1449
1363
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1364
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1450
1365
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1451
1366
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1452
1367
|
}>, {
|
|
1453
1368
|
values: vue.Ref<FormValue, FormValue>;
|
|
1454
1369
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1455
|
-
formState: FormState;
|
|
1370
|
+
formState: _tmagic_editor.FormState;
|
|
1456
1371
|
initialized: vue.Ref<boolean, boolean>;
|
|
1457
|
-
|
|
1458
|
-
|
|
1372
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1373
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1374
|
+
resetForm: () => void;
|
|
1459
1375
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1460
1376
|
}, {}, {}, {}, {
|
|
1461
1377
|
disabled: boolean;
|
|
@@ -1485,47 +1401,30 @@ declare const __VLS_component$3: vue.DefineComponent<{
|
|
|
1485
1401
|
labelPosition?: string;
|
|
1486
1402
|
keyProp?: string;
|
|
1487
1403
|
popperClass?: string;
|
|
1488
|
-
|
|
1404
|
+
preventSubmitDefault?: boolean;
|
|
1405
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1489
1406
|
}> & Readonly<{
|
|
1490
1407
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1491
1408
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1409
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1492
1410
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1493
1411
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1494
1412
|
}>, {
|
|
1495
1413
|
values: vue.Ref<FormValue, FormValue>;
|
|
1496
1414
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1497
|
-
formState: FormState;
|
|
1415
|
+
formState: _tmagic_editor.FormState;
|
|
1498
1416
|
initialized: vue.Ref<boolean, boolean>;
|
|
1499
|
-
|
|
1500
|
-
|
|
1417
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1418
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1419
|
+
resetForm: () => void;
|
|
1501
1420
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1502
1421
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1503
1422
|
change: (...args: any[]) => void;
|
|
1504
1423
|
error: (...args: any[]) => void;
|
|
1424
|
+
"update:stepActive": (...args: any[]) => void;
|
|
1505
1425
|
"field-change": (...args: any[]) => void;
|
|
1506
1426
|
"field-input": (...args: any[]) => void;
|
|
1507
|
-
}, vue.
|
|
1508
|
-
config: FormConfig;
|
|
1509
|
-
initValues: Record<string, any>;
|
|
1510
|
-
lastValues?: Record<string, any>;
|
|
1511
|
-
isCompare?: boolean;
|
|
1512
|
-
parentValues?: Record<string, any>;
|
|
1513
|
-
labelWidth?: string;
|
|
1514
|
-
disabled?: boolean;
|
|
1515
|
-
height?: string;
|
|
1516
|
-
stepActive?: string | number;
|
|
1517
|
-
size?: "small" | "default" | "large";
|
|
1518
|
-
inline?: boolean;
|
|
1519
|
-
labelPosition?: string;
|
|
1520
|
-
keyProp?: string;
|
|
1521
|
-
popperClass?: string;
|
|
1522
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1523
|
-
}> & Readonly<{
|
|
1524
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1525
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1526
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1527
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1528
|
-
}>, {
|
|
1427
|
+
}, vue.PublicProps, {
|
|
1529
1428
|
disabled: boolean;
|
|
1530
1429
|
labelWidth: string;
|
|
1531
1430
|
inline: boolean;
|
|
@@ -1538,7 +1437,7 @@ declare const __VLS_component$3: vue.DefineComponent<{
|
|
|
1538
1437
|
parentValues: Record<string, any>;
|
|
1539
1438
|
stepActive: string | number;
|
|
1540
1439
|
height: string;
|
|
1541
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
1440
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1542
1441
|
P: {};
|
|
1543
1442
|
B: {};
|
|
1544
1443
|
D: {};
|
|
@@ -1560,19 +1459,22 @@ declare const __VLS_component$3: vue.DefineComponent<{
|
|
|
1560
1459
|
labelPosition?: string;
|
|
1561
1460
|
keyProp?: string;
|
|
1562
1461
|
popperClass?: string;
|
|
1563
|
-
|
|
1462
|
+
preventSubmitDefault?: boolean;
|
|
1463
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1564
1464
|
}> & Readonly<{
|
|
1565
1465
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1566
1466
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1467
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1567
1468
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1568
1469
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1569
1470
|
}>, {
|
|
1570
1471
|
values: vue.Ref<FormValue, FormValue>;
|
|
1571
1472
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1572
|
-
formState: FormState;
|
|
1473
|
+
formState: _tmagic_editor.FormState;
|
|
1573
1474
|
initialized: vue.Ref<boolean, boolean>;
|
|
1574
|
-
|
|
1575
|
-
|
|
1475
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1476
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1477
|
+
resetForm: () => void;
|
|
1576
1478
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1577
1479
|
}, {}, {}, {}, {
|
|
1578
1480
|
disabled: boolean;
|
|
@@ -1596,41 +1498,25 @@ declare const __VLS_component$3: vue.DefineComponent<{
|
|
|
1596
1498
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1597
1499
|
change: (...args: any[]) => void;
|
|
1598
1500
|
close: (...args: any[]) => void;
|
|
1599
|
-
error: (...args: any[]) => void;
|
|
1600
|
-
submit: (...args: any[]) => void;
|
|
1601
1501
|
open: (...args: any[]) => void;
|
|
1602
1502
|
opened: (...args: any[]) => void;
|
|
1603
1503
|
closed: (...args: any[]) => void;
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
parentValues?: Object;
|
|
1608
|
-
width?: string | number;
|
|
1609
|
-
labelWidth?: string;
|
|
1610
|
-
disabled?: boolean;
|
|
1611
|
-
closeOnPressEscape?: boolean;
|
|
1612
|
-
title?: string;
|
|
1613
|
-
zIndex?: number;
|
|
1614
|
-
size?: "small" | "default" | "large";
|
|
1615
|
-
confirmText?: string;
|
|
1616
|
-
inline?: boolean;
|
|
1617
|
-
labelPosition?: string;
|
|
1618
|
-
/** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
|
|
1619
|
-
beforeClose?: (done: (cancel?: boolean) => void) => void;
|
|
1620
|
-
}> & Readonly<{
|
|
1504
|
+
error: (...args: any[]) => void;
|
|
1505
|
+
submit: (...args: any[]) => void;
|
|
1506
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$s> & Readonly<{
|
|
1621
1507
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1622
1508
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
1623
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1624
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1625
1509
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1626
1510
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
1627
1511
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1512
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
1513
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1628
1514
|
}>, {
|
|
1629
1515
|
values: Object;
|
|
1630
1516
|
closeOnPressEscape: boolean;
|
|
1631
1517
|
config: FormConfig;
|
|
1632
1518
|
confirmText: string;
|
|
1633
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
1519
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1634
1520
|
declare const _default$t: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
|
|
1635
1521
|
|
|
1636
1522
|
type __VLS_WithTemplateSlots$3<T, S> = T & {
|
|
@@ -1639,7 +1525,22 @@ type __VLS_WithTemplateSlots$3<T, S> = T & {
|
|
|
1639
1525
|
};
|
|
1640
1526
|
};
|
|
1641
1527
|
|
|
1528
|
+
type __VLS_Props$r = {
|
|
1529
|
+
config?: FormConfig;
|
|
1530
|
+
values?: Object;
|
|
1531
|
+
parentValues?: Object;
|
|
1532
|
+
width?: number;
|
|
1533
|
+
height?: number;
|
|
1534
|
+
labelWidth?: string;
|
|
1535
|
+
disabled?: boolean;
|
|
1536
|
+
size?: 'small' | 'default' | 'large';
|
|
1537
|
+
confirmText?: string;
|
|
1538
|
+
inline?: boolean;
|
|
1539
|
+
labelPosition?: string;
|
|
1540
|
+
preventSubmitDefault?: boolean;
|
|
1541
|
+
};
|
|
1642
1542
|
declare function __VLS_template$2(): {
|
|
1543
|
+
attrs: Partial<{}>;
|
|
1643
1544
|
slots: {
|
|
1644
1545
|
default?(_: {}): any;
|
|
1645
1546
|
left?(_: {}): any;
|
|
@@ -1661,47 +1562,30 @@ declare function __VLS_template$2(): {
|
|
|
1661
1562
|
labelPosition?: string;
|
|
1662
1563
|
keyProp?: string;
|
|
1663
1564
|
popperClass?: string;
|
|
1664
|
-
|
|
1565
|
+
preventSubmitDefault?: boolean;
|
|
1566
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1665
1567
|
}> & Readonly<{
|
|
1666
1568
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1667
1569
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1570
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1668
1571
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1669
1572
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1670
1573
|
}>, {
|
|
1671
1574
|
values: vue.Ref<FormValue, FormValue>;
|
|
1672
1575
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1673
|
-
formState: FormState;
|
|
1576
|
+
formState: _tmagic_editor.FormState;
|
|
1674
1577
|
initialized: vue.Ref<boolean, boolean>;
|
|
1675
|
-
|
|
1676
|
-
|
|
1578
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1579
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1580
|
+
resetForm: () => void;
|
|
1677
1581
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1678
1582
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1679
1583
|
change: (...args: any[]) => void;
|
|
1680
1584
|
error: (...args: any[]) => void;
|
|
1585
|
+
"update:stepActive": (...args: any[]) => void;
|
|
1681
1586
|
"field-change": (...args: any[]) => void;
|
|
1682
1587
|
"field-input": (...args: any[]) => void;
|
|
1683
|
-
}, vue.
|
|
1684
|
-
config: FormConfig;
|
|
1685
|
-
initValues: Record<string, any>;
|
|
1686
|
-
lastValues?: Record<string, any>;
|
|
1687
|
-
isCompare?: boolean;
|
|
1688
|
-
parentValues?: Record<string, any>;
|
|
1689
|
-
labelWidth?: string;
|
|
1690
|
-
disabled?: boolean;
|
|
1691
|
-
height?: string;
|
|
1692
|
-
stepActive?: string | number;
|
|
1693
|
-
size?: "small" | "default" | "large";
|
|
1694
|
-
inline?: boolean;
|
|
1695
|
-
labelPosition?: string;
|
|
1696
|
-
keyProp?: string;
|
|
1697
|
-
popperClass?: string;
|
|
1698
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1699
|
-
}> & Readonly<{
|
|
1700
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1701
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1702
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1703
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1704
|
-
}>, {
|
|
1588
|
+
}, vue.PublicProps, {
|
|
1705
1589
|
disabled: boolean;
|
|
1706
1590
|
labelWidth: string;
|
|
1707
1591
|
inline: boolean;
|
|
@@ -1714,7 +1598,7 @@ declare function __VLS_template$2(): {
|
|
|
1714
1598
|
parentValues: Record<string, any>;
|
|
1715
1599
|
stepActive: string | number;
|
|
1716
1600
|
height: string;
|
|
1717
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
1601
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1718
1602
|
P: {};
|
|
1719
1603
|
B: {};
|
|
1720
1604
|
D: {};
|
|
@@ -1736,19 +1620,22 @@ declare function __VLS_template$2(): {
|
|
|
1736
1620
|
labelPosition?: string;
|
|
1737
1621
|
keyProp?: string;
|
|
1738
1622
|
popperClass?: string;
|
|
1739
|
-
|
|
1623
|
+
preventSubmitDefault?: boolean;
|
|
1624
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1740
1625
|
}> & Readonly<{
|
|
1741
1626
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1742
1627
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1628
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1743
1629
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1744
1630
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1745
1631
|
}>, {
|
|
1746
1632
|
values: vue.Ref<FormValue, FormValue>;
|
|
1747
1633
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1748
|
-
formState: FormState;
|
|
1634
|
+
formState: _tmagic_editor.FormState;
|
|
1749
1635
|
initialized: vue.Ref<boolean, boolean>;
|
|
1750
|
-
|
|
1751
|
-
|
|
1636
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1637
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1638
|
+
resetForm: () => void;
|
|
1752
1639
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1753
1640
|
}, {}, {}, {}, {
|
|
1754
1641
|
disabled: boolean;
|
|
@@ -1765,22 +1652,10 @@ declare function __VLS_template$2(): {
|
|
|
1765
1652
|
height: string;
|
|
1766
1653
|
}> | null;
|
|
1767
1654
|
};
|
|
1768
|
-
|
|
1655
|
+
rootEl: HTMLDivElement;
|
|
1769
1656
|
};
|
|
1770
1657
|
type __VLS_TemplateResult$2 = ReturnType<typeof __VLS_template$2>;
|
|
1771
|
-
declare const __VLS_component$2: vue.DefineComponent<{
|
|
1772
|
-
config?: FormConfig;
|
|
1773
|
-
values?: Object;
|
|
1774
|
-
parentValues?: Object;
|
|
1775
|
-
width?: number;
|
|
1776
|
-
height?: number;
|
|
1777
|
-
labelWidth?: string;
|
|
1778
|
-
disabled?: boolean;
|
|
1779
|
-
size?: "small" | "default" | "large";
|
|
1780
|
-
confirmText?: string;
|
|
1781
|
-
inline?: boolean;
|
|
1782
|
-
labelPosition?: string;
|
|
1783
|
-
}, {
|
|
1658
|
+
declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
1784
1659
|
form: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1785
1660
|
config: FormConfig;
|
|
1786
1661
|
initValues: Record<string, any>;
|
|
@@ -1796,47 +1671,30 @@ declare const __VLS_component$2: vue.DefineComponent<{
|
|
|
1796
1671
|
labelPosition?: string;
|
|
1797
1672
|
keyProp?: string;
|
|
1798
1673
|
popperClass?: string;
|
|
1799
|
-
|
|
1674
|
+
preventSubmitDefault?: boolean;
|
|
1675
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1800
1676
|
}> & Readonly<{
|
|
1801
1677
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1802
1678
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1679
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1803
1680
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1804
1681
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1805
1682
|
}>, {
|
|
1806
1683
|
values: vue.Ref<FormValue, FormValue>;
|
|
1807
1684
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1808
|
-
formState: FormState;
|
|
1685
|
+
formState: _tmagic_editor.FormState;
|
|
1809
1686
|
initialized: vue.Ref<boolean, boolean>;
|
|
1810
|
-
|
|
1811
|
-
|
|
1687
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1688
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1689
|
+
resetForm: () => void;
|
|
1812
1690
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1813
1691
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1814
1692
|
change: (...args: any[]) => void;
|
|
1815
1693
|
error: (...args: any[]) => void;
|
|
1694
|
+
"update:stepActive": (...args: any[]) => void;
|
|
1816
1695
|
"field-change": (...args: any[]) => void;
|
|
1817
1696
|
"field-input": (...args: any[]) => void;
|
|
1818
|
-
}, vue.
|
|
1819
|
-
config: FormConfig;
|
|
1820
|
-
initValues: Record<string, any>;
|
|
1821
|
-
lastValues?: Record<string, any>;
|
|
1822
|
-
isCompare?: boolean;
|
|
1823
|
-
parentValues?: Record<string, any>;
|
|
1824
|
-
labelWidth?: string;
|
|
1825
|
-
disabled?: boolean;
|
|
1826
|
-
height?: string;
|
|
1827
|
-
stepActive?: string | number;
|
|
1828
|
-
size?: "small" | "default" | "large";
|
|
1829
|
-
inline?: boolean;
|
|
1830
|
-
labelPosition?: string;
|
|
1831
|
-
keyProp?: string;
|
|
1832
|
-
popperClass?: string;
|
|
1833
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1834
|
-
}> & Readonly<{
|
|
1835
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1836
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1837
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1838
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1839
|
-
}>, {
|
|
1697
|
+
}, vue.PublicProps, {
|
|
1840
1698
|
disabled: boolean;
|
|
1841
1699
|
labelWidth: string;
|
|
1842
1700
|
inline: boolean;
|
|
@@ -1849,7 +1707,7 @@ declare const __VLS_component$2: vue.DefineComponent<{
|
|
|
1849
1707
|
parentValues: Record<string, any>;
|
|
1850
1708
|
stepActive: string | number;
|
|
1851
1709
|
height: string;
|
|
1852
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
1710
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1853
1711
|
P: {};
|
|
1854
1712
|
B: {};
|
|
1855
1713
|
D: {};
|
|
@@ -1871,19 +1729,22 @@ declare const __VLS_component$2: vue.DefineComponent<{
|
|
|
1871
1729
|
labelPosition?: string;
|
|
1872
1730
|
keyProp?: string;
|
|
1873
1731
|
popperClass?: string;
|
|
1874
|
-
|
|
1732
|
+
preventSubmitDefault?: boolean;
|
|
1733
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1875
1734
|
}> & Readonly<{
|
|
1876
1735
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1877
1736
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1737
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1878
1738
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1879
1739
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1880
1740
|
}>, {
|
|
1881
1741
|
values: vue.Ref<FormValue, FormValue>;
|
|
1882
1742
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1883
|
-
formState: FormState;
|
|
1743
|
+
formState: _tmagic_editor.FormState;
|
|
1884
1744
|
initialized: vue.Ref<boolean, boolean>;
|
|
1885
|
-
|
|
1886
|
-
|
|
1745
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1746
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1747
|
+
resetForm: () => void;
|
|
1887
1748
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1888
1749
|
}, {}, {}, {}, {
|
|
1889
1750
|
disabled: boolean;
|
|
@@ -1913,47 +1774,30 @@ declare const __VLS_component$2: vue.DefineComponent<{
|
|
|
1913
1774
|
labelPosition?: string;
|
|
1914
1775
|
keyProp?: string;
|
|
1915
1776
|
popperClass?: string;
|
|
1916
|
-
|
|
1777
|
+
preventSubmitDefault?: boolean;
|
|
1778
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1917
1779
|
}> & Readonly<{
|
|
1918
1780
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1919
1781
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1782
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1920
1783
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1921
1784
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1922
1785
|
}>, {
|
|
1923
1786
|
values: vue.Ref<FormValue, FormValue>;
|
|
1924
1787
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1925
|
-
formState: FormState;
|
|
1788
|
+
formState: _tmagic_editor.FormState;
|
|
1926
1789
|
initialized: vue.Ref<boolean, boolean>;
|
|
1927
|
-
|
|
1928
|
-
|
|
1790
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1791
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1792
|
+
resetForm: () => void;
|
|
1929
1793
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1930
1794
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1931
1795
|
change: (...args: any[]) => void;
|
|
1932
1796
|
error: (...args: any[]) => void;
|
|
1797
|
+
"update:stepActive": (...args: any[]) => void;
|
|
1933
1798
|
"field-change": (...args: any[]) => void;
|
|
1934
1799
|
"field-input": (...args: any[]) => void;
|
|
1935
|
-
}, vue.
|
|
1936
|
-
config: FormConfig;
|
|
1937
|
-
initValues: Record<string, any>;
|
|
1938
|
-
lastValues?: Record<string, any>;
|
|
1939
|
-
isCompare?: boolean;
|
|
1940
|
-
parentValues?: Record<string, any>;
|
|
1941
|
-
labelWidth?: string;
|
|
1942
|
-
disabled?: boolean;
|
|
1943
|
-
height?: string;
|
|
1944
|
-
stepActive?: string | number;
|
|
1945
|
-
size?: "small" | "default" | "large";
|
|
1946
|
-
inline?: boolean;
|
|
1947
|
-
labelPosition?: string;
|
|
1948
|
-
keyProp?: string;
|
|
1949
|
-
popperClass?: string;
|
|
1950
|
-
extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1951
|
-
}> & Readonly<{
|
|
1952
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1953
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1954
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1955
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1956
|
-
}>, {
|
|
1800
|
+
}, vue.PublicProps, {
|
|
1957
1801
|
disabled: boolean;
|
|
1958
1802
|
labelWidth: string;
|
|
1959
1803
|
inline: boolean;
|
|
@@ -1966,7 +1810,7 @@ declare const __VLS_component$2: vue.DefineComponent<{
|
|
|
1966
1810
|
parentValues: Record<string, any>;
|
|
1967
1811
|
stepActive: string | number;
|
|
1968
1812
|
height: string;
|
|
1969
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
1813
|
+
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1970
1814
|
P: {};
|
|
1971
1815
|
B: {};
|
|
1972
1816
|
D: {};
|
|
@@ -1988,19 +1832,22 @@ declare const __VLS_component$2: vue.DefineComponent<{
|
|
|
1988
1832
|
labelPosition?: string;
|
|
1989
1833
|
keyProp?: string;
|
|
1990
1834
|
popperClass?: string;
|
|
1991
|
-
|
|
1835
|
+
preventSubmitDefault?: boolean;
|
|
1836
|
+
extendState?: (state: _tmagic_editor.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1992
1837
|
}> & Readonly<{
|
|
1993
1838
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1994
1839
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1840
|
+
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1995
1841
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1996
1842
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1997
1843
|
}>, {
|
|
1998
1844
|
values: vue.Ref<FormValue, FormValue>;
|
|
1999
1845
|
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
2000
|
-
formState: FormState;
|
|
1846
|
+
formState: _tmagic_editor.FormState;
|
|
2001
1847
|
initialized: vue.Ref<boolean, boolean>;
|
|
2002
|
-
|
|
2003
|
-
|
|
1848
|
+
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1849
|
+
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1850
|
+
resetForm: () => void;
|
|
2004
1851
|
submitForm: (native?: boolean) => Promise<any>;
|
|
2005
1852
|
}, {}, {}, {}, {
|
|
2006
1853
|
disabled: boolean;
|
|
@@ -2020,30 +1867,18 @@ declare const __VLS_component$2: vue.DefineComponent<{
|
|
|
2020
1867
|
show: () => void;
|
|
2021
1868
|
hide: () => void;
|
|
2022
1869
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2023
|
-
change: (
|
|
2024
|
-
error: (
|
|
2025
|
-
submit: (
|
|
2026
|
-
}, string, vue.PublicProps, Readonly<{
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
width?: number;
|
|
2031
|
-
height?: number;
|
|
2032
|
-
labelWidth?: string;
|
|
2033
|
-
disabled?: boolean;
|
|
2034
|
-
size?: "small" | "default" | "large";
|
|
2035
|
-
confirmText?: string;
|
|
2036
|
-
inline?: boolean;
|
|
2037
|
-
labelPosition?: string;
|
|
2038
|
-
}> & Readonly<{
|
|
2039
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2040
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
2041
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1870
|
+
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1871
|
+
error: (e: any) => any;
|
|
1872
|
+
submit: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1873
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
|
|
1874
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1875
|
+
onError?: ((e: any) => any) | undefined;
|
|
1876
|
+
onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
2042
1877
|
}>, {
|
|
2043
1878
|
values: Object;
|
|
2044
1879
|
config: FormConfig;
|
|
2045
1880
|
confirmText: string;
|
|
2046
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
1881
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2047
1882
|
declare const _default$s: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
|
|
2048
1883
|
|
|
2049
1884
|
type __VLS_WithTemplateSlots$2<T, S> = T & {
|
|
@@ -2052,24 +1887,7 @@ type __VLS_WithTemplateSlots$2<T, S> = T & {
|
|
|
2052
1887
|
};
|
|
2053
1888
|
};
|
|
2054
1889
|
|
|
2055
|
-
|
|
2056
|
-
/** 表单值 */
|
|
2057
|
-
model: FormValue;
|
|
2058
|
-
/** 需对比的值(开启对比模式时传入) */
|
|
2059
|
-
lastValues?: FormValue;
|
|
2060
|
-
config: ChildConfig;
|
|
2061
|
-
prop?: string;
|
|
2062
|
-
disabled?: boolean;
|
|
2063
|
-
labelWidth?: string;
|
|
2064
|
-
expandMore?: boolean;
|
|
2065
|
-
stepActive?: string | number;
|
|
2066
|
-
size?: string;
|
|
2067
|
-
/** 是否开启对比模式 */
|
|
2068
|
-
isCompare?: boolean;
|
|
2069
|
-
}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2070
|
-
change: (...args: any[]) => void;
|
|
2071
|
-
addDiffCount: (...args: any[]) => void;
|
|
2072
|
-
}, string, vue.PublicProps, Readonly<{
|
|
1890
|
+
type __VLS_Props$q = {
|
|
2073
1891
|
/** 表单值 */
|
|
2074
1892
|
model: FormValue;
|
|
2075
1893
|
/** 需对比的值(开启对比模式时传入) */
|
|
@@ -2083,18 +1901,22 @@ declare const _default$r: vue.DefineComponent<{
|
|
|
2083
1901
|
size?: string;
|
|
2084
1902
|
/** 是否开启对比模式 */
|
|
2085
1903
|
isCompare?: boolean;
|
|
2086
|
-
}
|
|
2087
|
-
|
|
2088
|
-
|
|
1904
|
+
};
|
|
1905
|
+
declare const _default$r: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1906
|
+
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1907
|
+
addDiffCount: () => any;
|
|
1908
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
1909
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1910
|
+
onAddDiffCount?: (() => any) | undefined;
|
|
2089
1911
|
}>, {
|
|
2090
1912
|
size: string;
|
|
2091
1913
|
prop: string;
|
|
2092
1914
|
lastValues: FormValue;
|
|
2093
1915
|
isCompare: boolean;
|
|
2094
1916
|
expandMore: boolean;
|
|
2095
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
1917
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2096
1918
|
|
|
2097
|
-
|
|
1919
|
+
type __VLS_Props$p = {
|
|
2098
1920
|
labelWidth?: string;
|
|
2099
1921
|
prop: string;
|
|
2100
1922
|
size?: string;
|
|
@@ -2104,52 +1926,21 @@ declare const _default$q: vue.DefineComponent<{
|
|
|
2104
1926
|
config: FieldsetConfig;
|
|
2105
1927
|
rules?: any;
|
|
2106
1928
|
disabled?: boolean;
|
|
2107
|
-
}
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
model: Record<string, any>;
|
|
2115
|
-
lastValues?: Record<string, any>;
|
|
2116
|
-
isCompare?: boolean;
|
|
2117
|
-
config: FieldsetConfig;
|
|
2118
|
-
rules?: any;
|
|
2119
|
-
disabled?: boolean;
|
|
2120
|
-
}> & Readonly<{
|
|
2121
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2122
|
-
onAddDiffCount?: ((...args: any[]) => any) | undefined;
|
|
1929
|
+
};
|
|
1930
|
+
declare const _default$q: vue.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1931
|
+
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1932
|
+
addDiffCount: () => any;
|
|
1933
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
|
|
1934
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1935
|
+
onAddDiffCount?: (() => any) | undefined;
|
|
2123
1936
|
}>, {
|
|
2124
1937
|
prop: string;
|
|
2125
1938
|
rules: any;
|
|
2126
1939
|
lastValues: Record<string, any>;
|
|
2127
1940
|
isCompare: boolean;
|
|
2128
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
1941
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2129
1942
|
|
|
2130
|
-
|
|
2131
|
-
slots: {
|
|
2132
|
-
header?(_: {}): any;
|
|
2133
|
-
default?(_: {}): any;
|
|
2134
|
-
};
|
|
2135
|
-
refs: {};
|
|
2136
|
-
attrs: Partial<{}>;
|
|
2137
|
-
};
|
|
2138
|
-
type __VLS_TemplateResult$1 = ReturnType<typeof __VLS_template$1>;
|
|
2139
|
-
declare const __VLS_component$1: vue.DefineComponent<{
|
|
2140
|
-
model: any;
|
|
2141
|
-
lastValues?: any;
|
|
2142
|
-
isCompare?: boolean;
|
|
2143
|
-
config: PanelConfig;
|
|
2144
|
-
name?: string;
|
|
2145
|
-
labelWidth?: string;
|
|
2146
|
-
prop?: string;
|
|
2147
|
-
size?: string;
|
|
2148
|
-
disabled?: boolean;
|
|
2149
|
-
}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2150
|
-
change: (...args: any[]) => void;
|
|
2151
|
-
addDiffCount: (...args: any[]) => void;
|
|
2152
|
-
}, string, vue.PublicProps, Readonly<{
|
|
1943
|
+
type __VLS_Props$o = {
|
|
2153
1944
|
model: any;
|
|
2154
1945
|
lastValues?: any;
|
|
2155
1946
|
isCompare?: boolean;
|
|
@@ -2159,10 +1950,24 @@ declare const __VLS_component$1: vue.DefineComponent<{
|
|
|
2159
1950
|
prop?: string;
|
|
2160
1951
|
size?: string;
|
|
2161
1952
|
disabled?: boolean;
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
1953
|
+
};
|
|
1954
|
+
declare function __VLS_template$1(): {
|
|
1955
|
+
attrs: Partial<{}>;
|
|
1956
|
+
slots: {
|
|
1957
|
+
header?(_: {}): any;
|
|
1958
|
+
default?(_: {}): any;
|
|
1959
|
+
};
|
|
1960
|
+
refs: {};
|
|
1961
|
+
rootEl: any;
|
|
1962
|
+
};
|
|
1963
|
+
type __VLS_TemplateResult$1 = ReturnType<typeof __VLS_template$1>;
|
|
1964
|
+
declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1965
|
+
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1966
|
+
addDiffCount: () => any;
|
|
1967
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
|
|
1968
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1969
|
+
onAddDiffCount?: (() => any) | undefined;
|
|
1970
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2166
1971
|
declare const _default$p: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
|
|
2167
1972
|
|
|
2168
1973
|
type __VLS_WithTemplateSlots$1<T, S> = T & {
|
|
@@ -2171,21 +1976,7 @@ type __VLS_WithTemplateSlots$1<T, S> = T & {
|
|
|
2171
1976
|
};
|
|
2172
1977
|
};
|
|
2173
1978
|
|
|
2174
|
-
|
|
2175
|
-
model: any;
|
|
2176
|
-
lastValues?: any;
|
|
2177
|
-
isCompare?: boolean;
|
|
2178
|
-
config: RowConfig;
|
|
2179
|
-
name: string;
|
|
2180
|
-
labelWidth?: string;
|
|
2181
|
-
prop?: string;
|
|
2182
|
-
size?: string;
|
|
2183
|
-
expandMore?: boolean;
|
|
2184
|
-
disabled?: boolean;
|
|
2185
|
-
}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2186
|
-
change: (...args: any[]) => void;
|
|
2187
|
-
addDiffCount: (...args: any[]) => void;
|
|
2188
|
-
}, string, vue.PublicProps, Readonly<{
|
|
1979
|
+
type __VLS_Props$n = {
|
|
2189
1980
|
model: any;
|
|
2190
1981
|
lastValues?: any;
|
|
2191
1982
|
isCompare?: boolean;
|
|
@@ -2196,12 +1987,16 @@ declare const _default$o: vue.DefineComponent<{
|
|
|
2196
1987
|
size?: string;
|
|
2197
1988
|
expandMore?: boolean;
|
|
2198
1989
|
disabled?: boolean;
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
1990
|
+
};
|
|
1991
|
+
declare const _default$o: vue.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1992
|
+
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1993
|
+
addDiffCount: () => any;
|
|
1994
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
|
|
1995
|
+
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1996
|
+
onAddDiffCount?: (() => any) | undefined;
|
|
1997
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2203
1998
|
|
|
2204
|
-
|
|
1999
|
+
type __VLS_Props$m = {
|
|
2205
2000
|
model: any;
|
|
2206
2001
|
lastValues?: any;
|
|
2207
2002
|
isCompare?: boolean;
|
|
@@ -2212,29 +2007,36 @@ declare const _default$n: vue.DefineComponent<{
|
|
|
2212
2007
|
prop?: string;
|
|
2213
2008
|
expandMore?: boolean;
|
|
2214
2009
|
disabled?: boolean;
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2010
|
+
};
|
|
2011
|
+
declare const _default$n: vue.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2012
|
+
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2013
|
+
addDiffCount: () => any;
|
|
2014
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
2015
|
+
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2016
|
+
onAddDiffCount?: (() => any) | undefined;
|
|
2017
|
+
}>, {
|
|
2018
|
+
lastValues: any;
|
|
2019
|
+
isCompare: boolean;
|
|
2020
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2021
|
+
|
|
2022
|
+
type __VLS_Props$l = {
|
|
2219
2023
|
model: any;
|
|
2220
2024
|
lastValues?: any;
|
|
2221
2025
|
isCompare?: boolean;
|
|
2222
|
-
config:
|
|
2026
|
+
config: TableConfig;
|
|
2223
2027
|
name: string;
|
|
2224
|
-
size?: string;
|
|
2225
|
-
labelWidth?: string;
|
|
2226
2028
|
prop?: string;
|
|
2227
|
-
|
|
2029
|
+
labelWidth?: string;
|
|
2030
|
+
sort?: boolean;
|
|
2228
2031
|
disabled?: boolean;
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2236
|
-
|
|
2032
|
+
sortKey?: string;
|
|
2033
|
+
text?: string;
|
|
2034
|
+
size?: string;
|
|
2035
|
+
enableToggleMode?: boolean;
|
|
2036
|
+
showIndex?: boolean;
|
|
2037
|
+
};
|
|
2237
2038
|
declare function __VLS_template(): {
|
|
2039
|
+
attrs: Partial<{}>;
|
|
2238
2040
|
slots: {
|
|
2239
2041
|
operateCol?(_: {
|
|
2240
2042
|
scope: {
|
|
@@ -2258,12 +2060,7 @@ declare function __VLS_template(): {
|
|
|
2258
2060
|
readonly "onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
2259
2061
|
readonly "onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
2260
2062
|
readonly "onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
2261
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps
|
|
2262
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2263
|
-
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
2264
|
-
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
2265
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
2266
|
-
}>;
|
|
2063
|
+
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
2267
2064
|
$attrs: {
|
|
2268
2065
|
[x: string]: unknown;
|
|
2269
2066
|
};
|
|
@@ -2340,9 +2137,7 @@ declare function __VLS_template(): {
|
|
|
2340
2137
|
clearFiles(...args: any[]): any;
|
|
2341
2138
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2342
2139
|
change: (...args: any[]) => void;
|
|
2343
|
-
}, vue.
|
|
2344
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2345
|
-
}>, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
|
|
2140
|
+
}, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
2346
2141
|
P: {};
|
|
2347
2142
|
B: {};
|
|
2348
2143
|
D: {};
|
|
@@ -2355,46 +2150,16 @@ declare function __VLS_template(): {
|
|
|
2355
2150
|
clearFiles(...args: any[]): any;
|
|
2356
2151
|
}, {}, {}, {}, {}> | null;
|
|
2357
2152
|
};
|
|
2358
|
-
|
|
2153
|
+
rootEl: HTMLDivElement;
|
|
2359
2154
|
};
|
|
2360
2155
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
2361
|
-
declare const __VLS_component: vue.DefineComponent<{
|
|
2362
|
-
model: any;
|
|
2363
|
-
lastValues?: any;
|
|
2364
|
-
isCompare?: boolean;
|
|
2365
|
-
config: TableConfig;
|
|
2366
|
-
name: string;
|
|
2367
|
-
prop?: string;
|
|
2368
|
-
labelWidth?: string;
|
|
2369
|
-
sort?: boolean;
|
|
2370
|
-
disabled?: boolean;
|
|
2371
|
-
sortKey?: string;
|
|
2372
|
-
text?: string;
|
|
2373
|
-
size?: string;
|
|
2374
|
-
enableToggleMode?: boolean;
|
|
2375
|
-
showIndex?: boolean;
|
|
2376
|
-
}, {
|
|
2156
|
+
declare const __VLS_component: vue.DefineComponent<__VLS_Props$l, {
|
|
2377
2157
|
toggleRowSelection: (row: any, selected: boolean) => void;
|
|
2378
2158
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2379
2159
|
change: (...args: any[]) => void;
|
|
2380
2160
|
select: (...args: any[]) => void;
|
|
2381
2161
|
addDiffCount: (...args: any[]) => void;
|
|
2382
|
-
}, string, vue.PublicProps, Readonly<{
|
|
2383
|
-
model: any;
|
|
2384
|
-
lastValues?: any;
|
|
2385
|
-
isCompare?: boolean;
|
|
2386
|
-
config: TableConfig;
|
|
2387
|
-
name: string;
|
|
2388
|
-
prop?: string;
|
|
2389
|
-
labelWidth?: string;
|
|
2390
|
-
sort?: boolean;
|
|
2391
|
-
disabled?: boolean;
|
|
2392
|
-
sortKey?: string;
|
|
2393
|
-
text?: string;
|
|
2394
|
-
size?: string;
|
|
2395
|
-
enableToggleMode?: boolean;
|
|
2396
|
-
showIndex?: boolean;
|
|
2397
|
-
}> & Readonly<{
|
|
2162
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
2398
2163
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2399
2164
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2400
2165
|
onAddDiffCount?: ((...args: any[]) => any) | undefined;
|
|
@@ -2405,7 +2170,7 @@ declare const __VLS_component: vue.DefineComponent<{
|
|
|
2405
2170
|
enableToggleMode: boolean;
|
|
2406
2171
|
showIndex: boolean;
|
|
2407
2172
|
sortKey: string;
|
|
2408
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2173
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2409
2174
|
declare const _default$m: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2410
2175
|
|
|
2411
2176
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2414,7 +2179,7 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
2414
2179
|
};
|
|
2415
2180
|
};
|
|
2416
2181
|
|
|
2417
|
-
|
|
2182
|
+
type __VLS_Props$k = {
|
|
2418
2183
|
model: any;
|
|
2419
2184
|
lastValues?: any;
|
|
2420
2185
|
isCompare?: boolean;
|
|
@@ -2424,141 +2189,152 @@ declare const _default$l: vue.DefineComponent<{
|
|
|
2424
2189
|
prop?: string;
|
|
2425
2190
|
size?: string;
|
|
2426
2191
|
disabled?: boolean;
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
name: string;
|
|
2436
|
-
labelWidth?: string;
|
|
2437
|
-
prop?: string;
|
|
2438
|
-
size?: string;
|
|
2439
|
-
disabled?: boolean;
|
|
2440
|
-
}> & Readonly<{
|
|
2441
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2442
|
-
onAddDiffCount?: ((...args: any[]) => any) | undefined;
|
|
2443
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2192
|
+
};
|
|
2193
|
+
declare const _default$l: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2194
|
+
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2195
|
+
addDiffCount: () => any;
|
|
2196
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
2197
|
+
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2198
|
+
onAddDiffCount?: (() => any) | undefined;
|
|
2199
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2444
2200
|
|
|
2445
|
-
|
|
2201
|
+
type __VLS_Props$j = FieldProps<TextConfig>;
|
|
2202
|
+
declare const _default$k: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2446
2203
|
change: (value: string) => any;
|
|
2447
2204
|
input: (value: string) => any;
|
|
2448
|
-
}, string, vue.PublicProps, Readonly<
|
|
2205
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
2449
2206
|
onChange?: ((value: string) => any) | undefined;
|
|
2450
2207
|
onInput?: ((value: string) => any) | undefined;
|
|
2451
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2208
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2452
2209
|
|
|
2453
|
-
|
|
2210
|
+
type __VLS_Props$i = FieldProps<NumberConfig>;
|
|
2211
|
+
declare const _default$j: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2454
2212
|
change: (values: number) => any;
|
|
2455
2213
|
input: (values: number) => any;
|
|
2456
|
-
}, string, vue.PublicProps, Readonly<
|
|
2214
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
2457
2215
|
onChange?: ((values: number) => any) | undefined;
|
|
2458
2216
|
onInput?: ((values: number) => any) | undefined;
|
|
2459
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2217
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2460
2218
|
|
|
2461
|
-
|
|
2219
|
+
type __VLS_Props$h = FieldProps<NumberRangeConfig>;
|
|
2220
|
+
declare const _default$i: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2462
2221
|
change: (values: [number, number]) => any;
|
|
2463
|
-
}, string, vue.PublicProps, Readonly<
|
|
2222
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
2464
2223
|
onChange?: ((values: [number, number]) => any) | undefined;
|
|
2465
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2224
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2466
2225
|
|
|
2467
|
-
|
|
2226
|
+
type __VLS_Props$g = FieldProps<TextareaConfig>;
|
|
2227
|
+
declare const _default$h: vue.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2468
2228
|
change: (value: string) => any;
|
|
2469
2229
|
input: (value: string) => any;
|
|
2470
|
-
}, string, vue.PublicProps, Readonly<
|
|
2230
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
2471
2231
|
onChange?: ((value: string) => any) | undefined;
|
|
2472
2232
|
onInput?: ((value: string) => any) | undefined;
|
|
2473
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2233
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2474
2234
|
|
|
2475
|
-
|
|
2235
|
+
type __VLS_Props$f = FieldProps<HiddenConfig>;
|
|
2236
|
+
declare const _default$g: vue.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2476
2237
|
|
|
2477
|
-
|
|
2238
|
+
type __VLS_Props$e = FieldProps<DateConfig>;
|
|
2239
|
+
declare const _default$f: vue.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2478
2240
|
change: (value: string) => any;
|
|
2479
|
-
}, string, vue.PublicProps, Readonly<
|
|
2241
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$e> & Readonly<{
|
|
2480
2242
|
onChange?: ((value: string) => any) | undefined;
|
|
2481
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2243
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2482
2244
|
|
|
2483
|
-
|
|
2245
|
+
type __VLS_Props$d = FieldProps<DateTimeConfig>;
|
|
2246
|
+
declare const _default$e: vue.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2484
2247
|
change: (value: string) => any;
|
|
2485
|
-
}, string, vue.PublicProps, Readonly<
|
|
2248
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$d> & Readonly<{
|
|
2486
2249
|
onChange?: ((value: string) => any) | undefined;
|
|
2487
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2250
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2488
2251
|
|
|
2489
|
-
|
|
2252
|
+
type __VLS_Props$c = FieldProps<TimeConfig>;
|
|
2253
|
+
declare const _default$d: vue.DefineComponent<__VLS_Props$c, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2490
2254
|
change: (value: string) => any;
|
|
2491
|
-
}, string, vue.PublicProps, Readonly<
|
|
2255
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
|
|
2492
2256
|
onChange?: ((value: string) => any) | undefined;
|
|
2493
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2257
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2494
2258
|
|
|
2495
|
-
|
|
2259
|
+
type __VLS_Props$b = FieldProps<CheckboxConfig>;
|
|
2260
|
+
declare const _default$c: vue.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2496
2261
|
change: (...args: any[]) => void;
|
|
2497
|
-
}, string, vue.PublicProps, Readonly<
|
|
2262
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
|
|
2498
2263
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2499
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2264
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2500
2265
|
|
|
2501
|
-
|
|
2266
|
+
type __VLS_Props$a = FieldProps<SwitchConfig>;
|
|
2267
|
+
declare const _default$b: vue.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2502
2268
|
change: (value: any) => any;
|
|
2503
|
-
}, string, vue.PublicProps, Readonly<
|
|
2269
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
|
|
2504
2270
|
onChange?: ((value: any) => any) | undefined;
|
|
2505
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2271
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2506
2272
|
|
|
2507
|
-
|
|
2273
|
+
type __VLS_Props$9 = FieldProps<DaterangeConfig>;
|
|
2274
|
+
declare const _default$a: vue.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2508
2275
|
change: (...args: any[]) => void;
|
|
2509
|
-
}, string, vue.PublicProps, Readonly<
|
|
2276
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
|
|
2510
2277
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2511
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2278
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2512
2279
|
|
|
2513
|
-
|
|
2280
|
+
type __VLS_Props$8 = FieldProps<DaterangeConfig>;
|
|
2281
|
+
declare const _default$9: vue.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2514
2282
|
change: (...args: any[]) => void;
|
|
2515
|
-
}, string, vue.PublicProps, Readonly<
|
|
2283
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
2516
2284
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2517
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2285
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2518
2286
|
|
|
2519
|
-
|
|
2287
|
+
type __VLS_Props$7 = FieldProps<ColorPickConfig>;
|
|
2288
|
+
declare const _default$8: vue.DefineComponent<__VLS_Props$7, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2520
2289
|
change: (value: string) => any;
|
|
2521
|
-
}, string, vue.PublicProps, Readonly<
|
|
2290
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
|
|
2522
2291
|
onChange?: ((value: string) => any) | undefined;
|
|
2523
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2292
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2524
2293
|
|
|
2525
|
-
|
|
2294
|
+
type __VLS_Props$6 = FieldProps<CheckboxGroupConfig>;
|
|
2295
|
+
declare const _default$7: vue.DefineComponent<__VLS_Props$6, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2526
2296
|
change: (...args: any[]) => void;
|
|
2527
|
-
}, string, vue.PublicProps, Readonly<
|
|
2297
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$6> & Readonly<{
|
|
2528
2298
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2529
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2299
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2530
2300
|
|
|
2531
|
-
|
|
2301
|
+
type __VLS_Props$5 = FieldProps<RadioGroupConfig>;
|
|
2302
|
+
declare const _default$6: vue.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2532
2303
|
change: (...args: any[]) => void;
|
|
2533
|
-
}, string, vue.PublicProps, Readonly<
|
|
2304
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
2534
2305
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2535
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2306
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2536
2307
|
|
|
2537
|
-
|
|
2308
|
+
type __VLS_Props$4 = FieldProps<DisplayConfig>;
|
|
2309
|
+
declare const _default$5: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2538
2310
|
|
|
2539
|
-
|
|
2311
|
+
type __VLS_Props$3 = FieldProps<LinkConfig>;
|
|
2312
|
+
declare const _default$4: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2540
2313
|
change: (...args: any[]) => void;
|
|
2541
|
-
}, string, vue.PublicProps, Readonly<
|
|
2314
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
2542
2315
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2543
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2316
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2544
2317
|
|
|
2545
|
-
|
|
2318
|
+
type __VLS_Props$2 = FieldProps<SelectConfig>;
|
|
2319
|
+
declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2546
2320
|
change: (...args: any[]) => void;
|
|
2547
|
-
}, string, vue.PublicProps, Readonly<
|
|
2321
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
2548
2322
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2549
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2323
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2550
2324
|
|
|
2551
|
-
|
|
2325
|
+
type __VLS_Props$1 = FieldProps<CascaderConfig>;
|
|
2326
|
+
declare const _default$2: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2552
2327
|
change: (...args: any[]) => void;
|
|
2553
|
-
}, string, vue.PublicProps, Readonly<
|
|
2328
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
2554
2329
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2555
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2330
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2556
2331
|
|
|
2557
|
-
|
|
2332
|
+
type __VLS_Props = FieldProps<DynamicFieldConfig>;
|
|
2333
|
+
declare const _default$1: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2558
2334
|
change: (...args: any[]) => void;
|
|
2559
|
-
}, string, vue.PublicProps, Readonly<
|
|
2335
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
2560
2336
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2561
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
|
|
2337
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2562
2338
|
|
|
2563
2339
|
declare const createForm: <T extends [] = []>(config: FormConfig | T) => FormConfig | T;
|
|
2564
2340
|
interface FormInstallOptions {
|
|
@@ -2568,4 +2344,4 @@ declare const _default: {
|
|
|
2568
2344
|
install(app: App, opt?: FormInstallOptions): void;
|
|
2569
2345
|
};
|
|
2570
2346
|
|
|
2571
|
-
export { type CascaderConfig, type CascaderOption, type CheckboxConfig, type CheckboxGroupConfig, type CheckboxGroupOption, type ChildConfig, type ColorPickConfig, type ComponentConfig, type ContainerCommonConfig, type DateConfig, type DateTimeConfig, type DaterangeConfig, type DisplayConfig, type DynamicFieldConfig, type FieldProps, type FieldsetConfig, type FilterFunction, type FormConfig, type FormInstallOptions, type FormItem, type FormState, type FormValue, type GroupListConfig, type HiddenConfig, type HtmlField, type Input, type LinkConfig, _default$2 as MCascader, _default$c as MCheckbox, _default$7 as MCheckboxGroup, _default$8 as MColorPicker, _default$r as MContainer, _default$f as MDate, _default$e as MDateTime, _default$a as MDaterange, _default$5 as MDisplay, _default$1 as MDynamicField, _default$q as MFieldset, _default$v as MForm, _default$s as MFormBox, _default$u as MFormDialog, _default$t as MFormDrawer, _default$l as MGroupList, _default$g as MHidden, _default$4 as MLink, _default$j as MNumber, _default$i as MNumberRange, _default$p as MPanel, _default$6 as MRadioGroup, _default$o as MRow, _default$3 as MSelect, _default$b as MSwitch, _default$m as MTable, _default$n as MTabs, _default$k as MText, _default$h as MTextarea, _default$d as MTime, _default$9 as MTimerange, type NumberConfig, type NumberRangeConfig, type PanelConfig, type RadioGroupConfig, type RowConfig, type Rule, type SelectConfig, type SelectConfigGroupOption, type SelectConfigOption, type SelectGroupOption, type SelectOption, type SortProp, type StepConfig, type SwitchConfig, type TabConfig, type TabPaneConfig, type TableColumnConfig, type TableConfig, type TextConfig, type TextareaConfig, type TimeConfig, type TypeFunction, type ValidateError, createForm, createValues, datetimeFormatter, _default as default, display, filterFunction, getRules, initValue, useAddField };
|
|
2347
|
+
export { type CascaderConfig, type CascaderOption, type ChangeRecord, type CheckboxConfig, type CheckboxGroupConfig, type CheckboxGroupOption, type ChildConfig, type ColorPickConfig, type ComponentConfig, type ContainerChangeEventData, type ContainerCommonConfig, type DateConfig, type DateTimeConfig, type DaterangeConfig, type DisplayConfig, type DynamicFieldConfig, type FieldProps, type FieldsetConfig, type FilterFunction, type FormConfig, type FormInstallOptions, type FormItem, type FormState, type FormValue, type GroupListConfig, type HiddenConfig, type HtmlField, type Input, type LinkConfig, _default$2 as MCascader, _default$c as MCheckbox, _default$7 as MCheckboxGroup, _default$8 as MColorPicker, _default$r as MContainer, _default$f as MDate, _default$e as MDateTime, _default$a as MDaterange, _default$5 as MDisplay, _default$1 as MDynamicField, _default$q as MFieldset, _default$v as MForm, _default$s as MFormBox, _default$u as MFormDialog, _default$t as MFormDrawer, _default$l as MGroupList, _default$g as MHidden, _default$4 as MLink, _default$j as MNumber, _default$i as MNumberRange, _default$p as MPanel, _default$6 as MRadioGroup, _default$o as MRow, _default$3 as MSelect, _default$b as MSwitch, _default$m as MTable, _default$n as MTabs, _default$k as MText, _default$h as MTextarea, _default$d as MTime, _default$9 as MTimerange, type NumberConfig, type NumberRangeConfig, type OnChangeHandler, type OnChangeHandlerData, type PanelConfig, type RadioGroupConfig, type RowConfig, type Rule, type SelectConfig, type SelectConfigGroupOption, type SelectConfigOption, type SelectGroupOption, type SelectOption, type SortProp, type StepConfig, type SwitchConfig, type TabConfig, type TabPaneConfig, type TableColumnConfig, type TableConfig, type TextConfig, type TextareaConfig, type TimeConfig, type TypeFunction, type ValidateError, createForm, createValues, datetimeFormatter, _default as default, display, filterFunction, getRules, initValue, useAddField };
|