@vunk/form 2.16.6 → 2.16.7

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 (223) hide show
  1. package/components/api-tables-select/index.d.ts +4 -0
  2. package/components/api-tables-select/src/ctx.d.ts +375 -0
  3. package/components/api-tables-select/src/index.vue.d.ts +1340 -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 +193 -0
  7. package/components/button/src/index.vue.d.ts +851 -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/core.vue.d.ts +1125 -0
  11. package/components/card-input-collection/src/ctx.d.ts +154 -0
  12. package/components/card-input-collection/src/index.vue.d.ts +287 -0
  13. package/components/card-input-collection/src/types.d.ts +17 -0
  14. package/components/cascader/index.d.ts +6 -0
  15. package/components/cascader/src/ctx.d.ts +343 -0
  16. package/components/cascader/src/index.vue.d.ts +775 -0
  17. package/components/cascader/src/types.d.ts +19 -0
  18. package/components/cascader/src/use.d.ts +5 -0
  19. package/components/checkbox/index.d.ts +5 -0
  20. package/components/checkbox/src/ctx.d.ts +146 -0
  21. package/components/checkbox/src/index.vue.d.ts +1353 -0
  22. package/components/checkbox/src/types.d.ts +8 -0
  23. package/components/color-picker/index.d.ts +4 -0
  24. package/components/color-picker/src/ctx.d.ts +179 -0
  25. package/components/color-picker/src/index.vue.d.ts +398 -0
  26. package/components/color-picker/src/types.d.ts +7 -0
  27. package/components/date-picker/index.d.ts +5 -0
  28. package/components/date-picker/src/ctx.d.ts +364 -0
  29. package/components/date-picker/src/index.vue.d.ts +1665 -0
  30. package/components/date-picker/src/types.d.ts +20 -0
  31. package/components/date-picker-range/index.d.ts +4 -0
  32. package/components/date-picker-range/src/ctx.d.ts +372 -0
  33. package/components/date-picker-range/src/index.vue.d.ts +808 -0
  34. package/components/date-picker-range/src/types.d.ts +12 -0
  35. package/components/dialog/index.d.ts +4 -0
  36. package/components/dialog/src/ctx.d.ts +174 -0
  37. package/components/dialog/src/index.vue.d.ts +1180 -0
  38. package/components/dialog/src/types.d.ts +1 -0
  39. package/components/dialog-input-collection/index.d.ts +4 -0
  40. package/components/dialog-input-collection/src/ctx.d.ts +141 -0
  41. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +6430 -0
  42. package/components/dialog-input-collection/src/index.vue.d.ts +7773 -0
  43. package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
  44. package/components/dialog-input-collection/src/types.d.ts +28 -0
  45. package/components/download-plus/index.d.ts +4 -0
  46. package/components/download-plus/src/api.d.ts +13 -0
  47. package/components/download-plus/src/const.d.ts +9 -0
  48. package/components/download-plus/src/ctx.d.ts +125 -0
  49. package/components/download-plus/src/index.vue.d.ts +1495 -0
  50. package/components/download-plus/src/types.d.ts +17 -0
  51. package/components/editable-text/index.d.ts +4 -0
  52. package/components/editable-text/src/ctx.d.ts +128 -0
  53. package/components/editable-text/src/index.vue.d.ts +3389 -0
  54. package/components/editable-text/src/types.d.ts +1 -0
  55. package/components/esri-input-geojson/index.d.ts +6 -0
  56. package/components/esri-input-geojson/src/append.vue.d.ts +1200 -0
  57. package/components/esri-input-geojson/src/const.d.ts +12 -0
  58. package/components/esri-input-geojson/src/ctx.d.ts +351 -0
  59. package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
  60. package/components/esri-input-geojson/src/index.vue.d.ts +1488 -0
  61. package/components/esri-input-geojson/src/types.d.ts +22 -0
  62. package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
  63. package/components/fieldset/index.d.ts +4 -0
  64. package/components/fieldset/src/ctx.d.ts +16 -0
  65. package/components/fieldset/src/index.vue.d.ts +32 -0
  66. package/components/fieldset/src/types.d.ts +1 -0
  67. package/components/fieldset/src/use.d.ts +5 -0
  68. package/components/form/index.d.ts +5 -0
  69. package/components/form/src/ctx.d.ts +139 -0
  70. package/components/form/src/index.vue.d.ts +2613 -0
  71. package/components/form/src/types.d.ts +25 -0
  72. package/components/form/src/utils.d.ts +15 -0
  73. package/components/form-item/index.d.ts +5 -0
  74. package/components/form-item/src/core.vue.d.ts +1874 -0
  75. package/components/form-item/src/ctx.d.ts +103 -0
  76. package/components/form-item/src/index.vue.d.ts +214 -0
  77. package/components/form-item/src/types.d.ts +10 -0
  78. package/components/form-item-renderer/index.d.ts +4 -0
  79. package/components/form-item-renderer/src/core.vue.d.ts +38 -0
  80. package/components/form-item-renderer/src/ctx.d.ts +16 -0
  81. package/components/form-item-renderer/src/index.vue.d.ts +93 -0
  82. package/components/form-item-renderer/src/types.d.ts +5 -0
  83. package/components/form-item-renderer/src/utils.d.ts +5 -0
  84. package/components/form-item-renderer-template/index.d.ts +4 -0
  85. package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
  86. package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
  87. package/components/form-item-renderer-template/src/types.d.ts +55 -0
  88. package/components/forms-provider/index.d.ts +6 -0
  89. package/components/forms-provider/src/core.d.ts +6 -0
  90. package/components/forms-provider/src/index.vue.d.ts +2 -0
  91. package/components/forms-provider/src/segment.vue.d.ts +9 -0
  92. package/components/forms-provider/src/types.d.ts +10 -0
  93. package/components/forms-provider/src/view.vue.d.ts +7 -0
  94. package/components/information/index.d.ts +4 -0
  95. package/components/information/src/ctx.d.ts +16 -0
  96. package/components/information/src/index.vue.d.ts +27 -0
  97. package/components/information/src/types.d.ts +3 -0
  98. package/components/information-collection/index.d.ts +4 -0
  99. package/components/information-collection/src/ctx.d.ts +143 -0
  100. package/components/information-collection/src/index.vue.d.ts +296 -0
  101. package/components/information-collection/src/types.d.ts +6 -0
  102. package/components/information-renderer/index.d.ts +73 -0
  103. package/components/information-tag/index.d.ts +4 -0
  104. package/components/information-tag/src/ctx.d.ts +64 -0
  105. package/components/information-tag/src/index.vue.d.ts +134 -0
  106. package/components/information-tag/src/types.d.ts +1 -0
  107. package/components/information-templates-default/index.d.ts +4 -0
  108. package/components/information-templates-default/src/ctx.d.ts +2 -0
  109. package/components/information-templates-default/src/index.vue.d.ts +2 -0
  110. package/components/information-templates-default/src/types.d.ts +1 -0
  111. package/components/input/index.d.ts +5 -0
  112. package/components/input/src/ctx.d.ts +280 -0
  113. package/components/input/src/index.vue.d.ts +1268 -0
  114. package/components/input/src/types.d.ts +13 -0
  115. package/components/input-array/index.d.ts +5 -0
  116. package/components/input-array/src/ctx.d.ts +136 -0
  117. package/components/input-array/src/form-template.vue.d.ts +901 -0
  118. package/components/input-array/src/index.vue.d.ts +889 -0
  119. package/components/input-array/src/types.d.ts +7 -0
  120. package/components/input-collection/index.d.ts +4 -0
  121. package/components/input-collection/src/core.vue.d.ts +1203 -0
  122. package/components/input-collection/src/ctx.d.ts +154 -0
  123. package/components/input-collection/src/index.vue.d.ts +296 -0
  124. package/components/input-collection/src/types.d.ts +29 -0
  125. package/components/input-file/index.d.ts +5 -0
  126. package/components/input-file/src/ctx.d.ts +46 -0
  127. package/components/input-file/src/index.vue.d.ts +112 -0
  128. package/components/input-file/src/template.vue.d.ts +125 -0
  129. package/components/input-file/src/types.d.ts +8 -0
  130. package/components/input-link/index.d.ts +4 -0
  131. package/components/input-link/src/ctx.d.ts +284 -0
  132. package/components/input-link/src/index.vue.d.ts +602 -0
  133. package/components/input-link/src/types.d.ts +7 -0
  134. package/components/input-number/index.d.ts +4 -0
  135. package/components/input-number/src/ctx.d.ts +221 -0
  136. package/components/input-number/src/index.vue.d.ts +910 -0
  137. package/components/input-number/src/types.d.ts +12 -0
  138. package/components/input-tag/index.d.ts +5 -0
  139. package/components/input-tag/src/ctx.d.ts +244 -0
  140. package/components/input-tag/src/index.vue.d.ts +1050 -0
  141. package/components/input-tag/src/types.d.ts +22 -0
  142. package/components/monaco-editor/index.d.ts +4 -0
  143. package/components/monaco-editor/src/ctx.d.ts +111 -0
  144. package/components/monaco-editor/src/index.vue.d.ts +297 -0
  145. package/components/monaco-editor/src/types.d.ts +7 -0
  146. package/components/radio/index.d.ts +4 -0
  147. package/components/radio/src/ctx.d.ts +165 -0
  148. package/components/radio/src/index.vue.d.ts +1488 -0
  149. package/components/radio/src/option.vue.d.ts +901 -0
  150. package/components/radio/src/types.d.ts +8 -0
  151. package/components/radio/src/wraper.vue.d.ts +337 -0
  152. package/components/renderer-data/index.d.ts +4 -0
  153. package/components/renderer-data/src/ctx.d.ts +12 -0
  154. package/components/renderer-data/src/index.vue.d.ts +20 -0
  155. package/components/renderer-data/src/types.d.ts +1 -0
  156. package/components/select/index.cjs +3 -1
  157. package/components/select/index.d.ts +5 -0
  158. package/components/select/index.mjs +3 -1
  159. package/components/select/src/core.vue.d.ts +1574 -0
  160. package/components/select/src/ctx.d.ts +385 -0
  161. package/components/select/src/index.vue.d.ts +946 -0
  162. package/components/select/src/options.vue.d.ts +24 -0
  163. package/components/select/src/types.d.ts +13 -0
  164. package/components/slider/index.d.ts +4 -0
  165. package/components/slider/src/ctx.d.ts +248 -0
  166. package/components/slider/src/index.vue.d.ts +579 -0
  167. package/components/slider/src/types.d.ts +7 -0
  168. package/components/switch/index.d.ts +4 -0
  169. package/components/switch/src/ctx.d.ts +201 -0
  170. package/components/switch/src/index.vue.d.ts +882 -0
  171. package/components/switch/src/types.d.ts +7 -0
  172. package/components/tables-select/index.d.ts +5 -0
  173. package/components/tables-select/src/ctx.d.ts +421 -0
  174. package/components/tables-select/src/index.vue.d.ts +5510 -0
  175. package/components/tables-select/src/types.d.ts +9 -0
  176. package/components/template-instances-provider/index.d.ts +3 -0
  177. package/components/template-instances-provider/src/index.vue.d.ts +6 -0
  178. package/components/templates-default/index.d.ts +4 -0
  179. package/components/templates-default/src/ctx.d.ts +19 -0
  180. package/components/templates-default/src/index.vue.d.ts +187 -0
  181. package/components/templates-default/src/types.d.ts +55 -0
  182. package/components/templates-element-plus/index.d.ts +4 -0
  183. package/components/templates-element-plus/src/ctx.d.ts +9 -0
  184. package/components/templates-element-plus/src/index.vue.d.ts +301 -0
  185. package/components/templates-element-plus/src/types.d.ts +13 -0
  186. package/components/templates-esri/index.d.ts +4 -0
  187. package/components/templates-esri/src/ctx.d.ts +11 -0
  188. package/components/templates-esri/src/index.vue.d.ts +43 -0
  189. package/components/templates-esri/src/types.d.ts +2 -0
  190. package/components/templates-layout/index.d.ts +4 -0
  191. package/components/templates-layout/src/ctx.d.ts +9 -0
  192. package/components/templates-layout/src/index.vue.d.ts +446 -0
  193. package/components/templates-layout/src/types.d.ts +32 -0
  194. package/components/templates-variant/index.d.ts +4 -0
  195. package/components/templates-variant/src/ctx.d.ts +11 -0
  196. package/components/templates-variant/src/index.vue.d.ts +43 -0
  197. package/components/templates-variant/src/types.d.ts +2 -0
  198. package/components/upload/index.d.ts +5 -0
  199. package/components/upload/src/ctx.d.ts +291 -0
  200. package/components/upload/src/file.vue.d.ts +913 -0
  201. package/components/upload/src/index.vue.d.ts +2347 -0
  202. package/components/upload/src/types.d.ts +13 -0
  203. package/components/upload/src/wraper.vue.d.ts +590 -0
  204. package/components/upload-plus/index.d.ts +6 -0
  205. package/components/upload-plus/src/api.d.ts +38 -0
  206. package/components/upload-plus/src/const.d.ts +9 -0
  207. package/components/upload-plus/src/ctx.d.ts +144 -0
  208. package/components/upload-plus/src/index.vue.d.ts +1813 -0
  209. package/components/upload-plus/src/types.d.ts +32 -0
  210. package/components/van-cascader/index.d.ts +4 -0
  211. package/components/van-cascader/src/ctx.d.ts +330 -0
  212. package/components/van-cascader/src/index.vue.d.ts +1241 -0
  213. package/components/van-cascader/src/types.d.ts +1 -0
  214. package/components/var-datetime-picker/index.d.ts +4 -0
  215. package/components/var-datetime-picker/src/const.d.ts +10 -0
  216. package/components/var-datetime-picker/src/ctx.d.ts +108 -0
  217. package/components/var-datetime-picker/src/index.vue.d.ts +1622 -0
  218. package/components/var-datetime-picker/src/types.d.ts +22 -0
  219. package/components/vditor/index.d.ts +4 -0
  220. package/components/vditor/src/ctx.d.ts +118 -0
  221. package/components/vditor/src/index.vue.d.ts +412 -0
  222. package/components/vditor/src/types.d.ts +7 -0
  223. package/package.json +1 -1
@@ -0,0 +1,16 @@
1
+ import { SetDataEvent } from '@vunk/core';
2
+ import { NormalObject } from '@vunk/shared';
3
+ import { PropType } from 'vue';
4
+ export declare const props: {
5
+ data: {
6
+ type: PropType<NormalObject>;
7
+ default: () => {};
8
+ };
9
+ formItems: {
10
+ type: PropType<any[]>;
11
+ default: () => any[];
12
+ };
13
+ };
14
+ export declare const emits: {
15
+ setData: (e: SetDataEvent) => SetDataEvent;
16
+ };
@@ -0,0 +1,27 @@
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, {
11
+ setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ data: {
14
+ type: import("vue").PropType<import("@vunk/shared").NormalObject>;
15
+ default: () => {};
16
+ };
17
+ formItems: {
18
+ type: import("vue").PropType<any[]>;
19
+ default: () => any[];
20
+ };
21
+ }>> & Readonly<{
22
+ onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
23
+ }>, {
24
+ data: import("@vunk/shared").NormalObject;
25
+ formItems: any[];
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ 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,143 @@
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
+ defaultModelValue: any;
95
+ label: StringConstructor;
96
+ labelWidth: {
97
+ readonly type: PropType<string | number>;
98
+ readonly required: false;
99
+ readonly validator: ((val: unknown) => boolean) | undefined;
100
+ __epPropKey: true;
101
+ } & {
102
+ readonly default: "";
103
+ };
104
+ labelPosition: {
105
+ readonly type: PropType<"" | "top" | "left" | "right">;
106
+ readonly required: false;
107
+ readonly validator: ((val: unknown) => boolean) | undefined;
108
+ __epPropKey: true;
109
+ } & {
110
+ readonly default: "";
111
+ };
112
+ rules: {
113
+ readonly type: PropType<unknown>;
114
+ readonly required: false;
115
+ readonly validator: ((val: unknown) => boolean) | undefined;
116
+ __epPropKey: true;
117
+ };
118
+ error: StringConstructor;
119
+ validateStatus: {
120
+ readonly type: PropType<"" | "error" | "success" | "validating">;
121
+ readonly required: false;
122
+ readonly validator: ((val: unknown) => boolean) | undefined;
123
+ __epPropKey: true;
124
+ };
125
+ for: StringConstructor;
126
+ inlineMessage: {
127
+ readonly type: PropType<string | boolean>;
128
+ readonly required: false;
129
+ readonly validator: ((val: unknown) => boolean) | undefined;
130
+ __epPropKey: true;
131
+ } & {
132
+ readonly default: "";
133
+ };
134
+ showMessage: {
135
+ readonly type: PropType<boolean>;
136
+ readonly required: false;
137
+ readonly validator: ((val: unknown) => boolean) | undefined;
138
+ __epPropKey: true;
139
+ } & {
140
+ readonly default: true;
141
+ };
142
+ };
143
+ export declare const emits: {};
@@ -0,0 +1,296 @@
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
+ defaultModelValue: any;
91
+ label: StringConstructor;
92
+ labelWidth: {
93
+ readonly type: import("vue").PropType<string | number>;
94
+ readonly required: false;
95
+ readonly validator: ((val: unknown) => boolean) | undefined;
96
+ __epPropKey: true;
97
+ } & {
98
+ readonly default: "";
99
+ };
100
+ labelPosition: {
101
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
102
+ readonly required: false;
103
+ readonly validator: ((val: unknown) => boolean) | undefined;
104
+ __epPropKey: true;
105
+ } & {
106
+ readonly default: "";
107
+ };
108
+ rules: {
109
+ readonly type: import("vue").PropType<unknown>;
110
+ readonly required: false;
111
+ readonly validator: ((val: unknown) => boolean) | undefined;
112
+ __epPropKey: true;
113
+ };
114
+ error: StringConstructor;
115
+ validateStatus: {
116
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
117
+ readonly required: false;
118
+ readonly validator: ((val: unknown) => boolean) | undefined;
119
+ __epPropKey: true;
120
+ };
121
+ for: StringConstructor;
122
+ inlineMessage: {
123
+ readonly type: import("vue").PropType<string | boolean>;
124
+ readonly required: false;
125
+ readonly validator: ((val: unknown) => boolean) | undefined;
126
+ __epPropKey: true;
127
+ } & {
128
+ readonly default: "";
129
+ };
130
+ showMessage: {
131
+ readonly type: import("vue").PropType<boolean>;
132
+ readonly required: false;
133
+ readonly validator: ((val: unknown) => boolean) | undefined;
134
+ __epPropKey: true;
135
+ } & {
136
+ readonly default: true;
137
+ };
138
+ }>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
139
+ information: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ modelValue: {
144
+ type: {
145
+ (arrayLength: number): import("@vunk/shared").NormalObject[];
146
+ (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
147
+ new (arrayLength: number): import("@vunk/shared").NormalObject[];
148
+ new (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
149
+ isArray(arg: any): arg is any[];
150
+ readonly prototype: any[];
151
+ from<T>(arrayLike: ArrayLike<T>): T[];
152
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
153
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
154
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
155
+ of<T>(...items: T[]): T[];
156
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
157
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
158
+ readonly [Symbol.species]: ArrayConstructor;
159
+ };
160
+ default: () => any[];
161
+ };
162
+ columns: {
163
+ type: {
164
+ (arrayLength: number): any[];
165
+ (...items: any[]): any[];
166
+ new (arrayLength: number): any[];
167
+ new (...items: any[]): any[];
168
+ isArray(arg: any): arg is any[];
169
+ readonly prototype: any[];
170
+ from<T>(arrayLike: ArrayLike<T>): T[];
171
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
172
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
173
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
174
+ of<T>(...items: T[]): T[];
175
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
176
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
177
+ readonly [Symbol.species]: ArrayConstructor;
178
+ };
179
+ default: () => any[];
180
+ };
181
+ labelRender: {
182
+ type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
183
+ default: any;
184
+ };
185
+ typeRender: {
186
+ type: import("vue").PropType<import("@vunk/core").Func<any, import("element-plus").TagProps["type"]>>;
187
+ default: any;
188
+ };
189
+ required: {
190
+ readonly type: import("vue").PropType<boolean>;
191
+ readonly required: false;
192
+ readonly validator: ((val: unknown) => boolean) | undefined;
193
+ __epPropKey: true;
194
+ } & {
195
+ readonly default: undefined;
196
+ };
197
+ formItemSize: {
198
+ type: import("vue").PropType<"default" | "small" | "large">;
199
+ default: "default" | "small" | "large";
200
+ };
201
+ formItemSlots: {
202
+ type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
203
+ default: any;
204
+ };
205
+ elRef: {
206
+ type: import("vue").PropType<any>;
207
+ required: boolean;
208
+ };
209
+ inline: {
210
+ type: BooleanConstructor;
211
+ default: boolean;
212
+ };
213
+ readonly: {
214
+ type: BooleanConstructor;
215
+ default: any;
216
+ };
217
+ formItemTip: {
218
+ type: StringConstructor;
219
+ default: any;
220
+ };
221
+ formItemTipClass: any;
222
+ labelTip: {
223
+ type: StringConstructor;
224
+ default: any;
225
+ };
226
+ prop: any;
227
+ defaultModelValue: any;
228
+ label: StringConstructor;
229
+ labelWidth: {
230
+ readonly type: import("vue").PropType<string | number>;
231
+ readonly required: false;
232
+ readonly validator: ((val: unknown) => boolean) | undefined;
233
+ __epPropKey: true;
234
+ } & {
235
+ readonly default: "";
236
+ };
237
+ labelPosition: {
238
+ readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
239
+ readonly required: false;
240
+ readonly validator: ((val: unknown) => boolean) | undefined;
241
+ __epPropKey: true;
242
+ } & {
243
+ readonly default: "";
244
+ };
245
+ rules: {
246
+ readonly type: import("vue").PropType<unknown>;
247
+ readonly required: false;
248
+ readonly validator: ((val: unknown) => boolean) | undefined;
249
+ __epPropKey: true;
250
+ };
251
+ error: StringConstructor;
252
+ validateStatus: {
253
+ readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
254
+ readonly required: false;
255
+ readonly validator: ((val: unknown) => boolean) | undefined;
256
+ __epPropKey: true;
257
+ };
258
+ for: StringConstructor;
259
+ inlineMessage: {
260
+ readonly type: import("vue").PropType<string | boolean>;
261
+ readonly required: false;
262
+ readonly validator: ((val: unknown) => boolean) | undefined;
263
+ __epPropKey: true;
264
+ } & {
265
+ readonly default: "";
266
+ };
267
+ showMessage: {
268
+ readonly type: import("vue").PropType<boolean>;
269
+ readonly required: false;
270
+ readonly validator: ((val: unknown) => boolean) | undefined;
271
+ __epPropKey: true;
272
+ } & {
273
+ readonly default: true;
274
+ };
275
+ }>> & Readonly<{}>, {
276
+ required: boolean;
277
+ formItemSize: "default" | "small" | "large";
278
+ formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
279
+ inline: boolean;
280
+ readonly: boolean;
281
+ formItemTip: string;
282
+ formItemTipClass: any;
283
+ labelTip: string;
284
+ information: boolean;
285
+ prop: any;
286
+ defaultModelValue: any;
287
+ labelWidth: string | number;
288
+ labelPosition: "" | "top" | "left" | "right";
289
+ inlineMessage: string | boolean;
290
+ showMessage: boolean;
291
+ modelValue: import("@vunk/shared").NormalObject[];
292
+ columns: any[];
293
+ labelRender: import("@vunk/shared").AnyFunc;
294
+ typeRender: ((...args: any) => "primary" | "success" | "warning" | "info" | "danger") | ((arg: any) => "primary" | "success" | "warning" | "info" | "danger");
295
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
296
+ 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
+ };