@vunk/form 2.10.0 → 2.10.3

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 (88) hide show
  1. package/components/api-tables-select/index.cjs +37 -36
  2. package/components/api-tables-select/index.mjs +37 -36
  3. package/components/api-tables-select/src/ctx.d.ts +48 -13
  4. package/components/api-tables-select/src/index.vue.d.ts +568 -80
  5. package/components/button/src/ctx.d.ts +101 -17
  6. package/components/button/src/index.vue.d.ts +437 -101
  7. package/components/card-input-collection/index.cjs +67 -70
  8. package/components/card-input-collection/index.mjs +68 -71
  9. package/components/card-input-collection/src/ctx.d.ts +43 -8
  10. package/components/card-input-collection/src/index.vue.d.ts +718 -226
  11. package/components/cascader/src/ctx.d.ts +192 -46
  12. package/components/cascader/src/index.vue.d.ts +393 -118
  13. package/components/checkbox/index.cjs +2 -3
  14. package/components/checkbox/index.mjs +2 -3
  15. package/components/checkbox/src/ctx.d.ts +65 -13
  16. package/components/checkbox/src/index.vue.d.ts +339 -115
  17. package/components/color-picker/src/ctx.d.ts +76 -13
  18. package/components/color-picker/src/index.vue.d.ts +160 -34
  19. package/components/date-picker/src/ctx.d.ts +185 -36
  20. package/components/date-picker/src/index.vue.d.ts +974 -202
  21. package/components/date-picker-range/src/ctx.d.ts +168 -35
  22. package/components/date-picker-range/src/index.vue.d.ts +347 -82
  23. package/components/download-plus/index.cjs +4 -4
  24. package/components/download-plus/index.mjs +4 -4
  25. package/components/download-plus/src/ctx.d.ts +43 -8
  26. package/components/download-plus/src/index.vue.d.ts +618 -165
  27. package/components/editable-text/index.cjs +29 -15
  28. package/components/editable-text/index.mjs +29 -15
  29. package/components/editable-text/src/ctx.d.ts +51 -8
  30. package/components/editable-text/src/index.vue.d.ts +2827 -251
  31. package/components/esri-input-geojson/src/append.vue.d.ts +769 -418
  32. package/components/esri-input-geojson/src/ctx.d.ts +133 -32
  33. package/components/esri-input-geojson/src/index.vue.d.ts +262 -92
  34. package/components/esri-input-geojson/src/viewer.vue.d.ts +1 -1
  35. package/components/form/src/ctx.d.ts +59 -11
  36. package/components/form/src/index.vue.d.ts +3456 -186
  37. package/components/form-item/src/ctx.d.ts +45 -10
  38. package/components/form-item/src/index.vue.d.ts +484 -141
  39. package/components/information-collection/src/ctx.d.ts +45 -10
  40. package/components/information-collection/src/index.vue.d.ts +96 -26
  41. package/components/information-tag/src/ctx.d.ts +17 -3
  42. package/components/information-tag/src/index.vue.d.ts +38 -10
  43. package/components/input/src/ctx.d.ts +138 -33
  44. package/components/input/src/index.vue.d.ts +528 -152
  45. package/components/input-collection/index.cjs +105 -74
  46. package/components/input-collection/index.mjs +107 -76
  47. package/components/input-collection/src/ctx.d.ts +43 -8
  48. package/components/input-collection/src/index.vue.d.ts +756 -793
  49. package/components/input-link/src/ctx.d.ts +103 -25
  50. package/components/input-link/src/index.vue.d.ts +219 -63
  51. package/components/input-number/src/ctx.d.ts +123 -21
  52. package/components/input-number/src/index.vue.d.ts +468 -93
  53. package/components/input-tag/src/ctx.d.ts +141 -25
  54. package/components/input-tag/src/index.vue.d.ts +566 -126
  55. package/components/monaco-editor/src/ctx.d.ts +43 -8
  56. package/components/monaco-editor/src/index.vue.d.ts +91 -21
  57. package/components/radio/index.cjs +2 -3
  58. package/components/radio/index.mjs +2 -3
  59. package/components/radio/src/ctx.d.ts +84 -14
  60. package/components/radio/src/index.vue.d.ts +812 -168
  61. package/components/select/src/ctx.d.ts +63 -13
  62. package/components/select/src/index.vue.d.ts +549 -108
  63. package/components/slider/src/ctx.d.ts +170 -54
  64. package/components/slider/src/index.vue.d.ts +362 -137
  65. package/components/switch/src/ctx.d.ts +105 -21
  66. package/components/switch/src/index.vue.d.ts +453 -117
  67. package/components/tables-select/src/ctx.d.ts +72 -9
  68. package/components/tables-select/src/index.vue.d.ts +386 -82
  69. package/components/templates-element-plus/src/index.vue.d.ts +187 -40
  70. package/components/templates-layout/src/index.vue.d.ts +337 -64
  71. package/components/upload/index.cjs +2 -2
  72. package/components/upload/index.mjs +2 -2
  73. package/components/upload/src/ctx.d.ts +183 -89
  74. package/components/upload/src/file.vue.d.ts +269 -83
  75. package/components/upload/src/index.vue.d.ts +1246 -632
  76. package/components/upload-plus/index.cjs +79 -86
  77. package/components/upload-plus/index.mjs +79 -86
  78. package/components/upload-plus/src/ctx.d.ts +43 -8
  79. package/components/upload-plus/src/index.vue.d.ts +1008 -283
  80. package/components/van-cascader/src/ctx.d.ts +181 -44
  81. package/components/van-cascader/src/index.vue.d.ts +1532 -324
  82. package/components/var-datetime-picker/src/ctx.d.ts +43 -8
  83. package/components/var-datetime-picker/src/index.vue.d.ts +932 -190
  84. package/components/vditor/src/ctx.d.ts +43 -8
  85. package/components/vditor/src/index.vue.d.ts +91 -21
  86. package/package.json +1 -1
  87. package/shared/element-plus/ctx.d.ts +111 -30
  88. package/shared/element-plus/instances.d.ts +140 -28
@@ -401,8 +401,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
401
401
  default: vue.withCtx(() => _cache[0] || (_cache[0] = [
402
402
  vue.createTextVNode(" \u6682\u505C ")
403
403
  ])),
404
- _: 1
405
- /* STABLE */
404
+ _: 1,
405
+ __: [0]
406
406
  }, 8, ["onClick"])) : (vue.openBlock(), vue.createBlock(_component_el_button, {
407
407
  key: 1,
408
408
  type: "primary",
@@ -411,8 +411,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
411
411
  default: vue.withCtx(() => _cache[1] || (_cache[1] = [
412
412
  vue.createTextVNode(" \u4E0B\u8F7D ")
413
413
  ])),
414
- _: 1
415
- /* STABLE */
414
+ _: 1,
415
+ __: [1]
416
416
  }, 8, ["onClick"]))
417
417
  ]),
418
418
  _: 1
@@ -397,8 +397,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
397
397
  default: withCtx(() => _cache[0] || (_cache[0] = [
398
398
  createTextVNode(" \u6682\u505C ")
399
399
  ])),
400
- _: 1
401
- /* STABLE */
400
+ _: 1,
401
+ __: [0]
402
402
  }, 8, ["onClick"])) : (openBlock(), createBlock(_component_el_button, {
403
403
  key: 1,
404
404
  type: "primary",
@@ -407,8 +407,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
407
407
  default: withCtx(() => _cache[1] || (_cache[1] = [
408
408
  createTextVNode(" \u4E0B\u8F7D ")
409
409
  ])),
410
- _: 1
411
- /* STABLE */
410
+ _: 1,
411
+ __: [1]
412
412
  }, 8, ["onClick"]))
413
413
  ]),
414
414
  _: 1
@@ -29,7 +29,14 @@ export declare const props: {
29
29
  type: PropType<Status>;
30
30
  default: any;
31
31
  };
32
- required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
32
+ required: {
33
+ readonly type: PropType<boolean>;
34
+ readonly required: false;
35
+ readonly validator: ((val: unknown) => boolean) | undefined;
36
+ __epPropKey: true;
37
+ } & {
38
+ readonly default: undefined;
39
+ };
33
40
  formItemSize: {
34
41
  type: PropType<"default" | "small" | "large">;
35
42
  default: "default" | "small" | "large";
@@ -64,30 +71,58 @@ export declare const props: {
64
71
  default: boolean;
65
72
  };
66
73
  label: StringConstructor;
67
- labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
68
- labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
74
+ labelWidth: {
75
+ readonly type: PropType<string | number>;
76
+ readonly required: false;
77
+ readonly validator: ((val: unknown) => boolean) | undefined;
78
+ __epPropKey: true;
79
+ } & {
80
+ readonly default: "";
81
+ };
82
+ labelPosition: {
83
+ readonly type: PropType<"" | "top" | "left" | "right">;
84
+ readonly required: false;
85
+ readonly validator: ((val: unknown) => boolean) | undefined;
86
+ __epPropKey: true;
87
+ } & {
88
+ readonly default: "";
89
+ };
69
90
  prop: {
70
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
91
+ readonly type: PropType<import("element-plus").FormItemProp>;
71
92
  readonly required: false;
72
93
  readonly validator: ((val: unknown) => boolean) | undefined;
73
94
  __epPropKey: true;
74
95
  };
75
96
  rules: {
76
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
97
+ readonly type: PropType<unknown>;
77
98
  readonly required: false;
78
99
  readonly validator: ((val: unknown) => boolean) | undefined;
79
100
  __epPropKey: true;
80
101
  };
81
102
  error: StringConstructor;
82
103
  validateStatus: {
83
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
104
+ readonly type: PropType<"" | "error" | "success" | "validating">;
84
105
  readonly required: false;
85
106
  readonly validator: ((val: unknown) => boolean) | undefined;
86
107
  __epPropKey: true;
87
108
  };
88
109
  for: StringConstructor;
89
- inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
90
- showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
110
+ inlineMessage: {
111
+ readonly type: PropType<string | boolean>;
112
+ readonly required: false;
113
+ readonly validator: ((val: unknown) => boolean) | undefined;
114
+ __epPropKey: true;
115
+ } & {
116
+ readonly default: "";
117
+ };
118
+ showMessage: {
119
+ readonly type: PropType<boolean>;
120
+ readonly required: false;
121
+ readonly validator: ((val: unknown) => boolean) | undefined;
122
+ __epPropKey: true;
123
+ } & {
124
+ readonly default: true;
125
+ };
91
126
  };
92
127
  export declare const emits: {
93
128
  'update:fileStatus': any;