@dao-style/core 1.18.0 → 2.0.0-alpha.2

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 (149) hide show
  1. package/dist/components/action-icon/action-icon.d.ts +2 -431
  2. package/dist/components/action-icon/action-icon.vue.d.ts +8 -49
  3. package/dist/components/action-icon/props.d.ts +2 -22
  4. package/dist/components/autocomplete/autocomplete.d.ts +6 -1268
  5. package/dist/components/autocomplete/autocomplete.vue.d.ts +72 -39
  6. package/dist/components/batch-bar/batch-bar.d.ts +2 -165
  7. package/dist/components/batch-bar/batch-bar.vue.d.ts +2 -2
  8. package/dist/components/breadcrumb/breadcrumb-item.d.ts +2 -95
  9. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  10. package/dist/components/breadcrumb/breadcrumb-props.d.ts +2 -2
  11. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -140
  12. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +5 -5
  13. package/dist/components/button/button-group.d.ts +2 -1
  14. package/dist/components/button/button-group.vue.d.ts +1 -1
  15. package/dist/components/button/button.d.ts +2 -529
  16. package/dist/components/button/button.vue.d.ts +13 -54
  17. package/dist/components/button/props.d.ts +4 -24
  18. package/dist/components/card/card-header.d.ts +7 -131
  19. package/dist/components/card/card-header.vue.d.ts +4 -4
  20. package/dist/components/card/card-item.d.ts +2 -43
  21. package/dist/components/card/card-item.vue.d.ts +1 -1
  22. package/dist/components/card/card-props.d.ts +1 -1
  23. package/dist/components/card/card.d.ts +7 -156
  24. package/dist/components/card/card.vue.d.ts +5 -5
  25. package/dist/components/checkbox/checkbox-group.d.ts +2 -106
  26. package/dist/components/checkbox/checkbox-group.vue.d.ts +2 -2
  27. package/dist/components/checkbox/checkbox.d.ts +2 -237
  28. package/dist/components/checkbox/checkbox.vue.d.ts +4 -4
  29. package/dist/components/dialog/dialog-footer.d.ts +2 -159
  30. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  31. package/dist/components/dialog/dialog-header.d.ts +4 -126
  32. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  33. package/dist/components/dialog/dialog.d.ts +4 -481
  34. package/dist/components/dialog/dialog.vue.d.ts +9 -9
  35. package/dist/components/dialog/props.d.ts +2 -1
  36. package/dist/components/drawer/drawer.d.ts +2 -307
  37. package/dist/components/drawer/drawer.vue.d.ts +2 -2
  38. package/dist/components/dropdown/dropdown-item.d.ts +2 -408
  39. package/dist/components/dropdown/dropdown-item.vue.d.ts +8 -49
  40. package/dist/components/dropdown/dropdown-menu.d.ts +2 -43
  41. package/dist/components/dropdown/dropdown-menu.vue.d.ts +1 -1
  42. package/dist/components/dropdown/dropdown.d.ts +2 -1039
  43. package/dist/components/dropdown/dropdown.vue.d.ts +61 -41
  44. package/dist/components/dropdown/props.d.ts +4 -24
  45. package/dist/components/ellipsis/ellipsis.d.ts +2 -4220
  46. package/dist/components/ellipsis/ellipsis.vue.d.ts +497 -517
  47. package/dist/components/empty/empty.d.ts +2 -123
  48. package/dist/components/empty/empty.vue.d.ts +6 -6
  49. package/dist/components/empty/props.d.ts +1 -1
  50. package/dist/components/expansion/expansion-item.d.ts +4 -169
  51. package/dist/components/expansion/expansion-item.vue.d.ts +2 -2
  52. package/dist/components/expansion/expansion.d.ts +2 -158
  53. package/dist/components/expansion/expansion.vue.d.ts +4 -4
  54. package/dist/components/expansion/props.d.ts +1 -1
  55. package/dist/components/form/error-text.d.ts +2 -69
  56. package/dist/components/form/error-text.vue.d.ts +2 -2
  57. package/dist/components/form/form-group.d.ts +3 -184
  58. package/dist/components/form/form-group.vue.d.ts +5 -5
  59. package/dist/components/form/form-item.d.ts +3 -309
  60. package/dist/components/form/form-item.vue.d.ts +11 -10
  61. package/dist/components/form/form.d.ts +2 -134
  62. package/dist/components/form/form.vue.d.ts +6 -6
  63. package/dist/components/form/helper-text.d.ts +2 -69
  64. package/dist/components/form/helper-text.vue.d.ts +2 -2
  65. package/dist/components/form/props.d.ts +6 -6
  66. package/dist/components/header/header.d.ts +2 -106
  67. package/dist/components/header/header.vue.d.ts +3 -3
  68. package/dist/components/icon/icon.d.ts +2 -85
  69. package/dist/components/icon/icon.vue.d.ts +2 -2
  70. package/dist/components/input/input.d.ts +2 -360
  71. package/dist/components/input/input.vue.d.ts +15 -7
  72. package/dist/components/message/message-inner.vue.d.ts +3 -3
  73. package/dist/components/message/message.d.ts +4 -229
  74. package/dist/components/message/message.vue.d.ts +9 -9
  75. package/dist/components/nav/nav-head.d.ts +3 -129
  76. package/dist/components/nav/nav-head.vue.d.ts +2 -2
  77. package/dist/components/nav/nav-item.d.ts +2 -290
  78. package/dist/components/nav/nav-item.vue.d.ts +4 -4
  79. package/dist/components/nav/nav-sub.d.ts +2 -327
  80. package/dist/components/nav/nav-sub.vue.d.ts +4 -4
  81. package/dist/components/nav/nav.d.ts +2 -152
  82. package/dist/components/nav/nav.vue.d.ts +3 -3
  83. package/dist/components/pagination/pagination.d.ts +2 -343
  84. package/dist/components/pagination/pagination.vue.d.ts +3 -3
  85. package/dist/components/popover/popover-props.d.ts +3 -3
  86. package/dist/components/popover/popover.d.ts +2 -371
  87. package/dist/components/popover/popover.vue.d.ts +10 -10
  88. package/dist/components/popper/popper-content.vue.d.ts +4 -4
  89. package/dist/components/popper/popper-props.d.ts +3 -3
  90. package/dist/components/popper/popper.d.ts +2 -371
  91. package/dist/components/popper/popper.vue.d.ts +10 -10
  92. package/dist/components/popper/use-popper.d.ts +1 -1
  93. package/dist/components/progress/progress.d.ts +2 -141
  94. package/dist/components/progress/progress.vue.d.ts +2 -2
  95. package/dist/components/radio/radio-group.d.ts +2 -115
  96. package/dist/components/radio/radio-group.vue.d.ts +2 -2
  97. package/dist/components/radio/radio.d.ts +2 -191
  98. package/dist/components/radio/radio.vue.d.ts +2 -2
  99. package/dist/components/select/option.d.ts +2 -128
  100. package/dist/components/select/option.vue.d.ts +2 -2
  101. package/dist/components/select/options.d.ts +2 -2
  102. package/dist/components/select/props.d.ts +1 -1
  103. package/dist/components/select/select.d.ts +4 -1736
  104. package/dist/components/select/select.vue.d.ts +210 -233
  105. package/dist/components/switch/switch-props.d.ts +1 -1
  106. package/dist/components/switch/switch.vue.d.ts +2 -2
  107. package/dist/components/table/column-setting-props.d.ts +1 -1
  108. package/dist/components/table/column-setting.vue.d.ts +367 -448
  109. package/dist/components/table/components/tdAction.vue.d.ts +2 -2
  110. package/dist/components/table/resizer.vue.d.ts +2 -2
  111. package/dist/components/table/table-props.d.ts +1 -1
  112. package/dist/components/table/table.d.ts +23 -1119
  113. package/dist/components/table/table.vue.d.ts +20 -33
  114. package/dist/components/table/type.d.ts +1 -1
  115. package/dist/components/tabs/props.d.ts +2 -2
  116. package/dist/components/tabs/tab-item.d.ts +2 -133
  117. package/dist/components/tabs/tab-item.vue.d.ts +2 -2
  118. package/dist/components/tabs/tab-nav.d.ts +2 -63
  119. package/dist/components/tabs/tab-nav.vue.d.ts +3 -5
  120. package/dist/components/tabs/tabs.d.ts +2 -231
  121. package/dist/components/tabs/tabs.vue.d.ts +4 -8
  122. package/dist/components/tag/tag.d.ts +2 -153
  123. package/dist/components/tag/tag.vue.d.ts +2 -2
  124. package/dist/components/text-button/test/TestComponent.vue.d.ts +9 -7
  125. package/dist/components/text-button/text-button.d.ts +4 -140
  126. package/dist/components/text-button/text-button.vue.d.ts +15 -15
  127. package/dist/components/toolbar/toolbar-filter.vue.d.ts +2 -2
  128. package/dist/components/toolbar/toolbar.d.ts +3 -295
  129. package/dist/components/toolbar/toolbar.vue.d.ts +2 -2
  130. package/dist/components/tooltip/tooltip-props.d.ts +3 -3
  131. package/dist/components/tooltip/tooltip.d.ts +2 -371
  132. package/dist/components/tooltip/tooltip.vue.d.ts +10 -10
  133. package/dist/components/transfer/props.d.ts +8 -6
  134. package/dist/components/transfer/transfer-panel.d.ts +7 -338
  135. package/dist/components/transfer/transfer-panel.vue.d.ts +17 -17
  136. package/dist/components/transfer/transfer.d.ts +19 -619
  137. package/dist/components/transfer/transfer.vue.d.ts +16 -16
  138. package/dist/components/virtual-select/props.d.ts +3 -3
  139. package/dist/components/virtual-select/uilts.d.ts +1 -1
  140. package/dist/components/virtual-select/virtual-option.vue.d.ts +3 -3
  141. package/dist/components/virtual-select/virtual-select.d.ts +4 -1722
  142. package/dist/components/virtual-select/virtual-select.vue.d.ts +200 -230
  143. package/dist/dao-style.js +31 -7
  144. package/dist/dao-style.mjs +5438 -5181
  145. package/dist/directives/tooltip/directive.d.ts +1 -1
  146. package/dist/directives/tooltip/wrapper.d.ts +5 -5
  147. package/dist/index.d.ts +1 -4
  148. package/dist/style.css +1 -1
  149. package/package.json +18 -14
@@ -3,12 +3,12 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
7
  content: {
8
8
  type: StringConstructor;
9
9
  default: string;
10
10
  };
11
11
  }>>, {
12
12
  content: string;
13
- }>;
13
+ }, {}>;
14
14
  export default _default;
@@ -1,191 +1,10 @@
1
1
  import { SlotFn } from '../../utils/types';
2
- declare const DaoFormGroup: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- type: "2nd" | "3rd" | "1st";
8
- title: string;
9
- expanded: boolean;
10
- iconMessage: string;
11
- expandable: boolean;
12
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
- type: {
14
- type: import("vue").PropType<"2nd" | "3rd" | "1st">;
15
- default: string;
16
- };
17
- title: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- iconMessage: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- expandable: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- expanded: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- }>> & {
34
- "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
35
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "title" | "expanded" | "iconMessage" | "expandable">;
36
- $attrs: {
37
- [x: string]: unknown;
38
- };
39
- $refs: {
40
- [x: string]: unknown;
41
- };
42
- $slots: Readonly<{
43
- [name: string]: import("vue").Slot | undefined;
44
- }>;
45
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
46
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
47
- $emit: (event: "update:expanded", ...args: any[]) => void;
48
- $el: any;
49
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
50
- type: {
51
- type: import("vue").PropType<"2nd" | "3rd" | "1st">;
52
- default: string;
53
- };
54
- title: {
55
- type: StringConstructor;
56
- default: string;
57
- };
58
- iconMessage: {
59
- type: StringConstructor;
60
- default: string;
61
- };
62
- expandable: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- expanded: {
67
- type: BooleanConstructor;
68
- default: boolean;
69
- };
70
- }>> & {
71
- "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
72
- }, {
73
- groupClasses: import("vue").ComputedRef<string[]>;
74
- isExpanded: import("vue").Ref<boolean>;
75
- handleClick: () => void;
76
- onBeforeEnter: (el: Element) => void;
77
- onEnter: (el: Element) => void;
78
- onAfterEnter: (el: Element) => void;
79
- onBeforeLeave: (el: Element) => void;
80
- onLeave: (el: Element) => void;
81
- onAfterLeave: (el: Element) => void;
82
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:expanded"[], string, {
83
- type: "2nd" | "3rd" | "1st";
84
- title: string;
85
- expanded: boolean;
86
- iconMessage: string;
87
- expandable: boolean;
88
- }, {}, string> & {
89
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
90
- created?: ((() => void) | (() => void)[]) | undefined;
91
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
92
- mounted?: ((() => void) | (() => void)[]) | undefined;
93
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
94
- updated?: ((() => void) | (() => void)[]) | undefined;
95
- activated?: ((() => void) | (() => void)[]) | undefined;
96
- deactivated?: ((() => void) | (() => void)[]) | undefined;
97
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
98
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
99
- destroyed?: ((() => void) | (() => void)[]) | undefined;
100
- unmounted?: ((() => void) | (() => void)[]) | undefined;
101
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
102
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
103
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
104
- };
105
- $forceUpdate: () => void;
106
- $nextTick: typeof import("vue").nextTick;
107
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
108
- } & Readonly<import("vue").ExtractPropTypes<{
109
- type: {
110
- type: import("vue").PropType<"2nd" | "3rd" | "1st">;
111
- default: string;
112
- };
113
- title: {
114
- type: StringConstructor;
115
- default: string;
116
- };
117
- iconMessage: {
118
- type: StringConstructor;
119
- default: string;
120
- };
121
- expandable: {
122
- type: BooleanConstructor;
123
- default: boolean;
124
- };
125
- expanded: {
126
- type: BooleanConstructor;
127
- default: boolean;
128
- };
129
- }>> & {
130
- "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
131
- } & import("vue").ShallowUnwrapRef<{
132
- groupClasses: import("vue").ComputedRef<string[]>;
133
- isExpanded: import("vue").Ref<boolean>;
134
- handleClick: () => void;
135
- onBeforeEnter: (el: Element) => void;
136
- onEnter: (el: Element) => void;
137
- onAfterEnter: (el: Element) => void;
138
- onBeforeLeave: (el: Element) => void;
139
- onLeave: (el: Element) => void;
140
- onAfterLeave: (el: Element) => void;
141
- }> & {} & import("vue").ComponentCustomProperties & {};
142
- __isFragment?: undefined;
143
- __isTeleport?: undefined;
144
- __isSuspense?: undefined;
145
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
146
- type: {
147
- type: import("vue").PropType<"2nd" | "3rd" | "1st">;
148
- default: string;
149
- };
150
- title: {
151
- type: StringConstructor;
152
- default: string;
153
- };
154
- iconMessage: {
155
- type: StringConstructor;
156
- default: string;
157
- };
158
- expandable: {
159
- type: BooleanConstructor;
160
- default: boolean;
161
- };
162
- expanded: {
163
- type: BooleanConstructor;
164
- default: boolean;
165
- };
166
- }>> & {
167
- "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
168
- }, {
169
- groupClasses: import("vue").ComputedRef<string[]>;
170
- isExpanded: import("vue").Ref<boolean>;
171
- handleClick: () => void;
172
- onBeforeEnter: (el: Element) => void;
173
- onEnter: (el: Element) => void;
174
- onAfterEnter: (el: Element) => void;
175
- onBeforeLeave: (el: Element) => void;
176
- onLeave: (el: Element) => void;
177
- onAfterLeave: (el: Element) => void;
178
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:expanded"[], "update:expanded", {
179
- type: "2nd" | "3rd" | "1st";
180
- title: string;
181
- expanded: boolean;
182
- iconMessage: string;
183
- expandable: boolean;
184
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2
+ import FormGroup from './form-group.vue';
3
+ declare const DaoFormGroup: typeof FormGroup & (new () => {
185
4
  $slots: {
186
5
  default: SlotFn;
187
6
  title: SlotFn;
188
- 'tooltip-content': SlotFn;
7
+ "tooltip-content": SlotFn;
189
8
  };
190
9
  });
191
10
  export default DaoFormGroup;
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  type: {
3
- type: import("vue").PropType<"2nd" | "3rd" | "1st">;
3
+ type: import("vue").PropType<"1st" | "2nd" | "3rd">;
4
4
  default: string;
5
5
  };
6
6
  title: {
@@ -29,9 +29,9 @@ declare const _default: import("vue").DefineComponent<{
29
29
  onBeforeLeave: (el: Element) => void;
30
30
  onLeave: (el: Element) => void;
31
31
  onAfterLeave: (el: Element) => void;
32
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:expanded"[], "update:expanded", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:expanded"[], "update:expanded", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
33
  type: {
34
- type: import("vue").PropType<"2nd" | "3rd" | "1st">;
34
+ type: import("vue").PropType<"1st" | "2nd" | "3rd">;
35
35
  default: string;
36
36
  };
37
37
  title: {
@@ -55,8 +55,8 @@ declare const _default: import("vue").DefineComponent<{
55
55
  }, {
56
56
  type: "2nd" | "3rd" | "1st";
57
57
  title: string;
58
- expanded: boolean;
59
58
  iconMessage: string;
60
59
  expandable: boolean;
61
- }>;
60
+ expanded: boolean;
61
+ }, {}>;
62
62
  export default _default;
@@ -1,318 +1,12 @@
1
1
  import { SlotFn } from '../../utils/types';
2
- declare const DaoFormItem: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- error: string;
8
- label: string;
9
- required: boolean;
10
- helper: string;
11
- paddingBottom: string | number;
12
- paddingTop: string | number;
13
- labelWidth: string;
14
- wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
15
- iconMessage: string;
16
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
17
- label: {
18
- type: import("vue").PropType<string>;
19
- default: string;
20
- };
21
- required: {
22
- type: import("vue").PropType<boolean>;
23
- default: boolean;
24
- };
25
- wrapperType: {
26
- type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
27
- default: undefined;
28
- };
29
- paddingTop: {
30
- type: import("vue").PropType<string | number>;
31
- default: number;
32
- };
33
- paddingBottom: {
34
- type: import("vue").PropType<string | number>;
35
- default: number;
36
- };
37
- labelWidth: {
38
- type: import("vue").PropType<string>;
39
- default: string;
40
- };
41
- iconMessage: {
42
- type: import("vue").PropType<string>;
43
- default: string;
44
- };
45
- helper: {
46
- type: import("vue").PropType<string>;
47
- default: undefined;
48
- };
49
- error: {
50
- type: import("vue").PropType<string>;
51
- default: undefined;
52
- };
53
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "label" | "required" | "helper" | "paddingBottom" | "paddingTop" | "labelWidth" | "wrapperType" | "iconMessage">;
54
- $attrs: {
55
- [x: string]: unknown;
56
- };
57
- $refs: {
58
- [x: string]: unknown;
59
- };
60
- $slots: Readonly<{
61
- [name: string]: import("vue").Slot | undefined;
62
- }>;
63
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
64
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
65
- $emit: (event: string, ...args: any[]) => void;
66
- $el: any;
67
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
68
- label: {
69
- type: import("vue").PropType<string>;
70
- default: string;
71
- };
72
- required: {
73
- type: import("vue").PropType<boolean>;
74
- default: boolean;
75
- };
76
- wrapperType: {
77
- type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
78
- default: undefined;
79
- };
80
- paddingTop: {
81
- type: import("vue").PropType<string | number>;
82
- default: number;
83
- };
84
- paddingBottom: {
85
- type: import("vue").PropType<string | number>;
86
- default: number;
87
- };
88
- labelWidth: {
89
- type: import("vue").PropType<string>;
90
- default: string;
91
- };
92
- iconMessage: {
93
- type: import("vue").PropType<string>;
94
- default: string;
95
- };
96
- helper: {
97
- type: import("vue").PropType<string>;
98
- default: undefined;
99
- };
100
- error: {
101
- type: import("vue").PropType<string>;
102
- default: undefined;
103
- };
104
- }>>, {
105
- labelStyle: import("vue").ComputedRef<{
106
- width: string;
107
- } | {
108
- width?: undefined;
109
- }>;
110
- contentStyle: import("vue").ComputedRef<{
111
- 'padding-top': string;
112
- 'padding-bottom': string;
113
- }>;
114
- formItemClass: import("vue").ComputedRef<{
115
- [x: string]: boolean;
116
- 'dao-form-item': boolean;
117
- 'is-required': boolean;
118
- }>;
119
- showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot>;
120
- formClassNames: {
121
- readonly text: {
122
- readonly helper: "dao-form-item__helper-text";
123
- readonly error: "dao-form-item__error-message";
124
- };
125
- readonly wrapper: {
126
- readonly text: "dao-form-item__text-wrapper";
127
- readonly radio: "dao-form-item__radio-wrapper";
128
- readonly checkbox: "dao-form-item__checkbox-wrapper";
129
- readonly switch: "dao-form-item__switch-wrapper";
130
- readonly footer: "dao-form-item__footer-wrapper";
131
- };
132
- };
133
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
134
- error: string;
135
- label: string;
136
- required: boolean;
137
- helper: string;
138
- paddingBottom: string | number;
139
- paddingTop: string | number;
140
- labelWidth: string;
141
- wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
142
- iconMessage: string;
143
- }, {}, string> & {
144
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
145
- created?: ((() => void) | (() => void)[]) | undefined;
146
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
147
- mounted?: ((() => void) | (() => void)[]) | undefined;
148
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
149
- updated?: ((() => void) | (() => void)[]) | undefined;
150
- activated?: ((() => void) | (() => void)[]) | undefined;
151
- deactivated?: ((() => void) | (() => void)[]) | undefined;
152
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
153
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
154
- destroyed?: ((() => void) | (() => void)[]) | undefined;
155
- unmounted?: ((() => void) | (() => void)[]) | undefined;
156
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
157
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
158
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
159
- };
160
- $forceUpdate: () => void;
161
- $nextTick: typeof import("vue").nextTick;
162
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
163
- } & Readonly<import("vue").ExtractPropTypes<{
164
- label: {
165
- type: import("vue").PropType<string>;
166
- default: string;
167
- };
168
- required: {
169
- type: import("vue").PropType<boolean>;
170
- default: boolean;
171
- };
172
- wrapperType: {
173
- type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
174
- default: undefined;
175
- };
176
- paddingTop: {
177
- type: import("vue").PropType<string | number>;
178
- default: number;
179
- };
180
- paddingBottom: {
181
- type: import("vue").PropType<string | number>;
182
- default: number;
183
- };
184
- labelWidth: {
185
- type: import("vue").PropType<string>;
186
- default: string;
187
- };
188
- iconMessage: {
189
- type: import("vue").PropType<string>;
190
- default: string;
191
- };
192
- helper: {
193
- type: import("vue").PropType<string>;
194
- default: undefined;
195
- };
196
- error: {
197
- type: import("vue").PropType<string>;
198
- default: undefined;
199
- };
200
- }>> & import("vue").ShallowUnwrapRef<{
201
- labelStyle: import("vue").ComputedRef<{
202
- width: string;
203
- } | {
204
- width?: undefined;
205
- }>;
206
- contentStyle: import("vue").ComputedRef<{
207
- 'padding-top': string;
208
- 'padding-bottom': string;
209
- }>;
210
- formItemClass: import("vue").ComputedRef<{
211
- [x: string]: boolean;
212
- 'dao-form-item': boolean;
213
- 'is-required': boolean;
214
- }>;
215
- showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot>;
216
- formClassNames: {
217
- readonly text: {
218
- readonly helper: "dao-form-item__helper-text";
219
- readonly error: "dao-form-item__error-message";
220
- };
221
- readonly wrapper: {
222
- readonly text: "dao-form-item__text-wrapper";
223
- readonly radio: "dao-form-item__radio-wrapper";
224
- readonly checkbox: "dao-form-item__checkbox-wrapper";
225
- readonly switch: "dao-form-item__switch-wrapper";
226
- readonly footer: "dao-form-item__footer-wrapper";
227
- };
228
- };
229
- }> & {} & import("vue").ComponentCustomProperties & {};
230
- __isFragment?: undefined;
231
- __isTeleport?: undefined;
232
- __isSuspense?: undefined;
233
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
234
- label: {
235
- type: import("vue").PropType<string>;
236
- default: string;
237
- };
238
- required: {
239
- type: import("vue").PropType<boolean>;
240
- default: boolean;
241
- };
242
- wrapperType: {
243
- type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
244
- default: undefined;
245
- };
246
- paddingTop: {
247
- type: import("vue").PropType<string | number>;
248
- default: number;
249
- };
250
- paddingBottom: {
251
- type: import("vue").PropType<string | number>;
252
- default: number;
253
- };
254
- labelWidth: {
255
- type: import("vue").PropType<string>;
256
- default: string;
257
- };
258
- iconMessage: {
259
- type: import("vue").PropType<string>;
260
- default: string;
261
- };
262
- helper: {
263
- type: import("vue").PropType<string>;
264
- default: undefined;
265
- };
266
- error: {
267
- type: import("vue").PropType<string>;
268
- default: undefined;
269
- };
270
- }>>, {
271
- labelStyle: import("vue").ComputedRef<{
272
- width: string;
273
- } | {
274
- width?: undefined;
275
- }>;
276
- contentStyle: import("vue").ComputedRef<{
277
- 'padding-top': string;
278
- 'padding-bottom': string;
279
- }>;
280
- formItemClass: import("vue").ComputedRef<{
281
- [x: string]: boolean;
282
- 'dao-form-item': boolean;
283
- 'is-required': boolean;
284
- }>;
285
- showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot>;
286
- formClassNames: {
287
- readonly text: {
288
- readonly helper: "dao-form-item__helper-text";
289
- readonly error: "dao-form-item__error-message";
290
- };
291
- readonly wrapper: {
292
- readonly text: "dao-form-item__text-wrapper";
293
- readonly radio: "dao-form-item__radio-wrapper";
294
- readonly checkbox: "dao-form-item__checkbox-wrapper";
295
- readonly switch: "dao-form-item__switch-wrapper";
296
- readonly footer: "dao-form-item__footer-wrapper";
297
- };
298
- };
299
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
300
- error: string;
301
- label: string;
302
- required: boolean;
303
- helper: string;
304
- paddingBottom: string | number;
305
- paddingTop: string | number;
306
- labelWidth: string;
307
- wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
308
- iconMessage: string;
309
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2
+ import FormItem from './form-item.vue';
3
+ declare const DaoFormItem: typeof FormItem & (new () => {
310
4
  $slots: {
311
5
  default: SlotFn;
312
6
  error: SlotFn;
313
7
  helper: SlotFn;
314
8
  label: SlotFn;
315
- 'tooltip-content': SlotFn;
9
+ "tooltip-content": SlotFn;
316
10
  };
317
11
  });
318
12
  export default DaoFormItem;
@@ -1,3 +1,4 @@
1
+ import { formClassNames } from './type';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  label: {
3
4
  type: import("vue").PropType<string>;
@@ -8,15 +9,15 @@ declare const _default: import("vue").DefineComponent<{
8
9
  default: boolean;
9
10
  };
10
11
  wrapperType: {
11
- type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
12
+ type: import("vue").PropType<keyof (typeof formClassNames)["wrapper"] | undefined>;
12
13
  default: undefined;
13
14
  };
14
15
  paddingTop: {
15
- type: import("vue").PropType<string | number>;
16
+ type: import("vue").PropType<number | string>;
16
17
  default: number;
17
18
  };
18
19
  paddingBottom: {
19
- type: import("vue").PropType<string | number>;
20
+ type: import("vue").PropType<number | string>;
20
21
  default: number;
21
22
  };
22
23
  labelWidth: {
@@ -50,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
50
51
  'dao-form-item': boolean;
51
52
  'is-required': boolean;
52
53
  }>;
53
- showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot>;
54
+ showLabel: import("vue").ComputedRef<string | boolean | import("vue").Slot<any>>;
54
55
  formClassNames: {
55
56
  readonly text: {
56
57
  readonly helper: "dao-form-item__helper-text";
@@ -64,7 +65,7 @@ declare const _default: import("vue").DefineComponent<{
64
65
  readonly footer: "dao-form-item__footer-wrapper";
65
66
  };
66
67
  };
67
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
68
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
68
69
  label: {
69
70
  type: import("vue").PropType<string>;
70
71
  default: string;
@@ -74,15 +75,15 @@ declare const _default: import("vue").DefineComponent<{
74
75
  default: boolean;
75
76
  };
76
77
  wrapperType: {
77
- type: import("vue").PropType<"footer" | "switch" | "text" | "checkbox" | "radio" | undefined>;
78
+ type: import("vue").PropType<keyof (typeof formClassNames)["wrapper"] | undefined>;
78
79
  default: undefined;
79
80
  };
80
81
  paddingTop: {
81
- type: import("vue").PropType<string | number>;
82
+ type: import("vue").PropType<number | string>;
82
83
  default: number;
83
84
  };
84
85
  paddingBottom: {
85
- type: import("vue").PropType<string | number>;
86
+ type: import("vue").PropType<number | string>;
86
87
  default: number;
87
88
  };
88
89
  labelWidth: {
@@ -108,8 +109,8 @@ declare const _default: import("vue").DefineComponent<{
108
109
  helper: string;
109
110
  paddingBottom: string | number;
110
111
  paddingTop: string | number;
111
- labelWidth: string;
112
112
  wrapperType: "footer" | "switch" | "text" | "checkbox" | "radio" | undefined;
113
+ labelWidth: string;
113
114
  iconMessage: string;
114
- }>;
115
+ }, {}>;
115
116
  export default _default;