@vunk/form 2.10.5 → 2.12.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 (97) hide show
  1. package/components/button/src/ctx.d.ts +1 -1
  2. package/components/button/src/index.vue.d.ts +15 -15
  3. package/components/card-input-collection/src/index.vue.d.ts +12 -12
  4. package/components/cascader/src/ctx.d.ts +4 -11
  5. package/components/cascader/src/index.vue.d.ts +10 -24
  6. package/components/checkbox/src/index.vue.d.ts +27 -27
  7. package/components/cloneDeep.cjs +269 -37
  8. package/components/cloneDeep.mjs +269 -37
  9. package/components/color-picker/src/ctx.d.ts +17 -1
  10. package/components/color-picker/src/index.vue.d.ts +36 -2
  11. package/components/date-picker/src/ctx.d.ts +2 -1
  12. package/components/date-picker/src/index.vue.d.ts +10 -0
  13. package/components/date-picker-range/src/ctx.d.ts +1 -0
  14. package/components/date-picker-range/src/index.vue.d.ts +3 -0
  15. package/components/dialog-input-collection/index.cjs +560 -0
  16. package/components/dialog-input-collection/index.css +21 -0
  17. package/components/dialog-input-collection/index.d.ts +4 -0
  18. package/components/dialog-input-collection/index.mjs +554 -0
  19. package/components/dialog-input-collection/src/ctx.d.ts +142 -0
  20. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +647 -0
  21. package/components/dialog-input-collection/src/index.vue.d.ts +1972 -0
  22. package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
  23. package/components/dialog-input-collection/src/types.d.ts +28 -0
  24. package/components/download-plus/index.cjs +2 -2
  25. package/components/download-plus/index.mjs +2 -2
  26. package/components/download-plus/src/index.vue.d.ts +48 -18
  27. package/components/editable-text/index.cjs +1 -1
  28. package/components/editable-text/index.mjs +1 -1
  29. package/components/editable-text/src/index.vue.d.ts +6 -6
  30. package/components/esri-input-geojson/index.cjs +1 -1
  31. package/components/esri-input-geojson/index.mjs +1 -1
  32. package/components/esri-input-geojson/src/append.vue.d.ts +21 -21
  33. package/components/esri-input-geojson/src/ctx.d.ts +10 -1
  34. package/components/esri-input-geojson/src/index.vue.d.ts +21 -0
  35. package/components/form/index.cjs +12 -1
  36. package/components/form/index.mjs +12 -1
  37. package/components/form/src/ctx.d.ts +8 -1
  38. package/components/form/src/index.vue.d.ts +28 -2853
  39. package/components/form-item/index.cjs +1 -1
  40. package/components/form-item/index.mjs +1 -1
  41. package/components/form-item/src/index.vue.d.ts +15 -15
  42. package/components/forms-provider/index.cjs +99 -0
  43. package/components/forms-provider/index.d.ts +6 -0
  44. package/components/forms-provider/index.mjs +91 -0
  45. package/components/forms-provider/src/core.d.ts +6 -0
  46. package/components/forms-provider/src/index.vue.d.ts +2 -0
  47. package/components/forms-provider/src/segment.vue.d.ts +9 -0
  48. package/components/forms-provider/src/types.d.ts +10 -0
  49. package/components/forms-provider/src/view.vue.d.ts +7 -0
  50. package/components/index.cjs +397 -11
  51. package/components/index.mjs +378 -11
  52. package/components/index2.cjs +11 -397
  53. package/components/index2.mjs +11 -378
  54. package/components/information/index.cjs +3 -4
  55. package/components/information/index.mjs +3 -4
  56. package/components/information-collection/index.cjs +2 -2
  57. package/components/information-collection/index.mjs +2 -2
  58. package/components/information-collection/src/ctx.d.ts +2 -2
  59. package/components/information-collection/src/index.vue.d.ts +4 -4
  60. package/components/information-renderer/index.cjs +16 -0
  61. package/components/information-renderer/index.d.ts +73 -0
  62. package/components/information-renderer/index.mjs +10 -0
  63. package/components/information-tag/src/ctx.d.ts +1 -1
  64. package/components/information-tag/src/index.vue.d.ts +3 -3
  65. package/components/information-templates-default/index.cjs +25 -7
  66. package/components/information-templates-default/index.mjs +25 -7
  67. package/components/input/src/ctx.d.ts +10 -1
  68. package/components/input/src/index.vue.d.ts +51 -0
  69. package/components/input-collection/index.cjs +12 -1
  70. package/components/input-collection/index.mjs +12 -1
  71. package/components/input-collection/src/index.vue.d.ts +12 -12
  72. package/components/input-collection/src/types.d.ts +2 -2
  73. package/components/input-link/index.cjs +1 -1
  74. package/components/input-link/index.mjs +1 -1
  75. package/components/input-link/src/ctx.d.ts +9 -0
  76. package/components/input-link/src/index.vue.d.ts +19 -0
  77. package/components/input-number/src/ctx.d.ts +9 -1
  78. package/components/input-number/src/index.vue.d.ts +45 -0
  79. package/components/input-tag/src/ctx.d.ts +3 -10
  80. package/components/input-tag/src/index.vue.d.ts +25 -60
  81. package/components/select/src/ctx.d.ts +1 -1
  82. package/components/select/src/index.vue.d.ts +4 -4
  83. package/components/templates-element-plus/src/index.vue.d.ts +6 -6
  84. package/components/upload/index.cjs +1 -1
  85. package/components/upload/index.mjs +1 -1
  86. package/components/upload/src/index.vue.d.ts +9 -9
  87. package/components/upload-plus/index.cjs +2 -2
  88. package/components/upload-plus/index.mjs +2 -2
  89. package/components/upload-plus/src/index.vue.d.ts +49 -19
  90. package/components/van-cascader/src/ctx.d.ts +4 -11
  91. package/components/van-cascader/src/index.vue.d.ts +27 -41
  92. package/components/var-datetime-picker/src/index.vue.d.ts +15 -3
  93. package/components/vditor/src/index.vue.d.ts +1 -1
  94. package/index.css +22 -0
  95. package/package.json +19 -1
  96. package/shared/element-plus/ctx.d.ts +4 -4
  97. package/shared/element-plus/instances.d.ts +2 -1
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
39
  };
40
40
  readonly disabled: BooleanConstructor;
41
41
  readonly type: {
42
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
42
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
43
43
  readonly required: false;
44
44
  readonly validator: ((val: unknown) => boolean) | undefined;
45
45
  __epPropKey: true;
@@ -125,7 +125,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
125
125
  readonly disabled: boolean;
126
126
  readonly round: boolean;
127
127
  readonly dark: boolean;
128
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
128
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
129
129
  readonly bg: boolean;
130
130
  readonly loading: boolean;
131
131
  readonly autofocus: boolean;
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
150
150
  };
151
151
  readonly disabled: BooleanConstructor;
152
152
  readonly type: {
153
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
153
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
154
154
  readonly required: false;
155
155
  readonly validator: ((val: unknown) => boolean) | undefined;
156
156
  __epPropKey: true;
@@ -234,7 +234,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
234
234
  readonly disabled: boolean;
235
235
  readonly round: boolean;
236
236
  readonly dark: boolean;
237
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
237
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
238
238
  readonly bg: boolean;
239
239
  readonly loading: boolean;
240
240
  readonly autofocus: boolean;
@@ -256,7 +256,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
256
256
  };
257
257
  readonly disabled: BooleanConstructor;
258
258
  readonly type: {
259
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
259
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
260
260
  readonly required: false;
261
261
  readonly validator: ((val: unknown) => boolean) | undefined;
262
262
  __epPropKey: true;
@@ -342,7 +342,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
342
342
  readonly disabled: boolean;
343
343
  readonly round: boolean;
344
344
  readonly dark: boolean;
345
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
345
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
346
346
  readonly bg: boolean;
347
347
  readonly loading: boolean;
348
348
  readonly autofocus: boolean;
@@ -367,7 +367,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
367
367
  __epPropKey: true;
368
368
  };
369
369
  readonly type: {
370
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
370
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
371
371
  readonly required: false;
372
372
  readonly validator: ((val: unknown) => boolean) | undefined;
373
373
  __epPropKey: true;
@@ -375,7 +375,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
375
375
  readonly default: "";
376
376
  };
377
377
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
378
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
378
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
379
379
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
380
380
  P: {};
381
381
  B: {};
@@ -391,7 +391,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
391
391
  __epPropKey: true;
392
392
  };
393
393
  readonly type: {
394
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
394
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
395
395
  readonly required: false;
396
396
  readonly validator: ((val: unknown) => boolean) | undefined;
397
397
  __epPropKey: true;
@@ -399,7 +399,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
399
399
  readonly default: "";
400
400
  };
401
401
  }>>, {}, {}, {}, {}, {
402
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
402
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
403
403
  }>;
404
404
  __isFragment?: never;
405
405
  __isTeleport?: never;
@@ -412,7 +412,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
412
412
  __epPropKey: true;
413
413
  };
414
414
  readonly type: {
415
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
415
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
416
416
  readonly required: false;
417
417
  readonly validator: ((val: unknown) => boolean) | undefined;
418
418
  __epPropKey: true;
@@ -420,7 +420,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
420
420
  readonly default: "";
421
421
  };
422
422
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
423
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
423
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
424
424
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
425
425
  $slots: {
426
426
  default?(_: {}): any;
@@ -492,7 +492,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
492
492
  __epPropKey: true;
493
493
  };
494
494
  readonly type: {
495
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
495
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
496
496
  readonly required: false;
497
497
  readonly validator: ((val: unknown) => boolean) | undefined;
498
498
  __epPropKey: true;
@@ -500,7 +500,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
500
500
  readonly default: "";
501
501
  };
502
502
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
503
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
503
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
504
504
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
505
505
  P: {};
506
506
  B: {};
@@ -516,7 +516,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
516
516
  __epPropKey: true;
517
517
  };
518
518
  readonly type: {
519
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
519
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
520
520
  readonly required: false;
521
521
  readonly validator: ((val: unknown) => boolean) | undefined;
522
522
  __epPropKey: true;
@@ -524,7 +524,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
524
524
  readonly default: "";
525
525
  };
526
526
  }>>, {}, {}, {}, {}, {
527
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
527
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
528
528
  }>;
529
529
  __isFragment?: never;
530
530
  __isTeleport?: never;
@@ -537,7 +537,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
537
537
  __epPropKey: true;
538
538
  };
539
539
  readonly type: {
540
- readonly type: import("vue").PropType<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
540
+ readonly type: import("vue").PropType<"" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger">;
541
541
  readonly required: false;
542
542
  readonly validator: ((val: unknown) => boolean) | undefined;
543
543
  __epPropKey: true;
@@ -545,7 +545,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
545
545
  readonly default: "";
546
546
  };
547
547
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
548
- readonly type: "" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger";
548
+ readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
549
549
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
550
550
  $slots: {
551
551
  default?(_: {}): any;
@@ -739,9 +739,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
739
739
  readonly onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
740
740
  readonly method: string;
741
741
  readonly action: string;
742
+ readonly accept: string;
742
743
  readonly withCredentials: boolean;
743
744
  readonly showFileList: boolean;
744
- readonly accept: string;
745
745
  readonly fileList: import("element-plus").UploadUserFile[];
746
746
  readonly autoUpload: boolean;
747
747
  readonly listType: "text" | "picture" | "picture-card";
@@ -943,9 +943,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
943
943
  readonly onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
944
944
  readonly method: string;
945
945
  readonly action: string;
946
+ readonly accept: string;
946
947
  readonly withCredentials: boolean;
947
948
  readonly showFileList: boolean;
948
- readonly accept: string;
949
949
  readonly fileList: import("element-plus").UploadUserFile[];
950
950
  readonly autoUpload: boolean;
951
951
  readonly listType: "text" | "picture" | "picture-card";
@@ -1144,9 +1144,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1144
1144
  readonly onProgress: (evt: import("element-plus").UploadProgressEvent, uploadFile: UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
1145
1145
  readonly method: string;
1146
1146
  readonly action: string;
1147
+ readonly accept: string;
1147
1148
  readonly withCredentials: boolean;
1148
1149
  readonly showFileList: boolean;
1149
- readonly accept: string;
1150
1150
  readonly fileList: import("element-plus").UploadUserFile[];
1151
1151
  readonly autoUpload: boolean;
1152
1152
  readonly listType: "text" | "picture" | "picture-card";
@@ -179,6 +179,15 @@ export declare const props: {
179
179
  } & {
180
180
  readonly default: true;
181
181
  };
182
+ inputmode: {
183
+ readonly type: PropType<"none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal">;
184
+ readonly required: false;
185
+ readonly validator: ((val: unknown) => boolean) | undefined;
186
+ __epPropKey: true;
187
+ } & {
188
+ readonly default: undefined;
189
+ };
190
+ name: StringConstructor;
182
191
  ariaLabel: StringConstructor;
183
192
  id: {
184
193
  readonly type: PropType<string>;
@@ -298,7 +307,7 @@ export declare const props: {
298
307
  };
299
308
  autofocus: BooleanConstructor;
300
309
  };
301
- 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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", 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<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", 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<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"prop", 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<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", 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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", 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<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", 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<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", 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<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", 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<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
310
+ 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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", 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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", 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<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"prop", 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<"name", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"inputmode", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", 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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", 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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", 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<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", 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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"prop", 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<"name", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"clearable", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"formatter", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"parser", keyof T2> | Extract<"form", 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<"visibleElements", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"view", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
302
311
  export declare const emits: {
303
312
  'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, {
304
313
  [name: string]: any;
@@ -179,6 +179,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
179
179
  } & {
180
180
  readonly default: true;
181
181
  };
182
+ inputmode: {
183
+ readonly type: import("vue").PropType<"none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal">;
184
+ readonly required: false;
185
+ readonly validator: ((val: unknown) => boolean) | undefined;
186
+ __epPropKey: true;
187
+ } & {
188
+ readonly default: undefined;
189
+ };
190
+ name: StringConstructor;
182
191
  ariaLabel: StringConstructor;
183
192
  id: {
184
193
  readonly type: import("vue").PropType<string>;
@@ -323,6 +332,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
323
332
  disabled: boolean;
324
333
  id: string;
325
334
  ariaLabel: string;
335
+ name: string;
326
336
  clearable: boolean;
327
337
  placeholder: string;
328
338
  formatter: Function;
@@ -330,6 +340,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
330
340
  maxlength: number;
331
341
  minlength: number;
332
342
  rows: number;
343
+ inputmode: "none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal";
333
344
  resize: "none" | "horizontal" | "vertical" | "both";
334
345
  autosize: false;
335
346
  autocomplete: string;
@@ -574,6 +585,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
574
585
  } & {
575
586
  readonly default: true;
576
587
  };
588
+ inputmode: {
589
+ readonly type: import("vue").PropType<"none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal">;
590
+ readonly required: false;
591
+ readonly validator: ((val: unknown) => boolean) | undefined;
592
+ __epPropKey: true;
593
+ } & {
594
+ readonly default: undefined;
595
+ };
596
+ name: StringConstructor;
577
597
  ariaLabel: StringConstructor;
578
598
  id: {
579
599
  readonly type: import("vue").PropType<string>;
@@ -733,6 +753,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
733
753
  autofocus: boolean;
734
754
  inputSlots: import("@vunk/form/components/input/src/types").InputSlots;
735
755
  rows: number;
756
+ inputmode: "none" | "search" | "text" | "url" | "email" | "tel" | "numeric" | "decimal";
736
757
  autosize: false;
737
758
  autocomplete: string;
738
759
  showPassword: boolean;
@@ -15,6 +15,7 @@ var utilsObject = require('@vunk/core/shared/utils-object');
15
15
  var form = require('@vunk/form/shared/form');
16
16
  var rendererData = require('@vunk/form/components/renderer-data');
17
17
  var object = require('@vunk/shared/object');
18
+ var formsProvider = require('@vunk/form/components/forms-provider');
18
19
  var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
19
20
 
20
21
  const props = {
@@ -58,6 +59,13 @@ const props = {
58
59
  colSource: {
59
60
  type: Object,
60
61
  default: () => ({})
62
+ },
63
+ /**
64
+ * 需要传递给 FormsProvider 的属性
65
+ */
66
+ segmentAttrs: {
67
+ type: Object,
68
+ default: () => ({})
61
69
  }
62
70
  };
63
71
  const createBindProps = utilsVue.bindPropsFactory(props);
@@ -118,7 +126,8 @@ var _sfc_main = vue.defineComponent({
118
126
  ElForm: elementPlus.ElForm,
119
127
  VkfFormItemRenderer: formItemRenderer.VkfFormItemRenderer,
120
128
  VkfTemplatesDefault: templatesDefault.VkfTemplatesDefault,
121
- VkfTemplatesLayout: templatesLayout.VkfTemplatesLayout
129
+ VkfTemplatesLayout: templatesLayout.VkfTemplatesLayout,
130
+ VkfFormsSegment: formsProvider.VkfFormsSegment
122
131
  },
123
132
  props,
124
133
  emits,
@@ -182,6 +191,7 @@ var _sfc_main = vue.defineComponent({
182
191
  });
183
192
 
184
193
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
194
+ const _component_VkfFormsSegment = vue.resolveComponent("VkfFormsSegment");
185
195
  const _component_VkfTemplatesDefault = vue.resolveComponent("VkfTemplatesDefault");
186
196
  const _component_VkfTemplatesLayout = vue.resolveComponent("VkfTemplatesLayout");
187
197
  const _component_VkfFormItemRenderer = vue.resolveComponent("VkfFormItemRenderer");
@@ -200,6 +210,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
200
210
  onSetData: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("setData", $event))
201
211
  }, {
202
212
  default: vue.withCtx(() => [
213
+ vue.createVNode(_component_VkfFormsSegment, vue.mergeProps({ data: _ctx.data }, _ctx.segmentAttrs), null, 16, ["data"]),
203
214
  vue.createVNode(_component_VkfFormItemRenderer, { source: _ctx.rendererSource }, {
204
215
  placeholder: vue.withCtx(() => [
205
216
  vue.createVNode(_component_VkfTemplatesDefault),
@@ -11,6 +11,7 @@ import { pickObject } from '@vunk/core/shared/utils-object';
11
11
  import { genTemplateIfFunc } from '@vunk/form/shared/form';
12
12
  import { VkfRendererData } from '@vunk/form/components/renderer-data';
13
13
  import { pickObject as pickObject$1 } from '@vunk/shared/object';
14
+ import { VkfFormsSegment } from '@vunk/form/components/forms-provider';
14
15
  import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
15
16
 
16
17
  const props = {
@@ -54,6 +55,13 @@ const props = {
54
55
  colSource: {
55
56
  type: Object,
56
57
  default: () => ({})
58
+ },
59
+ /**
60
+ * 需要传递给 FormsProvider 的属性
61
+ */
62
+ segmentAttrs: {
63
+ type: Object,
64
+ default: () => ({})
57
65
  }
58
66
  };
59
67
  const createBindProps = bindPropsFactory(props);
@@ -114,7 +122,8 @@ var _sfc_main = defineComponent({
114
122
  ElForm,
115
123
  VkfFormItemRenderer,
116
124
  VkfTemplatesDefault,
117
- VkfTemplatesLayout
125
+ VkfTemplatesLayout,
126
+ VkfFormsSegment
118
127
  },
119
128
  props,
120
129
  emits,
@@ -178,6 +187,7 @@ var _sfc_main = defineComponent({
178
187
  });
179
188
 
180
189
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
190
+ const _component_VkfFormsSegment = resolveComponent("VkfFormsSegment");
181
191
  const _component_VkfTemplatesDefault = resolveComponent("VkfTemplatesDefault");
182
192
  const _component_VkfTemplatesLayout = resolveComponent("VkfTemplatesLayout");
183
193
  const _component_VkfFormItemRenderer = resolveComponent("VkfFormItemRenderer");
@@ -196,6 +206,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
196
206
  onSetData: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("setData", $event))
197
207
  }, {
198
208
  default: withCtx(() => [
209
+ createVNode(_component_VkfFormsSegment, mergeProps({ data: _ctx.data }, _ctx.segmentAttrs), null, 16, ["data"]),
199
210
  createVNode(_component_VkfFormItemRenderer, { source: _ctx.rendererSource }, {
200
211
  placeholder: withCtx(() => [
201
212
  createVNode(_component_VkfTemplatesDefault),
@@ -43,6 +43,13 @@ export declare const props: {
43
43
  type: PropType<Partial<ColItem>>;
44
44
  default: () => ColItem;
45
45
  };
46
+ /**
47
+ * 需要传递给 FormsProvider 的属性
48
+ */
49
+ segmentAttrs: {
50
+ type: ObjectConstructor;
51
+ default: () => {};
52
+ };
46
53
  model: ObjectConstructor;
47
54
  rules: {
48
55
  readonly type: PropType<Partial<Record<string, import("element-plus").FormItemRule | import("element-plus").FormItemRule[]>>>;
@@ -119,7 +126,7 @@ export declare const props: {
119
126
  };
120
127
  disabled: BooleanConstructor;
121
128
  };
122
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"layout", 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> | Extract<"formItems", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"model", keyof T2>, KE> | Exclude<Extract<"requireAsteriskPosition", keyof T2>, KE> | Exclude<Extract<"labelSuffix", keyof T2>, KE> | Exclude<Extract<"statusIcon", keyof T2>, KE> | Exclude<Extract<"validateOnRuleChange", keyof T2>, KE> | Exclude<Extract<"hideRequiredAsterisk", keyof T2>, KE> | Exclude<Extract<"scrollToError", keyof T2>, KE> | Exclude<Extract<"scrollIntoViewOptions", keyof T2>, KE> | Exclude<Extract<"formItems", keyof T2>, KE> | Exclude<Extract<"rowSource", keyof T2>, KE> | Exclude<Extract<"colSource", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"layout", 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> | Extract<"formItems", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"layout", 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> | Extract<"formItems", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2>]: T2[k]; }[P]; }>;
129
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"layout", 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> | Extract<"formItems", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2> | Extract<"segmentAttrs", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"model", keyof T2>, KE> | Exclude<Extract<"requireAsteriskPosition", keyof T2>, KE> | Exclude<Extract<"labelSuffix", keyof T2>, KE> | Exclude<Extract<"statusIcon", keyof T2>, KE> | Exclude<Extract<"validateOnRuleChange", keyof T2>, KE> | Exclude<Extract<"hideRequiredAsterisk", keyof T2>, KE> | Exclude<Extract<"scrollToError", keyof T2>, KE> | Exclude<Extract<"scrollIntoViewOptions", keyof T2>, KE> | Exclude<Extract<"formItems", keyof T2>, KE> | Exclude<Extract<"rowSource", keyof T2>, KE> | Exclude<Extract<"colSource", keyof T2>, KE> | Exclude<Extract<"segmentAttrs", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"layout", 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> | Extract<"formItems", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2> | Extract<"segmentAttrs", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"layout", 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> | Extract<"formItems", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2> | Extract<"segmentAttrs", keyof T2>]: T2[k]; }[P]; }>;
123
130
  export declare const emits: {
124
131
  setData: (e: SetDataEvent) => SetDataEvent;
125
132
  validate: any;