asiaint-lowcode 3.1.56 → 3.1.58
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/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +190 -188
- package/dist/index.d.ts +383 -7
- package/dist/lazy/{Card-BlakHGF_.js → Card-D0bbXvkE.js} +2 -2
- package/dist/lazy/{Cascader-BOwEQkqr.js → Cascader-CVF7Mugg.js} +1 -1
- package/dist/lazy/{Checkbox-1qYzxvx3.js → Checkbox-_T8IhBqC.js} +2 -2
- package/dist/lazy/{Collapse-DFhQjGTg.js → Collapse-Ds1b3YDU.js} +1 -1
- package/dist/lazy/{Component-D6OIJgBS.js → Component-B8bF5XT4.js} +1 -1
- package/dist/lazy/Component-C9plUbiY.js +143 -0
- package/dist/lazy/Component-CFM9XDEd.js +162 -0
- package/dist/lazy/{Component-DqTP-dqG.js → Component-CdoBzMc7.js} +2 -2
- package/dist/lazy/Component-D3ko2zV_.js +30 -0
- package/dist/lazy/{Component-uvnooS14.js → Component-DP42ZKK_.js} +2 -2
- package/dist/lazy/{Component-BOC_tZaw.js → Component-DomwdjSx.js} +1 -1
- package/dist/lazy/{CurdCard-7elTeYSM.js → CurdCard-BQRlQVr1.js} +21 -20
- package/dist/lazy/Custom-g38jchRO.js +26 -0
- package/dist/lazy/{DatePicker-vabWbXWk.js → DatePicker-CH9-SrZS.js} +22 -20
- package/dist/lazy/{DragList-ptXtINib.js → DragList-DrNbhRhP.js} +13 -13
- package/dist/lazy/{FilterSearch-DX7lyU5K.js → FilterSearch-FpJsKJ3o.js} +8 -8
- package/dist/lazy/FloatCurd-5xXw_Uuf.js +161 -0
- package/dist/lazy/{FormList-CQafRlf1.js → FormList-uX7IBTqh.js} +1 -1
- package/dist/lazy/{Grid-BHXnN5tG.js → Grid-ysr0Sucp.js} +1 -1
- package/dist/lazy/{InfiniteScroll-B9A8fTzl.js → InfiniteScroll-DZQrpuci.js} +4 -4
- package/dist/lazy/{Inline-CLeU2_yh.js → Inline-CbhYGfPg.js} +3 -3
- package/dist/lazy/{JsonEdit-CR8pc1r0.js → JsonEdit-CyMnmq3r.js} +3 -3
- package/dist/lazy/{LogList-C0n583jZ.js → LogList-uph8HlCd.js} +7 -7
- package/dist/lazy/{ObjGroup-CWyMW8ok.js → ObjGroup-N7KsOVel.js} +1 -1
- package/dist/lazy/{OfferDetails-Bk2fm7if.js → OfferDetails-CIul9KOu.js} +10 -8
- package/dist/lazy/{Pagination-BTgJMuH1.js → Pagination-DjW7ZS5F.js} +4 -4
- package/dist/lazy/{Progress-DbQWJ6ZF.js → Progress-CdesxNAo.js} +15 -15
- package/dist/lazy/{Radio-BFsZCzNl.js → Radio-_4avXRsG.js} +3 -3
- package/dist/lazy/{SearchSelect-CTNUhnXg.js → SearchSelect-smSaLg9O.js} +6 -6
- package/dist/lazy/{Select-CImoPfB1.js → Select-CSAee2NV.js} +2 -2
- package/dist/lazy/Table-DwCCVOES.js +568 -0
- package/dist/lazy/Tabs-CwqrqWqQ.js +127 -0
- package/dist/lazy/TextArea-Cvka_TgI.js +34 -0
- package/dist/lazy/{Wrapper-B4mdrBTT.js → Wrapper-Bu6nqkrG.js} +2 -2
- package/dist/lazy/{index-BMlHLc-c.js → index-BOGnFXnC.js} +18345 -18107
- package/dist/lazy/{useSelect-DWF-2iPr.js → useSelect-koHM4kMI.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Component-BybPseK_.js +0 -153
- package/dist/lazy/Component-T0MaVDE3.js +0 -13
- package/dist/lazy/Component-TyczCMR3.js +0 -120
- package/dist/lazy/Custom-CFg-E0l1.js +0 -26
- package/dist/lazy/Table-CQKjjRQt.js +0 -527
- package/dist/lazy/Tabs-Qh5RoptW.js +0 -72
- package/dist/lazy/TextArea-CHd9bsw8.js +0 -34
package/global.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare module 'vue' {
|
|
2
|
-
export interface GlobalComponents {
|
|
3
|
-
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
-
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
-
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
-
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {}
|
|
1
|
+
declare module 'vue' {
|
|
2
|
+
export interface GlobalComponents {
|
|
3
|
+
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
+
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
+
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
+
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {}
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "asiaint-lowcode",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "vite build",
|
|
8
|
-
"v": "npm version patch",
|
|
9
|
-
"release": "vite build && npm publish"
|
|
10
|
-
},
|
|
11
|
-
"peerDependencies": {
|
|
12
|
-
"vue": "^3.2.0",
|
|
13
|
-
"element-plus": "^2.6.0"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"element-plus": "^2.8.3",
|
|
17
|
-
"vue": "^3.5.8"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"vite-plugin-dts": "^3.7.3",
|
|
21
|
-
"vite-plugin-libcss": "^1.1.1"
|
|
22
|
-
},
|
|
23
|
-
"files": [
|
|
24
|
-
"dist",
|
|
25
|
-
"global.d.ts"
|
|
26
|
-
],
|
|
27
|
-
"main": "./dist/asiaint-lowcode.js",
|
|
28
|
-
"module": "./dist/asiaint-lowcode.js",
|
|
29
|
-
"types": "dist/index.d.ts",
|
|
30
|
-
"keywords": [
|
|
31
|
-
"component",
|
|
32
|
-
"vue",
|
|
33
|
-
"form",
|
|
34
|
-
"element-ui"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "asiaint-lowcode",
|
|
3
|
+
"version": "3.1.58",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "vite build",
|
|
8
|
+
"v": "npm version patch",
|
|
9
|
+
"release": "vite build && npm publish"
|
|
10
|
+
},
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"vue": "^3.2.0",
|
|
13
|
+
"element-plus": "^2.6.0"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"element-plus": "^2.8.3",
|
|
17
|
+
"vue": "^3.5.8"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"vite-plugin-dts": "^3.7.3",
|
|
21
|
+
"vite-plugin-libcss": "^1.1.1"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"global.d.ts"
|
|
26
|
+
],
|
|
27
|
+
"main": "./dist/asiaint-lowcode.js",
|
|
28
|
+
"module": "./dist/asiaint-lowcode.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"component",
|
|
32
|
+
"vue",
|
|
33
|
+
"form",
|
|
34
|
+
"element-ui"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, mergeModels as E, useModel as I, ref as L, resolveComponent as C, openBlock as a, createElementBlock as i, Fragment as d, createVNode as u, normalizeClass as N, createSlots as O, withCtx as c, createElementVNode as s, createTextVNode as b, createBlock as k, toDisplayString as p, createCommentVNode as f, unref as R, renderList as z } from "vue";
|
|
2
|
-
import { genFileId as S, ElMessage as D, ElMessageBox as j } from "element-plus";
|
|
3
|
-
import { c as P, I as h, a as q, _ as x } from "./index-BMlHLc-c.js";
|
|
4
|
-
const A = { class: "el-upload__tip" }, G = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "upload-bottom-part"
|
|
7
|
-
}, H = { class: "file-list-wrapper" }, J = { class: "file-item-name" }, K = /* @__PURE__ */ $({
|
|
8
|
-
__name: "Component",
|
|
9
|
-
props: /* @__PURE__ */ E({
|
|
10
|
-
action: {},
|
|
11
|
-
multiple: { type: Boolean },
|
|
12
|
-
btnText: { default: "点击上传" },
|
|
13
|
-
tip: {},
|
|
14
|
-
limit: {},
|
|
15
|
-
drag: { type: Boolean },
|
|
16
|
-
name: { default: "file" },
|
|
17
|
-
listType: { default: "text" },
|
|
18
|
-
attachmentTitle: {},
|
|
19
|
-
showFileList: { type: Boolean, default: !0 },
|
|
20
|
-
autoUpload: { type: Boolean },
|
|
21
|
-
beforeUpload: {},
|
|
22
|
-
isOnlyOne: { type: Boolean, default: !1 },
|
|
23
|
-
onChange: {}
|
|
24
|
-
}, {
|
|
25
|
-
modelValue: {
|
|
26
|
-
default: () => []
|
|
27
|
-
},
|
|
28
|
-
modelModifiers: {}
|
|
29
|
-
}),
|
|
30
|
-
emits: ["update:modelValue"],
|
|
31
|
-
setup(g) {
|
|
32
|
-
const o = g, n = I(g, "modelValue"), { ruleModule: y, pageMethodMap: v } = P(), T = (e) => {
|
|
33
|
-
if (o.beforeUpload)
|
|
34
|
-
try {
|
|
35
|
-
return y[o.beforeUpload](v, e);
|
|
36
|
-
} catch (l) {
|
|
37
|
-
console.error(l);
|
|
38
|
-
}
|
|
39
|
-
return !0;
|
|
40
|
-
}, B = (e, l) => {
|
|
41
|
-
if (o.onChange)
|
|
42
|
-
try {
|
|
43
|
-
y[o.onChange](v, e, l);
|
|
44
|
-
} catch (t) {
|
|
45
|
-
console.error(t);
|
|
46
|
-
}
|
|
47
|
-
}, _ = (e) => {
|
|
48
|
-
const l = n.value.findIndex((t) => t.uid === e.uid);
|
|
49
|
-
l !== -1 && n.value.splice(l, 1);
|
|
50
|
-
}, w = (e, l) => {
|
|
51
|
-
console.log(e, l);
|
|
52
|
-
}, M = (e) => {
|
|
53
|
-
console.log(e);
|
|
54
|
-
}, m = L(), U = (e, l) => {
|
|
55
|
-
if (o.isOnlyOne && o.limit === 1) {
|
|
56
|
-
m.value.clearFiles();
|
|
57
|
-
const t = e[0];
|
|
58
|
-
t.uid = S(), m.value.handleStart(t);
|
|
59
|
-
} else
|
|
60
|
-
D.warning(
|
|
61
|
-
`The limit is ${o.limit}, you selected ${e.length} files this time, add up to ${e.length + l.length} totally`
|
|
62
|
-
);
|
|
63
|
-
}, F = (e, l) => o.beforeUpload ? !1 : j.confirm(`Cancel the transfer of ${e.name} ?`).then(
|
|
64
|
-
() => !0,
|
|
65
|
-
() => !1
|
|
66
|
-
);
|
|
67
|
-
return (e, l) => {
|
|
68
|
-
const t = C("el-button"), V = C("el-upload");
|
|
69
|
-
return a(), i(d, null, [
|
|
70
|
-
u(V, {
|
|
71
|
-
"file-list": n.value,
|
|
72
|
-
"onUpdate:fileList": l[0] || (l[0] = (r) => n.value = r),
|
|
73
|
-
action: e.action,
|
|
74
|
-
multiple: e.multiple,
|
|
75
|
-
limit: e.limit,
|
|
76
|
-
drag: e.drag,
|
|
77
|
-
name: e.name,
|
|
78
|
-
listType: e.listType,
|
|
79
|
-
"show-file-list": e.showFileList,
|
|
80
|
-
"on-preview": M,
|
|
81
|
-
"on-remove": w,
|
|
82
|
-
"before-remove": F,
|
|
83
|
-
"before-upload": T,
|
|
84
|
-
"on-change": B,
|
|
85
|
-
"on-exceed": U,
|
|
86
|
-
class: N({ dragUpload: e.drag }),
|
|
87
|
-
ref_key: "upload",
|
|
88
|
-
ref: m
|
|
89
|
-
}, O({
|
|
90
|
-
default: c(() => [
|
|
91
|
-
e.listType === "text" ? (a(), i(d, { key: 0 }, [
|
|
92
|
-
e.drag ? (a(), i(d, { key: 0 }, [
|
|
93
|
-
u(h, {
|
|
94
|
-
name: "icon-shangchuan",
|
|
95
|
-
color: "var(--el-color-primary)"
|
|
96
|
-
}),
|
|
97
|
-
l[1] || (l[1] = s("div", null, [
|
|
98
|
-
b("Drop file here or "),
|
|
99
|
-
s("em", null, "click to upload")
|
|
100
|
-
], -1))
|
|
101
|
-
], 64)) : (a(), k(t, {
|
|
102
|
-
key: 1,
|
|
103
|
-
type: "primary"
|
|
104
|
-
}, {
|
|
105
|
-
default: c(() => [
|
|
106
|
-
b(p(e.btnText), 1)
|
|
107
|
-
]),
|
|
108
|
-
_: 1
|
|
109
|
-
}))
|
|
110
|
-
], 64)) : f("", !0),
|
|
111
|
-
e.listType === "picture-card" ? (a(), k(R(q), {
|
|
112
|
-
key: 1,
|
|
113
|
-
name: "add"
|
|
114
|
-
})) : f("", !0)
|
|
115
|
-
]),
|
|
116
|
-
_: 2
|
|
117
|
-
}, [
|
|
118
|
-
e.tip ? {
|
|
119
|
-
name: "tip",
|
|
120
|
-
fn: c(() => [
|
|
121
|
-
s("div", A, p(e.tip), 1)
|
|
122
|
-
]),
|
|
123
|
-
key: "0"
|
|
124
|
-
} : void 0
|
|
125
|
-
]), 1032, ["file-list", "action", "multiple", "limit", "drag", "name", "listType", "show-file-list", "class"]),
|
|
126
|
-
e.drag && n.value.length > 0 ? (a(), i("div", G, [
|
|
127
|
-
s("div", null, p(e.attachmentTitle), 1),
|
|
128
|
-
s("div", H, [
|
|
129
|
-
(a(!0), i(d, null, z(n.value, (r) => (a(), i("div", {
|
|
130
|
-
class: "file-item",
|
|
131
|
-
key: r.uid
|
|
132
|
-
}, [
|
|
133
|
-
u(h, {
|
|
134
|
-
name: "icon-fujiantubiao1",
|
|
135
|
-
size: "ultra-large"
|
|
136
|
-
}),
|
|
137
|
-
s("div", J, p(r.name), 1),
|
|
138
|
-
u(h, {
|
|
139
|
-
name: "icon-guanbi",
|
|
140
|
-
class: "file-item-close",
|
|
141
|
-
size: "x-small",
|
|
142
|
-
onClick: (Q) => _(r)
|
|
143
|
-
}, null, 8, ["onClick"])
|
|
144
|
-
]))), 128))
|
|
145
|
-
])
|
|
146
|
-
])) : f("", !0)
|
|
147
|
-
], 64);
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
}), Z = /* @__PURE__ */ x(K, [["__scopeId", "data-v-6a0fa092"]]);
|
|
151
|
-
export {
|
|
152
|
-
Z as default
|
|
153
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as t, createElementBlock as o, mergeProps as r } from "vue";
|
|
2
|
-
const p = ["innerHTML"], a = /* @__PURE__ */ n({
|
|
3
|
-
__name: "Component",
|
|
4
|
-
props: {
|
|
5
|
-
text: {}
|
|
6
|
-
},
|
|
7
|
-
setup(s) {
|
|
8
|
-
return (e, m) => (t(), o("div", r(e.$attrs, { innerHTML: e.text }), null, 16, p));
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
a as default
|
|
13
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { defineComponent as b, inject as h, ref as N, watch as w, resolveComponent as k, openBlock as a, createBlock as m, mergeProps as A, withCtx as y, createElementVNode as l, toDisplayString as B, createElementBlock as _, createCommentVNode as f, Fragment as v, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
|
|
2
|
-
import { h as F, I as j, _ as D } from "./index-BMlHLc-c.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = { class: "tree-node-label" }, z = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "tree-node-present"
|
|
7
|
-
}, G = /* @__PURE__ */ b({
|
|
8
|
-
__name: "Component",
|
|
9
|
-
props: {
|
|
10
|
-
onNodeClick: {},
|
|
11
|
-
onLoad: {},
|
|
12
|
-
btns: {},
|
|
13
|
-
data: {},
|
|
14
|
-
props: {},
|
|
15
|
-
nodeKey: {}
|
|
16
|
-
},
|
|
17
|
-
setup(g) {
|
|
18
|
-
const e = g, d = h("ruleModule", void 0), s = h("pageMethodMap", {}), i = N(), K = (o, t) => {
|
|
19
|
-
i.value = o[e.nodeKey];
|
|
20
|
-
}, L = (o, t, r) => {
|
|
21
|
-
if (o && d)
|
|
22
|
-
try {
|
|
23
|
-
d[o](s, { node: t, data: r });
|
|
24
|
-
} catch (c) {
|
|
25
|
-
console.error(c + `
|
|
26
|
-
onNodeClick: ${e.onNodeClick}`);
|
|
27
|
-
}
|
|
28
|
-
}, M = (o, t) => {
|
|
29
|
-
if (e.onNodeClick && d)
|
|
30
|
-
try {
|
|
31
|
-
d[e.onNodeClick](s, { node: o, data: t });
|
|
32
|
-
} catch (r) {
|
|
33
|
-
console.error(r + `
|
|
34
|
-
onNodeClick: ${e.onNodeClick}`);
|
|
35
|
-
}
|
|
36
|
-
}, $ = (o, t, r) => {
|
|
37
|
-
if (e.onLoad && d)
|
|
38
|
-
try {
|
|
39
|
-
d[e.onLoad](s, { node: o, resolve: t, reject: r });
|
|
40
|
-
} catch (c) {
|
|
41
|
-
console.error(c + `
|
|
42
|
-
onLoad: ${e.onLoad}`);
|
|
43
|
-
}
|
|
44
|
-
}, C = N([]);
|
|
45
|
-
return w(
|
|
46
|
-
//默认展开根节点
|
|
47
|
-
() => e.data,
|
|
48
|
-
() => {
|
|
49
|
-
if (!e.data || !Array.isArray(e.data) || e.data.length === 0)
|
|
50
|
-
return;
|
|
51
|
-
const t = [e.data[0][e.nodeKey]];
|
|
52
|
-
C.value = t;
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
immediate: !0
|
|
56
|
-
}
|
|
57
|
-
), (o, t) => {
|
|
58
|
-
const r = k("el-tooltip"), c = k("el-button"), x = k("el-tree");
|
|
59
|
-
return a(), m(x, A(o.$attrs, {
|
|
60
|
-
onNodeClick: M,
|
|
61
|
-
load: $,
|
|
62
|
-
ref: "treeRef",
|
|
63
|
-
class: "crm-tree",
|
|
64
|
-
indent: 32,
|
|
65
|
-
"current-node-key": i.value,
|
|
66
|
-
onCurrentChange: K,
|
|
67
|
-
"node-key": o.nodeKey,
|
|
68
|
-
props: e.props,
|
|
69
|
-
data: o.data,
|
|
70
|
-
"default-expanded-keys": C.value
|
|
71
|
-
}), {
|
|
72
|
-
default: y(({ node: p, data: u }) => [
|
|
73
|
-
l("div", R, [
|
|
74
|
-
l("div", S, [
|
|
75
|
-
l("span", q, B(p.label), 1),
|
|
76
|
-
u[o.nodeKey] === i.value ? (a(), _("div", z, "Present")) : f("", !0)
|
|
77
|
-
]),
|
|
78
|
-
l("div", null, [
|
|
79
|
-
(a(!0), _(v, null, E(o.btns, (n) => (a(), _(v, {
|
|
80
|
-
key: n.key
|
|
81
|
-
}, [
|
|
82
|
-
I(F)(n.hidden, { $node: p, $data: u }) ? f("", !0) : (a(), m(c, {
|
|
83
|
-
key: 0,
|
|
84
|
-
link: "",
|
|
85
|
-
onClick: P((H) => L(n.onClick || "", p, u), ["stop"]),
|
|
86
|
-
disabled: n.disabled,
|
|
87
|
-
type: n.type
|
|
88
|
-
}, {
|
|
89
|
-
default: y(() => [
|
|
90
|
-
V(r, {
|
|
91
|
-
class: "box-item",
|
|
92
|
-
effect: "dark",
|
|
93
|
-
content: n.text,
|
|
94
|
-
placement: "top"
|
|
95
|
-
}, {
|
|
96
|
-
default: y(() => [
|
|
97
|
-
n.icon ? (a(), m(j, {
|
|
98
|
-
key: 0,
|
|
99
|
-
name: n.icon.name,
|
|
100
|
-
color: n.icon.color,
|
|
101
|
-
class: "btn-icon"
|
|
102
|
-
}, null, 8, ["name", "color"])) : f("", !0)
|
|
103
|
-
]),
|
|
104
|
-
_: 2
|
|
105
|
-
}, 1032, ["content"])
|
|
106
|
-
]),
|
|
107
|
-
_: 2
|
|
108
|
-
}, 1032, ["onClick", "disabled", "type"]))
|
|
109
|
-
], 64))), 128))
|
|
110
|
-
])
|
|
111
|
-
])
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
}, 16, ["current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
}), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-6d8361b5"]]);
|
|
118
|
-
export {
|
|
119
|
-
T as default
|
|
120
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as d, resolveDynamicComponent as u, mergeProps as c } from "vue";
|
|
2
|
-
import { _ as i } from "./index-BMlHLc-c.js";
|
|
3
|
-
const _ = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "empty"
|
|
6
|
-
}, f = /* @__PURE__ */ n({
|
|
7
|
-
__name: "Custom",
|
|
8
|
-
props: /* @__PURE__ */ s({
|
|
9
|
-
componentName: {}
|
|
10
|
-
}, {
|
|
11
|
-
modelValue: {},
|
|
12
|
-
modelModifiers: {}
|
|
13
|
-
}),
|
|
14
|
-
emits: ["update:modelValue"],
|
|
15
|
-
setup(l) {
|
|
16
|
-
const o = p(l, "modelValue");
|
|
17
|
-
return (e, m) => e.componentName ? (t(), d(u(e.componentName), c({
|
|
18
|
-
key: 1,
|
|
19
|
-
modelValue: o.value,
|
|
20
|
-
"onUpdate:modelValue": m[0] || (m[0] = (a) => o.value = a)
|
|
21
|
-
}, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", _, "请输入全局注册得组件名"));
|
|
22
|
-
}
|
|
23
|
-
}), v = /* @__PURE__ */ i(f, [["__scopeId", "data-v-2250b7d1"]]);
|
|
24
|
-
export {
|
|
25
|
-
v as default
|
|
26
|
-
};
|