asiaint-lowcode 3.1.64 → 3.1.66
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 +168 -168
- package/dist/index.d.ts +5 -4
- package/dist/lazy/{Card-CS1onGuT.js → Card-DIqiWLav.js} +2 -2
- package/dist/lazy/{Cascader-BSkodoVr.js → Cascader-Djt4qKa-.js} +1 -1
- package/dist/lazy/{Checkbox-Bg3TiZeG.js → Checkbox-CgyrYL0o.js} +2 -2
- package/dist/lazy/{Collapse-C99u1fSo.js → Collapse-BodMMbdX.js} +1 -1
- package/dist/lazy/{Component-Dn2QadUS.js → Component-B-vgwLrf.js} +19 -19
- package/dist/lazy/{Component-BjdoZXWY.js → Component-CXf3Zsaj.js} +2 -2
- package/dist/lazy/{Component-CUvFVpdn.js → Component-CmLcfPxj.js} +2 -2
- package/dist/lazy/{Component-hspIDRKI.js → Component-Dx8J9S6O.js} +1 -1
- package/dist/lazy/{Component-Dj3OKr8m.js → Component-F_Rqy26D.js} +2 -2
- package/dist/lazy/{Component-B5S_n6Bo.js → Component-Tn-QCgTA.js} +1 -1
- package/dist/lazy/{CurdCard-BSnjGl__.js → CurdCard-Bwebjf-L.js} +9 -9
- package/dist/lazy/Custom-Cg7AQT80.js +26 -0
- package/dist/lazy/{DatePicker-DG5JvITR.js → DatePicker-DNyq1I8L.js} +1 -1
- package/dist/lazy/{DragList-34a398Od.js → DragList-Cr8aKyLj.js} +13 -13
- package/dist/lazy/{FilterSearch-Cu8r0LbI.js → FilterSearch-CzlYRqFn.js} +8 -8
- package/dist/lazy/{FloatCurd-xaAckazT.js → FloatCurd-CDuKtXDs.js} +9 -9
- package/dist/lazy/{FormList-oEFjzQVe.js → FormList-SXmMTMHy.js} +1 -1
- package/dist/lazy/{Grid-BMgpiQGO.js → Grid-BmWTvO9w.js} +1 -1
- package/dist/lazy/{InfiniteScroll-CPsy3Cby.js → InfiniteScroll-B4WLYcvu.js} +4 -4
- package/dist/lazy/{Inline-DZXUd0JM.js → Inline-DCAf7P_Z.js} +3 -3
- package/dist/lazy/{JsonEdit-BvMy1CQ8.js → JsonEdit-sL8Fcnnu.js} +3 -3
- package/dist/lazy/{LogList-0RAaBw_r.js → LogList-BMNPG5uS.js} +7 -7
- package/dist/lazy/{ObjGroup-DDC_HLTa.js → ObjGroup-DhNuL3CJ.js} +1 -1
- package/dist/lazy/{OfferDetails-CUdlypry.js → OfferDetails-DKOKo4ra.js} +2 -2
- package/dist/lazy/{Pagination-1sdzE7Il.js → Pagination-D-HVKOv0.js} +4 -4
- package/dist/lazy/{Progress-8i0i8Bvz.js → Progress-CKbPmhjm.js} +15 -15
- package/dist/lazy/{Radio-uq--MTf1.js → Radio-CGqaYj4m.js} +3 -3
- package/dist/lazy/{SearchSelect-bQxNNDjK.js → SearchSelect-pvL6L8gR.js} +6 -6
- package/dist/lazy/{Select-DmvWx1J2.js → Select-xExV0wPP.js} +2 -2
- package/dist/lazy/Table-53tr_vIc.js +619 -0
- package/dist/lazy/Tabs-DVQZiNCL.js +138 -0
- package/dist/lazy/{TextArea-DscU5eQI.js → TextArea-tvurhtMs.js} +2 -2
- package/dist/lazy/{Wrapper-BdkV8TcM.js → Wrapper-jsXJEh2B.js} +2 -2
- package/dist/lazy/{index-Dw4HmLSV.js → index-BUDQb8BO.js} +2820 -2809
- package/dist/lazy/{useSelect-BMsr6iEB.js → useSelect-CPWFl9Un.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Custom-C66m-v_0.js +0 -26
- package/dist/lazy/Table-BaT9L19U.js +0 -609
- package/dist/lazy/Tabs-BySiy9Kh.js +0 -127
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { defineComponent as V, ref as w, computed as I, watch as u, onMounted as B, resolveComponent as b, openBlock as t, createBlock as p, mergeProps as _, withCtx as i, createElementVNode as r, createElementBlock as l, Fragment as d, renderList as m, createVNode as y, createCommentVNode as c, toDisplayString as M, normalizeClass as E, unref as F } from "vue";
|
|
2
|
-
import { c as $, I as f, b as z, _ as A } from "./index-Dw4HmLSV.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const D = { class: "right-icon-wrapper" }, L = { class: "dynamic-icon-wrapper" }, P = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "dynamic-icon-item"
|
|
7
|
-
}, R = { class: "static-icon-wrapper" }, S = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "static-icon-item"
|
|
10
|
-
}, U = { class: "tab-label" }, j = { class: "tab-label-text" }, q = /* @__PURE__ */ V({
|
|
11
|
-
__name: "Tabs",
|
|
12
|
-
props: {
|
|
13
|
-
id: {},
|
|
14
|
-
children: {},
|
|
15
|
-
defaultKey: {},
|
|
16
|
-
tabChange: {},
|
|
17
|
-
styleType: { default: "normal" },
|
|
18
|
-
staticBtns: {},
|
|
19
|
-
dynamicBtns: {}
|
|
20
|
-
},
|
|
21
|
-
setup(v) {
|
|
22
|
-
const a = v, o = w(""), g = I(() => {
|
|
23
|
-
const e = a.children.findIndex((s) => s.name === o.value);
|
|
24
|
-
return e - 1 >= 0 ? e - 1 : null;
|
|
25
|
-
}), { ruleModule: C, pageMethodMap: k } = $();
|
|
26
|
-
function T(e) {
|
|
27
|
-
if (a.tabChange)
|
|
28
|
-
try {
|
|
29
|
-
C[a.tabChange](k, e);
|
|
30
|
-
} catch (s) {
|
|
31
|
-
console.error(s);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return u(
|
|
35
|
-
() => a.children,
|
|
36
|
-
() => {
|
|
37
|
-
a.children.forEach((e) => {
|
|
38
|
-
e.children || (e.children = []);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
), u(
|
|
42
|
-
() => a.defaultKey,
|
|
43
|
-
() => {
|
|
44
|
-
o.value = a.defaultKey;
|
|
45
|
-
}
|
|
46
|
-
), u(
|
|
47
|
-
() => a.defaultKey,
|
|
48
|
-
() => {
|
|
49
|
-
o.value = a.defaultKey;
|
|
50
|
-
}
|
|
51
|
-
), B(() => {
|
|
52
|
-
a.defaultKey && (o.value = a.defaultKey);
|
|
53
|
-
}), (e, s) => {
|
|
54
|
-
const K = b("el-tab-pane"), N = b("el-tabs");
|
|
55
|
-
return t(), p(N, _({ id: e.id }, e.$attrs, {
|
|
56
|
-
modelValue: o.value,
|
|
57
|
-
"onUpdate:modelValue": s[0] || (s[0] = (n) => o.value = n),
|
|
58
|
-
onTabChange: T,
|
|
59
|
-
addable: e.styleType === "btn",
|
|
60
|
-
class: {
|
|
61
|
-
"modal-type": e.styleType === "modal",
|
|
62
|
-
"btn-type": e.styleType === "btn",
|
|
63
|
-
"form-item-tabs": e.styleType === "normal"
|
|
64
|
-
}
|
|
65
|
-
}), {
|
|
66
|
-
"add-icon": i(() => [
|
|
67
|
-
r("div", D, [
|
|
68
|
-
r("div", L, [
|
|
69
|
-
(t(!0), l(d, null, m(e.dynamicBtns, (n) => (t(), l(d, {
|
|
70
|
-
key: n.iconName
|
|
71
|
-
}, [
|
|
72
|
-
n.hidden ? c("", !0) : (t(), l("div", P, [
|
|
73
|
-
y(f, {
|
|
74
|
-
name: n.iconName
|
|
75
|
-
}, null, 8, ["name"])
|
|
76
|
-
]))
|
|
77
|
-
], 64))), 128))
|
|
78
|
-
]),
|
|
79
|
-
r("div", R, [
|
|
80
|
-
(t(!0), l(d, null, m(e.staticBtns, (n) => (t(), l(d, {
|
|
81
|
-
key: n.iconName
|
|
82
|
-
}, [
|
|
83
|
-
n.hidden ? c("", !0) : (t(), l("div", S, [
|
|
84
|
-
y(f, {
|
|
85
|
-
name: n.iconName
|
|
86
|
-
}, null, 8, ["name"])
|
|
87
|
-
]))
|
|
88
|
-
], 64))), 128))
|
|
89
|
-
])
|
|
90
|
-
])
|
|
91
|
-
]),
|
|
92
|
-
default: i(() => [
|
|
93
|
-
(t(!0), l(d, null, m(e.children, (n, h) => (t(), p(K, _({
|
|
94
|
-
key: n.name,
|
|
95
|
-
ref_for: !0
|
|
96
|
-
}, n), {
|
|
97
|
-
label: i(() => [
|
|
98
|
-
r("div", U, [
|
|
99
|
-
e.styleType === "btn" && n.icon ? (t(), p(f, {
|
|
100
|
-
key: 0,
|
|
101
|
-
name: n.icon
|
|
102
|
-
}, null, 8, ["name"])) : c("", !0),
|
|
103
|
-
r("span", j, M(n.label), 1),
|
|
104
|
-
h !== e.children.length - 1 ? (t(), l("span", {
|
|
105
|
-
key: 1,
|
|
106
|
-
class: E(["divider", {
|
|
107
|
-
"divider-hidden": o.value === n.name || g.value === h
|
|
108
|
-
}])
|
|
109
|
-
}, null, 2)) : c("", !0)
|
|
110
|
-
])
|
|
111
|
-
]),
|
|
112
|
-
default: i(() => [
|
|
113
|
-
y(F(z), {
|
|
114
|
-
list: n.children
|
|
115
|
-
}, null, 8, ["list"])
|
|
116
|
-
]),
|
|
117
|
-
_: 2
|
|
118
|
-
}, 1040))), 128))
|
|
119
|
-
]),
|
|
120
|
-
_: 1
|
|
121
|
-
}, 16, ["id", "modelValue", "addable", "class"]);
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
}), O = /* @__PURE__ */ A(q, [["__scopeId", "data-v-7f3cbcb9"]]);
|
|
125
|
-
export {
|
|
126
|
-
O as default
|
|
127
|
-
};
|