asiaint-lowcode 3.1.150 → 3.1.152

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 (42) hide show
  1. package/dist/asiaint-lowcode.d.ts +10 -9
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +105 -105
  4. package/dist/lazy/{Card-BlaJohq4.js → Card-Bse8xwr5.js} +1 -1
  5. package/dist/lazy/{Cascader-Dja3z5Ju.js → Cascader-DBSNafcd.js} +1 -1
  6. package/dist/lazy/{Checkbox-CEmguDvy.js → Checkbox-BiF844O7.js} +2 -2
  7. package/dist/lazy/{Collapse-CkcmOAIg.js → Collapse-CdSUEFqR.js} +1 -1
  8. package/dist/lazy/Component-23D2wKDW.js +106 -0
  9. package/dist/lazy/{Component-DSJ92oQJ.js → Component-Cq0cXdgX.js} +1 -1
  10. package/dist/lazy/{Component-Cj5YE7Bb.js → Component-CuosflLO.js} +1 -1
  11. package/dist/lazy/{Component-BwN8379g.js → Component-D2RP5xU_.js} +1 -1
  12. package/dist/lazy/{Component-DAgqPX1i.js → Component-sx1o6xx2.js} +1 -1
  13. package/dist/lazy/{CurdCard-CDMiiV7a.js → CurdCard-31W6TexY.js} +1 -1
  14. package/dist/lazy/{Custom-B8Id_H_C.js → Custom-BbWW-qz3.js} +1 -1
  15. package/dist/lazy/{DatePicker-mocIc0to.js → DatePicker-CKxqHFqK.js} +1 -1
  16. package/dist/lazy/{DragList-PG72Ileq.js → DragList-x4gT0hNh.js} +1 -1
  17. package/dist/lazy/{FilterSearch-HrgvNbNR.js → FilterSearch-CzAHLACD.js} +1 -1
  18. package/dist/lazy/{FloatCurd-CJ5ZWJqF.js → FloatCurd-BxKtmFJp.js} +1 -1
  19. package/dist/lazy/{FloatSearchCurd-DkPHL5O1.js → FloatSearchCurd-FNsXmWbG.js} +1 -1
  20. package/dist/lazy/{FormList-BQGdSY9_.js → FormList-BfVax8gf.js} +1 -1
  21. package/dist/lazy/{Grid-B9L4CM99.js → Grid-BTSgOqHu.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-D2pFbdt9.js → InfiniteScroll-B3TuZ6vy.js} +1 -1
  23. package/dist/lazy/{Inline-DfE7n2NC.js → Inline-BF468IGl.js} +1 -1
  24. package/dist/lazy/{JsonEdit-CF3iOdDD.js → JsonEdit-BXr1ZlS9.js} +1 -1
  25. package/dist/lazy/{LogList-Dvrspp9O.js → LogList-DsJilqwL.js} +1 -1
  26. package/dist/lazy/{ObjGroup-fIYEtj5t.js → ObjGroup-CVUhicBm.js} +1 -1
  27. package/dist/lazy/{OfferDetails-DYZY-3ia.js → OfferDetails-dMnPyA5r.js} +1 -1
  28. package/dist/lazy/{Pagination-BHD7FjH4.js → Pagination-BwR-SF9P.js} +6 -6
  29. package/dist/lazy/{Progress-CRlRx3wQ.js → Progress-Dg1XaHFa.js} +1 -1
  30. package/dist/lazy/{Radio-BOQ9ZjuW.js → Radio-BYvPgb8Q.js} +2 -2
  31. package/dist/lazy/{SearchSelect-CEfmgxbW.js → SearchSelect-CwS4bZ2o.js} +2 -2
  32. package/dist/lazy/{Select-CIu3LxP1.js → Select-Dw_9TnUE.js} +2 -2
  33. package/dist/lazy/{Table-CU7GdNAF.js → Table-DJAEOzdV.js} +45 -45
  34. package/dist/lazy/{Tabs-DoidqZM-.js → Tabs-DOBlXvid.js} +1 -1
  35. package/dist/lazy/TextArea-udOkBIWR.js +42 -0
  36. package/dist/lazy/{Wrapper-o806goxM.js → Wrapper-9KR_y9L8.js} +1 -1
  37. package/dist/lazy/{index-BP2XXv_2.js → index-DDj2z93x.js} +1320 -1320
  38. package/dist/lazy/{useSelect-CmzNIxeV.js → useSelect-C2Z7eNq_.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/package.json +1 -1
  41. package/dist/lazy/Component-encbhYan.js +0 -47
  42. package/dist/lazy/TextArea-DoeKrRCD.js +0 -37
@@ -1,6 +1,6 @@
1
- import { defineComponent as it, computed as J, inject as U, ref as C, useTemplateRef as st, onMounted as ut, onActivated as ct, onBeforeUnmount as pt, readonly as gt, toRefs as dt, onUnmounted as ht, resolveComponent as T, resolveDirective as vt, openBlock as r, createElementBlock as g, normalizeClass as D, createVNode as y, withCtx as d, createElementVNode as k, toDisplayString as P, unref as h, createCommentVNode as m, createTextVNode as Q, withDirectives as X, createBlock as w, Fragment as _, renderList as we, normalizeStyle as Y, withModifiers as Se, vShow as Pe, mergeProps as mt, nextTick as yt } from "vue";
2
- import { $ as ft, h as F, j as Ct, i as kt, a as wt, I as M, b as W, C as St, _ as Pt } from "./index-BP2XXv_2.js";
3
- import { ElTable as bt, ElLoading as be, ElMessage as zt } from "element-plus";
1
+ import { defineComponent as it, computed as J, inject as U, ref as C, useTemplateRef as st, onMounted as ut, onActivated as ct, onBeforeUnmount as pt, readonly as gt, toRefs as dt, onUnmounted as ht, resolveComponent as T, resolveDirective as vt, openBlock as r, createElementBlock as g, normalizeClass as D, createVNode as y, withCtx as d, createElementVNode as k, toDisplayString as b, unref as h, createCommentVNode as m, createTextVNode as Q, withDirectives as X, createBlock as w, Fragment as _, renderList as we, normalizeStyle as Y, withModifiers as Se, vShow as be, mergeProps as mt, nextTick as yt } from "vue";
2
+ import { $ as ft, h as F, j as Ct, i as kt, a as wt, I as M, b as W, C as St, _ as bt } from "./index-DDj2z93x.js";
3
+ import { ElTable as Pt, ElLoading as Pe, ElMessage as zt } from "element-plus";
4
4
  const Bt = ["id"], Nt = { class: "custom-slot" }, Rt = {
5
5
  key: 0,
6
6
  class: "poll-wrapper"
@@ -62,7 +62,7 @@ const Bt = ["id"], Nt = { class: "custom-slot" }, Rt = {
62
62
  }, Te = (e, t) => {
63
63
  const a = o.columns.find((s) => s.key === e);
64
64
  a && (a.hidden = !t);
65
- }, H = (e, t, a, s) => {
65
+ }, j = (e, t, a, s) => {
66
66
  try {
67
67
  c.value[e.onClick](v, t, a, s), s == null || s.stopPropagation();
68
68
  } catch (S) {
@@ -127,19 +127,19 @@ handleRowClick: ${o.rowClick}
127
127
  var s;
128
128
  const a = (s = o.topBtns) == null ? void 0 : s.find((S) => S.key === e);
129
129
  a && (a.hidden = t);
130
- }, He = (e, t) => {
130
+ }, je = (e, t) => {
131
131
  var s;
132
132
  const a = (s = o.rowBtns) == null ? void 0 : s.find((S) => S.key === e);
133
133
  a && (a.condition = !t);
134
- }, I = C(0), Ke = (e) => {
134
+ }, I = C(0), He = (e) => {
135
135
  I.value = e;
136
- }, je = () => I.value, i = C({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), z = C({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), We = () => i.value, Ge = (e) => {
136
+ }, Ke = () => I.value, i = C({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), z = C({ pageNum: 1, pageSize: o.defaultPageSize || 10 }), We = () => i.value, Ge = (e) => {
137
137
  let t = !1;
138
138
  return e.pageNum !== void 0 && e.pageNum > -1 && (i.value.pageNum !== e.pageNum && (t = !0), i.value.pageNum = e.pageNum), e.pageSize !== void 0 && e.pageSize > -1 && (i.value.pageSize !== e.pageSize && (t = !0), i.value.pageSize = e.pageSize), { pagination: i.value, isChange: t };
139
139
  }, ie = async () => {
140
140
  if (i.value.pageNum = 1, !o.sizeChange)
141
141
  return;
142
- const e = be.service({
142
+ const e = Pe.service({
143
143
  target: `#${o.name}`,
144
144
  text: "Loading..."
145
145
  });
@@ -153,7 +153,7 @@ handleRowClick: ${o.rowClick}
153
153
  }, se = async () => {
154
154
  if (!o.pageChange)
155
155
  return;
156
- const e = be.service({
156
+ const e = Pe.service({
157
157
  target: `#${o.name}`,
158
158
  text: "Loading..."
159
159
  });
@@ -203,7 +203,7 @@ handleRowClick: ${o.rowClick}
203
203
  } catch (a) {
204
204
  console.error(a);
205
205
  }
206
- }, K = (e, t) => {
206
+ }, H = (e, t) => {
207
207
  if (!(!e.getIconPopoverContent || !c.value))
208
208
  try {
209
209
  return c.value[e.getIconPopoverContent](v, t, e);
@@ -241,13 +241,13 @@ handleRowClick: ${o.rowClick}
241
241
  } catch (t) {
242
242
  console.error(t);
243
243
  }
244
- }, j = C(void 0);
244
+ }, K = C(void 0);
245
245
  function ge(e) {
246
246
  if (e) {
247
- j.value = e;
247
+ K.value = e;
248
248
  return;
249
249
  }
250
- o.heightDifference && Number(o.heightDifference) > 0 ? j.value = window.innerHeight - Number(o.heightDifference) : j.value = void 0;
250
+ o.heightDifference && Number(o.heightDifference) > 0 ? K.value = window.innerHeight - Number(o.heightDifference) : K.value = void 0;
251
251
  }
252
252
  const q = C(!1), lt = (e) => {
253
253
  q.value = e;
@@ -291,14 +291,14 @@ handleRowClick: ${o.rowClick}
291
291
  setData: Qe,
292
292
  selectRow: qe,
293
293
  selectRowNum: Oe,
294
- setTotal: Ke,
295
- getTotal: je,
294
+ setTotal: He,
295
+ getTotal: Ke,
296
296
  getPagination: We,
297
297
  setPagination: Ge,
298
298
  setTopBtnHidden: Fe,
299
299
  setColVisible: Te,
300
300
  setColumn: Je,
301
- setRowsBtnHidden: He,
301
+ setRowsBtnHidden: je,
302
302
  pollEnabled: G,
303
303
  pollInterval: f,
304
304
  rootRef: ue,
@@ -335,7 +335,7 @@ handleRowClick: ${o.rowClick}
335
335
  }])
336
336
  }, [
337
337
  y(S, {
338
- layout: e.paginationLayout || "slot ,sizes, prev, pager, next",
338
+ layout: e.paginationLayout || "slot ,sizes, prev, pager, next,jumper",
339
339
  total: I.value,
340
340
  "page-sizes": e.pageSizes || [5, 6, 10, 20, 30, 40],
341
341
  "default-page-size": e.defaultPageSize,
@@ -355,7 +355,7 @@ handleRowClick: ${o.rowClick}
355
355
  "onUpdate:modelValue": t[0] || (t[0] = (n) => G.value = n),
356
356
  onChange: ot
357
357
  }, null, 8, ["modelValue"]),
358
- k("span", null, P(h(ce).table.pollText), 1),
358
+ k("span", null, b(h(ce).table.pollText), 1),
359
359
  y(s, {
360
360
  type: "number",
361
361
  style: { width: "45px", height: "28px" },
@@ -363,13 +363,13 @@ handleRowClick: ${o.rowClick}
363
363
  "onUpdate:modelValue": t[1] || (t[1] = (n) => f.value = n),
364
364
  onChange: at
365
365
  }, null, 8, ["modelValue"]),
366
- k("span", null, P(h(ce).table.pollUnit), 1)
366
+ k("span", null, b(h(ce).table.pollUnit), 1)
367
367
  ])) : m("", !0),
368
368
  k("span", Tt, [
369
369
  t[6] || (t[6] = Q("Showing ")),
370
- k("span", _t, P(ee(p.value.length)), 1),
370
+ k("span", _t, b(ee(p.value.length)), 1),
371
371
  t[7] || (t[7] = Q(" of ")),
372
- k("span", $t, P(ee(I.value)), 1),
372
+ k("span", $t, b(ee(I.value)), 1),
373
373
  t[8] || (t[8] = Q(" records"))
374
374
  ])
375
375
  ])
@@ -378,7 +378,7 @@ handleRowClick: ${o.rowClick}
378
378
  }, 8, ["layout", "total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
379
379
  ], 2)) : m("", !0),
380
380
  X(k("div", null, [
381
- X((r(), w(h(bt), {
381
+ X((r(), w(h(Pt), {
382
382
  ref_key: "tableRef",
383
383
  ref: N,
384
384
  data: p.value,
@@ -390,7 +390,7 @@ handleRowClick: ${o.rowClick}
390
390
  onSelectionChange: Me,
391
391
  onCurrentChange: re,
392
392
  height: e.height || void 0,
393
- "max-height": j.value,
393
+ "max-height": K.value,
394
394
  "scrollbar-always-on": ""
395
395
  }, {
396
396
  empty: d(() => [
@@ -423,7 +423,7 @@ handleRowClick: ${o.rowClick}
423
423
  k("div", {
424
424
  class: "text-ellipsis",
425
425
  title: Z(n.label)
426
- }, P(Z(n.label)), 9, Mt)
426
+ }, b(Z(n.label)), 9, Mt)
427
427
  ]),
428
428
  default: d(({ row: u, $index: l }) => {
429
429
  var A, $, Ce, ke;
@@ -432,22 +432,22 @@ handleRowClick: ${o.rowClick}
432
432
  key: 0,
433
433
  class: D(["text-ellipsis link-style", { "click-style": n.onClick }]),
434
434
  title: R(n, u),
435
- onClick: (b) => H(n, u, l, b)
436
- }, P(R(n, u)), 11, xt)) : n.type === "iconText" ? (r(), g("div", Lt, [
435
+ onClick: (P) => j(n, u, l, P)
436
+ }, b(R(n, u)), 11, xt)) : n.type === "iconText" ? (r(), g("div", Lt, [
437
437
  n.iconPosition === "left" ? (r(), g(_, { key: 0 }, [
438
- n.iconPopover && Array.isArray(K(n, u)) ? (r(), w(O, { key: 0 }, {
438
+ n.iconPopover && Array.isArray(H(n, u)) ? (r(), w(O, { key: 0 }, {
439
439
  reference: d(() => {
440
- var b, E;
440
+ var P, E;
441
441
  return [
442
442
  y(M, {
443
- name: (b = B(n, u)) == null ? void 0 : b.name,
443
+ name: (P = B(n, u)) == null ? void 0 : P.name,
444
444
  color: (E = B(n, u)) == null ? void 0 : E.color
445
445
  }, null, 8, ["name", "color"])
446
446
  ];
447
447
  }),
448
448
  default: d(() => [
449
449
  y(h(W), {
450
- list: K(n, u) || []
450
+ list: H(n, u) || []
451
451
  }, null, 8, ["list"])
452
452
  ]),
453
453
  _: 2
@@ -460,22 +460,22 @@ handleRowClick: ${o.rowClick}
460
460
  k("span", {
461
461
  class: D(["text-ellipsis", { "click-style": n.onClick }]),
462
462
  title: R(n, u),
463
- onClick: (b) => H(n, u, l, b)
464
- }, P(R(n, u)), 11, It),
463
+ onClick: (P) => j(n, u, l, P)
464
+ }, b(R(n, u)), 11, It),
465
465
  n.iconPosition === "right" ? (r(), g(_, { key: 1 }, [
466
- n.iconPopover && Array.isArray(K(n, u)) ? (r(), w(O, { key: 0 }, {
466
+ n.iconPopover && Array.isArray(H(n, u)) ? (r(), w(O, { key: 0 }, {
467
467
  reference: d(() => {
468
- var b, E;
468
+ var P, E;
469
469
  return [
470
470
  y(M, {
471
- name: (b = B(n, u)) == null ? void 0 : b.name,
471
+ name: (P = B(n, u)) == null ? void 0 : P.name,
472
472
  color: (E = B(n, u)) == null ? void 0 : E.color
473
473
  }, null, 8, ["name", "color"])
474
474
  ];
475
475
  }),
476
476
  default: d(() => [
477
477
  y(h(W), {
478
- list: K(n, u) || []
478
+ list: H(n, u) || []
479
479
  }, null, 8, ["list"])
480
480
  ]),
481
481
  _: 2
@@ -494,7 +494,7 @@ handleRowClick: ${o.rowClick}
494
494
  class: D({ "text-ellipsis": !n.noEllipsis }),
495
495
  title: R(n, u),
496
496
  style: Y(et(n, u))
497
- }, P(R(n, u)), 15, At))
497
+ }, b(R(n, u)), 15, At))
498
498
  ];
499
499
  }),
500
500
  _: 2
@@ -531,7 +531,7 @@ handleRowClick: ${o.rowClick}
531
531
  link: "",
532
532
  size: "small",
533
533
  type: l.type,
534
- onClick: Se(($) => H(l, n, u, $), ["stop"])
534
+ onClick: Se(($) => j(l, n, u, $), ["stop"])
535
535
  }, {
536
536
  default: d(() => [
537
537
  y(me, {
@@ -552,7 +552,7 @@ handleRowClick: ${o.rowClick}
552
552
  l.buttonText ? (r(), g("span", {
553
553
  key: 0,
554
554
  style: Y({ color: l.buttonText.color, fontSize: "14px" })
555
- }, P(h(F)(l.buttonText.text, {
555
+ }, b(h(F)(l.buttonText.text, {
556
556
  $row: n,
557
557
  $globalParams: h(L)()
558
558
  })), 5)) : m("", !0)
@@ -578,7 +578,7 @@ handleRowClick: ${o.rowClick}
578
578
  link: "",
579
579
  size: "small",
580
580
  type: l.type,
581
- onClick: Se(($) => H(l, n, u, $), ["stop"])
581
+ onClick: Se(($) => j(l, n, u, $), ["stop"])
582
582
  }, {
583
583
  default: d(() => [
584
584
  y(me, {
@@ -599,7 +599,7 @@ handleRowClick: ${o.rowClick}
599
599
  l.buttonText ? (r(), g("span", {
600
600
  key: 0,
601
601
  style: Y({ color: l.buttonText.color, fontSize: "14px" })
602
- }, P(h(F)(l.buttonText.text, {
602
+ }, b(h(F)(l.buttonText.text, {
603
603
  $row: n,
604
604
  $globalParams: h(L)()
605
605
  })), 5)) : m("", !0)
@@ -619,7 +619,7 @@ handleRowClick: ${o.rowClick}
619
619
  [fe, q.value]
620
620
  ])
621
621
  ], 512), [
622
- [Pe, x.value === "table"]
622
+ [be, x.value === "table"]
623
623
  ]),
624
624
  X(y(St, mt({
625
625
  ref_key: "cardListRef",
@@ -629,7 +629,7 @@ handleRowClick: ${o.rowClick}
629
629
  getColText: R,
630
630
  onCurrentChange: re
631
631
  }), null, 16, ["data"]), [
632
- [Pe, x.value === "card"],
632
+ [be, x.value === "card"],
633
633
  [fe, q.value]
634
634
  ]),
635
635
  e.paginationPosition !== "top" ? (r(), g("div", {
@@ -657,7 +657,7 @@ handleRowClick: ${o.rowClick}
657
657
  ], 10, Bt));
658
658
  };
659
659
  }
660
- }), jt = /* @__PURE__ */ Pt(Ut, [["__scopeId", "data-v-395c3ad1"]]);
660
+ }), Kt = /* @__PURE__ */ bt(Ut, [["__scopeId", "data-v-b2b29ed9"]]);
661
661
  export {
662
- jt as default
662
+ Kt as default
663
663
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as N, ref as z, computed as M, watch as _, onMounted as R, onUnmounted as W, resolveComponent as C, openBlock as o, createBlock as m, mergeProps as T, withCtx as d, createElementVNode as p, createElementBlock as u, createVNode as y, createCommentVNode as f, Fragment as A, renderList as S, toDisplayString as $, normalizeClass as D, unref as F } from "vue";
2
- import { c as U, i as P, B as k, I as X, b as Y, _ as j } from "./index-BP2XXv_2.js";
2
+ import { c as U, i as P, B as k, I as X, b as Y, _ as j } from "./index-DDj2z93x.js";
3
3
  import "element-plus";
4
4
  const q = { class: "right-icon-wrapper" }, G = {
5
5
  key: 0,
@@ -0,0 +1,42 @@
1
+ import { defineComponent as p, mergeModels as i, useModel as v, computed as _, resolveComponent as f, openBlock as a, createElementBlock as l, createElementVNode as y, toDisplayString as d, createBlock as h, mergeProps as k } from "vue";
2
+ import { u as V, _ as B } from "./index-DDj2z93x.js";
3
+ import "element-plus";
4
+ const M = ["innerHTML"], R = {
5
+ key: 1,
6
+ class: "special-read"
7
+ }, x = { class: "special-read-value" }, T = {
8
+ key: 2,
9
+ class: "textarea-read"
10
+ }, g = /* @__PURE__ */ p({
11
+ __name: "TextArea",
12
+ props: /* @__PURE__ */ i({
13
+ name: {},
14
+ read: { type: Boolean },
15
+ specialRead: { type: Boolean },
16
+ htmlRead: { type: Boolean }
17
+ }, {
18
+ modelValue: {},
19
+ modelModifiers: {}
20
+ }),
21
+ emits: ["update:modelValue"],
22
+ setup(s) {
23
+ const e = v(s, "modelValue"), r = s, m = V(), o = _(() => r.read || m.schema.read);
24
+ return (t, n) => {
25
+ const c = f("el-input");
26
+ return t.htmlRead && o.value ? (a(), l("div", {
27
+ key: 0,
28
+ class: "html-read",
29
+ innerHTML: e.value || "--"
30
+ }, null, 8, M)) : t.specialRead && o.value ? (a(), l("div", R, [
31
+ y("div", x, d(e.value || "--"), 1)
32
+ ])) : o.value ? (a(), l("div", T, d(e.value || "--"), 1)) : (a(), h(c, k({ key: 3 }, t.$attrs, {
33
+ modelValue: e.value,
34
+ "onUpdate:modelValue": n[0] || (n[0] = (u) => e.value = u),
35
+ type: "textarea"
36
+ }), null, 16, ["modelValue"]));
37
+ };
38
+ }
39
+ }), E = /* @__PURE__ */ B(g, [["__scopeId", "data-v-f5ec4758"]]);
40
+ export {
41
+ E as default
42
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as C, onUnmounted as g, resolveComponent as x, openBlock as r, createElementBlock as t, normalizeStyle as i, createVNode as a, withCtx as S, withDirectives as b, createElementVNode as _, normalizeClass as c, unref as B, createCommentVNode as d, vShow as D } from "vue";
2
- import { c as k, i as E, b as I, I as u, _ as j } from "./index-BP2XXv_2.js";
2
+ import { c as k, i as E, b as I, I as u, _ as j } from "./index-DDj2z93x.js";
3
3
  import "element-plus";
4
4
  const M = {
5
5
  key: 0,