@vunk/form 2.10.1 → 2.10.3

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 (203) hide show
  1. package/components/api-tables-select/index.cjs +37 -36
  2. package/components/api-tables-select/index.d.ts +4 -0
  3. package/components/api-tables-select/index.mjs +37 -36
  4. package/components/api-tables-select/src/ctx.d.ts +374 -0
  5. package/components/api-tables-select/src/index.vue.d.ts +1335 -0
  6. package/components/api-tables-select/src/types.d.ts +19 -0
  7. package/components/button/index.d.ts +4 -0
  8. package/components/button/src/ctx.d.ts +190 -0
  9. package/components/button/src/index.vue.d.ts +822 -0
  10. package/components/button/src/types.d.ts +13 -0
  11. package/components/card-input-collection/index.cjs +67 -70
  12. package/components/card-input-collection/index.d.ts +4 -0
  13. package/components/card-input-collection/index.mjs +68 -71
  14. package/components/card-input-collection/src/ctx.d.ts +119 -0
  15. package/components/card-input-collection/src/index.vue.d.ts +1043 -0
  16. package/components/card-input-collection/src/types.d.ts +10 -0
  17. package/components/cascader/index.d.ts +6 -0
  18. package/components/cascader/src/ctx.d.ts +297 -0
  19. package/components/cascader/src/index.vue.d.ts +650 -0
  20. package/components/cascader/src/types.d.ts +19 -0
  21. package/components/cascader/src/use.d.ts +5 -0
  22. package/components/checkbox/index.cjs +2 -3
  23. package/components/checkbox/index.d.ts +5 -0
  24. package/components/checkbox/index.mjs +2 -3
  25. package/components/checkbox/src/ctx.d.ts +151 -0
  26. package/components/checkbox/src/index.vue.d.ts +1362 -0
  27. package/components/checkbox/src/types.d.ts +8 -0
  28. package/components/color-picker/index.d.ts +4 -0
  29. package/components/color-picker/src/ctx.d.ts +153 -0
  30. package/components/color-picker/src/index.vue.d.ts +341 -0
  31. package/components/color-picker/src/types.d.ts +7 -0
  32. package/components/date-picker/index.d.ts +5 -0
  33. package/components/date-picker/src/ctx.d.ts +325 -0
  34. package/components/date-picker/src/index.vue.d.ts +1422 -0
  35. package/components/date-picker/src/types.d.ts +20 -0
  36. package/components/date-picker-range/index.d.ts +4 -0
  37. package/components/date-picker-range/src/ctx.d.ts +328 -0
  38. package/components/date-picker-range/src/index.vue.d.ts +717 -0
  39. package/components/date-picker-range/src/types.d.ts +12 -0
  40. package/components/download-plus/index.cjs +4 -4
  41. package/components/download-plus/index.d.ts +4 -0
  42. package/components/download-plus/index.mjs +4 -4
  43. package/components/download-plus/src/api.d.ts +13 -0
  44. package/components/download-plus/src/const.d.ts +9 -0
  45. package/components/download-plus/src/ctx.d.ts +129 -0
  46. package/components/download-plus/src/index.vue.d.ts +1432 -0
  47. package/components/download-plus/src/types.d.ts +17 -0
  48. package/components/editable-text/index.d.ts +4 -0
  49. package/components/editable-text/src/ctx.d.ts +132 -0
  50. package/components/editable-text/src/index.vue.d.ts +3399 -0
  51. package/components/editable-text/src/types.d.ts +1 -0
  52. package/components/esri-input-geojson/index.d.ts +6 -0
  53. package/components/esri-input-geojson/src/append.vue.d.ts +1179 -0
  54. package/components/esri-input-geojson/src/const.d.ts +12 -0
  55. package/components/esri-input-geojson/src/ctx.d.ts +340 -0
  56. package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
  57. package/components/esri-input-geojson/src/index.vue.d.ts +1459 -0
  58. package/components/esri-input-geojson/src/types.d.ts +22 -0
  59. package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
  60. package/components/fieldset/index.d.ts +4 -0
  61. package/components/fieldset/src/ctx.d.ts +12 -0
  62. package/components/fieldset/src/index.vue.d.ts +23 -0
  63. package/components/fieldset/src/types.d.ts +1 -0
  64. package/components/fieldset/src/use.d.ts +5 -0
  65. package/components/form/index.d.ts +5 -0
  66. package/components/form/src/ctx.d.ts +132 -0
  67. package/components/form/src/index.vue.d.ts +4007 -0
  68. package/components/form/src/types.d.ts +25 -0
  69. package/components/form/src/utils.d.ts +15 -0
  70. package/components/form-item/index.d.ts +5 -0
  71. package/components/form-item/src/ctx.d.ts +107 -0
  72. package/components/form-item/src/index.vue.d.ts +961 -0
  73. package/components/form-item/src/types.d.ts +9 -0
  74. package/components/form-item-renderer/index.d.ts +4 -0
  75. package/components/form-item-renderer/src/core.vue.d.ts +38 -0
  76. package/components/form-item-renderer/src/ctx.d.ts +16 -0
  77. package/components/form-item-renderer/src/index.vue.d.ts +93 -0
  78. package/components/form-item-renderer/src/types.d.ts +5 -0
  79. package/components/form-item-renderer/src/utils.d.ts +5 -0
  80. package/components/form-item-renderer-template/index.d.ts +4 -0
  81. package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
  82. package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
  83. package/components/form-item-renderer-template/src/types.d.ts +55 -0
  84. package/components/information/index.d.ts +4 -0
  85. package/components/information/src/ctx.d.ts +13 -0
  86. package/components/information/src/index.vue.d.ts +23 -0
  87. package/components/information/src/types.d.ts +3 -0
  88. package/components/information-collection/index.d.ts +4 -0
  89. package/components/information-collection/src/ctx.d.ts +147 -0
  90. package/components/information-collection/src/index.vue.d.ts +302 -0
  91. package/components/information-collection/src/types.d.ts +6 -0
  92. package/components/information-tag/index.d.ts +4 -0
  93. package/components/information-tag/src/ctx.d.ts +64 -0
  94. package/components/information-tag/src/index.vue.d.ts +134 -0
  95. package/components/information-tag/src/types.d.ts +1 -0
  96. package/components/information-templates-default/index.d.ts +4 -0
  97. package/components/information-templates-default/src/ctx.d.ts +2 -0
  98. package/components/information-templates-default/src/index.vue.d.ts +2 -0
  99. package/components/information-templates-default/src/types.d.ts +1 -0
  100. package/components/input/index.d.ts +5 -0
  101. package/components/input/src/ctx.d.ts +269 -0
  102. package/components/input/src/index.vue.d.ts +1192 -0
  103. package/components/input/src/types.d.ts +13 -0
  104. package/components/input-collection/index.cjs +105 -74
  105. package/components/input-collection/index.d.ts +4 -0
  106. package/components/input-collection/index.mjs +107 -76
  107. package/components/input-collection/src/ctx.d.ts +137 -0
  108. package/components/input-collection/src/index.vue.d.ts +1141 -0
  109. package/components/input-collection/src/types.d.ts +29 -0
  110. package/components/input-link/index.d.ts +4 -0
  111. package/components/input-link/src/ctx.d.ts +273 -0
  112. package/components/input-link/src/index.vue.d.ts +577 -0
  113. package/components/input-link/src/types.d.ts +7 -0
  114. package/components/input-number/index.d.ts +4 -0
  115. package/components/input-number/src/ctx.d.ts +208 -0
  116. package/components/input-number/src/index.vue.d.ts +816 -0
  117. package/components/input-number/src/types.d.ts +12 -0
  118. package/components/input-tag/index.d.ts +5 -0
  119. package/components/input-tag/src/ctx.d.ts +239 -0
  120. package/components/input-tag/src/index.vue.d.ts +991 -0
  121. package/components/input-tag/src/types.d.ts +22 -0
  122. package/components/monaco-editor/index.d.ts +4 -0
  123. package/components/monaco-editor/src/ctx.d.ts +115 -0
  124. package/components/monaco-editor/src/index.vue.d.ts +303 -0
  125. package/components/monaco-editor/src/types.d.ts +7 -0
  126. package/components/radio/index.cjs +2 -3
  127. package/components/radio/index.d.ts +4 -0
  128. package/components/radio/index.mjs +2 -3
  129. package/components/radio/src/ctx.d.ts +162 -0
  130. package/components/radio/src/index.vue.d.ts +1311 -0
  131. package/components/radio/src/types.d.ts +8 -0
  132. package/components/renderer-data/index.d.ts +4 -0
  133. package/components/renderer-data/src/ctx.d.ts +12 -0
  134. package/components/renderer-data/src/index.vue.d.ts +20 -0
  135. package/components/renderer-data/src/types.d.ts +1 -0
  136. package/components/select/index.d.ts +5 -0
  137. package/components/select/src/ctx.d.ts +225 -0
  138. package/components/select/src/index.vue.d.ts +1043 -0
  139. package/components/select/src/types.d.ts +11 -0
  140. package/components/slider/index.d.ts +4 -0
  141. package/components/slider/src/ctx.d.ts +253 -0
  142. package/components/slider/src/index.vue.d.ts +588 -0
  143. package/components/slider/src/types.d.ts +7 -0
  144. package/components/switch/index.d.ts +4 -0
  145. package/components/switch/src/ctx.d.ts +208 -0
  146. package/components/switch/src/index.vue.d.ts +895 -0
  147. package/components/switch/src/types.d.ts +8 -0
  148. package/components/tables-select/index.d.ts +5 -0
  149. package/components/tables-select/src/ctx.d.ts +420 -0
  150. package/components/tables-select/src/index.vue.d.ts +5411 -0
  151. package/components/tables-select/src/types.d.ts +9 -0
  152. package/components/template-instances-provider/index.d.ts +3 -0
  153. package/components/template-instances-provider/src/index.vue.d.ts +6 -0
  154. package/components/templates-default/index.d.ts +4 -0
  155. package/components/templates-default/src/ctx.d.ts +19 -0
  156. package/components/templates-default/src/index.vue.d.ts +187 -0
  157. package/components/templates-default/src/types.d.ts +55 -0
  158. package/components/templates-element-plus/index.d.ts +4 -0
  159. package/components/templates-element-plus/src/ctx.d.ts +9 -0
  160. package/components/templates-element-plus/src/index.vue.d.ts +301 -0
  161. package/components/templates-element-plus/src/types.d.ts +13 -0
  162. package/components/templates-esri/index.d.ts +4 -0
  163. package/components/templates-esri/src/ctx.d.ts +11 -0
  164. package/components/templates-esri/src/index.vue.d.ts +43 -0
  165. package/components/templates-esri/src/types.d.ts +2 -0
  166. package/components/templates-layout/index.d.ts +4 -0
  167. package/components/templates-layout/src/ctx.d.ts +9 -0
  168. package/components/templates-layout/src/index.vue.d.ts +446 -0
  169. package/components/templates-layout/src/types.d.ts +32 -0
  170. package/components/templates-variant/index.d.ts +4 -0
  171. package/components/templates-variant/src/ctx.d.ts +11 -0
  172. package/components/templates-variant/src/index.vue.d.ts +43 -0
  173. package/components/templates-variant/src/types.d.ts +2 -0
  174. package/components/upload/index.cjs +2 -2
  175. package/components/upload/index.d.ts +5 -0
  176. package/components/upload/index.mjs +2 -2
  177. package/components/upload/src/ctx.d.ts +294 -0
  178. package/components/upload/src/file.vue.d.ts +492 -0
  179. package/components/upload/src/index.vue.d.ts +1935 -0
  180. package/components/upload/src/types.d.ts +13 -0
  181. package/components/upload-plus/index.cjs +79 -86
  182. package/components/upload-plus/index.d.ts +6 -0
  183. package/components/upload-plus/index.mjs +79 -86
  184. package/components/upload-plus/src/api.d.ts +38 -0
  185. package/components/upload-plus/src/const.d.ts +9 -0
  186. package/components/upload-plus/src/ctx.d.ts +148 -0
  187. package/components/upload-plus/src/index.vue.d.ts +1754 -0
  188. package/components/upload-plus/src/types.d.ts +32 -0
  189. package/components/van-cascader/index.d.ts +4 -0
  190. package/components/van-cascader/src/ctx.d.ts +284 -0
  191. package/components/van-cascader/src/index.vue.d.ts +2116 -0
  192. package/components/van-cascader/src/types.d.ts +1 -0
  193. package/components/var-datetime-picker/index.d.ts +4 -0
  194. package/components/var-datetime-picker/src/const.d.ts +10 -0
  195. package/components/var-datetime-picker/src/ctx.d.ts +112 -0
  196. package/components/var-datetime-picker/src/index.vue.d.ts +1482 -0
  197. package/components/var-datetime-picker/src/types.d.ts +22 -0
  198. package/components/vditor/index.d.ts +4 -0
  199. package/components/vditor/src/ctx.d.ts +122 -0
  200. package/components/vditor/src/index.vue.d.ts +418 -0
  201. package/components/vditor/src/types.d.ts +7 -0
  202. package/package.json +1 -1
  203. package/shared/element-plus/ctx.d.ts +111 -30
@@ -0,0 +1,9 @@
1
+ import { __VkTablesV1 } from '@vunk/plus/components/tables-v1';
2
+ import { VueComponentPropsType } from '@vunk/shared';
3
+ import Core from './index.vue';
4
+ import { BasicSource } from '@vunk/form/shared';
5
+ export interface Source<P extends string = string> extends BasicSource, VueComponentPropsType<typeof Core> {
6
+ prop?: P | P[];
7
+ templateType: 'VkfTablesSelect';
8
+ }
9
+ export type Column = __VkTablesV1.Column;
@@ -0,0 +1,3 @@
1
+ import VkfTemplateInstancesProvider from './src/index.vue';
2
+ export { VkfTemplateInstancesProvider, };
3
+ export default VkfTemplateInstancesProvider;
@@ -0,0 +1,6 @@
1
+ declare const _default: import("vue").DefineComponent<{}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>[]) | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
4
+ [key: string]: any;
5
+ }>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import VkfTemplatesDefault from './src/index.vue';
2
+ export * as __VkfTemplatesDefault from './src/types';
3
+ export { VkfTemplatesDefault, };
4
+ export default VkfTemplatesDefault;
@@ -0,0 +1,19 @@
1
+ import { SetDataEvent } from '@vunk/core/shared/types';
2
+ import { PropType } from 'vue';
3
+ import { CreateIntoUndefined } from './types';
4
+ export declare const props: {
5
+ data: {
6
+ type: PropType<Record<string, any>>;
7
+ default: () => {};
8
+ };
9
+ createIntoUndefined: {
10
+ type: PropType<CreateIntoUndefined>;
11
+ default: (arg: {
12
+ raw: any;
13
+ data: Record<string, any>;
14
+ }) => import("@vunk/core/shared/types").IntoUndefined;
15
+ };
16
+ };
17
+ export declare const emits: {
18
+ setData: (e: SetDataEvent) => SetDataEvent;
19
+ };
@@ -0,0 +1,187 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ data: {
3
+ type: import("vue").PropType<Record<string, any>>;
4
+ default: () => {};
5
+ };
6
+ createIntoUndefined: {
7
+ type: import("vue").PropType<import("./types").CreateIntoUndefined>;
8
+ default: (arg: {
9
+ raw: any;
10
+ data: Record<string, any>;
11
+ }) => import("@vunk/core").IntoUndefined;
12
+ };
13
+ }>, {
14
+ pickObject: <T extends import("@vunk/core").NormalObject, EX extends (keyof T)[], KI extends keyof T>(data: T, opts?: {
15
+ excludes?: EX;
16
+ includes?: KI[];
17
+ }) => { [P in EX extends (infer KE)[] ? Exclude<KI, KE> : KI]: T[P]; };
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
20
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ data: {
22
+ type: import("vue").PropType<Record<string, any>>;
23
+ default: () => {};
24
+ };
25
+ createIntoUndefined: {
26
+ type: import("vue").PropType<import("./types").CreateIntoUndefined>;
27
+ default: (arg: {
28
+ raw: any;
29
+ data: Record<string, any>;
30
+ }) => import("@vunk/core").IntoUndefined;
31
+ };
32
+ }>> & Readonly<{
33
+ onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
34
+ }>, {
35
+ data: Record<string, any>;
36
+ createIntoUndefined: (arg: {
37
+ raw: any;
38
+ data: Record<string, any>;
39
+ }) => import("@vunk/core").IntoUndefined;
40
+ }, {}, {
41
+ VkfFormItemRendererTemplate: {
42
+ new (...args: any[]): any;
43
+ __isFragment?: never;
44
+ __isTeleport?: never;
45
+ __isSuspense?: never;
46
+ } & 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, {
47
+ [x: string]: any;
48
+ [x: symbol]: any;
49
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
50
+ install(app: import("vue").App): void;
51
+ };
52
+ VkfInput: {
53
+ new (...args: any[]): any;
54
+ __isFragment?: never;
55
+ __isTeleport?: never;
56
+ __isSuspense?: never;
57
+ } & 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, {
58
+ [x: string]: any;
59
+ [x: symbol]: any;
60
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
61
+ install(app: import("vue").App): void;
62
+ };
63
+ VkfSwitch: {
64
+ new (...args: any[]): any;
65
+ __isFragment?: never;
66
+ __isTeleport?: never;
67
+ __isSuspense?: never;
68
+ } & 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, {
69
+ [x: string]: any;
70
+ [x: symbol]: any;
71
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
72
+ install(app: import("vue").App): void;
73
+ };
74
+ VkfSelect: {
75
+ new (...args: any[]): any;
76
+ __isFragment?: never;
77
+ __isTeleport?: never;
78
+ __isSuspense?: never;
79
+ } & 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, {
80
+ [x: string]: any;
81
+ [x: symbol]: any;
82
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
83
+ install(app: import("vue").App): void;
84
+ };
85
+ VkfDatePicker: {
86
+ new (...args: any[]): any;
87
+ __isFragment?: never;
88
+ __isTeleport?: never;
89
+ __isSuspense?: never;
90
+ } & 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, {
91
+ [x: string]: any;
92
+ [x: symbol]: any;
93
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
94
+ install(app: import("vue").App): void;
95
+ };
96
+ VkfInputNumber: {
97
+ new (...args: any[]): any;
98
+ __isFragment?: never;
99
+ __isTeleport?: never;
100
+ __isSuspense?: never;
101
+ } & 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, {
102
+ [x: string]: any;
103
+ [x: symbol]: any;
104
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
105
+ install(app: import("vue").App): void;
106
+ };
107
+ VkfRadio: {
108
+ new (...args: any[]): any;
109
+ __isFragment?: never;
110
+ __isTeleport?: never;
111
+ __isSuspense?: never;
112
+ } & 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, {
113
+ [x: string]: any;
114
+ [x: symbol]: any;
115
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
116
+ install(app: import("vue").App): void;
117
+ };
118
+ VkfCheckbox: {
119
+ new (...args: any[]): any;
120
+ __isFragment?: never;
121
+ __isTeleport?: never;
122
+ __isSuspense?: never;
123
+ } & 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, {
124
+ [x: string]: any;
125
+ [x: symbol]: any;
126
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
127
+ install(app: import("vue").App): void;
128
+ };
129
+ VkfUpload: {
130
+ new (...args: any[]): any;
131
+ __isFragment?: never;
132
+ __isTeleport?: never;
133
+ __isSuspense?: never;
134
+ } & 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, {
135
+ [x: string]: any;
136
+ [x: symbol]: any;
137
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
138
+ install(app: import("vue").App): void;
139
+ };
140
+ VkfColorPicker: {
141
+ new (...args: any[]): any;
142
+ __isFragment?: never;
143
+ __isTeleport?: never;
144
+ __isSuspense?: never;
145
+ } & 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, {
146
+ [x: string]: any;
147
+ [x: symbol]: any;
148
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
149
+ install(app: import("vue").App): void;
150
+ };
151
+ VkfButton: {
152
+ new (...args: any[]): any;
153
+ __isFragment?: never;
154
+ __isTeleport?: never;
155
+ __isSuspense?: never;
156
+ } & 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, {
157
+ [x: string]: any;
158
+ [x: symbol]: any;
159
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
160
+ install(app: import("vue").App): void;
161
+ };
162
+ VkfCascader: never;
163
+ VkfInputLink: never;
164
+ VkfSlider: {
165
+ new (...args: any[]): any;
166
+ __isFragment?: never;
167
+ __isTeleport?: never;
168
+ __isSuspense?: never;
169
+ } & 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, {
170
+ [x: string]: any;
171
+ [x: symbol]: any;
172
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
173
+ install(app: import("vue").App): void;
174
+ };
175
+ VkfInputTag: {
176
+ new (...args: any[]): any;
177
+ __isFragment?: never;
178
+ __isTeleport?: never;
179
+ __isSuspense?: never;
180
+ } & 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, {
181
+ [x: string]: any;
182
+ [x: symbol]: any;
183
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
184
+ install(app: import("vue").App): void;
185
+ };
186
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
187
+ export default _default;
@@ -0,0 +1,55 @@
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 { __VkfInputTag } from '@vunk/form/components/input-tag';
16
+ import { IntoUndefined, Func } from '@vunk/core';
17
+ export type VkfButtonSource<P extends string = string> = __VkfButton.Source<P>;
18
+ export type VkfInputSource<P extends string = string> = __VkfInput.Source<P>;
19
+ export type VkfDatePickerSource<P extends string = string> = __VkfDatePicker.Source<P>;
20
+ export type VkfSelectSource<P extends string = string> = __VkfSelect.Source<P>;
21
+ export type VkfSwitchSource<P extends string = string> = __VkfSwitch.Source<P>;
22
+ export type VkfInputNumberSource<P extends string = string> = __VkfInputNumber.Source<P>;
23
+ export type VkfRadioSource<P extends string = string> = __VkfRadio.Source<P>;
24
+ export type VkfCheckboxSource<P extends string = string> = __VkfCheckbox.Source<P>;
25
+ export type VkfUploadSource<P extends string = string> = __VkfUpload.Source<P>;
26
+ export type VkfColorPickerSource<P extends string = string> = __VkfColorPicker.Source<P>;
27
+ export type VkfCascaderSource<P extends string = string> = __VkfCascader.Source<P>;
28
+ export type VkfInputLinkSource<P extends string = string> = __VkfInputLink.Source<P>;
29
+ export type VkfSliderSource<P extends string = string> = __VkfSlider.Source<P>;
30
+ export type VkfInputTagSource<P extends string = string> = __VkfInputTag.Source<P>;
31
+ export interface ComponentSource extends BasicSource {
32
+ templateType: 'Component';
33
+ is: any;
34
+ }
35
+ 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> | VkfInputTagSource<P>;
36
+ export type Source<P extends string = string> = CoreSource<P> | ComponentSource;
37
+ /**
38
+ * @example
39
+ * ```ts
40
+ * const createIntoUndefined = ({ raw }) => {
41
+ * const objectFields = ['rules']
42
+ * const isObjectFields = objectFields.includes(raw.prop)
43
+ * return (currentData, currentK) => {
44
+ * )
45
+ * if (isObjectFields) {
46
+ * currentData[currentK] = {}
47
+ * }
48
+ * }
49
+ * }
50
+ * ```
51
+ */
52
+ export type CreateIntoUndefined = Func<{
53
+ raw: any;
54
+ data: Record<string, any>;
55
+ }, 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,301 @@
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: {
31
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
32
+ readonly type: {
33
+ readonly type: import("vue").PropType<"default" | "success" | "primary" | "warning" | "info" | "danger">;
34
+ readonly required: false;
35
+ readonly validator: ((val: unknown) => boolean) | undefined;
36
+ __epPropKey: true;
37
+ } & {
38
+ readonly default: undefined;
39
+ };
40
+ readonly underline: {
41
+ readonly type: import("vue").PropType<boolean | "hover" | "always" | "never">;
42
+ readonly required: false;
43
+ readonly validator: ((val: unknown) => boolean) | undefined;
44
+ __epPropKey: true;
45
+ } & {
46
+ readonly default: undefined;
47
+ };
48
+ readonly disabled: BooleanConstructor;
49
+ readonly href: {
50
+ readonly type: import("vue").PropType<string>;
51
+ readonly required: false;
52
+ readonly validator: ((val: unknown) => boolean) | undefined;
53
+ __epPropKey: true;
54
+ } & {
55
+ readonly default: "";
56
+ };
57
+ readonly target: {
58
+ readonly type: import("vue").PropType<string>;
59
+ readonly required: false;
60
+ readonly validator: ((val: unknown) => boolean) | undefined;
61
+ __epPropKey: true;
62
+ } & {
63
+ readonly default: "_self";
64
+ };
65
+ readonly icon: {
66
+ readonly type: import("vue").PropType<unknown>;
67
+ readonly required: false;
68
+ readonly validator: ((val: unknown) => boolean) | undefined;
69
+ __epPropKey: true;
70
+ };
71
+ }>> & {
72
+ onClick?: ((evt: MouseEvent) => any) | undefined;
73
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
74
+ click: (evt: MouseEvent) => void;
75
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
76
+ readonly disabled: boolean;
77
+ readonly underline: boolean | "hover" | "always" | "never";
78
+ readonly type: "default" | "success" | "primary" | "warning" | "info" | "danger";
79
+ readonly target: string;
80
+ readonly href: string;
81
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
82
+ P: {};
83
+ B: {};
84
+ D: {};
85
+ C: {};
86
+ M: {};
87
+ Defaults: {};
88
+ }, Readonly<import("vue").ExtractPropTypes<{
89
+ readonly type: {
90
+ readonly type: import("vue").PropType<"default" | "success" | "primary" | "warning" | "info" | "danger">;
91
+ readonly required: false;
92
+ readonly validator: ((val: unknown) => boolean) | undefined;
93
+ __epPropKey: true;
94
+ } & {
95
+ readonly default: undefined;
96
+ };
97
+ readonly underline: {
98
+ readonly type: import("vue").PropType<boolean | "hover" | "always" | "never">;
99
+ readonly required: false;
100
+ readonly validator: ((val: unknown) => boolean) | undefined;
101
+ __epPropKey: true;
102
+ } & {
103
+ readonly default: undefined;
104
+ };
105
+ readonly disabled: BooleanConstructor;
106
+ readonly href: {
107
+ readonly type: import("vue").PropType<string>;
108
+ readonly required: false;
109
+ readonly validator: ((val: unknown) => boolean) | undefined;
110
+ __epPropKey: true;
111
+ } & {
112
+ readonly default: "";
113
+ };
114
+ readonly target: {
115
+ readonly type: import("vue").PropType<string>;
116
+ readonly required: false;
117
+ readonly validator: ((val: unknown) => boolean) | undefined;
118
+ __epPropKey: true;
119
+ } & {
120
+ readonly default: "_self";
121
+ };
122
+ readonly icon: {
123
+ readonly type: import("vue").PropType<unknown>;
124
+ readonly required: false;
125
+ readonly validator: ((val: unknown) => boolean) | undefined;
126
+ __epPropKey: true;
127
+ };
128
+ }>> & {
129
+ onClick?: ((evt: MouseEvent) => any) | undefined;
130
+ }, {}, {}, {}, {}, {
131
+ readonly disabled: boolean;
132
+ readonly underline: boolean | "hover" | "always" | "never";
133
+ readonly type: "default" | "success" | "primary" | "warning" | "info" | "danger";
134
+ readonly target: string;
135
+ readonly href: string;
136
+ }>;
137
+ __isFragment?: never;
138
+ __isTeleport?: never;
139
+ __isSuspense?: never;
140
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
141
+ readonly type: {
142
+ readonly type: import("vue").PropType<"default" | "success" | "primary" | "warning" | "info" | "danger">;
143
+ readonly required: false;
144
+ readonly validator: ((val: unknown) => boolean) | undefined;
145
+ __epPropKey: true;
146
+ } & {
147
+ readonly default: undefined;
148
+ };
149
+ readonly underline: {
150
+ readonly type: import("vue").PropType<boolean | "hover" | "always" | "never">;
151
+ readonly required: false;
152
+ readonly validator: ((val: unknown) => boolean) | undefined;
153
+ __epPropKey: true;
154
+ } & {
155
+ readonly default: undefined;
156
+ };
157
+ readonly disabled: BooleanConstructor;
158
+ readonly href: {
159
+ readonly type: import("vue").PropType<string>;
160
+ readonly required: false;
161
+ readonly validator: ((val: unknown) => boolean) | undefined;
162
+ __epPropKey: true;
163
+ } & {
164
+ readonly default: "";
165
+ };
166
+ readonly target: {
167
+ readonly type: import("vue").PropType<string>;
168
+ readonly required: false;
169
+ readonly validator: ((val: unknown) => boolean) | undefined;
170
+ __epPropKey: true;
171
+ } & {
172
+ readonly default: "_self";
173
+ };
174
+ readonly icon: {
175
+ readonly type: import("vue").PropType<unknown>;
176
+ readonly required: false;
177
+ readonly validator: ((val: unknown) => boolean) | undefined;
178
+ __epPropKey: true;
179
+ };
180
+ }>> & {
181
+ onClick?: ((evt: MouseEvent) => any) | undefined;
182
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
183
+ click: (evt: MouseEvent) => void;
184
+ }, string, {
185
+ readonly disabled: boolean;
186
+ readonly underline: boolean | "hover" | "always" | "never";
187
+ readonly type: "default" | "success" | "primary" | "warning" | "info" | "danger";
188
+ readonly target: string;
189
+ readonly href: string;
190
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
191
+ $slots: {
192
+ default?(_: {}): any;
193
+ icon?(_: {}): any;
194
+ };
195
+ }) & import("vue").Plugin;
196
+ ElDivider: {
197
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
198
+ readonly direction: {
199
+ readonly type: import("vue").PropType<"horizontal" | "vertical">;
200
+ readonly required: false;
201
+ readonly validator: ((val: unknown) => boolean) | undefined;
202
+ __epPropKey: true;
203
+ } & {
204
+ readonly default: "horizontal";
205
+ };
206
+ readonly contentPosition: {
207
+ readonly type: import("vue").PropType<"left" | "right" | "center">;
208
+ readonly required: false;
209
+ readonly validator: ((val: unknown) => boolean) | undefined;
210
+ __epPropKey: true;
211
+ } & {
212
+ readonly default: "center";
213
+ };
214
+ readonly borderStyle: {
215
+ readonly type: import("vue").PropType<string>;
216
+ readonly required: false;
217
+ readonly validator: ((val: unknown) => boolean) | undefined;
218
+ __epPropKey: true;
219
+ } & {
220
+ readonly default: "solid";
221
+ };
222
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
223
+ readonly direction: "horizontal" | "vertical";
224
+ readonly borderStyle: string;
225
+ readonly contentPosition: "left" | "right" | "center";
226
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
227
+ P: {};
228
+ B: {};
229
+ D: {};
230
+ C: {};
231
+ M: {};
232
+ Defaults: {};
233
+ }, Readonly<import("vue").ExtractPropTypes<{
234
+ readonly direction: {
235
+ readonly type: import("vue").PropType<"horizontal" | "vertical">;
236
+ readonly required: false;
237
+ readonly validator: ((val: unknown) => boolean) | undefined;
238
+ __epPropKey: true;
239
+ } & {
240
+ readonly default: "horizontal";
241
+ };
242
+ readonly contentPosition: {
243
+ readonly type: import("vue").PropType<"left" | "right" | "center">;
244
+ readonly required: false;
245
+ readonly validator: ((val: unknown) => boolean) | undefined;
246
+ __epPropKey: true;
247
+ } & {
248
+ readonly default: "center";
249
+ };
250
+ readonly borderStyle: {
251
+ readonly type: import("vue").PropType<string>;
252
+ readonly required: false;
253
+ readonly validator: ((val: unknown) => boolean) | undefined;
254
+ __epPropKey: true;
255
+ } & {
256
+ readonly default: "solid";
257
+ };
258
+ }>>, {}, {}, {}, {}, {
259
+ readonly direction: "horizontal" | "vertical";
260
+ readonly borderStyle: string;
261
+ readonly contentPosition: "left" | "right" | "center";
262
+ }>;
263
+ __isFragment?: never;
264
+ __isTeleport?: never;
265
+ __isSuspense?: never;
266
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
267
+ readonly direction: {
268
+ readonly type: import("vue").PropType<"horizontal" | "vertical">;
269
+ readonly required: false;
270
+ readonly validator: ((val: unknown) => boolean) | undefined;
271
+ __epPropKey: true;
272
+ } & {
273
+ readonly default: "horizontal";
274
+ };
275
+ readonly contentPosition: {
276
+ readonly type: import("vue").PropType<"left" | "right" | "center">;
277
+ readonly required: false;
278
+ readonly validator: ((val: unknown) => boolean) | undefined;
279
+ __epPropKey: true;
280
+ } & {
281
+ readonly default: "center";
282
+ };
283
+ readonly borderStyle: {
284
+ readonly type: import("vue").PropType<string>;
285
+ readonly required: false;
286
+ readonly validator: ((val: unknown) => boolean) | undefined;
287
+ __epPropKey: true;
288
+ } & {
289
+ readonly default: "solid";
290
+ };
291
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
292
+ readonly direction: "horizontal" | "vertical";
293
+ readonly borderStyle: string;
294
+ readonly contentPosition: "left" | "right" | "center";
295
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
296
+ $slots: {
297
+ default?(_: {}): any;
298
+ };
299
+ }) & import("vue").Plugin;
300
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
301
+ 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
+ };