asiaint-lowcode 3.1.51 → 3.1.53

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 (41) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +122 -122
  3. package/dist/index.d.ts +7 -0
  4. package/dist/lazy/Card-CHP6m_FL.js +130 -0
  5. package/dist/lazy/{Cascader-CiMoxbyh.js → Cascader-D4v4jTd7.js} +1 -1
  6. package/dist/lazy/{Checkbox-D3iCJHD5.js → Checkbox-DeqEMK_I.js} +2 -2
  7. package/dist/lazy/{Collapse-DU3ip0cz.js → Collapse-CMRE5R18.js} +1 -1
  8. package/dist/lazy/{Component-DSkULL1a.js → Component-B5AKTiZd.js} +1 -1
  9. package/dist/lazy/{Component-BAZVU_kQ.js → Component-B7GkeIvh.js} +1 -1
  10. package/dist/lazy/{Component-DzgUdwUY.js → Component-BKbN98Hy.js} +1 -1
  11. package/dist/lazy/{Component-B9oRgHI7.js → Component-CgcQ_-aC.js} +1 -1
  12. package/dist/lazy/{Component-Cv_wtBTU.js → Component-DnLmaI5e.js} +1 -1
  13. package/dist/lazy/{Component-YUWBWKTy.js → Component-DqS8Lajh.js} +18 -19
  14. package/dist/lazy/{CurdCard-BD6H5aIA.js → CurdCard-BshihU98.js} +1 -1
  15. package/dist/lazy/{Custom-7iDNoSlK.js → Custom-C9XWjp3i.js} +1 -1
  16. package/dist/lazy/{DatePicker-MavK32RF.js → DatePicker-CFZTlXYz.js} +1 -1
  17. package/dist/lazy/{DragList-CzAlyXnh.js → DragList-BOKd3Nkn.js} +1 -1
  18. package/dist/lazy/{FilterSearch-CzD-istR.js → FilterSearch-B0Iq08r0.js} +1 -1
  19. package/dist/lazy/{FormList-DpTJy9ob.js → FormList-BztLtlVo.js} +1 -1
  20. package/dist/lazy/{Grid-CBUiY-OO.js → Grid-BmR2UoLY.js} +1 -1
  21. package/dist/lazy/{InfiniteScroll-B284xoTH.js → InfiniteScroll-22k8G62g.js} +1 -1
  22. package/dist/lazy/{Inline-DadVERtn.js → Inline-D7rR7Pe0.js} +1 -1
  23. package/dist/lazy/{JsonEdit-CJxysuI9.js → JsonEdit-BT7UmaFI.js} +1 -1
  24. package/dist/lazy/{LogList-B4l5FmKv.js → LogList-DgVl5B0a.js} +1 -1
  25. package/dist/lazy/{ObjGroup-DeR5yTmM.js → ObjGroup-DZyF0y4y.js} +1 -1
  26. package/dist/lazy/{OfferDetails-DGAZXgJZ.js → OfferDetails-Cgq4TeYp.js} +1 -1
  27. package/dist/lazy/{Pagination-17xZz5Q-.js → Pagination-DI4P8FrF.js} +1 -1
  28. package/dist/lazy/{Progress-IO4p6FXa.js → Progress-C4KMGyaM.js} +1 -1
  29. package/dist/lazy/{Radio-DcoC-QEN.js → Radio-DpX3IV6R.js} +2 -2
  30. package/dist/lazy/{SearchSelect-xBxQTu_8.js → SearchSelect-C5YOidJU.js} +2 -2
  31. package/dist/lazy/Select-VD9Evc28.js +144 -0
  32. package/dist/lazy/{Table-lUQHZPS8.js → Table-DPg4KMuG.js} +34 -36
  33. package/dist/lazy/{Tabs-CS6opFGj.js → Tabs-CgOdONLp.js} +1 -1
  34. package/dist/lazy/{TextArea-BK7_o1Tz.js → TextArea-CeDrv6Ro.js} +1 -1
  35. package/dist/lazy/{Wrapper-DnDNrN0W.js → Wrapper-t4g2_GEM.js} +19 -19
  36. package/dist/lazy/{index-B5DFOgE6.js → index-C8n3bw0x.js} +43 -45
  37. package/dist/lazy/{useSelect-WivWUjZm.js → useSelect-B-Y7wxFa.js} +1 -1
  38. package/dist/style.css +2 -2
  39. package/package.json +1 -1
  40. package/dist/lazy/Card-DcgoI2Gr.js +0 -120
  41. package/dist/lazy/Select-B6IJ1mXo.js +0 -128
@@ -1,5 +1,5 @@
1
- import { defineComponent as Ee, computed as U, inject as A, ref as P, useTemplateRef as Ve, readonly as je, toRefs as Ue, onMounted as We, nextTick as Ge, onActivated as He, onUnmounted as Ke, resolveComponent as I, openBlock as r, createElementBlock as g, normalizeClass as L, withDirectives as ee, createElementVNode as w, createVNode as y, unref as h, withCtx as d, createBlock as v, createCommentVNode as f, Fragment as B, renderList as te, toDisplayString as N, normalizeStyle as W, withModifiers as ne, vShow as ae, mergeProps as qe } from "vue";
2
- import { $ as Je, h as x, j as Oe, a as Qe, I as R, b as j, C as Xe, _ as Ye } from "./index-B5DFOgE6.js";
1
+ import { defineComponent as Ee, computed as U, inject as A, ref as P, useTemplateRef as Ve, readonly as je, toRefs as Ue, onMounted as We, nextTick as Ge, onActivated as He, onUnmounted as Ke, resolveComponent as I, openBlock as r, createElementBlock as g, normalizeClass as L, withDirectives as ee, createElementVNode as b, createVNode as y, unref as h, withCtx as d, createBlock as v, createCommentVNode as f, Fragment as B, renderList as te, toDisplayString as N, normalizeStyle as W, withModifiers as ne, vShow as ae, mergeProps as qe } from "vue";
2
+ import { $ as Je, h as x, j as Oe, a as Qe, I as R, b as j, C as Xe, _ as Ye } from "./index-C8n3bw0x.js";
3
3
  import { ElTable as Ze, ElLoading as oe } from "element-plus";
4
4
  const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title", "onClick"], ot = {
5
5
  key: 1,
@@ -53,8 +53,8 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
53
53
  }, E = (e, t, o, s) => {
54
54
  try {
55
55
  c.value[e.onClick](m, t, o, s), s == null || s.stopPropagation();
56
- } catch (b) {
57
- console.error(b);
56
+ } catch (z) {
57
+ console.error(z);
58
58
  }
59
59
  }, ce = (e) => {
60
60
  if (a.rowClick)
@@ -96,15 +96,15 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
96
96
  return (e = $.value) == null ? void 0 : e.getSelectionRows();
97
97
  }, ke = async () => !0, Se = (e, t) => {
98
98
  var s;
99
- const o = (s = a.topBtns) == null ? void 0 : s.find((b) => b.key === e);
99
+ const o = (s = a.topBtns) == null ? void 0 : s.find((z) => z.key === e);
100
100
  o && (o.hidden = t);
101
- }, be = (e, t) => {
101
+ }, ze = (e, t) => {
102
102
  var s;
103
- const o = (s = a.rowBtns) == null ? void 0 : s.find((b) => b.key === e);
103
+ const o = (s = a.rowBtns) == null ? void 0 : s.find((z) => z.key === e);
104
104
  o && (o.condition = !t);
105
- }, J = P(0), we = (e) => {
105
+ }, J = P(0), be = (e) => {
106
106
  J.value = e;
107
- }, u = P({ pageNum: 1, pageSize: a.defaultPageSize || 5 }), k = P({ pageNum: 1, pageSize: a.defaultPageSize || 5 }), ze = () => u.value, Pe = (e) => {
107
+ }, u = P({ pageNum: 1, pageSize: a.defaultPageSize || 5 }), k = P({ pageNum: 1, pageSize: a.defaultPageSize || 5 }), we = () => u.value, Pe = (e) => {
108
108
  let t = !1;
109
109
  return e.pageNum !== void 0 && e.pageNum > -1 && (u.value.pageNum !== e.pageNum && (t = !0), u.value.pageNum = e.pageNum), e.pageSize !== void 0 && e.pageSize > -1 && (u.value.pageSize !== e.pageSize && (t = !0), u.value.pageSize = e.pageSize), { pagination: u.value, isChange: t };
110
110
  }, Be = async () => {
@@ -167,16 +167,16 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
167
167
  setData: $e,
168
168
  selectRow: Ne,
169
169
  selectRowNum: Re,
170
- setTotal: we,
171
- getPagination: ze,
170
+ setTotal: be,
171
+ getPagination: we,
172
172
  setPagination: Pe,
173
173
  setTopBtnHidden: Se,
174
174
  setColVisible: ue,
175
175
  setColumn: Te,
176
- setRowsBtnHidden: be,
176
+ setRowsBtnHidden: ze,
177
177
  rootRef: O,
178
178
  type: "table"
179
- }), z = (e, t) => {
179
+ }), w = (e, t) => {
180
180
  const o = K ? K(e, t) : t[e.key];
181
181
  if (!e.encrypted || !o)
182
182
  return o;
@@ -246,7 +246,7 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
246
246
  });
247
247
  }
248
248
  return re(Q), (e, t) => {
249
- const o = I("el-table-column"), s = I("el-popover"), b = I("el-tooltip"), X = I("el-button"), Fe = I("el-pagination");
249
+ const o = I("el-table-column"), s = I("el-popover"), z = I("el-tooltip"), X = I("el-button"), Fe = I("el-pagination");
250
250
  return e.hidden ? f("", !0) : (r(), g("div", {
251
251
  key: 0,
252
252
  class: L(["table-render", { tableBorder: F.value === "table", [e.name]: !0 }]),
@@ -254,7 +254,7 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
254
254
  ref: O,
255
255
  id: e.name
256
256
  }, [
257
- ee(w("div", null, [
257
+ ee(b("div", null, [
258
258
  y(h(Ze), {
259
259
  ref_key: "tableRef",
260
260
  ref: $,
@@ -269,12 +269,12 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
269
269
  height: e.height
270
270
  }, {
271
271
  empty: d(() => [
272
- w("div", tt, [
272
+ b("div", tt, [
273
273
  y(h(Qe), {
274
274
  name: "tableEmpty",
275
275
  style: { width: 56, height: 56 }
276
276
  }),
277
- t[2] || (t[2] = w("div", null, "No data available,please check", -1))
277
+ t[2] || (t[2] = b("div", null, "No data available,please check", -1))
278
278
  ])
279
279
  ]),
280
280
  default: d(() => [
@@ -295,7 +295,7 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
295
295
  sortable: n.sortable ?? e.sortable ?? !0
296
296
  }, {
297
297
  header: d(() => [
298
- w("div", {
298
+ b("div", {
299
299
  class: "text-ellipsis",
300
300
  title: n.label
301
301
  }, N(n.label), 9, nt)
@@ -306,9 +306,9 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
306
306
  n.type === "link" ? (r(), g("div", {
307
307
  key: 0,
308
308
  class: L(["text-ellipsis link-style", { "click-style": n.onClick }]),
309
- title: z(n, i),
309
+ title: w(n, i),
310
310
  onClick: (C) => E(n, i, l, C)
311
- }, N(z(n, i)), 11, at)) : n.type === "iconText" ? (r(), g("div", ot, [
311
+ }, N(w(n, i)), 11, at)) : n.type === "iconText" ? (r(), g("div", ot, [
312
312
  n.iconPosition === "left" ? (r(), g(B, { key: 0 }, [
313
313
  n.iconPopover && Array.isArray(V(n, i)) ? (r(), v(s, { key: 0 }, {
314
314
  reference: d(() => {
@@ -332,11 +332,11 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
332
332
  color: (_ = S(n, i)) == null ? void 0 : _.color
333
333
  }, null, 8, ["name", "color"]))
334
334
  ], 64)) : f("", !0),
335
- w("span", {
335
+ b("span", {
336
336
  class: L(["text-ellipsis", { "click-style": n.onClick }]),
337
- title: z(n, i),
337
+ title: w(n, i),
338
338
  onClick: (C) => E(n, i, l, C)
339
- }, N(z(n, i)), 11, lt),
339
+ }, N(w(n, i)), 11, lt),
340
340
  n.iconPosition === "right" ? (r(), g(B, { key: 1 }, [
341
341
  n.iconPopover && Array.isArray(V(n, i)) ? (r(), v(s, { key: 0 }, {
342
342
  reference: d(() => {
@@ -367,9 +367,9 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
367
367
  ])) : (r(), g("div", {
368
368
  key: 3,
369
369
  class: L({ "text-ellipsis": !n.noEllipsis }),
370
- title: z(n, i),
370
+ title: w(n, i),
371
371
  style: W(Ie(n, i))
372
- }, N(z(n, i)), 15, it))
372
+ }, N(w(n, i)), 15, it))
373
373
  ];
374
374
  }),
375
375
  _: 2
@@ -383,7 +383,7 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
383
383
  width: e.rowBtnsWidth || (e.rowBtns.length * 34 + 12 > 100 ? e.rowBtns.length * 34 + 12 : 100)
384
384
  }, {
385
385
  default: d(({ row: n, $index: i }) => [
386
- w("div", st, [
386
+ b("div", st, [
387
387
  (r(!0), g(B, null, te(e.rowBtns, (l) => {
388
388
  var M;
389
389
  return r(), g(B, {
@@ -409,12 +409,11 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
409
409
  onClick: ne((_) => E(l, n, i, _), ["stop"])
410
410
  }, {
411
411
  default: d(() => [
412
- y(b, {
412
+ y(z, {
413
413
  class: "box-item",
414
414
  effect: "dark",
415
415
  content: l.label,
416
- placement: "top",
417
- "popper-class": "low-tsp"
416
+ placement: "top"
418
417
  }, {
419
418
  default: d(() => [
420
419
  l.icon ? (r(), v(R, {
@@ -437,7 +436,7 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
437
436
  }, 1032, ["disabled", "type", "onClick"])) : f("", !0)
438
437
  ]),
439
438
  default: d(() => [
440
- w("div", null, [
439
+ b("div", null, [
441
440
  y(h(j), {
442
441
  list: l.children
443
442
  }, null, 8, ["list"])
@@ -457,12 +456,11 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
457
456
  onClick: ne((_) => E(l, n, i, _), ["stop"])
458
457
  }, {
459
458
  default: d(() => [
460
- y(b, {
459
+ y(z, {
461
460
  class: "box-item",
462
461
  effect: "dark",
463
462
  content: l.label,
464
- placement: "top",
465
- "popper-class": "low-tsp"
463
+ placement: "top"
466
464
  }, {
467
465
  default: d(() => [
468
466
  l.icon ? (r(), v(R, {
@@ -496,10 +494,10 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
496
494
  ], 512), [
497
495
  [ae, F.value === "table"]
498
496
  ]),
499
- ee(y(Xe, qe({ data: p.value }, a, { getColText: z }), null, 16, ["data"]), [
497
+ ee(y(Xe, qe({ data: p.value }, a, { getColText: w }), null, 16, ["data"]), [
500
498
  [ae, F.value === "card"]
501
499
  ]),
502
- w("div", {
500
+ b("div", {
503
501
  class: L(["pagination-wrapper", {
504
502
  hidePagination: (e.hiddenPagination || p.value.length === 0) && !e.height,
505
503
  transparentPagination: (e.hiddenPagination || p.value.length === 0) && e.height,
@@ -523,7 +521,7 @@ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title
523
521
  ], 10, et));
524
522
  };
525
523
  }
526
- }), gt = /* @__PURE__ */ Ye(ut, [["__scopeId", "data-v-0b0be424"]]);
524
+ }), gt = /* @__PURE__ */ Ye(ut, [["__scopeId", "data-v-3eca8522"]]);
527
525
  export {
528
526
  gt as default
529
527
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, ref as y, computed as V, watch as k, onMounted as x, resolveComponent as c, openBlock as o, createBlock as d, mergeProps as u, withCtx as r, createElementBlock as i, Fragment as B, renderList as K, createElementVNode as p, toDisplayString as M, normalizeClass as T, createCommentVNode as E, createVNode as I, unref as N } from "vue";
2
- import { c as w, b as $, _ as z } from "./index-B5DFOgE6.js";
2
+ import { c as w, b as $, _ as z } from "./index-C8n3bw0x.js";
3
3
  import "element-plus";
4
4
  const A = { class: "tab-label" }, D = { class: "tab-label-text" }, F = /* @__PURE__ */ g({
5
5
  __name: "Tabs",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, mergeModels as i, useModel as _, computed as f, resolveComponent as v, openBlock as a, createElementBlock as d, createElementVNode as y, toDisplayString as m, createBlock as V, mergeProps as k } from "vue";
2
- import { u as B, _ as h } from "./index-B5DFOgE6.js";
2
+ import { u as B, _ as h } from "./index-C8n3bw0x.js";
3
3
  import "element-plus";
4
4
  const x = {
5
5
  key: 0,
@@ -1,13 +1,10 @@
1
- import { defineComponent as f, ref as w, resolveComponent as v, openBlock as a, createElementBlock as l, normalizeStyle as p, createVNode as r, withCtx as C, withDirectives as _, createElementVNode as g, normalizeClass as i, unref as b, createCommentVNode as c, vShow as x } from "vue";
2
- import { c as B, b as S, I as d, _ as k } from "./index-B5DFOgE6.js";
1
+ import { defineComponent as w, ref as f, resolveComponent as v, openBlock as a, createElementBlock as l, normalizeStyle as s, createVNode as r, withCtx as C, withDirectives as _, createElementVNode as b, normalizeClass as i, unref as g, createCommentVNode as c, vShow as x } from "vue";
2
+ import { c as B, b as S, I as d, _ as k } from "./index-C8n3bw0x.js";
3
3
  import "element-plus";
4
4
  const E = {
5
5
  key: 0,
6
6
  class: "dropdown-icon-wrapper"
7
- }, D = {
8
- key: 1,
9
- class: "expansion-icon-wrapper"
10
- }, I = /* @__PURE__ */ f({
7
+ }, D = /* @__PURE__ */ w({
11
8
  __name: "Wrapper",
12
9
  props: {
13
10
  children: {},
@@ -22,11 +19,11 @@ const E = {
22
19
  onExpand: {}
23
20
  },
24
21
  setup(u) {
25
- const o = u, { ruleModule: t, pageMethodMap: s } = B(), n = w(!1), y = () => {
22
+ const o = u, { ruleModule: t, pageMethodMap: p } = B(), n = f(!1), y = () => {
26
23
  if (o.onDropdownChange) {
27
24
  n.value = !n.value;
28
25
  try {
29
- t[o.onDropdownChange](s, n.value);
26
+ t[o.onDropdownChange](p, n.value);
30
27
  } catch (e) {
31
28
  console.error(e);
32
29
  }
@@ -34,28 +31,28 @@ const E = {
34
31
  }, m = () => {
35
32
  if (o.onExpand)
36
33
  try {
37
- t[o.onExpand](s);
34
+ t[o.onExpand](p);
38
35
  } catch (e) {
39
36
  console.error(e);
40
37
  }
41
38
  };
42
- return (e, j) => {
39
+ return (e, I) => {
43
40
  const h = v("el-collapse-transition");
44
41
  return a(), l("div", {
45
- style: p(e.style)
42
+ style: s(e.style)
46
43
  }, [
47
44
  r(h, null, {
48
45
  default: C(() => [
49
- _(g("div", {
46
+ _(b("div", {
50
47
  class: i({
51
48
  normal: e.type === "normal",
52
49
  onlytable: e.type === "onlytable",
53
50
  dropdownChildren: e.type === "dropdown-children",
54
51
  expansionWrapper: e.expansion
55
52
  }),
56
- style: p(e.innerStyle)
53
+ style: s(e.innerStyle)
57
54
  }, [
58
- r(b(S), { list: e.children }, null, 8, ["list"]),
55
+ r(g(S), { list: e.children }, null, 8, ["list"]),
59
56
  e.dropdown ? (a(), l("div", E, [
60
57
  r(d, {
61
58
  name: "icon-xialaliebiao",
@@ -64,11 +61,14 @@ const E = {
64
61
  class: i({ reversed: n.value })
65
62
  }, null, 8, ["class"])
66
63
  ])) : c("", !0),
67
- e.expansion ? (a(), l("div", D, [
64
+ e.expansion ? (a(), l("div", {
65
+ key: 1,
66
+ class: "expansion-icon-wrapper",
67
+ onClick: m
68
+ }, [
68
69
  r(d, {
69
70
  name: "icon-shuangxiangjiantou",
70
- color: "#666666",
71
- onClick: m
71
+ color: "#666666"
72
72
  })
73
73
  ])) : c("", !0)
74
74
  ], 6), [
@@ -80,7 +80,7 @@ const E = {
80
80
  ], 4);
81
81
  };
82
82
  }
83
- }), W = /* @__PURE__ */ k(I, [["__scopeId", "data-v-61efcb0f"]]);
83
+ }), V = /* @__PURE__ */ k(D, [["__scopeId", "data-v-179bbf63"]]);
84
84
  export {
85
- W as default
85
+ V as default
86
86
  };