@vunk/form 2.14.20 → 2.15.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 (89) hide show
  1. package/components/api-tables-select/src/ctx.d.ts +1 -0
  2. package/components/api-tables-select/src/index.vue.d.ts +5 -0
  3. package/components/button/src/ctx.d.ts +1 -0
  4. package/components/button/src/index.vue.d.ts +3 -0
  5. package/components/card-input-collection/src/core.vue.d.ts +4 -0
  6. package/components/card-input-collection/src/ctx.d.ts +1 -0
  7. package/components/card-input-collection/src/index.vue.d.ts +3 -0
  8. package/components/cascader/src/ctx.d.ts +2 -1
  9. package/components/cascader/src/index.vue.d.ts +3 -0
  10. package/components/checkbox/src/ctx.d.ts +1 -1
  11. package/components/checkbox/src/index.vue.d.ts +1 -1
  12. package/components/color-picker/src/ctx.d.ts +1 -0
  13. package/components/color-picker/src/index.vue.d.ts +3 -0
  14. package/components/date-picker/src/ctx.d.ts +2 -1
  15. package/components/date-picker/src/index.vue.d.ts +3 -0
  16. package/components/date-picker-range/src/ctx.d.ts +1 -0
  17. package/components/date-picker-range/src/index.vue.d.ts +3 -0
  18. package/components/dialog/index.cjs +125 -0
  19. package/components/dialog/index.d.ts +4 -0
  20. package/components/dialog/index.mjs +119 -0
  21. package/components/dialog/src/ctx.d.ts +174 -0
  22. package/components/dialog/src/index.vue.d.ts +1180 -0
  23. package/components/dialog/src/types.d.ts +1 -0
  24. package/components/dialog-input-collection/src/ctx.d.ts +1 -0
  25. package/components/dialog-input-collection/src/index.vue.d.ts +4 -0
  26. package/components/download-plus/src/ctx.d.ts +1 -0
  27. package/components/download-plus/src/index.vue.d.ts +3 -0
  28. package/components/editable-text/src/ctx.d.ts +1 -0
  29. package/components/editable-text/src/index.vue.d.ts +4 -0
  30. package/components/esri-input-geojson/src/ctx.d.ts +2 -1
  31. package/components/esri-input-geojson/src/index.vue.d.ts +4 -0
  32. package/components/form-item/index.cjs +17 -1
  33. package/components/form-item/index.mjs +18 -2
  34. package/components/form-item/src/ctx.d.ts +2 -1
  35. package/components/form-item/src/index.vue.d.ts +3 -0
  36. package/components/information/index.cjs +7 -3
  37. package/components/information/index.mjs +7 -3
  38. package/components/information/src/ctx.d.ts +4 -1
  39. package/components/information/src/index.vue.d.ts +6 -2
  40. package/components/information-collection/src/ctx.d.ts +1 -0
  41. package/components/information-collection/src/index.vue.d.ts +3 -0
  42. package/components/input/src/ctx.d.ts +2 -1
  43. package/components/input/src/index.vue.d.ts +3 -0
  44. package/components/input-array/index.cjs +0 -3
  45. package/components/input-array/index.mjs +0 -3
  46. package/components/input-array/src/form-template.vue.d.ts +1 -1
  47. package/components/input-array/src/index.vue.d.ts +1 -1
  48. package/components/input-collection/src/core.vue.d.ts +4 -0
  49. package/components/input-collection/src/ctx.d.ts +1 -0
  50. package/components/input-collection/src/index.vue.d.ts +3 -0
  51. package/components/input-link/src/ctx.d.ts +1 -0
  52. package/components/input-link/src/index.vue.d.ts +3 -0
  53. package/components/input-number/src/ctx.d.ts +2 -1
  54. package/components/input-number/src/index.vue.d.ts +3 -0
  55. package/components/input-tag/src/ctx.d.ts +2 -1
  56. package/components/input-tag/src/index.vue.d.ts +3 -0
  57. package/components/monaco-editor/src/ctx.d.ts +1 -0
  58. package/components/monaco-editor/src/index.vue.d.ts +3 -0
  59. package/components/radio/index.cjs +1 -3
  60. package/components/radio/index.mjs +1 -3
  61. package/components/radio/src/ctx.d.ts +1 -1
  62. package/components/radio/src/index.vue.d.ts +3 -3
  63. package/components/select/index.cjs +0 -2
  64. package/components/select/index.mjs +0 -2
  65. package/components/select/src/core.vue.d.ts +3 -3
  66. package/components/select/src/ctx.d.ts +2 -2
  67. package/components/select/src/index.vue.d.ts +3 -3
  68. package/components/slider/index.cjs +1 -2
  69. package/components/slider/index.mjs +1 -2
  70. package/components/slider/src/ctx.d.ts +1 -1
  71. package/components/slider/src/index.vue.d.ts +3 -3
  72. package/components/switch/index.cjs +1 -4
  73. package/components/switch/index.mjs +1 -4
  74. package/components/switch/src/ctx.d.ts +1 -3
  75. package/components/switch/src/index.vue.d.ts +3 -7
  76. package/components/switch/src/types.d.ts +0 -1
  77. package/components/tables-select/src/ctx.d.ts +2 -1
  78. package/components/tables-select/src/index.vue.d.ts +3 -0
  79. package/components/upload/src/ctx.d.ts +2 -1
  80. package/components/upload/src/index.vue.d.ts +3 -0
  81. package/components/upload-plus/src/ctx.d.ts +1 -0
  82. package/components/upload-plus/src/index.vue.d.ts +4 -0
  83. package/components/van-cascader/src/ctx.d.ts +1 -0
  84. package/components/van-cascader/src/index.vue.d.ts +4 -0
  85. package/components/var-datetime-picker/src/ctx.d.ts +1 -0
  86. package/components/var-datetime-picker/src/index.vue.d.ts +3 -0
  87. package/components/vditor/src/ctx.d.ts +1 -0
  88. package/components/vditor/src/index.vue.d.ts +3 -0
  89. package/package.json +6 -1
@@ -80,6 +80,7 @@ export declare const props: {
80
80
  default: boolean;
81
81
  };
82
82
  prop: any;
83
+ defaultModelValue: any;
83
84
  label: StringConstructor;
84
85
  labelWidth: {
85
86
  readonly type: PropType<string | number>;
@@ -68,6 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
68
68
  default: boolean;
69
69
  };
70
70
  prop: any;
71
+ defaultModelValue: any;
71
72
  label: StringConstructor;
72
73
  labelWidth: {
73
74
  readonly type: import("vue").PropType<string | number>;
@@ -400,6 +401,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
400
401
  default: boolean;
401
402
  };
402
403
  prop: any;
404
+ defaultModelValue: any;
403
405
  label: StringConstructor;
404
406
  labelWidth: {
405
407
  readonly type: import("vue").PropType<string | number>;
@@ -708,6 +710,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
708
710
  labelTip: string;
709
711
  information: boolean;
710
712
  prop: any;
713
+ defaultModelValue: any;
711
714
  label: string;
712
715
  labelWidth: string | number;
713
716
  labelPosition: "" | "top" | "left" | "right";
@@ -967,6 +970,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
967
970
  default: boolean;
968
971
  };
969
972
  prop: any;
973
+ defaultModelValue: any;
970
974
  label: StringConstructor;
971
975
  labelWidth: {
972
976
  readonly type: import("vue").PropType<string | number>;
@@ -1271,6 +1275,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1271
1275
  labelTip: string;
1272
1276
  information: boolean;
1273
1277
  prop: any;
1278
+ defaultModelValue: any;
1274
1279
  labelWidth: string | number;
1275
1280
  labelPosition: "" | "top" | "left" | "right";
1276
1281
  inlineMessage: string | boolean;
@@ -139,6 +139,7 @@ export declare const props: {
139
139
  default: boolean;
140
140
  };
141
141
  prop: any;
142
+ defaultModelValue: any;
142
143
  label: StringConstructor;
143
144
  labelWidth: {
144
145
  readonly type: PropType<string | number>;
@@ -138,6 +138,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
138
138
  default: boolean;
139
139
  };
140
140
  prop: any;
141
+ defaultModelValue: any;
141
142
  label: StringConstructor;
142
143
  labelWidth: {
143
144
  readonly type: import("vue").PropType<string | number>;
@@ -331,6 +332,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
331
332
  default: boolean;
332
333
  };
333
334
  prop: any;
335
+ defaultModelValue: any;
334
336
  label: StringConstructor;
335
337
  labelWidth: {
336
338
  readonly type: import("vue").PropType<string | number>;
@@ -392,6 +394,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
392
394
  labelTip: string;
393
395
  information: boolean;
394
396
  prop: any;
397
+ defaultModelValue: any;
395
398
  labelWidth: string | number;
396
399
  labelPosition: "" | "top" | "left" | "right";
397
400
  inlineMessage: string | boolean;
@@ -79,6 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
79
79
  default: boolean;
80
80
  };
81
81
  prop: any;
82
+ defaultModelValue: any;
82
83
  label: StringConstructor;
83
84
  labelWidth: {
84
85
  readonly type: import("vue").PropType<string | number>;
@@ -206,6 +207,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
206
207
  default: boolean;
207
208
  };
208
209
  prop: any;
210
+ defaultModelValue: any;
209
211
  label: StringConstructor;
210
212
  labelWidth: {
211
213
  readonly type: import("vue").PropType<string | number>;
@@ -1044,6 +1046,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1044
1046
  default: boolean;
1045
1047
  };
1046
1048
  prop: any;
1049
+ defaultModelValue: any;
1047
1050
  label: StringConstructor;
1048
1051
  labelWidth: {
1049
1052
  readonly type: import("vue").PropType<string | number>;
@@ -1104,6 +1107,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1104
1107
  labelTip: string;
1105
1108
  information: boolean;
1106
1109
  prop: any;
1110
+ defaultModelValue: any;
1107
1111
  labelWidth: string | number;
1108
1112
  labelPosition: "" | "top" | "left" | "right";
1109
1113
  inlineMessage: string | boolean;
@@ -100,6 +100,7 @@ export declare const props: {
100
100
  default: boolean;
101
101
  };
102
102
  prop: any;
103
+ defaultModelValue: any;
103
104
  label: StringConstructor;
104
105
  labelWidth: {
105
106
  readonly type: PropType<string | number>;
@@ -77,6 +77,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
77
  default: boolean;
78
78
  };
79
79
  prop: any;
80
+ defaultModelValue: any;
80
81
  label: StringConstructor;
81
82
  labelWidth: {
82
83
  readonly type: import("vue").PropType<string | number>;
@@ -207,6 +208,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
207
208
  default: boolean;
208
209
  };
209
210
  prop: any;
211
+ defaultModelValue: any;
210
212
  label: StringConstructor;
211
213
  labelWidth: {
212
214
  readonly type: import("vue").PropType<string | number>;
@@ -267,6 +269,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
267
269
  labelTip: string;
268
270
  information: boolean;
269
271
  prop: any;
272
+ defaultModelValue: any;
270
273
  labelWidth: string | number;
271
274
  labelPosition: "" | "top" | "left" | "right";
272
275
  inlineMessage: string | boolean;
@@ -55,6 +55,7 @@ export declare const props: {
55
55
  default: boolean;
56
56
  };
57
57
  prop: any;
58
+ defaultModelValue: any;
58
59
  label: StringConstructor;
59
60
  labelWidth: {
60
61
  readonly type: PropType<string | number>;
@@ -319,7 +320,7 @@ export declare const props: {
319
320
  readonly default: () => import("element-plus").CascaderProps;
320
321
  };
321
322
  };
322
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"separator", keyof T2>, KE> | Exclude<Extract<"showAllLevels", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"maxCollapseTagsTooltipHeight", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"beforeFilter", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"showCheckedStrategy", keyof T2>, KE> | Exclude<Extract<"checkOnClickNode", keyof T2>, KE> | Exclude<Extract<"showPrefix", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"cascaderSlots", keyof T2>, KE> | Exclude<Extract<"cascaderRef", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: T2[k]; }[P]; }>;
323
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"separator", keyof T2>, KE> | Exclude<Extract<"showAllLevels", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"maxCollapseTagsTooltipHeight", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"beforeFilter", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"showCheckedStrategy", keyof T2>, KE> | Exclude<Extract<"checkOnClickNode", keyof T2>, KE> | Exclude<Extract<"showPrefix", keyof T2>, KE> | Exclude<Extract<"optionsUrl", keyof T2>, KE> | Exclude<Extract<"cascaderSlots", keyof T2>, KE> | Exclude<Extract<"cascaderRef", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"persistent", keyof T2> | Extract<"teleported", keyof T2> | Extract<"effect", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"props", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"options", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"filterable", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2> | Extract<"optionsUrl", keyof T2> | Extract<"cascaderSlots", keyof T2> | Extract<"cascaderRef", keyof T2>]: T2[k]; }[P]; }>;
323
324
  export declare const emits: {
324
325
  "update:modelValue": (value: import("element-plus").CascaderValue | null | undefined) => boolean;
325
326
  change: (value: import("element-plus").CascaderValue | null | undefined) => boolean;
@@ -53,6 +53,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
53
53
  default: boolean;
54
54
  };
55
55
  prop: any;
56
+ defaultModelValue: any;
56
57
  label: StringConstructor;
57
58
  labelWidth: {
58
59
  readonly type: import("vue").PropType<string | number>;
@@ -441,6 +442,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
441
442
  default: boolean;
442
443
  };
443
444
  prop: any;
445
+ defaultModelValue: any;
444
446
  label: StringConstructor;
445
447
  labelWidth: {
446
448
  readonly type: import("vue").PropType<string | number>;
@@ -724,6 +726,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
724
726
  labelTip: string;
725
727
  information: boolean;
726
728
  prop: any;
729
+ defaultModelValue: any;
727
730
  labelWidth: string | number;
728
731
  labelPosition: "" | "top" | "left" | "right";
729
732
  inlineMessage: string | boolean;
@@ -135,7 +135,7 @@ export declare const props: {
135
135
  readonly default: true;
136
136
  };
137
137
  };
138
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2> | Extract<"defaultModelValue", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"fill", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tag", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"textColor", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2> | Extract<"defaultModelValue", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2> | Extract<"defaultModelValue", keyof T2>]: T2[k]; }[P]; }>;
138
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"fill", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tag", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"textColor", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tag", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"options", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>]: T2[k]; }[P]; }>;
139
139
  export declare const emits: {
140
140
  "update:modelValue": (val: import("element-plus").CheckboxGroupValueType) => boolean;
141
141
  change: (val: import("element-plus").CheckboxValueType[]) => boolean;
@@ -302,6 +302,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
302
302
  labelTip: string;
303
303
  information: boolean;
304
304
  prop: any;
305
+ defaultModelValue: any[];
305
306
  labelWidth: string | number;
306
307
  labelPosition: "" | "top" | "left" | "right";
307
308
  inlineMessage: string | boolean;
@@ -311,7 +312,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
311
312
  tag: string;
312
313
  options: CheckboxProps[];
313
314
  validateEvent: boolean;
314
- defaultModelValue: any[];
315
315
  }, {}, {
316
316
  VkfFormItem: {
317
317
  new (...args: any[]): any;
@@ -121,6 +121,7 @@ export declare const props: {
121
121
  default: boolean;
122
122
  };
123
123
  prop: any;
124
+ defaultModelValue: any;
124
125
  label: StringConstructor;
125
126
  labelWidth: {
126
127
  readonly type: import("vue").PropType<string | number>;
@@ -121,6 +121,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
121
121
  default: boolean;
122
122
  };
123
123
  prop: any;
124
+ defaultModelValue: any;
124
125
  label: StringConstructor;
125
126
  labelWidth: {
126
127
  readonly type: import("vue").PropType<string | number>;
@@ -301,6 +302,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
301
302
  default: boolean;
302
303
  };
303
304
  prop: any;
305
+ defaultModelValue: any;
304
306
  label: StringConstructor;
305
307
  labelWidth: {
306
308
  readonly type: import("vue").PropType<string | number>;
@@ -365,6 +367,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
365
367
  labelTip: string;
366
368
  information: boolean;
367
369
  prop: any;
370
+ defaultModelValue: any;
368
371
  labelWidth: string | number;
369
372
  labelPosition: "" | "top" | "left" | "right";
370
373
  inlineMessage: string | boolean;
@@ -47,6 +47,7 @@ export declare const props: {
47
47
  default: boolean;
48
48
  };
49
49
  prop: any;
50
+ defaultModelValue: any;
50
51
  label: StringConstructor;
51
52
  labelWidth: {
52
53
  readonly type: PropType<string | number>;
@@ -340,7 +341,7 @@ export declare const props: {
340
341
  };
341
342
  isRange: BooleanConstructor;
342
343
  };
343
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"showNow", keyof T2>, KE> | Exclude<Extract<"showConfirm", keyof T2>, KE> | Exclude<Extract<"showFooter", keyof T2>, KE> | Exclude<Extract<"showWeekNumber", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"disabledDate", keyof T2>, KE> | Exclude<Extract<"shortcuts", keyof T2>, KE> | Exclude<Extract<"arrowControl", keyof T2>, KE> | Exclude<Extract<"unlinkPanels", keyof T2>, KE> | Exclude<Extract<"disabledHours", keyof T2>, KE> | Exclude<Extract<"disabledMinutes", keyof T2>, KE> | Exclude<Extract<"disabledSeconds", keyof T2>, KE> | Exclude<Extract<"format", keyof T2>, KE> | Exclude<Extract<"valueFormat", keyof T2>, KE> | Exclude<Extract<"dateFormat", keyof T2>, KE> | Exclude<Extract<"timeFormat", keyof T2>, KE> | Exclude<Extract<"editable", keyof T2>, KE> | Exclude<Extract<"rangeSeparator", keyof T2>, KE> | Exclude<Extract<"startPlaceholder", keyof T2>, KE> | Exclude<Extract<"endPlaceholder", keyof T2>, KE> | Exclude<Extract<"defaultValue", keyof T2>, KE> | Exclude<Extract<"defaultTime", keyof T2>, KE> | Exclude<Extract<"isRange", keyof T2>, KE> | Exclude<Extract<"datePickerSlots", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", 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> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>]: T2[k]; }[P]; }>;
344
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"showNow", keyof T2>, KE> | Exclude<Extract<"showConfirm", keyof T2>, KE> | Exclude<Extract<"showFooter", keyof T2>, KE> | Exclude<Extract<"showWeekNumber", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"disabledDate", keyof T2>, KE> | Exclude<Extract<"shortcuts", keyof T2>, KE> | Exclude<Extract<"arrowControl", keyof T2>, KE> | Exclude<Extract<"unlinkPanels", keyof T2>, KE> | Exclude<Extract<"disabledHours", keyof T2>, KE> | Exclude<Extract<"disabledMinutes", keyof T2>, KE> | Exclude<Extract<"disabledSeconds", keyof T2>, KE> | Exclude<Extract<"format", keyof T2>, KE> | Exclude<Extract<"valueFormat", keyof T2>, KE> | Exclude<Extract<"dateFormat", keyof T2>, KE> | Exclude<Extract<"timeFormat", keyof T2>, KE> | Exclude<Extract<"editable", keyof T2>, KE> | Exclude<Extract<"rangeSeparator", keyof T2>, KE> | Exclude<Extract<"startPlaceholder", keyof T2>, KE> | Exclude<Extract<"endPlaceholder", keyof T2>, KE> | Exclude<Extract<"defaultValue", keyof T2>, KE> | Exclude<Extract<"defaultTime", keyof T2>, KE> | Exclude<Extract<"isRange", keyof T2>, KE> | Exclude<Extract<"datePickerSlots", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", 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> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"placement", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2> | Extract<"datePickerSlots", keyof T2>]: T2[k]; }[P]; }>;
344
345
  export declare const emits: {
345
346
  'update:modelValue': any;
346
347
  change: any;
@@ -45,6 +45,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
45
  default: boolean;
46
46
  };
47
47
  prop: any;
48
+ defaultModelValue: any;
48
49
  label: StringConstructor;
49
50
  labelWidth: {
50
51
  readonly type: import("vue").PropType<string | number>;
@@ -463,6 +464,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
463
464
  default: boolean;
464
465
  };
465
466
  prop: any;
467
+ defaultModelValue: any;
466
468
  label: StringConstructor;
467
469
  labelWidth: {
468
470
  readonly type: import("vue").PropType<string | number>;
@@ -776,6 +778,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
776
778
  labelTip: string;
777
779
  information: boolean;
778
780
  prop: any;
781
+ defaultModelValue: any;
779
782
  labelWidth: string | number;
780
783
  labelPosition: "" | "top" | "left" | "right";
781
784
  inlineMessage: string | boolean;
@@ -82,6 +82,7 @@ export declare const props: {
82
82
  type: BooleanConstructor;
83
83
  default: boolean;
84
84
  };
85
+ defaultModelValue: any;
85
86
  label: StringConstructor;
86
87
  labelWidth: {
87
88
  readonly type: PropType<string | number>;
@@ -81,6 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
81
81
  type: BooleanConstructor;
82
82
  default: boolean;
83
83
  };
84
+ defaultModelValue: any;
84
85
  label: StringConstructor;
85
86
  labelWidth: {
86
87
  readonly type: import("vue").PropType<string | number>;
@@ -462,6 +463,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
462
463
  type: BooleanConstructor;
463
464
  default: boolean;
464
465
  };
466
+ defaultModelValue: any;
465
467
  label: StringConstructor;
466
468
  labelWidth: {
467
469
  readonly type: import("vue").PropType<string | number>;
@@ -758,6 +760,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
758
760
  formItemTipClass: any;
759
761
  labelTip: string;
760
762
  information: boolean;
763
+ defaultModelValue: any;
761
764
  labelWidth: string | number;
762
765
  labelPosition: "" | "top" | "left" | "right";
763
766
  inlineMessage: string | boolean;
@@ -0,0 +1,125 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var elementPlus = require('element-plus');
7
+ var utilsVue = require('@vunk/core/shared/utils-vue');
8
+ var formsProvider = require('@vunk/form/components/forms-provider');
9
+ var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
10
+
11
+ const props = {
12
+ ...elementPlus.dialogProps,
13
+ draggable: {
14
+ type: Boolean,
15
+ default: true
16
+ },
17
+ closeOnClickModal: {
18
+ type: Boolean,
19
+ default: false
20
+ }
21
+ };
22
+ const createBindProps = utilsVue.bindPropsFactory(props);
23
+ const emits = {
24
+ ...elementPlus.dialogEmits
25
+ };
26
+ const createOnEmits = utilsVue.onEmitsFactory(emits);
27
+
28
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
29
+ ...{
30
+ name: "VkfDialog",
31
+ inheritAttrs: false
32
+ },
33
+ __name: "index",
34
+ props: props,
35
+ emits,
36
+ setup(__props, { expose: __expose, emit: __emit }) {
37
+ __expose();
38
+ const props = __props;
39
+ const emit = __emit;
40
+ const coreProps = createBindProps(props);
41
+ const coreEmits = createOnEmits(emit);
42
+ const formsRef = vue.ref();
43
+ const slots = vue.useSlots();
44
+ const hasFooterSlot = vue.computed(() => !!slots.footer);
45
+ vue.watch(() => props.modelValue, () => {
46
+ props.modelValue && vue.nextTick(() => {
47
+ formsRef.value?.forms.forEach(({ form }) => form.resetFields?.());
48
+ });
49
+ });
50
+ async function validate() {
51
+ return formsRef.value?.validate() ?? [];
52
+ }
53
+ const elForm = vue.computed(() => formsRef.value?.forms[0]?.form);
54
+ const forms = vue.computed(() => formsRef.value?.forms ?? []);
55
+ const __returned__ = { props, emit, coreProps, coreEmits, formsRef, slots, hasFooterSlot, validate, elForm, forms, get ElDialog() {
56
+ return elementPlus.ElDialog;
57
+ }, get VkfFormsProvider() {
58
+ return formsProvider.VkfFormsProvider;
59
+ }, get VkfFormsView() {
60
+ return formsProvider.VkfFormsView;
61
+ } };
62
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
63
+ return __returned__;
64
+ }
65
+ });
66
+
67
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
68
+ return vue.openBlock(), vue.createBlock($setup["VkfFormsProvider"], null, {
69
+ default: vue.withCtx(() => [
70
+ vue.createVNode(
71
+ $setup["ElDialog"],
72
+ vue.mergeProps({
73
+ ...$setup.coreProps,
74
+ ..._ctx.$attrs
75
+ }, vue.toHandlers($setup.coreEmits)),
76
+ vue.createSlots({
77
+ header: vue.withCtx(() => [
78
+ vue.renderSlot(_ctx.$slots, "header")
79
+ ]),
80
+ default: vue.withCtx(() => [
81
+ vue.renderSlot(_ctx.$slots, "default"),
82
+ vue.createVNode(
83
+ $setup["VkfFormsView"],
84
+ { ref: "formsRef" },
85
+ null,
86
+ 512
87
+ /* NEED_PATCH */
88
+ )
89
+ ]),
90
+ _: 2
91
+ /* DYNAMIC */
92
+ }, [
93
+ $setup.hasFooterSlot ? {
94
+ name: "footer",
95
+ fn: vue.withCtx(() => [
96
+ vue.renderSlot(_ctx.$slots, "footer", {
97
+ forms: $setup.forms,
98
+ validate: $setup.validate,
99
+ elForm: $setup.elForm
100
+ })
101
+ ]),
102
+ key: "0"
103
+ } : void 0
104
+ ]),
105
+ 1040
106
+ /* FULL_PROPS, DYNAMIC_SLOTS */
107
+ )
108
+ ]),
109
+ _: 3
110
+ /* FORWARDED */
111
+ });
112
+ }
113
+ var VkfDialog = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/dialog/src/index.vue"]]);
114
+
115
+ var types = /*#__PURE__*/Object.freeze({
116
+ __proto__: null
117
+ });
118
+
119
+ VkfDialog.install = (app) => {
120
+ app.component(VkfDialog.name || "VkfDialog", VkfDialog);
121
+ };
122
+
123
+ exports.VkfDialog = VkfDialog;
124
+ exports.__VkfDialog = types;
125
+ exports.default = VkfDialog;
@@ -0,0 +1,4 @@
1
+ import VkfDialog from './src/index.vue';
2
+ export * as __VkfDialog from './src/types';
3
+ export { VkfDialog, };
4
+ export default VkfDialog;