@vunk/form 2.16.6 → 2.16.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 (223) hide show
  1. package/components/api-tables-select/index.d.ts +4 -0
  2. package/components/api-tables-select/src/ctx.d.ts +375 -0
  3. package/components/api-tables-select/src/index.vue.d.ts +1340 -0
  4. package/components/api-tables-select/src/types.d.ts +19 -0
  5. package/components/button/index.d.ts +4 -0
  6. package/components/button/src/ctx.d.ts +193 -0
  7. package/components/button/src/index.vue.d.ts +851 -0
  8. package/components/button/src/types.d.ts +13 -0
  9. package/components/card-input-collection/index.d.ts +4 -0
  10. package/components/card-input-collection/src/core.vue.d.ts +1125 -0
  11. package/components/card-input-collection/src/ctx.d.ts +154 -0
  12. package/components/card-input-collection/src/index.vue.d.ts +287 -0
  13. package/components/card-input-collection/src/types.d.ts +17 -0
  14. package/components/cascader/index.d.ts +6 -0
  15. package/components/cascader/src/ctx.d.ts +343 -0
  16. package/components/cascader/src/index.vue.d.ts +775 -0
  17. package/components/cascader/src/types.d.ts +19 -0
  18. package/components/cascader/src/use.d.ts +5 -0
  19. package/components/checkbox/index.d.ts +5 -0
  20. package/components/checkbox/src/ctx.d.ts +146 -0
  21. package/components/checkbox/src/index.vue.d.ts +1353 -0
  22. package/components/checkbox/src/types.d.ts +8 -0
  23. package/components/color-picker/index.d.ts +4 -0
  24. package/components/color-picker/src/ctx.d.ts +179 -0
  25. package/components/color-picker/src/index.vue.d.ts +398 -0
  26. package/components/color-picker/src/types.d.ts +7 -0
  27. package/components/date-picker/index.d.ts +5 -0
  28. package/components/date-picker/src/ctx.d.ts +364 -0
  29. package/components/date-picker/src/index.vue.d.ts +1665 -0
  30. package/components/date-picker/src/types.d.ts +20 -0
  31. package/components/date-picker-range/index.d.ts +4 -0
  32. package/components/date-picker-range/src/ctx.d.ts +372 -0
  33. package/components/date-picker-range/src/index.vue.d.ts +808 -0
  34. package/components/date-picker-range/src/types.d.ts +12 -0
  35. package/components/dialog/index.d.ts +4 -0
  36. package/components/dialog/src/ctx.d.ts +174 -0
  37. package/components/dialog/src/index.vue.d.ts +1180 -0
  38. package/components/dialog/src/types.d.ts +1 -0
  39. package/components/dialog-input-collection/index.d.ts +4 -0
  40. package/components/dialog-input-collection/src/ctx.d.ts +141 -0
  41. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +6430 -0
  42. package/components/dialog-input-collection/src/index.vue.d.ts +7773 -0
  43. package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
  44. package/components/dialog-input-collection/src/types.d.ts +28 -0
  45. package/components/download-plus/index.d.ts +4 -0
  46. package/components/download-plus/src/api.d.ts +13 -0
  47. package/components/download-plus/src/const.d.ts +9 -0
  48. package/components/download-plus/src/ctx.d.ts +125 -0
  49. package/components/download-plus/src/index.vue.d.ts +1495 -0
  50. package/components/download-plus/src/types.d.ts +17 -0
  51. package/components/editable-text/index.d.ts +4 -0
  52. package/components/editable-text/src/ctx.d.ts +128 -0
  53. package/components/editable-text/src/index.vue.d.ts +3389 -0
  54. package/components/editable-text/src/types.d.ts +1 -0
  55. package/components/esri-input-geojson/index.d.ts +6 -0
  56. package/components/esri-input-geojson/src/append.vue.d.ts +1200 -0
  57. package/components/esri-input-geojson/src/const.d.ts +12 -0
  58. package/components/esri-input-geojson/src/ctx.d.ts +351 -0
  59. package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
  60. package/components/esri-input-geojson/src/index.vue.d.ts +1488 -0
  61. package/components/esri-input-geojson/src/types.d.ts +22 -0
  62. package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
  63. package/components/fieldset/index.d.ts +4 -0
  64. package/components/fieldset/src/ctx.d.ts +16 -0
  65. package/components/fieldset/src/index.vue.d.ts +32 -0
  66. package/components/fieldset/src/types.d.ts +1 -0
  67. package/components/fieldset/src/use.d.ts +5 -0
  68. package/components/form/index.d.ts +5 -0
  69. package/components/form/src/ctx.d.ts +139 -0
  70. package/components/form/src/index.vue.d.ts +2613 -0
  71. package/components/form/src/types.d.ts +25 -0
  72. package/components/form/src/utils.d.ts +15 -0
  73. package/components/form-item/index.d.ts +5 -0
  74. package/components/form-item/src/core.vue.d.ts +1874 -0
  75. package/components/form-item/src/ctx.d.ts +103 -0
  76. package/components/form-item/src/index.vue.d.ts +214 -0
  77. package/components/form-item/src/types.d.ts +10 -0
  78. package/components/form-item-renderer/index.d.ts +4 -0
  79. package/components/form-item-renderer/src/core.vue.d.ts +38 -0
  80. package/components/form-item-renderer/src/ctx.d.ts +16 -0
  81. package/components/form-item-renderer/src/index.vue.d.ts +93 -0
  82. package/components/form-item-renderer/src/types.d.ts +5 -0
  83. package/components/form-item-renderer/src/utils.d.ts +5 -0
  84. package/components/form-item-renderer-template/index.d.ts +4 -0
  85. package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
  86. package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
  87. package/components/form-item-renderer-template/src/types.d.ts +55 -0
  88. package/components/forms-provider/index.d.ts +6 -0
  89. package/components/forms-provider/src/core.d.ts +6 -0
  90. package/components/forms-provider/src/index.vue.d.ts +2 -0
  91. package/components/forms-provider/src/segment.vue.d.ts +9 -0
  92. package/components/forms-provider/src/types.d.ts +10 -0
  93. package/components/forms-provider/src/view.vue.d.ts +7 -0
  94. package/components/information/index.d.ts +4 -0
  95. package/components/information/src/ctx.d.ts +16 -0
  96. package/components/information/src/index.vue.d.ts +27 -0
  97. package/components/information/src/types.d.ts +3 -0
  98. package/components/information-collection/index.d.ts +4 -0
  99. package/components/information-collection/src/ctx.d.ts +143 -0
  100. package/components/information-collection/src/index.vue.d.ts +296 -0
  101. package/components/information-collection/src/types.d.ts +6 -0
  102. package/components/information-renderer/index.d.ts +73 -0
  103. package/components/information-tag/index.d.ts +4 -0
  104. package/components/information-tag/src/ctx.d.ts +64 -0
  105. package/components/information-tag/src/index.vue.d.ts +134 -0
  106. package/components/information-tag/src/types.d.ts +1 -0
  107. package/components/information-templates-default/index.d.ts +4 -0
  108. package/components/information-templates-default/src/ctx.d.ts +2 -0
  109. package/components/information-templates-default/src/index.vue.d.ts +2 -0
  110. package/components/information-templates-default/src/types.d.ts +1 -0
  111. package/components/input/index.d.ts +5 -0
  112. package/components/input/src/ctx.d.ts +280 -0
  113. package/components/input/src/index.vue.d.ts +1268 -0
  114. package/components/input/src/types.d.ts +13 -0
  115. package/components/input-array/index.d.ts +5 -0
  116. package/components/input-array/src/ctx.d.ts +136 -0
  117. package/components/input-array/src/form-template.vue.d.ts +901 -0
  118. package/components/input-array/src/index.vue.d.ts +889 -0
  119. package/components/input-array/src/types.d.ts +7 -0
  120. package/components/input-collection/index.d.ts +4 -0
  121. package/components/input-collection/src/core.vue.d.ts +1203 -0
  122. package/components/input-collection/src/ctx.d.ts +154 -0
  123. package/components/input-collection/src/index.vue.d.ts +296 -0
  124. package/components/input-collection/src/types.d.ts +29 -0
  125. package/components/input-file/index.d.ts +5 -0
  126. package/components/input-file/src/ctx.d.ts +46 -0
  127. package/components/input-file/src/index.vue.d.ts +112 -0
  128. package/components/input-file/src/template.vue.d.ts +125 -0
  129. package/components/input-file/src/types.d.ts +8 -0
  130. package/components/input-link/index.d.ts +4 -0
  131. package/components/input-link/src/ctx.d.ts +284 -0
  132. package/components/input-link/src/index.vue.d.ts +602 -0
  133. package/components/input-link/src/types.d.ts +7 -0
  134. package/components/input-number/index.d.ts +4 -0
  135. package/components/input-number/src/ctx.d.ts +221 -0
  136. package/components/input-number/src/index.vue.d.ts +910 -0
  137. package/components/input-number/src/types.d.ts +12 -0
  138. package/components/input-tag/index.d.ts +5 -0
  139. package/components/input-tag/src/ctx.d.ts +244 -0
  140. package/components/input-tag/src/index.vue.d.ts +1050 -0
  141. package/components/input-tag/src/types.d.ts +22 -0
  142. package/components/monaco-editor/index.d.ts +4 -0
  143. package/components/monaco-editor/src/ctx.d.ts +111 -0
  144. package/components/monaco-editor/src/index.vue.d.ts +297 -0
  145. package/components/monaco-editor/src/types.d.ts +7 -0
  146. package/components/radio/index.d.ts +4 -0
  147. package/components/radio/src/ctx.d.ts +165 -0
  148. package/components/radio/src/index.vue.d.ts +1488 -0
  149. package/components/radio/src/option.vue.d.ts +901 -0
  150. package/components/radio/src/types.d.ts +8 -0
  151. package/components/radio/src/wraper.vue.d.ts +337 -0
  152. package/components/renderer-data/index.d.ts +4 -0
  153. package/components/renderer-data/src/ctx.d.ts +12 -0
  154. package/components/renderer-data/src/index.vue.d.ts +20 -0
  155. package/components/renderer-data/src/types.d.ts +1 -0
  156. package/components/select/index.cjs +3 -1
  157. package/components/select/index.d.ts +5 -0
  158. package/components/select/index.mjs +3 -1
  159. package/components/select/src/core.vue.d.ts +1574 -0
  160. package/components/select/src/ctx.d.ts +385 -0
  161. package/components/select/src/index.vue.d.ts +946 -0
  162. package/components/select/src/options.vue.d.ts +24 -0
  163. package/components/select/src/types.d.ts +13 -0
  164. package/components/slider/index.d.ts +4 -0
  165. package/components/slider/src/ctx.d.ts +248 -0
  166. package/components/slider/src/index.vue.d.ts +579 -0
  167. package/components/slider/src/types.d.ts +7 -0
  168. package/components/switch/index.d.ts +4 -0
  169. package/components/switch/src/ctx.d.ts +201 -0
  170. package/components/switch/src/index.vue.d.ts +882 -0
  171. package/components/switch/src/types.d.ts +7 -0
  172. package/components/tables-select/index.d.ts +5 -0
  173. package/components/tables-select/src/ctx.d.ts +421 -0
  174. package/components/tables-select/src/index.vue.d.ts +5510 -0
  175. package/components/tables-select/src/types.d.ts +9 -0
  176. package/components/template-instances-provider/index.d.ts +3 -0
  177. package/components/template-instances-provider/src/index.vue.d.ts +6 -0
  178. package/components/templates-default/index.d.ts +4 -0
  179. package/components/templates-default/src/ctx.d.ts +19 -0
  180. package/components/templates-default/src/index.vue.d.ts +187 -0
  181. package/components/templates-default/src/types.d.ts +55 -0
  182. package/components/templates-element-plus/index.d.ts +4 -0
  183. package/components/templates-element-plus/src/ctx.d.ts +9 -0
  184. package/components/templates-element-plus/src/index.vue.d.ts +301 -0
  185. package/components/templates-element-plus/src/types.d.ts +13 -0
  186. package/components/templates-esri/index.d.ts +4 -0
  187. package/components/templates-esri/src/ctx.d.ts +11 -0
  188. package/components/templates-esri/src/index.vue.d.ts +43 -0
  189. package/components/templates-esri/src/types.d.ts +2 -0
  190. package/components/templates-layout/index.d.ts +4 -0
  191. package/components/templates-layout/src/ctx.d.ts +9 -0
  192. package/components/templates-layout/src/index.vue.d.ts +446 -0
  193. package/components/templates-layout/src/types.d.ts +32 -0
  194. package/components/templates-variant/index.d.ts +4 -0
  195. package/components/templates-variant/src/ctx.d.ts +11 -0
  196. package/components/templates-variant/src/index.vue.d.ts +43 -0
  197. package/components/templates-variant/src/types.d.ts +2 -0
  198. package/components/upload/index.d.ts +5 -0
  199. package/components/upload/src/ctx.d.ts +291 -0
  200. package/components/upload/src/file.vue.d.ts +913 -0
  201. package/components/upload/src/index.vue.d.ts +2347 -0
  202. package/components/upload/src/types.d.ts +13 -0
  203. package/components/upload/src/wraper.vue.d.ts +590 -0
  204. package/components/upload-plus/index.d.ts +6 -0
  205. package/components/upload-plus/src/api.d.ts +38 -0
  206. package/components/upload-plus/src/const.d.ts +9 -0
  207. package/components/upload-plus/src/ctx.d.ts +144 -0
  208. package/components/upload-plus/src/index.vue.d.ts +1813 -0
  209. package/components/upload-plus/src/types.d.ts +32 -0
  210. package/components/van-cascader/index.d.ts +4 -0
  211. package/components/van-cascader/src/ctx.d.ts +330 -0
  212. package/components/van-cascader/src/index.vue.d.ts +1241 -0
  213. package/components/van-cascader/src/types.d.ts +1 -0
  214. package/components/var-datetime-picker/index.d.ts +4 -0
  215. package/components/var-datetime-picker/src/const.d.ts +10 -0
  216. package/components/var-datetime-picker/src/ctx.d.ts +108 -0
  217. package/components/var-datetime-picker/src/index.vue.d.ts +1622 -0
  218. package/components/var-datetime-picker/src/types.d.ts +22 -0
  219. package/components/vditor/index.d.ts +4 -0
  220. package/components/vditor/src/ctx.d.ts +118 -0
  221. package/components/vditor/src/index.vue.d.ts +412 -0
  222. package/components/vditor/src/types.d.ts +7 -0
  223. package/package.json +1 -1
@@ -0,0 +1,154 @@
1
+ import { PropType } from 'vue';
2
+ import { AnyFunc, NormalObject } from '@vunk/shared';
3
+ export declare const props: {
4
+ columns: {
5
+ type: PropType<any[]>;
6
+ default: () => any[];
7
+ };
8
+ modelValue: {
9
+ type: PropType<NormalObject[]>;
10
+ default: () => any[];
11
+ };
12
+ readonly: {
13
+ type: BooleanConstructor;
14
+ default: any;
15
+ };
16
+ /**
17
+ * @description 是否可以splice
18
+ */
19
+ splicable: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ /**
24
+ * @description 开启 form-item 的 label 上的操作区域, 在labelPosition为top时生效
25
+ */
26
+ labelActions: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ /**
31
+ * @description 是否展开所有
32
+ */
33
+ defaultExpandAll: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ /**
38
+ * @description 添加记录时的默认值
39
+ */
40
+ defaultItemValue: {
41
+ type: PropType<NormalObject | (() => NormalObject)>;
42
+ default: () => {};
43
+ };
44
+ /**
45
+ * @description 保留最后一个不被删除
46
+ */
47
+ keepLast: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ /**
52
+ * @description 是否开启顶部的添加按钮
53
+ */
54
+ topSplicable: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ slots: {
59
+ type: PropType<{
60
+ labelActions?: AnyFunc;
61
+ default?: AnyFunc;
62
+ }>;
63
+ default: () => {};
64
+ };
65
+ required: {
66
+ readonly type: PropType<boolean>;
67
+ readonly required: false;
68
+ readonly validator: ((val: unknown) => boolean) | undefined;
69
+ __epPropKey: true;
70
+ } & {
71
+ readonly default: undefined;
72
+ };
73
+ formItemSize: {
74
+ type: PropType<"default" | "small" | "large">;
75
+ default: "default" | "small" | "large";
76
+ };
77
+ formItemSlots: {
78
+ type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
79
+ default: any;
80
+ };
81
+ elRef: {
82
+ type: PropType<any>;
83
+ required: boolean;
84
+ };
85
+ inline: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ formItemTip: {
90
+ type: StringConstructor;
91
+ default: any;
92
+ };
93
+ formItemTipClass: any;
94
+ labelTip: {
95
+ type: StringConstructor;
96
+ default: any;
97
+ };
98
+ information: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ prop: any;
103
+ defaultModelValue: any;
104
+ label: StringConstructor;
105
+ labelWidth: {
106
+ readonly type: PropType<string | number>;
107
+ readonly required: false;
108
+ readonly validator: ((val: unknown) => boolean) | undefined;
109
+ __epPropKey: true;
110
+ } & {
111
+ readonly default: "";
112
+ };
113
+ labelPosition: {
114
+ readonly type: PropType<"" | "top" | "left" | "right">;
115
+ readonly required: false;
116
+ readonly validator: ((val: unknown) => boolean) | undefined;
117
+ __epPropKey: true;
118
+ } & {
119
+ readonly default: "";
120
+ };
121
+ rules: {
122
+ readonly type: PropType<unknown>;
123
+ readonly required: false;
124
+ readonly validator: ((val: unknown) => boolean) | undefined;
125
+ __epPropKey: true;
126
+ };
127
+ error: StringConstructor;
128
+ validateStatus: {
129
+ readonly type: PropType<"" | "error" | "success" | "validating">;
130
+ readonly required: false;
131
+ readonly validator: ((val: unknown) => boolean) | undefined;
132
+ __epPropKey: true;
133
+ };
134
+ for: StringConstructor;
135
+ inlineMessage: {
136
+ readonly type: PropType<string | boolean>;
137
+ readonly required: false;
138
+ readonly validator: ((val: unknown) => boolean) | undefined;
139
+ __epPropKey: true;
140
+ } & {
141
+ readonly default: "";
142
+ };
143
+ showMessage: {
144
+ readonly type: PropType<boolean>;
145
+ readonly required: false;
146
+ readonly validator: ((val: unknown) => boolean) | undefined;
147
+ __epPropKey: true;
148
+ } & {
149
+ readonly default: true;
150
+ };
151
+ };
152
+ export declare const emits: {
153
+ 'update:modelValue': any;
154
+ };
@@ -0,0 +1,296 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ columns: {
3
+ type: import("vue").PropType<any[]>;
4
+ default: () => any[];
5
+ };
6
+ modelValue: {
7
+ type: import("vue").PropType<import("@vunk/shared").NormalObject[]>;
8
+ default: () => any[];
9
+ };
10
+ readonly: {
11
+ type: BooleanConstructor;
12
+ default: any;
13
+ };
14
+ splicable: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ labelActions: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ defaultExpandAll: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ defaultItemValue: {
27
+ type: import("vue").PropType<import("@vunk/shared").NormalObject | (() => import("@vunk/shared").NormalObject)>;
28
+ default: () => {};
29
+ };
30
+ keepLast: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ topSplicable: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ slots: {
39
+ type: import("vue").PropType<{
40
+ labelActions?: import("@vunk/shared").AnyFunc;
41
+ default?: import("@vunk/shared").AnyFunc;
42
+ }>;
43
+ default: () => {};
44
+ };
45
+ required: {
46
+ readonly type: import("vue").PropType<boolean>;
47
+ readonly required: false;
48
+ readonly validator: ((val: unknown) => boolean) | undefined;
49
+ __epPropKey: true;
50
+ } & {
51
+ readonly default: undefined;
52
+ };
53
+ formItemSize: {
54
+ type: import("vue").PropType<"default" | "small" | "large">;
55
+ default: "default" | "small" | "large";
56
+ };
57
+ formItemSlots: {
58
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
59
+ default: any;
60
+ };
61
+ elRef: {
62
+ type: import("vue").PropType<any>;
63
+ required: boolean;
64
+ };
65
+ inline: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ formItemTip: {
70
+ type: StringConstructor;
71
+ default: any;
72
+ };
73
+ formItemTipClass: any;
74
+ labelTip: {
75
+ type: StringConstructor;
76
+ default: any;
77
+ };
78
+ information: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ prop: any;
83
+ defaultModelValue: any;
84
+ label: StringConstructor;
85
+ labelWidth: {
86
+ readonly type: import("vue").PropType<string | number>;
87
+ readonly required: false;
88
+ readonly validator: ((val: unknown) => boolean) | undefined;
89
+ __epPropKey: true;
90
+ } & {
91
+ readonly default: "";
92
+ };
93
+ labelPosition: {
94
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
95
+ readonly required: false;
96
+ readonly validator: ((val: unknown) => boolean) | undefined;
97
+ __epPropKey: true;
98
+ } & {
99
+ readonly default: "";
100
+ };
101
+ rules: {
102
+ readonly type: import("vue").PropType<unknown>;
103
+ readonly required: false;
104
+ readonly validator: ((val: unknown) => boolean) | undefined;
105
+ __epPropKey: true;
106
+ };
107
+ error: StringConstructor;
108
+ validateStatus: {
109
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
110
+ readonly required: false;
111
+ readonly validator: ((val: unknown) => boolean) | undefined;
112
+ __epPropKey: true;
113
+ };
114
+ for: StringConstructor;
115
+ inlineMessage: {
116
+ readonly type: import("vue").PropType<string | boolean>;
117
+ readonly required: false;
118
+ readonly validator: ((val: unknown) => boolean) | undefined;
119
+ __epPropKey: true;
120
+ } & {
121
+ readonly default: "";
122
+ };
123
+ showMessage: {
124
+ readonly type: import("vue").PropType<boolean>;
125
+ readonly required: false;
126
+ readonly validator: ((val: unknown) => boolean) | undefined;
127
+ __epPropKey: true;
128
+ } & {
129
+ readonly default: true;
130
+ };
131
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
132
+ [key: string]: any;
133
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
134
+ 'update:modelValue': any;
135
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
136
+ columns: {
137
+ type: import("vue").PropType<any[]>;
138
+ default: () => any[];
139
+ };
140
+ modelValue: {
141
+ type: import("vue").PropType<import("@vunk/shared").NormalObject[]>;
142
+ default: () => any[];
143
+ };
144
+ readonly: {
145
+ type: BooleanConstructor;
146
+ default: any;
147
+ };
148
+ splicable: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ labelActions: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ defaultExpandAll: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ defaultItemValue: {
161
+ type: import("vue").PropType<import("@vunk/shared").NormalObject | (() => import("@vunk/shared").NormalObject)>;
162
+ default: () => {};
163
+ };
164
+ keepLast: {
165
+ type: BooleanConstructor;
166
+ default: boolean;
167
+ };
168
+ topSplicable: {
169
+ type: BooleanConstructor;
170
+ default: boolean;
171
+ };
172
+ slots: {
173
+ type: import("vue").PropType<{
174
+ labelActions?: import("@vunk/shared").AnyFunc;
175
+ default?: import("@vunk/shared").AnyFunc;
176
+ }>;
177
+ default: () => {};
178
+ };
179
+ required: {
180
+ readonly type: import("vue").PropType<boolean>;
181
+ readonly required: false;
182
+ readonly validator: ((val: unknown) => boolean) | undefined;
183
+ __epPropKey: true;
184
+ } & {
185
+ readonly default: undefined;
186
+ };
187
+ formItemSize: {
188
+ type: import("vue").PropType<"default" | "small" | "large">;
189
+ default: "default" | "small" | "large";
190
+ };
191
+ formItemSlots: {
192
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
193
+ default: any;
194
+ };
195
+ elRef: {
196
+ type: import("vue").PropType<any>;
197
+ required: boolean;
198
+ };
199
+ inline: {
200
+ type: BooleanConstructor;
201
+ default: boolean;
202
+ };
203
+ formItemTip: {
204
+ type: StringConstructor;
205
+ default: any;
206
+ };
207
+ formItemTipClass: any;
208
+ labelTip: {
209
+ type: StringConstructor;
210
+ default: any;
211
+ };
212
+ information: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
216
+ prop: any;
217
+ defaultModelValue: any;
218
+ label: StringConstructor;
219
+ labelWidth: {
220
+ readonly type: import("vue").PropType<string | number>;
221
+ readonly required: false;
222
+ readonly validator: ((val: unknown) => boolean) | undefined;
223
+ __epPropKey: true;
224
+ } & {
225
+ readonly default: "";
226
+ };
227
+ labelPosition: {
228
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
229
+ readonly required: false;
230
+ readonly validator: ((val: unknown) => boolean) | undefined;
231
+ __epPropKey: true;
232
+ } & {
233
+ readonly default: "";
234
+ };
235
+ rules: {
236
+ readonly type: import("vue").PropType<unknown>;
237
+ readonly required: false;
238
+ readonly validator: ((val: unknown) => boolean) | undefined;
239
+ __epPropKey: true;
240
+ };
241
+ error: StringConstructor;
242
+ validateStatus: {
243
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
244
+ readonly required: false;
245
+ readonly validator: ((val: unknown) => boolean) | undefined;
246
+ __epPropKey: true;
247
+ };
248
+ for: StringConstructor;
249
+ inlineMessage: {
250
+ readonly type: import("vue").PropType<string | boolean>;
251
+ readonly required: false;
252
+ readonly validator: ((val: unknown) => boolean) | undefined;
253
+ __epPropKey: true;
254
+ } & {
255
+ readonly default: "";
256
+ };
257
+ showMessage: {
258
+ readonly type: import("vue").PropType<boolean>;
259
+ readonly required: false;
260
+ readonly validator: ((val: unknown) => boolean) | undefined;
261
+ __epPropKey: true;
262
+ } & {
263
+ readonly default: true;
264
+ };
265
+ }>> & Readonly<{
266
+ "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
267
+ }>, {
268
+ required: boolean;
269
+ formItemSize: "default" | "small" | "large";
270
+ formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
271
+ inline: boolean;
272
+ readonly: boolean;
273
+ formItemTip: string;
274
+ formItemTipClass: any;
275
+ labelTip: string;
276
+ information: boolean;
277
+ prop: any;
278
+ defaultModelValue: any;
279
+ labelWidth: string | number;
280
+ labelPosition: "" | "top" | "left" | "right";
281
+ inlineMessage: string | boolean;
282
+ showMessage: boolean;
283
+ slots: {
284
+ labelActions?: import("@vunk/shared").AnyFunc;
285
+ default?: import("@vunk/shared").AnyFunc;
286
+ };
287
+ modelValue: import("@vunk/shared").NormalObject[];
288
+ columns: any[];
289
+ defaultExpandAll: boolean;
290
+ labelActions: boolean;
291
+ splicable: boolean;
292
+ defaultItemValue: {};
293
+ keepLast: boolean;
294
+ topSplicable: boolean;
295
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
296
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import type { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
2
+ import type { BasicSource } from '@vunk/form/shared';
3
+ import type { __VkTableColumns } from '@vunk/plus/components/table-columns';
4
+ import type { AnyFunc, Keyof, NormalObject, VueComponentPropsType } from '@vunk/shared';
5
+ import type { TableColumnCtx } from 'element-plus';
6
+ import type Core from './index.vue';
7
+ import type { __VkfInformationCollection } from '@vunk/form/components/information-collection';
8
+ export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
9
+ prop?: P;
10
+ templateType: 'VkfInputCollection';
11
+ informationProps?: Partial<__VkfInformationCollection.ComponentProps>;
12
+ }
13
+ export type Column<R extends NormalObject = NormalObject, SourceType extends NormalObject = __VkfTemplatesDefault.CoreSource<Keyof<R>>> = Omit<__VkTableColumns.Source<R>, 'slots'> & {
14
+ templateType: SourceType['templateType'];
15
+ templateProps?: Partial<SourceType> | AnyFunc;
16
+ expandVisible?: boolean;
17
+ createTemplateProps?: (columnSlotEvent: {
18
+ row: R;
19
+ column: TableColumnCtx<R>;
20
+ $index: number;
21
+ }, formItemProps: {
22
+ prop: Array<string | number>;
23
+ readonly: boolean;
24
+ }, innerContext: {
25
+ addExpandRowKey: (rowKey: string) => void;
26
+ removeExpandRowKey: (rowKey: string) => void;
27
+ getExpandRowKeys: () => string[];
28
+ }) => Partial<SourceType>;
29
+ };
@@ -0,0 +1,5 @@
1
+ import VkfInputFile from './src/index.vue';
2
+ import VkfInputFileTemplate from './src/template.vue';
3
+ export * as __VkfInputFile from './src/types';
4
+ export { VkfInputFile, VkfInputFileTemplate, };
5
+ export default VkfInputFile;
@@ -0,0 +1,46 @@
1
+ import { PropType } from 'vue';
2
+ export declare const props: {
3
+ modelValue: {
4
+ type: PropType<File | File[] | undefined>;
5
+ default: any;
6
+ };
7
+ multiple: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ accept: {
12
+ readonly type: PropType<string>;
13
+ readonly required: false;
14
+ readonly validator: ((val: unknown) => boolean) | undefined;
15
+ __epPropKey: true;
16
+ } & {
17
+ readonly default: "";
18
+ };
19
+ disabled: BooleanConstructor;
20
+ limit: NumberConstructor;
21
+ listType: {
22
+ readonly type: PropType<"text" | "picture" | "picture-card">;
23
+ readonly required: false;
24
+ readonly validator: ((val: unknown) => boolean) | undefined;
25
+ __epPropKey: true;
26
+ } & {
27
+ readonly default: "text";
28
+ };
29
+ tip: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ showFileList: {
34
+ readonly type: PropType<boolean>;
35
+ readonly required: false;
36
+ readonly validator: ((val: unknown) => boolean) | undefined;
37
+ __epPropKey: true;
38
+ } & {
39
+ readonly default: true;
40
+ };
41
+ drag: BooleanConstructor;
42
+ slots: any;
43
+ };
44
+ export declare const emits: {
45
+ 'update:modelValue': any;
46
+ };
@@ -0,0 +1,112 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ modelValue: {
3
+ type: import("vue").PropType<File | File[] | undefined>;
4
+ default: any;
5
+ };
6
+ multiple: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ accept: {
11
+ readonly type: import("vue").PropType<string>;
12
+ readonly required: false;
13
+ readonly validator: ((val: unknown) => boolean) | undefined;
14
+ __epPropKey: true;
15
+ } & {
16
+ readonly default: "";
17
+ };
18
+ disabled: BooleanConstructor;
19
+ limit: NumberConstructor;
20
+ listType: {
21
+ readonly type: import("vue").PropType<"text" | "picture" | "picture-card">;
22
+ readonly required: false;
23
+ readonly validator: ((val: unknown) => boolean) | undefined;
24
+ __epPropKey: true;
25
+ } & {
26
+ readonly default: "text";
27
+ };
28
+ tip: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ showFileList: {
33
+ readonly type: import("vue").PropType<boolean>;
34
+ readonly required: false;
35
+ readonly validator: ((val: unknown) => boolean) | undefined;
36
+ __epPropKey: true;
37
+ } & {
38
+ readonly default: true;
39
+ };
40
+ drag: BooleanConstructor;
41
+ slots: any;
42
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
+ [key: string]: any;
44
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
+ 'update:modelValue': any;
46
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
47
+ modelValue: {
48
+ type: import("vue").PropType<File | File[] | undefined>;
49
+ default: any;
50
+ };
51
+ multiple: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ accept: {
56
+ readonly type: import("vue").PropType<string>;
57
+ readonly required: false;
58
+ readonly validator: ((val: unknown) => boolean) | undefined;
59
+ __epPropKey: true;
60
+ } & {
61
+ readonly default: "";
62
+ };
63
+ disabled: BooleanConstructor;
64
+ limit: NumberConstructor;
65
+ listType: {
66
+ readonly type: import("vue").PropType<"text" | "picture" | "picture-card">;
67
+ readonly required: false;
68
+ readonly validator: ((val: unknown) => boolean) | undefined;
69
+ __epPropKey: true;
70
+ } & {
71
+ readonly default: "text";
72
+ };
73
+ tip: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ showFileList: {
78
+ readonly type: import("vue").PropType<boolean>;
79
+ readonly required: false;
80
+ readonly validator: ((val: unknown) => boolean) | undefined;
81
+ __epPropKey: true;
82
+ } & {
83
+ readonly default: true;
84
+ };
85
+ drag: BooleanConstructor;
86
+ slots: any;
87
+ }>> & Readonly<{
88
+ "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
89
+ }>, {
90
+ disabled: boolean;
91
+ slots: any;
92
+ modelValue: File | File[];
93
+ multiple: boolean;
94
+ drag: boolean;
95
+ showFileList: boolean;
96
+ accept: string;
97
+ listType: "text" | "picture" | "picture-card";
98
+ tip: string;
99
+ }, {}, {
100
+ VkfUpload: {
101
+ new (...args: any[]): any;
102
+ __isFragment?: never;
103
+ __isTeleport?: never;
104
+ __isSuspense?: never;
105
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
106
+ [x: string]: any;
107
+ [x: symbol]: any;
108
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
109
+ install(app: import("vue").App): void;
110
+ };
111
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
112
+ export default _default;