asiaint-lowcode 3.0.45 → 3.0.47
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/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +71 -71
- package/dist/index.d.ts +1 -0
- package/dist/lazy/{Card-BvgV3jM1.js → Card-CF_NgmNp.js} +1 -1
- package/dist/lazy/{Cascader-vTNuumPT.js → Cascader-DaxKgxfl.js} +1 -1
- package/dist/lazy/{Checkbox-Bd6EVHtl.js → Checkbox-B37Nh5li.js} +2 -2
- package/dist/lazy/{Collapse-DraUyP6m.js → Collapse-DMs8lxCn.js} +1 -1
- package/dist/lazy/{Component-Dll5V6eA.js → Component-CL4y4U4J.js} +1 -1
- package/dist/lazy/{Component-B6aGQ7Ll.js → Component-DIhsQv7d.js} +1 -1
- package/dist/lazy/{Component-uzPZxW_N.js → Component-DZfUPDV9.js} +1 -1
- package/dist/lazy/{Component-CHLUXvQe.js → Component-D_8i0kAX.js} +1 -1
- package/dist/lazy/Component-DsPgKtl3.js +119 -0
- package/dist/lazy/{Component-v_pTFvpZ.js → Component-Owfajd_f.js} +1 -1
- package/dist/lazy/{CurdCard-kZjHT3ce.js → CurdCard-NaCUwFiz.js} +29 -28
- package/dist/lazy/{Custom-1fWoV3ZM.js → Custom-DXaaDA8o.js} +1 -1
- package/dist/lazy/{FormList-c3uxvNpY.js → FormList-DN5sXMbg.js} +1 -1
- package/dist/lazy/{Grid-COHA29mT.js → Grid-CiikWD1Y.js} +1 -1
- package/dist/lazy/{Inline-B-BCze2o.js → Inline-BvP2kYB1.js} +1 -1
- package/dist/lazy/{JsonEdit--W9hpmes.js → JsonEdit-DWPQM6yX.js} +1 -1
- package/dist/lazy/{ObjGroup-6LGnx3nX.js → ObjGroup-Dfj9Fvjw.js} +1 -1
- package/dist/lazy/{OfferDetails-6cDgYZPZ.js → OfferDetails-8BXZenOQ.js} +1 -1
- package/dist/lazy/{Radio-CgJ7UIS4.js → Radio-tsTf7eY8.js} +2 -2
- package/dist/lazy/{SearchSelect-CXMSWzPP.js → SearchSelect-B6M9BgBX.js} +2 -2
- package/dist/lazy/{Select-tekMgJN6.js → Select-C8bwz8Vr.js} +2 -2
- package/dist/lazy/{Table-DoNFgkvW.js → Table-CGfH72EA.js} +3 -2
- package/dist/lazy/{Tabs-CMHVXVz0.js → Tabs-DMBiIdgv.js} +1 -1
- package/dist/lazy/{Wrapper-CJ9RTpWk.js → Wrapper-QquqWZfB.js} +1 -1
- package/dist/lazy/{index-DphcbaQM.js → index-Dbe9PR9M.js} +1681 -1651
- package/dist/lazy/{useSelect-BI1lS8AF.js → useSelect-6ZdkgSmW.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Component-BKQ7on7p.js +0 -120
package/package.json
CHANGED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { defineComponent as A, inject as v, ref as N, watch as L, resolveComponent as f, openBlock as s, createBlock as m, mergeProps as $, withCtx as h, createElementVNode as l, toDisplayString as B, createElementBlock as k, createCommentVNode as _, Fragment as K, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
|
|
2
|
-
import { f as F, I as j, b as D } from "./index-DphcbaQM.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__ */ A({
|
|
8
|
-
__name: "Component",
|
|
9
|
-
props: {
|
|
10
|
-
onNodeClick: {},
|
|
11
|
-
onLoad: {},
|
|
12
|
-
btns: {},
|
|
13
|
-
data: {},
|
|
14
|
-
props: {},
|
|
15
|
-
nodeKey: {}
|
|
16
|
-
},
|
|
17
|
-
setup(g) {
|
|
18
|
-
const o = g, d = v("ruleModule", void 0), i = v("pageMethodMap", {}), p = N(), M = (e, n) => {
|
|
19
|
-
p.value = e[o.nodeKey];
|
|
20
|
-
}, b = (e, n, t) => {
|
|
21
|
-
if (d)
|
|
22
|
-
try {
|
|
23
|
-
d[e](i, { node: n, data: t });
|
|
24
|
-
} catch (a) {
|
|
25
|
-
console.error(a);
|
|
26
|
-
}
|
|
27
|
-
}, w = (e, n) => {
|
|
28
|
-
if (o.onNodeClick && d)
|
|
29
|
-
try {
|
|
30
|
-
d[o.onNodeClick](i, { node: e, data: n });
|
|
31
|
-
} catch (t) {
|
|
32
|
-
console.error(t);
|
|
33
|
-
}
|
|
34
|
-
}, x = (e, n, t) => {
|
|
35
|
-
if (o.onLoad && d)
|
|
36
|
-
try {
|
|
37
|
-
d[o.onLoad](i, { node: e, resolve: n, reject: t });
|
|
38
|
-
} catch (a) {
|
|
39
|
-
console.error(a);
|
|
40
|
-
}
|
|
41
|
-
}, C = N([]);
|
|
42
|
-
return L(
|
|
43
|
-
//默认展开前两级节点
|
|
44
|
-
() => o.data,
|
|
45
|
-
() => {
|
|
46
|
-
var a;
|
|
47
|
-
if (!o.data || !Array.isArray(o.data))
|
|
48
|
-
return;
|
|
49
|
-
const e = o.data[0], n = [e[o.nodeKey]], t = ((a = o.props) == null ? void 0 : a.children) || "childrenNode";
|
|
50
|
-
if (Array.isArray(e[t]))
|
|
51
|
-
for (const c of e[t])
|
|
52
|
-
c[t] && n.push(c[o.nodeKey]);
|
|
53
|
-
C.value = n;
|
|
54
|
-
}
|
|
55
|
-
), (e, n) => {
|
|
56
|
-
const t = f("el-tooltip"), a = f("el-button"), c = f("el-tree");
|
|
57
|
-
return s(), m(c, $(e.$attrs, {
|
|
58
|
-
onNodeClick: w,
|
|
59
|
-
load: x,
|
|
60
|
-
ref: "treeRef",
|
|
61
|
-
class: "crm-tree",
|
|
62
|
-
indent: 32,
|
|
63
|
-
"current-node-key": p.value,
|
|
64
|
-
onCurrentChange: M,
|
|
65
|
-
"node-key": e.nodeKey,
|
|
66
|
-
props: o.props,
|
|
67
|
-
data: e.data,
|
|
68
|
-
"default-expanded-keys": C.value
|
|
69
|
-
}), {
|
|
70
|
-
default: h(({ node: u, data: y }) => [
|
|
71
|
-
l("div", R, [
|
|
72
|
-
l("div", S, [
|
|
73
|
-
l("span", q, B(u.label), 1),
|
|
74
|
-
y[e.nodeKey] === p.value ? (s(), k("div", z, "Present")) : _("", !0)
|
|
75
|
-
]),
|
|
76
|
-
l("div", null, [
|
|
77
|
-
(s(!0), k(K, null, E(e.btns, (r) => (s(), k(K, {
|
|
78
|
-
key: r.key
|
|
79
|
-
}, [
|
|
80
|
-
I(F)(r.hidden, { $node: u, $data: y }) ? _("", !0) : (s(), m(a, {
|
|
81
|
-
key: 0,
|
|
82
|
-
link: "",
|
|
83
|
-
onClick: P((H) => b(r.onClick, u, y), ["stop"]),
|
|
84
|
-
disabled: r.disabled,
|
|
85
|
-
type: r.type
|
|
86
|
-
}, {
|
|
87
|
-
default: h(() => [
|
|
88
|
-
V(t, {
|
|
89
|
-
class: "box-item",
|
|
90
|
-
effect: "dark",
|
|
91
|
-
content: r.text,
|
|
92
|
-
placement: "top",
|
|
93
|
-
"popper-class": "low-tsp",
|
|
94
|
-
"show-after": 300
|
|
95
|
-
}, {
|
|
96
|
-
default: h(() => [
|
|
97
|
-
r.icon ? (s(), m(j, {
|
|
98
|
-
key: 0,
|
|
99
|
-
name: r.icon.name,
|
|
100
|
-
color: r.icon.color,
|
|
101
|
-
class: "btn-icon"
|
|
102
|
-
}, null, 8, ["name", "color"])) : _("", !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-e0b7bdf7"]]);
|
|
118
|
-
export {
|
|
119
|
-
T as default
|
|
120
|
-
};
|