@vunk/form 2.3.3 → 2.5.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 (112) hide show
  1. package/components/api-tables-select/index.cjs +1 -9
  2. package/components/api-tables-select/index.mjs +1 -9
  3. package/components/api-tables-select/src/ctx.d.ts +4 -7
  4. package/components/api-tables-select/src/index.vue.d.ts +10 -9
  5. package/components/button/src/ctx.d.ts +4 -0
  6. package/components/button/src/index.vue.d.ts +9 -0
  7. package/components/card-input-collection/index.cjs +5 -10
  8. package/components/card-input-collection/index.mjs +6 -11
  9. package/components/card-input-collection/src/ctx.d.ts +4 -7
  10. package/components/card-input-collection/src/index.vue.d.ts +9 -9
  11. package/components/cascader/src/ctx.d.ts +5 -1
  12. package/components/cascader/src/index.vue.d.ts +11 -2
  13. package/components/checkbox/src/ctx.d.ts +5 -1
  14. package/components/checkbox/src/index.vue.d.ts +9 -0
  15. package/components/color-picker/src/ctx.d.ts +4 -0
  16. package/components/color-picker/src/index.vue.d.ts +9 -0
  17. package/components/date-picker/src/ctx.d.ts +5 -1
  18. package/components/date-picker/src/index.vue.d.ts +9 -0
  19. package/components/date-picker-range/src/ctx.d.ts +4 -0
  20. package/components/date-picker-range/src/index.vue.d.ts +9 -0
  21. package/components/download-plus/src/ctx.d.ts +4 -0
  22. package/components/download-plus/src/index.vue.d.ts +9 -0
  23. package/components/esri-input-geojson/src/ctx.d.ts +5 -1
  24. package/components/esri-input-geojson/src/index.vue.d.ts +10 -0
  25. package/components/fieldset/index.cjs +106 -0
  26. package/components/fieldset/index.css +5 -0
  27. package/components/fieldset/index.d.ts +4 -0
  28. package/components/fieldset/index.mjs +100 -0
  29. package/components/fieldset/src/ctx.d.ts +7 -0
  30. package/components/fieldset/src/index.vue.d.ts +14 -0
  31. package/components/fieldset/src/types.d.ts +1 -0
  32. package/components/fieldset/src/use.d.ts +5 -0
  33. package/components/form/index.cjs +12 -29
  34. package/components/form/index.mjs +13 -30
  35. package/components/form/src/ctx.d.ts +1 -8
  36. package/components/form/src/index.vue.d.ts +0 -20
  37. package/components/form-item/index.cjs +47 -5
  38. package/components/form-item/index.css +16 -0
  39. package/components/form-item/index.mjs +48 -6
  40. package/components/form-item/src/ctx.d.ts +5 -1
  41. package/components/form-item/src/index.vue.d.ts +12 -0
  42. package/components/form-item/src/types.d.ts +1 -0
  43. package/components/form-item-renderer/index.cjs +49 -7
  44. package/components/form-item-renderer/index.mjs +51 -9
  45. package/components/form-item-renderer/src/core.vue.d.ts +38 -0
  46. package/components/form-item-renderer/src/index.vue.d.ts +67 -12
  47. package/components/information/index.cjs +76 -0
  48. package/components/information/index.d.ts +4 -0
  49. package/components/information/index.mjs +70 -0
  50. package/components/information/src/ctx.d.ts +13 -0
  51. package/components/information/src/index.vue.d.ts +391 -0
  52. package/components/information/src/types.d.ts +3 -0
  53. package/components/information-templates-default/index.cjs +196 -0
  54. package/components/information-templates-default/index.css +12 -0
  55. package/components/information-templates-default/index.d.ts +4 -0
  56. package/components/information-templates-default/index.mjs +190 -0
  57. package/components/information-templates-default/src/ctx.d.ts +2 -0
  58. package/components/information-templates-default/src/index.vue.d.ts +52 -0
  59. package/components/information-templates-default/src/types.d.ts +1 -0
  60. package/components/input/src/ctx.d.ts +5 -1
  61. package/components/input/src/index.vue.d.ts +9 -0
  62. package/components/input-collection/index.cjs +113 -26
  63. package/components/input-collection/index.css +9 -0
  64. package/components/input-collection/index.mjs +114 -27
  65. package/components/input-collection/src/ctx.d.ts +13 -2
  66. package/components/input-collection/src/index.vue.d.ts +43 -5
  67. package/components/input-collection/src/types.d.ts +1 -0
  68. package/components/input-link/src/ctx.d.ts +4 -0
  69. package/components/input-link/src/index.vue.d.ts +9 -0
  70. package/components/input-number/src/ctx.d.ts +5 -1
  71. package/components/input-number/src/index.vue.d.ts +9 -0
  72. package/components/monaco-editor/src/ctx.d.ts +4 -0
  73. package/components/monaco-editor/src/index.vue.d.ts +9 -0
  74. package/components/radio/src/ctx.d.ts +4 -0
  75. package/components/radio/src/index.vue.d.ts +9 -0
  76. package/components/select/src/ctx.d.ts +5 -1
  77. package/components/select/src/index.vue.d.ts +9 -0
  78. package/components/slider/src/ctx.d.ts +4 -0
  79. package/components/slider/src/index.vue.d.ts +9 -0
  80. package/components/switch/src/ctx.d.ts +4 -0
  81. package/components/switch/src/index.vue.d.ts +9 -0
  82. package/components/tables-select/src/ctx.d.ts +5 -1
  83. package/components/tables-select/src/index.vue.d.ts +18 -0
  84. package/components/tag-information/index.cjs +114 -0
  85. package/components/tag-information/index.css +6 -0
  86. package/components/tag-information/index.d.ts +4 -0
  87. package/components/tag-information/index.mjs +108 -0
  88. package/components/tag-information/src/ctx.d.ts +34 -0
  89. package/components/tag-information/src/index.vue.d.ts +912 -0
  90. package/components/tag-information/src/types.d.ts +1 -0
  91. package/components/template-instances-provider/index.cjs +8 -13
  92. package/components/template-instances-provider/index.mjs +8 -13
  93. package/components/template-instances-provider/src/index.vue.d.ts +4 -14
  94. package/components/upload/src/ctx.d.ts +5 -1
  95. package/components/upload/src/index.vue.d.ts +9 -0
  96. package/components/upload-plus/src/ctx.d.ts +4 -0
  97. package/components/upload-plus/src/index.vue.d.ts +9 -0
  98. package/components/van-cascader/src/ctx.d.ts +4 -0
  99. package/components/van-cascader/src/index.vue.d.ts +76 -12803
  100. package/components/var-datetime-picker/src/ctx.d.ts +4 -0
  101. package/components/var-datetime-picker/src/index.vue.d.ts +9 -0
  102. package/components/vditor/src/ctx.d.ts +4 -0
  103. package/components/vditor/src/index.vue.d.ts +9 -0
  104. package/composables/index.cjs +31 -5
  105. package/composables/index.mjs +31 -6
  106. package/composables/useTemplateInstances.d.ts +6 -1
  107. package/index.css +51 -0
  108. package/index.d.ts +1 -0
  109. package/index.esm.js +1 -0
  110. package/package.json +30 -1
  111. package/shared/element-plus/ctx.d.ts +4 -4
  112. package/shared/types/index.d.ts +4 -1
@@ -42,6 +42,10 @@ export declare const props: {
42
42
  type: StringConstructor;
43
43
  default: any;
44
44
  };
45
+ information: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
45
49
  label: StringConstructor;
46
50
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
47
51
  labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
@@ -44,6 +44,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
44
44
  type: StringConstructor;
45
45
  default: any;
46
46
  };
47
+ information: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
47
51
  label: StringConstructor;
48
52
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
49
53
  labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
@@ -124,6 +128,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
124
128
  type: StringConstructor;
125
129
  default: any;
126
130
  };
131
+ information: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
127
135
  label: StringConstructor;
128
136
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
129
137
  labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
@@ -161,6 +169,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
161
169
  formItemTip: string;
162
170
  formItemTipClass: any;
163
171
  labelTip: string;
172
+ information: boolean;
164
173
  labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
165
174
  labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "top" | "left" | "right", unknown>;
166
175
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
@@ -49,6 +49,10 @@ export declare const props: {
49
49
  type: StringConstructor;
50
50
  default: any;
51
51
  };
52
+ information: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
52
56
  label: StringConstructor;
53
57
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
54
58
  labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
@@ -49,6 +49,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
49
49
  type: StringConstructor;
50
50
  default: any;
51
51
  };
52
+ information: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
52
56
  label: StringConstructor;
53
57
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
54
58
  labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
@@ -135,6 +139,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
135
139
  type: StringConstructor;
136
140
  default: any;
137
141
  };
142
+ information: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
138
146
  label: StringConstructor;
139
147
  labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
140
148
  labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
@@ -174,6 +182,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
174
182
  formItemTip: string;
175
183
  formItemTipClass: any;
176
184
  labelTip: string;
185
+ information: boolean;
177
186
  labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
178
187
  labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "top" | "left" | "right", unknown>;
179
188
  inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
@@ -86,11 +86,7 @@ const useComputedReadonly = (props) => {
86
86
  return readonly;
87
87
  };
88
88
 
89
- const initTemplateInstances = () => {
90
- const templateInstances = vue.shallowReactive({});
91
- vue.provide("vkTemplateInstances", templateInstances);
92
- return templateInstances;
93
- };
89
+ const PARENT_KEY = Symbol("PARENT_KEY");
94
90
  const useTemplateInstances = () => {
95
91
  const templateInstances = vue.inject(
96
92
  "vkTemplateInstances",
@@ -98,6 +94,35 @@ const useTemplateInstances = () => {
98
94
  );
99
95
  return templateInstances;
100
96
  };
97
+ const useTemplateInstancesContext = () => {
98
+ const templateInstances = useTemplateInstances();
99
+ const getParent = (ins) => {
100
+ return ins?.[PARENT_KEY];
101
+ };
102
+ const getTemplateInstance = (key) => {
103
+ let instance = templateInstances?.[key];
104
+ if (instance) return instance;
105
+ let parent = getParent(templateInstances);
106
+ while (parent) {
107
+ instance = parent?.[key];
108
+ if (instance) return instance;
109
+ parent = getParent(parent);
110
+ }
111
+ return null;
112
+ };
113
+ return {
114
+ templateInstances,
115
+ getTemplateInstance,
116
+ getParent
117
+ };
118
+ };
119
+ const initTemplateInstances = () => {
120
+ const perent = useTemplateInstances();
121
+ const templateInstances = vue.shallowReactive({});
122
+ templateInstances[PARENT_KEY] = perent;
123
+ vue.provide("vkTemplateInstances", templateInstances);
124
+ return templateInstances;
125
+ };
101
126
 
102
127
  const initRendererData = (props, ctx) => {
103
128
  const data = vue.computed(() => props.data);
@@ -133,3 +158,4 @@ exports.useForm = useForm;
133
158
  exports.useRendererData = useRendererData;
134
159
  exports.useSourceManager = useSourceManager;
135
160
  exports.useTemplateInstances = useTemplateInstances;
161
+ exports.useTemplateInstancesContext = useTemplateInstancesContext;
@@ -84,11 +84,7 @@ const useComputedReadonly = (props) => {
84
84
  return readonly;
85
85
  };
86
86
 
87
- const initTemplateInstances = () => {
88
- const templateInstances = shallowReactive({});
89
- provide("vkTemplateInstances", templateInstances);
90
- return templateInstances;
91
- };
87
+ const PARENT_KEY = Symbol("PARENT_KEY");
92
88
  const useTemplateInstances = () => {
93
89
  const templateInstances = inject(
94
90
  "vkTemplateInstances",
@@ -96,6 +92,35 @@ const useTemplateInstances = () => {
96
92
  );
97
93
  return templateInstances;
98
94
  };
95
+ const useTemplateInstancesContext = () => {
96
+ const templateInstances = useTemplateInstances();
97
+ const getParent = (ins) => {
98
+ return ins?.[PARENT_KEY];
99
+ };
100
+ const getTemplateInstance = (key) => {
101
+ let instance = templateInstances?.[key];
102
+ if (instance) return instance;
103
+ let parent = getParent(templateInstances);
104
+ while (parent) {
105
+ instance = parent?.[key];
106
+ if (instance) return instance;
107
+ parent = getParent(parent);
108
+ }
109
+ return null;
110
+ };
111
+ return {
112
+ templateInstances,
113
+ getTemplateInstance,
114
+ getParent
115
+ };
116
+ };
117
+ const initTemplateInstances = () => {
118
+ const perent = useTemplateInstances();
119
+ const templateInstances = shallowReactive({});
120
+ templateInstances[PARENT_KEY] = perent;
121
+ provide("vkTemplateInstances", templateInstances);
122
+ return templateInstances;
123
+ };
99
124
 
100
125
  const initRendererData = (props, ctx) => {
101
126
  const data = computed(() => props.data);
@@ -124,4 +149,4 @@ const useRendererData = () => {
124
149
  return rendererData;
125
150
  };
126
151
 
127
- export { initRendererData, initTemplateInstances, useComputedReadonly, useForm, useRendererData, useSourceManager, useTemplateInstances };
152
+ export { initRendererData, initTemplateInstances, useComputedReadonly, useForm, useRendererData, useSourceManager, useTemplateInstances, useTemplateInstancesContext };
@@ -1,3 +1,8 @@
1
1
  import { TemplateInstances } from '@vunk/form/shared';
2
- export declare const initTemplateInstances: () => import("vue").ShallowReactive<TemplateInstances>;
3
2
  export declare const useTemplateInstances: () => TemplateInstances;
3
+ export declare const useTemplateInstancesContext: () => {
4
+ templateInstances: TemplateInstances;
5
+ getTemplateInstance: (key: string) => import("vue").ComponentInternalInstance;
6
+ getParent: (ins: TemplateInstances | null) => any;
7
+ };
8
+ export declare const initTemplateInstances: () => import("vue").ShallowReactive<TemplateInstances>;
package/index.css CHANGED
@@ -182,6 +182,15 @@
182
182
  flex: 1;
183
183
  }
184
184
 
185
+ .vkf-fieldset {
186
+ border: none;
187
+ padding: 0;
188
+ margin: 0;
189
+ }
190
+
191
+ .vkf-form-item.is-information{
192
+ margin-bottom: 0;
193
+ }
185
194
  .vkf-form-item--inline{
186
195
  display: inline-flex;
187
196
  }
@@ -201,6 +210,32 @@
201
210
  .vkf-form-item.is-empty-label .el-form-item__label:before{
202
211
  display: none;
203
212
  }
213
+ .vkf-form-item.has-label-actions > .el-form-item__label {
214
+ width: 100%;
215
+ padding-right: 0;
216
+ }
217
+ .vk-form-item-label__actions {
218
+ float: right;
219
+ align-items: center;
220
+ display: none;
221
+ height: 1.8em;
222
+ }
223
+ .el-form-item--label-top .vk-form-item-label__actions {
224
+ display: inline-flex;
225
+ }
226
+
227
+ .vkf-information-templates-default-main .el-form-item__label {
228
+ color: var(--el-text-color-secondary);
229
+ font-weight: normal;
230
+ }
231
+ .vkf-information-templates-default-main .el-select__wrapper.el-select__wrapper {
232
+ padding: 0;
233
+ border: none;
234
+ box-shadow: none;
235
+ }
236
+ .vkf-information-templates-default-main .el-select__selected-item {
237
+ user-select: text;
238
+ }
204
239
 
205
240
  .vkf-input-collection-options{
206
241
  width: 100%;
@@ -213,6 +248,15 @@
213
248
  .vkf-input-collection-table .vkf-form-item {
214
249
  margin-bottom: 0;
215
250
  }
251
+ .vkf-input-collection-table .vk-input-collection__expand-form-item {
252
+ margin-bottom: 18px;
253
+ }
254
+ .vk-input-collection__expand-fieldset{
255
+ padding: 8px;
256
+ }
257
+ .vk-input-collection__buttons .cell{
258
+ padding: 0;
259
+ }
216
260
 
217
261
  .vkf-input-link-icon{
218
262
  color: var(--el-color-primary);
@@ -294,6 +338,13 @@
294
338
  display: none;
295
339
  }
296
340
 
341
+ .vkf-tag-information__tag{
342
+ cursor: pointer;
343
+ }
344
+ .vkf-tag-information__tag + .vkf-tag-information__tag {
345
+ margin-left: 0.5em;
346
+ }
347
+
297
348
  .vkf-flex {
298
349
  display: flex;
299
350
  }
package/index.d.ts CHANGED
@@ -20,3 +20,4 @@ export * from '@vunk/form/components/date-picker';
20
20
  export * from '@vunk/form/components/button';
21
21
  export * from '@vunk/form/components/cascader';
22
22
  export * from '@vunk/form/components/input-link';
23
+ export * from '@vunk/form/components/information';
package/index.esm.js CHANGED
@@ -21,6 +21,7 @@ export * from '@vunk/form/components/date-picker';
21
21
  export * from '@vunk/form/components/button';
22
22
  export * from '@vunk/form/components/cascader';
23
23
  export * from '@vunk/form/components/input-link';
24
+ export * from '@vunk/form/components/information';
24
25
 
25
26
  var Components = [
26
27
  VkfForm,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.3.3",
3
+ "version": "2.5.0",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -145,6 +145,11 @@
145
145
  "types": "./components/template-instances-provider/index.d.ts",
146
146
  "require": "./components/template-instances-provider/index.cjs"
147
147
  },
148
+ "./components/tag-information": {
149
+ "import": "./components/tag-information/index.mjs",
150
+ "types": "./components/tag-information/index.d.ts",
151
+ "require": "./components/tag-information/index.cjs"
152
+ },
148
153
  "./components/tables-select": {
149
154
  "import": "./components/tables-select/index.mjs",
150
155
  "types": "./components/tables-select/index.d.ts",
@@ -200,6 +205,16 @@
200
205
  "types": "./components/input/index.d.ts",
201
206
  "require": "./components/input/index.cjs"
202
207
  },
208
+ "./components/information-templates-default": {
209
+ "import": "./components/information-templates-default/index.mjs",
210
+ "types": "./components/information-templates-default/index.d.ts",
211
+ "require": "./components/information-templates-default/index.cjs"
212
+ },
213
+ "./components/information": {
214
+ "import": "./components/information/index.mjs",
215
+ "types": "./components/information/index.d.ts",
216
+ "require": "./components/information/index.cjs"
217
+ },
203
218
  "./components/form-item-renderer-template": {
204
219
  "import": "./components/form-item-renderer-template/index.mjs",
205
220
  "types": "./components/form-item-renderer-template/index.d.ts",
@@ -220,6 +235,11 @@
220
235
  "types": "./components/form/index.d.ts",
221
236
  "require": "./components/form/index.cjs"
222
237
  },
238
+ "./components/fieldset": {
239
+ "import": "./components/fieldset/index.mjs",
240
+ "types": "./components/fieldset/index.d.ts",
241
+ "require": "./components/fieldset/index.cjs"
242
+ },
223
243
  "./components/esri-input-geojson": {
224
244
  "import": "./components/esri-input-geojson/index.mjs",
225
245
  "types": "./components/esri-input-geojson/index.d.ts",
@@ -288,6 +308,9 @@
288
308
  "./components/templates-layout/index.css": {
289
309
  "import": "./components/templates-layout/index.css"
290
310
  },
311
+ "./components/tag-information/index.css": {
312
+ "import": "./components/tag-information/index.css"
313
+ },
291
314
  "./components/tables-select/index.css": {
292
315
  "import": "./components/tables-select/index.css"
293
316
  },
@@ -312,9 +335,15 @@
312
335
  "./components/input-collection/index.css": {
313
336
  "import": "./components/input-collection/index.css"
314
337
  },
338
+ "./components/information-templates-default/index.css": {
339
+ "import": "./components/information-templates-default/index.css"
340
+ },
315
341
  "./components/form-item/index.css": {
316
342
  "import": "./components/form-item/index.css"
317
343
  },
344
+ "./components/fieldset/index.css": {
345
+ "import": "./components/fieldset/index.css"
346
+ },
318
347
  "./components/esri-input-geojson/index.css": {
319
348
  "import": "./components/esri-input-geojson/index.css"
320
349
  },
@@ -1,11 +1,11 @@
1
- export declare const createInputBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"id", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"autofocus", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: T2[k]; }[P]; }>;
1
+ export declare const createInputBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"id", keyof T2> | Extract<"formatter", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"autofocus", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "readonly" | "id" | "formatter" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "readonly" | "id" | "formatter" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "readonly" | "id" | "formatter" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: T2[k]; }[P]; }>;
2
2
  export declare const createInputOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend", KE> : "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: { [k in "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
3
3
  export declare const createFormBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"inline", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"model", keyof T2> | Extract<"requireAsteriskPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2> | Extract<"scrollIntoViewOptions", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "inline" | "labelWidth" | "labelPosition" | "rules" | "inlineMessage" | "showMessage" | "model" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions", keyof T2>, KE> : Extract<"size" | "disabled" | "inline" | "labelWidth" | "labelPosition" | "rules" | "inlineMessage" | "showMessage" | "model" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions", keyof T2>]: { [k in Extract<"size" | "disabled" | "inline" | "labelWidth" | "labelPosition" | "rules" | "inlineMessage" | "showMessage" | "model" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions", keyof T2>]: T2[k]; }[P]; }>;
4
4
  export declare const createFormOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "validate"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"validate", KE> : "validate"]: { [k in "validate"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
5
5
  export declare const createFormItemBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"prop", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required" | "prop" | "size" | "label" | "labelWidth" | "labelPosition" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage", keyof T2>, KE> : Extract<"required" | "prop" | "size" | "label" | "labelWidth" | "labelPosition" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage", keyof T2>]: { [k in Extract<"required" | "prop" | "size" | "label" | "labelWidth" | "labelPosition" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage", keyof T2>]: T2[k]; }[P]; }>;
6
- export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"inactiveActionIcon", keyof T2> | Extract<"activeActionIcon", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"beforeChange", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: T2[k]; }[P]; }>;
6
+ export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"width", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"loading", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"inactiveActionIcon", keyof T2> | Extract<"activeActionIcon", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"beforeChange", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "id" | "width" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "id" | "width" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "id" | "width" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: T2[k]; }[P]; }>;
7
7
  export declare const createSwitchOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change", KE> : "update:modelValue" | "input" | "change"]: { [k in "update:modelValue" | "input" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
8
- export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"multiple", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "id" | "multiple" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "id" | "multiple" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "id" | "multiple" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: T2[k]; }[P]; }>;
8
+ export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"multiple", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "id" | "multiple" | "filterMethod" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "id" | "multiple" | "filterMethod" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "id" | "multiple" | "filterMethod" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: T2[k]; }[P]; }>;
9
9
  export declare const createSelectOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change"]: { [k in "clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
10
10
  export declare const createDatePickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"readonly", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showNow", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "name" | "readonly" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "name" | "readonly" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "name" | "readonly" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>]: T2[k]; }[P]; }>;
11
11
  export declare const createDatePickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change", KE> : "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
@@ -20,7 +20,7 @@ export declare const createColorPickerBindProps: <T2 extends import("@vunk/core"
20
20
  export declare const createColorPickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "activeChange")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "activeChange", KE> : "update:modelValue" | "change" | "focus" | "blur" | "activeChange"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "activeChange"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
21
21
  export declare const createButtonBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"tag", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"icon", keyof T2> | Extract<"link", keyof T2> | Extract<"circle", keyof T2> | Extract<"text", keyof T2> | Extract<"dark", keyof T2> | Extract<"plain", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"loading", keyof T2> | Extract<"nativeType", keyof T2> | Extract<"loadingIcon", keyof T2> | Extract<"bg", keyof T2> | Extract<"round", keyof T2> | Extract<"color", keyof T2> | Extract<"autoInsertSpace", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"tag" | "type" | "size" | "disabled" | "icon" | "link" | "circle" | "text" | "dark" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>, KE> : Extract<"tag" | "type" | "size" | "disabled" | "icon" | "link" | "circle" | "text" | "dark" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>]: { [k in Extract<"tag" | "type" | "size" | "disabled" | "icon" | "link" | "circle" | "text" | "dark" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>]: T2[k]; }[P]; }>;
22
22
  export declare const createButtonOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "click"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"click", KE> : "click"]: { [k in "click"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
23
- export declare const createCascaderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"props", keyof T2> | Extract<"placement", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"options", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect" | "options", keyof T2>, KE> : Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect" | "options", keyof T2>]: { [k in Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect" | "options", keyof T2>]: T2[k]; }[P]; }>;
23
+ export declare const createCascaderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"props", keyof T2> | Extract<"placement", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"options", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "props" | "placement" | "filterMethod" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "filterable" | "popperClass" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect" | "options", keyof T2>, KE> : Extract<"size" | "disabled" | "props" | "placement" | "filterMethod" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "filterable" | "popperClass" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect" | "options", keyof T2>]: { [k in Extract<"size" | "disabled" | "props" | "placement" | "filterMethod" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "filterable" | "popperClass" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect" | "options", keyof T2>]: T2[k]; }[P]; }>;
24
24
  export declare const createCascaderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: { [k in "clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
25
25
  export declare const createSliderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"vertical", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"step", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"debounce", keyof T2> | Extract<"showInput", keyof T2> | Extract<"showInputControls", keyof T2> | Extract<"inputSize", keyof T2> | Extract<"showStops", keyof T2> | Extract<"showTooltip", keyof T2> | Extract<"formatTooltip", keyof T2> | Extract<"range", keyof T2> | Extract<"height", keyof T2> | Extract<"rangeStartLabel", keyof T2> | Extract<"rangeEndLabel", keyof T2> | Extract<"formatValueText", keyof T2> | Extract<"tooltipClass", keyof T2> | Extract<"marks", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "vertical" | "disabled" | "placement" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "step" | "max" | "min" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>, KE> : Extract<"size" | "vertical" | "disabled" | "placement" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "step" | "max" | "min" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>]: { [k in Extract<"size" | "vertical" | "disabled" | "placement" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "step" | "max" | "min" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>]: T2[k]; }[P]; }>;
26
26
  export declare const createSliderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change", KE> : "update:modelValue" | "input" | "change"]: { [k in "update:modelValue" | "input" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
@@ -4,7 +4,10 @@ import { Arrayable } from 'element-plus/es/utils';
4
4
  import { ComponentInternalInstance, ComputedRef } from 'vue';
5
5
  export * from './source';
6
6
  export * from './source-manager';
7
- export type TemplateInstances = Record<string, ComponentInternalInstance>;
7
+ export type TemplateInstances = {
8
+ [key: string]: ComponentInternalInstance;
9
+ [key: symbol]: any;
10
+ };
8
11
  export interface RendererData {
9
12
  data: ComputedRef<NormalObject>;
10
13
  emitSetData: (e: SetDataEvent) => void;