@vrojs/element-plus 0.0.6 → 0.0.8

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 (190) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/dist/index.js +125 -83
  3. package/dist/locale/index.js +6 -7
  4. package/dist/locale/lang/en.d.ts +8 -0
  5. package/dist/locale/lang/en.js +8 -0
  6. package/dist/locale/lang/zh-cn.d.ts +8 -0
  7. package/dist/locale/lang/zh-cn.js +8 -0
  8. package/dist/locale/useLocale.d.ts +1 -48
  9. package/dist/locale/useLocale.js +16 -17
  10. package/dist/style/deps.js +7 -0
  11. package/dist/style/index.css +1 -1
  12. package/dist/style/index.js +7 -0
  13. package/dist/utils/elTableColumnProps.d.ts +149 -0
  14. package/dist/utils/elTableColumnProps.js +152 -0
  15. package/dist/utils/index.d.ts +1 -0
  16. package/dist/utils/index.js +4 -2
  17. package/dist/vro-el-checkbox-group/index.d.ts +1 -1
  18. package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.d.ts +1 -1
  19. package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.js +10 -10
  20. package/dist/vro-el-config-provider/config.d.ts +14 -0
  21. package/dist/vro-el-config-provider/config.js +36 -0
  22. package/dist/vro-el-config-provider/index.d.ts +16 -0
  23. package/dist/vro-el-config-provider/index.js +8 -2
  24. package/dist/vro-el-config-provider/types.d.ts +7 -0
  25. package/dist/vro-el-config-provider/types.js +7 -0
  26. package/dist/vro-el-config-provider/vro-el-config-provider.vue.d.ts +9 -0
  27. package/dist/vro-el-config-provider/vro-el-config-provider.vue.js +11 -11
  28. package/dist/vro-el-file-upload/index.d.ts +6 -6
  29. package/dist/vro-el-file-upload/style/index.css +1 -1
  30. package/dist/vro-el-file-upload/types.d.ts +9 -2
  31. package/dist/vro-el-file-upload/vro-el-file-upload.vue.d.ts +7 -6
  32. package/dist/vro-el-file-upload/vro-el-file-upload.vue.js +55 -51
  33. package/dist/vro-el-icon/index.d.ts +28 -40
  34. package/dist/vro-el-icon/style/css.js +1 -0
  35. package/dist/vro-el-icon/style/deps.js +1 -1
  36. package/dist/vro-el-icon/style/index.js +1 -1
  37. package/dist/vro-el-icon/types.d.ts +16 -13
  38. package/dist/vro-el-icon/types.js +8 -1
  39. package/dist/vro-el-icon/vro-el-icon.vue.d.ts +18 -27
  40. package/dist/vro-el-icon/vro-el-icon.vue.js +27 -23
  41. package/dist/vro-el-image/index.d.ts +10 -4
  42. package/dist/vro-el-image/style/css.js +4 -0
  43. package/dist/vro-el-image/style/index.css +1 -0
  44. package/dist/vro-el-image/style/index.js +4 -0
  45. package/dist/vro-el-image/types.d.ts +35 -0
  46. package/dist/vro-el-image/types.js +24 -1
  47. package/dist/vro-el-image/utils.d.ts +1 -1
  48. package/dist/vro-el-image/vro-el-image.vue.d.ts +7 -2
  49. package/dist/vro-el-image/vro-el-image.vue.js +55 -24
  50. package/dist/vro-el-image-upload/index.d.ts +1 -1
  51. package/dist/vro-el-image-upload/style/css.js +4 -0
  52. package/dist/vro-el-image-upload/style/index.css +1 -1
  53. package/dist/vro-el-image-upload/style/index.js +4 -0
  54. package/dist/vro-el-image-upload/types.d.ts +24 -7
  55. package/dist/vro-el-image-upload/types.js +21 -7
  56. package/dist/vro-el-image-upload/vro-el-image-upload.vue.d.ts +1 -1
  57. package/dist/vro-el-image-upload/vro-el-image-upload.vue.js +82 -68
  58. package/dist/vro-el-radio-group/index.d.ts +1 -1
  59. package/dist/vro-el-radio-group/vro-el-radio-group.vue.d.ts +1 -1
  60. package/dist/vro-el-radio-group/vro-el-radio-group.vue.js +12 -12
  61. package/dist/vro-el-schema-filter/index.d.ts +27 -31
  62. package/dist/vro-el-schema-filter/style/css.js +5 -0
  63. package/dist/vro-el-schema-filter/style/index.css +1 -1
  64. package/dist/vro-el-schema-filter/style/index.js +5 -0
  65. package/dist/vro-el-schema-filter/types.d.ts +17 -0
  66. package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.d.ts +38 -43
  67. package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.js +63 -44
  68. package/dist/vro-el-schema-form/index.d.ts +16 -18
  69. package/dist/vro-el-schema-form/style/css.js +5 -0
  70. package/dist/vro-el-schema-form/style/index.css +1 -1
  71. package/dist/vro-el-schema-form/style/index.js +5 -0
  72. package/dist/vro-el-schema-form/types.d.ts +65 -7
  73. package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +33 -37
  74. package/dist/vro-el-schema-form/useVroElSchemaForm.js +13 -13
  75. package/dist/vro-el-schema-form/vro-el-schema-form.vue.d.ts +11 -13
  76. package/dist/vro-el-schema-form/vro-el-schema-form.vue.js +79 -79
  77. package/dist/vro-el-schema-form-dialog/function-call.js +10 -7
  78. package/dist/vro-el-schema-form-dialog/index.d.ts +111 -142
  79. package/dist/vro-el-schema-form-dialog/style/css.js +5 -0
  80. package/dist/vro-el-schema-form-dialog/style/index.css +1 -1
  81. package/dist/vro-el-schema-form-dialog/style/index.js +5 -0
  82. package/dist/vro-el-schema-form-dialog/types.d.ts +25 -16
  83. package/dist/vro-el-schema-form-dialog/types.js +6 -11
  84. package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +92 -113
  85. package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +83 -87
  86. package/dist/vro-el-schema-form-drawer/function-call.d.ts +4 -0
  87. package/dist/vro-el-schema-form-drawer/function-call.js +20 -0
  88. package/dist/vro-el-schema-form-drawer/index.d.ts +2207 -0
  89. package/dist/vro-el-schema-form-drawer/index.js +16 -0
  90. package/dist/vro-el-schema-form-drawer/injection.d.ts +9 -0
  91. package/dist/vro-el-schema-form-drawer/injection.js +9 -0
  92. package/dist/vro-el-schema-form-drawer/style/css.d.ts +0 -0
  93. package/dist/vro-el-schema-form-drawer/style/css.js +24 -0
  94. package/dist/vro-el-schema-form-drawer/style/deps.d.ts +0 -0
  95. package/dist/vro-el-schema-form-drawer/style/deps.js +24 -0
  96. package/dist/vro-el-schema-form-drawer/style/index.css +1 -0
  97. package/dist/vro-el-schema-form-drawer/style/index.d.ts +0 -0
  98. package/dist/vro-el-schema-form-drawer/style/index.js +48 -0
  99. package/dist/vro-el-schema-form-drawer/types.d.ts +110 -0
  100. package/dist/vro-el-schema-form-drawer/types.js +75 -0
  101. package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.d.ts +14 -0
  102. package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.js +18 -0
  103. package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +1832 -0
  104. package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.js +134 -0
  105. package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue2.js +4 -0
  106. package/dist/vro-el-select/index.d.ts +11 -11
  107. package/dist/vro-el-select/vro-el-select.vue.d.ts +11 -11
  108. package/dist/vro-el-select/vro-el-select.vue.js +11 -11
  109. package/dist/vro-el-skeleton/index.d.ts +9 -73
  110. package/dist/vro-el-skeleton/style/index.css +1 -1
  111. package/dist/vro-el-skeleton/types.d.ts +32 -24
  112. package/dist/vro-el-skeleton/types.js +3 -23
  113. package/dist/vro-el-skeleton/vro-el-skeleton.vue.d.ts +7 -48
  114. package/dist/vro-el-skeleton/vro-el-skeleton.vue.js +48 -46
  115. package/dist/vro-el-table/createUseVroElTable.d.ts +9 -0
  116. package/dist/vro-el-table/createUseVroElTable.js +7 -0
  117. package/dist/vro-el-table/index.js +13 -0
  118. package/dist/vro-el-table/style/css.d.ts +0 -0
  119. package/dist/vro-el-table/style/css.js +29 -0
  120. package/dist/vro-el-table/style/deps.d.ts +0 -0
  121. package/dist/vro-el-table/style/deps.js +28 -0
  122. package/dist/vro-el-table/style/index.css +1 -0
  123. package/dist/vro-el-table/style/index.d.ts +0 -0
  124. package/dist/vro-el-table/style/index.js +57 -0
  125. package/dist/vro-el-table/types.d.ts +97 -0
  126. package/dist/vro-el-table/types.js +66 -0
  127. package/dist/vro-el-table/useVroElTable.d.ts +43 -0
  128. package/dist/vro-el-table/useVroElTable.js +47 -0
  129. package/dist/vro-el-table/vro-el-table.vue.js +94 -0
  130. package/dist/vro-el-table/vro-el-table.vue2.js +4 -0
  131. package/dist/vro-el-table-actions-column/index.d.ts +269 -0
  132. package/dist/vro-el-table-actions-column/index.js +9 -0
  133. package/dist/vro-el-table-actions-column/style/css.d.ts +0 -0
  134. package/dist/vro-el-table-actions-column/style/css.js +4 -0
  135. package/dist/vro-el-table-actions-column/style/deps.d.ts +0 -0
  136. package/dist/vro-el-table-actions-column/style/deps.js +5 -0
  137. package/dist/vro-el-table-actions-column/style/index.css +1 -0
  138. package/dist/vro-el-table-actions-column/style/index.d.ts +0 -0
  139. package/dist/vro-el-table-actions-column/style/index.js +9 -0
  140. package/dist/vro-el-table-actions-column/types.d.ts +139 -0
  141. package/dist/vro-el-table-actions-column/types.js +37 -0
  142. package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.d.ts +167 -0
  143. package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.js +101 -0
  144. package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue2.js +4 -0
  145. package/dist/vro-el-table-column/index.d.ts +257 -0
  146. package/dist/vro-el-table-column/index.js +9 -0
  147. package/dist/vro-el-table-column/style/css.d.ts +0 -0
  148. package/dist/vro-el-table-column/style/css.js +6 -0
  149. package/dist/vro-el-table-column/style/deps.d.ts +0 -0
  150. package/dist/vro-el-table-column/style/deps.js +1 -0
  151. package/dist/vro-el-table-column/style/index.css +1 -0
  152. package/dist/vro-el-table-column/style/index.d.ts +0 -0
  153. package/dist/vro-el-table-column/style/index.js +7 -0
  154. package/dist/vro-el-table-column/types.d.ts +141 -0
  155. package/dist/vro-el-table-column/types.js +43 -0
  156. package/dist/vro-el-table-column/vro-el-table-column.vue.d.ts +161 -0
  157. package/dist/vro-el-table-column/vro-el-table-column.vue.js +66 -0
  158. package/dist/vro-el-table-column/vro-el-table-column.vue2.js +4 -0
  159. package/dist/vro-el-table-column-group/index.d.ts +23 -0
  160. package/dist/vro-el-table-column-group/index.js +13 -0
  161. package/dist/vro-el-table-column-group/style/css.d.ts +0 -0
  162. package/dist/vro-el-table-column-group/style/css.js +9 -0
  163. package/dist/vro-el-table-column-group/style/deps.d.ts +0 -0
  164. package/dist/vro-el-table-column-group/style/deps.js +5 -0
  165. package/dist/vro-el-table-column-group/style/index.d.ts +0 -0
  166. package/dist/vro-el-table-column-group/style/index.js +14 -0
  167. package/dist/vro-el-table-column-group/types.d.ts +87 -0
  168. package/dist/vro-el-table-column-group/types.js +12 -0
  169. package/dist/vro-el-table-column-group/useVroElTableColumnGroup.d.ts +2 -0
  170. package/dist/vro-el-table-column-group/useVroElTableColumnGroup.js +10 -0
  171. package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.d.ts +14 -0
  172. package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.js +29 -0
  173. package/dist/vro-el-table-column-group/vro-el-table-column-group.vue2.js +4 -0
  174. package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.d.ts +2 -0
  175. package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.js +9 -0
  176. package/dist/vro-el-tags/index.d.ts +234 -187
  177. package/dist/vro-el-tags/style/css.js +1 -0
  178. package/dist/vro-el-tags/style/index.css +1 -0
  179. package/dist/vro-el-tags/style/index.js +1 -0
  180. package/dist/vro-el-tags/types.d.ts +37 -1
  181. package/dist/vro-el-tags/types.js +17 -1
  182. package/dist/vro-el-tags/vro-el-tags.vue.d.ts +219 -8
  183. package/dist/vro-el-tags/vro-el-tags.vue.js +55 -45
  184. package/dist/vro-el-tree/index.d.ts +3235 -32
  185. package/dist/vro-el-tree/style/index.css +1 -1
  186. package/dist/vro-el-tree/types.d.ts +124 -5
  187. package/dist/vro-el-tree/types.js +12 -6
  188. package/dist/vro-el-tree/vro-el-tree.vue.d.ts +6020 -20
  189. package/dist/vro-el-tree/vro-el-tree.vue.js +54 -36
  190. package/package.json +10 -12
@@ -10,13 +10,11 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
10
10
  default: () => {};
11
11
  };
12
12
  request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
13
- labelPosition: {
14
- type: import('vue').PropType<"left" | "right" | "top">;
15
- default: string;
16
- };
17
- labelWidth: {
18
- type: StringConstructor;
19
- default: string;
13
+ formProps: {
14
+ type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
15
+ default: () => {
16
+ labelPosition: string;
17
+ };
20
18
  };
21
19
  showCancelButton: {
22
20
  type: BooleanConstructor;
@@ -28,10 +26,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
28
26
  };
29
27
  cancelButtonText: StringConstructor;
30
28
  confirmButtonText: StringConstructor;
31
- formProps: {
32
- type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
33
- default: () => {};
34
- };
35
29
  rowProps: {
36
30
  type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
37
31
  default: () => {};
@@ -49,13 +43,14 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
49
43
  default: () => {};
50
44
  };
51
45
  }>> & Readonly<{
52
- onCancel?: ((...args: any[]) => any) | undefined;
53
- onConfirm?: ((...args: any[]) => any) | undefined;
54
- onClosed?: ((...args: any[]) => any) | undefined;
55
- "onChange-field"?: ((...args: any[]) => any) | undefined;
56
- "onInput-field"?: ((...args: any[]) => any) | undefined;
46
+ onCancel?: ((reason?: any) => any) | undefined;
47
+ onConfirm?: ((data: any) => any) | undefined;
48
+ onClosed?: (() => any) | undefined;
49
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
50
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
57
51
  }>, {
58
- schemaFormInstance: {
52
+ elDialog: import('element-plus').DialogInstance;
53
+ vroElSchemaForm: {
59
54
  $: import('vue').ComponentInternalInstance;
60
55
  $data: {};
61
56
  $props: Partial<{
@@ -70,8 +65,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
70
65
  readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
71
66
  readonly rowProps: Partial<import('element-plus').RowProps>;
72
67
  readonly schema: import('..').VroElSchemaFormSchema;
73
- readonly "onChange-field"?: ((...args: any[]) => any) | undefined;
74
- readonly "onInput-field"?: ((...args: any[]) => any) | undefined;
68
+ readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
69
+ readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
75
70
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
76
71
  $attrs: {
77
72
  [x: string]: unknown;
@@ -79,7 +74,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
79
74
  $refs: {
80
75
  [x: string]: unknown;
81
76
  } & {
82
- refForm: ({
77
+ formRef: ({
83
78
  $: import('vue').ComponentInternalInstance;
84
79
  $data: {};
85
80
  $props: {
@@ -180,7 +175,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
180
175
  default?: (props: {}) => any;
181
176
  };
182
177
  }) | null;
183
- refComponents: unknown;
178
+ componentRefs: unknown;
184
179
  };
185
180
  $slots: Readonly<{
186
181
  [name: string]: import('vue').Slot<any> | undefined;
@@ -188,7 +183,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
188
183
  $root: import('vue').ComponentPublicInstance | null;
189
184
  $parent: import('vue').ComponentPublicInstance | null;
190
185
  $host: Element | null;
191
- $emit: ((event: "change-field", ...args: any[]) => void) & ((event: "input-field", ...args: any[]) => void);
186
+ $emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
192
187
  $el: any;
193
188
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
194
189
  formProps: {
@@ -212,10 +207,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
212
207
  default: () => {};
213
208
  };
214
209
  }>> & Readonly<{
215
- "onChange-field"?: ((...args: any[]) => any) | undefined;
216
- "onInput-field"?: ((...args: any[]) => any) | undefined;
210
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
211
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
217
212
  }>, {
218
- form: {
213
+ elForm: {
219
214
  $: import('vue').ComponentInternalInstance;
220
215
  $data: {};
221
216
  $props: {
@@ -326,8 +321,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
326
321
  extractValues: () => Promise<Record<string, any>>;
327
322
  validateField: (key: string) => Promise<boolean | undefined>;
328
323
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
329
- "change-field": (...args: any[]) => void;
330
- "input-field": (...args: any[]) => void;
324
+ "change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
325
+ "input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
331
326
  }, string, {
332
327
  colProps: Partial<import('element-plus').ColProps>;
333
328
  formItemProps: Partial<import('element-plus').FormItemProps>;
@@ -382,10 +377,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
382
377
  default: () => {};
383
378
  };
384
379
  }>> & Readonly<{
385
- "onChange-field"?: ((...args: any[]) => any) | undefined;
386
- "onInput-field"?: ((...args: any[]) => any) | undefined;
387
- }>, "form" | "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "extractValues"> & import('vue').ShallowUnwrapRef<{
388
- form: {
380
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
381
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
382
+ }>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
383
+ elForm: {
389
384
  $: import('vue').ComponentInternalInstance;
390
385
  $data: {};
391
386
  $props: {
@@ -496,31 +491,27 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
496
491
  extractValues: () => Promise<Record<string, any>>;
497
492
  validateField: (key: string) => Promise<boolean | undefined>;
498
493
  }> & {} & import('vue').ComponentCustomProperties & {} & {
499
- $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
500
- default?(_: {}): any;
501
- };
494
+ $slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
502
495
  };
503
496
  show: <P = any>(options?: (import('@vrojs/use').UseVisibleShowOptions & Partial<import('./types').VroElSchemaFormDialogProps>) | undefined) => Promise<P>;
504
497
  hide: (reason?: any) => Promise<void>;
505
498
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
506
- cancel: (...args: any[]) => void;
507
- confirm: (...args: any[]) => void;
508
- closed: (...args: any[]) => void;
509
- "change-field": (...args: any[]) => void;
510
- "input-field": (...args: any[]) => void;
499
+ cancel: (reason?: any) => any;
500
+ confirm: (data: any) => any;
501
+ closed: () => any;
502
+ "change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
503
+ "input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
511
504
  }, import('vue').PublicProps, {
512
505
  style: import('vue').CSSProperties;
513
506
  colProps: Partial<import('element-plus').ColProps>;
514
507
  formItemProps: Partial<import('element-plus').FormItemProps>;
515
- labelPosition: "top" | "right" | "left";
516
- labelWidth: string;
517
508
  formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
518
509
  rowProps: Partial<import('element-plus').RowProps>;
519
510
  schema: import('..').VroElSchemaFormSchema;
520
511
  showCancelButton: boolean;
521
512
  showConfirmButton: boolean;
522
513
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
523
- containerRef: ({
514
+ dialogRef: ({
524
515
  $: import('vue').ComponentInternalInstance;
525
516
  $data: {};
526
517
  $props: {
@@ -575,7 +566,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
575
566
  $root: import('vue').ComponentPublicInstance | null;
576
567
  $parent: import('vue').ComponentPublicInstance | null;
577
568
  $host: Element | null;
578
- $emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "closed") => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
569
+ $emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
579
570
  $el: any;
580
571
  $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').DialogProps> & Readonly<{
581
572
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -658,7 +649,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
658
649
  onClosed?: (() => any) | undefined;
659
650
  onOpenAutoFocus?: (() => any) | undefined;
660
651
  onCloseAutoFocus?: (() => any) | undefined;
661
- }>, "title" | "ariaLevel" | "transition" | "closeOnPressEscape" | "visible" | "draggable" | "appendTo" | "handleClose" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "overflow" | "showClose" | "dialogContentRef" | "resetPosition"> & import('vue').ShallowUnwrapRef<{
652
+ }>, "title" | "ariaLevel" | "visible" | "appendTo" | "transition" | "closeOnPressEscape" | "draggable" | "handleClose" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "headerAriaLevel" | "alignCenter" | "overflow" | "showClose" | "dialogContentRef" | "resetPosition"> & import('vue').ShallowUnwrapRef<{
662
653
  visible: import('vue').Ref<boolean, boolean>;
663
654
  dialogContentRef: import('vue').Ref<any, any>;
664
655
  resetPosition: () => void;
@@ -678,7 +669,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
678
669
  footer?: (props: {}) => any;
679
670
  };
680
671
  }) | null;
681
- refVroElSchemaForm: ({
672
+ schemaFormRef: ({
682
673
  $: import('vue').ComponentInternalInstance;
683
674
  $data: {};
684
675
  $props: Partial<{
@@ -693,8 +684,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
693
684
  readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
694
685
  readonly rowProps: Partial<import('element-plus').RowProps>;
695
686
  readonly schema: import('..').VroElSchemaFormSchema;
696
- readonly "onChange-field"?: ((...args: any[]) => any) | undefined;
697
- readonly "onInput-field"?: ((...args: any[]) => any) | undefined;
687
+ readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
688
+ readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
698
689
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
699
690
  $attrs: {
700
691
  [x: string]: unknown;
@@ -702,7 +693,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
702
693
  $refs: {
703
694
  [x: string]: unknown;
704
695
  } & {
705
- refForm: ({
696
+ formRef: ({
706
697
  $: import('vue').ComponentInternalInstance;
707
698
  $data: {};
708
699
  $props: {
@@ -803,7 +794,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
803
794
  default?: (props: {}) => any;
804
795
  };
805
796
  }) | null;
806
- refComponents: unknown;
797
+ componentRefs: unknown;
807
798
  };
808
799
  $slots: Readonly<{
809
800
  [name: string]: import('vue').Slot<any> | undefined;
@@ -811,7 +802,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
811
802
  $root: import('vue').ComponentPublicInstance | null;
812
803
  $parent: import('vue').ComponentPublicInstance | null;
813
804
  $host: Element | null;
814
- $emit: ((event: "change-field", ...args: any[]) => void) & ((event: "input-field", ...args: any[]) => void);
805
+ $emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
815
806
  $el: any;
816
807
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
817
808
  formProps: {
@@ -835,10 +826,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
835
826
  default: () => {};
836
827
  };
837
828
  }>> & Readonly<{
838
- "onChange-field"?: ((...args: any[]) => any) | undefined;
839
- "onInput-field"?: ((...args: any[]) => any) | undefined;
829
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
830
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
840
831
  }>, {
841
- form: {
832
+ elForm: {
842
833
  $: import('vue').ComponentInternalInstance;
843
834
  $data: {};
844
835
  $props: {
@@ -949,8 +940,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
949
940
  extractValues: () => Promise<Record<string, any>>;
950
941
  validateField: (key: string) => Promise<boolean | undefined>;
951
942
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
952
- "change-field": (...args: any[]) => void;
953
- "input-field": (...args: any[]) => void;
943
+ "change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
944
+ "input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
954
945
  }, string, {
955
946
  colProps: Partial<import('element-plus').ColProps>;
956
947
  formItemProps: Partial<import('element-plus').FormItemProps>;
@@ -1005,10 +996,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1005
996
  default: () => {};
1006
997
  };
1007
998
  }>> & Readonly<{
1008
- "onChange-field"?: ((...args: any[]) => any) | undefined;
1009
- "onInput-field"?: ((...args: any[]) => any) | undefined;
1010
- }>, "form" | "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "extractValues"> & import('vue').ShallowUnwrapRef<{
1011
- form: {
999
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1000
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1001
+ }>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
1002
+ elForm: {
1012
1003
  $: import('vue').ComponentInternalInstance;
1013
1004
  $data: {};
1014
1005
  $props: {
@@ -1119,9 +1110,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1119
1110
  extractValues: () => Promise<Record<string, any>>;
1120
1111
  validateField: (key: string) => Promise<boolean | undefined>;
1121
1112
  }> & {} & import('vue').ComponentCustomProperties & {} & {
1122
- $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
1123
- default?(_: {}): any;
1124
- };
1113
+ $slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
1125
1114
  }) | null;
1126
1115
  }, any, import('vue').ComponentProvideOptions, {
1127
1116
  P: {};
@@ -1137,13 +1126,11 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1137
1126
  default: () => {};
1138
1127
  };
1139
1128
  request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
1140
- labelPosition: {
1141
- type: import('vue').PropType<"left" | "right" | "top">;
1142
- default: string;
1143
- };
1144
- labelWidth: {
1145
- type: StringConstructor;
1146
- default: string;
1129
+ formProps: {
1130
+ type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
1131
+ default: () => {
1132
+ labelPosition: string;
1133
+ };
1147
1134
  };
1148
1135
  showCancelButton: {
1149
1136
  type: BooleanConstructor;
@@ -1155,10 +1142,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1155
1142
  };
1156
1143
  cancelButtonText: StringConstructor;
1157
1144
  confirmButtonText: StringConstructor;
1158
- formProps: {
1159
- type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
1160
- default: () => {};
1161
- };
1162
1145
  rowProps: {
1163
1146
  type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
1164
1147
  default: () => {};
@@ -1176,13 +1159,14 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1176
1159
  default: () => {};
1177
1160
  };
1178
1161
  }>> & Readonly<{
1179
- onCancel?: ((...args: any[]) => any) | undefined;
1180
- onConfirm?: ((...args: any[]) => any) | undefined;
1181
- onClosed?: ((...args: any[]) => any) | undefined;
1182
- "onChange-field"?: ((...args: any[]) => any) | undefined;
1183
- "onInput-field"?: ((...args: any[]) => any) | undefined;
1162
+ onCancel?: ((reason?: any) => any) | undefined;
1163
+ onConfirm?: ((data: any) => any) | undefined;
1164
+ onClosed?: (() => any) | undefined;
1165
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1166
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1184
1167
  }>, {
1185
- schemaFormInstance: {
1168
+ elDialog: import('element-plus').DialogInstance;
1169
+ vroElSchemaForm: {
1186
1170
  $: import('vue').ComponentInternalInstance;
1187
1171
  $data: {};
1188
1172
  $props: Partial<{
@@ -1197,8 +1181,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1197
1181
  readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
1198
1182
  readonly rowProps: Partial<import('element-plus').RowProps>;
1199
1183
  readonly schema: import('..').VroElSchemaFormSchema;
1200
- readonly "onChange-field"?: ((...args: any[]) => any) | undefined;
1201
- readonly "onInput-field"?: ((...args: any[]) => any) | undefined;
1184
+ readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1185
+ readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1202
1186
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
1203
1187
  $attrs: {
1204
1188
  [x: string]: unknown;
@@ -1206,7 +1190,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1206
1190
  $refs: {
1207
1191
  [x: string]: unknown;
1208
1192
  } & {
1209
- refForm: ({
1193
+ formRef: ({
1210
1194
  $: import('vue').ComponentInternalInstance;
1211
1195
  $data: {};
1212
1196
  $props: {
@@ -1307,7 +1291,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1307
1291
  default?: (props: {}) => any;
1308
1292
  };
1309
1293
  }) | null;
1310
- refComponents: unknown;
1294
+ componentRefs: unknown;
1311
1295
  };
1312
1296
  $slots: Readonly<{
1313
1297
  [name: string]: import('vue').Slot<any> | undefined;
@@ -1315,7 +1299,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1315
1299
  $root: import('vue').ComponentPublicInstance | null;
1316
1300
  $parent: import('vue').ComponentPublicInstance | null;
1317
1301
  $host: Element | null;
1318
- $emit: ((event: "change-field", ...args: any[]) => void) & ((event: "input-field", ...args: any[]) => void);
1302
+ $emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
1319
1303
  $el: any;
1320
1304
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
1321
1305
  formProps: {
@@ -1339,10 +1323,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1339
1323
  default: () => {};
1340
1324
  };
1341
1325
  }>> & Readonly<{
1342
- "onChange-field"?: ((...args: any[]) => any) | undefined;
1343
- "onInput-field"?: ((...args: any[]) => any) | undefined;
1326
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1327
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1344
1328
  }>, {
1345
- form: {
1329
+ elForm: {
1346
1330
  $: import('vue').ComponentInternalInstance;
1347
1331
  $data: {};
1348
1332
  $props: {
@@ -1453,8 +1437,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1453
1437
  extractValues: () => Promise<Record<string, any>>;
1454
1438
  validateField: (key: string) => Promise<boolean | undefined>;
1455
1439
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1456
- "change-field": (...args: any[]) => void;
1457
- "input-field": (...args: any[]) => void;
1440
+ "change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
1441
+ "input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
1458
1442
  }, string, {
1459
1443
  colProps: Partial<import('element-plus').ColProps>;
1460
1444
  formItemProps: Partial<import('element-plus').FormItemProps>;
@@ -1509,10 +1493,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1509
1493
  default: () => {};
1510
1494
  };
1511
1495
  }>> & Readonly<{
1512
- "onChange-field"?: ((...args: any[]) => any) | undefined;
1513
- "onInput-field"?: ((...args: any[]) => any) | undefined;
1514
- }>, "form" | "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "extractValues"> & import('vue').ShallowUnwrapRef<{
1515
- form: {
1496
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1497
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1498
+ }>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
1499
+ elForm: {
1516
1500
  $: import('vue').ComponentInternalInstance;
1517
1501
  $data: {};
1518
1502
  $props: {
@@ -1623,9 +1607,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1623
1607
  extractValues: () => Promise<Record<string, any>>;
1624
1608
  validateField: (key: string) => Promise<boolean | undefined>;
1625
1609
  }> & {} & import('vue').ComponentCustomProperties & {} & {
1626
- $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
1627
- default?(_: {}): any;
1628
- };
1610
+ $slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
1629
1611
  };
1630
1612
  show: <P = any>(options?: (import('@vrojs/use').UseVisibleShowOptions & Partial<import('./types').VroElSchemaFormDialogProps>) | undefined) => Promise<P>;
1631
1613
  hide: (reason?: any) => Promise<void>;
@@ -1633,8 +1615,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1633
1615
  style: import('vue').CSSProperties;
1634
1616
  colProps: Partial<import('element-plus').ColProps>;
1635
1617
  formItemProps: Partial<import('element-plus').FormItemProps>;
1636
- labelPosition: "top" | "right" | "left";
1637
- labelWidth: string;
1638
1618
  formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
1639
1619
  rowProps: Partial<import('element-plus').RowProps>;
1640
1620
  schema: import('..').VroElSchemaFormSchema;
@@ -1651,13 +1631,11 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1651
1631
  default: () => {};
1652
1632
  };
1653
1633
  request: import('vue').PropType<import('./types').VroElSchemaFormDialogRequest>;
1654
- labelPosition: {
1655
- type: import('vue').PropType<"left" | "right" | "top">;
1656
- default: string;
1657
- };
1658
- labelWidth: {
1659
- type: StringConstructor;
1660
- default: string;
1634
+ formProps: {
1635
+ type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
1636
+ default: () => {
1637
+ labelPosition: string;
1638
+ };
1661
1639
  };
1662
1640
  showCancelButton: {
1663
1641
  type: BooleanConstructor;
@@ -1669,10 +1647,6 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1669
1647
  };
1670
1648
  cancelButtonText: StringConstructor;
1671
1649
  confirmButtonText: StringConstructor;
1672
- formProps: {
1673
- type: import('vue').PropType<import('..').VroElSchemaFormFormProps>;
1674
- default: () => {};
1675
- };
1676
1650
  rowProps: {
1677
1651
  type: import('vue').PropType<Partial<import('element-plus').RowProps>>;
1678
1652
  default: () => {};
@@ -1690,13 +1664,14 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1690
1664
  default: () => {};
1691
1665
  };
1692
1666
  }>> & Readonly<{
1693
- onCancel?: ((...args: any[]) => any) | undefined;
1694
- onConfirm?: ((...args: any[]) => any) | undefined;
1695
- onClosed?: ((...args: any[]) => any) | undefined;
1696
- "onChange-field"?: ((...args: any[]) => any) | undefined;
1697
- "onInput-field"?: ((...args: any[]) => any) | undefined;
1667
+ onCancel?: ((reason?: any) => any) | undefined;
1668
+ onConfirm?: ((data: any) => any) | undefined;
1669
+ onClosed?: (() => any) | undefined;
1670
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1671
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1698
1672
  }>, {
1699
- schemaFormInstance: {
1673
+ elDialog: import('element-plus').DialogInstance;
1674
+ vroElSchemaForm: {
1700
1675
  $: import('vue').ComponentInternalInstance;
1701
1676
  $data: {};
1702
1677
  $props: Partial<{
@@ -1711,8 +1686,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1711
1686
  readonly formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
1712
1687
  readonly rowProps: Partial<import('element-plus').RowProps>;
1713
1688
  readonly schema: import('..').VroElSchemaFormSchema;
1714
- readonly "onChange-field"?: ((...args: any[]) => any) | undefined;
1715
- readonly "onInput-field"?: ((...args: any[]) => any) | undefined;
1689
+ readonly "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1690
+ readonly "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1716
1691
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "colProps" | "formItemProps" | "formProps" | "rowProps" | "schema">;
1717
1692
  $attrs: {
1718
1693
  [x: string]: unknown;
@@ -1720,7 +1695,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1720
1695
  $refs: {
1721
1696
  [x: string]: unknown;
1722
1697
  } & {
1723
- refForm: ({
1698
+ formRef: ({
1724
1699
  $: import('vue').ComponentInternalInstance;
1725
1700
  $data: {};
1726
1701
  $props: {
@@ -1821,7 +1796,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1821
1796
  default?: (props: {}) => any;
1822
1797
  };
1823
1798
  }) | null;
1824
- refComponents: unknown;
1799
+ componentRefs: unknown;
1825
1800
  };
1826
1801
  $slots: Readonly<{
1827
1802
  [name: string]: import('vue').Slot<any> | undefined;
@@ -1829,7 +1804,7 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1829
1804
  $root: import('vue').ComponentPublicInstance | null;
1830
1805
  $parent: import('vue').ComponentPublicInstance | null;
1831
1806
  $host: Element | null;
1832
- $emit: ((event: "change-field", ...args: any[]) => void) & ((event: "input-field", ...args: any[]) => void);
1807
+ $emit: ((event: "change-field", payload: import('..').VroElSchemaFormFieldEvent) => void) & ((event: "input-field", payload: import('..').VroElSchemaFormFieldEvent) => void);
1833
1808
  $el: any;
1834
1809
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
1835
1810
  formProps: {
@@ -1853,10 +1828,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1853
1828
  default: () => {};
1854
1829
  };
1855
1830
  }>> & Readonly<{
1856
- "onChange-field"?: ((...args: any[]) => any) | undefined;
1857
- "onInput-field"?: ((...args: any[]) => any) | undefined;
1831
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1832
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
1858
1833
  }>, {
1859
- form: {
1834
+ elForm: {
1860
1835
  $: import('vue').ComponentInternalInstance;
1861
1836
  $data: {};
1862
1837
  $props: {
@@ -1967,8 +1942,8 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
1967
1942
  extractValues: () => Promise<Record<string, any>>;
1968
1943
  validateField: (key: string) => Promise<boolean | undefined>;
1969
1944
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1970
- "change-field": (...args: any[]) => void;
1971
- "input-field": (...args: any[]) => void;
1945
+ "change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
1946
+ "input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
1972
1947
  }, string, {
1973
1948
  colProps: Partial<import('element-plus').ColProps>;
1974
1949
  formItemProps: Partial<import('element-plus').FormItemProps>;
@@ -2023,10 +1998,10 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
2023
1998
  default: () => {};
2024
1999
  };
2025
2000
  }>> & Readonly<{
2026
- "onChange-field"?: ((...args: any[]) => any) | undefined;
2027
- "onInput-field"?: ((...args: any[]) => any) | undefined;
2028
- }>, "form" | "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "extractValues"> & import('vue').ShallowUnwrapRef<{
2029
- form: {
2001
+ "onChange-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
2002
+ "onInput-field"?: ((payload: import('..').VroElSchemaFormFieldEvent) => any) | undefined;
2003
+ }>, "trigger" | "validate" | "validateField" | "resetFields" | ("colProps" | "formItemProps" | "formProps" | "rowProps" | "schema") | "elForm" | "extractValues"> & import('vue').ShallowUnwrapRef<{
2004
+ elForm: {
2030
2005
  $: import('vue').ComponentInternalInstance;
2031
2006
  $data: {};
2032
2007
  $props: {
@@ -2137,33 +2112,27 @@ export declare const VroElSchemaFormDialog: import('@vrojs/base').WithInstall<{
2137
2112
  extractValues: () => Promise<Record<string, any>>;
2138
2113
  validateField: (key: string) => Promise<boolean | undefined>;
2139
2114
  }> & {} & import('vue').ComponentCustomProperties & {} & {
2140
- $slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
2141
- default?(_: {}): any;
2142
- };
2115
+ $slots: Readonly<import('..').VroElSchemaFormSlots> & import('..').VroElSchemaFormSlots;
2143
2116
  };
2144
2117
  show: <P = any>(options?: (import('@vrojs/use').UseVisibleShowOptions & Partial<import('./types').VroElSchemaFormDialogProps>) | undefined) => Promise<P>;
2145
2118
  hide: (reason?: any) => Promise<void>;
2146
2119
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2147
- cancel: (...args: any[]) => void;
2148
- confirm: (...args: any[]) => void;
2149
- closed: (...args: any[]) => void;
2150
- "change-field": (...args: any[]) => void;
2151
- "input-field": (...args: any[]) => void;
2120
+ cancel: (reason?: any) => any;
2121
+ confirm: (data: any) => any;
2122
+ closed: () => any;
2123
+ "change-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
2124
+ "input-field": (payload: import('..').VroElSchemaFormFieldEvent) => any;
2152
2125
  }, string, {
2153
2126
  style: import('vue').CSSProperties;
2154
2127
  colProps: Partial<import('element-plus').ColProps>;
2155
2128
  formItemProps: Partial<import('element-plus').FormItemProps>;
2156
- labelPosition: "top" | "right" | "left";
2157
- labelWidth: string;
2158
2129
  formProps: Partial<Omit<import('element-plus').FormProps, "rules" | "model">>;
2159
2130
  rowProps: Partial<import('element-plus').RowProps>;
2160
2131
  schema: import('..').VroElSchemaFormSchema;
2161
2132
  showCancelButton: boolean;
2162
2133
  showConfirmButton: boolean;
2163
2134
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
2164
- $slots: {
2165
- default?(_: {}): any;
2166
- };
2135
+ $slots: Readonly<import('./types').VroElSchemaFormDialogSlots> & import('./types').VroElSchemaFormDialogSlots;
2167
2136
  })>;
2168
2137
  export default VroElSchemaFormDialog;
2169
2138
  export type VroElSchemaFormDialogInstance = InstanceType<typeof VroElSchemaFormDialog>;
@@ -1,12 +1,17 @@
1
1
  import '../../style/base.css';
2
2
  import '../../vro-el-file-upload/style/index.css';
3
3
  import '../../vro-el-image-upload/style/index.css';
4
+ import '../../vro-el-image/style/index.css';
4
5
  import './index.css';
5
6
  import '../../vro-el-schema-form/style/index.css';
7
+ import '../../vro-el-tags/style/index.css';
6
8
  import '../../vro-el-tree/style/index.css';
7
9
  /* empty css */
8
10
  /* empty css */
9
11
  /* empty css */
12
+ import "@vrojs/base/src/vro-loading/style/css";
13
+ import "@vrojs/base/src/vro-icon/style/css";
14
+ /* empty css */
10
15
  /* empty css */
11
16
  /* empty css */
12
17
  /* empty css */
@@ -1 +1 @@
1
- .vro-el-schema-form-dialog{--el-dialog-width: 520px;width:var(--el-dialog-width)}
1
+ :root,:host{--vro-el-schema-form-dialog-width: 520px}.vro-el-schema-form-dialog{--el-dialog-width: var(--vro-el-schema-form-dialog-width);width:var(--el-dialog-width)}