@vunk/form 2.14.0 → 2.14.2

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 (207) hide show
  1. package/components/api-tables-select/index.d.ts +4 -0
  2. package/components/api-tables-select/src/ctx.d.ts +374 -0
  3. package/components/api-tables-select/src/index.vue.d.ts +1335 -0
  4. package/components/api-tables-select/src/types.d.ts +19 -0
  5. package/components/button/index.d.ts +4 -0
  6. package/components/button/src/ctx.d.ts +185 -0
  7. package/components/button/src/index.vue.d.ts +813 -0
  8. package/components/button/src/types.d.ts +13 -0
  9. package/components/card-input-collection/index.d.ts +4 -0
  10. package/components/card-input-collection/src/ctx.d.ts +114 -0
  11. package/components/card-input-collection/src/index.vue.d.ts +1029 -0
  12. package/components/card-input-collection/src/types.d.ts +10 -0
  13. package/components/cascader/index.d.ts +6 -0
  14. package/components/cascader/src/ctx.d.ts +285 -0
  15. package/components/cascader/src/index.vue.d.ts +627 -0
  16. package/components/cascader/src/types.d.ts +19 -0
  17. package/components/cascader/src/use.d.ts +5 -0
  18. package/components/checkbox/index.d.ts +5 -0
  19. package/components/checkbox/src/ctx.d.ts +146 -0
  20. package/components/checkbox/src/index.vue.d.ts +1353 -0
  21. package/components/checkbox/src/types.d.ts +8 -0
  22. package/components/color-picker/index.d.ts +4 -0
  23. package/components/color-picker/src/ctx.d.ts +164 -0
  24. package/components/color-picker/src/index.vue.d.ts +366 -0
  25. package/components/color-picker/src/types.d.ts +7 -0
  26. package/components/date-picker/index.d.ts +5 -0
  27. package/components/date-picker/src/ctx.d.ts +321 -0
  28. package/components/date-picker/src/index.vue.d.ts +1423 -0
  29. package/components/date-picker/src/types.d.ts +20 -0
  30. package/components/date-picker-range/index.d.ts +4 -0
  31. package/components/date-picker-range/src/ctx.d.ts +329 -0
  32. package/components/date-picker-range/src/index.vue.d.ts +720 -0
  33. package/components/date-picker-range/src/types.d.ts +12 -0
  34. package/components/dialog-input-collection/index.d.ts +4 -0
  35. package/components/dialog-input-collection/src/ctx.d.ts +140 -0
  36. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1782 -0
  37. package/components/dialog-input-collection/src/index.vue.d.ts +3100 -0
  38. package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
  39. package/components/dialog-input-collection/src/types.d.ts +28 -0
  40. package/components/download-plus/index.d.ts +4 -0
  41. package/components/download-plus/src/api.d.ts +13 -0
  42. package/components/download-plus/src/const.d.ts +9 -0
  43. package/components/download-plus/src/ctx.d.ts +124 -0
  44. package/components/download-plus/src/index.vue.d.ts +1453 -0
  45. package/components/download-plus/src/types.d.ts +17 -0
  46. package/components/editable-text/index.d.ts +4 -0
  47. package/components/editable-text/src/ctx.d.ts +127 -0
  48. package/components/editable-text/src/index.vue.d.ts +3385 -0
  49. package/components/editable-text/src/types.d.ts +1 -0
  50. package/components/esri-input-geojson/index.d.ts +6 -0
  51. package/components/esri-input-geojson/src/append.vue.d.ts +1179 -0
  52. package/components/esri-input-geojson/src/const.d.ts +12 -0
  53. package/components/esri-input-geojson/src/ctx.d.ts +344 -0
  54. package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
  55. package/components/esri-input-geojson/src/index.vue.d.ts +1471 -0
  56. package/components/esri-input-geojson/src/types.d.ts +22 -0
  57. package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
  58. package/components/fieldset/index.d.ts +4 -0
  59. package/components/fieldset/src/ctx.d.ts +12 -0
  60. package/components/fieldset/src/index.vue.d.ts +23 -0
  61. package/components/fieldset/src/types.d.ts +1 -0
  62. package/components/fieldset/src/use.d.ts +5 -0
  63. package/components/form/index.d.ts +5 -0
  64. package/components/form/src/ctx.d.ts +139 -0
  65. package/components/form/src/index.vue.d.ts +1182 -0
  66. package/components/form/src/types.d.ts +25 -0
  67. package/components/form/src/utils.d.ts +15 -0
  68. package/components/form-item/index.d.ts +5 -0
  69. package/components/form-item/src/core.vue.d.ts +1847 -0
  70. package/components/form-item/src/ctx.d.ts +102 -0
  71. package/components/form-item/src/index.vue.d.ts +211 -0
  72. package/components/form-item/src/types.d.ts +10 -0
  73. package/components/form-item-renderer/index.d.ts +4 -0
  74. package/components/form-item-renderer/src/core.vue.d.ts +38 -0
  75. package/components/form-item-renderer/src/ctx.d.ts +16 -0
  76. package/components/form-item-renderer/src/index.vue.d.ts +93 -0
  77. package/components/form-item-renderer/src/types.d.ts +5 -0
  78. package/components/form-item-renderer/src/utils.d.ts +5 -0
  79. package/components/form-item-renderer-template/index.d.ts +4 -0
  80. package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
  81. package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
  82. package/components/form-item-renderer-template/src/types.d.ts +55 -0
  83. package/components/forms-provider/index.d.ts +6 -0
  84. package/components/forms-provider/src/core.d.ts +6 -0
  85. package/components/forms-provider/src/index.vue.d.ts +2 -0
  86. package/components/forms-provider/src/segment.vue.d.ts +9 -0
  87. package/components/forms-provider/src/types.d.ts +10 -0
  88. package/components/forms-provider/src/view.vue.d.ts +7 -0
  89. package/components/information/index.d.ts +4 -0
  90. package/components/information/src/ctx.d.ts +13 -0
  91. package/components/information/src/index.vue.d.ts +23 -0
  92. package/components/information/src/types.d.ts +3 -0
  93. package/components/information-collection/index.d.ts +4 -0
  94. package/components/information-collection/src/ctx.d.ts +142 -0
  95. package/components/information-collection/src/index.vue.d.ts +293 -0
  96. package/components/information-collection/src/types.d.ts +6 -0
  97. package/components/information-renderer/index.d.ts +73 -0
  98. package/components/information-tag/index.d.ts +4 -0
  99. package/components/information-tag/src/ctx.d.ts +64 -0
  100. package/components/information-tag/src/index.vue.d.ts +134 -0
  101. package/components/information-tag/src/types.d.ts +1 -0
  102. package/components/information-templates-default/index.d.ts +4 -0
  103. package/components/information-templates-default/src/ctx.d.ts +2 -0
  104. package/components/information-templates-default/src/index.vue.d.ts +2 -0
  105. package/components/information-templates-default/src/types.d.ts +1 -0
  106. package/components/input/index.d.ts +5 -0
  107. package/components/input/src/ctx.d.ts +273 -0
  108. package/components/input/src/index.vue.d.ts +1234 -0
  109. package/components/input/src/types.d.ts +13 -0
  110. package/components/input-array/index.d.ts +5 -0
  111. package/components/input-array/src/ctx.d.ts +129 -0
  112. package/components/input-array/src/form-template.vue.d.ts +867 -0
  113. package/components/input-array/src/index.vue.d.ts +855 -0
  114. package/components/input-array/src/types.d.ts +7 -0
  115. package/components/input-collection/index.cjs +3 -2
  116. package/components/input-collection/index.d.ts +4 -0
  117. package/components/input-collection/index.mjs +3 -2
  118. package/components/input-collection/src/ctx.d.ts +132 -0
  119. package/components/input-collection/src/index.vue.d.ts +1127 -0
  120. package/components/input-collection/src/types.d.ts +29 -0
  121. package/components/input-link/index.d.ts +4 -0
  122. package/components/input-link/src/ctx.d.ts +277 -0
  123. package/components/input-link/src/index.vue.d.ts +587 -0
  124. package/components/input-link/src/types.d.ts +7 -0
  125. package/components/input-number/index.d.ts +4 -0
  126. package/components/input-number/src/ctx.d.ts +211 -0
  127. package/components/input-number/src/index.vue.d.ts +852 -0
  128. package/components/input-number/src/types.d.ts +12 -0
  129. package/components/input-tag/index.d.ts +5 -0
  130. package/components/input-tag/src/ctx.d.ts +227 -0
  131. package/components/input-tag/src/index.vue.d.ts +947 -0
  132. package/components/input-tag/src/types.d.ts +22 -0
  133. package/components/monaco-editor/index.d.ts +4 -0
  134. package/components/monaco-editor/src/ctx.d.ts +110 -0
  135. package/components/monaco-editor/src/index.vue.d.ts +294 -0
  136. package/components/monaco-editor/src/types.d.ts +7 -0
  137. package/components/radio/index.d.ts +4 -0
  138. package/components/radio/src/ctx.d.ts +157 -0
  139. package/components/radio/src/index.vue.d.ts +1302 -0
  140. package/components/radio/src/types.d.ts +8 -0
  141. package/components/renderer-data/index.d.ts +4 -0
  142. package/components/renderer-data/src/ctx.d.ts +12 -0
  143. package/components/renderer-data/src/index.vue.d.ts +20 -0
  144. package/components/renderer-data/src/types.d.ts +1 -0
  145. package/components/select/index.d.ts +5 -0
  146. package/components/select/src/ctx.d.ts +220 -0
  147. package/components/select/src/index.vue.d.ts +1034 -0
  148. package/components/select/src/types.d.ts +11 -0
  149. package/components/slider/index.d.ts +4 -0
  150. package/components/slider/src/ctx.d.ts +248 -0
  151. package/components/slider/src/index.vue.d.ts +579 -0
  152. package/components/slider/src/types.d.ts +7 -0
  153. package/components/switch/index.d.ts +4 -0
  154. package/components/switch/src/ctx.d.ts +203 -0
  155. package/components/switch/src/index.vue.d.ts +886 -0
  156. package/components/switch/src/types.d.ts +8 -0
  157. package/components/tables-select/index.d.ts +5 -0
  158. package/components/tables-select/src/ctx.d.ts +420 -0
  159. package/components/tables-select/src/index.vue.d.ts +5411 -0
  160. package/components/tables-select/src/types.d.ts +9 -0
  161. package/components/template-instances-provider/index.d.ts +3 -0
  162. package/components/template-instances-provider/src/index.vue.d.ts +6 -0
  163. package/components/templates-default/index.d.ts +4 -0
  164. package/components/templates-default/src/ctx.d.ts +19 -0
  165. package/components/templates-default/src/index.vue.d.ts +187 -0
  166. package/components/templates-default/src/types.d.ts +55 -0
  167. package/components/templates-element-plus/index.d.ts +4 -0
  168. package/components/templates-element-plus/src/ctx.d.ts +9 -0
  169. package/components/templates-element-plus/src/index.vue.d.ts +301 -0
  170. package/components/templates-element-plus/src/types.d.ts +13 -0
  171. package/components/templates-esri/index.d.ts +4 -0
  172. package/components/templates-esri/src/ctx.d.ts +11 -0
  173. package/components/templates-esri/src/index.vue.d.ts +43 -0
  174. package/components/templates-esri/src/types.d.ts +2 -0
  175. package/components/templates-layout/index.d.ts +4 -0
  176. package/components/templates-layout/src/ctx.d.ts +9 -0
  177. package/components/templates-layout/src/index.vue.d.ts +446 -0
  178. package/components/templates-layout/src/types.d.ts +32 -0
  179. package/components/templates-variant/index.d.ts +4 -0
  180. package/components/templates-variant/src/ctx.d.ts +11 -0
  181. package/components/templates-variant/src/index.vue.d.ts +43 -0
  182. package/components/templates-variant/src/types.d.ts +2 -0
  183. package/components/upload/index.d.ts +5 -0
  184. package/components/upload/src/ctx.d.ts +289 -0
  185. package/components/upload/src/file.vue.d.ts +492 -0
  186. package/components/upload/src/index.vue.d.ts +1926 -0
  187. package/components/upload/src/types.d.ts +13 -0
  188. package/components/upload-plus/index.d.ts +6 -0
  189. package/components/upload-plus/src/api.d.ts +38 -0
  190. package/components/upload-plus/src/const.d.ts +9 -0
  191. package/components/upload-plus/src/ctx.d.ts +143 -0
  192. package/components/upload-plus/src/index.vue.d.ts +1770 -0
  193. package/components/upload-plus/src/types.d.ts +32 -0
  194. package/components/van-cascader/index.d.ts +4 -0
  195. package/components/van-cascader/src/ctx.d.ts +272 -0
  196. package/components/van-cascader/src/index.vue.d.ts +2093 -0
  197. package/components/van-cascader/src/types.d.ts +1 -0
  198. package/components/var-datetime-picker/index.d.ts +4 -0
  199. package/components/var-datetime-picker/src/const.d.ts +10 -0
  200. package/components/var-datetime-picker/src/ctx.d.ts +107 -0
  201. package/components/var-datetime-picker/src/index.vue.d.ts +1485 -0
  202. package/components/var-datetime-picker/src/types.d.ts +22 -0
  203. package/components/vditor/index.d.ts +4 -0
  204. package/components/vditor/src/ctx.d.ts +117 -0
  205. package/components/vditor/src/index.vue.d.ts +409 -0
  206. package/components/vditor/src/types.d.ts +7 -0
  207. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ data: {
3
+ type: import("vue").PropType<import("@vunk/shared").NormalObject>;
4
+ default: () => {};
5
+ };
6
+ formItems: {
7
+ type: import("vue").PropType<any[]>;
8
+ default: () => any[];
9
+ };
10
+ }>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ data: {
12
+ type: import("vue").PropType<import("@vunk/shared").NormalObject>;
13
+ default: () => {};
14
+ };
15
+ formItems: {
16
+ type: import("vue").PropType<any[]>;
17
+ default: () => any[];
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ data: import("@vunk/shared").NormalObject;
21
+ formItems: any[];
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { __VkfInputCollection } from '@vunk/form/components/input-collection';
2
+ import { __VkfTemplatesDefault } from '@vunk/form';
3
+ export type FormItem<P = string> = __VkfTemplatesDefault.Source<P> | __VkfInputCollection.Source<P>;
@@ -0,0 +1,4 @@
1
+ import VkfInformationCollection from './src/index.vue';
2
+ export * as __VkfInformationCollection from './src/types';
3
+ export { VkfInformationCollection, };
4
+ export default VkfInformationCollection;
@@ -0,0 +1,142 @@
1
+ import { Func } from '@vunk/core';
2
+ import { AnyFunc, NormalObject } from '@vunk/shared';
3
+ import { PropType } from 'vue';
4
+ import { TagProps } from 'element-plus';
5
+ export declare const props: {
6
+ information: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ modelValue: {
11
+ type: {
12
+ (arrayLength: number): NormalObject[];
13
+ (...items: NormalObject[]): NormalObject[];
14
+ new (arrayLength: number): NormalObject[];
15
+ new (...items: NormalObject[]): NormalObject[];
16
+ isArray(arg: any): arg is any[];
17
+ readonly prototype: any[];
18
+ from<T>(arrayLike: ArrayLike<T>): T[];
19
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
20
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
21
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
22
+ of<T>(...items: T[]): T[];
23
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
24
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
25
+ readonly [Symbol.species]: ArrayConstructor;
26
+ };
27
+ default: () => any[];
28
+ };
29
+ columns: {
30
+ type: {
31
+ (arrayLength: number): any[];
32
+ (...items: any[]): any[];
33
+ new (arrayLength: number): any[];
34
+ new (...items: any[]): any[];
35
+ isArray(arg: any): arg is any[];
36
+ readonly prototype: any[];
37
+ from<T>(arrayLike: ArrayLike<T>): T[];
38
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
39
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
40
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
41
+ of<T>(...items: T[]): T[];
42
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
43
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
44
+ readonly [Symbol.species]: ArrayConstructor;
45
+ };
46
+ default: () => any[];
47
+ };
48
+ labelRender: {
49
+ type: PropType<AnyFunc>;
50
+ default: any;
51
+ };
52
+ typeRender: {
53
+ type: PropType<Func<any, TagProps["type"]>>;
54
+ default: any;
55
+ };
56
+ required: {
57
+ readonly type: PropType<boolean>;
58
+ readonly required: false;
59
+ readonly validator: ((val: unknown) => boolean) | undefined;
60
+ __epPropKey: true;
61
+ } & {
62
+ readonly default: undefined;
63
+ };
64
+ formItemSize: {
65
+ type: PropType<"default" | "small" | "large">;
66
+ default: "default" | "small" | "large";
67
+ };
68
+ formItemSlots: {
69
+ type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
70
+ default: any;
71
+ };
72
+ elRef: {
73
+ type: PropType<any>;
74
+ required: boolean;
75
+ };
76
+ inline: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ readonly: {
81
+ type: BooleanConstructor;
82
+ default: any;
83
+ };
84
+ formItemTip: {
85
+ type: StringConstructor;
86
+ default: any;
87
+ };
88
+ formItemTipClass: any;
89
+ labelTip: {
90
+ type: StringConstructor;
91
+ default: any;
92
+ };
93
+ prop: any;
94
+ label: StringConstructor;
95
+ labelWidth: {
96
+ readonly type: PropType<string | number>;
97
+ readonly required: false;
98
+ readonly validator: ((val: unknown) => boolean) | undefined;
99
+ __epPropKey: true;
100
+ } & {
101
+ readonly default: "";
102
+ };
103
+ labelPosition: {
104
+ readonly type: PropType<"" | "top" | "left" | "right">;
105
+ readonly required: false;
106
+ readonly validator: ((val: unknown) => boolean) | undefined;
107
+ __epPropKey: true;
108
+ } & {
109
+ readonly default: "";
110
+ };
111
+ rules: {
112
+ readonly type: PropType<unknown>;
113
+ readonly required: false;
114
+ readonly validator: ((val: unknown) => boolean) | undefined;
115
+ __epPropKey: true;
116
+ };
117
+ error: StringConstructor;
118
+ validateStatus: {
119
+ readonly type: PropType<"" | "error" | "success" | "validating">;
120
+ readonly required: false;
121
+ readonly validator: ((val: unknown) => boolean) | undefined;
122
+ __epPropKey: true;
123
+ };
124
+ for: StringConstructor;
125
+ inlineMessage: {
126
+ readonly type: PropType<string | boolean>;
127
+ readonly required: false;
128
+ readonly validator: ((val: unknown) => boolean) | undefined;
129
+ __epPropKey: true;
130
+ } & {
131
+ readonly default: "";
132
+ };
133
+ showMessage: {
134
+ readonly type: PropType<boolean>;
135
+ readonly required: false;
136
+ readonly validator: ((val: unknown) => boolean) | undefined;
137
+ __epPropKey: true;
138
+ } & {
139
+ readonly default: true;
140
+ };
141
+ };
142
+ export declare const emits: {};
@@ -0,0 +1,293 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ information: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ modelValue: {
7
+ type: {
8
+ (arrayLength: number): import("@vunk/shared").NormalObject[];
9
+ (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
10
+ new (arrayLength: number): import("@vunk/shared").NormalObject[];
11
+ new (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
12
+ isArray(arg: any): arg is any[];
13
+ readonly prototype: any[];
14
+ from<T>(arrayLike: ArrayLike<T>): T[];
15
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
16
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
17
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
18
+ of<T>(...items: T[]): T[];
19
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
20
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
21
+ readonly [Symbol.species]: ArrayConstructor;
22
+ };
23
+ default: () => any[];
24
+ };
25
+ columns: {
26
+ type: {
27
+ (arrayLength: number): any[];
28
+ (...items: any[]): any[];
29
+ new (arrayLength: number): any[];
30
+ new (...items: any[]): any[];
31
+ isArray(arg: any): arg is any[];
32
+ readonly prototype: any[];
33
+ from<T>(arrayLike: ArrayLike<T>): T[];
34
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
35
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
36
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
37
+ of<T>(...items: T[]): T[];
38
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
39
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
40
+ readonly [Symbol.species]: ArrayConstructor;
41
+ };
42
+ default: () => any[];
43
+ };
44
+ labelRender: {
45
+ type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
46
+ default: any;
47
+ };
48
+ typeRender: {
49
+ type: import("vue").PropType<import("@vunk/core").Func<any, import("element-plus").TagProps["type"]>>;
50
+ default: any;
51
+ };
52
+ required: {
53
+ readonly type: import("vue").PropType<boolean>;
54
+ readonly required: false;
55
+ readonly validator: ((val: unknown) => boolean) | undefined;
56
+ __epPropKey: true;
57
+ } & {
58
+ readonly default: undefined;
59
+ };
60
+ formItemSize: {
61
+ type: import("vue").PropType<"default" | "small" | "large">;
62
+ default: "default" | "small" | "large";
63
+ };
64
+ formItemSlots: {
65
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
66
+ default: any;
67
+ };
68
+ elRef: {
69
+ type: import("vue").PropType<any>;
70
+ required: boolean;
71
+ };
72
+ inline: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ readonly: {
77
+ type: BooleanConstructor;
78
+ default: any;
79
+ };
80
+ formItemTip: {
81
+ type: StringConstructor;
82
+ default: any;
83
+ };
84
+ formItemTipClass: any;
85
+ labelTip: {
86
+ type: StringConstructor;
87
+ default: any;
88
+ };
89
+ prop: any;
90
+ label: StringConstructor;
91
+ labelWidth: {
92
+ readonly type: import("vue").PropType<string | number>;
93
+ readonly required: false;
94
+ readonly validator: ((val: unknown) => boolean) | undefined;
95
+ __epPropKey: true;
96
+ } & {
97
+ readonly default: "";
98
+ };
99
+ labelPosition: {
100
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
101
+ readonly required: false;
102
+ readonly validator: ((val: unknown) => boolean) | undefined;
103
+ __epPropKey: true;
104
+ } & {
105
+ readonly default: "";
106
+ };
107
+ rules: {
108
+ readonly type: import("vue").PropType<unknown>;
109
+ readonly required: false;
110
+ readonly validator: ((val: unknown) => boolean) | undefined;
111
+ __epPropKey: true;
112
+ };
113
+ error: StringConstructor;
114
+ validateStatus: {
115
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
116
+ readonly required: false;
117
+ readonly validator: ((val: unknown) => boolean) | undefined;
118
+ __epPropKey: true;
119
+ };
120
+ for: StringConstructor;
121
+ inlineMessage: {
122
+ readonly type: import("vue").PropType<string | boolean>;
123
+ readonly required: false;
124
+ readonly validator: ((val: unknown) => boolean) | undefined;
125
+ __epPropKey: true;
126
+ } & {
127
+ readonly default: "";
128
+ };
129
+ showMessage: {
130
+ readonly type: import("vue").PropType<boolean>;
131
+ readonly required: false;
132
+ readonly validator: ((val: unknown) => boolean) | undefined;
133
+ __epPropKey: true;
134
+ } & {
135
+ readonly default: true;
136
+ };
137
+ }>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
138
+ information: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
142
+ modelValue: {
143
+ type: {
144
+ (arrayLength: number): import("@vunk/shared").NormalObject[];
145
+ (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
146
+ new (arrayLength: number): import("@vunk/shared").NormalObject[];
147
+ new (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
148
+ isArray(arg: any): arg is any[];
149
+ readonly prototype: any[];
150
+ from<T>(arrayLike: ArrayLike<T>): T[];
151
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
152
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
153
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
154
+ of<T>(...items: T[]): T[];
155
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
156
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
157
+ readonly [Symbol.species]: ArrayConstructor;
158
+ };
159
+ default: () => any[];
160
+ };
161
+ columns: {
162
+ type: {
163
+ (arrayLength: number): any[];
164
+ (...items: any[]): any[];
165
+ new (arrayLength: number): any[];
166
+ new (...items: any[]): any[];
167
+ isArray(arg: any): arg is any[];
168
+ readonly prototype: any[];
169
+ from<T>(arrayLike: ArrayLike<T>): T[];
170
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
171
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
172
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
173
+ of<T>(...items: T[]): T[];
174
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
175
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
176
+ readonly [Symbol.species]: ArrayConstructor;
177
+ };
178
+ default: () => any[];
179
+ };
180
+ labelRender: {
181
+ type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
182
+ default: any;
183
+ };
184
+ typeRender: {
185
+ type: import("vue").PropType<import("@vunk/core").Func<any, import("element-plus").TagProps["type"]>>;
186
+ default: any;
187
+ };
188
+ required: {
189
+ readonly type: import("vue").PropType<boolean>;
190
+ readonly required: false;
191
+ readonly validator: ((val: unknown) => boolean) | undefined;
192
+ __epPropKey: true;
193
+ } & {
194
+ readonly default: undefined;
195
+ };
196
+ formItemSize: {
197
+ type: import("vue").PropType<"default" | "small" | "large">;
198
+ default: "default" | "small" | "large";
199
+ };
200
+ formItemSlots: {
201
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
202
+ default: any;
203
+ };
204
+ elRef: {
205
+ type: import("vue").PropType<any>;
206
+ required: boolean;
207
+ };
208
+ inline: {
209
+ type: BooleanConstructor;
210
+ default: boolean;
211
+ };
212
+ readonly: {
213
+ type: BooleanConstructor;
214
+ default: any;
215
+ };
216
+ formItemTip: {
217
+ type: StringConstructor;
218
+ default: any;
219
+ };
220
+ formItemTipClass: any;
221
+ labelTip: {
222
+ type: StringConstructor;
223
+ default: any;
224
+ };
225
+ prop: any;
226
+ label: StringConstructor;
227
+ labelWidth: {
228
+ readonly type: import("vue").PropType<string | number>;
229
+ readonly required: false;
230
+ readonly validator: ((val: unknown) => boolean) | undefined;
231
+ __epPropKey: true;
232
+ } & {
233
+ readonly default: "";
234
+ };
235
+ labelPosition: {
236
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
237
+ readonly required: false;
238
+ readonly validator: ((val: unknown) => boolean) | undefined;
239
+ __epPropKey: true;
240
+ } & {
241
+ readonly default: "";
242
+ };
243
+ rules: {
244
+ readonly type: import("vue").PropType<unknown>;
245
+ readonly required: false;
246
+ readonly validator: ((val: unknown) => boolean) | undefined;
247
+ __epPropKey: true;
248
+ };
249
+ error: StringConstructor;
250
+ validateStatus: {
251
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
252
+ readonly required: false;
253
+ readonly validator: ((val: unknown) => boolean) | undefined;
254
+ __epPropKey: true;
255
+ };
256
+ for: StringConstructor;
257
+ inlineMessage: {
258
+ readonly type: import("vue").PropType<string | boolean>;
259
+ readonly required: false;
260
+ readonly validator: ((val: unknown) => boolean) | undefined;
261
+ __epPropKey: true;
262
+ } & {
263
+ readonly default: "";
264
+ };
265
+ showMessage: {
266
+ readonly type: import("vue").PropType<boolean>;
267
+ readonly required: false;
268
+ readonly validator: ((val: unknown) => boolean) | undefined;
269
+ __epPropKey: true;
270
+ } & {
271
+ readonly default: true;
272
+ };
273
+ }>> & Readonly<{}>, {
274
+ required: boolean;
275
+ formItemSize: "default" | "small" | "large";
276
+ formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
277
+ inline: boolean;
278
+ readonly: boolean;
279
+ formItemTip: string;
280
+ formItemTipClass: any;
281
+ labelTip: string;
282
+ information: boolean;
283
+ prop: any;
284
+ labelWidth: string | number;
285
+ labelPosition: "" | "top" | "left" | "right";
286
+ inlineMessage: string | boolean;
287
+ showMessage: boolean;
288
+ modelValue: import("@vunk/shared").NormalObject[];
289
+ columns: any[];
290
+ labelRender: import("@vunk/shared").AnyFunc;
291
+ typeRender: ((...args: any) => "primary" | "success" | "warning" | "info" | "danger") | ((arg: any) => "primary" | "success" | "warning" | "info" | "danger");
292
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
293
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { __VkfInputCollection } from '@vunk/form/components/input-collection';
2
+ import { __VkfTemplatesDefault } from '@vunk/form';
3
+ import { Keyof, NormalObject, VueComponentPropsType } from '@vunk/shared';
4
+ import type Core from './index.vue';
5
+ export type Column<R extends NormalObject = NormalObject, SourceType extends NormalObject = __VkfTemplatesDefault.CoreSource<Keyof<R>>> = __VkfInputCollection.Column<R, SourceType>;
6
+ export type ComponentProps = VueComponentPropsType<typeof Core>;
@@ -0,0 +1,73 @@
1
+ export declare const VkfInformationRenderer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ source: {
3
+ type: import("vue").PropType<import("@vunk/core/components/renderer/src/types").SourceItem[]>;
4
+ default: () => any[];
5
+ };
6
+ templateInstances: {
7
+ type: import("vue").PropType<Record<string, import("vue").ComponentInternalInstance>>;
8
+ default: any;
9
+ };
10
+ k: {
11
+ type: import("vue").PropType<(string | number)[]>;
12
+ default: () => any[];
13
+ };
14
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
+ [key: string]: any;
16
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ source: {
18
+ type: import("vue").PropType<import("@vunk/core/components/renderer/src/types").SourceItem[]>;
19
+ default: () => any[];
20
+ };
21
+ templateInstances: {
22
+ type: import("vue").PropType<Record<string, import("vue").ComponentInternalInstance>>;
23
+ default: any;
24
+ };
25
+ k: {
26
+ type: import("vue").PropType<(string | number)[]>;
27
+ default: () => any[];
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ source: import("@vunk/core/components/renderer/src/types").SourceItem[];
31
+ templateInstances: Record<string, import("vue").ComponentInternalInstance>;
32
+ k: (string | number)[];
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
+ export declare const VkfInformationTemplates: import("vue").DefineComponent<{}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }>[]) | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
+ [key: string]: any;
38
+ }>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
+ export declare const VkfInformationData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
40
+ data: {
41
+ type: import("vue").PropType<import("packages/entry").NormalObject>;
42
+ default: () => {};
43
+ };
44
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
+ setData: (e: import("packages/entry").SetDataEvent) => import("packages/entry").SetDataEvent;
48
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
+ data: {
50
+ type: import("vue").PropType<import("packages/entry").NormalObject>;
51
+ default: () => {};
52
+ };
53
+ }>> & Readonly<{
54
+ onSetData?: (e: import("packages/entry").SetDataEvent) => any;
55
+ }>, {
56
+ data: import("packages/entry").NormalObject;
57
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
58
+ export declare const VkfInformationTemplate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
59
+ type: {
60
+ type: StringConstructor;
61
+ required: boolean;
62
+ default: string;
63
+ };
64
+ }>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
+ type: {
66
+ type: StringConstructor;
67
+ required: boolean;
68
+ default: string;
69
+ };
70
+ }>> & Readonly<{}>, {
71
+ type: string;
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
73
+ export declare const useInformationData: () => Partial<import("@vunk/core/components/renderer-data/src/types").RendererDataContext>;
@@ -0,0 +1,4 @@
1
+ import VkfInformationTag from './src/index.vue';
2
+ export * as __VkfInformationTag from './src/types';
3
+ export { VkfInformationTag, };
4
+ export default VkfInformationTag;
@@ -0,0 +1,64 @@
1
+ import { PropType } from 'vue';
2
+ import { Placement } from '@sxzz/popperjs-es';
3
+ import { NormalObject } from '@vunk/shared';
4
+ export declare const props: {
5
+ data: {
6
+ type: ObjectConstructor;
7
+ default: () => {};
8
+ };
9
+ labelRender: {
10
+ type: PropType<(data: NormalObject) => string>;
11
+ default: (data: any) => any;
12
+ };
13
+ title: {
14
+ type: PropType<string | ((data: any) => string)>;
15
+ default: string;
16
+ };
17
+ placement: {
18
+ type: PropType<Placement>;
19
+ default: string;
20
+ };
21
+ formItems: {
22
+ type: PropType<any[]>;
23
+ default: () => any[];
24
+ };
25
+ trigger: {
26
+ type: PropType<"click" | "focus" | "hover" | "contextmenu">;
27
+ default: string;
28
+ };
29
+ showAfter: {
30
+ type: NumberConstructor;
31
+ default: number;
32
+ };
33
+ type: {
34
+ readonly type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
35
+ readonly required: false;
36
+ readonly validator: ((val: unknown) => boolean) | undefined;
37
+ __epPropKey: true;
38
+ } & {
39
+ readonly default: "primary";
40
+ };
41
+ closable: BooleanConstructor;
42
+ disableTransitions: BooleanConstructor;
43
+ hit: BooleanConstructor;
44
+ color: StringConstructor;
45
+ size: {
46
+ readonly type: PropType<"" | "default" | "small" | "large">;
47
+ readonly required: false;
48
+ readonly validator: ((val: unknown) => boolean) | undefined;
49
+ __epPropKey: true;
50
+ };
51
+ effect: {
52
+ readonly type: PropType<"dark" | "light" | "plain">;
53
+ readonly required: false;
54
+ readonly validator: ((val: unknown) => boolean) | undefined;
55
+ __epPropKey: true;
56
+ } & {
57
+ readonly default: "light";
58
+ };
59
+ round: BooleanConstructor;
60
+ };
61
+ export declare const emits: {
62
+ close: (evt: MouseEvent) => boolean;
63
+ click: (evt: MouseEvent) => boolean;
64
+ };