@vunk/form 2.16.5 → 2.16.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 (227) hide show
  1. package/components/select/index.cjs +13 -8
  2. package/components/select/index.mjs +7 -2
  3. package/package.json +1 -1
  4. package/shared/element-plus/ctx.d.ts +12 -11
  5. package/shared/element-plus/index.cjs +2 -132
  6. package/shared/element-plus/index.mjs +2 -130
  7. package/shared/element-plus/instances.d.ts +2 -99
  8. package/components/api-tables-select/index.d.ts +0 -4
  9. package/components/api-tables-select/src/ctx.d.ts +0 -375
  10. package/components/api-tables-select/src/index.vue.d.ts +0 -1340
  11. package/components/api-tables-select/src/types.d.ts +0 -19
  12. package/components/button/index.d.ts +0 -4
  13. package/components/button/src/ctx.d.ts +0 -193
  14. package/components/button/src/index.vue.d.ts +0 -851
  15. package/components/button/src/types.d.ts +0 -13
  16. package/components/card-input-collection/index.d.ts +0 -4
  17. package/components/card-input-collection/src/core.vue.d.ts +0 -1125
  18. package/components/card-input-collection/src/ctx.d.ts +0 -154
  19. package/components/card-input-collection/src/index.vue.d.ts +0 -287
  20. package/components/card-input-collection/src/types.d.ts +0 -17
  21. package/components/cascader/index.d.ts +0 -6
  22. package/components/cascader/src/ctx.d.ts +0 -343
  23. package/components/cascader/src/index.vue.d.ts +0 -775
  24. package/components/cascader/src/types.d.ts +0 -19
  25. package/components/cascader/src/use.d.ts +0 -5
  26. package/components/checkbox/index.d.ts +0 -5
  27. package/components/checkbox/src/ctx.d.ts +0 -146
  28. package/components/checkbox/src/index.vue.d.ts +0 -1353
  29. package/components/checkbox/src/types.d.ts +0 -8
  30. package/components/color-picker/index.d.ts +0 -4
  31. package/components/color-picker/src/ctx.d.ts +0 -179
  32. package/components/color-picker/src/index.vue.d.ts +0 -398
  33. package/components/color-picker/src/types.d.ts +0 -7
  34. package/components/date-picker/index.d.ts +0 -5
  35. package/components/date-picker/src/ctx.d.ts +0 -364
  36. package/components/date-picker/src/index.vue.d.ts +0 -1665
  37. package/components/date-picker/src/types.d.ts +0 -20
  38. package/components/date-picker-range/index.d.ts +0 -4
  39. package/components/date-picker-range/src/ctx.d.ts +0 -372
  40. package/components/date-picker-range/src/index.vue.d.ts +0 -808
  41. package/components/date-picker-range/src/types.d.ts +0 -12
  42. package/components/dialog/index.d.ts +0 -4
  43. package/components/dialog/src/ctx.d.ts +0 -174
  44. package/components/dialog/src/index.vue.d.ts +0 -1180
  45. package/components/dialog/src/types.d.ts +0 -1
  46. package/components/dialog-input-collection/index.d.ts +0 -4
  47. package/components/dialog-input-collection/src/ctx.d.ts +0 -141
  48. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +0 -6430
  49. package/components/dialog-input-collection/src/index.vue.d.ts +0 -7773
  50. package/components/dialog-input-collection/src/layout.vue.d.ts +0 -85
  51. package/components/dialog-input-collection/src/types.d.ts +0 -28
  52. package/components/download-plus/index.d.ts +0 -4
  53. package/components/download-plus/src/api.d.ts +0 -13
  54. package/components/download-plus/src/const.d.ts +0 -9
  55. package/components/download-plus/src/ctx.d.ts +0 -125
  56. package/components/download-plus/src/index.vue.d.ts +0 -1495
  57. package/components/download-plus/src/types.d.ts +0 -17
  58. package/components/editable-text/index.d.ts +0 -4
  59. package/components/editable-text/src/ctx.d.ts +0 -128
  60. package/components/editable-text/src/index.vue.d.ts +0 -3389
  61. package/components/editable-text/src/types.d.ts +0 -1
  62. package/components/esri-input-geojson/index.d.ts +0 -6
  63. package/components/esri-input-geojson/src/append.vue.d.ts +0 -1200
  64. package/components/esri-input-geojson/src/const.d.ts +0 -12
  65. package/components/esri-input-geojson/src/ctx.d.ts +0 -351
  66. package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
  67. package/components/esri-input-geojson/src/index.vue.d.ts +0 -1488
  68. package/components/esri-input-geojson/src/types.d.ts +0 -22
  69. package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
  70. package/components/fieldset/index.d.ts +0 -4
  71. package/components/fieldset/src/ctx.d.ts +0 -16
  72. package/components/fieldset/src/index.vue.d.ts +0 -32
  73. package/components/fieldset/src/types.d.ts +0 -1
  74. package/components/fieldset/src/use.d.ts +0 -5
  75. package/components/form/index.d.ts +0 -5
  76. package/components/form/src/ctx.d.ts +0 -139
  77. package/components/form/src/index.vue.d.ts +0 -4027
  78. package/components/form/src/types.d.ts +0 -25
  79. package/components/form/src/utils.d.ts +0 -15
  80. package/components/form-item/index.d.ts +0 -5
  81. package/components/form-item/src/core.vue.d.ts +0 -1874
  82. package/components/form-item/src/ctx.d.ts +0 -103
  83. package/components/form-item/src/index.vue.d.ts +0 -214
  84. package/components/form-item/src/types.d.ts +0 -10
  85. package/components/form-item-renderer/index.d.ts +0 -4
  86. package/components/form-item-renderer/src/core.vue.d.ts +0 -38
  87. package/components/form-item-renderer/src/ctx.d.ts +0 -16
  88. package/components/form-item-renderer/src/index.vue.d.ts +0 -93
  89. package/components/form-item-renderer/src/types.d.ts +0 -5
  90. package/components/form-item-renderer/src/utils.d.ts +0 -5
  91. package/components/form-item-renderer-template/index.d.ts +0 -4
  92. package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
  93. package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
  94. package/components/form-item-renderer-template/src/types.d.ts +0 -55
  95. package/components/forms-provider/index.d.ts +0 -6
  96. package/components/forms-provider/src/core.d.ts +0 -6
  97. package/components/forms-provider/src/index.vue.d.ts +0 -2
  98. package/components/forms-provider/src/segment.vue.d.ts +0 -9
  99. package/components/forms-provider/src/types.d.ts +0 -10
  100. package/components/forms-provider/src/view.vue.d.ts +0 -7
  101. package/components/information/index.d.ts +0 -4
  102. package/components/information/src/ctx.d.ts +0 -16
  103. package/components/information/src/index.vue.d.ts +0 -27
  104. package/components/information/src/types.d.ts +0 -3
  105. package/components/information-collection/index.d.ts +0 -4
  106. package/components/information-collection/src/ctx.d.ts +0 -143
  107. package/components/information-collection/src/index.vue.d.ts +0 -296
  108. package/components/information-collection/src/types.d.ts +0 -6
  109. package/components/information-renderer/index.d.ts +0 -73
  110. package/components/information-tag/index.d.ts +0 -4
  111. package/components/information-tag/src/ctx.d.ts +0 -64
  112. package/components/information-tag/src/index.vue.d.ts +0 -134
  113. package/components/information-tag/src/types.d.ts +0 -1
  114. package/components/information-templates-default/index.d.ts +0 -4
  115. package/components/information-templates-default/src/ctx.d.ts +0 -2
  116. package/components/information-templates-default/src/index.vue.d.ts +0 -2
  117. package/components/information-templates-default/src/types.d.ts +0 -1
  118. package/components/input/index.d.ts +0 -5
  119. package/components/input/src/ctx.d.ts +0 -280
  120. package/components/input/src/index.vue.d.ts +0 -1268
  121. package/components/input/src/types.d.ts +0 -13
  122. package/components/input-array/index.d.ts +0 -5
  123. package/components/input-array/src/ctx.d.ts +0 -136
  124. package/components/input-array/src/form-template.vue.d.ts +0 -901
  125. package/components/input-array/src/index.vue.d.ts +0 -889
  126. package/components/input-array/src/types.d.ts +0 -7
  127. package/components/input-collection/index.d.ts +0 -4
  128. package/components/input-collection/src/core.vue.d.ts +0 -1203
  129. package/components/input-collection/src/ctx.d.ts +0 -154
  130. package/components/input-collection/src/index.vue.d.ts +0 -296
  131. package/components/input-collection/src/types.d.ts +0 -29
  132. package/components/input-file/index.d.ts +0 -5
  133. package/components/input-file/src/ctx.d.ts +0 -46
  134. package/components/input-file/src/index.vue.d.ts +0 -112
  135. package/components/input-file/src/template.vue.d.ts +0 -125
  136. package/components/input-file/src/types.d.ts +0 -8
  137. package/components/input-link/index.d.ts +0 -4
  138. package/components/input-link/src/ctx.d.ts +0 -284
  139. package/components/input-link/src/index.vue.d.ts +0 -602
  140. package/components/input-link/src/types.d.ts +0 -7
  141. package/components/input-number/index.d.ts +0 -4
  142. package/components/input-number/src/ctx.d.ts +0 -221
  143. package/components/input-number/src/index.vue.d.ts +0 -910
  144. package/components/input-number/src/types.d.ts +0 -12
  145. package/components/input-tag/index.d.ts +0 -5
  146. package/components/input-tag/src/ctx.d.ts +0 -244
  147. package/components/input-tag/src/index.vue.d.ts +0 -1050
  148. package/components/input-tag/src/types.d.ts +0 -22
  149. package/components/monaco-editor/index.d.ts +0 -4
  150. package/components/monaco-editor/src/ctx.d.ts +0 -111
  151. package/components/monaco-editor/src/index.vue.d.ts +0 -297
  152. package/components/monaco-editor/src/types.d.ts +0 -7
  153. package/components/radio/index.d.ts +0 -4
  154. package/components/radio/src/ctx.d.ts +0 -165
  155. package/components/radio/src/index.vue.d.ts +0 -1488
  156. package/components/radio/src/option.vue.d.ts +0 -901
  157. package/components/radio/src/types.d.ts +0 -8
  158. package/components/radio/src/wraper.vue.d.ts +0 -337
  159. package/components/renderer-data/index.d.ts +0 -4
  160. package/components/renderer-data/src/ctx.d.ts +0 -12
  161. package/components/renderer-data/src/index.vue.d.ts +0 -20
  162. package/components/renderer-data/src/types.d.ts +0 -1
  163. package/components/select/index.d.ts +0 -5
  164. package/components/select/src/core.vue.d.ts +0 -1070
  165. package/components/select/src/ctx.d.ts +0 -238
  166. package/components/select/src/index.vue.d.ts +0 -639
  167. package/components/select/src/options.vue.d.ts +0 -24
  168. package/components/select/src/types.d.ts +0 -13
  169. package/components/slider/index.d.ts +0 -4
  170. package/components/slider/src/ctx.d.ts +0 -248
  171. package/components/slider/src/index.vue.d.ts +0 -579
  172. package/components/slider/src/types.d.ts +0 -7
  173. package/components/switch/index.d.ts +0 -4
  174. package/components/switch/src/ctx.d.ts +0 -201
  175. package/components/switch/src/index.vue.d.ts +0 -882
  176. package/components/switch/src/types.d.ts +0 -7
  177. package/components/tables-select/index.d.ts +0 -5
  178. package/components/tables-select/src/ctx.d.ts +0 -421
  179. package/components/tables-select/src/index.vue.d.ts +0 -5510
  180. package/components/tables-select/src/types.d.ts +0 -9
  181. package/components/template-instances-provider/index.d.ts +0 -3
  182. package/components/template-instances-provider/src/index.vue.d.ts +0 -6
  183. package/components/templates-default/index.d.ts +0 -4
  184. package/components/templates-default/src/ctx.d.ts +0 -19
  185. package/components/templates-default/src/index.vue.d.ts +0 -187
  186. package/components/templates-default/src/types.d.ts +0 -55
  187. package/components/templates-element-plus/index.d.ts +0 -4
  188. package/components/templates-element-plus/src/ctx.d.ts +0 -9
  189. package/components/templates-element-plus/src/index.vue.d.ts +0 -301
  190. package/components/templates-element-plus/src/types.d.ts +0 -13
  191. package/components/templates-esri/index.d.ts +0 -4
  192. package/components/templates-esri/src/ctx.d.ts +0 -11
  193. package/components/templates-esri/src/index.vue.d.ts +0 -43
  194. package/components/templates-esri/src/types.d.ts +0 -2
  195. package/components/templates-layout/index.d.ts +0 -4
  196. package/components/templates-layout/src/ctx.d.ts +0 -9
  197. package/components/templates-layout/src/index.vue.d.ts +0 -446
  198. package/components/templates-layout/src/types.d.ts +0 -32
  199. package/components/templates-variant/index.d.ts +0 -4
  200. package/components/templates-variant/src/ctx.d.ts +0 -11
  201. package/components/templates-variant/src/index.vue.d.ts +0 -43
  202. package/components/templates-variant/src/types.d.ts +0 -2
  203. package/components/upload/index.d.ts +0 -5
  204. package/components/upload/src/ctx.d.ts +0 -291
  205. package/components/upload/src/file.vue.d.ts +0 -913
  206. package/components/upload/src/index.vue.d.ts +0 -2347
  207. package/components/upload/src/types.d.ts +0 -13
  208. package/components/upload/src/wraper.vue.d.ts +0 -590
  209. package/components/upload-plus/index.d.ts +0 -6
  210. package/components/upload-plus/src/api.d.ts +0 -38
  211. package/components/upload-plus/src/const.d.ts +0 -9
  212. package/components/upload-plus/src/ctx.d.ts +0 -144
  213. package/components/upload-plus/src/index.vue.d.ts +0 -1813
  214. package/components/upload-plus/src/types.d.ts +0 -32
  215. package/components/van-cascader/index.d.ts +0 -4
  216. package/components/van-cascader/src/ctx.d.ts +0 -330
  217. package/components/van-cascader/src/index.vue.d.ts +0 -1241
  218. package/components/van-cascader/src/types.d.ts +0 -1
  219. package/components/var-datetime-picker/index.d.ts +0 -4
  220. package/components/var-datetime-picker/src/const.d.ts +0 -10
  221. package/components/var-datetime-picker/src/ctx.d.ts +0 -108
  222. package/components/var-datetime-picker/src/index.vue.d.ts +0 -1622
  223. package/components/var-datetime-picker/src/types.d.ts +0 -22
  224. package/components/vditor/index.d.ts +0 -4
  225. package/components/vditor/src/ctx.d.ts +0 -118
  226. package/components/vditor/src/index.vue.d.ts +0 -412
  227. 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
- };