asiaint-lowcode 3.0.55 → 3.0.57

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 (34) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +4 -4
  4. package/dist/lazy/{Card-Blys6lHz.js → Card-C_hmfi2x.js} +29 -27
  5. package/dist/lazy/{Cascader-BpoH59iv.js → Cascader-WFDvaXt2.js} +1 -1
  6. package/dist/lazy/{Checkbox-D161NRJm.js → Checkbox-ENVG-5yr.js} +2 -2
  7. package/dist/lazy/{Collapse-G0jN8IFF.js → Collapse-BUIMWE5q.js} +1 -1
  8. package/dist/lazy/{Component-C32A0l4r.js → Component-B_IVSBg6.js} +9 -9
  9. package/dist/lazy/{Component-CqNVJCa1.js → Component-CCgb51Lo.js} +2 -2
  10. package/dist/lazy/{Component-vDCTtl4Z.js → Component-CD_i8-_P.js} +2 -2
  11. package/dist/lazy/{Component-BWnVOyuj.js → Component-EJ1T00V7.js} +1 -1
  12. package/dist/lazy/{Component-BmUPHdWz.js → Component-mykY7zJZ.js} +1 -1
  13. package/dist/lazy/{Component-B8sb1TQu.js → Component-oS6qIN59.js} +1 -1
  14. package/dist/lazy/{CurdCard-tSb2xu45.js → CurdCard-CuJHSYjY.js} +15 -16
  15. package/dist/lazy/{Custom-7d0dHQLt.js → Custom-B3sPLas_.js} +7 -7
  16. package/dist/lazy/{FormList-B4pdDhso.js → FormList-txHBdTa0.js} +1 -1
  17. package/dist/lazy/{Grid-Cgk2pVX4.js → Grid-CPQE2DE0.js} +1 -1
  18. package/dist/lazy/{Inline-HWgRSJyd.js → Inline-D_7k_x0v.js} +7 -7
  19. package/dist/lazy/{JsonEdit-ZpvuDBpy.js → JsonEdit-By6hEQeW.js} +3 -3
  20. package/dist/lazy/{LogList-8mgpZC18.js → LogList-5u0Jro0L.js} +7 -7
  21. package/dist/lazy/{ObjGroup-Bn2oEnIj.js → ObjGroup-uVU8kZuf.js} +1 -1
  22. package/dist/lazy/{OfferDetails-B9Tqmm6a.js → OfferDetails-DwOXLKl3.js} +24 -24
  23. package/dist/lazy/{Progress-CHUQjBEa.js → Progress-Y0UjKDDi.js} +5 -5
  24. package/dist/lazy/{Radio-BIFrGQex.js → Radio-Cz1sXYWS.js} +2 -2
  25. package/dist/lazy/{SearchSelect-DlPkleD6.js → SearchSelect-CKBmqFrL.js} +14 -14
  26. package/dist/lazy/{Select-CgmHoDCa.js → Select-lEg1ySRN.js} +2 -2
  27. package/dist/lazy/{Table-DSbrNuqE.js → Table-Zj48WxAw.js} +2 -2
  28. package/dist/lazy/{Tabs-CdNTde0b.js → Tabs-Dv-gRNyb.js} +1 -1
  29. package/dist/lazy/{Wrapper-BQ5YQWCq.js → Wrapper-D9cFGrhS.js} +2 -2
  30. package/dist/lazy/{index-vejK42e5.js → index-Cx6fh7kP.js} +41 -41
  31. package/dist/lazy/{useSelect-B2PrauuM.js → useSelect-Ca_yFP9S.js} +1 -1
  32. package/dist/style.css +2 -2
  33. package/global.d.ts +10 -10
  34. package/package.json +36 -36
@@ -1,5 +1,5 @@
1
- import { defineComponent as B, resolveComponent as M, openBlock as a, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as y, toDisplayString as b, createCommentVNode as I, ref as D, inject as N, watchEffect as A, onMounted as R, normalizeStyle as S, unref as $ } from "vue";
2
- import { j as U, $ as z, _ as F, b as j } from "./index-vejK42e5.js";
1
+ import { defineComponent as B, resolveComponent as M, openBlock as l, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as b, toDisplayString as y, createCommentVNode as I, ref as D, inject as N, watchEffect as A, onMounted as R, normalizeStyle as S, unref as $ } from "vue";
2
+ import { j as U, $ as z, _ as F, b as j } from "./index-Cx6fh7kP.js";
3
3
  const x = { class: "content" }, K = { class: "product-list" }, L = { class: "attribute-list" }, V = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"
@@ -11,41 +11,41 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
11
11
  index: {}
12
12
  },
13
13
  setup(m) {
14
- return (l, p) => {
14
+ return (a, p) => {
15
15
  const _ = M("el-popover");
16
- return a(), O(_, {
16
+ return l(), O(_, {
17
17
  "popper-class": "offer-detail",
18
18
  placement: "right"
19
19
  }, {
20
20
  reference: E(() => [
21
21
  g(U, {
22
- data: l.data,
23
- btns: l.btns,
24
- index: l.index
22
+ data: a.data,
23
+ btns: a.btns,
24
+ index: a.index
25
25
  }, null, 8, ["data", "btns", "index"])
26
26
  ]),
27
27
  default: E(() => [
28
28
  i("div", x, [
29
29
  p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
30
30
  i("div", K, [
31
- (a(!0), r(u, null, y(l.data.product, (s) => (a(), r("div", {
31
+ (l(!0), r(u, null, b(a.data.product, (s) => (l(), r("div", {
32
32
  class: "product-item",
33
33
  key: s.label
34
- }, b(s.label), 1))), 128))
34
+ }, y(s.label), 1))), 128))
35
35
  ]),
36
36
  i("div", L, [
37
- (a(!0), r(u, null, y(l.data.product, (s) => (a(), r(u, {
37
+ (l(!0), r(u, null, b(a.data.product, (s) => (l(), r(u, {
38
38
  key: s.label
39
39
  }, [
40
- s.children.length > 0 ? (a(), r("div", V, [
41
- i("div", q, b(s.label), 1),
40
+ s.children.length > 0 ? (l(), r("div", V, [
41
+ i("div", q, y(s.label), 1),
42
42
  i("div", G, [
43
- (a(!0), r(u, null, y(s.children, (d) => (a(), r("div", {
43
+ (l(!0), r(u, null, b(s.children, (d) => (l(), r("div", {
44
44
  class: "attribute-item",
45
45
  key: d.label
46
46
  }, [
47
- i("div", H, b(d.label), 1),
48
- i("div", J, b(d.value || "--"), 1)
47
+ i("div", H, y(d.label), 1),
48
+ i("div", J, y(d.value || "--"), 1)
49
49
  ]))), 128))
50
50
  ])
51
51
  ])) : I("", !0)
@@ -98,7 +98,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
98
98
  },
99
99
  setup(m) {
100
100
  var k, T;
101
- const l = m, p = D(), _ = D([]), s = (k = l.columns.find((t) => t.position === "title")) == null ? void 0 : k.key, d = (T = l.columns.find((t) => t.position === "subTitle")) == null ? void 0 : T.key, h = l.columns.find((t) => t.position === "footer"), w = (t) => {
101
+ const a = m, p = D(), _ = D([]), s = (k = a.columns.find((t) => t.position === "title")) == null ? void 0 : k.key, d = (T = a.columns.find((t) => t.position === "subTitle")) == null ? void 0 : T.key, h = a.columns.find((t) => t.position === "footer"), w = (t) => {
102
102
  const e = [];
103
103
  return t.children && t.children.length > 0 && t.children.forEach((n) => {
104
104
  const o = {
@@ -124,8 +124,8 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
124
124
  }
125
125
  const C = N(z), c = C ? C.translateFn : null;
126
126
  return A(() => {
127
- if (l.data) {
128
- const t = P(l.data);
127
+ if (a.data) {
128
+ const t = P(a.data);
129
129
  p.value = t.map((e) => {
130
130
  const n = {
131
131
  content: []
@@ -133,7 +133,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
133
133
  return s && (n.title = c ? c(s, e) : e[s], n.titleColor = "#18AAF8"), d && (n.subTitle = c ? c(d, e) : e[d]), h && (n.footer = {
134
134
  icon: h.footerIcon || "icon-tishi",
135
135
  text: `${h.label}: ${c ? c(h.key, e) : e[h.key]}`
136
- }), e.children && (n.product = w(e)), l.columns.forEach((o) => {
136
+ }), e.children && (n.product = w(e)), a.columns.forEach((o) => {
137
137
  o.position === "content" && n.content.push({
138
138
  label: o.label,
139
139
  value: c ? c(o.key, e) : e[o.key]
@@ -143,12 +143,12 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
143
143
  }
144
144
  }), R(() => {
145
145
  var t;
146
- _.value = (t = l.rowBtns) == null ? void 0 : t.map((e) => ({
146
+ _.value = (t = a.rowBtns) == null ? void 0 : t.map((e) => ({
147
147
  icon: e.icon && e.icon.name ? e.icon.name : "icon-tishi",
148
148
  label: e.label,
149
149
  onClick: e.onClick
150
150
  }));
151
- }), (t, e) => (a(), r(u, null, [
151
+ }), (t, e) => (l(), r(u, null, [
152
152
  i("div", {
153
153
  class: "card-list",
154
154
  style: S({
@@ -156,7 +156,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
156
156
  "--gap": t.gap + "px"
157
157
  })
158
158
  }, [
159
- (a(!0), r(u, null, y(p.value, (n, o) => (a(), r("div", {
159
+ (l(!0), r(u, null, b(p.value, (n, o) => (l(), r("div", {
160
160
  class: "card-list-item",
161
161
  key: o
162
162
  }, [
@@ -167,7 +167,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
167
167
  }, null, 8, ["data", "btns", "index"])
168
168
  ]))), 128))
169
169
  ], 4),
170
- !t.data || t.data.length === 0 ? (a(), r("div", W, [
170
+ !t.data || t.data.length === 0 ? (l(), r("div", W, [
171
171
  g($(F), {
172
172
  name: "tableEmpty",
173
173
  style: { width: 56, height: 56 }
@@ -176,7 +176,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
176
176
  ])) : I("", !0)
177
177
  ], 64));
178
178
  }
179
- }), ee = /* @__PURE__ */ j(X, [["__scopeId", "data-v-98057b14"]]);
179
+ }), ee = /* @__PURE__ */ j(X, [["__scopeId", "data-v-09844ac4"]]);
180
180
  export {
181
181
  ee as default
182
182
  };
@@ -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 b, b as C } from "./index-vejK42e5.js";
3
- const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
2
+ import { I as v, _ as C, b as V } from "./index-Cx6fh7kP.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", V, [
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(b), {
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__ */ C(I, [["__scopeId", "data-v-6b11ed96"]]);
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 _, useModel as w, inject as g, resolveComponent as i, resolveDirective as z, openBlock as l, createElementBlock as c, toDisplayString as F, unref as s, withDirectives as I, createBlock as m, mergeProps as K, withCtx as h, createVNode as N, Fragment as k, renderList as M } from "vue";
2
- import { u as P } from "./index-vejK42e5.js";
3
- import { u as $ } from "./useSelect-B2PrauuM.js";
2
+ import { u as P } from "./index-Cx6fh7kP.js";
3
+ import { u as $ } from "./useSelect-Ca_yFP9S.js";
4
4
  const j = { key: 0 }, R = /* @__PURE__ */ T({
5
5
  __name: "Radio",
6
6
  props: /* @__PURE__ */ _({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, mergeModels as A, useModel as F, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as b, unref as u, withDirectives as N, createBlock as k, mergeProps as j, withCtx as y, Fragment as P, renderList as $, createTextVNode as E, createVNode as C } from "vue";
2
- import { u as L, _ as O, b as T } from "./index-vejK42e5.js";
3
- import { u as U } from "./useSelect-B2PrauuM.js";
2
+ import { u as L, _ as O, b as T } from "./index-Cx6fh7kP.js";
3
+ import { u as U } from "./useSelect-Ca_yFP9S.js";
4
4
  const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
5
5
  key: 1,
6
6
  class: "search-select-wrapper"
@@ -29,10 +29,10 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
29
29
  }),
30
30
  emits: ["update:modelValue"],
31
31
  setup(v) {
32
- const t = v, r = F(v, "modelValue"), h = L(), c = S("ruleModule", void 0), _ = S("pageMethodMap", {}), M = (e) => {
33
- const { valueKey: d = "value", multiple: m, name: p } = t;
32
+ const t = v, d = F(v, "modelValue"), h = L(), c = S("ruleModule", void 0), _ = S("pageMethodMap", {}), M = (e) => {
33
+ const { valueKey: s = "value", multiple: m, name: p } = t;
34
34
  let n = {};
35
- if (m && Array.isArray(e) ? n = s.value.filter((a) => e.includes(a[d])) : n = s.value.find((a) => a[d] === e) || {}, h.selectData && p && h.updateSelectData(p, n), t.onChange && c)
35
+ if (m && Array.isArray(e) ? n = r.value.filter((a) => e.includes(a[s])) : n = r.value.find((a) => a[s] === e) || {}, h.selectData && p && h.updateSelectData(p, n), t.onChange && c)
36
36
  try {
37
37
  c[t.onChange](_, e, n);
38
38
  } catch (a) {
@@ -45,19 +45,19 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
45
45
  } catch (e) {
46
46
  console.error(e);
47
47
  }
48
- }, { currentOptions: s, loading: V } = U(t);
49
- return (e, d) => {
48
+ }, { currentOptions: r, loading: V } = U(t);
49
+ return (e, s) => {
50
50
  var g;
51
51
  const m = f("el-option"), p = f("el-select"), n = f("el-button"), a = I("loading");
52
52
  return e.read ? (o(), i("div", q, [
53
- e.multiple ? (o(), i("div", z, b(r.value && r.value.map((l) => {
53
+ e.multiple ? (o(), i("div", z, b(d.value && d.value.map((l) => {
54
54
  var K;
55
- return (K = u(s).find((D) => D[e.valueKey] === l)) == null ? void 0 : K[e.labelKey];
56
- }).join("、")), 1)) : (o(), i("div", G, b(((g = u(s).find((l) => l[e.valueKey] === r.value)) == null ? void 0 : g[e.labelKey]) || "--"), 1))
55
+ return (K = u(r).find((D) => D[e.valueKey] === l)) == null ? void 0 : K[e.labelKey];
56
+ }).join("、")), 1)) : (o(), i("div", G, b(((g = u(r).find((l) => l[e.valueKey] === d.value)) == null ? void 0 : g[e.labelKey]) || "--"), 1))
57
57
  ])) : (o(), i("div", H, [
58
58
  N((o(), k(p, j({
59
- modelValue: r.value,
60
- "onUpdate:modelValue": d[0] || (d[0] = (l) => r.value = l)
59
+ modelValue: d.value,
60
+ "onUpdate:modelValue": s[0] || (s[0] = (l) => d.value = l)
61
61
  }, e.$attrs, {
62
62
  onChange: M,
63
63
  multiple: e.multiple,
@@ -66,7 +66,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
66
66
  disabled: e.disabled
67
67
  }), {
68
68
  default: y(() => [
69
- (o(!0), i(P, null, $(u(s), (l) => (o(), k(m, {
69
+ (o(!0), i(P, null, $(u(r), (l) => (o(), k(m, {
70
70
  key: l[e.valueKey],
71
71
  label: l[e.labelKey],
72
72
  value: l[e.valueKey],
@@ -95,7 +95,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
95
95
  ]));
96
96
  };
97
97
  }
98
- }), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-ce5f6b46"]]);
98
+ }), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-da2bde35"]]);
99
99
  export {
100
100
  X as default
101
101
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, mergeModels as k, useModel as B, inject as f, computed as D, resolveComponent as y, resolveDirective as S, openBlock as s, createElementBlock as i, toDisplayString as v, createBlock as b, mergeProps as A, withCtx as g, withDirectives as F, Fragment as j, renderList as w, unref as h, createTextVNode as I } from "vue";
2
- import { u as N } from "./index-vejK42e5.js";
3
- import { u as P } from "./useSelect-B2PrauuM.js";
2
+ import { u as N } from "./index-Cx6fh7kP.js";
3
+ import { u as P } from "./useSelect-Ca_yFP9S.js";
4
4
  const $ = { key: 0 }, E = { style: { "min-height": "32px" } }, U = /* @__PURE__ */ _({
5
5
  __name: "Select",
6
6
  props: /* @__PURE__ */ k({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ke, computed as V, inject as w, ref as v, useTemplateRef as we, readonly as be, toRefs as Se, onMounted as ze, nextTick as Re, onActivated as Be, onUnmounted as Pe, resolveComponent as R, openBlock as u, createElementBlock as g, normalizeClass as U, withDirectives as j, createElementVNode as f, createVNode as b, unref as B, withCtx as h, createBlock as S, createCommentVNode as m, Fragment as P, renderList as G, toDisplayString as _, withModifiers as _e, vShow as H, mergeProps as Ne } from "vue";
2
- import { $ as Me, i as Te, _ as De, f as Fe, I as $e, C as Ae, b as Ee } from "./index-vejK42e5.js";
2
+ import { $ as Me, i as Te, _ as De, f as Fe, I as $e, C as Ae, b as Ee } from "./index-Cx6fh7kP.js";
3
3
  import { ElTable as Ve } from "element-plus";
4
4
  const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"], He = ["title"], Ke = { class: "row-btn-wrapper" }, Le = /* @__PURE__ */ ke({
5
5
  __name: "Table",
@@ -323,7 +323,7 @@ const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"]
323
323
  ], 2));
324
324
  };
325
325
  }
326
- }), Je = /* @__PURE__ */ Ee(Le, [["__scopeId", "data-v-6e2d7939"]]);
326
+ }), Je = /* @__PURE__ */ Ee(Le, [["__scopeId", "data-v-328a34d4"]]);
327
327
  export {
328
328
  Je as default
329
329
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
2
- import { a as V } from "./index-vejK42e5.js";
2
+ import { a as V } from "./index-Cx6fh7kP.js";
3
3
  import "element-plus";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "Tabs",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t, resolveComponent as n, openBlock as r, createElementBlock as a, normalizeStyle as s, createVNode as o, withCtx as p, withDirectives as i, createElementVNode as c, normalizeClass as m, unref as _, vShow as d } from "vue";
2
- import { a as f, b as u } from "./index-vejK42e5.js";
2
+ import { a as f, b as u } from "./index-Cx6fh7kP.js";
3
3
  import "element-plus";
4
4
  const y = /* @__PURE__ */ t({
5
5
  __name: "Wrapper",
@@ -30,7 +30,7 @@ const y = /* @__PURE__ */ t({
30
30
  ], 4);
31
31
  };
32
32
  }
33
- }), w = /* @__PURE__ */ u(y, [["__scopeId", "data-v-438b622d"]]);
33
+ }), w = /* @__PURE__ */ u(y, [["__scopeId", "data-v-78b03d5f"]]);
34
34
  export {
35
35
  w as default
36
36
  };