@vrojs/element-plus 0.0.7 → 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 +6 -6
@@ -1,114 +1,114 @@
1
- import { defineComponent as z, computed as I, ref as F, watchEffect as A, useTemplateRef as O, createBlock as P, openBlock as g, unref as u, mergeProps as c, withCtx as i, createVNode as j, createElementBlock as G, renderSlot as E, Fragment as H, renderList as _, createSlots as B, resolveDynamicComponent as J } from "vue";
2
- import Q from "@daysnap/banana";
3
- import { isFunction as d, isString as R, filterEmptyValue as W } from "@daysnap/utils";
4
- import { getSlotEntries as D } from "@vrojs/base";
1
+ import { defineComponent as q, computed as C, ref as F, watchEffect as z, useTemplateRef as S, createBlock as P, openBlock as g, unref as m, mergeProps as u, withCtx as f, createVNode as I, createElementBlock as A, renderSlot as E, Fragment as G, renderList as _, createSlots as O, resolveDynamicComponent as H } from "vue";
2
+ import J from "@daysnap/banana";
3
+ import { isFunction as d, isString as Q, filterEmptyValue as W } from "@daysnap/utils";
4
+ import { getSlotEntries as j } from "@vrojs/base";
5
5
  import { ElForm as X, ElRow as Y, ElCol as Z, ElFormItem as k } from "element-plus";
6
6
  import { useLocale as ee } from "../locale/useLocale.js";
7
7
  import { datePickerValueFormat as re } from "../utils/datePickerValueFormat.js";
8
8
  import { defineVroElSchemaFormFieldTrigger as ae } from "./defineVroElSchemaFormFieldTrigger.js";
9
9
  import { vroElSchemaFormProps as oe } from "./types.js";
10
10
  import { vroElSchemaFormFieldManager as te } from "./vroElSchemaFormFieldManager.js";
11
- const he = /* @__PURE__ */ z({
11
+ const ve = /* @__PURE__ */ q({
12
12
  name: "VroElSchemaForm",
13
13
  __name: "vro-el-schema-form",
14
14
  props: oe,
15
15
  emits: ["change-field", "input-field"],
16
- setup($, { expose: x, emit: y }) {
17
- const C = y, s = $, K = I(() => ({
16
+ setup(B, { expose: D, emit: $ }) {
17
+ const V = $, n = B, x = C(() => ({
18
18
  validateOnRuleChange: !1,
19
- ...s.formProps
20
- })), { locale: L } = ee(), V = F({}), b = F({}), h = F({});
21
- A(() => {
22
- const { schema: e } = s;
23
- h.value = {};
24
- const t = {}, r = {};
25
- Object.entries(e).forEach(([o, a]) => {
26
- let { hidden: l, value: n, rules: m, is: p } = a;
27
- d(l) && (l = l(n, a, e)), p || (l = !0), l || (r[o] = n, h.value[o] = a), d(m) && (m = m(n, a, e)), t[o] = m;
28
- }), Object.assign(b.value, r), Object.assign(V.value, t);
19
+ ...n.formProps
20
+ })), { locale: y } = ee(), b = F({}), w = F({}), v = F({});
21
+ z(() => {
22
+ const { schema: e } = n;
23
+ v.value = {};
24
+ const a = {}, r = {};
25
+ Object.entries(e).forEach(([o, t]) => {
26
+ let { hidden: s, value: c, rules: l, is: p } = t;
27
+ d(s) && (s = s(c, t, e)), p || (s = !0), s || (r[o] = c, v.value[o] = t), d(l) && (l = l(c, t, e)), a[o] = l;
28
+ }), Object.assign(w.value, r), Object.assign(b.value, a);
29
29
  });
30
- const w = I(() => Object.entries(h.value).reduce((e, [t, r]) => {
31
- let { props: o = {}, is: a, options: l, labelKey: n, valueKey: m } = r;
32
- if (R(a)) {
33
- const p = te.get(a);
30
+ const R = C(() => Object.entries(v.value).reduce((e, [a, r]) => {
31
+ let { is: o, options: t, labelKey: s, valueKey: c } = r, l = { ...r.props };
32
+ if (Q(o)) {
33
+ const p = te.get(o);
34
34
  if (p) {
35
- let S = {};
36
- R(a) && (S = L.value.el.schemaForm[a]), a === "ElDatePicker" && (o.valueFormat = re[o?.type ?? "date"]), a = p.is, o = Object.assign(
35
+ const N = y.value.el.schemaForm[o] ?? {};
36
+ o === "ElDatePicker" && (l.valueFormat = l.valueFormat ?? re[l.type ?? "date"]), l = Object.assign(
37
37
  {},
38
38
  p.props,
39
- S,
40
- W({ options: l, labelKey: n, valueKey: m }),
41
- o
42
- ), o.disabled && (o.placeholder = "-", a === "ElDatePicker" && (o.startPlaceholder = "-", o.endPlaceholder = "-"));
39
+ N,
40
+ W({ options: t, labelKey: s, valueKey: c }),
41
+ l
42
+ ), l.disabled && (l.placeholder = "-", o === "ElDatePicker" && (l.startPlaceholder = "-", l.endPlaceholder = "-")), o = p.is;
43
43
  }
44
44
  }
45
- return e[t] = { is: a, props: o }, e;
46
- }, {})), M = async (e, t) => {
47
- C("change-field", { key: e, value: t }), await s.schema[e]?.onChange?.(t, s.schema[e], s.schema);
48
- }, T = async (e, t) => {
49
- C("input-field", { key: e, value: t }), await s.schema[e]?.onInput?.(t, s.schema[e], s.schema);
50
- }, v = O("refComponents"), f = O("refForm"), U = async () => {
51
- const e = v.value?.filter((t) => d(t.validate)) ?? [];
52
- await Promise.all([f.value, ...e].map((t) => t?.validate()));
53
- }, N = async () => {
54
- const e = v.value?.filter((r) => d(r.extractValues)) ?? [], t = await Promise.all(
45
+ return e[a] = { is: o, props: l }, e;
46
+ }, {})), K = async (e, a) => {
47
+ V("change-field", { key: e, value: a }), await n.schema[e]?.onChange?.(a, n.schema[e], n.schema);
48
+ }, L = async (e, a) => {
49
+ V("input-field", { key: e, value: a }), await n.schema[e]?.onInput?.(a, n.schema[e], n.schema);
50
+ }, h = S("componentRefs"), i = S("formRef"), M = async () => {
51
+ const e = h.value?.filter((a) => d(a.validate)) ?? [];
52
+ await Promise.all([i.value, ...e].map((a) => a?.validate()));
53
+ }, T = async () => {
54
+ const e = h.value?.filter((r) => d(r.extractValues)) ?? [], a = await Promise.all(
55
55
  e.map((r) => r.extractValues())
56
56
  );
57
- return t.push(Q.extract(s.schema)), t.filter(Boolean).reduce((r, o) => ({ ...r, ...o }), {});
58
- }, q = ae(async (e) => {
59
- const t = v.value?.filter((r) => d(r.trigger)) ?? [];
60
- await Promise.all(t.map((r) => r.trigger(e)));
57
+ return a.push(J.extract(n.schema)), a.filter(Boolean).reduce((r, o) => ({ ...r, ...o }), {});
58
+ }, U = ae(async (e) => {
59
+ const a = h.value?.filter((r) => d(r.trigger)) ?? [];
60
+ await Promise.all(a.map((r) => r.trigger(e)));
61
61
  });
62
- return x({
63
- get form() {
64
- return f.value;
62
+ return D({
63
+ get elForm() {
64
+ return i.value;
65
65
  },
66
- validate: U,
67
- resetFields: () => f.value?.resetFields(),
68
- trigger: q,
69
- extractValues: N,
70
- validateField: async (e) => f.value?.validateField(e)
71
- }), (e, t) => (g(), P(u(X), c(K.value, {
72
- ref_key: "refForm",
73
- ref: f,
66
+ validate: M,
67
+ resetFields: () => i.value?.resetFields(),
68
+ trigger: U,
69
+ extractValues: T,
70
+ validateField: async (e) => i.value?.validateField(e)
71
+ }), (e, a) => (g(), P(m(X), u(x.value, {
72
+ ref_key: "formRef",
73
+ ref: i,
74
74
  class: "vro-el-schema-form",
75
- model: b.value,
76
- rules: V.value
75
+ model: w.value,
76
+ rules: b.value
77
77
  }), {
78
- default: i(() => [
79
- j(u(Y), c({ gutter: 16 }, e.rowProps), {
80
- default: i(() => [
81
- (g(!0), G(H, null, _(h.value, (r, o) => (g(), P(u(Z), c({ key: o }, { ref_for: !0 }, { ...e.colProps, ...r.colProps }), {
82
- default: i(() => [
83
- j(u(k), c({
78
+ default: f(() => [
79
+ I(m(Y), u({ gutter: 16 }, e.rowProps), {
80
+ default: f(() => [
81
+ (g(!0), A(G, null, _(v.value, (r, o) => (g(), P(m(Z), u({ key: o }, { ref_for: !0 }, { ...e.colProps, ...r.colProps }), {
82
+ default: f(() => [
83
+ I(m(k), u({
84
84
  label: r.label,
85
85
  prop: o
86
- }, { ref_for: !0 }, { ...e.formItemProps, ...r.formItemProps }), B({
87
- default: i(() => [
88
- (g(), P(J(w.value?.[o]?.is), c({
86
+ }, { ref_for: !0 }, { ...e.formItemProps, ...r.formItemProps }), O({
87
+ default: f(() => [
88
+ (g(), P(H(R.value?.[o]?.is), u({
89
89
  modelValue: r.value,
90
- "onUpdate:modelValue": (a) => r.value = a
91
- }, { ref_for: !0 }, w.value?.[o]?.props, {
90
+ "onUpdate:modelValue": (t) => r.value = t
91
+ }, { ref_for: !0 }, R.value?.[o]?.props, {
92
92
  ref_for: !0,
93
- ref_key: "refComponents",
94
- ref: v,
95
- onChange: (a) => M(o, a),
96
- onInput: (a) => T(o, a)
97
- }), B({ _: 2 }, [
98
- _(u(D)(r.slots), ({ source: a, target: l }) => ({
99
- name: l,
100
- fn: i((n) => [
101
- E(e.$slots, a, c({ ref_for: !0 }, n ?? {}, { item: r }))
93
+ ref_key: "componentRefs",
94
+ ref: h,
95
+ onChange: (t) => K(o, t),
96
+ onInput: (t) => L(o, t)
97
+ }), O({ _: 2 }, [
98
+ _(m(j)(r.slots), ({ source: t, target: s }) => ({
99
+ name: s,
100
+ fn: f((c) => [
101
+ E(e.$slots, t, u({ ref_for: !0 }, c ?? {}, { item: r }))
102
102
  ])
103
103
  }))
104
104
  ]), 1040, ["modelValue", "onUpdate:modelValue", "onChange", "onInput"]))
105
105
  ]),
106
106
  _: 2
107
107
  }, [
108
- _(u(D)(r.itemSlots), ({ source: a, target: l }) => ({
109
- name: l,
110
- fn: i((n) => [
111
- E(e.$slots, a, c({ ref_for: !0 }, n ?? {}, { item: r }))
108
+ _(m(j)(r.itemSlots), ({ source: t, target: s }) => ({
109
+ name: s,
110
+ fn: f((c) => [
111
+ E(e.$slots, t, u({ ref_for: !0 }, c ?? {}, { item: r }))
112
112
  ])
113
113
  }))
114
114
  ]), 1040, ["label", "prop"])
@@ -125,5 +125,5 @@ const he = /* @__PURE__ */ z({
125
125
  }
126
126
  });
127
127
  export {
128
- he as default
128
+ ve as default
129
129
  };
@@ -1,17 +1,20 @@
1
1
  import { showComponent as m } from "@vrojs/base";
2
2
  import { markRaw as i } from "vue";
3
- import { VroElWithConfig as t } from "../vro-el-with-config/index.js";
4
- import n from "./vro-el-schema-form-dialog.vue.js";
5
- function e(o, r = null) {
3
+ import { VroElWithConfig as n } from "../vro-el-with-config/index.js";
4
+ import t from "./vro-el-schema-form-dialog.vue.js";
5
+ function a(o, r = null) {
6
6
  return m(
7
- t,
7
+ n,
8
8
  {
9
9
  ...o,
10
- is: i(n)
10
+ is: i(t)
11
11
  },
12
- r
12
+ {
13
+ appContext: r,
14
+ destroyHandlers: ["onClosed"]
15
+ }
13
16
  );
14
17
  }
15
18
  export {
16
- e as showVroElSchemaFormDialog
19
+ a as showVroElSchemaFormDialog
17
20
  };