@vunk/form 2.12.2 → 2.13.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 (95) hide show
  1. package/components/api-tables-select/src/ctx.d.ts +1 -1
  2. package/components/api-tables-select/src/index.vue.d.ts +5 -5
  3. package/components/api-tables-select/src/types.d.ts +2 -2
  4. package/components/button/index.cjs +1 -1
  5. package/components/button/index.mjs +1 -1
  6. package/components/button/src/ctx.d.ts +1 -6
  7. package/components/button/src/index.vue.d.ts +3 -12
  8. package/components/button/src/types.d.ts +2 -2
  9. package/components/card-input-collection/src/ctx.d.ts +1 -6
  10. package/components/card-input-collection/src/index.vue.d.ts +4 -18
  11. package/components/card-input-collection/src/types.d.ts +2 -2
  12. package/components/cascader/src/ctx.d.ts +2 -7
  13. package/components/cascader/src/index.vue.d.ts +3 -12
  14. package/components/cascader/src/types.d.ts +1 -1
  15. package/components/checkbox/src/ctx.d.ts +2 -7
  16. package/components/checkbox/src/index.vue.d.ts +3 -12
  17. package/components/checkbox/src/types.d.ts +1 -1
  18. package/components/color-picker/src/ctx.d.ts +1 -6
  19. package/components/color-picker/src/index.vue.d.ts +3 -12
  20. package/components/color-picker/src/types.d.ts +1 -1
  21. package/components/date-picker/src/ctx.d.ts +2 -7
  22. package/components/date-picker/src/index.vue.d.ts +3 -12
  23. package/components/date-picker/src/types.d.ts +2 -2
  24. package/components/date-picker-range/src/types.d.ts +3 -3
  25. package/components/dialog-input-collection/index.cjs +6 -2
  26. package/components/dialog-input-collection/index.mjs +6 -2
  27. package/components/dialog-input-collection/src/ctx.d.ts +1 -6
  28. package/components/dialog-input-collection/src/index.vue.d.ts +4 -18
  29. package/components/dialog-input-collection/src/types.d.ts +2 -2
  30. package/components/download-plus/src/ctx.d.ts +1 -6
  31. package/components/download-plus/src/index.vue.d.ts +3 -12
  32. package/components/editable-text/src/ctx.d.ts +1 -6
  33. package/components/editable-text/src/index.vue.d.ts +5 -19
  34. package/components/esri-input-geojson/src/ctx.d.ts +2 -7
  35. package/components/esri-input-geojson/src/index.vue.d.ts +4 -13
  36. package/components/esri-input-geojson/src/types.d.ts +2 -2
  37. package/components/form/src/types.d.ts +1 -1
  38. package/components/form-item/index.cjs +2 -1
  39. package/components/form-item/index.mjs +2 -1
  40. package/components/form-item/src/ctx.d.ts +2 -7
  41. package/components/form-item/src/index.vue.d.ts +4 -13
  42. package/components/information/src/types.d.ts +1 -1
  43. package/components/information-collection/src/ctx.d.ts +1 -6
  44. package/components/information-collection/src/index.vue.d.ts +3 -12
  45. package/components/input/src/ctx.d.ts +2 -7
  46. package/components/input/src/index.vue.d.ts +3 -12
  47. package/components/input/src/types.d.ts +2 -2
  48. package/components/input-collection/src/ctx.d.ts +1 -6
  49. package/components/input-collection/src/index.vue.d.ts +4 -18
  50. package/components/input-collection/src/types.d.ts +2 -2
  51. package/components/input-link/src/ctx.d.ts +1 -6
  52. package/components/input-link/src/index.vue.d.ts +3 -12
  53. package/components/input-link/src/types.d.ts +1 -1
  54. package/components/input-number/src/ctx.d.ts +2 -7
  55. package/components/input-number/src/index.vue.d.ts +3 -12
  56. package/components/input-number/src/types.d.ts +1 -1
  57. package/components/input-tag/src/ctx.d.ts +2 -7
  58. package/components/input-tag/src/index.vue.d.ts +3 -12
  59. package/components/input-tag/src/types.d.ts +2 -2
  60. package/components/monaco-editor/src/ctx.d.ts +1 -6
  61. package/components/monaco-editor/src/index.vue.d.ts +3 -12
  62. package/components/monaco-editor/src/types.d.ts +2 -2
  63. package/components/radio/src/ctx.d.ts +1 -6
  64. package/components/radio/src/index.vue.d.ts +3 -12
  65. package/components/radio/src/types.d.ts +1 -1
  66. package/components/select/src/ctx.d.ts +2 -7
  67. package/components/select/src/index.vue.d.ts +3 -12
  68. package/components/select/src/types.d.ts +1 -1
  69. package/components/slider/src/ctx.d.ts +1 -6
  70. package/components/slider/src/index.vue.d.ts +3 -12
  71. package/components/slider/src/types.d.ts +1 -1
  72. package/components/switch/src/ctx.d.ts +1 -6
  73. package/components/switch/src/index.vue.d.ts +3 -12
  74. package/components/switch/src/types.d.ts +1 -1
  75. package/components/tables-select/src/ctx.d.ts +1 -1
  76. package/components/tables-select/src/index.vue.d.ts +2 -2
  77. package/components/tables-select/src/types.d.ts +2 -2
  78. package/components/templates-default/src/types.d.ts +16 -16
  79. package/components/templates-esri/src/types.d.ts +1 -1
  80. package/components/templates-variant/src/types.d.ts +1 -1
  81. package/components/upload/src/ctx.d.ts +2 -7
  82. package/components/upload/src/index.vue.d.ts +3 -12
  83. package/components/upload/src/types.d.ts +1 -1
  84. package/components/upload-plus/src/ctx.d.ts +1 -6
  85. package/components/upload-plus/src/index.vue.d.ts +4 -18
  86. package/components/van-cascader/src/ctx.d.ts +1 -6
  87. package/components/van-cascader/src/index.vue.d.ts +3 -12
  88. package/components/var-datetime-picker/src/ctx.d.ts +1 -6
  89. package/components/var-datetime-picker/src/index.vue.d.ts +3 -12
  90. package/components/var-datetime-picker/src/types.d.ts +2 -2
  91. package/components/vditor/src/ctx.d.ts +1 -6
  92. package/components/vditor/src/index.vue.d.ts +3 -12
  93. package/components/vditor/src/types.d.ts +2 -2
  94. package/package.json +1 -1
  95. package/shared/types/source/index.d.ts +2 -2
@@ -60,6 +60,7 @@ export declare const props: {
60
60
  type: BooleanConstructor;
61
61
  default: boolean;
62
62
  };
63
+ prop: any;
63
64
  label: StringConstructor;
64
65
  labelWidth: {
65
66
  readonly type: import("vue").PropType<string | number>;
@@ -77,12 +78,6 @@ export declare const props: {
77
78
  } & {
78
79
  readonly default: "";
79
80
  };
80
- prop: {
81
- readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
82
- readonly required: false;
83
- readonly validator: ((val: unknown) => boolean) | undefined;
84
- __epPropKey: true;
85
- };
86
81
  rules: {
87
82
  readonly type: import("vue").PropType<unknown>;
88
83
  readonly required: false;
@@ -60,6 +60,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
60
  type: BooleanConstructor;
61
61
  default: boolean;
62
62
  };
63
+ prop: any;
63
64
  label: StringConstructor;
64
65
  labelWidth: {
65
66
  readonly type: import("vue").PropType<string | number>;
@@ -77,12 +78,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
78
  } & {
78
79
  readonly default: "";
79
80
  };
80
- prop: {
81
- readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
82
- readonly required: false;
83
- readonly validator: ((val: unknown) => boolean) | undefined;
84
- __epPropKey: true;
85
- };
86
81
  rules: {
87
82
  readonly type: import("vue").PropType<unknown>;
88
83
  readonly required: false;
@@ -185,6 +180,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
185
180
  type: BooleanConstructor;
186
181
  default: boolean;
187
182
  };
183
+ prop: any;
188
184
  label: StringConstructor;
189
185
  labelWidth: {
190
186
  readonly type: import("vue").PropType<string | number>;
@@ -202,12 +198,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
202
198
  } & {
203
199
  readonly default: "";
204
200
  };
205
- prop: {
206
- readonly type: import("vue").PropType<import("element-plus").FormItemProp>;
207
- readonly required: false;
208
- readonly validator: ((val: unknown) => boolean) | undefined;
209
- __epPropKey: true;
210
- };
211
201
  rules: {
212
202
  readonly type: import("vue").PropType<unknown>;
213
203
  readonly required: false;
@@ -253,6 +243,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
253
243
  formItemTipClass: any;
254
244
  labelTip: string;
255
245
  information: boolean;
246
+ prop: any;
256
247
  labelWidth: string | number;
257
248
  labelPosition: "" | "top" | "left" | "right";
258
249
  inlineMessage: string | boolean;
@@ -1,7 +1,7 @@
1
1
  import { VueComponentPropsType } from '@vunk/shared';
2
2
  import Core from './index.vue';
3
3
  import { BasicSource } from '@vunk/form/shared';
4
- export interface Source<P extends string = string> extends VueComponentPropsType<typeof Core>, BasicSource {
5
- prop?: P | P[];
4
+ export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
5
+ prop?: P;
6
6
  templateType: 'VkfVditor';
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.12.2",
3
+ "version": "2.13.0",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -44,5 +44,5 @@ export interface BasicSource {
44
44
  * import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default'
45
45
  * ```
46
46
  */
47
- export type FormItemRendererSource<P extends string = string> = __VkfTemplatesDefault.Source<P>;
48
- export type AllTemplatesSource<P extends string = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesEsri.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatesSource<P>> | __VkfTemplatesElementPlus.Source | __VkfTemplatesVariant.Source<P>;
47
+ export type FormItemRendererSource<P = string> = __VkfTemplatesDefault.Source<P>;
48
+ export type AllTemplatesSource<P = string> = __VkfTemplatesDefault.Source<P> | __VkfTemplatesEsri.Source<P> | __VkfTemplatesLayout.ElRowSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.ElColSource<AllTemplatesSource<P>> | __VkfTemplatesLayout.VkfFlexSource<AllTemplatesSource<P>> | __VkfTemplatesElementPlus.Source | __VkfTemplatesVariant.Source<P>;