asiaint-lowcode 3.1.174 → 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.
Files changed (43) hide show
  1. package/dist/asiaint-lowcode.d.ts +24 -0
  2. package/dist/asiaint-lowcode.js +6 -6
  3. package/dist/asiaint-lowcode.umd.cjs +206 -206
  4. package/dist/lazy/{Card-CdqSVMKp.js → Card-CuIuPVfa.js} +1 -1
  5. package/dist/lazy/{Cascader-D1H3atkH.js → Cascader-DG9-lQL_.js} +1 -1
  6. package/dist/lazy/{Checkbox-rxwRKO2L.js → Checkbox-DkokY_T5.js} +2 -2
  7. package/dist/lazy/{Collapse-C71dCSaP.js → Collapse-CfN04wPP.js} +1 -1
  8. package/dist/lazy/{Component-D-djkyEJ.js → Component-BmIr-TEc.js} +1 -1
  9. package/dist/lazy/{Component-j-7aSjsD.js → Component-DDr0mt26.js} +1 -1
  10. package/dist/lazy/{Component-DO3qZWym.js → Component-DPKOSkbS.js} +1 -1
  11. package/dist/lazy/{Component-BcbHLE_g.js → Component-DVnr7_Wq.js} +1 -1
  12. package/dist/lazy/{Component-C14aJsIW.js → Component-bJujdUFt.js} +1 -1
  13. package/dist/lazy/{CurdCard-SpH6JL4Y.js → CurdCard-fARDual0.js} +1 -1
  14. package/dist/lazy/{Custom-BU5XOp-r.js → Custom-DLf2H4j-.js} +1 -1
  15. package/dist/lazy/DatePicker-DwGL3Rfo.js +73 -0
  16. package/dist/lazy/{DragList-CfBWQeQz.js → DragList-CkJN4M1_.js} +13 -13
  17. package/dist/lazy/{FilterSearch-BbAQVwp0.js → FilterSearch-DWIoFEYA.js} +16 -16
  18. package/dist/lazy/{FloatCurd-1NLXV_L9.js → FloatCurd-BIIOwN6L.js} +1 -1
  19. package/dist/lazy/{FloatSearchCurd-HU1XecwR.js → FloatSearchCurd-B5mTYPo4.js} +1 -1
  20. package/dist/lazy/{FormList-Bb8pnChP.js → FormList-BisnYpYy.js} +1 -1
  21. package/dist/lazy/{Grid-Db2yree5.js → Grid-DU0cGkx3.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-1DHgbFA8.js → InfiniteScroll-DIBaRISh.js} +1 -1
  23. package/dist/lazy/{Inline-BjDXhX1N.js → Inline-Dz8K0mcs.js} +1 -1
  24. package/dist/lazy/{JsonEdit-B1SPhwLj.js → JsonEdit-CcHoX1MX.js} +1 -1
  25. package/dist/lazy/{LogList-BUDvAMuS.js → LogList-CCqb9sMw.js} +1 -1
  26. package/dist/lazy/{ObjGroup-CNIY-lzc.js → ObjGroup-9CuErhWA.js} +5 -5
  27. package/dist/lazy/{OfferDetails-Caj8FZUy.js → OfferDetails-BizT7B7e.js} +67 -66
  28. package/dist/lazy/{Pagination-BguRKtZy.js → Pagination-BcwTZvOy.js} +1 -1
  29. package/dist/lazy/Progress-BEuL9CsA.js +56 -0
  30. package/dist/lazy/{Radio-Ccv92FSa.js → Radio-CbcqDR_c.js} +2 -2
  31. package/dist/lazy/{SearchSelect-CegeM7cQ.js → SearchSelect-PZJ79a84.js} +2 -2
  32. package/dist/lazy/{Select-BwUZLLXi.js → Select-CTGej9Jt.js} +2 -2
  33. package/dist/lazy/{Table-BAnOjOoV.js → Table-CTLmaWUi.js} +125 -125
  34. package/dist/lazy/Tabs-Kra7RQza.js +154 -0
  35. package/dist/lazy/{TextArea-BuVvhsWJ.js → TextArea-D-md2_JP.js} +1 -1
  36. package/dist/lazy/{Wrapper-BLTyLdnw.js → Wrapper-Djhw4u_A.js} +3 -3
  37. package/dist/lazy/{index-BbsPPc14.js → index-if5yiaE6.js} +7610 -7541
  38. package/dist/lazy/{useSelect-DsEZTPfh.js → useSelect-Cx92c9xA.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/package.json +1 -1
  41. package/dist/lazy/DatePicker-S3D1E9AQ.js +0 -73
  42. package/dist/lazy/Progress-B-vHTTf7.js +0 -54
  43. package/dist/lazy/Tabs-Dgnv0RAm.js +0 -150
@@ -1,54 +1,55 @@
1
- import { defineComponent as P, resolveComponent as S, openBlock as l, createBlock as N, withCtx as I, createVNode as k, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as m, toDisplayString as v, createCommentVNode as O, ref as g, inject as L, watchEffect as $, onMounted as x, onUnmounted as z, normalizeStyle as A, unref as U } from "vue";
2
- import { k as j, $ as F, a as K, _ as V } from "./index-BbsPPc14.js";
3
- const W = { class: "content" }, q = { class: "product-list" }, G = { class: "attribute-list" }, H = {
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
- }, J = { class: "product-title attribute-title" }, Q = { class: "attribute-item-list" }, X = { class: "attribute-label" }, Y = { class: "attribute-value" }, Z = /* @__PURE__ */ P({
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(B) {
14
- return (a, p) => {
15
- const y = S("el-popover");
16
- return l(), N(y, {
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: I(() => [
21
- k(j, {
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: I(() => [
28
- i("div", W, [
29
- p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
30
- i("div", q, [
31
- (l(!0), r(u, null, m(a.data.product, (s) => (l(), r("div", {
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: s.label
34
- }, v(s.label), 1))), 128))
34
+ key: r.label
35
+ }, f(r.label), 1))), 128))
35
36
  ]),
36
- i("div", G, [
37
- (l(!0), r(u, null, m(a.data.product, (s) => (l(), r(u, {
38
- key: s.label
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
- s.children.length > 0 ? (l(), r("div", H, [
41
- i("div", J, v(s.label), 1),
42
- i("div", Q, [
43
- (l(!0), r(u, null, m(s.children, (d) => (l(), r("div", {
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", X, v(d.label), 1),
48
- i("div", Y, v(d.value || "--"), 1)
48
+ i("div", Z, f(d.label), 1),
49
+ i("div", ee, f(d.value || "--"), 1)
49
50
  ]))), 128))
50
51
  ])
51
- ])) : O("", !0)
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
- }), ee = {
61
+ }), oe = {
61
62
  key: 0,
62
63
  class: "empty-content"
63
- }, te = /* @__PURE__ */ P({
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(B) {
112
- var E, D;
113
- const a = B, p = g(), y = g([]), s = (E = a.columns.find((t) => t.position === "title")) == null ? void 0 : E.key, d = (D = a.columns.find((t) => t.position === "subTitle")) == null ? void 0 : D.key, h = a.columns.find((t) => t.position === "footer"), R = (t) => {
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((f) => {
121
+ o.children && o.children.length > 0 && o.children.forEach((h) => {
121
122
  n.children.push({
122
- label: f.PRODUCT_ITEM_NAME,
123
- value: f.ACTION
123
+ label: h.PRODUCT_ITEM_NAME,
124
+ value: h.ACTION
124
125
  });
125
126
  }), e.push(n);
126
127
  }), e;
127
128
  };
128
- function M(t) {
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 f = e[n.PRODUCT_ITEM_ID], C = n.PARENT_PRODUCT_ITEM_ID;
134
- C === 0 || !e[C] ? o.push(f) : e[C].children.push(f);
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 T = L(F), c = T ? T.translateFn : null;
138
- $(() => {
138
+ const w = $(V), c = w ? w.translateFn : null;
139
+ z(() => {
139
140
  if (a.data) {
140
- const t = M(a.data);
141
- p.value = t.map((e) => {
141
+ const t = L(a.data);
142
+ _.value = t.map((e) => {
142
143
  const o = {
143
144
  content: []
144
145
  };
145
- return s && (o.title = c ? c(s, e) : e[s], o.titleColor = "var(--el-color-primary)"), d && (o.subTitle = c ? c(d, e) : e[d]), h && (o.footer = {
146
- icon: h.footerIcon || "icon-tishi",
147
- text: `${h.label}: ${c ? c(h.key, e) : e[h.key]}`
148
- }), e.children && (o.product = R(e)), a.columns.forEach((n) => {
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 _ = g(), w = g(3);
159
- return x(() => {
159
+ const v = g(), E = g(3);
160
+ return A(() => {
160
161
  var t;
161
- y.value = (t = a.rowBtns) == null ? void 0 : t.map((e) => ({
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
- w.value = Math.floor(n / 330) || 1;
169
+ E.value = Math.floor(n / 330) || 1;
169
170
  }
170
- }), b.observe(_.value);
171
- }), z(() => {
172
- b && _.value && b.unobserve(_.value);
173
- }), (t, e) => (l(), r(u, null, [
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: A({
179
- "--columns": w.value,
179
+ style: j({
180
+ "--columns": E.value,
180
181
  "--gap": t.gap + "px"
181
182
  })
182
183
  }, [
183
- (l(!0), r(u, null, m(p.value, (o, n) => (l(), r("div", {
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
- k(Z, {
188
+ B(te, {
188
189
  data: o,
189
- btns: y.value,
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(), r("div", ee, [
195
- k(U(K), {
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
- e[0] || (e[0] = i("div", null, "No data available,please check", -1))
200
- ])) : O("", !0)
200
+ i("div", null, f(O(y).table.emptyText), 1)
201
+ ])) : M("", !0)
201
202
  ], 64));
202
203
  }
203
- }), ae = /* @__PURE__ */ V(te, [["__scopeId", "data-v-44b2ab76"]]);
204
+ }), re = /* @__PURE__ */ q(ne, [["__scopeId", "data-v-d3890d66"]]);
204
205
  export {
205
- ae as default
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, i as I, _ as R } from "./index-BbsPPc14.js";
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-BbsPPc14.js";
3
- import { u as O } from "./useSelect-DsEZTPfh.js";
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-BbsPPc14.js";
3
- import { u as U } from "./useSelect-DsEZTPfh.js";
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-BbsPPc14.js";
3
- import { u as z } from "./useSelect-DsEZTPfh.js";
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({