@vunk/form 1.4.5 → 1.4.6

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 (173) hide show
  1. package/components/button/index.d.ts +4 -0
  2. package/components/button/src/ctx.d.ts +96 -0
  3. package/components/button/src/index.vue.d.ts +462 -0
  4. package/components/button/src/types.d.ts +13 -0
  5. package/components/cascader/index.d.ts +6 -0
  6. package/components/cascader/src/ctx.d.ts +131 -0
  7. package/components/cascader/src/index.vue.d.ts +334 -0
  8. package/components/cascader/src/types.d.ts +7 -0
  9. package/components/cascader/src/use.d.ts +5 -0
  10. package/components/checkbox/index.cjs +4 -4
  11. package/components/checkbox/index.d.ts +5 -0
  12. package/components/checkbox/index.mjs +4 -4
  13. package/components/checkbox/src/ctx.d.ts +89 -0
  14. package/components/checkbox/src/index.vue.d.ts +1114 -0
  15. package/components/checkbox/src/types.d.ts +8 -0
  16. package/components/color-picker/index.cjs +1 -1
  17. package/components/color-picker/index.d.ts +4 -0
  18. package/components/color-picker/index.mjs +1 -1
  19. package/components/color-picker/src/ctx.d.ts +80 -0
  20. package/components/color-picker/src/index.vue.d.ts +191 -0
  21. package/components/color-picker/src/types.d.ts +7 -0
  22. package/components/date-picker/index.cjs +1 -2
  23. package/components/date-picker/index.d.ts +5 -0
  24. package/components/date-picker/index.mjs +1 -2
  25. package/components/date-picker/src/ctx.d.ts +166 -0
  26. package/components/date-picker/src/index.vue.d.ts +626 -0
  27. package/components/date-picker/src/types.d.ts +20 -0
  28. package/components/date-picker-range/index.d.ts +4 -0
  29. package/components/date-picker-range/src/ctx.d.ts +185 -0
  30. package/components/date-picker-range/src/index.vue.d.ts +428 -0
  31. package/components/date-picker-range/src/types.d.ts +12 -0
  32. package/components/download-plus/index.d.ts +4 -0
  33. package/components/download-plus/src/api.d.ts +13 -0
  34. package/components/download-plus/src/const.d.ts +9 -0
  35. package/components/download-plus/src/ctx.d.ts +84 -0
  36. package/components/download-plus/src/index.vue.d.ts +955 -0
  37. package/components/download-plus/src/types.d.ts +17 -0
  38. package/components/esri-input-geojson/index.d.ts +6 -0
  39. package/components/esri-input-geojson/src/append.vue.d.ts +828 -0
  40. package/components/esri-input-geojson/src/const.d.ts +12 -0
  41. package/components/esri-input-geojson/src/ctx.d.ts +229 -0
  42. package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
  43. package/components/esri-input-geojson/src/index.vue.d.ts +1261 -0
  44. package/components/esri-input-geojson/src/types.d.ts +22 -0
  45. package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
  46. package/components/form/index.d.ts +5 -0
  47. package/components/form/src/ctx.d.ts +84 -0
  48. package/components/form/src/index.vue.d.ts +726 -0
  49. package/components/form/src/types.d.ts +12 -0
  50. package/components/form/src/utils.d.ts +15 -0
  51. package/components/form-item/index.d.ts +5 -0
  52. package/components/form-item/src/ctx.d.ts +62 -0
  53. package/components/form-item/src/index.vue.d.ts +303 -0
  54. package/components/form-item/src/types.d.ts +6 -0
  55. package/components/form-item-renderer/index.d.ts +5 -0
  56. package/components/form-item-renderer/src/ctx.d.ts +16 -0
  57. package/components/form-item-renderer/src/index.vue.d.ts +38 -0
  58. package/components/form-item-renderer/src/symbols.d.ts +3 -0
  59. package/components/form-item-renderer/src/types.d.ts +8 -0
  60. package/components/form-item-renderer-template/index.d.ts +4 -0
  61. package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
  62. package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
  63. package/components/form-item-renderer-template/src/types.d.ts +1 -0
  64. package/components/geoinput/index.d.ts +4 -0
  65. package/components/geoinput/src/ctx.d.ts +234 -0
  66. package/components/geoinput/src/index.vue.d.ts +531 -0
  67. package/components/geoinput/src/types.d.ts +12 -0
  68. package/components/geoinput-read/index.d.ts +5 -0
  69. package/components/geoinput-read/src/append.vue.d.ts +341 -0
  70. package/components/geoinput-read/src/core.vue.d.ts +649 -0
  71. package/components/geoinput-read/src/ctx.d.ts +205 -0
  72. package/components/geoinput-read/src/index.vue.d.ts +1186 -0
  73. package/components/geoinput-read/src/types.d.ts +3 -0
  74. package/components/geoinput-update/index.d.ts +5 -0
  75. package/components/geoinput-update/src/append.vue.d.ts +815 -0
  76. package/components/geoinput-update/src/ctx.d.ts +213 -0
  77. package/components/geoinput-update/src/index.vue.d.ts +1125 -0
  78. package/components/geoinput-update/src/types.d.ts +6 -0
  79. package/components/input/index.cjs +3 -3
  80. package/components/input/index.d.ts +5 -0
  81. package/components/input/index.mjs +3 -3
  82. package/components/input/src/ctx.d.ts +154 -0
  83. package/components/input/src/index.vue.d.ts +792 -0
  84. package/components/input/src/types.d.ts +13 -0
  85. package/components/input-collection/index.d.ts +4 -0
  86. package/components/input-collection/src/ctx.d.ts +72 -0
  87. package/components/input-collection/src/index.vue.d.ts +1093 -0
  88. package/components/input-collection/src/types.d.ts +19 -0
  89. package/components/input-link/index.d.ts +4 -0
  90. package/components/input-link/src/ctx.d.ts +185 -0
  91. package/components/input-link/src/index.vue.d.ts +397 -0
  92. package/components/input-link/src/types.d.ts +7 -0
  93. package/components/input-number/index.cjs +4 -4
  94. package/components/input-number/index.d.ts +4 -0
  95. package/components/input-number/index.mjs +4 -4
  96. package/components/input-number/src/ctx.d.ts +90 -0
  97. package/components/input-number/src/index.vue.d.ts +407 -0
  98. package/components/input-number/src/types.d.ts +8 -0
  99. package/components/monaco-editor/index.d.ts +4 -0
  100. package/components/monaco-editor/src/ctx.d.ts +70 -0
  101. package/components/monaco-editor/src/index.vue.d.ts +209 -0
  102. package/components/monaco-editor/src/types.d.ts +7 -0
  103. package/components/radio/index.cjs +1 -1
  104. package/components/radio/index.d.ts +4 -0
  105. package/components/radio/index.mjs +1 -1
  106. package/components/radio/src/ctx.d.ts +82 -0
  107. package/components/radio/src/index.vue.d.ts +643 -0
  108. package/components/radio/src/types.d.ts +8 -0
  109. package/components/select/index.d.ts +4 -0
  110. package/components/select/src/ctx.d.ts +156 -0
  111. package/components/select/src/index.vue.d.ts +561 -0
  112. package/components/select/src/types.d.ts +11 -0
  113. package/components/slider/index.d.ts +4 -0
  114. package/components/slider/src/ctx.d.ts +127 -0
  115. package/components/slider/src/index.vue.d.ts +339 -0
  116. package/components/slider/src/types.d.ts +7 -0
  117. package/components/switch/index.cjs +6 -7
  118. package/components/switch/index.d.ts +4 -0
  119. package/components/switch/index.mjs +6 -7
  120. package/components/switch/src/ctx.d.ts +114 -0
  121. package/components/switch/src/index.vue.d.ts +535 -0
  122. package/components/switch/src/types.d.ts +8 -0
  123. package/components/template-instances-provider/index.d.ts +3 -0
  124. package/components/template-instances-provider/src/index.vue.d.ts +4 -0
  125. package/components/templates-default/index.d.ts +4 -0
  126. package/components/templates-default/src/ctx.d.ts +19 -0
  127. package/components/templates-default/src/index.vue.d.ts +178 -0
  128. package/components/templates-default/src/types.d.ts +53 -0
  129. package/components/templates-element-plus/index.d.ts +4 -0
  130. package/components/templates-element-plus/src/ctx.d.ts +9 -0
  131. package/components/templates-element-plus/src/index.vue.d.ts +154 -0
  132. package/components/templates-element-plus/src/types.d.ts +13 -0
  133. package/components/templates-esri/index.d.ts +4 -0
  134. package/components/templates-esri/src/ctx.d.ts +11 -0
  135. package/components/templates-esri/src/index.vue.d.ts +43 -0
  136. package/components/templates-esri/src/types.d.ts +2 -0
  137. package/components/templates-layout/index.d.ts +4 -0
  138. package/components/templates-layout/src/ctx.d.ts +9 -0
  139. package/components/templates-layout/src/index.vue.d.ts +173 -0
  140. package/components/templates-layout/src/types.d.ts +32 -0
  141. package/components/templates-mapbox/index.d.ts +4 -0
  142. package/components/templates-mapbox/src/ctx.d.ts +11 -0
  143. package/components/templates-mapbox/src/index.vue.d.ts +43 -0
  144. package/components/templates-mapbox/src/types.d.ts +3 -0
  145. package/components/templates-variant/index.d.ts +4 -0
  146. package/components/templates-variant/src/ctx.d.ts +11 -0
  147. package/components/templates-variant/src/index.vue.d.ts +43 -0
  148. package/components/templates-variant/src/types.d.ts +2 -0
  149. package/components/upload/index.d.ts +5 -0
  150. package/components/upload/src/ctx.d.ts +180 -0
  151. package/components/upload/src/file.vue.d.ts +306 -0
  152. package/components/upload/src/index.vue.d.ts +1282 -0
  153. package/components/upload/src/types.d.ts +12 -0
  154. package/components/upload-plus/index.d.ts +6 -0
  155. package/components/upload-plus/src/api.d.ts +38 -0
  156. package/components/upload-plus/src/const.d.ts +9 -0
  157. package/components/upload-plus/src/ctx.d.ts +103 -0
  158. package/components/upload-plus/src/index.vue.d.ts +1005 -0
  159. package/components/upload-plus/src/types.d.ts +32 -0
  160. package/components/van-cascader/index.d.ts +4 -0
  161. package/components/van-cascader/src/ctx.d.ts +129 -0
  162. package/components/van-cascader/src/index.vue.d.ts +3324 -0
  163. package/components/van-cascader/src/types.d.ts +1 -0
  164. package/components/var-datetime-picker/index.d.ts +4 -0
  165. package/components/var-datetime-picker/src/const.d.ts +10 -0
  166. package/components/var-datetime-picker/src/ctx.d.ts +67 -0
  167. package/components/var-datetime-picker/src/index.vue.d.ts +716 -0
  168. package/components/var-datetime-picker/src/types.d.ts +22 -0
  169. package/components/vditor/index.d.ts +4 -0
  170. package/components/vditor/src/ctx.d.ts +77 -0
  171. package/components/vditor/src/index.vue.d.ts +324 -0
  172. package/components/vditor/src/types.d.ts +7 -0
  173. package/package.json +1 -1
@@ -0,0 +1,178 @@
1
+ import { CoreSource } from './types';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ data: {
4
+ type: import("vue").PropType<Record<string, any>>;
5
+ default: () => {};
6
+ };
7
+ createIntoUndefined: {
8
+ type: import("vue").PropType<import("./types").CreateIntoUndefined>;
9
+ default: (arg: {
10
+ raw: any;
11
+ data: Record<string, any>;
12
+ }) => import("@vunk/core").IntoUndefined;
13
+ };
14
+ }>, {
15
+ pickObject: <T extends import("@vunk/core").NormalObject, EX extends (keyof T)[], KI extends keyof T>(data: T, opts?: {
16
+ excludes?: EX;
17
+ includes?: KI[];
18
+ }) => { [P in EX extends (infer KE)[] ? Exclude<KI, KE> : KI]: T[P]; };
19
+ getFormDataValue: (raw: CoreSource) => any;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ data: {
24
+ type: import("vue").PropType<Record<string, any>>;
25
+ default: () => {};
26
+ };
27
+ createIntoUndefined: {
28
+ type: import("vue").PropType<import("./types").CreateIntoUndefined>;
29
+ default: (arg: {
30
+ raw: any;
31
+ data: Record<string, any>;
32
+ }) => import("@vunk/core").IntoUndefined;
33
+ };
34
+ }>> & Readonly<{
35
+ onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
36
+ }>, {
37
+ data: Record<string, any>;
38
+ createIntoUndefined: (arg: {
39
+ raw: any;
40
+ data: Record<string, any>;
41
+ }) => import("@vunk/core").IntoUndefined;
42
+ }, {}, {
43
+ VkfFormItemRendererTemplate: {
44
+ new (...args: any[]): any;
45
+ __isFragment?: never;
46
+ __isTeleport?: never;
47
+ __isSuspense?: never;
48
+ } & 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, {
49
+ [x: string]: any;
50
+ [x: symbol]: any;
51
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
52
+ install(app: import("vue").App): void;
53
+ };
54
+ VkfInput: {
55
+ new (...args: any[]): any;
56
+ __isFragment?: never;
57
+ __isTeleport?: never;
58
+ __isSuspense?: never;
59
+ } & 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, {
60
+ [x: string]: any;
61
+ [x: symbol]: any;
62
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
63
+ install(app: import("vue").App): void;
64
+ };
65
+ VkfSwitch: {
66
+ new (...args: any[]): any;
67
+ __isFragment?: never;
68
+ __isTeleport?: never;
69
+ __isSuspense?: never;
70
+ } & 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, {
71
+ [x: string]: any;
72
+ [x: symbol]: any;
73
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
74
+ install(app: import("vue").App): void;
75
+ };
76
+ VkfSelect: {
77
+ new (...args: any[]): any;
78
+ __isFragment?: never;
79
+ __isTeleport?: never;
80
+ __isSuspense?: never;
81
+ } & 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, {
82
+ [x: string]: any;
83
+ [x: symbol]: any;
84
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
85
+ install(app: import("vue").App): void;
86
+ };
87
+ VkfDatePicker: {
88
+ new (...args: any[]): any;
89
+ __isFragment?: never;
90
+ __isTeleport?: never;
91
+ __isSuspense?: never;
92
+ } & 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, {
93
+ [x: string]: any;
94
+ [x: symbol]: any;
95
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
96
+ install(app: import("vue").App): void;
97
+ };
98
+ VkfInputNumber: {
99
+ new (...args: any[]): any;
100
+ __isFragment?: never;
101
+ __isTeleport?: never;
102
+ __isSuspense?: never;
103
+ } & 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, {
104
+ [x: string]: any;
105
+ [x: symbol]: any;
106
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
107
+ install(app: import("vue").App): void;
108
+ };
109
+ VkfRadio: {
110
+ new (...args: any[]): any;
111
+ __isFragment?: never;
112
+ __isTeleport?: never;
113
+ __isSuspense?: never;
114
+ } & 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, {
115
+ [x: string]: any;
116
+ [x: symbol]: any;
117
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
118
+ install(app: import("vue").App): void;
119
+ };
120
+ VkfCheckbox: {
121
+ new (...args: any[]): any;
122
+ __isFragment?: never;
123
+ __isTeleport?: never;
124
+ __isSuspense?: never;
125
+ } & 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, {
126
+ [x: string]: any;
127
+ [x: symbol]: any;
128
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
129
+ install(app: import("vue").App): void;
130
+ };
131
+ VkfUpload: {
132
+ new (...args: any[]): any;
133
+ __isFragment?: never;
134
+ __isTeleport?: never;
135
+ __isSuspense?: never;
136
+ } & 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, {
137
+ [x: string]: any;
138
+ [x: symbol]: any;
139
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
140
+ install(app: import("vue").App): void;
141
+ };
142
+ VkfColorPicker: {
143
+ new (...args: any[]): any;
144
+ __isFragment?: never;
145
+ __isTeleport?: never;
146
+ __isSuspense?: never;
147
+ } & 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, {
148
+ [x: string]: any;
149
+ [x: symbol]: any;
150
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
151
+ install(app: import("vue").App): void;
152
+ };
153
+ VkfButton: {
154
+ new (...args: any[]): any;
155
+ __isFragment?: never;
156
+ __isTeleport?: never;
157
+ __isSuspense?: never;
158
+ } & 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, {
159
+ [x: string]: any;
160
+ [x: symbol]: any;
161
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
162
+ install(app: import("vue").App): void;
163
+ };
164
+ VkfCascader: never;
165
+ VkfInputLink: never;
166
+ VkfSlider: {
167
+ new (...args: any[]): any;
168
+ __isFragment?: never;
169
+ __isTeleport?: never;
170
+ __isSuspense?: never;
171
+ } & 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, {
172
+ [x: string]: any;
173
+ [x: symbol]: any;
174
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
175
+ install(app: import("vue").App): void;
176
+ };
177
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
178
+ export default _default;
@@ -0,0 +1,53 @@
1
+ import { BasicSource } from '@vunk/form/shared';
2
+ import { __VkfButton } from '@vunk/form/components/button';
3
+ import { __VkfInput } from '@vunk/form/components/input';
4
+ import { __VkfDatePicker } from '@vunk/form/components/date-picker';
5
+ import { __VkfSelect } from '@vunk/form/components/select';
6
+ import { __VkfSwitch } from '@vunk/form/components/switch';
7
+ import { __VkfInputNumber } from '@vunk/form/components/input-number';
8
+ import { __VkfRadio } from '@vunk/form/components/radio';
9
+ import { __VkfCheckbox } from '@vunk/form/components/checkbox';
10
+ import { __VkfUpload } from '@vunk/form/components/upload';
11
+ import { __VkfColorPicker } from '@vunk/form/components/color-picker';
12
+ import { __VkfCascader } from '@vunk/form/components/cascader';
13
+ import { __VkfInputLink } from '@vunk/form/components/input-link';
14
+ import { __VkfSlider } from '@vunk/form/components/slider';
15
+ import { IntoUndefined, Func } from '@vunk/core';
16
+ export type VkfButtonSource<P extends string = string> = __VkfButton.Source<P>;
17
+ export type VkfInputSource<P extends string = string> = __VkfInput.Source<P>;
18
+ export type VkfDatePickerSource<P extends string = string> = __VkfDatePicker.Source<P>;
19
+ export type VkfSelectSource<P extends string = string> = __VkfSelect.Source<P>;
20
+ export type VkfSwitchSource<P extends string = string> = __VkfSwitch.Source<P>;
21
+ export type VkfInputNumberSource<P extends string = string> = __VkfInputNumber.Source<P>;
22
+ export type VkfRadioSource<P extends string = string> = __VkfRadio.Source<P>;
23
+ export type VkfCheckboxSource<P extends string = string> = __VkfCheckbox.Source<P>;
24
+ export type VkfUploadSource<P extends string = string> = __VkfUpload.Source<P>;
25
+ export type VkfColorPickerSource<P extends string = string> = __VkfColorPicker.Source<P>;
26
+ export type VkfCascaderSource<P extends string = string> = __VkfCascader.Source<P>;
27
+ export type VkfInputLinkSource<P extends string = string> = __VkfInputLink.Source<P>;
28
+ export type VkfSliderSource<P extends string = string> = __VkfSlider.Source<P>;
29
+ export interface ComponentSource extends BasicSource {
30
+ templateType: 'Component';
31
+ is: any;
32
+ }
33
+ export type CoreSource<P extends string = string> = VkfInputSource<P> | VkfSwitchSource<P> | VkfSelectSource<P> | VkfDatePickerSource<P> | VkfInputNumberSource<P> | VkfRadioSource<P> | VkfCheckboxSource<P> | VkfUploadSource<P> | VkfColorPickerSource<P> | VkfButtonSource<P> | VkfCascaderSource<P> | VkfInputLinkSource<P> | VkfSliderSource<P>;
34
+ export type Source<P extends string = string> = CoreSource<P> | ComponentSource;
35
+ /**
36
+ * @example
37
+ * ```ts
38
+ * const createIntoUndefined = ({ raw }) => {
39
+ * const objectFields = ['rules']
40
+ * const isObjectFields = objectFields.includes(raw.prop)
41
+ * return (currentData, currentK) => {
42
+ * )
43
+ * if (isObjectFields) {
44
+ * currentData[currentK] = {}
45
+ * }
46
+ * }
47
+ * }
48
+ * ```
49
+ */
50
+ export type CreateIntoUndefined = Func<{
51
+ raw: any;
52
+ data: Record<string, any>;
53
+ }, IntoUndefined>;
@@ -0,0 +1,4 @@
1
+ import VkfTemplatesElementPlus from './src/index.vue';
2
+ export * as __VkfTemplatesElementPlus from './src/types';
3
+ export { VkfTemplatesElementPlus, };
4
+ export default VkfTemplatesElementPlus;
@@ -0,0 +1,9 @@
1
+ import { NormalObject } from '@vunk/core';
2
+ import { PropType } from 'vue';
3
+ export declare const props: {
4
+ data: {
5
+ type: PropType<NormalObject>;
6
+ default: () => {};
7
+ };
8
+ };
9
+ export declare const emits: {};
@@ -0,0 +1,154 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ data: {
3
+ type: import("vue").PropType<import("@vunk/core").NormalObject>;
4
+ default: () => {};
5
+ };
6
+ }>, {
7
+ pickObject: <T extends import("@vunk/core").NormalObject, EX extends (keyof T)[], KI extends keyof T>(data: T, opts?: {
8
+ excludes?: EX;
9
+ includes?: KI[];
10
+ }) => { [P in EX extends (infer KE)[] ? Exclude<KI, KE> : KI]: T[P]; };
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ data: {
13
+ type: import("vue").PropType<import("@vunk/core").NormalObject>;
14
+ default: () => {};
15
+ };
16
+ }>> & Readonly<{}>, {
17
+ data: import("@vunk/core").NormalObject;
18
+ }, {}, {
19
+ VkfFormItemRendererTemplate: {
20
+ new (...args: any[]): any;
21
+ __isFragment?: never;
22
+ __isTeleport?: never;
23
+ __isSuspense?: never;
24
+ } & 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, {
25
+ [x: string]: any;
26
+ [x: symbol]: any;
27
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
28
+ install(app: import("vue").App): void;
29
+ };
30
+ ElLink: import("element-plus/es/utils").SFCWithInstall<{
31
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
32
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "default", boolean>;
33
+ readonly underline: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
34
+ readonly disabled: BooleanConstructor;
35
+ readonly href: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
36
+ readonly target: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "_self", boolean>;
37
+ readonly icon: {
38
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
39
+ readonly required: false;
40
+ readonly validator: ((val: unknown) => boolean) | undefined;
41
+ __epPropKey: true;
42
+ };
43
+ }>> & {
44
+ onClick?: ((evt: MouseEvent) => any) | undefined;
45
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
+ click: (evt: MouseEvent) => void;
47
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
48
+ readonly disabled: boolean;
49
+ readonly underline: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
50
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
51
+ readonly target: string;
52
+ readonly href: string;
53
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
54
+ P: {};
55
+ B: {};
56
+ D: {};
57
+ C: {};
58
+ M: {};
59
+ Defaults: {};
60
+ }, Readonly<import("vue").ExtractPropTypes<{
61
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "default", boolean>;
62
+ readonly underline: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
63
+ readonly disabled: BooleanConstructor;
64
+ readonly href: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
65
+ readonly target: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "_self", boolean>;
66
+ readonly icon: {
67
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
68
+ readonly required: false;
69
+ readonly validator: ((val: unknown) => boolean) | undefined;
70
+ __epPropKey: true;
71
+ };
72
+ }>> & {
73
+ onClick?: ((evt: MouseEvent) => any) | undefined;
74
+ }, {}, {}, {}, {}, {
75
+ readonly disabled: boolean;
76
+ readonly underline: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
77
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
78
+ readonly target: string;
79
+ readonly href: string;
80
+ }>;
81
+ __isFragment?: never;
82
+ __isTeleport?: never;
83
+ __isSuspense?: never;
84
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
85
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "default", boolean>;
86
+ readonly underline: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
87
+ readonly disabled: BooleanConstructor;
88
+ readonly href: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
89
+ readonly target: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "_self", boolean>;
90
+ readonly icon: {
91
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
92
+ readonly required: false;
93
+ readonly validator: ((val: unknown) => boolean) | undefined;
94
+ __epPropKey: true;
95
+ };
96
+ }>> & {
97
+ onClick?: ((evt: MouseEvent) => any) | undefined;
98
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
+ click: (evt: MouseEvent) => void;
100
+ }, string, {
101
+ readonly disabled: boolean;
102
+ readonly underline: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
103
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
104
+ readonly target: string;
105
+ readonly href: string;
106
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
107
+ $slots: {
108
+ default?(_: {}): any;
109
+ icon?(_: {}): any;
110
+ };
111
+ })>;
112
+ ElDivider: import("element-plus/es/utils").SFCWithInstall<{
113
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
114
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
115
+ readonly contentPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
116
+ readonly borderStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
117
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
118
+ readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
119
+ readonly borderStyle: string;
120
+ readonly contentPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
121
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
122
+ P: {};
123
+ B: {};
124
+ D: {};
125
+ C: {};
126
+ M: {};
127
+ Defaults: {};
128
+ }, Readonly<import("vue").ExtractPropTypes<{
129
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
130
+ readonly contentPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
131
+ readonly borderStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
132
+ }>>, {}, {}, {}, {}, {
133
+ readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
134
+ readonly borderStyle: string;
135
+ readonly contentPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
136
+ }>;
137
+ __isFragment?: never;
138
+ __isTeleport?: never;
139
+ __isSuspense?: never;
140
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
141
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
142
+ readonly contentPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
143
+ readonly borderStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
144
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
145
+ readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
146
+ readonly borderStyle: string;
147
+ readonly contentPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
148
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
149
+ $slots: {
150
+ default?(_: {}): any;
151
+ };
152
+ })>;
153
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
154
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { ElDivider, ElLink } from 'element-plus';
2
+ import { VueComponentPropsType } from '@vunk/core';
3
+ import { BasicSource } from '@vunk/form/shared';
4
+ export interface ElDividerSource extends VueComponentPropsType<typeof ElDivider>, BasicSource {
5
+ templateType: 'ElDivider';
6
+ label: string;
7
+ }
8
+ export interface ElLinkSource extends VueComponentPropsType<typeof ElLink>, BasicSource {
9
+ templateType: 'ElLink';
10
+ label: string;
11
+ target?: '_blank';
12
+ }
13
+ export type Source = ElDividerSource | ElLinkSource;
@@ -0,0 +1,4 @@
1
+ import VkfTemplatesEsri from './src/index.vue';
2
+ export * as __VkfTemplatesEsri from './src/types';
3
+ export { VkfTemplatesEsri, };
4
+ export default VkfTemplatesEsri;
@@ -0,0 +1,11 @@
1
+ import { NormalObject, SetDataEvent } from '@vunk/core';
2
+ import { PropType } from 'vue';
3
+ export declare const props: {
4
+ data: {
5
+ type: PropType<NormalObject>;
6
+ default: () => {};
7
+ };
8
+ };
9
+ export declare const emits: {
10
+ setData: (data: SetDataEvent) => SetDataEvent;
11
+ };
@@ -0,0 +1,43 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ data: {
3
+ type: import("vue").PropType<import("@vunk/core").NormalObject>;
4
+ default: () => {};
5
+ };
6
+ }>, {
7
+ getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined, safe?: boolean) => any;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ setData: (data: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ data: {
12
+ type: import("vue").PropType<import("@vunk/core").NormalObject>;
13
+ default: () => {};
14
+ };
15
+ }>> & Readonly<{
16
+ onSetData?: (data: import("@vunk/core").SetDataEvent) => any;
17
+ }>, {
18
+ data: import("@vunk/core").NormalObject;
19
+ }, {}, {
20
+ VkfFormItemRendererTemplate: {
21
+ new (...args: any[]): any;
22
+ __isFragment?: never;
23
+ __isTeleport?: never;
24
+ __isSuspense?: never;
25
+ } & 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, {
26
+ [x: string]: any;
27
+ [x: symbol]: any;
28
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
29
+ install(app: import("vue").App): void;
30
+ };
31
+ VkfEsriInputGeojson: {
32
+ new (...args: any[]): any;
33
+ __isFragment?: never;
34
+ __isTeleport?: never;
35
+ __isSuspense?: never;
36
+ } & 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, {
37
+ [x: string]: any;
38
+ [x: symbol]: any;
39
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
40
+ install(app: import("vue").App): void;
41
+ };
42
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { __VkfEsriInputGeojson } from '@vunk/form/components/esri-input-geojson';
2
+ export type Source<P extends string = string> = __VkfEsriInputGeojson.Source<P>;
@@ -0,0 +1,4 @@
1
+ import VkfTemplatesLayout from './src/index.vue';
2
+ export * as __VkfTemplatesLayout from './src/types';
3
+ export { VkfTemplatesLayout, };
4
+ export default VkfTemplatesLayout;
@@ -0,0 +1,9 @@
1
+ import { NormalObject } from '@vunk/core';
2
+ import { PropType } from 'vue';
3
+ export declare const props: {
4
+ data: {
5
+ type: PropType<NormalObject>;
6
+ default: () => {};
7
+ };
8
+ };
9
+ export declare const emits: {};