asiaint-lowcode 3.0.74 → 3.0.75
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 +108 -108
- package/dist/index.d.ts +31 -8
- package/dist/lazy/{Card-BLkyronF.js → Card-BL132uF0.js} +2 -2
- package/dist/lazy/{Cascader-BWayPZsj.js → Cascader-BNajnGXt.js} +1 -1
- package/dist/lazy/{Checkbox-B0f2osCE.js → Checkbox-CB78q85K.js} +2 -2
- package/dist/lazy/{Collapse-CwiKPgVS.js → Collapse-BT3Z_TeL.js} +1 -1
- package/dist/lazy/{Component-DN6wPVjw.js → Component-BNOSHXwG.js} +2 -2
- package/dist/lazy/{Component-BgbXAvZP.js → Component-CVbGsSj6.js} +13 -13
- package/dist/lazy/{Component-DtKK0pz0.js → Component-Cwe8AZcy.js} +1 -1
- package/dist/lazy/{Component-BTW9MMvF.js → Component-DdZRdqp7.js} +1 -1
- package/dist/lazy/{Component-B0YN5w1O.js → Component-Dl3PXGm5.js} +1 -1
- package/dist/lazy/{Component-CxjtIKb4.js → Component-OAYlB5bp.js} +2 -2
- package/dist/lazy/{CurdCard-YilgvVgg.js → CurdCard-BrBulKvO.js} +20 -19
- package/dist/lazy/{Custom-BHrk3rwy.js → Custom-BliwSKbp.js} +7 -7
- package/dist/lazy/{DragList-BfxZ0XM8.js → DragList-Buw-1bQc.js} +57 -56
- package/dist/lazy/{FormList-Bve4HUdY.js → FormList-DTdAAtrD.js} +1 -1
- package/dist/lazy/{Grid-gYua8Lbh.js → Grid-DUAIHsOo.js} +1 -1
- package/dist/lazy/Inline-BkAIXUU0.js +35 -0
- package/dist/lazy/{JsonEdit-DspEkIiw.js → JsonEdit-Bx4jK-K8.js} +3 -3
- package/dist/lazy/{LogList-BJ0N-SZh.js → LogList-DHk7eKeC.js} +7 -7
- package/dist/lazy/{ObjGroup-DwogU-tX.js → ObjGroup-DXJerzS2.js} +1 -1
- package/dist/lazy/{OfferDetails-BRQXALnl.js → OfferDetails-Fs5y40J0.js} +24 -24
- package/dist/lazy/{Progress-CZiRwjox.js → Progress-pRaKkFkw.js} +5 -5
- package/dist/lazy/{Radio-DAQ63lEp.js → Radio-C9Z-5npS.js} +23 -22
- package/dist/lazy/{SearchSelect-B4rd3IEr.js → SearchSelect-BU-_DOLr.js} +11 -11
- package/dist/lazy/{Select-B9ka9Z-o.js → Select-DJ6Ky5mO.js} +2 -2
- package/dist/lazy/{Table-BT_PlC1e.js → Table-BlBWSnrv.js} +2 -2
- package/dist/lazy/{Tabs-D_jMk0g4.js → Tabs-meM_0XCE.js} +1 -1
- package/dist/lazy/{Wrapper-Db2njs9z.js → Wrapper-DlG2aZRe.js} +5 -5
- package/dist/lazy/{index-CPs7U1jG.js → index-2Lph8ou3.js} +6842 -6630
- package/dist/lazy/{useSelect-DBsTZmYm.js → useSelect-CmUZu1rN.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Inline-DP_W3TA1.js +0 -33
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as P } from "./index-
|
|
3
|
-
import { u as $ } from "./useSelect-
|
|
4
|
-
const j = { key: 0 },
|
|
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 P, b as R } from "./index-2Lph8ou3.js";
|
|
3
|
+
import { u as $ } from "./useSelect-CmUZu1rN.js";
|
|
4
|
+
const j = { key: 0 }, E = /* @__PURE__ */ F({
|
|
5
5
|
__name: "Radio",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ S({
|
|
7
7
|
options: { default: () => [] },
|
|
8
8
|
mode: { default: "static" },
|
|
9
9
|
labelKey: { default: "label" },
|
|
@@ -20,31 +20,31 @@ const j = { key: 0 }, R = /* @__PURE__ */ S({
|
|
|
20
20
|
clearable: { type: Boolean },
|
|
21
21
|
optionType: { default: "circle" },
|
|
22
22
|
direction: { default: "horizontal" },
|
|
23
|
-
space: { default:
|
|
23
|
+
space: { default: 8 }
|
|
24
24
|
}, {
|
|
25
25
|
modelValue: { type: [String, Number, Boolean], default: "" },
|
|
26
26
|
modelModifiers: {}
|
|
27
27
|
}),
|
|
28
28
|
emits: ["update:modelValue"],
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
31
|
-
const { valueKey: d = "value", name:
|
|
32
|
-
let
|
|
33
|
-
if (
|
|
29
|
+
setup(y) {
|
|
30
|
+
const t = y, p = T(y, "modelValue"), m = P(), b = g("ruleModule", void 0), C = g("pageMethodMap", {}), _ = (e) => {
|
|
31
|
+
const { valueKey: d = "value", name: s } = t;
|
|
32
|
+
let l = {};
|
|
33
|
+
if (l = r.value.find((n) => n[d] === e) || {}, m.selectData && s && m.updateSelectData(s, l), t.onChange && b)
|
|
34
34
|
try {
|
|
35
|
-
|
|
35
|
+
b[t.onChange](C, e, l);
|
|
36
36
|
} catch (n) {
|
|
37
37
|
console.error(n);
|
|
38
38
|
}
|
|
39
|
-
}, { currentOptions:
|
|
39
|
+
}, { currentOptions: r, loading: B } = $(t);
|
|
40
40
|
return (e, d) => {
|
|
41
|
-
var
|
|
42
|
-
const
|
|
43
|
-
return e.read ? (
|
|
41
|
+
var v;
|
|
42
|
+
const s = u("el-radio"), l = u("el-radio-button"), n = u("el-space"), V = u("el-radio-group"), D = w("loading");
|
|
43
|
+
return e.read ? (o(), c("div", j, z(((v = i(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : v[e.labelKey]) || "--"), 1)) : I((o(), f(V, K({
|
|
44
44
|
key: 1,
|
|
45
45
|
modelValue: p.value,
|
|
46
46
|
"onUpdate:modelValue": d[0] || (d[0] = (a) => p.value = a),
|
|
47
|
-
onChange:
|
|
47
|
+
onChange: _
|
|
48
48
|
}, e.$attrs), {
|
|
49
49
|
default: h(() => [
|
|
50
50
|
N(n, {
|
|
@@ -54,16 +54,17 @@ const j = { key: 0 }, R = /* @__PURE__ */ S({
|
|
|
54
54
|
alignment: "normal"
|
|
55
55
|
}, {
|
|
56
56
|
default: h(() => [
|
|
57
|
-
e.optionType === "circle" || e.optionType === "border" ? (
|
|
57
|
+
e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(k, { key: 0 }, M(i(r), (a) => (o(), f(s, {
|
|
58
58
|
key: a[e.valueKey],
|
|
59
59
|
label: a[e.labelKey],
|
|
60
60
|
value: a[e.valueKey],
|
|
61
61
|
disabled: a[e.disabledKey],
|
|
62
62
|
border: e.optionType === "border"
|
|
63
|
-
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (
|
|
63
|
+
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(k, { key: 1 }, M(i(r), (a) => (o(), f(l, K({
|
|
64
64
|
key: a[e.valueKey],
|
|
65
65
|
label: a[e.labelKey],
|
|
66
66
|
value: a[e.valueKey],
|
|
67
|
+
class: "radio-button",
|
|
67
68
|
disabled: a[e.disabledKey],
|
|
68
69
|
ref_for: !0
|
|
69
70
|
}, e.$attrs), null, 16, ["label", "value", "disabled"]))), 128))
|
|
@@ -73,11 +74,11 @@ const j = { key: 0 }, R = /* @__PURE__ */ S({
|
|
|
73
74
|
]),
|
|
74
75
|
_: 1
|
|
75
76
|
}, 16, ["modelValue"])), [
|
|
76
|
-
[
|
|
77
|
+
[D, i(B)]
|
|
77
78
|
]);
|
|
78
79
|
};
|
|
79
80
|
}
|
|
80
|
-
});
|
|
81
|
+
}), q = /* @__PURE__ */ R(E, [["__scopeId", "data-v-3a3fdad0"]]);
|
|
81
82
|
export {
|
|
82
|
-
|
|
83
|
+
q as default
|
|
83
84
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 P, renderList as $, createTextVNode as E, createVNode as B } from "vue";
|
|
2
|
-
import { u as L, _ as O, b as T } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as L, _ as O, b as T } from "./index-2Lph8ou3.js";
|
|
3
|
+
import { u as U } from "./useSelect-CmUZu1rN.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -31,9 +31,9 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
31
31
|
emits: ["update:modelValue"],
|
|
32
32
|
setup(v) {
|
|
33
33
|
const t = v, r = A(v, "modelValue"), h = L(), c = S("ruleModule", void 0), g = S("pageMethodMap", {}), C = (e) => {
|
|
34
|
-
const { valueKey:
|
|
34
|
+
const { valueKey: s = "value", multiple: m, name: p } = t;
|
|
35
35
|
let n = {};
|
|
36
|
-
if (m && Array.isArray(e) ? n =
|
|
36
|
+
if (m && Array.isArray(e) ? n = d.value.filter((a) => e.includes(a[s])) : n = d.value.find((a) => a[s] === e) || {}, h.selectData && p && h.updateSelectData(p, n), t.onChange && c)
|
|
37
37
|
try {
|
|
38
38
|
c[t.onChange](g, e, n);
|
|
39
39
|
} catch (a) {
|
|
@@ -46,19 +46,19 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
46
46
|
} catch (e) {
|
|
47
47
|
console.error(e);
|
|
48
48
|
}
|
|
49
|
-
}, { currentOptions:
|
|
50
|
-
return (e,
|
|
49
|
+
}, { currentOptions: d, loading: V } = U(t);
|
|
50
|
+
return (e, s) => {
|
|
51
51
|
var _;
|
|
52
52
|
const m = f("el-option"), p = f("el-select"), n = f("el-button"), a = I("loading");
|
|
53
53
|
return e.read ? (o(), i("div", q, [
|
|
54
54
|
e.multiple ? (o(), i("div", z, y(r.value && r.value.map((l) => {
|
|
55
55
|
var K;
|
|
56
|
-
return (K = u(
|
|
57
|
-
}).join("、")), 1)) : (o(), i("div", G, y(((_ = u(
|
|
56
|
+
return (K = u(d).find((D) => D[e.valueKey] === l)) == null ? void 0 : K[e.labelKey];
|
|
57
|
+
}).join("、")), 1)) : (o(), i("div", G, y(((_ = u(d).find((l) => l[e.valueKey] === r.value)) == null ? void 0 : _[e.labelKey]) || "--"), 1))
|
|
58
58
|
])) : (o(), i("div", H, [
|
|
59
59
|
N((o(), k(p, j({
|
|
60
60
|
modelValue: r.value,
|
|
61
|
-
"onUpdate:modelValue":
|
|
61
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => r.value = l)
|
|
62
62
|
}, e.$attrs, {
|
|
63
63
|
onChange: C,
|
|
64
64
|
multiple: e.multiple,
|
|
@@ -67,7 +67,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
67
67
|
disabled: e.disabled
|
|
68
68
|
}), {
|
|
69
69
|
default: b(() => [
|
|
70
|
-
(o(!0), i(P, null, $(u(
|
|
70
|
+
(o(!0), i(P, null, $(u(d), (l) => (o(), k(m, {
|
|
71
71
|
key: l[e.valueKey],
|
|
72
72
|
label: l[e.labelKey],
|
|
73
73
|
value: l[e.valueKey],
|
|
@@ -96,7 +96,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
96
96
|
]));
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
}), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-
|
|
99
|
+
}), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-da2bde35"]]);
|
|
100
100
|
export {
|
|
101
101
|
X as default
|
|
102
102
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as D, mergeModels as F, computed as f, 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-
|
|
3
|
-
import { u as E } from "./useSelect-
|
|
2
|
+
import { u as x } from "./index-2Lph8ou3.js";
|
|
3
|
+
import { u as E } from "./useSelect-CmUZu1rN.js";
|
|
4
4
|
const I = { key: 0 }, P = { style: { "min-height": "32px" } }, T = /* @__PURE__ */ D({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ F({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Se, computed as _, inject as k, ref as v, useTemplateRef as ze, readonly as Be, toRefs as Re, onMounted as Pe, nextTick as _e, onActivated as Ne, onUnmounted as Me, resolveComponent as B, openBlock as u, createElementBlock as g, normalizeClass as N, withDirectives as j, createElementVNode as f, createVNode as b, unref as R, withCtx as h, createBlock as S, createCommentVNode as m, Fragment as P, renderList as G, toDisplayString as M, withModifiers as Te, vShow as H, mergeProps as De } from "vue";
|
|
2
|
-
import { $ as $e, f as K, i as Fe, _ as Ee, I as Ae, C as Le, b as Ve } from "./index-
|
|
2
|
+
import { $ as $e, f as K, i as Fe, _ as Ee, I as Ae, C as Le, b as Ve } from "./index-2Lph8ou3.js";
|
|
3
3
|
import { ElTable as Ue, ElLoading as W } from "element-plus";
|
|
4
4
|
const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title", "onClick"], We = ["title"], qe = { class: "row-btn-wrapper" }, Ie = /* @__PURE__ */ Se({
|
|
5
5
|
__name: "Table",
|
|
@@ -345,7 +345,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
|
|
|
345
345
|
], 10, je));
|
|
346
346
|
};
|
|
347
347
|
}
|
|
348
|
-
}), Xe = /* @__PURE__ */ Ve(Ie, [["__scopeId", "data-v-
|
|
348
|
+
}), Xe = /* @__PURE__ */ Ve(Ie, [["__scopeId", "data-v-937016b7"]]);
|
|
349
349
|
export {
|
|
350
350
|
Xe as default
|
|
351
351
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
|
|
2
|
-
import { a as V } from "./index-
|
|
2
|
+
import { a as V } from "./index-2Lph8ou3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const w = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Tabs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as t, resolveComponent as n, openBlock as a, createElementBlock as r, normalizeStyle as s, createVNode as l, withCtx as p, withDirectives as i, createElementVNode as c, normalizeClass as m, unref as _, vShow as
|
|
2
|
-
import { a as
|
|
1
|
+
import { defineComponent as t, resolveComponent as n, openBlock as a, createElementBlock as r, normalizeStyle as s, createVNode as l, withCtx as p, withDirectives as i, createElementVNode as c, normalizeClass as m, unref as _, vShow as d } from "vue";
|
|
2
|
+
import { a as y, b as f } from "./index-2Lph8ou3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const u = /* @__PURE__ */ t({
|
|
5
5
|
__name: "Wrapper",
|
|
@@ -20,9 +20,9 @@ const u = /* @__PURE__ */ t({
|
|
|
20
20
|
i(c("div", {
|
|
21
21
|
class: m({ normal: e.type === "normal", onlytable: e.type === "onlytable" })
|
|
22
22
|
}, [
|
|
23
|
-
l(_(
|
|
23
|
+
l(_(y), { list: e.children }, null, 8, ["list"])
|
|
24
24
|
], 2), [
|
|
25
|
-
[
|
|
25
|
+
[d, !e.collapse]
|
|
26
26
|
])
|
|
27
27
|
]),
|
|
28
28
|
_: 1
|
|
@@ -30,7 +30,7 @@ const u = /* @__PURE__ */ t({
|
|
|
30
30
|
], 4);
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
}), w = /* @__PURE__ */ f(u, [["__scopeId", "data-v-
|
|
33
|
+
}), w = /* @__PURE__ */ f(u, [["__scopeId", "data-v-cde87480"]]);
|
|
34
34
|
export {
|
|
35
35
|
w as default
|
|
36
36
|
};
|