asiaint-lowcode 3.0.75 → 3.1.1
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 +3 -3
- package/dist/asiaint-lowcode.umd.cjs +141 -141
- package/dist/index.d.ts +146 -26
- package/dist/lazy/{Card-BL132uF0.js → Card-BotexRow.js} +2 -2
- package/dist/lazy/{Cascader-BNajnGXt.js → Cascader-DlPFMm4q.js} +2 -1
- package/dist/lazy/{Checkbox-CB78q85K.js → Checkbox-B3ZlaMu-.js} +8 -7
- package/dist/lazy/{Collapse-BT3Z_TeL.js → Collapse-CvvDvzUe.js} +1 -1
- package/dist/lazy/{Component-DdZRdqp7.js → Component-1ifx_71s.js} +1 -1
- package/dist/lazy/{Component-OAYlB5bp.js → Component-BFthFsDN.js} +2 -2
- package/dist/lazy/{Component-Cwe8AZcy.js → Component-BMyo9RcE.js} +1 -1
- package/dist/lazy/{Component-CVbGsSj6.js → Component-C4EAi6pq.js} +4 -4
- package/dist/lazy/{Component-Dl3PXGm5.js → Component-CJLLkcKZ.js} +1 -1
- package/dist/lazy/{Component-BNOSHXwG.js → Component-k70ODABG.js} +2 -2
- package/dist/lazy/{CurdCard-BrBulKvO.js → CurdCard-Dxlf9fsv.js} +50 -44
- package/dist/lazy/{Custom-BliwSKbp.js → Custom-DjAqb9Wc.js} +7 -7
- package/dist/lazy/{DragList-Buw-1bQc.js → DragList-BaXe5qJv.js} +35 -34
- package/dist/lazy/{FormList-DTdAAtrD.js → FormList-k6c-UNG8.js} +1 -1
- package/dist/lazy/{Grid-DUAIHsOo.js → Grid-OhcM4HDS.js} +1 -1
- package/dist/lazy/{Inline-BkAIXUU0.js → Inline-Cwpbm9wv.js} +3 -3
- package/dist/lazy/{JsonEdit-Bx4jK-K8.js → JsonEdit-CU-J4fdd.js} +3 -3
- package/dist/lazy/{LogList-DHk7eKeC.js → LogList-C6LMjMRn.js} +7 -7
- package/dist/lazy/{ObjGroup-DXJerzS2.js → ObjGroup-CgsFd4Y8.js} +1 -1
- package/dist/lazy/{OfferDetails-Fs5y40J0.js → OfferDetails-DIbdP0vj.js} +16 -14
- package/dist/lazy/{Progress-pRaKkFkw.js → Progress-VUY-tDJv.js} +5 -5
- package/dist/lazy/{Radio-C9Z-5npS.js → Radio-Bu1hE1Bk.js} +8 -7
- package/dist/lazy/{SearchSelect-BU-_DOLr.js → SearchSelect-D9K6sG_e.js} +16 -15
- package/dist/lazy/{Select-DJ6Ky5mO.js → Select-79Jg1Epf.js} +10 -9
- package/dist/lazy/Table-jTmqdEAL.js +439 -0
- package/dist/lazy/{Tabs-meM_0XCE.js → Tabs-NufO7Fxk.js} +1 -1
- package/dist/lazy/Wrapper-DMqVpwXY.js +87 -0
- package/dist/lazy/{index-2Lph8ou3.js → index-ByB0wyc-.js} +9668 -9397
- package/dist/lazy/useSelect-B3ugkvd3.js +77 -0
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Table-BlBWSnrv.js +0 -351
- package/dist/lazy/Wrapper-DlG2aZRe.js +0 -36
- package/dist/lazy/useSelect-CmUZu1rN.js +0 -76
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent as f, ref as i, resolveComponent as C, openBlock as r, createElementBlock as t, normalizeStyle as c, createVNode as l, withCtx as _, withDirectives as g, createElementVNode as S, normalizeClass as d, unref as x, createCommentVNode as u, vShow as B } from "vue";
|
|
2
|
+
import { j as b, a as k, I as y, b as E } from "./index-ByB0wyc-.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const D = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "dropdown-icon-wrapper"
|
|
7
|
+
}, j = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "expansion-icon-wrapper"
|
|
10
|
+
}, A = /* @__PURE__ */ f({
|
|
11
|
+
__name: "Wrapper",
|
|
12
|
+
props: {
|
|
13
|
+
children: {},
|
|
14
|
+
style: { type: [Boolean, null, String, Object, Array] },
|
|
15
|
+
innerStyle: { type: [Boolean, null, String, Object, Array] },
|
|
16
|
+
type: {},
|
|
17
|
+
collapse: { type: Boolean },
|
|
18
|
+
dropdown: { type: Boolean },
|
|
19
|
+
expansion: { type: Boolean },
|
|
20
|
+
onDropdownChange: {},
|
|
21
|
+
onExpand: {}
|
|
22
|
+
},
|
|
23
|
+
setup(m) {
|
|
24
|
+
const o = m, { ruleModule: s, pageMethodMap: p } = b(), n = i(!1), h = () => {
|
|
25
|
+
if (o.onDropdownChange) {
|
|
26
|
+
n.value = !n.value;
|
|
27
|
+
try {
|
|
28
|
+
s[o.onDropdownChange](p, n.value);
|
|
29
|
+
} catch (e) {
|
|
30
|
+
console.error(e);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, a = i(!1), v = () => {
|
|
34
|
+
if (o.onExpand) {
|
|
35
|
+
a.value = !a.value;
|
|
36
|
+
try {
|
|
37
|
+
s[o.onExpand](p, a.value);
|
|
38
|
+
} catch (e) {
|
|
39
|
+
console.error(e);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
return (e, I) => {
|
|
44
|
+
const w = C("el-collapse-transition");
|
|
45
|
+
return r(), t("div", {
|
|
46
|
+
style: c(e.style)
|
|
47
|
+
}, [
|
|
48
|
+
l(w, null, {
|
|
49
|
+
default: _(() => [
|
|
50
|
+
g(S("div", {
|
|
51
|
+
class: d({
|
|
52
|
+
normal: e.type === "normal",
|
|
53
|
+
onlytable: e.type === "onlytable",
|
|
54
|
+
dropdownChildren: e.type === "dropdown-children",
|
|
55
|
+
expansionWrapper: e.expansion
|
|
56
|
+
}),
|
|
57
|
+
style: c(e.innerStyle)
|
|
58
|
+
}, [
|
|
59
|
+
l(x(k), { list: e.children }, null, 8, ["list"]),
|
|
60
|
+
e.dropdown ? (r(), t("div", D, [
|
|
61
|
+
l(y, {
|
|
62
|
+
name: "icon-xialaliebiao",
|
|
63
|
+
color: "#666666",
|
|
64
|
+
onClick: h,
|
|
65
|
+
class: d({ reversed: n.value })
|
|
66
|
+
}, null, 8, ["class"])
|
|
67
|
+
])) : u("", !0),
|
|
68
|
+
e.expansion ? (r(), t("div", j, [
|
|
69
|
+
l(y, {
|
|
70
|
+
name: "icon-shuangxiangjiantou",
|
|
71
|
+
color: a.value ? "#18AAF8" : "#666666",
|
|
72
|
+
onClick: v
|
|
73
|
+
}, null, 8, ["color"])
|
|
74
|
+
])) : u("", !0)
|
|
75
|
+
], 6), [
|
|
76
|
+
[B, !e.collapse]
|
|
77
|
+
])
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
})
|
|
81
|
+
], 4);
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}), W = /* @__PURE__ */ E(A, [["__scopeId", "data-v-e7c4ee60"]]);
|
|
85
|
+
export {
|
|
86
|
+
W as default
|
|
87
|
+
};
|