asiaint-lowcode 3.1.173 → 3.1.175
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/dist/asiaint-lowcode.d.ts +28 -0
- package/dist/asiaint-lowcode.js +6 -6
- package/dist/asiaint-lowcode.umd.cjs +206 -206
- package/dist/lazy/{Card-C2IsJjl-.js → Card-CuIuPVfa.js} +1 -1
- package/dist/lazy/{Cascader-DtfNRskC.js → Cascader-DG9-lQL_.js} +1 -1
- package/dist/lazy/{Checkbox-Pgyjkv38.js → Checkbox-DkokY_T5.js} +2 -2
- package/dist/lazy/{Collapse-p2fjIXj5.js → Collapse-CfN04wPP.js} +1 -1
- package/dist/lazy/{Component-Cy25O5Y7.js → Component-BmIr-TEc.js} +1 -1
- package/dist/lazy/{Component-KT85DtK1.js → Component-DDr0mt26.js} +1 -1
- package/dist/lazy/{Component-CEUYJCcI.js → Component-DPKOSkbS.js} +1 -1
- package/dist/lazy/{Component-BEUniu5v.js → Component-DVnr7_Wq.js} +1 -1
- package/dist/lazy/{Component-4QFybPur.js → Component-bJujdUFt.js} +1 -1
- package/dist/lazy/{CurdCard-liP44opY.js → CurdCard-fARDual0.js} +1 -1
- package/dist/lazy/{Custom-CBehxkJT.js → Custom-DLf2H4j-.js} +1 -1
- package/dist/lazy/DatePicker-DwGL3Rfo.js +73 -0
- package/dist/lazy/{DragList-MPIVBQ6T.js → DragList-CkJN4M1_.js} +13 -13
- package/dist/lazy/{FilterSearch-DAA3G3Gm.js → FilterSearch-DWIoFEYA.js} +16 -16
- package/dist/lazy/{FloatCurd-bZMIEPW0.js → FloatCurd-BIIOwN6L.js} +54 -54
- package/dist/lazy/{FloatSearchCurd-Bu7TEu2Z.js → FloatSearchCurd-B5mTYPo4.js} +123 -123
- package/dist/lazy/{FormList-CD__cvDp.js → FormList-BisnYpYy.js} +1 -1
- package/dist/lazy/{Grid-DMdyOmJQ.js → Grid-DU0cGkx3.js} +1 -1
- package/dist/lazy/{InfiniteScroll-BRcoFGSt.js → InfiniteScroll-DIBaRISh.js} +1 -1
- package/dist/lazy/{Inline-c2LFIxhQ.js → Inline-Dz8K0mcs.js} +1 -1
- package/dist/lazy/{JsonEdit-DMcmr10M.js → JsonEdit-CcHoX1MX.js} +1 -1
- package/dist/lazy/{LogList-DrqEAmjd.js → LogList-CCqb9sMw.js} +1 -1
- package/dist/lazy/{ObjGroup-oygHMWVb.js → ObjGroup-9CuErhWA.js} +5 -5
- package/dist/lazy/{OfferDetails-iy0qqd0B.js → OfferDetails-BizT7B7e.js} +67 -66
- package/dist/lazy/{Pagination-BRba7ej4.js → Pagination-BcwTZvOy.js} +1 -1
- package/dist/lazy/Progress-BEuL9CsA.js +56 -0
- package/dist/lazy/{Radio-_UkuWJ8t.js → Radio-CbcqDR_c.js} +2 -2
- package/dist/lazy/{SearchSelect-Cu5mFFyS.js → SearchSelect-PZJ79a84.js} +2 -2
- package/dist/lazy/{Select-AhZIVV8h.js → Select-CTGej9Jt.js} +2 -2
- package/dist/lazy/{Table-jEh2IqW9.js → Table-CTLmaWUi.js} +112 -112
- package/dist/lazy/Tabs-Kra7RQza.js +154 -0
- package/dist/lazy/{TextArea-DrFOcrEz.js → TextArea-D-md2_JP.js} +1 -1
- package/dist/lazy/{Wrapper-De5GkJPH.js → Wrapper-Djhw4u_A.js} +3 -3
- package/dist/lazy/{index-DIlj-4zQ.js → index-if5yiaE6.js} +7617 -7542
- package/dist/lazy/{useSelect-BqMr342s.js → useSelect-Cx92c9xA.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/DatePicker-3yZNwQpC.js +0 -73
- package/dist/lazy/Progress-DjdgocB3.js +0 -54
- package/dist/lazy/Tabs-DDV7I76Y.js +0 -150
|
@@ -1,54 +1,55 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { k as
|
|
3
|
-
|
|
1
|
+
import { defineComponent as R, resolveComponent as x, openBlock as l, createBlock as N, withCtx as P, createVNode as B, createElementVNode as i, createElementBlock as s, Fragment as u, renderList as m, toDisplayString as f, createCommentVNode as M, ref as g, inject as $, watchEffect as z, onMounted as A, onUnmounted as U, normalizeStyle as j, unref as O } from "vue";
|
|
2
|
+
import { k as F, d as K, $ as V, a as W, _ as q } from "./index-if5yiaE6.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const G = { class: "content" }, H = { class: "product-list" }, J = { class: "attribute-list" }, Q = {
|
|
4
5
|
key: 0,
|
|
5
6
|
class: "attribute-list-item"
|
|
6
|
-
},
|
|
7
|
+
}, X = { class: "product-title attribute-title" }, Y = { class: "attribute-item-list" }, Z = { class: "attribute-label" }, ee = { class: "attribute-value" }, te = /* @__PURE__ */ R({
|
|
7
8
|
__name: "OfferDetailItem",
|
|
8
9
|
props: {
|
|
9
10
|
data: {},
|
|
10
11
|
btns: {},
|
|
11
12
|
index: {}
|
|
12
13
|
},
|
|
13
|
-
setup(
|
|
14
|
-
return (a,
|
|
15
|
-
const
|
|
16
|
-
return l(), N(
|
|
14
|
+
setup(T) {
|
|
15
|
+
return (a, y) => {
|
|
16
|
+
const _ = x("el-popover");
|
|
17
|
+
return l(), N(_, {
|
|
17
18
|
"popper-class": "offer-detail",
|
|
18
19
|
placement: "right"
|
|
19
20
|
}, {
|
|
20
|
-
reference:
|
|
21
|
-
|
|
21
|
+
reference: P(() => [
|
|
22
|
+
B(F, {
|
|
22
23
|
data: a.data,
|
|
23
24
|
btns: a.btns,
|
|
24
25
|
index: a.index
|
|
25
26
|
}, null, 8, ["data", "btns", "index"])
|
|
26
27
|
]),
|
|
27
|
-
default:
|
|
28
|
-
i("div",
|
|
29
|
-
|
|
30
|
-
i("div",
|
|
31
|
-
(l(!0),
|
|
28
|
+
default: P(() => [
|
|
29
|
+
i("div", G, [
|
|
30
|
+
y[0] || (y[0] = i("div", { class: "product-title" }, "Product", -1)),
|
|
31
|
+
i("div", H, [
|
|
32
|
+
(l(!0), s(u, null, m(a.data.product, (r) => (l(), s("div", {
|
|
32
33
|
class: "product-item",
|
|
33
|
-
key:
|
|
34
|
-
},
|
|
34
|
+
key: r.label
|
|
35
|
+
}, f(r.label), 1))), 128))
|
|
35
36
|
]),
|
|
36
|
-
i("div",
|
|
37
|
-
(l(!0),
|
|
38
|
-
key:
|
|
37
|
+
i("div", J, [
|
|
38
|
+
(l(!0), s(u, null, m(a.data.product, (r) => (l(), s(u, {
|
|
39
|
+
key: r.label
|
|
39
40
|
}, [
|
|
40
|
-
|
|
41
|
-
i("div",
|
|
42
|
-
i("div",
|
|
43
|
-
(l(!0),
|
|
41
|
+
r.children.length > 0 ? (l(), s("div", Q, [
|
|
42
|
+
i("div", X, f(r.label), 1),
|
|
43
|
+
i("div", Y, [
|
|
44
|
+
(l(!0), s(u, null, m(r.children, (d) => (l(), s("div", {
|
|
44
45
|
class: "attribute-item",
|
|
45
46
|
key: d.label
|
|
46
47
|
}, [
|
|
47
|
-
i("div",
|
|
48
|
-
i("div",
|
|
48
|
+
i("div", Z, f(d.label), 1),
|
|
49
|
+
i("div", ee, f(d.value || "--"), 1)
|
|
49
50
|
]))), 128))
|
|
50
51
|
])
|
|
51
|
-
])) :
|
|
52
|
+
])) : M("", !0)
|
|
52
53
|
], 64))), 128))
|
|
53
54
|
])
|
|
54
55
|
])
|
|
@@ -57,10 +58,10 @@ const W = { class: "content" }, q = { class: "product-list" }, G = { class: "att
|
|
|
57
58
|
});
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
|
-
}),
|
|
61
|
+
}), oe = {
|
|
61
62
|
key: 0,
|
|
62
63
|
class: "empty-content"
|
|
63
|
-
},
|
|
64
|
+
}, ne = /* @__PURE__ */ R({
|
|
64
65
|
__name: "OfferDetails",
|
|
65
66
|
props: {
|
|
66
67
|
title: {},
|
|
@@ -108,44 +109,44 @@ const W = { class: "content" }, q = { class: "product-list" }, G = { class: "att
|
|
|
108
109
|
columns: {},
|
|
109
110
|
getColText: {}
|
|
110
111
|
},
|
|
111
|
-
setup(
|
|
112
|
-
var
|
|
113
|
-
const a =
|
|
112
|
+
setup(T) {
|
|
113
|
+
var D, I;
|
|
114
|
+
const a = T, y = K(), _ = g(), r = g([]), d = (D = a.columns.find((t) => t.position === "title")) == null ? void 0 : D.key, C = (I = a.columns.find((t) => t.position === "subTitle")) == null ? void 0 : I.key, p = a.columns.find((t) => t.position === "footer"), S = (t) => {
|
|
114
115
|
const e = [];
|
|
115
116
|
return t.children && t.children.length > 0 && t.children.forEach((o) => {
|
|
116
117
|
const n = {
|
|
117
118
|
label: o.PRODUCT_ITEM_NAME,
|
|
118
119
|
children: []
|
|
119
120
|
};
|
|
120
|
-
o.children && o.children.length > 0 && o.children.forEach((
|
|
121
|
+
o.children && o.children.length > 0 && o.children.forEach((h) => {
|
|
121
122
|
n.children.push({
|
|
122
|
-
label:
|
|
123
|
-
value:
|
|
123
|
+
label: h.PRODUCT_ITEM_NAME,
|
|
124
|
+
value: h.ACTION
|
|
124
125
|
});
|
|
125
126
|
}), e.push(n);
|
|
126
127
|
}), e;
|
|
127
128
|
};
|
|
128
|
-
function
|
|
129
|
+
function L(t) {
|
|
129
130
|
const e = {}, o = [];
|
|
130
131
|
return t.forEach((n) => {
|
|
131
132
|
e[n.PRODUCT_ITEM_ID] = { ...n, children: [] };
|
|
132
133
|
}), t.forEach((n) => {
|
|
133
|
-
const
|
|
134
|
-
|
|
134
|
+
const h = e[n.PRODUCT_ITEM_ID], k = n.PARENT_PRODUCT_ITEM_ID;
|
|
135
|
+
k === 0 || !e[k] ? o.push(h) : e[k].children.push(h);
|
|
135
136
|
}), o;
|
|
136
137
|
}
|
|
137
|
-
const
|
|
138
|
-
|
|
138
|
+
const w = $(V), c = w ? w.translateFn : null;
|
|
139
|
+
z(() => {
|
|
139
140
|
if (a.data) {
|
|
140
|
-
const t =
|
|
141
|
-
|
|
141
|
+
const t = L(a.data);
|
|
142
|
+
_.value = t.map((e) => {
|
|
142
143
|
const o = {
|
|
143
144
|
content: []
|
|
144
145
|
};
|
|
145
|
-
return
|
|
146
|
-
icon:
|
|
147
|
-
text: `${
|
|
148
|
-
}), e.children && (o.product =
|
|
146
|
+
return d && (o.title = c ? c(d, e) : e[d], o.titleColor = "var(--el-color-primary)"), C && (o.subTitle = c ? c(C, e) : e[C]), p && (o.footer = {
|
|
147
|
+
icon: p.footerIcon || "icon-tishi",
|
|
148
|
+
text: `${p.label}: ${c ? c(p.key, e) : e[p.key]}`
|
|
149
|
+
}), e.children && (o.product = S(e)), a.columns.forEach((n) => {
|
|
149
150
|
n.position === "content" && o.content.push({
|
|
150
151
|
label: n.label,
|
|
151
152
|
value: c ? c(n.key, e) : e[n.key]
|
|
@@ -155,52 +156,52 @@ const W = { class: "content" }, q = { class: "product-list" }, G = { class: "att
|
|
|
155
156
|
}
|
|
156
157
|
});
|
|
157
158
|
let b = null;
|
|
158
|
-
const
|
|
159
|
-
return
|
|
159
|
+
const v = g(), E = g(3);
|
|
160
|
+
return A(() => {
|
|
160
161
|
var t;
|
|
161
|
-
|
|
162
|
+
r.value = (t = a.rowBtns) == null ? void 0 : t.map((e) => ({
|
|
162
163
|
icon: e.icon && e.icon.name ? e.icon.name : "icon-tishi",
|
|
163
164
|
label: e.label,
|
|
164
165
|
onClick: e.onClick
|
|
165
166
|
})), b = new ResizeObserver((e) => {
|
|
166
167
|
for (const o of e) {
|
|
167
168
|
const n = o.contentRect.width;
|
|
168
|
-
|
|
169
|
+
E.value = Math.floor(n / 330) || 1;
|
|
169
170
|
}
|
|
170
|
-
}), b.observe(
|
|
171
|
-
}),
|
|
172
|
-
b &&
|
|
173
|
-
}), (t, e) => (l(),
|
|
171
|
+
}), b.observe(v.value);
|
|
172
|
+
}), U(() => {
|
|
173
|
+
b && v.value && b.unobserve(v.value);
|
|
174
|
+
}), (t, e) => (l(), s(u, null, [
|
|
174
175
|
i("div", {
|
|
175
176
|
ref_key: "cardListRef",
|
|
176
|
-
ref:
|
|
177
|
+
ref: v,
|
|
177
178
|
class: "card-list",
|
|
178
|
-
style:
|
|
179
|
-
"--columns":
|
|
179
|
+
style: j({
|
|
180
|
+
"--columns": E.value,
|
|
180
181
|
"--gap": t.gap + "px"
|
|
181
182
|
})
|
|
182
183
|
}, [
|
|
183
|
-
(l(!0),
|
|
184
|
+
(l(!0), s(u, null, m(_.value, (o, n) => (l(), s("div", {
|
|
184
185
|
class: "card-list-item",
|
|
185
186
|
key: n
|
|
186
187
|
}, [
|
|
187
|
-
|
|
188
|
+
B(te, {
|
|
188
189
|
data: o,
|
|
189
|
-
btns:
|
|
190
|
+
btns: r.value,
|
|
190
191
|
index: n
|
|
191
192
|
}, null, 8, ["data", "btns", "index"])
|
|
192
193
|
]))), 128))
|
|
193
194
|
], 4),
|
|
194
|
-
!t.data || t.data.length === 0 ? (l(),
|
|
195
|
-
|
|
195
|
+
!t.data || t.data.length === 0 ? (l(), s("div", oe, [
|
|
196
|
+
B(O(W), {
|
|
196
197
|
name: "tableEmpty",
|
|
197
198
|
style: { width: 56, height: 56 }
|
|
198
199
|
}),
|
|
199
|
-
|
|
200
|
-
])) :
|
|
200
|
+
i("div", null, f(O(y).table.emptyText), 1)
|
|
201
|
+
])) : M("", !0)
|
|
201
202
|
], 64));
|
|
202
203
|
}
|
|
203
|
-
}),
|
|
204
|
+
}), re = /* @__PURE__ */ q(ne, [["__scopeId", "data-v-d3890d66"]]);
|
|
204
205
|
export {
|
|
205
|
-
|
|
206
|
+
re as default
|
|
206
207
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, ref as d, computed as U, onUnmounted as b, resolveComponent as C, openBlock as s, createElementBlock as S, normalizeStyle as M, createBlock as f, withCtx as j, createElementVNode as r, createVNode as L, createCommentVNode as x, createTextVNode as m, toDisplayString as h } from "vue";
|
|
2
|
-
import { c as E,
|
|
2
|
+
import { c as E, j as I, _ as R } from "./index-if5yiaE6.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const T = { class: "custom-slot" }, D = {
|
|
5
5
|
key: 0,
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as u, resolveComponent as c, openBlock as n, createElementBlock as l, createVNode as a, withCtx as r, Fragment as f, renderList as h, createBlock as g, createElementVNode as e, toDisplayString as o, createTextVNode as k, unref as i, createCommentVNode as N } from "vue";
|
|
2
|
+
import { d as v, I as y, a as C, _ as V } from "./index-if5yiaE6.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const x = { class: "progress" }, B = { class: "timeline-content" }, E = { class: "timeline-content__title" }, I = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "empty-content"
|
|
7
|
+
}, b = /* @__PURE__ */ u({
|
|
8
|
+
__name: "Progress",
|
|
9
|
+
props: {
|
|
10
|
+
data: {}
|
|
11
|
+
},
|
|
12
|
+
setup(w) {
|
|
13
|
+
const m = v();
|
|
14
|
+
return (s, z) => {
|
|
15
|
+
const _ = c("el-timeline-item"), d = c("el-timeline");
|
|
16
|
+
return n(), l("div", x, [
|
|
17
|
+
a(d, null, {
|
|
18
|
+
default: r(() => [
|
|
19
|
+
(n(!0), l(f, null, h(s.data, (t, p) => (n(), g(_, {
|
|
20
|
+
key: p,
|
|
21
|
+
size: "large"
|
|
22
|
+
}, {
|
|
23
|
+
dot: r(() => [
|
|
24
|
+
a(y, {
|
|
25
|
+
name: t.iconName,
|
|
26
|
+
size: "large"
|
|
27
|
+
}, null, 8, ["name"])
|
|
28
|
+
]),
|
|
29
|
+
default: r(() => [
|
|
30
|
+
e("div", B, [
|
|
31
|
+
e("div", E, [
|
|
32
|
+
e("span", null, o(t.title), 1),
|
|
33
|
+
e("span", null, o(t.timestamp), 1)
|
|
34
|
+
]),
|
|
35
|
+
k(" " + o(t.content), 1)
|
|
36
|
+
])
|
|
37
|
+
]),
|
|
38
|
+
_: 2
|
|
39
|
+
}, 1024))), 128))
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
42
|
+
}),
|
|
43
|
+
!s.data || s.data.length === 0 ? (n(), l("div", I, [
|
|
44
|
+
a(i(C), {
|
|
45
|
+
name: "tableEmpty",
|
|
46
|
+
style: { width: 56, height: 56 }
|
|
47
|
+
}),
|
|
48
|
+
e("div", null, o(i(m).table.emptyText), 1)
|
|
49
|
+
])) : N("", !0)
|
|
50
|
+
]);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}), T = /* @__PURE__ */ V(b, [["__scopeId", "data-v-c78f15c2"]]);
|
|
54
|
+
export {
|
|
55
|
+
T as default
|
|
56
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as T, mergeModels as w, useModel as F, inject as g, resolveComponent as i, resolveDirective as S, openBlock as o, createElementBlock as c, toDisplayString as z, unref as u, withDirectives as I, createBlock as y, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
|
|
2
|
-
import { u as E, _ as N } from "./index-
|
|
3
|
-
import { u as O } from "./useSelect-
|
|
2
|
+
import { u as E, _ as N } from "./index-if5yiaE6.js";
|
|
3
|
+
import { u as O } from "./useSelect-Cx92c9xA.js";
|
|
4
4
|
const P = { key: 0 }, R = /* @__PURE__ */ T({
|
|
5
5
|
__name: "Radio",
|
|
6
6
|
props: /* @__PURE__ */ w({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as F, useModel as $, inject as C, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as I, createBlock as K, mergeProps as N, withCtx as h, Fragment as T, renderList as j, createTextVNode as E, createVNode as B } from "vue";
|
|
2
|
-
import { u as O, a as P, _ as L } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as O, a as P, _ as L } from "./index-if5yiaE6.js";
|
|
3
|
+
import { u as U } from "./useSelect-Cx92c9xA.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as D, mergeModels as F, computed as y, useModel as T, inject as b, ref as $, watch as C, resolveComponent as K, openBlock as p, createElementBlock as M, normalizeStyle as x, toDisplayString as S, createBlock as V, mergeProps as A, unref as E, withCtx as m, createElementVNode as u, Fragment as j, renderList as I, createTextVNode as P } from "vue";
|
|
2
|
-
import { u as R } from "./index-
|
|
3
|
-
import { u as z } from "./useSelect-
|
|
2
|
+
import { u as R } from "./index-if5yiaE6.js";
|
|
3
|
+
import { u as z } from "./useSelect-Cx92c9xA.js";
|
|
4
4
|
const L = { style: { "min-height": "32px" } }, G = /* @__PURE__ */ D({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ F({
|