asiaint-lowcode 3.0.62 → 3.0.64

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 +111 -111
  4. package/dist/lazy/{Card-loCQbSyD.js → Card-8R10Q2H7.js} +2 -2
  5. package/dist/lazy/{Cascader-TYl2Nosl.js → Cascader-C6j8GRRA.js} +1 -1
  6. package/dist/lazy/{Checkbox-QZri-3YQ.js → Checkbox-DeqNlXP3.js} +2 -2
  7. package/dist/lazy/{Collapse-FhOFCQnB.js → Collapse-agcv2hyU.js} +1 -1
  8. package/dist/lazy/{Component-DYHEhEQy.js → Component-1EeLobdd.js} +2 -2
  9. package/dist/lazy/{Component-BjRbAEs8.js → Component-B08MYgrz.js} +1 -1
  10. package/dist/lazy/{Component-DPaXrfrO.js → Component-CUlCMawS.js} +1 -1
  11. package/dist/lazy/{Component-yYafD_FZ.js → Component-Ce9smX1d.js} +13 -13
  12. package/dist/lazy/{Component-DVvujA5O.js → Component-CwK4c36o.js} +1 -1
  13. package/dist/lazy/{Component-DMPiq6Bb.js → Component-DPHWPAYw.js} +2 -2
  14. package/dist/lazy/{CurdCard-D0RzThvE.js → CurdCard-CwcNHypG.js} +32 -31
  15. package/dist/lazy/{Custom-BiZ5wC8U.js → Custom-D3f2BoYV.js} +7 -7
  16. package/dist/lazy/{FormList-WfUcytCM.js → FormList-DzwJ1W5P.js} +1 -1
  17. package/dist/lazy/{Grid-GGmw46mx.js → Grid-DcbsLRmM.js} +1 -1
  18. package/dist/lazy/{Inline-D7jgIfJr.js → Inline-_pNRHSZv.js} +7 -7
  19. package/dist/lazy/{JsonEdit-Dt0gXGAy.js → JsonEdit-CsluGt-z.js} +3 -3
  20. package/dist/lazy/{LogList-DbG4l68y.js → LogList-BKzFO3Vi.js} +7 -7
  21. package/dist/lazy/{ObjGroup-BvNWq3Xq.js → ObjGroup-CGlyTF5A.js} +1 -1
  22. package/dist/lazy/{OfferDetails-CSVYu5XA.js → OfferDetails-BupPT4zL.js} +24 -24
  23. package/dist/lazy/{Progress-0RhmEg0H.js → Progress-oHEIwwmg.js} +5 -5
  24. package/dist/lazy/{Radio-CVe6z5UD.js → Radio-CoRBg0UU.js} +2 -2
  25. package/dist/lazy/{SearchSelect--fxvwctB.js → SearchSelect-DpoXJA4K.js} +14 -14
  26. package/dist/lazy/{Select-CAT1ekVl.js → Select-BxksxgKW.js} +2 -2
  27. package/dist/lazy/{Table-DHAYeSWo.js → Table-e-TDZci-.js} +23 -23
  28. package/dist/lazy/{Tabs-CkSPVHEP.js → Tabs-DGfkxdqJ.js} +1 -1
  29. package/dist/lazy/{Wrapper-B-JT-Ago.js → Wrapper-CTxV8w6y.js} +5 -5
  30. package/dist/lazy/{index-1TVN549d.js → index-DU4L1LqE.js} +2541 -2527
  31. package/dist/lazy/{useSelect-CtwRemo0.js → useSelect-CmeDB6g1.js} +1 -1
  32. package/dist/style.css +2 -2
  33. package/global.d.ts +10 -10
  34. package/package.json +36 -36
@@ -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 C, b as V } from "./index-1TVN549d.js";
3
- const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
2
+ import { I as v, _ as b, b as C } from "./index-DU4L1LqE.js";
3
+ const V = { 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 b = { 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", b, [
14
+ return n(), s("div", V, [
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 b = { 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(C), {
42
+ l(k(b), {
43
43
  name: "tableEmpty",
44
44
  style: { width: 56, height: 56 }
45
45
  }),
@@ -48,7 +48,7 @@ const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
48
48
  ]);
49
49
  };
50
50
  }
51
- }), F = /* @__PURE__ */ V(I, [["__scopeId", "data-v-088a0692"]]);
51
+ }), F = /* @__PURE__ */ C(I, [["__scopeId", "data-v-6b11ed96"]]);
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-1TVN549d.js";
3
- import { u as $ } from "./useSelect-CtwRemo0.js";
2
+ import { u as P } from "./index-DU4L1LqE.js";
3
+ import { u as $ } from "./useSelect-CmeDB6g1.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-1TVN549d.js";
3
- import { u as U } from "./useSelect-CtwRemo0.js";
2
+ import { u as L, _ as O, b as T } from "./index-DU4L1LqE.js";
3
+ import { u as U } from "./useSelect-CmeDB6g1.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, 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;
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;
34
34
  let n = {};
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)
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)
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: r, loading: V } = U(t);
49
- return (e, s) => {
48
+ }, { currentOptions: s, loading: V } = U(t);
49
+ return (e, d) => {
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(d.value && d.value.map((l) => {
53
+ e.multiple ? (o(), i("div", z, b(r.value && r.value.map((l) => {
54
54
  var K;
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))
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))
57
57
  ])) : (o(), i("div", H, [
58
58
  N((o(), k(p, j({
59
- modelValue: d.value,
60
- "onUpdate:modelValue": s[0] || (s[0] = (l) => d.value = l)
59
+ modelValue: r.value,
60
+ "onUpdate:modelValue": d[0] || (d[0] = (l) => r.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(r), (l) => (o(), k(m, {
69
+ (o(!0), i(P, null, $(u(s), (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-da2bde35"]]);
98
+ }), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-ce5f6b46"]]);
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-1TVN549d.js";
3
- import { u as P } from "./useSelect-CtwRemo0.js";
2
+ import { u as N } from "./index-DU4L1LqE.js";
3
+ import { u as P } from "./useSelect-CmeDB6g1.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 be, computed as _, inject as k, ref as v, useTemplateRef as Se, readonly as ze, toRefs as Be, onMounted as Re, nextTick as Pe, onActivated as _e, onUnmounted as Ne, resolveComponent as B, openBlock as u, createElementBlock as g, normalizeClass as N, withDirectives as G, createElementVNode as f, createVNode as b, unref as R, withCtx as h, createBlock as S, createCommentVNode as m, Fragment as P, renderList as H, toDisplayString as M, withModifiers as Me, vShow as K, mergeProps as Te } from "vue";
2
- import { $ as De, f as L, i as $e, _ as Fe, I as Ae, C as Ee, b as Ve } from "./index-1TVN549d.js";
2
+ import { $ as De, f as L, i as $e, _ as Fe, I as Ae, C as Ee, b as Ve } from "./index-DU4L1LqE.js";
3
3
  import { ElTable as Ue } from "element-plus";
4
4
  const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title", "onClick"], Le = ["title"], We = { class: "row-btn-wrapper" }, qe = /* @__PURE__ */ be({
5
5
  __name: "Table",
@@ -35,7 +35,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
35
35
  name: {}
36
36
  },
37
37
  setup(W, { expose: q }) {
38
- const n = W, z = _(() => n.displayType ? n.displayType : n.typeSwitch ? "card" : "table"), I = k("ruleModule", void 0), T = k("ruleMap", void 0), c = _(() => n.rulePath && T[n.rulePath] ? T[n.rulePath] : I), d = k("pageMethodMap", {}), D = k("getGlobalParams", () => {
38
+ const n = W, z = _(() => n.displayType ? n.displayType : n.typeSwitch ? "card" : "table"), I = k("ruleModule", void 0), T = k("ruleMap", void 0), c = _(() => n.rulePath && T[n.rulePath] ? T[n.rulePath] : I), p = k("pageMethodMap", {}), D = k("getGlobalParams", () => {
39
39
  }), $ = k(De), F = $ ? $.translateFn : null, y = v(), J = (e, t, a) => {
40
40
  r.value[e] && (r.value[e][t] = a);
41
41
  }, O = (e, t) => {
@@ -43,21 +43,21 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
43
43
  a && (a.hidden = !t);
44
44
  }, A = (e, t, a) => {
45
45
  try {
46
- c.value[e.onClick](d, t, a);
46
+ c.value[e.onClick](p, t, a);
47
47
  } catch (l) {
48
48
  console.error(l);
49
49
  }
50
50
  }, Q = (e) => {
51
51
  if (n.rowClick)
52
52
  try {
53
- c.value[n.rowClick](d, e);
53
+ c.value[n.rowClick](p, e);
54
54
  } catch (t) {
55
55
  console.error(t);
56
56
  }
57
57
  }, X = (e) => {
58
58
  if (n.rowDbClick)
59
59
  try {
60
- c.value[n.rowDbClick](d, e);
60
+ c.value[n.rowDbClick](p, e);
61
61
  } catch (t) {
62
62
  console.error(t);
63
63
  }
@@ -69,7 +69,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
69
69
  }, ee = () => r.value, E = v(), te = (e) => {
70
70
  if (E.value = e, !!n.handleCurrentChange)
71
71
  try {
72
- c.value[n.handleCurrentChange](d, e);
72
+ c.value[n.handleCurrentChange](p, e);
73
73
  } catch (t) {
74
74
  console.error(t);
75
75
  }
@@ -92,18 +92,18 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
92
92
  }, ce = (e) => {
93
93
  if (i.value.pageNum = 1, i.value.pageSize = e, !!n.sizeChange)
94
94
  try {
95
- c.value[n.sizeChange](d, i.value);
95
+ c.value[n.sizeChange](p, i.value);
96
96
  } catch (t) {
97
97
  console.error(t);
98
98
  }
99
- }, de = (e) => {
99
+ }, pe = (e) => {
100
100
  if (i.value.pageNum = e, !!n.pageChange)
101
101
  try {
102
- c.value[n.pageChange](d, i.value);
102
+ c.value[n.pageChange](p, i.value);
103
103
  } catch (t) {
104
104
  console.error(t);
105
105
  }
106
- }, pe = (e) => {
106
+ }, de = (e) => {
107
107
  var t;
108
108
  (t = y.value) == null || t.setCurrentRow(e);
109
109
  }, ge = (e) => {
@@ -133,7 +133,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
133
133
  refresh: ye,
134
134
  validate: oe,
135
135
  setData: ve,
136
- selectRow: pe,
136
+ selectRow: de,
137
137
  selectRowNum: ge,
138
138
  setTotal: ie,
139
139
  getPagination: se,
@@ -165,7 +165,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
165
165
  await Pe();
166
166
  const e = n.onMounted;
167
167
  try {
168
- c.value[e](d);
168
+ c.value[e](p);
169
169
  } catch (t) {
170
170
  console.error(t);
171
171
  }
@@ -174,7 +174,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
174
174
  return;
175
175
  const e = n.onActivated;
176
176
  try {
177
- c.value[e](d);
177
+ c.value[e](p);
178
178
  } catch (t) {
179
179
  console.error(t);
180
180
  }
@@ -238,17 +238,17 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
238
238
  title: o.label
239
239
  }, M(o.label), 9, He)
240
240
  ]),
241
- default: h(({ row: p, $index: s }) => [
241
+ default: h(({ row: d, $index: s }) => [
242
242
  o.type === "link" ? (u(), g("div", {
243
243
  key: 0,
244
244
  class: N(["text-ellipsis link-style", { "click-style": o.onClick }]),
245
- title: C(o, p),
246
- onClick: (ke) => A(o, p, s)
247
- }, M(C(o, p)), 11, Ke)) : (u(), g("div", {
245
+ title: C(o, d),
246
+ onClick: (ke) => A(o, d, s)
247
+ }, M(C(o, d)), 11, Ke)) : (u(), g("div", {
248
248
  key: 1,
249
249
  class: "text-ellipsis",
250
- title: C(o, p)
251
- }, M(C(o, p)), 9, Le))
250
+ title: C(o, d)
251
+ }, M(C(o, d)), 9, Le))
252
252
  ]),
253
253
  _: 2
254
254
  }, 1032, ["prop", "min-width", "fixed"]))
@@ -260,7 +260,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
260
260
  align: "left",
261
261
  width: e.rowBtns.length * 34 + 12 > 100 ? e.rowBtns.length * 34 + 12 : 100
262
262
  }, {
263
- default: h(({ row: o, $index: p }) => [
263
+ default: h(({ row: o, $index: d }) => [
264
264
  f("div", We, [
265
265
  (u(!0), g(P, null, H(e.rowBtns, (s) => (u(), g(P, {
266
266
  key: s.key
@@ -271,7 +271,7 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
271
271
  link: "",
272
272
  size: "small",
273
273
  type: s.type,
274
- onClick: Me((ke) => A(s, o, p), ["stop"])
274
+ onClick: Me((ke) => A(s, o, d), ["stop"])
275
275
  }, {
276
276
  default: h(() => [
277
277
  b(l, {
@@ -325,13 +325,13 @@ const je = ["id"], Ge = { class: "empty-content" }, He = ["title"], Ke = ["title
325
325
  "onUpdate:pageSize": t[1] || (t[1] = (o) => i.value.pageSize = o),
326
326
  "pager-count": e.pagerCount,
327
327
  onSizeChange: ce,
328
- onCurrentChange: de
328
+ onCurrentChange: pe
329
329
  }, null, 8, ["total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
330
330
  ], 2)
331
331
  ], 10, je));
332
332
  };
333
333
  }
334
- }), Qe = /* @__PURE__ */ Ve(qe, [["__scopeId", "data-v-c0d84cf8"]]);
334
+ }), Qe = /* @__PURE__ */ Ve(qe, [["__scopeId", "data-v-ab3bc745"]]);
335
335
  export {
336
336
  Qe as default
337
337
  };
@@ -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-1TVN549d.js";
2
+ import { a as V } from "./index-DU4L1LqE.js";
3
3
  import "element-plus";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "Tabs",
@@ -1,5 +1,5 @@
1
- import { defineComponent as t, resolveComponent as n, openBlock as a, createElementBlock as r, normalizeStyle as s, createVNode as l, withCtx as p, withDirectives as i, createElementVNode as c, normalizeClass as m, unref as _, vShow as d } from "vue";
2
- import { a as y, b as f } from "./index-1TVN549d.js";
1
+ import { defineComponent as t, resolveComponent as n, openBlock as a, createElementBlock as r, normalizeStyle as s, createVNode as l, withCtx as p, withDirectives as i, createElementVNode as c, normalizeClass as m, unref as _, vShow as y } from "vue";
2
+ import { a as d, b as f } from "./index-DU4L1LqE.js";
3
3
  import "element-plus";
4
4
  const u = /* @__PURE__ */ t({
5
5
  __name: "Wrapper",
@@ -20,9 +20,9 @@ const u = /* @__PURE__ */ t({
20
20
  i(c("div", {
21
21
  class: m({ normal: e.type === "normal", onlytable: e.type === "onlytable" })
22
22
  }, [
23
- l(_(y), { list: e.children }, null, 8, ["list"])
23
+ l(_(d), { list: e.children }, null, 8, ["list"])
24
24
  ], 2), [
25
- [d, !e.collapse]
25
+ [y, !e.collapse]
26
26
  ])
27
27
  ]),
28
28
  _: 1
@@ -30,7 +30,7 @@ const u = /* @__PURE__ */ t({
30
30
  ], 4);
31
31
  };
32
32
  }
33
- }), w = /* @__PURE__ */ f(u, [["__scopeId", "data-v-cde87480"]]);
33
+ }), w = /* @__PURE__ */ f(u, [["__scopeId", "data-v-aa5669f3"]]);
34
34
  export {
35
35
  w as default
36
36
  };