@tmagic/form 1.2.0-beta.8 → 1.2.0

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