@tmagic/form 1.2.0-beta.24 → 1.2.0-beta.26

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.
Files changed (50) hide show
  1. package/dist/tmagic-form.js +4 -2
  2. package/dist/tmagic-form.js.map +1 -1
  3. package/dist/tmagic-form.umd.cjs +4 -2
  4. package/dist/tmagic-form.umd.cjs.map +1 -1
  5. package/package.json +4 -4
  6. package/src/fields/Cascader.vue +1 -1
  7. package/src/fields/Checkbox.vue +1 -1
  8. package/src/fields/CheckboxGroup.vue +7 -2
  9. package/src/fields/ColorPicker.vue +1 -1
  10. package/src/fields/Date.vue +1 -1
  11. package/src/fields/DateTime.vue +1 -1
  12. package/src/fields/Daterange.vue +1 -1
  13. package/src/fields/DynamicField.vue +1 -1
  14. package/src/fields/Link.vue +1 -1
  15. package/src/fields/Number.vue +1 -1
  16. package/src/fields/RadioGroup.vue +8 -4
  17. package/src/fields/Select.vue +1 -1
  18. package/src/fields/Switch.vue +1 -1
  19. package/src/fields/Text.vue +1 -1
  20. package/src/fields/Textarea.vue +1 -1
  21. package/src/fields/Time.vue +1 -1
  22. package/types/Form.vue.d.ts +32 -170
  23. package/types/containers/Col.vue.d.ts +11 -77
  24. package/types/containers/Container.vue.d.ts +16 -98
  25. package/types/containers/Fieldset.vue.d.ts +14 -90
  26. package/types/containers/GroupList.vue.d.ts +10 -74
  27. package/types/containers/GroupListItem.vue.d.ts +11 -83
  28. package/types/containers/Row.vue.d.ts +11 -77
  29. package/types/containers/Step.vue.d.ts +12 -82
  30. package/types/containers/Tabs.vue.d.ts +11 -77
  31. package/types/fields/Cascader.vue.d.ts +12 -78
  32. package/types/fields/Checkbox.vue.d.ts +12 -78
  33. package/types/fields/CheckboxGroup.vue.d.ts +12 -78
  34. package/types/fields/ColorPicker.vue.d.ts +12 -78
  35. package/types/fields/Date.vue.d.ts +12 -78
  36. package/types/fields/DateTime.vue.d.ts +12 -78
  37. package/types/fields/Daterange.vue.d.ts +12 -78
  38. package/types/fields/Display.vue.d.ts +9 -65
  39. package/types/fields/DynamicField.vue.d.ts +12 -78
  40. package/types/fields/Hidden.vue.d.ts +9 -65
  41. package/types/fields/Link.vue.d.ts +12 -78
  42. package/types/fields/Number.vue.d.ts +12 -81
  43. package/types/fields/RadioGroup.vue.d.ts +12 -78
  44. package/types/fields/Select.vue.d.ts +12 -79
  45. package/types/fields/SelectOptionGroups.vue.d.ts +4 -50
  46. package/types/fields/SelectOptions.vue.d.ts +5 -53
  47. package/types/fields/Switch.vue.d.ts +12 -78
  48. package/types/fields/Text.vue.d.ts +12 -81
  49. package/types/fields/Textarea.vue.d.ts +12 -81
  50. package/types/fields/Time.vue.d.ts +12 -78
@@ -1,100 +1,18 @@
1
1
  import { ChildConfig, FormValue } from '../schema';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- prop: string;
8
- expandMore: boolean;
9
- size: string;
10
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
- model: FormValue;
12
- config: ChildConfig;
13
- prop?: string | undefined;
14
- disabled?: boolean | undefined;
15
- labelWidth?: string | undefined;
16
- expandMore?: boolean | undefined;
17
- stepActive?: string | number | undefined;
18
- size?: string | undefined;
19
- }>, {
20
- prop: string;
21
- size: string;
22
- expandMore: boolean;
23
- }>>> & {
24
- onChange?: ((...args: any[]) => any) | undefined;
25
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "prop" | "expandMore" | "size">;
26
- $attrs: {
27
- [x: string]: unknown;
28
- };
29
- $refs: {
30
- [x: string]: unknown;
31
- };
32
- $slots: Readonly<{
33
- [name: string]: import("vue").Slot | undefined;
34
- }>;
35
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
36
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
37
- $emit: (event: "change", ...args: any[]) => void;
38
- $el: any;
39
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
40
- model: FormValue;
41
- config: ChildConfig;
42
- prop?: string | undefined;
43
- disabled?: boolean | undefined;
44
- labelWidth?: string | undefined;
45
- expandMore?: boolean | undefined;
46
- stepActive?: string | number | undefined;
47
- size?: string | undefined;
48
- }>, {
49
- prop: string;
50
- size: string;
51
- expandMore: boolean;
52
- }>>> & {
53
- onChange?: ((...args: any[]) => any) | undefined;
54
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {
55
- prop: string;
56
- expandMore: boolean;
57
- size: string;
58
- }> & {
59
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
60
- created?: ((() => void) | (() => void)[]) | undefined;
61
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
62
- mounted?: ((() => void) | (() => void)[]) | undefined;
63
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
64
- updated?: ((() => void) | (() => void)[]) | undefined;
65
- activated?: ((() => void) | (() => void)[]) | undefined;
66
- deactivated?: ((() => void) | (() => void)[]) | undefined;
67
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
68
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
69
- destroyed?: ((() => void) | (() => void)[]) | undefined;
70
- unmounted?: ((() => void) | (() => void)[]) | undefined;
71
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
72
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
73
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
74
- };
75
- $forceUpdate: () => void;
76
- $nextTick: typeof import("vue").nextTick;
77
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
78
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
79
- model: FormValue;
80
- config: ChildConfig;
81
- prop?: string | undefined;
82
- disabled?: boolean | undefined;
83
- labelWidth?: string | undefined;
84
- expandMore?: boolean | undefined;
85
- stepActive?: string | number | undefined;
86
- size?: string | undefined;
87
- }>, {
88
- prop: string;
89
- size: string;
90
- expandMore: boolean;
91
- }>>> & {
92
- onChange?: ((...args: any[]) => any) | undefined;
93
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
94
- __isFragment?: undefined;
95
- __isTeleport?: undefined;
96
- __isSuspense?: undefined;
97
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ model: FormValue;
4
+ config: ChildConfig;
5
+ prop?: string | undefined;
6
+ disabled?: boolean | undefined;
7
+ labelWidth?: string | undefined;
8
+ expandMore?: boolean | undefined;
9
+ stepActive?: string | number | undefined;
10
+ size?: string | undefined;
11
+ }>, {
12
+ prop: string;
13
+ size: string;
14
+ expandMore: boolean;
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
98
16
  model: FormValue;
99
17
  config: ChildConfig;
100
18
  prop?: string | undefined;
@@ -109,11 +27,11 @@ declare const _default: {
109
27
  expandMore: boolean;
110
28
  }>>> & {
111
29
  onChange?: ((...args: any[]) => any) | undefined;
112
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {
30
+ }, {
113
31
  prop: string;
114
32
  expandMore: boolean;
115
33
  size: string;
116
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
34
+ }>;
117
35
  export default _default;
118
36
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
119
37
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,92 +1,16 @@
1
1
  import { FieldsetConfig } from '../schema';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- rules: any;
8
- prop: string;
9
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
- labelWidth?: string | undefined;
11
- prop: string;
12
- size?: string | undefined;
13
- model: Record<string, any>;
14
- config: FieldsetConfig;
15
- rules?: any;
16
- disabled?: boolean | undefined;
17
- }>, {
18
- rules: {};
19
- prop: string;
20
- }>>> & {
21
- onChange?: ((...args: any[]) => any) | undefined;
22
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "rules" | "prop">;
23
- $attrs: {
24
- [x: string]: unknown;
25
- };
26
- $refs: {
27
- [x: string]: unknown;
28
- };
29
- $slots: Readonly<{
30
- [name: string]: import("vue").Slot | undefined;
31
- }>;
32
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
33
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
34
- $emit: (event: "change", ...args: any[]) => void;
35
- $el: any;
36
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
37
- labelWidth?: string | undefined;
38
- prop: string;
39
- size?: string | undefined;
40
- model: Record<string, any>;
41
- config: FieldsetConfig;
42
- rules?: any;
43
- disabled?: boolean | undefined;
44
- }>, {
45
- rules: {};
46
- prop: string;
47
- }>>> & {
48
- onChange?: ((...args: any[]) => any) | undefined;
49
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {
50
- rules: any;
51
- prop: string;
52
- }> & {
53
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
54
- created?: ((() => void) | (() => void)[]) | undefined;
55
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
56
- mounted?: ((() => void) | (() => void)[]) | undefined;
57
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
58
- updated?: ((() => void) | (() => void)[]) | undefined;
59
- activated?: ((() => void) | (() => void)[]) | undefined;
60
- deactivated?: ((() => void) | (() => void)[]) | undefined;
61
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
62
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
63
- destroyed?: ((() => void) | (() => void)[]) | undefined;
64
- unmounted?: ((() => void) | (() => void)[]) | undefined;
65
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
66
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
67
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
68
- };
69
- $forceUpdate: () => void;
70
- $nextTick: typeof import("vue").nextTick;
71
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
72
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
73
- labelWidth?: string | undefined;
74
- prop: string;
75
- size?: string | undefined;
76
- model: Record<string, any>;
77
- config: FieldsetConfig;
78
- rules?: any;
79
- disabled?: boolean | undefined;
80
- }>, {
81
- rules: {};
82
- prop: string;
83
- }>>> & {
84
- onChange?: ((...args: any[]) => any) | undefined;
85
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
86
- __isFragment?: undefined;
87
- __isTeleport?: undefined;
88
- __isSuspense?: undefined;
89
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ labelWidth?: string | undefined;
4
+ prop: string;
5
+ size?: string | undefined;
6
+ model: Record<string, any>;
7
+ config: FieldsetConfig;
8
+ rules?: any;
9
+ disabled?: boolean | undefined;
10
+ }>, {
11
+ rules: {};
12
+ prop: string;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
90
14
  labelWidth?: string | undefined;
91
15
  prop: string;
92
16
  size?: string | undefined;
@@ -99,10 +23,10 @@ declare const _default: {
99
23
  prop: string;
100
24
  }>>> & {
101
25
  onChange?: ((...args: any[]) => any) | undefined;
102
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {
26
+ }, {
103
27
  rules: any;
104
28
  prop: string;
105
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
29
+ }>;
106
30
  export default _default;
107
31
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
108
32
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,77 +1,13 @@
1
1
  import { GroupListConfig } from '../schema';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- model: any;
8
- config: GroupListConfig;
9
- name: string;
10
- labelWidth?: string | undefined;
11
- prop?: string | undefined;
12
- size?: string | undefined;
13
- disabled?: boolean | undefined;
14
- }>>> & {
15
- onChange?: ((...args: any[]) => any) | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
17
- $attrs: {
18
- [x: string]: unknown;
19
- };
20
- $refs: {
21
- [x: string]: unknown;
22
- };
23
- $slots: Readonly<{
24
- [name: string]: import("vue").Slot | undefined;
25
- }>;
26
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
27
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
28
- $emit: (event: "change", ...args: any[]) => void;
29
- $el: any;
30
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
31
- model: any;
32
- config: GroupListConfig;
33
- name: string;
34
- labelWidth?: string | undefined;
35
- prop?: string | undefined;
36
- size?: string | undefined;
37
- disabled?: boolean | undefined;
38
- }>>> & {
39
- onChange?: ((...args: any[]) => any) | undefined;
40
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
41
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
42
- created?: ((() => void) | (() => void)[]) | undefined;
43
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
44
- mounted?: ((() => void) | (() => void)[]) | undefined;
45
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
46
- updated?: ((() => void) | (() => void)[]) | undefined;
47
- activated?: ((() => void) | (() => void)[]) | undefined;
48
- deactivated?: ((() => void) | (() => void)[]) | undefined;
49
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
50
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
51
- destroyed?: ((() => void) | (() => void)[]) | undefined;
52
- unmounted?: ((() => void) | (() => void)[]) | undefined;
53
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
54
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
55
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
56
- };
57
- $forceUpdate: () => void;
58
- $nextTick: typeof import("vue").nextTick;
59
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
60
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
61
- model: any;
62
- config: GroupListConfig;
63
- name: string;
64
- labelWidth?: string | undefined;
65
- prop?: string | undefined;
66
- size?: string | undefined;
67
- disabled?: boolean | undefined;
68
- }>>> & {
69
- onChange?: ((...args: any[]) => any) | undefined;
70
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
71
- __isFragment?: undefined;
72
- __isTeleport?: undefined;
73
- __isSuspense?: undefined;
74
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ model: any;
4
+ config: GroupListConfig;
5
+ name: string;
6
+ labelWidth?: string | undefined;
7
+ prop?: string | undefined;
8
+ size?: string | undefined;
9
+ disabled?: boolean | undefined;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
75
11
  model: any;
76
12
  config: GroupListConfig;
77
13
  name: string;
@@ -81,7 +17,7 @@ declare const _default: {
81
17
  disabled?: boolean | undefined;
82
18
  }>>> & {
83
19
  onChange?: ((...args: any[]) => any) | undefined;
84
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
20
+ }, {}>;
85
21
  export default _default;
86
22
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
87
23
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,86 +1,14 @@
1
1
  import { GroupListConfig } from '../schema';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- model: any;
8
- groupModel: any[];
9
- config: GroupListConfig;
10
- labelWidth?: string | undefined;
11
- prop?: string | undefined;
12
- size?: string | undefined;
13
- index: number;
14
- disabled?: boolean | undefined;
15
- }>>> & {
16
- onChange?: ((...args: any[]) => any) | undefined;
17
- "onSwap-item"?: ((...args: any[]) => any) | undefined;
18
- "onRemove-item"?: ((...args: any[]) => any) | undefined;
19
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
20
- $attrs: {
21
- [x: string]: unknown;
22
- };
23
- $refs: {
24
- [x: string]: unknown;
25
- };
26
- $slots: Readonly<{
27
- [name: string]: import("vue").Slot | undefined;
28
- }>;
29
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
30
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
31
- $emit: (event: "change" | "swap-item" | "remove-item", ...args: any[]) => void;
32
- $el: any;
33
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
34
- model: any;
35
- groupModel: any[];
36
- config: GroupListConfig;
37
- labelWidth?: string | undefined;
38
- prop?: string | undefined;
39
- size?: string | undefined;
40
- index: number;
41
- disabled?: boolean | undefined;
42
- }>>> & {
43
- onChange?: ((...args: any[]) => any) | undefined;
44
- "onSwap-item"?: ((...args: any[]) => any) | undefined;
45
- "onRemove-item"?: ((...args: any[]) => any) | undefined;
46
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "swap-item" | "remove-item")[], string, {}> & {
47
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
48
- created?: ((() => void) | (() => void)[]) | undefined;
49
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
50
- mounted?: ((() => void) | (() => void)[]) | undefined;
51
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
52
- updated?: ((() => void) | (() => void)[]) | undefined;
53
- activated?: ((() => void) | (() => void)[]) | undefined;
54
- deactivated?: ((() => void) | (() => void)[]) | undefined;
55
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
56
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
57
- destroyed?: ((() => void) | (() => void)[]) | undefined;
58
- unmounted?: ((() => void) | (() => void)[]) | undefined;
59
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
60
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
61
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
62
- };
63
- $forceUpdate: () => void;
64
- $nextTick: typeof import("vue").nextTick;
65
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
66
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
67
- model: any;
68
- groupModel: any[];
69
- config: GroupListConfig;
70
- labelWidth?: string | undefined;
71
- prop?: string | undefined;
72
- size?: string | undefined;
73
- index: number;
74
- disabled?: boolean | undefined;
75
- }>>> & {
76
- onChange?: ((...args: any[]) => any) | undefined;
77
- "onSwap-item"?: ((...args: any[]) => any) | undefined;
78
- "onRemove-item"?: ((...args: any[]) => any) | undefined;
79
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
80
- __isFragment?: undefined;
81
- __isTeleport?: undefined;
82
- __isSuspense?: undefined;
83
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ model: any;
4
+ groupModel: any[];
5
+ config: GroupListConfig;
6
+ labelWidth?: string | undefined;
7
+ prop?: string | undefined;
8
+ size?: string | undefined;
9
+ index: number;
10
+ disabled?: boolean | undefined;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "swap-item" | "remove-item")[], "change" | "swap-item" | "remove-item", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
84
12
  model: any;
85
13
  groupModel: any[];
86
14
  config: GroupListConfig;
@@ -93,7 +21,7 @@ declare const _default: {
93
21
  onChange?: ((...args: any[]) => any) | undefined;
94
22
  "onSwap-item"?: ((...args: any[]) => any) | undefined;
95
23
  "onRemove-item"?: ((...args: any[]) => any) | undefined;
96
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "swap-item" | "remove-item")[], "change" | "swap-item" | "remove-item", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
24
+ }, {}>;
97
25
  export default _default;
98
26
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
99
27
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,80 +1,14 @@
1
1
  import { RowConfig } from '../schema';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- model: any;
8
- config: RowConfig;
9
- name: string;
10
- labelWidth?: string | undefined;
11
- prop?: string | undefined;
12
- size?: string | undefined;
13
- expandMore?: boolean | undefined;
14
- disabled?: boolean | undefined;
15
- }>>> & {
16
- onChange?: ((...args: any[]) => any) | undefined;
17
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
18
- $attrs: {
19
- [x: string]: unknown;
20
- };
21
- $refs: {
22
- [x: string]: unknown;
23
- };
24
- $slots: Readonly<{
25
- [name: string]: import("vue").Slot | undefined;
26
- }>;
27
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
28
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
29
- $emit: (event: "change", ...args: any[]) => void;
30
- $el: any;
31
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
32
- model: any;
33
- config: RowConfig;
34
- name: string;
35
- labelWidth?: string | undefined;
36
- prop?: string | undefined;
37
- size?: string | undefined;
38
- expandMore?: boolean | undefined;
39
- disabled?: boolean | undefined;
40
- }>>> & {
41
- onChange?: ((...args: any[]) => any) | undefined;
42
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
43
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
44
- created?: ((() => void) | (() => void)[]) | undefined;
45
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
46
- mounted?: ((() => void) | (() => void)[]) | undefined;
47
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
48
- updated?: ((() => void) | (() => void)[]) | undefined;
49
- activated?: ((() => void) | (() => void)[]) | undefined;
50
- deactivated?: ((() => void) | (() => void)[]) | undefined;
51
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
52
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
53
- destroyed?: ((() => void) | (() => void)[]) | undefined;
54
- unmounted?: ((() => void) | (() => void)[]) | undefined;
55
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
56
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
57
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
58
- };
59
- $forceUpdate: () => void;
60
- $nextTick: typeof import("vue").nextTick;
61
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
62
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
63
- model: any;
64
- config: RowConfig;
65
- name: string;
66
- labelWidth?: string | undefined;
67
- prop?: string | undefined;
68
- size?: string | undefined;
69
- expandMore?: boolean | undefined;
70
- disabled?: boolean | undefined;
71
- }>>> & {
72
- onChange?: ((...args: any[]) => any) | undefined;
73
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
74
- __isFragment?: undefined;
75
- __isTeleport?: undefined;
76
- __isSuspense?: undefined;
77
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ model: any;
4
+ config: RowConfig;
5
+ name: string;
6
+ labelWidth?: string | undefined;
7
+ prop?: string | undefined;
8
+ size?: string | undefined;
9
+ expandMore?: boolean | undefined;
10
+ disabled?: boolean | undefined;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
78
12
  model: any;
79
13
  config: RowConfig;
80
14
  name: string;
@@ -85,7 +19,7 @@ declare const _default: {
85
19
  disabled?: boolean | undefined;
86
20
  }>>> & {
87
21
  onChange?: ((...args: any[]) => any) | undefined;
88
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
22
+ }, {}>;
89
23
  export default _default;
90
24
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
91
25
  declare type __VLS_TypePropsToRuntimeProps<T> = {