@vunk/form 2.13.2 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/components/fieldset/index.cjs +6 -2
  2. package/components/fieldset/index.mjs +6 -2
  3. package/components/input-array/index.cjs +287 -0
  4. package/components/input-array/index.css +14 -0
  5. package/components/input-array/index.mjs +280 -0
  6. package/index.css +15 -0
  7. package/package.json +9 -1
  8. package/components/api-tables-select/index.d.ts +0 -4
  9. package/components/api-tables-select/src/ctx.d.ts +0 -374
  10. package/components/api-tables-select/src/index.vue.d.ts +0 -1335
  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 -185
  14. package/components/button/src/index.vue.d.ts +0 -813
  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/ctx.d.ts +0 -114
  18. package/components/card-input-collection/src/index.vue.d.ts +0 -1029
  19. package/components/card-input-collection/src/types.d.ts +0 -10
  20. package/components/cascader/index.d.ts +0 -6
  21. package/components/cascader/src/ctx.d.ts +0 -285
  22. package/components/cascader/src/index.vue.d.ts +0 -627
  23. package/components/cascader/src/types.d.ts +0 -19
  24. package/components/cascader/src/use.d.ts +0 -5
  25. package/components/checkbox/index.d.ts +0 -5
  26. package/components/checkbox/src/ctx.d.ts +0 -146
  27. package/components/checkbox/src/index.vue.d.ts +0 -1353
  28. package/components/checkbox/src/types.d.ts +0 -8
  29. package/components/color-picker/index.d.ts +0 -4
  30. package/components/color-picker/src/ctx.d.ts +0 -164
  31. package/components/color-picker/src/index.vue.d.ts +0 -366
  32. package/components/color-picker/src/types.d.ts +0 -7
  33. package/components/date-picker/index.d.ts +0 -5
  34. package/components/date-picker/src/ctx.d.ts +0 -321
  35. package/components/date-picker/src/index.vue.d.ts +0 -1423
  36. package/components/date-picker/src/types.d.ts +0 -20
  37. package/components/date-picker-range/index.d.ts +0 -4
  38. package/components/date-picker-range/src/ctx.d.ts +0 -329
  39. package/components/date-picker-range/src/index.vue.d.ts +0 -720
  40. package/components/date-picker-range/src/types.d.ts +0 -12
  41. package/components/dialog-input-collection/index.d.ts +0 -4
  42. package/components/dialog-input-collection/src/ctx.d.ts +0 -140
  43. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +0 -1782
  44. package/components/dialog-input-collection/src/index.vue.d.ts +0 -3100
  45. package/components/dialog-input-collection/src/layout.vue.d.ts +0 -85
  46. package/components/dialog-input-collection/src/types.d.ts +0 -28
  47. package/components/download-plus/index.d.ts +0 -4
  48. package/components/download-plus/src/api.d.ts +0 -13
  49. package/components/download-plus/src/const.d.ts +0 -9
  50. package/components/download-plus/src/ctx.d.ts +0 -124
  51. package/components/download-plus/src/index.vue.d.ts +0 -1453
  52. package/components/download-plus/src/types.d.ts +0 -17
  53. package/components/editable-text/index.d.ts +0 -4
  54. package/components/editable-text/src/ctx.d.ts +0 -127
  55. package/components/editable-text/src/index.vue.d.ts +0 -3385
  56. package/components/editable-text/src/types.d.ts +0 -1
  57. package/components/esri-input-geojson/index.d.ts +0 -6
  58. package/components/esri-input-geojson/src/append.vue.d.ts +0 -1179
  59. package/components/esri-input-geojson/src/const.d.ts +0 -12
  60. package/components/esri-input-geojson/src/ctx.d.ts +0 -344
  61. package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
  62. package/components/esri-input-geojson/src/index.vue.d.ts +0 -1471
  63. package/components/esri-input-geojson/src/types.d.ts +0 -22
  64. package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
  65. package/components/fieldset/index.d.ts +0 -4
  66. package/components/fieldset/src/ctx.d.ts +0 -12
  67. package/components/fieldset/src/index.vue.d.ts +0 -23
  68. package/components/fieldset/src/types.d.ts +0 -1
  69. package/components/fieldset/src/use.d.ts +0 -5
  70. package/components/form/index.d.ts +0 -5
  71. package/components/form/src/ctx.d.ts +0 -139
  72. package/components/form/src/index.vue.d.ts +0 -1182
  73. package/components/form/src/types.d.ts +0 -25
  74. package/components/form/src/utils.d.ts +0 -15
  75. package/components/form-item/index.d.ts +0 -5
  76. package/components/form-item/src/core.vue.d.ts +0 -1847
  77. package/components/form-item/src/ctx.d.ts +0 -102
  78. package/components/form-item/src/index.vue.d.ts +0 -211
  79. package/components/form-item/src/types.d.ts +0 -10
  80. package/components/form-item-renderer/index.d.ts +0 -4
  81. package/components/form-item-renderer/src/core.vue.d.ts +0 -38
  82. package/components/form-item-renderer/src/ctx.d.ts +0 -16
  83. package/components/form-item-renderer/src/index.vue.d.ts +0 -93
  84. package/components/form-item-renderer/src/types.d.ts +0 -5
  85. package/components/form-item-renderer/src/utils.d.ts +0 -5
  86. package/components/form-item-renderer-template/index.d.ts +0 -4
  87. package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
  88. package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
  89. package/components/form-item-renderer-template/src/types.d.ts +0 -55
  90. package/components/forms-provider/index.d.ts +0 -6
  91. package/components/forms-provider/src/core.d.ts +0 -6
  92. package/components/forms-provider/src/index.vue.d.ts +0 -2
  93. package/components/forms-provider/src/segment.vue.d.ts +0 -9
  94. package/components/forms-provider/src/types.d.ts +0 -10
  95. package/components/forms-provider/src/view.vue.d.ts +0 -7
  96. package/components/information/index.d.ts +0 -4
  97. package/components/information/src/ctx.d.ts +0 -13
  98. package/components/information/src/index.vue.d.ts +0 -23
  99. package/components/information/src/types.d.ts +0 -3
  100. package/components/information-collection/index.d.ts +0 -4
  101. package/components/information-collection/src/ctx.d.ts +0 -142
  102. package/components/information-collection/src/index.vue.d.ts +0 -293
  103. package/components/information-collection/src/types.d.ts +0 -6
  104. package/components/information-renderer/index.d.ts +0 -73
  105. package/components/information-tag/index.d.ts +0 -4
  106. package/components/information-tag/src/ctx.d.ts +0 -64
  107. package/components/information-tag/src/index.vue.d.ts +0 -134
  108. package/components/information-tag/src/types.d.ts +0 -1
  109. package/components/information-templates-default/index.d.ts +0 -4
  110. package/components/information-templates-default/src/ctx.d.ts +0 -2
  111. package/components/information-templates-default/src/index.vue.d.ts +0 -2
  112. package/components/information-templates-default/src/types.d.ts +0 -1
  113. package/components/input/index.d.ts +0 -5
  114. package/components/input/src/ctx.d.ts +0 -273
  115. package/components/input/src/index.vue.d.ts +0 -1234
  116. package/components/input/src/types.d.ts +0 -13
  117. package/components/input-collection/index.d.ts +0 -4
  118. package/components/input-collection/src/ctx.d.ts +0 -132
  119. package/components/input-collection/src/index.vue.d.ts +0 -1127
  120. package/components/input-collection/src/types.d.ts +0 -29
  121. package/components/input-link/index.d.ts +0 -4
  122. package/components/input-link/src/ctx.d.ts +0 -277
  123. package/components/input-link/src/index.vue.d.ts +0 -587
  124. package/components/input-link/src/types.d.ts +0 -7
  125. package/components/input-number/index.d.ts +0 -4
  126. package/components/input-number/src/ctx.d.ts +0 -211
  127. package/components/input-number/src/index.vue.d.ts +0 -852
  128. package/components/input-number/src/types.d.ts +0 -12
  129. package/components/input-tag/index.d.ts +0 -5
  130. package/components/input-tag/src/ctx.d.ts +0 -227
  131. package/components/input-tag/src/index.vue.d.ts +0 -947
  132. package/components/input-tag/src/types.d.ts +0 -22
  133. package/components/monaco-editor/index.d.ts +0 -4
  134. package/components/monaco-editor/src/ctx.d.ts +0 -110
  135. package/components/monaco-editor/src/index.vue.d.ts +0 -294
  136. package/components/monaco-editor/src/types.d.ts +0 -7
  137. package/components/radio/index.d.ts +0 -4
  138. package/components/radio/src/ctx.d.ts +0 -157
  139. package/components/radio/src/index.vue.d.ts +0 -1302
  140. package/components/radio/src/types.d.ts +0 -8
  141. package/components/renderer-data/index.d.ts +0 -4
  142. package/components/renderer-data/src/ctx.d.ts +0 -12
  143. package/components/renderer-data/src/index.vue.d.ts +0 -20
  144. package/components/renderer-data/src/types.d.ts +0 -1
  145. package/components/select/index.d.ts +0 -5
  146. package/components/select/src/ctx.d.ts +0 -220
  147. package/components/select/src/index.vue.d.ts +0 -1034
  148. package/components/select/src/types.d.ts +0 -11
  149. package/components/slider/index.d.ts +0 -4
  150. package/components/slider/src/ctx.d.ts +0 -248
  151. package/components/slider/src/index.vue.d.ts +0 -579
  152. package/components/slider/src/types.d.ts +0 -7
  153. package/components/switch/index.d.ts +0 -4
  154. package/components/switch/src/ctx.d.ts +0 -203
  155. package/components/switch/src/index.vue.d.ts +0 -886
  156. package/components/switch/src/types.d.ts +0 -8
  157. package/components/tables-select/index.d.ts +0 -5
  158. package/components/tables-select/src/ctx.d.ts +0 -420
  159. package/components/tables-select/src/index.vue.d.ts +0 -5411
  160. package/components/tables-select/src/types.d.ts +0 -9
  161. package/components/template-instances-provider/index.d.ts +0 -3
  162. package/components/template-instances-provider/src/index.vue.d.ts +0 -6
  163. package/components/templates-default/index.d.ts +0 -4
  164. package/components/templates-default/src/ctx.d.ts +0 -19
  165. package/components/templates-default/src/index.vue.d.ts +0 -187
  166. package/components/templates-default/src/types.d.ts +0 -55
  167. package/components/templates-element-plus/index.d.ts +0 -4
  168. package/components/templates-element-plus/src/ctx.d.ts +0 -9
  169. package/components/templates-element-plus/src/index.vue.d.ts +0 -301
  170. package/components/templates-element-plus/src/types.d.ts +0 -13
  171. package/components/templates-esri/index.d.ts +0 -4
  172. package/components/templates-esri/src/ctx.d.ts +0 -11
  173. package/components/templates-esri/src/index.vue.d.ts +0 -43
  174. package/components/templates-esri/src/types.d.ts +0 -2
  175. package/components/templates-layout/index.d.ts +0 -4
  176. package/components/templates-layout/src/ctx.d.ts +0 -9
  177. package/components/templates-layout/src/index.vue.d.ts +0 -446
  178. package/components/templates-layout/src/types.d.ts +0 -32
  179. package/components/templates-variant/index.d.ts +0 -4
  180. package/components/templates-variant/src/ctx.d.ts +0 -11
  181. package/components/templates-variant/src/index.vue.d.ts +0 -43
  182. package/components/templates-variant/src/types.d.ts +0 -2
  183. package/components/upload/index.d.ts +0 -5
  184. package/components/upload/src/ctx.d.ts +0 -289
  185. package/components/upload/src/file.vue.d.ts +0 -492
  186. package/components/upload/src/index.vue.d.ts +0 -1926
  187. package/components/upload/src/types.d.ts +0 -13
  188. package/components/upload-plus/index.d.ts +0 -6
  189. package/components/upload-plus/src/api.d.ts +0 -38
  190. package/components/upload-plus/src/const.d.ts +0 -9
  191. package/components/upload-plus/src/ctx.d.ts +0 -143
  192. package/components/upload-plus/src/index.vue.d.ts +0 -1770
  193. package/components/upload-plus/src/types.d.ts +0 -32
  194. package/components/van-cascader/index.d.ts +0 -4
  195. package/components/van-cascader/src/ctx.d.ts +0 -272
  196. package/components/van-cascader/src/index.vue.d.ts +0 -2093
  197. package/components/van-cascader/src/types.d.ts +0 -1
  198. package/components/var-datetime-picker/index.d.ts +0 -4
  199. package/components/var-datetime-picker/src/const.d.ts +0 -10
  200. package/components/var-datetime-picker/src/ctx.d.ts +0 -107
  201. package/components/var-datetime-picker/src/index.vue.d.ts +0 -1485
  202. package/components/var-datetime-picker/src/types.d.ts +0 -22
  203. package/components/vditor/index.d.ts +0 -4
  204. package/components/vditor/src/ctx.d.ts +0 -117
  205. package/components/vditor/src/index.vue.d.ts +0 -409
  206. package/components/vditor/src/types.d.ts +0 -7
@@ -1,23 +0,0 @@
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;
@@ -1,3 +0,0 @@
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>;
@@ -1,4 +0,0 @@
1
- import VkfInformationCollection from './src/index.vue';
2
- export * as __VkfInformationCollection from './src/types';
3
- export { VkfInformationCollection, };
4
- export default VkfInformationCollection;
@@ -1,142 +0,0 @@
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: {};
@@ -1,293 +0,0 @@
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;
@@ -1,6 +0,0 @@
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>;
@@ -1,73 +0,0 @@
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>;
@@ -1,4 +0,0 @@
1
- import VkfInformationTag from './src/index.vue';
2
- export * as __VkfInformationTag from './src/types';
3
- export { VkfInformationTag, };
4
- export default VkfInformationTag;
@@ -1,64 +0,0 @@
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
- };