asiaint-lowcode 3.0.74 → 3.1.0
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 +142 -142
- package/dist/index.d.ts +168 -28
- package/dist/lazy/{Card-BLkyronF.js → Card-6y3b8xK9.js} +2 -2
- package/dist/lazy/{Cascader-BWayPZsj.js → Cascader-1XEBAirk.js} +2 -1
- package/dist/lazy/{Checkbox-B0f2osCE.js → Checkbox-DY7Ufmrz.js} +8 -7
- package/dist/lazy/{Collapse-CwiKPgVS.js → Collapse-BT7RNNg6.js} +1 -1
- package/dist/lazy/{Component-BgbXAvZP.js → Component-AYxGCLAH.js} +20 -20
- package/dist/lazy/{Component-CxjtIKb4.js → Component-BYlYtzWb.js} +2 -2
- package/dist/lazy/{Component-DtKK0pz0.js → Component-CF4m_685.js} +1 -1
- package/dist/lazy/{Component-B0YN5w1O.js → Component-CkSnYtMh.js} +1 -1
- package/dist/lazy/{Component-BTW9MMvF.js → Component-DITfSg2v.js} +1 -1
- package/dist/lazy/{Component-DN6wPVjw.js → Component-DZMCcrpa.js} +2 -2
- package/dist/lazy/CurdCard-BXOxRtCA.js +167 -0
- package/dist/lazy/{Custom-BHrk3rwy.js → Custom-Df5H1QJV.js} +7 -7
- package/dist/lazy/{DragList-BfxZ0XM8.js → DragList-BH1VY62B.js} +59 -57
- package/dist/lazy/{FormList-Bve4HUdY.js → FormList-BMk_lCx8.js} +1 -1
- package/dist/lazy/{Grid-gYua8Lbh.js → Grid-SVpxXRzO.js} +1 -1
- package/dist/lazy/Inline-CE2A9Of4.js +35 -0
- package/dist/lazy/{JsonEdit-DspEkIiw.js → JsonEdit-C_CUvw5t.js} +3 -3
- package/dist/lazy/{LogList-BJ0N-SZh.js → LogList-COeBYixP.js} +7 -7
- package/dist/lazy/{ObjGroup-DwogU-tX.js → ObjGroup-BB2eQigf.js} +1 -1
- package/dist/lazy/{OfferDetails-BRQXALnl.js → OfferDetails-BEyNKQsf.js} +8 -7
- package/dist/lazy/{Progress-CZiRwjox.js → Progress-CYBbCXFh.js} +5 -5
- package/dist/lazy/{Radio-DAQ63lEp.js → Radio-qI1r_rWj.js} +24 -22
- package/dist/lazy/{SearchSelect-B4rd3IEr.js → SearchSelect-ZmOPM_QH.js} +18 -17
- package/dist/lazy/{Select-B9ka9Z-o.js → Select-CxtVmfLu.js} +10 -9
- package/dist/lazy/Table-YeT82lnr.js +438 -0
- package/dist/lazy/{Tabs-D_jMk0g4.js → Tabs-DFvfP_nb.js} +1 -1
- package/dist/lazy/Wrapper-DAFSrkAr.js +87 -0
- package/dist/lazy/{index-CPs7U1jG.js → index-DQ889qV3.js} +10461 -9979
- package/dist/lazy/useSelect-EfaZqc6a.js +77 -0
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/CurdCard-YilgvVgg.js +0 -160
- package/dist/lazy/Inline-DP_W3TA1.js +0 -33
- package/dist/lazy/Table-BT_PlC1e.js +0 -351
- package/dist/lazy/Wrapper-Db2njs9z.js +0 -36
- package/dist/lazy/useSelect-DBsTZmYm.js +0 -76
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as l, withCtx as a, Fragment as u, renderList as f, createBlock as g, createElementVNode as e, toDisplayString as r, createTextVNode as h, unref as k, createCommentVNode as N } from "vue";
|
|
2
|
-
import { I as v, _ as
|
|
3
|
-
const
|
|
2
|
+
import { I as v, _ as C, b as V } from "./index-DQ889qV3.js";
|
|
3
|
+
const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty-content"
|
|
6
6
|
}, I = /* @__PURE__ */ p({
|
|
@@ -11,7 +11,7 @@ const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
|
|
|
11
11
|
setup(w) {
|
|
12
12
|
return (o, i) => {
|
|
13
13
|
const _ = m("el-timeline-item"), c = m("el-timeline");
|
|
14
|
-
return n(), s("div",
|
|
14
|
+
return n(), s("div", b, [
|
|
15
15
|
l(c, null, {
|
|
16
16
|
default: a(() => [
|
|
17
17
|
(n(!0), s(u, null, f(o.data, (t, d) => (n(), g(_, {
|
|
@@ -39,7 +39,7 @@ const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
|
|
|
39
39
|
_: 1
|
|
40
40
|
}),
|
|
41
41
|
!o.data || o.data.length === 0 ? (n(), s("div", E, [
|
|
42
|
-
l(k(
|
|
42
|
+
l(k(C), {
|
|
43
43
|
name: "tableEmpty",
|
|
44
44
|
style: { width: 56, height: 56 }
|
|
45
45
|
}),
|
|
@@ -48,7 +48,7 @@ const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
|
|
|
48
48
|
]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}), F = /* @__PURE__ */
|
|
51
|
+
}), F = /* @__PURE__ */ V(I, [["__scopeId", "data-v-088a0692"]]);
|
|
52
52
|
export {
|
|
53
53
|
F as default
|
|
54
54
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as P } from "./index-
|
|
3
|
-
import { u as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as F, mergeModels as S, useModel as T, inject as g, resolveComponent as u, resolveDirective as w, openBlock as o, createElementBlock as c, toDisplayString as z, unref as i, withDirectives as I, createBlock as f, mergeProps as K, withCtx as h, createVNode as N, Fragment as k, renderList as M } from "vue";
|
|
2
|
+
import { u as O, b as P } from "./index-DQ889qV3.js";
|
|
3
|
+
import { u as R } from "./useSelect-EfaZqc6a.js";
|
|
4
|
+
const $ = { key: 0 }, j = /* @__PURE__ */ F({
|
|
5
5
|
__name: "Radio",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ S({
|
|
7
7
|
options: { default: () => [] },
|
|
8
|
+
defaultOptions: {},
|
|
8
9
|
mode: { default: "static" },
|
|
9
10
|
labelKey: { default: "label" },
|
|
10
11
|
valueKey: { default: "value" },
|
|
@@ -20,31 +21,31 @@ const j = { key: 0 }, R = /* @__PURE__ */ S({
|
|
|
20
21
|
clearable: { type: Boolean },
|
|
21
22
|
optionType: { default: "circle" },
|
|
22
23
|
direction: { default: "horizontal" },
|
|
23
|
-
space: { default:
|
|
24
|
+
space: { default: 8 }
|
|
24
25
|
}, {
|
|
25
26
|
modelValue: { type: [String, Number, Boolean], default: "" },
|
|
26
27
|
modelModifiers: {}
|
|
27
28
|
}),
|
|
28
29
|
emits: ["update:modelValue"],
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
31
|
-
const { valueKey: d = "value", name:
|
|
32
|
-
let
|
|
33
|
-
if (
|
|
30
|
+
setup(y) {
|
|
31
|
+
const t = y, p = T(y, "modelValue"), m = O(), b = g("ruleModule", void 0), C = g("pageMethodMap", {}), _ = (e) => {
|
|
32
|
+
const { valueKey: d = "value", name: s } = t;
|
|
33
|
+
let l = {};
|
|
34
|
+
if (l = r.value.find((n) => n[d] === e) || {}, m.selectData && s && m.updateSelectData(s, l), t.onChange && b)
|
|
34
35
|
try {
|
|
35
|
-
|
|
36
|
+
b[t.onChange](C, e, l);
|
|
36
37
|
} catch (n) {
|
|
37
38
|
console.error(n);
|
|
38
39
|
}
|
|
39
|
-
}, { currentOptions:
|
|
40
|
+
}, { currentOptions: r, loading: B } = R(t);
|
|
40
41
|
return (e, d) => {
|
|
41
|
-
var
|
|
42
|
-
const
|
|
43
|
-
return e.read ? (
|
|
42
|
+
var v;
|
|
43
|
+
const s = u("el-radio"), l = u("el-radio-button"), n = u("el-space"), V = u("el-radio-group"), D = w("loading");
|
|
44
|
+
return e.read ? (o(), c("div", $, z(((v = i(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : v[e.labelKey]) || "--"), 1)) : I((o(), f(V, K({
|
|
44
45
|
key: 1,
|
|
45
46
|
modelValue: p.value,
|
|
46
47
|
"onUpdate:modelValue": d[0] || (d[0] = (a) => p.value = a),
|
|
47
|
-
onChange:
|
|
48
|
+
onChange: _
|
|
48
49
|
}, e.$attrs), {
|
|
49
50
|
default: h(() => [
|
|
50
51
|
N(n, {
|
|
@@ -54,16 +55,17 @@ const j = { key: 0 }, R = /* @__PURE__ */ S({
|
|
|
54
55
|
alignment: "normal"
|
|
55
56
|
}, {
|
|
56
57
|
default: h(() => [
|
|
57
|
-
e.optionType === "circle" || e.optionType === "border" ? (
|
|
58
|
+
e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(k, { key: 0 }, M(i(r), (a) => (o(), f(s, {
|
|
58
59
|
key: a[e.valueKey],
|
|
59
60
|
label: a[e.labelKey],
|
|
60
61
|
value: a[e.valueKey],
|
|
61
62
|
disabled: a[e.disabledKey],
|
|
62
63
|
border: e.optionType === "border"
|
|
63
|
-
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (
|
|
64
|
+
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(k, { key: 1 }, M(i(r), (a) => (o(), f(l, K({
|
|
64
65
|
key: a[e.valueKey],
|
|
65
66
|
label: a[e.labelKey],
|
|
66
67
|
value: a[e.valueKey],
|
|
68
|
+
class: "radio-button",
|
|
67
69
|
disabled: a[e.disabledKey],
|
|
68
70
|
ref_for: !0
|
|
69
71
|
}, e.$attrs), null, 16, ["label", "value", "disabled"]))), 128))
|
|
@@ -73,11 +75,11 @@ const j = { key: 0 }, R = /* @__PURE__ */ S({
|
|
|
73
75
|
]),
|
|
74
76
|
_: 1
|
|
75
77
|
}, 16, ["modelValue"])), [
|
|
76
|
-
[
|
|
78
|
+
[D, i(B)]
|
|
77
79
|
]);
|
|
78
80
|
};
|
|
79
81
|
}
|
|
80
|
-
});
|
|
82
|
+
}), q = /* @__PURE__ */ P(j, [["__scopeId", "data-v-3a3fdad0"]]);
|
|
81
83
|
export {
|
|
82
|
-
|
|
84
|
+
q as default
|
|
83
85
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as F, mergeModels as w, useModel as A, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as N, createBlock as k, mergeProps as j, withCtx as b, Fragment as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
1
|
+
import { defineComponent as F, mergeModels as w, useModel as A, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as N, createBlock as k, mergeProps as j, withCtx as b, Fragment as O, renderList as P, createTextVNode as $, createVNode as B } from "vue";
|
|
2
|
+
import { u as E, _ as L, b as T } from "./index-DQ889qV3.js";
|
|
3
|
+
import { u as U } from "./useSelect-EfaZqc6a.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -11,6 +11,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
11
11
|
disabled: { type: Boolean },
|
|
12
12
|
read: { type: Boolean },
|
|
13
13
|
options: { default: () => [] },
|
|
14
|
+
defaultOptions: {},
|
|
14
15
|
multiple: { type: Boolean, default: !1 },
|
|
15
16
|
mode: { default: "static" },
|
|
16
17
|
labelKey: { default: "label" },
|
|
@@ -30,10 +31,10 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
30
31
|
}),
|
|
31
32
|
emits: ["update:modelValue"],
|
|
32
33
|
setup(v) {
|
|
33
|
-
const t = v,
|
|
34
|
-
const { valueKey:
|
|
34
|
+
const t = v, d = A(v, "modelValue"), h = E(), c = S("ruleModule", void 0), g = S("pageMethodMap", {}), C = (e) => {
|
|
35
|
+
const { valueKey: s = "value", multiple: m, name: p } = t;
|
|
35
36
|
let n = {};
|
|
36
|
-
if (m && Array.isArray(e) ? n =
|
|
37
|
+
if (m && Array.isArray(e) ? n = r.value.filter((a) => e.includes(a[s])) : n = r.value.find((a) => a[s] === e) || {}, h.selectData && p && h.updateSelectData(p, n), t.onChange && c)
|
|
37
38
|
try {
|
|
38
39
|
c[t.onChange](g, e, n);
|
|
39
40
|
} catch (a) {
|
|
@@ -46,19 +47,19 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
46
47
|
} catch (e) {
|
|
47
48
|
console.error(e);
|
|
48
49
|
}
|
|
49
|
-
}, { currentOptions:
|
|
50
|
-
return (e,
|
|
50
|
+
}, { currentOptions: r, loading: V } = U(t);
|
|
51
|
+
return (e, s) => {
|
|
51
52
|
var _;
|
|
52
53
|
const m = f("el-option"), p = f("el-select"), n = f("el-button"), a = I("loading");
|
|
53
54
|
return e.read ? (o(), i("div", q, [
|
|
54
|
-
e.multiple ? (o(), i("div", z, y(
|
|
55
|
+
e.multiple ? (o(), i("div", z, y(d.value && d.value.map((l) => {
|
|
55
56
|
var K;
|
|
56
|
-
return (K = u(
|
|
57
|
-
}).join("、")), 1)) : (o(), i("div", G, y(((_ = u(
|
|
57
|
+
return (K = u(r).find((D) => D[e.valueKey] === l)) == null ? void 0 : K[e.labelKey];
|
|
58
|
+
}).join("、")), 1)) : (o(), i("div", G, y(((_ = u(r).find((l) => l[e.valueKey] === d.value)) == null ? void 0 : _[e.labelKey]) || "--"), 1))
|
|
58
59
|
])) : (o(), i("div", H, [
|
|
59
60
|
N((o(), k(p, j({
|
|
60
|
-
modelValue:
|
|
61
|
-
"onUpdate:modelValue":
|
|
61
|
+
modelValue: d.value,
|
|
62
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => d.value = l)
|
|
62
63
|
}, e.$attrs, {
|
|
63
64
|
onChange: C,
|
|
64
65
|
multiple: e.multiple,
|
|
@@ -67,14 +68,14 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
67
68
|
disabled: e.disabled
|
|
68
69
|
}), {
|
|
69
70
|
default: b(() => [
|
|
70
|
-
(o(!0), i(
|
|
71
|
+
(o(!0), i(O, null, P(u(r), (l) => (o(), k(m, {
|
|
71
72
|
key: l[e.valueKey],
|
|
72
73
|
label: l[e.labelKey],
|
|
73
74
|
value: l[e.valueKey],
|
|
74
75
|
disabled: l[e.disabledKey]
|
|
75
76
|
}, {
|
|
76
77
|
default: b(() => [
|
|
77
|
-
|
|
78
|
+
$(y(l[e.labelKey]), 1)
|
|
78
79
|
]),
|
|
79
80
|
_: 2
|
|
80
81
|
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
@@ -89,14 +90,14 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
89
90
|
class: "search-btn"
|
|
90
91
|
}, {
|
|
91
92
|
default: b(() => [
|
|
92
|
-
B(u(
|
|
93
|
+
B(u(L), { name: "search" })
|
|
93
94
|
]),
|
|
94
95
|
_: 1
|
|
95
96
|
}, 8, ["disabled"])
|
|
96
97
|
]));
|
|
97
98
|
};
|
|
98
99
|
}
|
|
99
|
-
}), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-
|
|
100
|
+
}), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-da2bde35"]]);
|
|
100
101
|
export {
|
|
101
102
|
X as default
|
|
102
103
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as D, mergeModels as F, computed as
|
|
2
|
-
import { u as x } from "./index-
|
|
3
|
-
import { u as E } from "./useSelect-
|
|
4
|
-
const I = { key: 0 },
|
|
1
|
+
import { defineComponent as D, mergeModels as F, computed as y, useModel as _, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, toDisplayString as h, createBlock as K, mergeProps as w, unref as V, withCtx as c, createElementVNode as r, Fragment as A, renderList as N, createTextVNode as j } from "vue";
|
|
2
|
+
import { u as x } from "./index-DQ889qV3.js";
|
|
3
|
+
import { u as E } from "./useSelect-EfaZqc6a.js";
|
|
4
|
+
const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__ */ D({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ F({
|
|
7
7
|
options: { default: () => [] },
|
|
8
|
+
defaultOptions: {},
|
|
8
9
|
multiple: { type: Boolean, default: !1 },
|
|
9
10
|
mode: { default: "static" },
|
|
10
11
|
labelKey: { default: "label" },
|
|
@@ -25,16 +26,16 @@ const I = { key: 0 }, P = { style: { "min-height": "32px" } }, T = /* @__PURE__
|
|
|
25
26
|
}),
|
|
26
27
|
emits: ["update:modelValue"],
|
|
27
28
|
setup(p) {
|
|
28
|
-
const l = p, k =
|
|
29
|
+
const l = p, k = y(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = _(p, "modelValue"), m = x(), f = v("ruleModule", void 0), B = v("pageMethodMap", {}), C = (e) => {
|
|
29
30
|
const { valueKey: t = "value", multiple: n, name: o } = l;
|
|
30
31
|
let a = {};
|
|
31
|
-
if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, m.selectData && o && m.updateSelectData(o, a), l.onChange &&
|
|
32
|
+
if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, m.selectData && o && m.updateSelectData(o, a), l.onChange && f)
|
|
32
33
|
try {
|
|
33
|
-
|
|
34
|
+
f[l.onChange](B, e, a);
|
|
34
35
|
} catch (u) {
|
|
35
36
|
console.error(u);
|
|
36
37
|
}
|
|
37
|
-
}, { currentOptions: s, loading: M } = E(l), S =
|
|
38
|
+
}, { currentOptions: s, loading: M } = E(l), S = y(() => {
|
|
38
39
|
var t;
|
|
39
40
|
if (l.multiple)
|
|
40
41
|
return s.value.filter(
|
|
@@ -95,7 +96,7 @@ const I = { key: 0 }, P = { style: { "min-height": "32px" } }, T = /* @__PURE__
|
|
|
95
96
|
], -1)
|
|
96
97
|
])),
|
|
97
98
|
default: c(() => [
|
|
98
|
-
r("div",
|
|
99
|
+
r("div", O, [
|
|
99
100
|
(i(!0), g(A, null, N(V(s), (a) => (i(), K(n, {
|
|
100
101
|
key: a[e.valueKey],
|
|
101
102
|
label: a[e.labelKey],
|