@aplus-frontend/ui 0.0.1-beta.5 → 0.0.1-beta.7

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 (215) hide show
  1. package/es/index.mjs +114 -83
  2. package/es/src/ap-action/constant.d.ts +0 -0
  3. package/es/src/ap-action/group/index.vue.d.ts +38 -0
  4. package/es/src/ap-action/group/index.vue.mjs +64 -0
  5. package/es/src/ap-action/group/index.vue2.mjs +4 -0
  6. package/es/src/ap-action/index.d.ts +14 -0
  7. package/es/src/ap-action/index.mjs +17 -0
  8. package/es/src/ap-action/interface.d.ts +81 -0
  9. package/es/src/ap-action/item/index.vue.d.ts +44 -0
  10. package/es/src/ap-action/item/index.vue.mjs +49 -0
  11. package/es/src/ap-action/item/index.vue2.mjs +4 -0
  12. package/es/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
  13. package/es/src/ap-action/item-dropdown/index.vue.mjs +92 -0
  14. package/es/src/ap-action/item-dropdown/index.vue2.mjs +4 -0
  15. package/es/src/ap-action/item-modal/index.vue.d.ts +41 -0
  16. package/es/src/ap-action/item-modal/index.vue.mjs +34 -0
  17. package/es/src/ap-action/item-modal/index.vue2.mjs +4 -0
  18. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
  19. package/es/src/ap-action/item-popconfirm/index.vue.mjs +37 -0
  20. package/es/src/ap-action/item-popconfirm/index.vue2.mjs +4 -0
  21. package/es/src/ap-action/style/item-dropdown.css +11 -0
  22. package/es/src/ap-action/style/item.css +28 -0
  23. package/es/src/ap-field/checkbox/helper.mjs +5 -0
  24. package/es/src/ap-field/checkbox/index.vue.d.ts +39 -0
  25. package/es/src/ap-field/checkbox/index.vue.mjs +56 -0
  26. package/es/src/ap-field/checkbox/index.vue2.mjs +4 -0
  27. package/es/src/ap-field/date/constant.mjs +50 -0
  28. package/es/src/ap-field/date/helper.d.ts +2 -0
  29. package/es/src/ap-field/date/helper.mjs +10 -0
  30. package/es/src/ap-field/date/index.vue.d.ts +57 -0
  31. package/es/src/ap-field/date/index.vue.mjs +75 -0
  32. package/es/src/ap-field/date/index.vue2.mjs +4 -0
  33. package/es/src/ap-field/date-range/index.vue.d.ts +59 -0
  34. package/es/src/ap-field/date-range/index.vue.mjs +87 -0
  35. package/es/src/ap-field/date-range/index.vue2.mjs +4 -0
  36. package/es/src/ap-field/index.d.ts +9 -3
  37. package/es/src/ap-field/interface.d.ts +65 -5
  38. package/es/src/ap-field/number/helper.d.ts +1 -0
  39. package/es/src/ap-field/number/helper.mjs +14 -0
  40. package/es/src/ap-field/number/index.vue.d.ts +72 -0
  41. package/es/src/ap-field/number/index.vue.mjs +108 -0
  42. package/es/src/ap-field/number/index.vue2.mjs +4 -0
  43. package/es/src/ap-field/number/style.css +6 -0
  44. package/es/src/ap-field/radio/helper.d.ts +4 -0
  45. package/es/src/ap-field/radio/helper.mjs +5 -0
  46. package/es/src/ap-field/radio/index.vue.d.ts +40 -0
  47. package/es/src/ap-field/radio/index.vue.mjs +68 -0
  48. package/es/src/ap-field/radio/index.vue2.mjs +4 -0
  49. package/es/src/ap-field/select/index.vue.d.ts +235 -0
  50. package/es/src/ap-field/select/index.vue.mjs +114 -0
  51. package/es/src/ap-field/select/index.vue2.mjs +4 -0
  52. package/es/src/ap-field/switch/index.vue.d.ts +54 -0
  53. package/es/src/ap-field/switch/index.vue.mjs +122 -0
  54. package/es/src/ap-field/switch/index.vue2.mjs +4 -0
  55. package/es/src/ap-field/text/index.vue.d.ts +63 -0
  56. package/es/src/ap-field/text/index.vue.mjs +132 -0
  57. package/es/src/ap-field/text/index.vue2.mjs +4 -0
  58. package/es/src/ap-field/text-area/index.vue.d.ts +49 -0
  59. package/es/src/ap-field/text-area/index.vue.mjs +86 -0
  60. package/es/src/ap-field/text-area/index.vue2.mjs +4 -0
  61. package/es/src/ap-field/text-area/style.css +5 -0
  62. package/es/src/ap-form/index.d.ts +64 -64
  63. package/es/src/base-button/index.d.ts +28 -28
  64. package/es/src/basic/help.vue.d.ts +1 -1
  65. package/es/src/basic/index.d.ts +3 -3
  66. package/es/src/config-provider/config-provider.d.ts +2 -2
  67. package/es/src/config-provider/index.d.ts +6 -6
  68. package/es/src/count-down/index.d.ts +12 -12
  69. package/es/src/cropper/cropper-avatar.vue.d.ts +1 -1
  70. package/es/src/cropper/cropper-image.vue.d.ts +1 -1
  71. package/es/src/cropper/index.d.ts +42 -42
  72. package/es/src/description/description.vue.d.ts +1 -1
  73. package/es/src/description/index.d.ts +3 -3
  74. package/es/src/design-token/index.d.ts +4 -0
  75. package/es/src/design-token/index.mjs +59 -0
  76. package/es/src/dropdown/dropdown.vue.d.ts +1 -1
  77. package/es/src/dropdown/index.d.ts +7 -7
  78. package/es/src/icon/index.d.ts +41 -41
  79. package/es/src/icon-picker/icon-picker.vue.d.ts +3 -3
  80. package/es/src/icon-picker/index.d.ts +45 -45
  81. package/es/src/index.d.ts +3 -0
  82. package/es/src/index.mjs +121 -90
  83. package/es/src/modal/basic.vue.d.ts +3 -2
  84. package/es/src/modal/basic.vue.mjs +53 -49
  85. package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
  86. package/es/src/modal/components/modal.d.ts +1 -1
  87. package/es/src/modal/index.d.ts +7 -8
  88. package/es/src/modal/index.mjs +2 -3
  89. package/es/src/modal/props.mjs +1 -1
  90. package/es/src/modal/style/index.css +29 -30
  91. package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
  92. package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
  93. package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
  94. package/es/src/pro-form/hooks/use-form-events.mjs +22 -22
  95. package/es/src/pro-form/hooks/use-form-values.mjs +12 -12
  96. package/es/src/pro-form/hooks/use-label-width.d.ts +5 -5
  97. package/es/src/pro-form/pro-form.vue.d.ts +1 -1
  98. package/es/src/pro-form/pro-form.vue.mjs +23 -23
  99. package/es/src/pro-table/hooks/use-columns.mjs +24 -24
  100. package/es/src/strength-meter/index.d.ts +12 -12
  101. package/es/src/theme/ap-action/item-dropdown.css +11 -0
  102. package/es/src/theme/ap-action/item.css +28 -0
  103. package/es/src/theme/ap-field/number.css +6 -0
  104. package/es/src/theme/ap-field/text-area.css +5 -0
  105. package/es/src/theme/modal/index.css +29 -30
  106. package/es/src/type.d.ts +3 -1
  107. package/es/src/utils/index.d.ts +7 -0
  108. package/lib/index.js +1 -1
  109. package/lib/src/ap-action/constant.d.ts +0 -0
  110. package/lib/src/ap-action/group/index.vue.d.ts +38 -0
  111. package/lib/src/ap-action/group/index.vue.js +1 -0
  112. package/lib/src/ap-action/group/index.vue2.js +1 -0
  113. package/lib/src/ap-action/index.d.ts +14 -0
  114. package/lib/src/ap-action/index.js +1 -0
  115. package/lib/src/ap-action/interface.d.ts +81 -0
  116. package/lib/src/ap-action/item/index.vue.d.ts +44 -0
  117. package/lib/src/ap-action/item/index.vue.js +1 -0
  118. package/lib/src/ap-action/item/index.vue2.js +1 -0
  119. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
  120. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -0
  121. package/lib/src/ap-action/item-dropdown/index.vue2.js +1 -0
  122. package/lib/src/ap-action/item-modal/index.vue.d.ts +41 -0
  123. package/lib/src/ap-action/item-modal/index.vue.js +1 -0
  124. package/lib/src/ap-action/item-modal/index.vue2.js +1 -0
  125. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
  126. package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -0
  127. package/lib/src/ap-action/item-popconfirm/index.vue2.js +1 -0
  128. package/lib/src/ap-action/style/item-dropdown.css +11 -0
  129. package/lib/src/ap-action/style/item.css +28 -0
  130. package/lib/src/ap-field/checkbox/helper.js +1 -0
  131. package/lib/src/ap-field/checkbox/index.vue.d.ts +39 -0
  132. package/lib/src/ap-field/checkbox/index.vue.js +1 -0
  133. package/lib/src/ap-field/checkbox/index.vue2.js +1 -0
  134. package/lib/src/ap-field/date/constant.js +1 -0
  135. package/lib/src/ap-field/date/helper.d.ts +2 -0
  136. package/lib/src/ap-field/date/helper.js +1 -0
  137. package/lib/src/ap-field/date/index.vue.d.ts +57 -0
  138. package/lib/src/ap-field/date/index.vue.js +1 -0
  139. package/lib/src/ap-field/date/index.vue2.js +1 -0
  140. package/lib/src/ap-field/date-range/index.vue.d.ts +59 -0
  141. package/lib/src/ap-field/date-range/index.vue.js +1 -0
  142. package/lib/src/ap-field/date-range/index.vue2.js +1 -0
  143. package/lib/src/ap-field/index.d.ts +9 -3
  144. package/lib/src/ap-field/interface.d.ts +65 -5
  145. package/lib/src/ap-field/number/helper.d.ts +1 -0
  146. package/lib/src/ap-field/number/helper.js +1 -0
  147. package/lib/src/ap-field/number/index.vue.d.ts +72 -0
  148. package/lib/src/ap-field/number/index.vue.js +1 -0
  149. package/lib/src/ap-field/number/index.vue2.js +1 -0
  150. package/lib/src/ap-field/number/style.css +6 -0
  151. package/lib/src/ap-field/radio/helper.d.ts +4 -0
  152. package/lib/src/ap-field/radio/helper.js +1 -0
  153. package/lib/src/ap-field/radio/index.vue.d.ts +40 -0
  154. package/lib/src/ap-field/radio/index.vue.js +1 -0
  155. package/lib/src/ap-field/radio/index.vue2.js +1 -0
  156. package/lib/src/ap-field/select/index.vue.d.ts +235 -0
  157. package/lib/src/ap-field/select/index.vue.js +1 -0
  158. package/lib/src/ap-field/select/index.vue2.js +1 -0
  159. package/lib/src/ap-field/switch/index.vue.d.ts +54 -0
  160. package/lib/src/ap-field/switch/index.vue.js +1 -0
  161. package/lib/src/ap-field/switch/index.vue2.js +1 -0
  162. package/lib/src/ap-field/text/index.vue.d.ts +63 -0
  163. package/lib/src/ap-field/text/index.vue.js +1 -0
  164. package/lib/src/ap-field/text/index.vue2.js +1 -0
  165. package/lib/src/ap-field/text-area/index.vue.d.ts +49 -0
  166. package/lib/src/ap-field/text-area/index.vue.js +1 -0
  167. package/lib/src/ap-field/text-area/index.vue2.js +1 -0
  168. package/lib/src/ap-field/text-area/style.css +5 -0
  169. package/lib/src/ap-form/index.d.ts +64 -64
  170. package/lib/src/base-button/index.d.ts +28 -28
  171. package/lib/src/basic/help.vue.d.ts +1 -1
  172. package/lib/src/basic/index.d.ts +3 -3
  173. package/lib/src/config-provider/config-provider.d.ts +2 -2
  174. package/lib/src/config-provider/index.d.ts +6 -6
  175. package/lib/src/count-down/index.d.ts +12 -12
  176. package/lib/src/cropper/cropper-avatar.vue.d.ts +1 -1
  177. package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
  178. package/lib/src/cropper/index.d.ts +42 -42
  179. package/lib/src/description/description.vue.d.ts +1 -1
  180. package/lib/src/description/index.d.ts +3 -3
  181. package/lib/src/design-token/index.d.ts +4 -0
  182. package/lib/src/design-token/index.js +1 -0
  183. package/lib/src/dropdown/dropdown.vue.d.ts +1 -1
  184. package/lib/src/dropdown/index.d.ts +7 -7
  185. package/lib/src/icon/index.d.ts +41 -41
  186. package/lib/src/icon-picker/icon-picker.vue.d.ts +3 -3
  187. package/lib/src/icon-picker/index.d.ts +45 -45
  188. package/lib/src/index.d.ts +3 -0
  189. package/lib/src/index.js +1 -1
  190. package/lib/src/modal/basic.vue.d.ts +3 -2
  191. package/lib/src/modal/basic.vue.js +1 -1
  192. package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
  193. package/lib/src/modal/components/modal.d.ts +1 -1
  194. package/lib/src/modal/index.d.ts +7 -8
  195. package/lib/src/modal/index.js +1 -1
  196. package/lib/src/modal/props.js +1 -1
  197. package/lib/src/modal/style/index.css +29 -30
  198. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
  199. package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
  200. package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
  201. package/lib/src/pro-form/hooks/use-form-events.js +1 -1
  202. package/lib/src/pro-form/hooks/use-form-values.js +1 -1
  203. package/lib/src/pro-form/hooks/use-label-width.d.ts +5 -5
  204. package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
  205. package/lib/src/pro-form/pro-form.vue.js +1 -1
  206. package/lib/src/pro-table/hooks/use-columns.js +1 -1
  207. package/lib/src/strength-meter/index.d.ts +12 -12
  208. package/lib/src/theme/ap-action/item-dropdown.css +11 -0
  209. package/lib/src/theme/ap-action/item.css +28 -0
  210. package/lib/src/theme/ap-field/number.css +6 -0
  211. package/lib/src/theme/ap-field/text-area.css +5 -0
  212. package/lib/src/theme/modal/index.css +29 -30
  213. package/lib/src/type.d.ts +3 -1
  214. package/lib/src/utils/index.d.ts +7 -0
  215. package/package.json +3 -3
@@ -0,0 +1,343 @@
1
+ import { ApActionItemPopconfirmProps, ActionColor } from '../interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
3
+ import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
4
+ import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
5
+ import { VueTypeValidableDef } from '../../../node_modules/vue-types';
6
+ import { MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
7
+ import { TriggerType } from 'ant-design-vue/es/tooltip/abstractTooltipProps';
8
+ import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
9
+ import { LiteralUnion } from 'ant-design-vue/es/_util/type';
10
+ import { PresetColorType } from 'ant-design-vue/es/_util/colors';
11
+ import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
12
+
13
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemPopconfirmProps>, {
14
+ color: string;
15
+ disabled: boolean;
16
+ visible: boolean;
17
+ loading: boolean;
18
+ popconfirmProps: () => {};
19
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemPopconfirmProps>, {
20
+ color: string;
21
+ disabled: boolean;
22
+ visible: boolean;
23
+ loading: boolean;
24
+ popconfirmProps: () => {};
25
+ }>>>, {
26
+ color: ActionColor;
27
+ disabled: boolean;
28
+ visible: boolean;
29
+ loading: boolean;
30
+ popconfirmProps: Partial< ExtractPropTypes<{
31
+ prefixCls: StringConstructor;
32
+ content: {
33
+ default: any;
34
+ type: PropType<any>;
35
+ };
36
+ title: {
37
+ default: string | number;
38
+ type: PropType<string | number>;
39
+ };
40
+ description: {
41
+ default: string | number;
42
+ type: PropType<string | number>;
43
+ };
44
+ okType: {
45
+ type: PropType<LegacyButtonType>;
46
+ default: LegacyButtonType;
47
+ };
48
+ disabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ okText: {
53
+ default: any;
54
+ type: PropType<any>;
55
+ };
56
+ cancelText: {
57
+ default: any;
58
+ type: PropType<any>;
59
+ };
60
+ icon: {
61
+ default: any;
62
+ type: PropType<any>;
63
+ };
64
+ okButtonProps: {
65
+ type: PropType<Partial< ExtractPropTypes<{
66
+ prefixCls: StringConstructor;
67
+ type: PropType<ButtonType>;
68
+ htmlType: {
69
+ type: PropType<ButtonHTMLType>;
70
+ default: string;
71
+ };
72
+ shape: {
73
+ type: PropType<ButtonShape>;
74
+ };
75
+ size: {
76
+ type: PropType<ButtonSize>;
77
+ };
78
+ loading: {
79
+ type: PropType<boolean | {
80
+ delay?: number | undefined;
81
+ }>;
82
+ default: () => boolean | {
83
+ delay?: number | undefined;
84
+ };
85
+ };
86
+ disabled: {
87
+ type: BooleanConstructor;
88
+ default: any;
89
+ };
90
+ ghost: {
91
+ type: BooleanConstructor;
92
+ default: any;
93
+ };
94
+ block: {
95
+ type: BooleanConstructor;
96
+ default: any;
97
+ };
98
+ danger: {
99
+ type: BooleanConstructor;
100
+ default: any;
101
+ };
102
+ icon: VueTypeValidableDef<any>;
103
+ href: StringConstructor;
104
+ target: StringConstructor;
105
+ title: StringConstructor;
106
+ onClick: {
107
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
108
+ };
109
+ onMousedown: {
110
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
111
+ };
112
+ }>> & HTMLAttributes>;
113
+ default: Partial< ExtractPropTypes<{
114
+ prefixCls: StringConstructor;
115
+ type: PropType<ButtonType>;
116
+ htmlType: {
117
+ type: PropType<ButtonHTMLType>;
118
+ default: string;
119
+ };
120
+ shape: {
121
+ type: PropType<ButtonShape>;
122
+ };
123
+ size: {
124
+ type: PropType<ButtonSize>;
125
+ };
126
+ loading: {
127
+ type: PropType<boolean | {
128
+ delay?: number | undefined;
129
+ }>;
130
+ default: () => boolean | {
131
+ delay?: number | undefined;
132
+ };
133
+ };
134
+ disabled: {
135
+ type: BooleanConstructor;
136
+ default: any;
137
+ };
138
+ ghost: {
139
+ type: BooleanConstructor;
140
+ default: any;
141
+ };
142
+ block: {
143
+ type: BooleanConstructor;
144
+ default: any;
145
+ };
146
+ danger: {
147
+ type: BooleanConstructor;
148
+ default: any;
149
+ };
150
+ icon: VueTypeValidableDef<any>;
151
+ href: StringConstructor;
152
+ target: StringConstructor;
153
+ title: StringConstructor;
154
+ onClick: {
155
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
156
+ };
157
+ onMousedown: {
158
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
159
+ };
160
+ }>> & HTMLAttributes;
161
+ };
162
+ cancelButtonProps: {
163
+ type: PropType<Partial< ExtractPropTypes<{
164
+ prefixCls: StringConstructor;
165
+ type: PropType<ButtonType>;
166
+ htmlType: {
167
+ type: PropType<ButtonHTMLType>;
168
+ default: string;
169
+ };
170
+ shape: {
171
+ type: PropType<ButtonShape>;
172
+ };
173
+ size: {
174
+ type: PropType<ButtonSize>;
175
+ };
176
+ loading: {
177
+ type: PropType<boolean | {
178
+ delay?: number | undefined;
179
+ }>;
180
+ default: () => boolean | {
181
+ delay?: number | undefined;
182
+ };
183
+ };
184
+ disabled: {
185
+ type: BooleanConstructor;
186
+ default: any;
187
+ };
188
+ ghost: {
189
+ type: BooleanConstructor;
190
+ default: any;
191
+ };
192
+ block: {
193
+ type: BooleanConstructor;
194
+ default: any;
195
+ };
196
+ danger: {
197
+ type: BooleanConstructor;
198
+ default: any;
199
+ };
200
+ icon: VueTypeValidableDef<any>;
201
+ href: StringConstructor;
202
+ target: StringConstructor;
203
+ title: StringConstructor;
204
+ onClick: {
205
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
206
+ };
207
+ onMousedown: {
208
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
209
+ };
210
+ }>> & HTMLAttributes>;
211
+ default: Partial< ExtractPropTypes<{
212
+ prefixCls: StringConstructor;
213
+ type: PropType<ButtonType>;
214
+ htmlType: {
215
+ type: PropType<ButtonHTMLType>;
216
+ default: string;
217
+ };
218
+ shape: {
219
+ type: PropType<ButtonShape>;
220
+ };
221
+ size: {
222
+ type: PropType<ButtonSize>;
223
+ };
224
+ loading: {
225
+ type: PropType<boolean | {
226
+ delay?: number | undefined;
227
+ }>;
228
+ default: () => boolean | {
229
+ delay?: number | undefined;
230
+ };
231
+ };
232
+ disabled: {
233
+ type: BooleanConstructor;
234
+ default: any;
235
+ };
236
+ ghost: {
237
+ type: BooleanConstructor;
238
+ default: any;
239
+ };
240
+ block: {
241
+ type: BooleanConstructor;
242
+ default: any;
243
+ };
244
+ danger: {
245
+ type: BooleanConstructor;
246
+ default: any;
247
+ };
248
+ icon: VueTypeValidableDef<any>;
249
+ href: StringConstructor;
250
+ target: StringConstructor;
251
+ title: StringConstructor;
252
+ onClick: {
253
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
254
+ };
255
+ onMousedown: {
256
+ type: PropType< MouseEventHandler | MouseEventHandler[]>;
257
+ };
258
+ }>> & HTMLAttributes;
259
+ };
260
+ showCancel: {
261
+ type: BooleanConstructor;
262
+ default: boolean;
263
+ };
264
+ onConfirm: PropType<(e: MouseEvent) => void>;
265
+ onCancel: PropType<(e: MouseEvent) => void>;
266
+ trigger: PropType< TriggerType | TriggerType[]>;
267
+ open: {
268
+ type: BooleanConstructor;
269
+ default: any;
270
+ };
271
+ visible: {
272
+ type: BooleanConstructor;
273
+ default: any;
274
+ };
275
+ placement: PropType<TooltipPlacement>;
276
+ color: PropType<LiteralUnion<PresetColorType>>;
277
+ transitionName: StringConstructor;
278
+ overlayStyle: {
279
+ type: PropType<CSSProperties>;
280
+ default: CSSProperties;
281
+ };
282
+ overlayInnerStyle: {
283
+ type: PropType<CSSProperties>;
284
+ default: CSSProperties;
285
+ };
286
+ overlayClassName: StringConstructor;
287
+ openClassName: StringConstructor;
288
+ mouseEnterDelay: NumberConstructor;
289
+ mouseLeaveDelay: NumberConstructor;
290
+ getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
291
+ arrowPointAtCenter: {
292
+ type: BooleanConstructor;
293
+ default: any;
294
+ };
295
+ arrow: {
296
+ type: PropType<boolean | {
297
+ pointAtCenter?: boolean | undefined;
298
+ }>;
299
+ default: boolean | {
300
+ pointAtCenter?: boolean | undefined;
301
+ };
302
+ };
303
+ autoAdjustOverflow: {
304
+ type: PropType<boolean | AdjustOverflow>;
305
+ default: boolean | AdjustOverflow;
306
+ };
307
+ destroyTooltipOnHide: {
308
+ type: BooleanConstructor;
309
+ default: any;
310
+ };
311
+ align: {
312
+ type: PropType<AlignType>;
313
+ default: AlignType;
314
+ };
315
+ builtinPlacements: {
316
+ type: PropType<BuildInPlacements>;
317
+ default: BuildInPlacements;
318
+ };
319
+ children: ArrayConstructor;
320
+ onVisibleChange: PropType<(vis: boolean) => void>;
321
+ 'onUpdate:visible': PropType<(vis: boolean) => void>;
322
+ onOpenChange: PropType<(vis: boolean) => void>;
323
+ 'onUpdate:open': PropType<(vis: boolean) => void>;
324
+ }>>;
325
+ }, {}>;
326
+ export default _default;
327
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
328
+ type __VLS_TypePropsToRuntimeProps<T> = {
329
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
330
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
331
+ } : {
332
+ type: PropType<T[K]>;
333
+ required: true;
334
+ };
335
+ };
336
+ type __VLS_WithDefaults<P, D> = {
337
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
338
+ default: D[K];
339
+ }> : P[K];
340
+ };
341
+ type __VLS_Prettify<T> = {
342
+ [K in keyof T]: T[K];
343
+ } & {};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("ant-design-vue"),u=require("../item/index.vue.js"),p=require("lodash-unified"),s=e.defineComponent({name:"ApActionItemPopconfirm",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1},popconfirmProps:{default:()=>({})}},setup(a){const o=a;async function c(n){var t,r,i;(r=(t=o.popconfirmProps).onConfirm)==null||r.call(t,n),await((i=o.onAction)==null?void 0:i.call(o,n))}return(n,t)=>(e.openBlock(),e.createBlock(e.unref(l.Popconfirm),e.mergeProps(o.popconfirmProps,{onConfirm:c,disabled:!o.popconfirmProps}),{default:e.withCtx(()=>[e.createVNode(u.default,e.normalizeProps(e.guardReactiveProps(e.unref(p.omit)(o,["popconfirmProps","onAction"]))),null,16)]),_:1},16,["disabled"]))}});exports.default=s;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1,11 @@
1
+ .aplus-action-item-dropdown__item .aplus-action-item {
2
+ width: 100%;
3
+ }
4
+ .aplus-action-item-dropdown__wrapper {
5
+ display: inline-flex;
6
+ flex-direction: row;
7
+ align-items: center;
8
+ }
9
+ .aplus-action-item-dropdown__icon {
10
+ margin-left: 4px;
11
+ }
@@ -0,0 +1,28 @@
1
+ .aplus-action-item {
2
+ display: inline-block;
3
+ font-size: 14px;
4
+ line-height: 22px;
5
+ cursor: pointer;
6
+ }
7
+ .aplus-action-item--primary {
8
+ color: #0070ff;
9
+ }
10
+ .aplus-action-item--success {
11
+ color: #2ed1a3;
12
+ }
13
+ .aplus-action-item--error {
14
+ color: #FF4D4F;
15
+ }
16
+ .aplus-action-item--warn {
17
+ color: #FFA940;
18
+ }
19
+ .aplus-action-item--loading {
20
+ opacity: 0.35;
21
+ transition: opacity 0.2s;
22
+ }
23
+ .aplus-action-item--loading .btn-loading-icon {
24
+ margin-right: 4px;
25
+ }
26
+ .aplus-action-item--disabled {
27
+ color: #ABB7CC;
28
+ }
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>typeof e=="object"?e.value:e,o=e=>typeof e=="object"?e.label:e;exports.getOptionLabel=o;exports.getOptionValue=t;
@@ -0,0 +1,39 @@
1
+ import { ApFieldCheckboxProps, FieldMode } from '../interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { CheckboxOptionType } from 'ant-design-vue';
4
+
5
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldCheckboxProps>, {
6
+ emptyText: string;
7
+ mode: string;
8
+ options: () => never[];
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
+ "update:value": (...args: any[]) => void;
11
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldCheckboxProps>, {
12
+ emptyText: string;
13
+ mode: string;
14
+ options: () => never[];
15
+ }>>> & {
16
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
17
+ }, {
18
+ mode: FieldMode;
19
+ options: (string | number | CheckboxOptionType)[];
20
+ emptyText: string;
21
+ }, {}>;
22
+ export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToRuntimeProps<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
32
+ type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
+ default: D[K];
35
+ }> : P[K];
36
+ };
37
+ type __VLS_Prettify<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("lodash-unified"),f=require("ant-design-vue");require("../../hooks/useMessage.js");const m=require("../../hooks/useControllableValue.js"),i=require("./helper.js"),k=e.defineComponent({name:"ApFieldCheckbox",inheritAttrs:!1,__name:"index",props:{mode:{default:"edit"},defaultValue:{},value:{},onChange:{},"onUpdate:value":{},name:{},prefixCls:{},options:{default:()=>[]},disabled:{type:Boolean},id:{},emptyText:{default:"-"},request:{}},emits:["update:value"],setup(s,{emit:p}){const c=p,t=s,n=e.ref(t.options);e.onMounted(()=>{r.isFunction(t.request)&&t.request().then(l=>n.value=l)});const{value:o,updateValue:d}=m.useControllableValue(t,c,{defaultValue:[]});return(l,v)=>{var a;return l.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(r.isNil)(e.unref(o))?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.emptyText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(((a=n.value)==null?void 0:a.filter(u=>e.unref(o).indexOf(e.unref(i.getOptionValue)(u))>-1).map(u=>e.unref(i.getOptionLabel)(u)).join("、"))||t.emptyText),1)],64))],64)):(e.openBlock(),e.createBlock(e.unref(f.CheckboxGroup),e.mergeProps({key:1},t,{options:n.value,value:e.unref(o),"onUpdate:value":e.unref(d)}),null,16,["options","value","onUpdate:value"]))}}});exports.default=k;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=["Y","Y-M","Y-D","Y-h","Y-m","Y-s"],e={Y:"YYYY","Y-M":"YYYY-MM","Y-D":"YYYY-MM-DD","Y-h":"YYYY-MM-DD HH","Y-m":"YYYY-MM-DD HH:mm","Y-s":"YYYY-MM-DD HH:mm:ss"},s={Y:"year","Y-M":"month","Y-D":"date","Y-h":"date","Y-m":"date","Y-s":"date"},M={Y:{showTime:!1},"Y-M":{showTime:!1},"Y-D":{showTime:!1},"Y-h":{showTime:!0,showSecond:!1,showMinute:!1},"Y-m":{showTime:!0,showSecond:!1},"Y-s":{showTime:!0}};exports.ApFieldDatePresetFormats=Y;exports.PRESET_FORMAT_MAP=e;exports.PRESET_FORMAT_PICK_MAP=s;exports.PRESET_FORMAT_TIME_MAP=M;
@@ -1,3 +1,5 @@
1
+ import { EventValue } from 'ant-design-vue/es/vc-picker/interface';
1
2
  import { Dayjs } from 'dayjs';
2
3
 
3
4
  export declare const formatDay: (d: Dayjs, f: string, begin?: boolean) => number | null;
5
+ export declare const formatValue: (v: EventValue<Dayjs>) => number | null;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=(e,f,o=!0)=>{if(!e)return null;let t=e.clone();return t=t.millisecond(0),f.indexOf("ss")===-1&&(t=t.second(o?0:59)),f.indexOf("mm")===-1&&(t=t.minute(o?0:59)),f.indexOf("HH")===-1&&(t=t.hour(o?0:23)),f.indexOf("DD")===-1&&(t=t.date(o?1:0),o||(t=t.month(t.month()+1))),f.indexOf("MM")===-1&&(t=t.month(o?0:12)),t.valueOf()},r=e=>e&&e.valueOf();exports.formatDay=n;exports.formatValue=r;
@@ -0,0 +1,57 @@
1
+ import { ApFieldDateProps, FieldMode } from '../interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { DatePickerProps } from 'ant-design-vue';
4
+
5
+ type ApFieldDataSlots = {
6
+ dateRender: any;
7
+ suffixIcon?: any;
8
+ prevIcon?: any;
9
+ nextIcon?: any;
10
+ superPrevIcon?: any;
11
+ superNextIcon?: any;
12
+ renderExtraFooter?: any;
13
+ monthCellRender?: any;
14
+ monthCellContentRender?: any;
15
+ clearIcon?: any;
16
+ default?: any;
17
+ };
18
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateProps>, {
19
+ format: string;
20
+ mode: string;
21
+ fieldProps: () => {};
22
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ "update:value": (...args: any[]) => void;
24
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateProps>, {
25
+ format: string;
26
+ mode: string;
27
+ fieldProps: () => {};
28
+ }>>> & {
29
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
30
+ }, {
31
+ mode: FieldMode;
32
+ format: string;
33
+ fieldProps: Omit< DatePickerProps, "mode" | "onOk" | "onChange" | "value" | "defaultValue" | "format">;
34
+ }, {}>, Readonly<ApFieldDataSlots> & ApFieldDataSlots>;
35
+ export default _default;
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToRuntimeProps<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
45
+ type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
+ default: D[K];
48
+ }> : P[K];
49
+ };
50
+ type __VLS_Prettify<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
53
+ type __VLS_WithTemplateSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("dayjs"),A=require("ant-design-vue"),c=require("./constant.js");require("../../hooks/useMessage.js");const C=require("../../hooks/useControllableValue.js"),p=require("lodash-unified"),m=require("./helper.js"),D=e.defineComponent({name:"ApFieldDate",inheritAttrs:!1,__name:"index",props:{mode:{default:"edit"},fieldProps:{default:()=>({})},emptyText:{},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"}},emits:["update:value"],setup(P,{emit:v}){const t=P,k=v,{value:i,updateValue:d}=C.useControllableValue(t,k),a=e.computed(()=>c.ApFieldDatePresetFormats.indexOf(t.format)>-1),u=e.computed(()=>a.value?c.PRESET_FORMAT_MAP[t.format]:t.format),_=e.computed(()=>p.isNil(e.unref(i))?void 0:s(e.unref(i))),g=e.computed(()=>e.unref(a)?t.fieldProps.picker??c.PRESET_FORMAT_PICK_MAP[t.format]:t.fieldProps.picker),y=e.computed(()=>{const r=e.unref(a)?c.PRESET_FORMAT_TIME_MAP[t.format]:{};return{...t.fieldProps,...r}});function h(r){if(p.isNil(r)){d(null);return}const n=s(r);e.unref(a)?d(m.formatDay(n,e.unref(u))):d(n.valueOf())}function O(r,n){var f;const l=s(r),o=e.unref(a)?m.formatDay(l,e.unref(u)):r?l.valueOf():null;(f=t.onChange)==null||f.call(t,o,n)}function T(r){var o;const n=s(r),l=e.unref(a)?m.formatDay(n,e.unref(u)):r?n.valueOf():null;(o=t.onOk)==null||o.call(t,l)}return(r,n)=>r.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(i)?e.unref(s)(e.unref(i)).format(u.value):r.emptyText),1)],64)):(e.openBlock(),e.createBlock(e.unref(A.DatePicker),e.mergeProps({key:1},y.value,{value:_.value,format:u.value,"onUpdate:value":h,onChange:O,onOk:T,picker:g.value}),e.createSlots({_:2},[e.renderList(r.$slots,(l,o)=>({name:o,fn:e.withCtx(f=>[e.renderSlot(r.$slots,o,e.normalizeProps(e.guardReactiveProps(f||{})))])}))]),1040,["value","format","picker"]))}});exports.default=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -0,0 +1,59 @@
1
+ import { ApFieldDateRangeProps, FieldMode } from '../interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { RangePickerProps } from 'ant-design-vue/es/date-picker';
4
+
5
+ type ApFieldDateRangeSlots = {
6
+ suffixIcon?: any;
7
+ prevIcon?: any;
8
+ nextIcon?: any;
9
+ superPrevIcon?: any;
10
+ superNextIcon?: any;
11
+ dateRender?: any;
12
+ renderExtraFooter?: any;
13
+ default?: any;
14
+ separator?: any;
15
+ clearIcon?: any;
16
+ };
17
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateRangeProps>, {
18
+ emptyText: string;
19
+ mode: string;
20
+ format: string;
21
+ fieldProps: () => {};
22
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ "update:value": (...args: any[]) => void;
24
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateRangeProps>, {
25
+ emptyText: string;
26
+ mode: string;
27
+ format: string;
28
+ fieldProps: () => {};
29
+ }>>> & {
30
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
31
+ }, {
32
+ mode: FieldMode;
33
+ format: string;
34
+ emptyText: string;
35
+ fieldProps: Omit< RangePickerProps, "onOk" | "onChange" | "value" | "defaultValue" | "renderExtraFooter" | "onPanelChange">;
36
+ }, {}>, Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots>;
37
+ export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
47
+ type __VLS_WithDefaults<P, D> = {
48
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
49
+ default: D[K];
50
+ }> : P[K];
51
+ };
52
+ type __VLS_Prettify<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),p=require("../date/constant.js");require("../../hooks/useMessage.js");const V=require("../../hooks/useControllableValue.js"),c=require("lodash-unified"),l=require("dayjs"),E=require("ant-design-vue"),s=require("../date/helper.js"),R=require("@ant-design/icons-vue"),q=e.defineComponent({__name:"index",props:{mode:{default:"edit"},fieldProps:{default:()=>({})},emptyText:{default:"-"},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"}},emits:["update:value"],setup(P,{emit:g}){const r=P,_=g,u=e.computed(()=>p.ApFieldDatePresetFormats.indexOf(r.format)>-1),a=e.computed(()=>u.value?p.PRESET_FORMAT_MAP[r.format]:r.format),{value:d,updateValue:k}=V.useControllableValue(r,_),f=e.computed(()=>{var t,n;if(!c.isNil(e.unref(d)))return[l((t=e.unref(d))==null?void 0:t[0]),l((n=e.unref(d))==null?void 0:n[1])]}),y=e.computed(()=>e.unref(u)?r.fieldProps.picker??p.PRESET_FORMAT_PICK_MAP[r.format]:r.fieldProps.picker),D=e.computed(()=>{const t=e.unref(u)?p.PRESET_FORMAT_TIME_MAP[r.format]:{};return{...r.fieldProps,...t}});function S(t){t||k(null);const n=c.isString(t[0])?l(t[0]):t[0],o=c.isString(t[1])?l(t[1]):t[1];e.unref(u)?k([s.formatDay(n,e.unref(a)),s.formatDay(o,e.unref(a),!1)]):k([s.formatValue(n),s.formatValue(o)])}function T(t){var i;const n=c.isString(t[0])?l(t[0]):t[0],o=c.isString(t[1])?l(t[1]):t[1],m=t[0]?e.unref(u)?s.formatDay(n,e.unref(a)):n.valueOf():null,v=t[1]?e.unref(u)?s.formatDay(o,e.unref(a),!1):o.valueOf():null;(i=r.onOk)==null||i.call(r,[m,v])}return(t,n)=>{var o,m;return t.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[f.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString((o=f.value[0])==null?void 0:o.format(a.value))+" ",1),e.createVNode(e.unref(R.SwapRightOutlined)),e.createTextVNode(" "+e.toDisplayString((m=f.value[1])==null?void 0:m.format(a.value)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.emptyText),1)],64))],64)):(e.openBlock(),e.createBlock(e.unref(E.DatePicker).RangePicker,e.mergeProps({key:1},D.value,{value:f.value,"onUpdate:value":S,picker:y.value,format:a.value,onOk:T}),e.createSlots({_:2},[e.renderList(t.$slots,(v,i)=>({name:i,fn:e.withCtx(O=>[e.renderSlot(t.$slots,i,e.normalizeProps(e.guardReactiveProps(O||{})))])}))]),1040,["value","picker","format"]))}}});exports.default=q;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -1,6 +1,12 @@
1
1
  import { default as ApFieldText } from './text/index.vue';
2
- import { default as ApFiledCheckbox } from './checkbox/index.vue';
3
- import { default as ApFiledDate } from './date/index.vue';
2
+ import { default as ApFieldCheckbox } from './checkbox/index.vue';
3
+ import { default as ApFieldDate } from './date/index.vue';
4
+ import { default as ApFieldNumber } from './number/index.vue';
5
+ import { default as ApFieldRadio } from './radio/index.vue';
6
+ import { default as ApFieldSwitch } from './switch/index.vue';
7
+ import { default as ApFieldTextArea } from './text-area/index.vue';
8
+ import { default as ApFieldDateRange } from './date-range/index.vue';
9
+ import { default as ApFieldSelect } from './select/index.vue';
4
10
 
5
11
  export * from './interface';
6
- export { ApFieldText, ApFiledCheckbox, ApFiledDate };
12
+ export { ApFieldText, ApFieldCheckbox, ApFieldDate, ApFieldNumber, ApFieldRadio, ApFieldSwitch, ApFieldTextArea, ApFieldDateRange, ApFieldSelect };