@vunk/form 2.13.1 → 2.14.0

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 (209) hide show
  1. package/components/fieldset/index.cjs +6 -2
  2. package/components/fieldset/index.mjs +6 -2
  3. package/components/form-item/index.cjs +8 -7
  4. package/components/form-item/index.css +6 -0
  5. package/components/form-item/index.mjs +8 -7
  6. package/components/input-array/index.cjs +287 -0
  7. package/components/input-array/index.css +14 -0
  8. package/components/input-array/index.mjs +280 -0
  9. package/index.css +21 -0
  10. package/package.json +9 -1
  11. package/components/api-tables-select/index.d.ts +0 -4
  12. package/components/api-tables-select/src/ctx.d.ts +0 -374
  13. package/components/api-tables-select/src/index.vue.d.ts +0 -1335
  14. package/components/api-tables-select/src/types.d.ts +0 -19
  15. package/components/button/index.d.ts +0 -4
  16. package/components/button/src/ctx.d.ts +0 -185
  17. package/components/button/src/index.vue.d.ts +0 -813
  18. package/components/button/src/types.d.ts +0 -13
  19. package/components/card-input-collection/index.d.ts +0 -4
  20. package/components/card-input-collection/src/ctx.d.ts +0 -114
  21. package/components/card-input-collection/src/index.vue.d.ts +0 -1029
  22. package/components/card-input-collection/src/types.d.ts +0 -10
  23. package/components/cascader/index.d.ts +0 -6
  24. package/components/cascader/src/ctx.d.ts +0 -285
  25. package/components/cascader/src/index.vue.d.ts +0 -627
  26. package/components/cascader/src/types.d.ts +0 -19
  27. package/components/cascader/src/use.d.ts +0 -5
  28. package/components/checkbox/index.d.ts +0 -5
  29. package/components/checkbox/src/ctx.d.ts +0 -146
  30. package/components/checkbox/src/index.vue.d.ts +0 -1353
  31. package/components/checkbox/src/types.d.ts +0 -8
  32. package/components/color-picker/index.d.ts +0 -4
  33. package/components/color-picker/src/ctx.d.ts +0 -164
  34. package/components/color-picker/src/index.vue.d.ts +0 -366
  35. package/components/color-picker/src/types.d.ts +0 -7
  36. package/components/date-picker/index.d.ts +0 -5
  37. package/components/date-picker/src/ctx.d.ts +0 -321
  38. package/components/date-picker/src/index.vue.d.ts +0 -1423
  39. package/components/date-picker/src/types.d.ts +0 -20
  40. package/components/date-picker-range/index.d.ts +0 -4
  41. package/components/date-picker-range/src/ctx.d.ts +0 -329
  42. package/components/date-picker-range/src/index.vue.d.ts +0 -720
  43. package/components/date-picker-range/src/types.d.ts +0 -12
  44. package/components/dialog-input-collection/index.d.ts +0 -4
  45. package/components/dialog-input-collection/src/ctx.d.ts +0 -140
  46. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +0 -1782
  47. package/components/dialog-input-collection/src/index.vue.d.ts +0 -3100
  48. package/components/dialog-input-collection/src/layout.vue.d.ts +0 -85
  49. package/components/dialog-input-collection/src/types.d.ts +0 -28
  50. package/components/download-plus/index.d.ts +0 -4
  51. package/components/download-plus/src/api.d.ts +0 -13
  52. package/components/download-plus/src/const.d.ts +0 -9
  53. package/components/download-plus/src/ctx.d.ts +0 -124
  54. package/components/download-plus/src/index.vue.d.ts +0 -1453
  55. package/components/download-plus/src/types.d.ts +0 -17
  56. package/components/editable-text/index.d.ts +0 -4
  57. package/components/editable-text/src/ctx.d.ts +0 -127
  58. package/components/editable-text/src/index.vue.d.ts +0 -3385
  59. package/components/editable-text/src/types.d.ts +0 -1
  60. package/components/esri-input-geojson/index.d.ts +0 -6
  61. package/components/esri-input-geojson/src/append.vue.d.ts +0 -1179
  62. package/components/esri-input-geojson/src/const.d.ts +0 -12
  63. package/components/esri-input-geojson/src/ctx.d.ts +0 -344
  64. package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
  65. package/components/esri-input-geojson/src/index.vue.d.ts +0 -1471
  66. package/components/esri-input-geojson/src/types.d.ts +0 -22
  67. package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
  68. package/components/fieldset/index.d.ts +0 -4
  69. package/components/fieldset/src/ctx.d.ts +0 -12
  70. package/components/fieldset/src/index.vue.d.ts +0 -23
  71. package/components/fieldset/src/types.d.ts +0 -1
  72. package/components/fieldset/src/use.d.ts +0 -5
  73. package/components/form/index.d.ts +0 -5
  74. package/components/form/src/ctx.d.ts +0 -139
  75. package/components/form/src/index.vue.d.ts +0 -1182
  76. package/components/form/src/types.d.ts +0 -25
  77. package/components/form/src/utils.d.ts +0 -15
  78. package/components/form-item/index.d.ts +0 -5
  79. package/components/form-item/src/core.vue.d.ts +0 -1847
  80. package/components/form-item/src/ctx.d.ts +0 -102
  81. package/components/form-item/src/index.vue.d.ts +0 -211
  82. package/components/form-item/src/types.d.ts +0 -10
  83. package/components/form-item-renderer/index.d.ts +0 -4
  84. package/components/form-item-renderer/src/core.vue.d.ts +0 -38
  85. package/components/form-item-renderer/src/ctx.d.ts +0 -16
  86. package/components/form-item-renderer/src/index.vue.d.ts +0 -93
  87. package/components/form-item-renderer/src/types.d.ts +0 -5
  88. package/components/form-item-renderer/src/utils.d.ts +0 -5
  89. package/components/form-item-renderer-template/index.d.ts +0 -4
  90. package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
  91. package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
  92. package/components/form-item-renderer-template/src/types.d.ts +0 -55
  93. package/components/forms-provider/index.d.ts +0 -6
  94. package/components/forms-provider/src/core.d.ts +0 -6
  95. package/components/forms-provider/src/index.vue.d.ts +0 -2
  96. package/components/forms-provider/src/segment.vue.d.ts +0 -9
  97. package/components/forms-provider/src/types.d.ts +0 -10
  98. package/components/forms-provider/src/view.vue.d.ts +0 -7
  99. package/components/information/index.d.ts +0 -4
  100. package/components/information/src/ctx.d.ts +0 -13
  101. package/components/information/src/index.vue.d.ts +0 -23
  102. package/components/information/src/types.d.ts +0 -3
  103. package/components/information-collection/index.d.ts +0 -4
  104. package/components/information-collection/src/ctx.d.ts +0 -142
  105. package/components/information-collection/src/index.vue.d.ts +0 -293
  106. package/components/information-collection/src/types.d.ts +0 -6
  107. package/components/information-renderer/index.d.ts +0 -73
  108. package/components/information-tag/index.d.ts +0 -4
  109. package/components/information-tag/src/ctx.d.ts +0 -64
  110. package/components/information-tag/src/index.vue.d.ts +0 -134
  111. package/components/information-tag/src/types.d.ts +0 -1
  112. package/components/information-templates-default/index.d.ts +0 -4
  113. package/components/information-templates-default/src/ctx.d.ts +0 -2
  114. package/components/information-templates-default/src/index.vue.d.ts +0 -2
  115. package/components/information-templates-default/src/types.d.ts +0 -1
  116. package/components/input/index.d.ts +0 -5
  117. package/components/input/src/ctx.d.ts +0 -273
  118. package/components/input/src/index.vue.d.ts +0 -1234
  119. package/components/input/src/types.d.ts +0 -13
  120. package/components/input-collection/index.d.ts +0 -4
  121. package/components/input-collection/src/ctx.d.ts +0 -132
  122. package/components/input-collection/src/index.vue.d.ts +0 -1127
  123. package/components/input-collection/src/types.d.ts +0 -29
  124. package/components/input-link/index.d.ts +0 -4
  125. package/components/input-link/src/ctx.d.ts +0 -277
  126. package/components/input-link/src/index.vue.d.ts +0 -587
  127. package/components/input-link/src/types.d.ts +0 -7
  128. package/components/input-number/index.d.ts +0 -4
  129. package/components/input-number/src/ctx.d.ts +0 -211
  130. package/components/input-number/src/index.vue.d.ts +0 -852
  131. package/components/input-number/src/types.d.ts +0 -12
  132. package/components/input-tag/index.d.ts +0 -5
  133. package/components/input-tag/src/ctx.d.ts +0 -227
  134. package/components/input-tag/src/index.vue.d.ts +0 -947
  135. package/components/input-tag/src/types.d.ts +0 -22
  136. package/components/monaco-editor/index.d.ts +0 -4
  137. package/components/monaco-editor/src/ctx.d.ts +0 -110
  138. package/components/monaco-editor/src/index.vue.d.ts +0 -294
  139. package/components/monaco-editor/src/types.d.ts +0 -7
  140. package/components/radio/index.d.ts +0 -4
  141. package/components/radio/src/ctx.d.ts +0 -157
  142. package/components/radio/src/index.vue.d.ts +0 -1302
  143. package/components/radio/src/types.d.ts +0 -8
  144. package/components/renderer-data/index.d.ts +0 -4
  145. package/components/renderer-data/src/ctx.d.ts +0 -12
  146. package/components/renderer-data/src/index.vue.d.ts +0 -20
  147. package/components/renderer-data/src/types.d.ts +0 -1
  148. package/components/select/index.d.ts +0 -5
  149. package/components/select/src/ctx.d.ts +0 -220
  150. package/components/select/src/index.vue.d.ts +0 -1034
  151. package/components/select/src/types.d.ts +0 -11
  152. package/components/slider/index.d.ts +0 -4
  153. package/components/slider/src/ctx.d.ts +0 -248
  154. package/components/slider/src/index.vue.d.ts +0 -579
  155. package/components/slider/src/types.d.ts +0 -7
  156. package/components/switch/index.d.ts +0 -4
  157. package/components/switch/src/ctx.d.ts +0 -203
  158. package/components/switch/src/index.vue.d.ts +0 -886
  159. package/components/switch/src/types.d.ts +0 -8
  160. package/components/tables-select/index.d.ts +0 -5
  161. package/components/tables-select/src/ctx.d.ts +0 -420
  162. package/components/tables-select/src/index.vue.d.ts +0 -5411
  163. package/components/tables-select/src/types.d.ts +0 -9
  164. package/components/template-instances-provider/index.d.ts +0 -3
  165. package/components/template-instances-provider/src/index.vue.d.ts +0 -6
  166. package/components/templates-default/index.d.ts +0 -4
  167. package/components/templates-default/src/ctx.d.ts +0 -19
  168. package/components/templates-default/src/index.vue.d.ts +0 -187
  169. package/components/templates-default/src/types.d.ts +0 -55
  170. package/components/templates-element-plus/index.d.ts +0 -4
  171. package/components/templates-element-plus/src/ctx.d.ts +0 -9
  172. package/components/templates-element-plus/src/index.vue.d.ts +0 -301
  173. package/components/templates-element-plus/src/types.d.ts +0 -13
  174. package/components/templates-esri/index.d.ts +0 -4
  175. package/components/templates-esri/src/ctx.d.ts +0 -11
  176. package/components/templates-esri/src/index.vue.d.ts +0 -43
  177. package/components/templates-esri/src/types.d.ts +0 -2
  178. package/components/templates-layout/index.d.ts +0 -4
  179. package/components/templates-layout/src/ctx.d.ts +0 -9
  180. package/components/templates-layout/src/index.vue.d.ts +0 -446
  181. package/components/templates-layout/src/types.d.ts +0 -32
  182. package/components/templates-variant/index.d.ts +0 -4
  183. package/components/templates-variant/src/ctx.d.ts +0 -11
  184. package/components/templates-variant/src/index.vue.d.ts +0 -43
  185. package/components/templates-variant/src/types.d.ts +0 -2
  186. package/components/upload/index.d.ts +0 -5
  187. package/components/upload/src/ctx.d.ts +0 -289
  188. package/components/upload/src/file.vue.d.ts +0 -492
  189. package/components/upload/src/index.vue.d.ts +0 -1926
  190. package/components/upload/src/types.d.ts +0 -13
  191. package/components/upload-plus/index.d.ts +0 -6
  192. package/components/upload-plus/src/api.d.ts +0 -38
  193. package/components/upload-plus/src/const.d.ts +0 -9
  194. package/components/upload-plus/src/ctx.d.ts +0 -143
  195. package/components/upload-plus/src/index.vue.d.ts +0 -1770
  196. package/components/upload-plus/src/types.d.ts +0 -32
  197. package/components/van-cascader/index.d.ts +0 -4
  198. package/components/van-cascader/src/ctx.d.ts +0 -272
  199. package/components/van-cascader/src/index.vue.d.ts +0 -2093
  200. package/components/van-cascader/src/types.d.ts +0 -1
  201. package/components/var-datetime-picker/index.d.ts +0 -4
  202. package/components/var-datetime-picker/src/const.d.ts +0 -10
  203. package/components/var-datetime-picker/src/ctx.d.ts +0 -107
  204. package/components/var-datetime-picker/src/index.vue.d.ts +0 -1485
  205. package/components/var-datetime-picker/src/types.d.ts +0 -22
  206. package/components/vditor/index.d.ts +0 -4
  207. package/components/vditor/src/ctx.d.ts +0 -117
  208. package/components/vditor/src/index.vue.d.ts +0 -409
  209. package/components/vditor/src/types.d.ts +0 -7
@@ -1,9 +0,0 @@
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 = string> extends BasicSource, VueComponentPropsType<typeof Core> {
6
- prop?: P;
7
- templateType: 'VkfTablesSelect';
8
- }
9
- export type Column = __VkTablesV1.Column;
@@ -1,3 +0,0 @@
1
- import VkfTemplateInstancesProvider from './src/index.vue';
2
- export { VkfTemplateInstancesProvider, };
3
- export default VkfTemplateInstancesProvider;
@@ -1,6 +0,0 @@
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;
@@ -1,4 +0,0 @@
1
- import VkfTemplatesDefault from './src/index.vue';
2
- export * as __VkfTemplatesDefault from './src/types';
3
- export { VkfTemplatesDefault, };
4
- export default VkfTemplatesDefault;
@@ -1,19 +0,0 @@
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
- };
@@ -1,187 +0,0 @@
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;
@@ -1,55 +0,0 @@
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 = string> = __VkfButton.Source<P>;
18
- export type VkfInputSource<P = string> = __VkfInput.Source<P>;
19
- export type VkfDatePickerSource<P = string> = __VkfDatePicker.Source<P>;
20
- export type VkfSelectSource<P = string> = __VkfSelect.Source<P>;
21
- export type VkfSwitchSource<P = string> = __VkfSwitch.Source<P>;
22
- export type VkfInputNumberSource<P = string> = __VkfInputNumber.Source<P>;
23
- export type VkfRadioSource<P = string> = __VkfRadio.Source<P>;
24
- export type VkfCheckboxSource<P = string> = __VkfCheckbox.Source<P>;
25
- export type VkfUploadSource<P = string> = __VkfUpload.Source<P>;
26
- export type VkfColorPickerSource<P = string> = __VkfColorPicker.Source<P>;
27
- export type VkfCascaderSource<P = string> = __VkfCascader.Source<P>;
28
- export type VkfInputLinkSource<P = string> = __VkfInputLink.Source<P>;
29
- export type VkfSliderSource<P = string> = __VkfSlider.Source<P>;
30
- export type VkfInputTagSource<P = string> = __VkfInputTag.Source<P>;
31
- export interface ComponentSource extends BasicSource {
32
- templateType: 'Component';
33
- is: any;
34
- }
35
- export type CoreSource<P = 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 = 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>;
@@ -1,4 +0,0 @@
1
- import VkfTemplatesElementPlus from './src/index.vue';
2
- export * as __VkfTemplatesElementPlus from './src/types';
3
- export { VkfTemplatesElementPlus, };
4
- export default VkfTemplatesElementPlus;
@@ -1,9 +0,0 @@
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: {};
@@ -1,301 +0,0 @@
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" | "primary" | "success" | "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" | "primary" | "success" | "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" | "primary" | "success" | "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" | "primary" | "success" | "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" | "primary" | "success" | "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" | "primary" | "success" | "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;
@@ -1,13 +0,0 @@
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;
@@ -1,4 +0,0 @@
1
- import VkfTemplatesEsri from './src/index.vue';
2
- export * as __VkfTemplatesEsri from './src/types';
3
- export { VkfTemplatesEsri, };
4
- export default VkfTemplatesEsri;
@@ -1,11 +0,0 @@
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
- };