asiaint-lowcode 3.1.16 → 3.1.18
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 +83 -83
- package/dist/index.d.ts +53 -10
- package/dist/lazy/{Card-Cow_zpSf.js → Card-DFiP9JAn.js} +2 -2
- package/dist/lazy/{Cascader-CSkCF9DP.js → Cascader-DsbxsiX_.js} +1 -1
- package/dist/lazy/{Checkbox-DR1XRXSJ.js → Checkbox-ikBiXKbS.js} +2 -2
- package/dist/lazy/{Collapse-CmfaSD2X.js → Collapse-BYY6Dn_h.js} +1 -1
- package/dist/lazy/{Component-DeIsCrm1.js → Component-B45vMERk.js} +1 -1
- package/dist/lazy/{Component-DW8HGDiM.js → Component-BMC9pA4y.js} +1 -1
- package/dist/lazy/{Component-BPhkDIEo.js → Component-CYvuURhI.js} +2 -2
- package/dist/lazy/{Component-Dfa5LE-C.js → Component-DS84KRXc.js} +2 -2
- package/dist/lazy/{Component-D3TFYEJM.js → Component-Duoc990_.js} +1 -1
- package/dist/lazy/{Component-CUpFYJ_b.js → Component-SJGD58DM.js} +2 -2
- package/dist/lazy/{CurdCard-DhWtGzk5.js → CurdCard-GXjBSHUC.js} +2 -2
- package/dist/lazy/{Custom-Dy7scYxi.js → Custom-j5kRjn1E.js} +7 -7
- package/dist/lazy/{DatePicker-BPLq5XnB.js → DatePicker-uJ5lTJIJ.js} +1 -1
- package/dist/lazy/{DragList-BjQnVy7r.js → DragList-CIpdvKOf.js} +2 -2
- package/dist/lazy/FilterSearch-BqxCD2BD.js +140 -0
- package/dist/lazy/{FormList-CumjG4m2.js → FormList-TX9M_W8h.js} +1 -1
- package/dist/lazy/{Grid-BP1q5Cyw.js → Grid-BH5Sjhlk.js} +1 -1
- package/dist/lazy/{Inline-IaNWNLSe.js → Inline-B2vC9hUe.js} +3 -3
- package/dist/lazy/{JsonEdit-BFHcb1Fu.js → JsonEdit-CB41XTuI.js} +3 -3
- package/dist/lazy/{LogList-D4bqjc6E.js → LogList-D1DKddCD.js} +7 -7
- package/dist/lazy/{ObjGroup-DX1X9rBM.js → ObjGroup-CPxTLLCO.js} +1 -1
- package/dist/lazy/{OfferDetails-Cp1nSNWI.js → OfferDetails-JhFXRfHm.js} +11 -11
- package/dist/lazy/{Pagination-D-eCDOe9.js → Pagination-B5yPcv-a.js} +7 -7
- package/dist/lazy/{Progress-BdCV77ll.js → Progress-Q7EluseF.js} +5 -5
- package/dist/lazy/{Radio-BK5qu9LR.js → Radio-Dkj6ooMi.js} +3 -3
- package/dist/lazy/{SearchSelect-DpvLp1oC.js → SearchSelect-_banbjet.js} +11 -11
- package/dist/lazy/{Select-BHZuWU-Q.js → Select-mrbQhuZx.js} +2 -2
- package/dist/lazy/{Table-DX3g374y.js → Table-B10gSmyy.js} +102 -104
- package/dist/lazy/{Tabs-D-eD11Du.js → Tabs-D2qsVT0-.js} +1 -1
- package/dist/lazy/{Wrapper-BQMU2bE_.js → Wrapper-CpAHzsTR.js} +6 -6
- package/dist/lazy/{index-CSwaWW-4.js → index-DbxXltHn.js} +1250 -1207
- package/dist/lazy/{useSelect-Bxv91nYW.js → useSelect-Ch1gHsbw.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/FilterSearch-DIzEPTWm.js +0 -108
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as D, resolveComponent as M, openBlock as l, createBlock as O, withCtx as B, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as
|
|
2
|
-
import { k as L, $ as U, _ as z, b as x } from "./index-
|
|
1
|
+
import { defineComponent as D, resolveComponent as M, openBlock as l, createBlock as O, withCtx as B, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as y, toDisplayString as b, createCommentVNode as I, ref as E, inject as N, watchEffect as R, onMounted as S, normalizeStyle as $, unref as A } from "vue";
|
|
2
|
+
import { k as L, $ as U, _ as z, b as x } from "./index-DbxXltHn.js";
|
|
3
3
|
const F = { class: "content" }, K = { class: "product-list" }, V = { class: "attribute-list" }, j = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "attribute-list-item"
|
|
@@ -28,24 +28,24 @@ const F = { class: "content" }, K = { class: "product-list" }, V = { class: "att
|
|
|
28
28
|
i("div", F, [
|
|
29
29
|
p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
|
|
30
30
|
i("div", K, [
|
|
31
|
-
(l(!0), r(u, null,
|
|
31
|
+
(l(!0), r(u, null, y(a.data.product, (s) => (l(), r("div", {
|
|
32
32
|
class: "product-item",
|
|
33
33
|
key: s.label
|
|
34
|
-
},
|
|
34
|
+
}, b(s.label), 1))), 128))
|
|
35
35
|
]),
|
|
36
36
|
i("div", V, [
|
|
37
|
-
(l(!0), r(u, null,
|
|
37
|
+
(l(!0), r(u, null, y(a.data.product, (s) => (l(), r(u, {
|
|
38
38
|
key: s.label
|
|
39
39
|
}, [
|
|
40
40
|
s.children.length > 0 ? (l(), r("div", j, [
|
|
41
|
-
i("div", W,
|
|
41
|
+
i("div", W, b(s.label), 1),
|
|
42
42
|
i("div", q, [
|
|
43
|
-
(l(!0), r(u, null,
|
|
43
|
+
(l(!0), r(u, null, y(s.children, (d) => (l(), r("div", {
|
|
44
44
|
class: "attribute-item",
|
|
45
45
|
key: d.label
|
|
46
46
|
}, [
|
|
47
|
-
i("div", G,
|
|
48
|
-
i("div", H,
|
|
47
|
+
i("div", G, b(d.label), 1),
|
|
48
|
+
i("div", H, b(d.value || "--"), 1)
|
|
49
49
|
]))), 128))
|
|
50
50
|
])
|
|
51
51
|
])) : I("", !0)
|
|
@@ -160,7 +160,7 @@ const F = { class: "content" }, K = { class: "product-list" }, V = { class: "att
|
|
|
160
160
|
"--gap": t.gap + "px"
|
|
161
161
|
})
|
|
162
162
|
}, [
|
|
163
|
-
(l(!0), r(u, null,
|
|
163
|
+
(l(!0), r(u, null, y(p.value, (n, o) => (l(), r("div", {
|
|
164
164
|
class: "card-list-item",
|
|
165
165
|
key: o
|
|
166
166
|
}, [
|
|
@@ -180,7 +180,7 @@ const F = { class: "content" }, K = { class: "product-list" }, V = { class: "att
|
|
|
180
180
|
])) : I("", !0)
|
|
181
181
|
], 64));
|
|
182
182
|
}
|
|
183
|
-
}), ee = /* @__PURE__ */ x(X, [["__scopeId", "data-v-
|
|
183
|
+
}), ee = /* @__PURE__ */ x(X, [["__scopeId", "data-v-43ded0ba"]]);
|
|
184
184
|
export {
|
|
185
185
|
ee as default
|
|
186
186
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { c as _, j as b, b as j } from "./index-
|
|
1
|
+
import { defineComponent as y, ref as s, readonly as C, onUnmounted as v, resolveComponent as S, openBlock as h, createElementBlock as P, normalizeStyle as N, createVNode as B } from "vue";
|
|
2
|
+
import { c as _, j as b, b as j } from "./index-DbxXltHn.js";
|
|
3
3
|
import "element-plus";
|
|
4
|
-
const w = /* @__PURE__ */
|
|
4
|
+
const w = /* @__PURE__ */ y({
|
|
5
5
|
__name: "Pagination",
|
|
6
6
|
props: {
|
|
7
7
|
pageSizes: {},
|
|
@@ -31,7 +31,7 @@ const w = /* @__PURE__ */ C({
|
|
|
31
31
|
} catch (n) {
|
|
32
32
|
console.error(n);
|
|
33
33
|
}
|
|
34
|
-
}, g =
|
|
34
|
+
}, g = C({
|
|
35
35
|
getPagination: m,
|
|
36
36
|
setTotal: c,
|
|
37
37
|
type: "pagination"
|
|
@@ -43,12 +43,12 @@ const w = /* @__PURE__ */ C({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
return l(g), (e, n) => {
|
|
46
|
-
const
|
|
46
|
+
const f = S("el-pagination");
|
|
47
47
|
return h(), P("div", {
|
|
48
48
|
class: "pagination-wrapper",
|
|
49
49
|
style: N(e.style)
|
|
50
50
|
}, [
|
|
51
|
-
B(
|
|
51
|
+
B(f, {
|
|
52
52
|
layout: e.paginationLayout || "total,sizes, prev, pager, next,jumper",
|
|
53
53
|
total: i.value,
|
|
54
54
|
"page-sizes": e.pageSizes || [5, 10, 20, 30, 40],
|
|
@@ -64,7 +64,7 @@ const w = /* @__PURE__ */ C({
|
|
|
64
64
|
], 4);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
}), L = /* @__PURE__ */ j(w, [["__scopeId", "data-v-
|
|
67
|
+
}), L = /* @__PURE__ */ j(w, [["__scopeId", "data-v-f199e192"]]);
|
|
68
68
|
export {
|
|
69
69
|
L as default
|
|
70
70
|
};
|
|
@@ -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-DbxXltHn.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,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as T, mergeModels as F, useModel as S, 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 C } from "vue";
|
|
2
|
-
import { u as O, b as P } from "./index-
|
|
3
|
-
import { u as R } from "./useSelect-
|
|
2
|
+
import { u as O, b as P } from "./index-DbxXltHn.js";
|
|
3
|
+
import { u as R } from "./useSelect-Ch1gHsbw.js";
|
|
4
4
|
const $ = { key: 0 }, j = /* @__PURE__ */ T({
|
|
5
5
|
__name: "Radio",
|
|
6
6
|
props: /* @__PURE__ */ F({
|
|
@@ -80,7 +80,7 @@ const $ = { key: 0 }, j = /* @__PURE__ */ T({
|
|
|
80
80
|
]);
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
}), q = /* @__PURE__ */ P(j, [["__scopeId", "data-v-
|
|
83
|
+
}), q = /* @__PURE__ */ P(j, [["__scopeId", "data-v-3a3fdad0"]]);
|
|
84
84
|
export {
|
|
85
85
|
q as default
|
|
86
86
|
};
|
|
@@ -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 C, mergeProps as j, withCtx as b, Fragment as O, renderList as P, createTextVNode as T, createVNode as k } from "vue";
|
|
2
|
-
import { u as $, _ as E, b as L } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as $, _ as E, b as L } from "./index-DbxXltHn.js";
|
|
3
|
+
import { u as U } from "./useSelect-Ch1gHsbw.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -33,9 +33,9 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
33
33
|
emits: ["update:modelValue"],
|
|
34
34
|
setup(v) {
|
|
35
35
|
const t = v, r = A(v, "modelValue"), h = $(), c = S("ruleModule", void 0), g = S("pageMethodMap", {}), B = (e) => {
|
|
36
|
-
const { valueKey:
|
|
36
|
+
const { valueKey: s = "value", multiple: m, name: p } = t;
|
|
37
37
|
let n = {};
|
|
38
|
-
if (m && Array.isArray(e) ? n =
|
|
38
|
+
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)
|
|
39
39
|
try {
|
|
40
40
|
c[t.onChange](g, e, n);
|
|
41
41
|
} catch (a) {
|
|
@@ -48,19 +48,19 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
48
48
|
} catch (e) {
|
|
49
49
|
console.error(e);
|
|
50
50
|
}
|
|
51
|
-
}, { currentOptions:
|
|
52
|
-
return (e,
|
|
51
|
+
}, { currentOptions: d, loading: V } = U(t);
|
|
52
|
+
return (e, s) => {
|
|
53
53
|
var _;
|
|
54
54
|
const m = f("el-option"), p = f("el-select"), n = f("el-button"), a = I("loading");
|
|
55
55
|
return e.read ? (o(), i("div", q, [
|
|
56
56
|
e.multiple ? (o(), i("div", z, y(r.value && r.value.map((l) => {
|
|
57
57
|
var K;
|
|
58
|
-
return (K = u(
|
|
59
|
-
}).join("、")), 1)) : (o(), i("div", G, y(((_ = u(
|
|
58
|
+
return (K = u(d).find((D) => D[e.valueKey] === l)) == null ? void 0 : K[e.labelKey];
|
|
59
|
+
}).join("、")), 1)) : (o(), i("div", G, y(((_ = u(d).find((l) => l[e.valueKey] === r.value)) == null ? void 0 : _[e.labelKey]) || "--"), 1))
|
|
60
60
|
])) : (o(), i("div", H, [
|
|
61
61
|
N((o(), C(p, j({
|
|
62
62
|
modelValue: r.value,
|
|
63
|
-
"onUpdate:modelValue":
|
|
63
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => r.value = l)
|
|
64
64
|
}, e.$attrs, {
|
|
65
65
|
onChange: B,
|
|
66
66
|
multiple: e.multiple,
|
|
@@ -69,7 +69,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
69
69
|
disabled: e.disabled
|
|
70
70
|
}), {
|
|
71
71
|
default: b(() => [
|
|
72
|
-
(o(!0), i(O, null, P(u(
|
|
72
|
+
(o(!0), i(O, null, P(u(d), (l) => (o(), C(m, {
|
|
73
73
|
key: l[e.valueKey],
|
|
74
74
|
label: l[e.labelKey],
|
|
75
75
|
value: l[e.valueKey],
|
|
@@ -98,7 +98,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
98
98
|
]));
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
}), X = /* @__PURE__ */ L(J, [["__scopeId", "data-v-
|
|
101
|
+
}), X = /* @__PURE__ */ L(J, [["__scopeId", "data-v-da2bde35"]]);
|
|
102
102
|
export {
|
|
103
103
|
X as default
|
|
104
104
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as F, mergeModels as w, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as K, mergeProps as N, unref as V, withCtx as m, createElementVNode as r, Fragment as T, renderList as j, createTextVNode as E } from "vue";
|
|
2
|
-
import { u as I } from "./index-
|
|
3
|
-
import { u as O } from "./useSelect-
|
|
2
|
+
import { u as I } from "./index-DbxXltHn.js";
|
|
3
|
+
import { u as O } from "./useSelect-Ch1gHsbw.js";
|
|
4
4
|
const P = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ w({
|