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