asiaint-lowcode 3.0.47 → 3.0.48

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.
Files changed (32) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +162 -162
  3. package/dist/lazy/{Card-CF_NgmNp.js → Card-CXT24hFY.js} +1 -1
  4. package/dist/lazy/{Cascader-DaxKgxfl.js → Cascader-Pokg08yK.js} +1 -1
  5. package/dist/lazy/{Checkbox-B37Nh5li.js → Checkbox-Bfi1igXe.js} +2 -2
  6. package/dist/lazy/{Collapse-DMs8lxCn.js → Collapse-Cq3Z5LUb.js} +1 -1
  7. package/dist/lazy/{Component-DZfUPDV9.js → Component-9AnEsQDK.js} +1 -1
  8. package/dist/lazy/{Component-D_8i0kAX.js → Component-Ae6iIDeb.js} +1 -1
  9. package/dist/lazy/{Component-Owfajd_f.js → Component-BRpV8m6X.js} +1 -1
  10. package/dist/lazy/{Component-DIhsQv7d.js → Component-BjWBsfKW.js} +1 -1
  11. package/dist/lazy/{Component-DsPgKtl3.js → Component-Brf8Tpla.js} +1 -1
  12. package/dist/lazy/{Component-CL4y4U4J.js → Component-C-fNXd9T.js} +1 -1
  13. package/dist/lazy/{CurdCard-NaCUwFiz.js → CurdCard-DBLv0WYy.js} +1 -1
  14. package/dist/lazy/{Custom-DXaaDA8o.js → Custom-hWu0Q6FZ.js} +1 -1
  15. package/dist/lazy/{FormList-DN5sXMbg.js → FormList-BCBAuCnO.js} +1 -1
  16. package/dist/lazy/{Grid-CiikWD1Y.js → Grid-DHoPAE4o.js} +1 -1
  17. package/dist/lazy/{Inline-BvP2kYB1.js → Inline-52tfJp9S.js} +1 -1
  18. package/dist/lazy/{JsonEdit-DWPQM6yX.js → JsonEdit-Diiqc8Fx.js} +1 -1
  19. package/dist/lazy/{ObjGroup-Dfj9Fvjw.js → ObjGroup-DmkpIILA.js} +1 -1
  20. package/dist/lazy/OfferDetails-DbYK4sOF.js +183 -0
  21. package/dist/lazy/OrderProgress-BTlnVLjv.js +19 -0
  22. package/dist/lazy/{Radio-tsTf7eY8.js → Radio-CvbLZ4LB.js} +2 -2
  23. package/dist/lazy/{SearchSelect-B6M9BgBX.js → SearchSelect-WSzBaNyX.js} +2 -2
  24. package/dist/lazy/{Select-C8bwz8Vr.js → Select-CBG0Q_KL.js} +2 -2
  25. package/dist/lazy/{Table-CGfH72EA.js → Table-D4kpXus2.js} +5 -4
  26. package/dist/lazy/{Tabs-DMBiIdgv.js → Tabs-Dt9V-WE7.js} +1 -1
  27. package/dist/lazy/{Wrapper-QquqWZfB.js → Wrapper-T-of6mnW.js} +14 -13
  28. package/dist/lazy/{index-Dbe9PR9M.js → index-BkLDpr2h.js} +3527 -3510
  29. package/dist/lazy/{useSelect-6ZdkgSmW.js → useSelect-BY8D93iV.js} +1 -1
  30. package/dist/style.css +2 -2
  31. package/package.json +1 -1
  32. package/dist/lazy/OfferDetails-8BXZenOQ.js +0 -170
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.0.47",
3
+ "version": "3.0.48",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -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
- };