@vrojs/element-plus 0.0.7 → 0.0.9

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 +66 -7
  73. package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +39 -40
  74. package/dist/vro-el-schema-form/useVroElSchemaForm.js +15 -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 +7 -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 +44 -0
  128. package/dist/vro-el-table/useVroElTable.js +49 -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,135 +1,131 @@
1
- import { defineComponent as T, ref as $, computed as k, watch as x, nextTick as D, useTemplateRef as N, provide as R, createBlock as c, openBlock as u, unref as r, normalizeStyle as j, normalizeClass as I, isRef as q, createSlots as z, withCtx as s, createVNode as A, mergeProps as O, withModifiers as W, renderSlot as K, createElementVNode as L, createCommentVNode as y, createTextVNode as w, toDisplayString as C } from "vue";
2
- import { pick as M, getRandom as U } from "@daysnap/utils";
3
- import { useVisible as G, useAsyncTask as H } from "@vrojs/use";
4
- import { ElDialog as J, ElButton as E } from "element-plus";
5
- import { useLocale as Q } from "../locale/useLocale.js";
6
- import { VroElSchemaForm as X } from "../vro-el-schema-form/index.js";
7
- import { vroElSchemaFormDialogInjectionKey as Y } from "./injection.js";
8
- import { vroElSchemaFormDialogProps as Z } from "./types.js";
9
- import { vroElSchemaFormProps as _ } from "../vro-el-schema-form/types.js";
10
- const ee = { class: "dialog-footer" }, ce = /* @__PURE__ */ T({
1
+ import { defineComponent as O, useSlots as q, ref as z, computed as f, useTemplateRef as k, provide as I, createBlock as p, openBlock as v, unref as l, normalizeStyle as K, isRef as L, createSlots as w, withCtx as n, createVNode as A, mergeProps as M, withModifiers as U, renderSlot as S, renderList as G, normalizeProps as H, guardReactiveProps as J, createElementVNode as Q, createCommentVNode as C, createTextVNode as b, toDisplayString as F } from "vue";
2
+ import { pick as W, typedKeys as X } from "@daysnap/utils";
3
+ import { useVisible as Y, useAsyncTask as Z } from "@vrojs/use";
4
+ import { ElDialog as _, ElButton as E } from "element-plus";
5
+ import { useLocale as ee } from "../locale/useLocale.js";
6
+ import { VroElSchemaForm as oe } from "../vro-el-schema-form/index.js";
7
+ import { vroElSchemaFormDialogInjectionKey as te } from "./injection.js";
8
+ import { vroElSchemaFormDialogProps as le } from "./types.js";
9
+ import { vroElSchemaFormProps as re } from "../vro-el-schema-form/types.js";
10
+ const ae = { class: "dialog-footer" }, ve = /* @__PURE__ */ O({
11
11
  name: "VroElSchemaFormDialog",
12
12
  __name: "vro-el-schema-form-dialog",
13
- props: Z,
13
+ props: le,
14
14
  emits: ["change-field", "input-field", "cancel", "confirm", "closed"],
15
- setup(S, { expose: b, emit: F }) {
16
- const f = F, d = S, { t: p } = Q(), v = $(), l = k(
17
- () => Object.assign({}, d, v.value)
18
- ), V = k(() => {
19
- const o = M(l.value, Object.keys(_));
20
- return {
21
- ...o,
22
- formProps: {
23
- labelPosition: l.value.labelPosition,
24
- labelWidth: l.value.labelWidth,
25
- ...o.formProps
26
- }
27
- };
28
- }), { show: B, hide: n, confirm: m, visible: i } = G({
15
+ setup(V, { expose: B, emit: P }) {
16
+ const s = P, R = q(), g = V, { t: y } = ee(), c = z(), T = f(() => Object.keys(R).filter((o) => o !== "default")), r = f(() => (console.log("computedProps => ", Object.assign({}, g, c.value)), Object.assign({}, g, c.value))), x = f(() => W(r.value, X(re))), { show: D, hide: i, confirm: u, visible: m } = Y({
29
17
  showCallback: (o) => {
30
- v.value = o;
18
+ c.value = o;
31
19
  },
32
- hideCallback: (o) => f("cancel", o),
33
- confirmCallback: (o) => f("confirm", o)
34
- }), h = `id_${U(10)}`;
35
- x(i, (o) => {
36
- o && D(() => {
37
- const e = document.querySelectorAll(`.${h}`);
38
- e.length && e.forEach((t) => t.parentElement.scrollTop = 0);
39
- });
40
- });
41
- const a = N("refVroElSchemaForm"), { loading: P, trigger: g } = H(
20
+ hideCallback: (o) => s("cancel", o),
21
+ confirmCallback: (o) => s("confirm", o)
22
+ }), d = k("dialogRef"), $ = () => {
23
+ const o = d.value?.$el;
24
+ (o instanceof Element ? o : void 0)?.querySelector(".el-dialog__body")?.scrollTo({ top: 0 });
25
+ }, a = k("schemaFormRef"), { loading: N, trigger: h } = Z(
42
26
  async () => {
43
27
  if (!a.value)
44
- throw new Error("not fond VroElSchemaForm");
28
+ throw new Error("not found VroElSchemaForm");
45
29
  await a.value.validate().catch(() => {
46
30
  throw "cancel";
47
31
  });
48
32
  let o = !1;
49
33
  if (await a.value.trigger({
50
- confirm: m,
51
- hide: n,
34
+ confirm: u,
35
+ hide: i,
52
36
  block: () => {
53
- o = !0, setTimeout(() => o = !0);
37
+ o = !0;
54
38
  }
55
- }), i.value && !o) {
56
- const e = await a.value.extractValues(), t = await l.value.request?.(e, d.schema) ?? e;
57
- m(t);
39
+ }), m.value && !o) {
40
+ const e = await a.value.extractValues(), t = await r.value.request?.(e, r.value.schema) ?? e;
41
+ u(t);
58
42
  }
59
43
  },
60
44
  {
61
45
  throwError: !0
62
46
  }
63
47
  );
64
- return R(Y, {
65
- confirm: m,
66
- hide: n
67
- }), b({
68
- get schemaFormInstance() {
48
+ return I(te, {
49
+ confirm: u,
50
+ hide: i
51
+ }), B({
52
+ get elDialog() {
53
+ return d.value;
54
+ },
55
+ get vroElSchemaForm() {
69
56
  return a.value;
70
57
  },
71
- show: B,
72
- hide: n
73
- }), (o, e) => (u(), c(r(J), {
74
- modelValue: r(i),
75
- "onUpdate:modelValue": e[4] || (e[4] = (t) => q(i) ? i.value = t : null),
76
- ref: "containerRef",
77
- class: I(["vro-el-schema-form-dialog", [h]]),
78
- title: l.value.title,
58
+ show: D,
59
+ hide: i
60
+ }), (o, e) => (v(), p(l(_), {
61
+ modelValue: l(m),
62
+ "onUpdate:modelValue": e[4] || (e[4] = (t) => L(m) ? m.value = t : null),
63
+ ref_key: "dialogRef",
64
+ ref: d,
65
+ class: "vro-el-schema-form-dialog",
66
+ title: r.value.title,
79
67
  "destroy-on-close": "",
80
68
  "append-to-body": "",
81
69
  "close-on-click-modal": !1,
82
- style: j(l.value.style),
83
- onClose: e[5] || (e[5] = (t) => r(n)()),
84
- onClosed: e[6] || (e[6] = (t) => o.$emit("closed"))
85
- }, z({
86
- default: s(() => [
87
- A(r(X), O(V.value, {
88
- ref_key: "refVroElSchemaForm",
70
+ style: K(r.value.style),
71
+ onClose: e[5] || (e[5] = (t) => l(i)()),
72
+ onClosed: e[6] || (e[6] = (t) => s("closed")),
73
+ onOpened: $
74
+ }, w({
75
+ default: n(() => [
76
+ A(l(oe), M(x.value, {
77
+ ref_key: "schemaFormRef",
89
78
  ref: a,
90
- onChangeField: e[0] || (e[0] = (t) => o.$emit("change-field", t)),
91
- onInputField: e[1] || (e[1] = (t) => o.$emit("input-field", t)),
92
- onSubmit: e[2] || (e[2] = W((t) => r(g)(), ["prevent"]))
93
- }), {
94
- default: s(() => [
95
- K(o.$slots, "default")
79
+ onChangeField: e[0] || (e[0] = (t) => s("change-field", t)),
80
+ onInputField: e[1] || (e[1] = (t) => s("input-field", t)),
81
+ onSubmit: e[2] || (e[2] = U((t) => l(h)(), ["prevent"]))
82
+ }), w({
83
+ default: n(() => [
84
+ S(o.$slots, "default")
96
85
  ]),
97
- _: 3
98
- }, 16)
86
+ _: 2
87
+ }, [
88
+ G(T.value, (t) => ({
89
+ name: t,
90
+ fn: n((j) => [
91
+ S(o.$slots, t, H(J(j ?? {})))
92
+ ])
93
+ }))
94
+ ]), 1040)
99
95
  ]),
100
96
  _: 2
101
97
  }, [
102
- l.value.showCancelButton || l.value.showConfirmButton ? {
98
+ r.value.showCancelButton || r.value.showConfirmButton ? {
103
99
  name: "footer",
104
- fn: s(() => [
105
- L("span", ee, [
106
- l.value.showCancelButton ? (u(), c(r(E), {
100
+ fn: n(() => [
101
+ Q("span", ae, [
102
+ r.value.showCancelButton ? (v(), p(l(E), {
107
103
  key: 0,
108
- onClick: e[3] || (e[3] = (t) => r(n)("cancel"))
104
+ onClick: e[3] || (e[3] = (t) => l(i)("cancel"))
109
105
  }, {
110
- default: s(() => [
111
- w(C(l.value.cancelButtonText || r(p)("schemaFormDialog.cancelText")), 1)
106
+ default: n(() => [
107
+ b(F(r.value.cancelButtonText || l(y)("schemaFormDialog.cancelText")), 1)
112
108
  ]),
113
109
  _: 1
114
- })) : y("", !0),
115
- l.value.showConfirmButton ? (u(), c(r(E), {
110
+ })) : C("", !0),
111
+ r.value.showConfirmButton ? (v(), p(l(E), {
116
112
  key: 1,
117
113
  type: "primary",
118
- onClick: r(g),
119
- loading: r(P)
114
+ onClick: l(h),
115
+ loading: l(N)
120
116
  }, {
121
- default: s(() => [
122
- w(C(l.value.confirmButtonText || r(p)("schemaFormDialog.confirmText")), 1)
117
+ default: n(() => [
118
+ b(F(r.value.confirmButtonText || l(y)("schemaFormDialog.confirmText")), 1)
123
119
  ]),
124
120
  _: 1
125
- }, 8, ["onClick", "loading"])) : y("", !0)
121
+ }, 8, ["onClick", "loading"])) : C("", !0)
126
122
  ])
127
123
  ]),
128
124
  key: "0"
129
125
  } : void 0
130
- ]), 1032, ["modelValue", "class", "title", "style"]));
126
+ ]), 1032, ["modelValue", "title", "style"]));
131
127
  }
132
128
  });
133
129
  export {
134
- ce as default
130
+ ve as default
135
131
  };
@@ -0,0 +1,4 @@
1
+ import { AppContext } from 'vue';
2
+ import { VroElWithConfigProps } from '../vro-el-with-config';
3
+ import { VroElSchemaFormDrawerProps } from './types';
4
+ export declare function showVroElSchemaFormDrawer<T = any>(props: Partial<VroElSchemaFormDrawerProps & VroElWithConfigProps>, appContext?: AppContext | null): Promise<T>;
@@ -0,0 +1,20 @@
1
+ import { showComponent as m } from "@vrojs/base";
2
+ import { markRaw as n } from "vue";
3
+ import { VroElWithConfig as t } from "../vro-el-with-config/index.js";
4
+ import i from "./vro-el-schema-form-drawer.vue.js";
5
+ function l(o, r = null) {
6
+ return m(
7
+ t,
8
+ {
9
+ ...o,
10
+ is: n(i)
11
+ },
12
+ {
13
+ appContext: r,
14
+ destroyHandlers: ["onClosed"]
15
+ }
16
+ );
17
+ }
18
+ export {
19
+ l as showVroElSchemaFormDrawer
20
+ };