@vrojs/element-plus 0.0.31 → 0.0.32
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 +1 -0
- package/dist/index.js +147 -139
- package/dist/style/deps.js +1 -0
- package/dist/vro-el-async-dialog/function-call.d.ts +3 -0
- package/dist/vro-el-async-dialog/function-call.js +20 -0
- package/dist/vro-el-async-dialog/index.d.ts +48 -0
- package/dist/vro-el-async-dialog/index.js +9 -0
- package/dist/vro-el-async-dialog/style/css.d.ts +0 -0
- package/dist/vro-el-async-dialog/style/css.js +2 -0
- package/dist/vro-el-async-dialog/style/deps.d.ts +0 -0
- package/dist/vro-el-async-dialog/style/deps.js +1 -0
- package/dist/vro-el-async-dialog/style/index.d.ts +0 -0
- package/dist/vro-el-async-dialog/style/index.js +2 -0
- package/dist/vro-el-async-dialog/types.d.ts +12 -0
- package/dist/vro-el-async-dialog/types.js +1 -0
- package/dist/vro-el-async-dialog/vro-el-async-dialog.vue.d.ts +28 -0
- package/dist/vro-el-async-dialog/vro-el-async-dialog.vue.js +58 -0
- package/dist/vro-el-async-dialog/vro-el-async-dialog.vue2.js +4 -0
- package/dist/vro-el-image/index.d.ts +3 -3
- package/dist/vro-el-image/utils.d.ts +1 -1
- package/dist/vro-el-image/vro-el-image.vue.d.ts +1 -1
- package/dist/vro-el-schema-form/defineVroElSchemaForm.d.ts +2 -3
- package/dist/vro-el-schema-form/types.d.ts +3 -0
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +2 -5
- package/dist/vro-el-schema-form-dialog/function-call.js +2 -2
- package/dist/vro-el-schema-form-dialog/index.d.ts +2 -1
- package/dist/vro-el-schema-form-dialog/index.js +13 -9
- package/dist/vro-el-schema-form-dialog/useVroElSchemaFormDialog.d.ts +12 -13
- package/dist/vro-el-schema-form-dialog/useVroElSchemaFormDialog.js +27 -15
- package/dist/vro-el-schema-form-dialog/utils.d.ts +2 -0
- package/dist/vro-el-schema-form-dialog/utils.js +6 -0
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +2 -2
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +25 -24
- package/dist/vro-el-schema-form-drawer/function-call.js +2 -2
- package/dist/vro-el-schema-form-drawer/index.d.ts +1 -1
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +2 -2
- package/dist/vro-el-select/index.d.ts +1 -1
- package/dist/vro-el-select/vro-el-select.vue.d.ts +1 -1
- package/dist/vro-el-with-config/index.d.ts +58 -11
- package/dist/vro-el-with-config/types.d.ts +7 -0
- package/dist/vro-el-with-config/types.js +8 -1
- package/dist/vro-el-with-config/vro-el-with-config.vue.d.ts +28 -2
- package/dist/vro-el-with-config/vro-el-with-config.vue.js +40 -19
- package/package.json +1 -1
|
@@ -1,33 +1,54 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElConfigProvider as
|
|
3
|
-
import { VroElConfigProvider as
|
|
4
|
-
import { vroElWithConfigProps as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as h, useAttrs as P, ref as _, createBlock as l, openBlock as u, unref as m, normalizeProps as n, guardReactiveProps as s, withCtx as i, createVNode as w, renderSlot as c, resolveDynamicComponent as y, mergeProps as k, createSlots as E, renderList as V } from "vue";
|
|
2
|
+
import { ElConfigProvider as $ } from "element-plus";
|
|
3
|
+
import { VroElConfigProvider as A } from "../vro-el-config-provider/index.js";
|
|
4
|
+
import { vroElWithConfigProps as B } from "./types.js";
|
|
5
|
+
const L = /* @__PURE__ */ h({
|
|
6
6
|
name: "VroElWithConfig",
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "vro-el-with-config",
|
|
9
|
-
props:
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
|
|
9
|
+
props: B,
|
|
10
|
+
setup(g, { expose: d }) {
|
|
11
|
+
const f = g, C = P(), t = _(), a = () => ({
|
|
12
|
+
...f.props,
|
|
13
|
+
...C
|
|
14
|
+
});
|
|
15
|
+
return d(
|
|
13
16
|
new Proxy(
|
|
14
17
|
{},
|
|
15
18
|
{
|
|
16
|
-
get(
|
|
17
|
-
|
|
19
|
+
get(e, o) {
|
|
20
|
+
const r = t.value;
|
|
21
|
+
if (r)
|
|
22
|
+
return o === "show" && typeof r.show == "function" ? () => r.show(a()) : r[o];
|
|
18
23
|
},
|
|
19
|
-
has(
|
|
20
|
-
return
|
|
24
|
+
has(e, o) {
|
|
25
|
+
return t.value ? o in t.value : !1;
|
|
21
26
|
}
|
|
22
27
|
}
|
|
23
28
|
)
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
), (e, o) => (u(), l(m($), n(s(e.elConfigProps)), {
|
|
30
|
+
default: i(() => [
|
|
31
|
+
w(m(A), n(s(e.vroConfigProps)), {
|
|
32
|
+
default: i(() => [
|
|
33
|
+
f.is ? (u(), l(y(e.is), k({ key: 0 }, a(), {
|
|
34
|
+
ref_key: "refComponent",
|
|
35
|
+
ref: t
|
|
36
|
+
}), E({ _: 2 }, [
|
|
37
|
+
V(e.$slots, (r, p) => ({
|
|
38
|
+
name: p,
|
|
39
|
+
fn: i((v) => [
|
|
40
|
+
c(e.$slots, p, n(s(v ?? {})))
|
|
41
|
+
])
|
|
42
|
+
}))
|
|
43
|
+
]), 1040)) : c(e.$slots, "default", { key: 1 })
|
|
44
|
+
]),
|
|
45
|
+
_: 3
|
|
46
|
+
}, 16)
|
|
47
|
+
]),
|
|
48
|
+
_: 3
|
|
49
|
+
}, 16));
|
|
29
50
|
}
|
|
30
51
|
});
|
|
31
52
|
export {
|
|
32
|
-
|
|
53
|
+
L as default
|
|
33
54
|
};
|