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
|
@@ -0,0 +1,127 @@
|
|
|
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-BOGnFXnC.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
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as u, mergeModels as i, useModel as _, computed as v, resolveComponent as f, openBlock as a, createElementBlock as m, createElementVNode as y, toDisplayString as r, createBlock as V, mergeProps as k } from "vue";
|
|
2
|
+
import { u as B, _ as h } from "./index-BOGnFXnC.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const x = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "special-read"
|
|
7
|
+
}, I = { class: "special-read-value" }, M = { key: 1 }, g = /* @__PURE__ */ u({
|
|
8
|
+
__name: "TextArea",
|
|
9
|
+
props: /* @__PURE__ */ i({
|
|
10
|
+
name: {},
|
|
11
|
+
read: { type: Boolean },
|
|
12
|
+
specialRead: { type: Boolean }
|
|
13
|
+
}, {
|
|
14
|
+
modelValue: {},
|
|
15
|
+
modelModifiers: {}
|
|
16
|
+
}),
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(t) {
|
|
19
|
+
const e = _(t, "modelValue"), l = t, o = B(), s = v(() => l.read || o.schema.read);
|
|
20
|
+
return o.findItemByName(o.schema.items, l.name), (n, d) => {
|
|
21
|
+
const c = f("el-input");
|
|
22
|
+
return n.specialRead && s.value ? (a(), m("div", x, [
|
|
23
|
+
y("div", I, r(e.value || "--"), 1)
|
|
24
|
+
])) : s.value ? (a(), m("div", M, r(e.value || "--"), 1)) : (a(), V(c, k({ key: 2 }, n.$attrs, {
|
|
25
|
+
modelValue: e.value,
|
|
26
|
+
"onUpdate:modelValue": d[0] || (d[0] = (p) => e.value = p),
|
|
27
|
+
type: "textarea"
|
|
28
|
+
}), null, 16, ["modelValue"]));
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}), E = /* @__PURE__ */ h(g, [["__scopeId", "data-v-362f3918"]]);
|
|
32
|
+
export {
|
|
33
|
+
E as default
|
|
34
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, ref as f, resolveComponent as v, openBlock as a, createElementBlock as l, normalizeStyle as s, createVNode as r, withCtx as C, withDirectives as _, createElementVNode as g, normalizeClass as i, unref as x, createCommentVNode as c, vShow as B } from "vue";
|
|
2
|
-
import { c as S, b, I as d, _ as k } from "./index-
|
|
2
|
+
import { c as S, b, I as d, _ as k } from "./index-BOGnFXnC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const E = {
|
|
5
5
|
key: 0,
|
|
@@ -80,7 +80,7 @@ const E = {
|
|
|
80
80
|
], 4);
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
}), V = /* @__PURE__ */ k(D, [["__scopeId", "data-v-
|
|
83
|
+
}), V = /* @__PURE__ */ k(D, [["__scopeId", "data-v-e9e23e58"]]);
|
|
84
84
|
export {
|
|
85
85
|
V as default
|
|
86
86
|
};
|