@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.
- package/dist/index.d.ts +5 -0
- package/dist/index.js +125 -83
- package/dist/locale/index.js +6 -7
- package/dist/locale/lang/en.d.ts +8 -0
- package/dist/locale/lang/en.js +8 -0
- package/dist/locale/lang/zh-cn.d.ts +8 -0
- package/dist/locale/lang/zh-cn.js +8 -0
- package/dist/locale/useLocale.d.ts +1 -48
- package/dist/locale/useLocale.js +16 -17
- package/dist/style/deps.js +7 -0
- package/dist/style/index.css +1 -1
- package/dist/style/index.js +7 -0
- package/dist/utils/elTableColumnProps.d.ts +149 -0
- package/dist/utils/elTableColumnProps.js +152 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -2
- package/dist/vro-el-checkbox-group/index.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.js +10 -10
- package/dist/vro-el-config-provider/config.d.ts +14 -0
- package/dist/vro-el-config-provider/config.js +36 -0
- package/dist/vro-el-config-provider/index.d.ts +16 -0
- package/dist/vro-el-config-provider/index.js +8 -2
- package/dist/vro-el-config-provider/types.d.ts +7 -0
- package/dist/vro-el-config-provider/types.js +7 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.d.ts +9 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.js +11 -11
- package/dist/vro-el-file-upload/index.d.ts +6 -6
- package/dist/vro-el-file-upload/style/index.css +1 -1
- package/dist/vro-el-file-upload/types.d.ts +9 -2
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.d.ts +7 -6
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.js +55 -51
- package/dist/vro-el-icon/index.d.ts +28 -40
- package/dist/vro-el-icon/style/css.js +1 -0
- package/dist/vro-el-icon/style/deps.js +1 -1
- package/dist/vro-el-icon/style/index.js +1 -1
- package/dist/vro-el-icon/types.d.ts +16 -13
- package/dist/vro-el-icon/types.js +8 -1
- package/dist/vro-el-icon/vro-el-icon.vue.d.ts +18 -27
- package/dist/vro-el-icon/vro-el-icon.vue.js +27 -23
- package/dist/vro-el-image/index.d.ts +10 -4
- package/dist/vro-el-image/style/css.js +4 -0
- package/dist/vro-el-image/style/index.css +1 -0
- package/dist/vro-el-image/style/index.js +4 -0
- package/dist/vro-el-image/types.d.ts +35 -0
- package/dist/vro-el-image/types.js +24 -1
- package/dist/vro-el-image/utils.d.ts +1 -1
- package/dist/vro-el-image/vro-el-image.vue.d.ts +7 -2
- package/dist/vro-el-image/vro-el-image.vue.js +55 -24
- package/dist/vro-el-image-upload/index.d.ts +1 -1
- package/dist/vro-el-image-upload/style/css.js +4 -0
- package/dist/vro-el-image-upload/style/index.css +1 -1
- package/dist/vro-el-image-upload/style/index.js +4 -0
- package/dist/vro-el-image-upload/types.d.ts +24 -7
- package/dist/vro-el-image-upload/types.js +21 -7
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.d.ts +1 -1
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.js +82 -68
- package/dist/vro-el-radio-group/index.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.js +12 -12
- package/dist/vro-el-schema-filter/index.d.ts +27 -31
- package/dist/vro-el-schema-filter/style/css.js +5 -0
- package/dist/vro-el-schema-filter/style/index.css +1 -1
- package/dist/vro-el-schema-filter/style/index.js +5 -0
- package/dist/vro-el-schema-filter/types.d.ts +17 -0
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.d.ts +38 -43
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.js +63 -44
- package/dist/vro-el-schema-form/index.d.ts +16 -18
- package/dist/vro-el-schema-form/style/css.js +5 -0
- package/dist/vro-el-schema-form/style/index.css +1 -1
- package/dist/vro-el-schema-form/style/index.js +5 -0
- package/dist/vro-el-schema-form/types.d.ts +65 -7
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +33 -37
- package/dist/vro-el-schema-form/useVroElSchemaForm.js +13 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.d.ts +11 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.js +79 -79
- package/dist/vro-el-schema-form-dialog/function-call.js +10 -7
- package/dist/vro-el-schema-form-dialog/index.d.ts +111 -142
- package/dist/vro-el-schema-form-dialog/style/css.js +5 -0
- package/dist/vro-el-schema-form-dialog/style/index.css +1 -1
- package/dist/vro-el-schema-form-dialog/style/index.js +5 -0
- package/dist/vro-el-schema-form-dialog/types.d.ts +25 -16
- package/dist/vro-el-schema-form-dialog/types.js +6 -11
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +92 -113
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +83 -87
- package/dist/vro-el-schema-form-drawer/function-call.d.ts +4 -0
- package/dist/vro-el-schema-form-drawer/function-call.js +20 -0
- package/dist/vro-el-schema-form-drawer/index.d.ts +2207 -0
- package/dist/vro-el-schema-form-drawer/index.js +16 -0
- package/dist/vro-el-schema-form-drawer/injection.d.ts +9 -0
- package/dist/vro-el-schema-form-drawer/injection.js +9 -0
- package/dist/vro-el-schema-form-drawer/style/css.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/css.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/deps.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/index.css +1 -0
- package/dist/vro-el-schema-form-drawer/style/index.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/index.js +48 -0
- package/dist/vro-el-schema-form-drawer/types.d.ts +110 -0
- package/dist/vro-el-schema-form-drawer/types.js +75 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.d.ts +14 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.js +18 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +1832 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.js +134 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue2.js +4 -0
- package/dist/vro-el-select/index.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.js +11 -11
- package/dist/vro-el-skeleton/index.d.ts +9 -73
- package/dist/vro-el-skeleton/style/index.css +1 -1
- package/dist/vro-el-skeleton/types.d.ts +32 -24
- package/dist/vro-el-skeleton/types.js +3 -23
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.d.ts +7 -48
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.js +48 -46
- package/dist/vro-el-table/createUseVroElTable.d.ts +9 -0
- package/dist/vro-el-table/createUseVroElTable.js +7 -0
- package/dist/vro-el-table/index.js +13 -0
- package/dist/vro-el-table/style/css.d.ts +0 -0
- package/dist/vro-el-table/style/css.js +29 -0
- package/dist/vro-el-table/style/deps.d.ts +0 -0
- package/dist/vro-el-table/style/deps.js +28 -0
- package/dist/vro-el-table/style/index.css +1 -0
- package/dist/vro-el-table/style/index.d.ts +0 -0
- package/dist/vro-el-table/style/index.js +57 -0
- package/dist/vro-el-table/types.d.ts +97 -0
- package/dist/vro-el-table/types.js +66 -0
- package/dist/vro-el-table/useVroElTable.d.ts +43 -0
- package/dist/vro-el-table/useVroElTable.js +47 -0
- package/dist/vro-el-table/vro-el-table.vue.js +94 -0
- package/dist/vro-el-table/vro-el-table.vue2.js +4 -0
- package/dist/vro-el-table-actions-column/index.d.ts +269 -0
- package/dist/vro-el-table-actions-column/index.js +9 -0
- package/dist/vro-el-table-actions-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/css.js +4 -0
- package/dist/vro-el-table-actions-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/deps.js +5 -0
- package/dist/vro-el-table-actions-column/style/index.css +1 -0
- package/dist/vro-el-table-actions-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/index.js +9 -0
- package/dist/vro-el-table-actions-column/types.d.ts +139 -0
- package/dist/vro-el-table-actions-column/types.js +37 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.d.ts +167 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.js +101 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue2.js +4 -0
- package/dist/vro-el-table-column/index.d.ts +257 -0
- package/dist/vro-el-table-column/index.js +9 -0
- package/dist/vro-el-table-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-column/style/css.js +6 -0
- package/dist/vro-el-table-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column/style/deps.js +1 -0
- package/dist/vro-el-table-column/style/index.css +1 -0
- package/dist/vro-el-table-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-column/style/index.js +7 -0
- package/dist/vro-el-table-column/types.d.ts +141 -0
- package/dist/vro-el-table-column/types.js +43 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.d.ts +161 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.js +66 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue2.js +4 -0
- package/dist/vro-el-table-column-group/index.d.ts +23 -0
- package/dist/vro-el-table-column-group/index.js +13 -0
- package/dist/vro-el-table-column-group/style/css.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/css.js +9 -0
- package/dist/vro-el-table-column-group/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/deps.js +5 -0
- package/dist/vro-el-table-column-group/style/index.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/index.js +14 -0
- package/dist/vro-el-table-column-group/types.d.ts +87 -0
- package/dist/vro-el-table-column-group/types.js +12 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.d.ts +2 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.js +10 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.d.ts +14 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.js +29 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue2.js +4 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.d.ts +2 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.js +9 -0
- package/dist/vro-el-tags/index.d.ts +234 -187
- package/dist/vro-el-tags/style/css.js +1 -0
- package/dist/vro-el-tags/style/index.css +1 -0
- package/dist/vro-el-tags/style/index.js +1 -0
- package/dist/vro-el-tags/types.d.ts +37 -1
- package/dist/vro-el-tags/types.js +17 -1
- package/dist/vro-el-tags/vro-el-tags.vue.d.ts +219 -8
- package/dist/vro-el-tags/vro-el-tags.vue.js +55 -45
- package/dist/vro-el-tree/index.d.ts +3235 -32
- package/dist/vro-el-tree/style/index.css +1 -1
- package/dist/vro-el-tree/types.d.ts +124 -5
- package/dist/vro-el-tree/types.js +12 -6
- package/dist/vro-el-tree/vro-el-tree.vue.d.ts +6020 -20
- package/dist/vro-el-tree/vro-el-tree.vue.js +54 -36
- package/package.json +6 -6
|
@@ -1,135 +1,131 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { pick as
|
|
3
|
-
import { useVisible as
|
|
4
|
-
import { ElDialog as
|
|
5
|
-
import { useLocale as
|
|
6
|
-
import { VroElSchemaForm as
|
|
7
|
-
import { vroElSchemaFormDialogInjectionKey as
|
|
8
|
-
import { vroElSchemaFormDialogProps as
|
|
9
|
-
import { vroElSchemaFormProps as
|
|
10
|
-
const
|
|
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:
|
|
13
|
+
props: le,
|
|
14
14
|
emits: ["change-field", "input-field", "cancel", "confirm", "closed"],
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
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
|
-
|
|
18
|
+
c.value = o;
|
|
31
19
|
},
|
|
32
|
-
hideCallback: (o) =>
|
|
33
|
-
confirmCallback: (o) =>
|
|
34
|
-
}),
|
|
35
|
-
|
|
36
|
-
o
|
|
37
|
-
|
|
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
|
|
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:
|
|
51
|
-
hide:
|
|
34
|
+
confirm: u,
|
|
35
|
+
hide: i,
|
|
52
36
|
block: () => {
|
|
53
|
-
o = !0
|
|
37
|
+
o = !0;
|
|
54
38
|
}
|
|
55
|
-
}),
|
|
56
|
-
const e = await a.value.extractValues(), t = await
|
|
57
|
-
|
|
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
|
|
65
|
-
confirm:
|
|
66
|
-
hide:
|
|
67
|
-
}),
|
|
68
|
-
get
|
|
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:
|
|
72
|
-
hide:
|
|
73
|
-
}), (o, e) => (
|
|
74
|
-
modelValue:
|
|
75
|
-
"onUpdate:modelValue": e[4] || (e[4] = (t) =>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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:
|
|
83
|
-
onClose: e[5] || (e[5] = (t) =>
|
|
84
|
-
onClosed: e[6] || (e[6] = (t) =>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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) =>
|
|
91
|
-
onInputField: e[1] || (e[1] = (t) =>
|
|
92
|
-
onSubmit: e[2] || (e[2] =
|
|
93
|
-
}), {
|
|
94
|
-
default:
|
|
95
|
-
|
|
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
|
-
_:
|
|
98
|
-
},
|
|
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
|
-
|
|
98
|
+
r.value.showCancelButton || r.value.showConfirmButton ? {
|
|
103
99
|
name: "footer",
|
|
104
|
-
fn:
|
|
105
|
-
|
|
106
|
-
|
|
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) =>
|
|
104
|
+
onClick: e[3] || (e[3] = (t) => l(i)("cancel"))
|
|
109
105
|
}, {
|
|
110
|
-
default:
|
|
111
|
-
|
|
106
|
+
default: n(() => [
|
|
107
|
+
b(F(r.value.cancelButtonText || l(y)("schemaFormDialog.cancelText")), 1)
|
|
112
108
|
]),
|
|
113
109
|
_: 1
|
|
114
|
-
})) :
|
|
115
|
-
|
|
110
|
+
})) : C("", !0),
|
|
111
|
+
r.value.showConfirmButton ? (v(), p(l(E), {
|
|
116
112
|
key: 1,
|
|
117
113
|
type: "primary",
|
|
118
|
-
onClick:
|
|
119
|
-
loading:
|
|
114
|
+
onClick: l(h),
|
|
115
|
+
loading: l(N)
|
|
120
116
|
}, {
|
|
121
|
-
default:
|
|
122
|
-
|
|
117
|
+
default: n(() => [
|
|
118
|
+
b(F(r.value.confirmButtonText || l(y)("schemaFormDialog.confirmText")), 1)
|
|
123
119
|
]),
|
|
124
120
|
_: 1
|
|
125
|
-
}, 8, ["onClick", "loading"])) :
|
|
121
|
+
}, 8, ["onClick", "loading"])) : C("", !0)
|
|
126
122
|
])
|
|
127
123
|
]),
|
|
128
124
|
key: "0"
|
|
129
125
|
} : void 0
|
|
130
|
-
]), 1032, ["modelValue", "
|
|
126
|
+
]), 1032, ["modelValue", "title", "style"]));
|
|
131
127
|
}
|
|
132
128
|
});
|
|
133
129
|
export {
|
|
134
|
-
|
|
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
|
+
};
|