asiaint-lowcode 3.0.47 → 3.0.49
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.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +160 -160
- package/dist/index.d.ts +1 -0
- package/dist/lazy/{Card-CF_NgmNp.js → Card-DMjUpAIj.js} +1 -1
- package/dist/lazy/{Cascader-DaxKgxfl.js → Cascader-BT35dY5a.js} +1 -1
- package/dist/lazy/{Checkbox-B37Nh5li.js → Checkbox-Ci68WFSK.js} +2 -2
- package/dist/lazy/{Collapse-DMs8lxCn.js → Collapse-2gI86A_7.js} +1 -1
- package/dist/lazy/{Component-CL4y4U4J.js → Component-Bb4MX577.js} +1 -1
- package/dist/lazy/{Component-DsPgKtl3.js → Component-BshKf2fx.js} +1 -1
- package/dist/lazy/{Component-Owfajd_f.js → Component-CQ_IOd1F.js} +1 -1
- package/dist/lazy/{Component-D_8i0kAX.js → Component-CupeeD39.js} +1 -1
- package/dist/lazy/{Component-DIhsQv7d.js → Component-DLYq9LM0.js} +1 -1
- package/dist/lazy/{Component-DZfUPDV9.js → Component-DtA_b93M.js} +1 -1
- package/dist/lazy/CurdCard-CKXu74a9.js +160 -0
- package/dist/lazy/{Custom-DXaaDA8o.js → Custom-DjuGXd6F.js} +1 -1
- package/dist/lazy/{FormList-DN5sXMbg.js → FormList-Bj4lHerF.js} +1 -1
- package/dist/lazy/{Grid-CiikWD1Y.js → Grid-Mk8mub7Q.js} +1 -1
- package/dist/lazy/{Inline-BvP2kYB1.js → Inline-DSqJRCsx.js} +1 -1
- package/dist/lazy/{JsonEdit-DWPQM6yX.js → JsonEdit-DicMSM8-.js} +1 -1
- package/dist/lazy/{ObjGroup-Dfj9Fvjw.js → ObjGroup-Cg4dRbsJ.js} +1 -1
- package/dist/lazy/OfferDetails-DB_EzEAA.js +183 -0
- package/dist/lazy/OrderProgress-CZpGdfnW.js +19 -0
- package/dist/lazy/{Radio-tsTf7eY8.js → Radio-BX5Zmp8e.js} +2 -2
- package/dist/lazy/{SearchSelect-B6M9BgBX.js → SearchSelect-kvSJSKSC.js} +2 -2
- package/dist/lazy/{Select-C8bwz8Vr.js → Select-BIPa0tLx.js} +2 -2
- package/dist/lazy/{Table-CGfH72EA.js → Table-BbjU_j_p.js} +5 -4
- package/dist/lazy/{Tabs-DMBiIdgv.js → Tabs-GI54UFjX.js} +1 -1
- package/dist/lazy/{Wrapper-QquqWZfB.js → Wrapper-DvJMU1UR.js} +14 -13
- package/dist/lazy/{index-Dbe9PR9M.js → index-DSejQqUN.js} +4669 -4629
- package/dist/lazy/{useSelect-6ZdkgSmW.js → useSelect-Cqr1eRPd.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/CurdCard-NaCUwFiz.js +0 -135
- package/dist/lazy/OfferDetails-8BXZenOQ.js +0 -170
package/package.json
CHANGED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, inject as I, ref as w, resolveComponent as _, openBlock as n, createElementBlock as s, createElementVNode as a, normalizeClass as h, createBlock as p, createCommentVNode as v, toDisplayString as N, Fragment as g, renderList as V, withCtx as B, createVNode as i, unref as f, withDirectives as z, vShow as D } from "vue";
|
|
2
|
-
import { u as j, I as c, B as L, a as T, h as P, b as R } from "./index-Dbe9PR9M.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const q = { class: "crm-curd-card" }, A = { class: "left-part" }, G = { class: "title" }, H = { class: "right-part" }, J = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "switch-panel"
|
|
7
|
-
}, K = { key: 2 }, O = /* @__PURE__ */ F({
|
|
8
|
-
__name: "CurdCard",
|
|
9
|
-
props: {
|
|
10
|
-
name: {},
|
|
11
|
-
children: {},
|
|
12
|
-
collapsible: { type: Boolean },
|
|
13
|
-
onCollapsed: {},
|
|
14
|
-
typeSwitch: { type: Boolean },
|
|
15
|
-
title: {},
|
|
16
|
-
btns: {},
|
|
17
|
-
type: {},
|
|
18
|
-
mainIcon: {},
|
|
19
|
-
extraIcons: {},
|
|
20
|
-
displayType: {}
|
|
21
|
-
},
|
|
22
|
-
setup(M) {
|
|
23
|
-
const d = I("ruleModule", void 0), k = I("pageMethodMap", {}), r = M, b = (e) => {
|
|
24
|
-
if (e && d)
|
|
25
|
-
try {
|
|
26
|
-
d[e](k);
|
|
27
|
-
} catch (o) {
|
|
28
|
-
console.error(o);
|
|
29
|
-
}
|
|
30
|
-
}, S = () => {
|
|
31
|
-
t.value = !t.value, r.onCollapsed && d && d[r.onCollapsed](k, t.value);
|
|
32
|
-
}, t = w(!1), m = w(r.displayType || (r.typeSwitch ? "card" : "table")), $ = j(), y = (e) => {
|
|
33
|
-
m.value = e;
|
|
34
|
-
const o = P($.schema.items, r.name), u = (C) => {
|
|
35
|
-
C.forEach((l) => {
|
|
36
|
-
l.component === "Table" && l.props && (l.props.displayType = e), l.children && l.children.length > 0 && u(l.children);
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
o && o.children && u(o.children);
|
|
40
|
-
};
|
|
41
|
-
return y(m.value), (e, o) => {
|
|
42
|
-
const u = _("el-tooltip"), C = _("el-collapse-transition");
|
|
43
|
-
return n(), s("div", q, [
|
|
44
|
-
a("div", {
|
|
45
|
-
class: h(["card-header", {
|
|
46
|
-
inline: e.type === "inline",
|
|
47
|
-
mix: e.type === "mix",
|
|
48
|
-
default: e.type === "default",
|
|
49
|
-
collapsedPadding: t.value && e.onCollapsed
|
|
50
|
-
}])
|
|
51
|
-
}, [
|
|
52
|
-
a("div", A, [
|
|
53
|
-
e.mainIcon ? (n(), p(c, {
|
|
54
|
-
key: 0,
|
|
55
|
-
class: "title-icon",
|
|
56
|
-
size: "large",
|
|
57
|
-
name: e.mainIcon.name,
|
|
58
|
-
color: e.mainIcon.color
|
|
59
|
-
}, null, 8, ["name", "color"])) : v("", !0),
|
|
60
|
-
a("span", G, N(e.title), 1),
|
|
61
|
-
(n(!0), s(g, null, V(e.extraIcons, (l) => (n(), s(g, {
|
|
62
|
-
key: l.name
|
|
63
|
-
}, [
|
|
64
|
-
l.tips ? (n(), p(u, {
|
|
65
|
-
key: 0,
|
|
66
|
-
content: l.tips,
|
|
67
|
-
placement: "right"
|
|
68
|
-
}, {
|
|
69
|
-
default: B(() => [
|
|
70
|
-
i(c, {
|
|
71
|
-
class: "extra-icon",
|
|
72
|
-
name: l.name,
|
|
73
|
-
color: l.color,
|
|
74
|
-
onClick: (E) => b(l.onClick)
|
|
75
|
-
}, null, 8, ["name", "color", "onClick"])
|
|
76
|
-
]),
|
|
77
|
-
_: 2
|
|
78
|
-
}, 1032, ["content"])) : (n(), p(c, {
|
|
79
|
-
key: 1,
|
|
80
|
-
class: "extra-icon",
|
|
81
|
-
name: l.name,
|
|
82
|
-
color: l.color,
|
|
83
|
-
onClick: (E) => b(l.onClick)
|
|
84
|
-
}, null, 8, ["name", "color", "onClick"]))
|
|
85
|
-
], 64))), 128))
|
|
86
|
-
]),
|
|
87
|
-
a("div", H, [
|
|
88
|
-
e.typeSwitch ? (n(), s("div", J, [
|
|
89
|
-
a("div", {
|
|
90
|
-
class: h(["switch-icon-wrapper", { active: m.value === "card" }]),
|
|
91
|
-
onClick: o[0] || (o[0] = (l) => y("card"))
|
|
92
|
-
}, [
|
|
93
|
-
i(c, { name: "icon-kapian" })
|
|
94
|
-
], 2),
|
|
95
|
-
a("div", {
|
|
96
|
-
class: h(["switch-icon-wrapper", { active: m.value === "table" }]),
|
|
97
|
-
onClick: o[1] || (o[1] = (l) => y("table"))
|
|
98
|
-
}, [
|
|
99
|
-
i(c, { name: "icon-biaoge" })
|
|
100
|
-
], 2)
|
|
101
|
-
])) : v("", !0),
|
|
102
|
-
e.collapsible ? (n(), s("div", {
|
|
103
|
-
key: 1,
|
|
104
|
-
class: h(["collapse-icon-wrapper", { collapsed: t.value }]),
|
|
105
|
-
onClick: S
|
|
106
|
-
}, [
|
|
107
|
-
i(c, { name: "icon-shaixuan" })
|
|
108
|
-
], 2)) : v("", !0),
|
|
109
|
-
e.btns && e.btns.length > 0 ? (n(), s("div", K, [
|
|
110
|
-
i(f(L), {
|
|
111
|
-
btns: e.btns || []
|
|
112
|
-
}, null, 8, ["btns"])
|
|
113
|
-
])) : v("", !0)
|
|
114
|
-
])
|
|
115
|
-
], 2),
|
|
116
|
-
e.onCollapsed ? (n(), p(f(T), {
|
|
117
|
-
key: 1,
|
|
118
|
-
list: e.children
|
|
119
|
-
}, null, 8, ["list"])) : (n(), p(C, { key: 0 }, {
|
|
120
|
-
default: B(() => [
|
|
121
|
-
z(a("div", null, [
|
|
122
|
-
i(f(T), { list: e.children }, null, 8, ["list"])
|
|
123
|
-
], 512), [
|
|
124
|
-
[D, !t.value]
|
|
125
|
-
])
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
}))
|
|
129
|
-
]);
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
}), X = /* @__PURE__ */ R(O, [["__scopeId", "data-v-c1f1135c"]]);
|
|
133
|
-
export {
|
|
134
|
-
X as default
|
|
135
|
-
};
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, resolveComponent as I, openBlock as o, createBlock as N, withCtx as B, createVNode as m, createElementVNode as i, createElementBlock as s, Fragment as h, renderList as _, toDisplayString as b, createCommentVNode as T, ref as w, inject as P, watchEffect as S, onMounted as A, normalizeStyle as M } from "vue";
|
|
2
|
-
import { j as O, $, b as z } from "./index-Dbe9PR9M.js";
|
|
3
|
-
const F = { class: "content" }, j = { class: "product-list" }, x = { class: "attribute-list" }, K = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "attribute-list-item"
|
|
6
|
-
}, L = { class: "product-title attribute-title" }, R = { class: "attribute-item-list" }, V = { class: "attribute-label" }, U = { class: "attribute-value" }, q = /* @__PURE__ */ E({
|
|
7
|
-
__name: "OfferDetailItem",
|
|
8
|
-
props: {
|
|
9
|
-
data: {},
|
|
10
|
-
btns: {},
|
|
11
|
-
index: {}
|
|
12
|
-
},
|
|
13
|
-
setup(v) {
|
|
14
|
-
return (n, d) => {
|
|
15
|
-
const f = I("el-popover");
|
|
16
|
-
return o(), N(f, {
|
|
17
|
-
"popper-class": "offer-detail",
|
|
18
|
-
placement: "right"
|
|
19
|
-
}, {
|
|
20
|
-
reference: B(() => [
|
|
21
|
-
m(O, {
|
|
22
|
-
data: n.data,
|
|
23
|
-
btns: n.btns,
|
|
24
|
-
index: n.index
|
|
25
|
-
}, null, 8, ["data", "btns", "index"])
|
|
26
|
-
]),
|
|
27
|
-
default: B(() => [
|
|
28
|
-
i("div", F, [
|
|
29
|
-
d[0] || (d[0] = i("div", { class: "product-title" }, "Product", -1)),
|
|
30
|
-
i("div", j, [
|
|
31
|
-
(o(!0), s(h, null, _(n.data.product, (l) => (o(), s("div", {
|
|
32
|
-
class: "product-item",
|
|
33
|
-
key: l.label
|
|
34
|
-
}, b(l.label), 1))), 128))
|
|
35
|
-
]),
|
|
36
|
-
i("div", x, [
|
|
37
|
-
(o(!0), s(h, null, _(n.data.product, (l) => (o(), s(h, {
|
|
38
|
-
key: l.label
|
|
39
|
-
}, [
|
|
40
|
-
l.children.length > 0 ? (o(), s("div", K, [
|
|
41
|
-
i("div", L, b(l.label), 1),
|
|
42
|
-
i("div", R, [
|
|
43
|
-
(o(!0), s(h, null, _(l.children, (c) => (o(), s("div", {
|
|
44
|
-
class: "attribute-item",
|
|
45
|
-
key: c.label
|
|
46
|
-
}, [
|
|
47
|
-
i("div", V, b(c.label), 1),
|
|
48
|
-
i("div", U, b(c.value || "--"), 1)
|
|
49
|
-
]))), 128))
|
|
50
|
-
])
|
|
51
|
-
])) : T("", !0)
|
|
52
|
-
], 64))), 128))
|
|
53
|
-
])
|
|
54
|
-
])
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
}), G = {
|
|
61
|
-
key: 0,
|
|
62
|
-
class: "empty-content"
|
|
63
|
-
}, H = /* @__PURE__ */ E({
|
|
64
|
-
__name: "OfferDetails",
|
|
65
|
-
props: {
|
|
66
|
-
title: {},
|
|
67
|
-
key: {},
|
|
68
|
-
rulePath: {},
|
|
69
|
-
rowKey: {},
|
|
70
|
-
showDynamicSearch: { type: Boolean },
|
|
71
|
-
multipleSelection: { type: Boolean },
|
|
72
|
-
highlightCurrentRow: { type: Boolean },
|
|
73
|
-
"highlight-current-row": { type: Boolean },
|
|
74
|
-
stripe: { type: Boolean },
|
|
75
|
-
rowClick: {},
|
|
76
|
-
rowDbClick: {},
|
|
77
|
-
sizeChange: {},
|
|
78
|
-
pageChange: {},
|
|
79
|
-
topBtns: {},
|
|
80
|
-
rowBtns: {},
|
|
81
|
-
hidden: { type: Boolean },
|
|
82
|
-
hiddenPagination: { type: Boolean },
|
|
83
|
-
handleCurrentChange: {},
|
|
84
|
-
pageSizes: {},
|
|
85
|
-
pagerCount: {},
|
|
86
|
-
defaultPageSize: {},
|
|
87
|
-
typeSwitch: { type: Boolean },
|
|
88
|
-
displayType: {},
|
|
89
|
-
onMounted: {},
|
|
90
|
-
onActivated: {},
|
|
91
|
-
height: {},
|
|
92
|
-
collapsible: { type: Boolean },
|
|
93
|
-
gridColumns: { default: 3 },
|
|
94
|
-
gap: { default: 16 },
|
|
95
|
-
data: {},
|
|
96
|
-
columns: {},
|
|
97
|
-
getColText: {}
|
|
98
|
-
},
|
|
99
|
-
setup(v) {
|
|
100
|
-
var C, k;
|
|
101
|
-
const n = v, d = w(), f = w([]), l = (C = n.columns.find((e) => e.position === "title")) == null ? void 0 : C.key, c = (k = n.columns.find((e) => e.position === "subTitle")) == null ? void 0 : k.key, u = n.columns.find((e) => e.position === "footer"), D = (e) => {
|
|
102
|
-
const t = [];
|
|
103
|
-
return e.children && e.children.length > 0 && e.children.forEach((a) => {
|
|
104
|
-
const y = {
|
|
105
|
-
label: a.PRODUCT_ITEM_NAME,
|
|
106
|
-
children: []
|
|
107
|
-
};
|
|
108
|
-
a.children && a.children.length > 0 && a.children.forEach((p) => {
|
|
109
|
-
y.children.push({
|
|
110
|
-
label: p.PRODUCT_ITEM_NAME,
|
|
111
|
-
value: p.ACTION
|
|
112
|
-
});
|
|
113
|
-
}), t.push(y);
|
|
114
|
-
}), t;
|
|
115
|
-
}, g = P($), r = g ? g.translateFn : null;
|
|
116
|
-
return S(() => {
|
|
117
|
-
n.data && (d.value = n.data.map((e) => {
|
|
118
|
-
const t = {
|
|
119
|
-
content: []
|
|
120
|
-
};
|
|
121
|
-
return l && (t.title = r ? r(l, e) : e[l], t.titleColor = "#18AAF8"), c && (t.subTitle = r ? r(c, e) : e[c]), u && (t.footer = {
|
|
122
|
-
icon: u.footerIcon || "icon-tishi",
|
|
123
|
-
text: `${u.label}: ${r ? r(u.key, e) : e[u.key]}`
|
|
124
|
-
}), e.children && (t.product = D(e)), n.columns.forEach((a) => {
|
|
125
|
-
a.position === "content" && t.content.push({
|
|
126
|
-
label: a.label,
|
|
127
|
-
value: r ? r(a.key, e) : e[a.key]
|
|
128
|
-
});
|
|
129
|
-
}), t;
|
|
130
|
-
}));
|
|
131
|
-
}), A(() => {
|
|
132
|
-
var e;
|
|
133
|
-
f.value = (e = n.rowBtns) == null ? void 0 : e.map((t) => ({
|
|
134
|
-
icon: t.icon && t.icon.name ? t.icon.name : "icon-tishi",
|
|
135
|
-
label: t.label,
|
|
136
|
-
onClick: t.onClick
|
|
137
|
-
}));
|
|
138
|
-
}), (e, t) => {
|
|
139
|
-
const a = I("Icon");
|
|
140
|
-
return o(), s("div", {
|
|
141
|
-
class: "card-list",
|
|
142
|
-
style: M({
|
|
143
|
-
"--columns": e.gridColumns,
|
|
144
|
-
"--gap": e.gap + "px"
|
|
145
|
-
})
|
|
146
|
-
}, [
|
|
147
|
-
(o(!0), s(h, null, _(d.value, (y, p) => (o(), s("div", {
|
|
148
|
-
class: "card-list-item",
|
|
149
|
-
key: p
|
|
150
|
-
}, [
|
|
151
|
-
m(q, {
|
|
152
|
-
data: y,
|
|
153
|
-
btns: f.value,
|
|
154
|
-
index: p
|
|
155
|
-
}, null, 8, ["data", "btns", "index"])
|
|
156
|
-
]))), 128)),
|
|
157
|
-
!e.data || e.data.length === 0 ? (o(), s("div", G, [
|
|
158
|
-
m(a, {
|
|
159
|
-
name: "tableEmpty",
|
|
160
|
-
style: { width: 56, height: 56 }
|
|
161
|
-
}),
|
|
162
|
-
t[0] || (t[0] = i("div", null, "No data available,please check", -1))
|
|
163
|
-
])) : T("", !0)
|
|
164
|
-
], 4);
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
}), W = /* @__PURE__ */ z(H, [["__scopeId", "data-v-da383eeb"]]);
|
|
168
|
-
export {
|
|
169
|
-
W as default
|
|
170
|
-
};
|