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