asiaint-lowcode 3.1.57 → 3.1.58

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 (44) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +101 -100
  3. package/dist/index.d.ts +7 -0
  4. package/dist/lazy/{Card-DdWp3Dz9.js → Card-D0bbXvkE.js} +1 -1
  5. package/dist/lazy/{Cascader-BxsxfWZi.js → Cascader-CVF7Mugg.js} +1 -1
  6. package/dist/lazy/{Checkbox-BPJjRDut.js → Checkbox-_T8IhBqC.js} +2 -2
  7. package/dist/lazy/{Collapse-DMpWXH2D.js → Collapse-Ds1b3YDU.js} +1 -1
  8. package/dist/lazy/{Component-DhRio0qv.js → Component-B8bF5XT4.js} +1 -1
  9. package/dist/lazy/{Component-xrpa5QWJ.js → Component-C9plUbiY.js} +1 -1
  10. package/dist/lazy/Component-CFM9XDEd.js +162 -0
  11. package/dist/lazy/{Component-haJrwEDP.js → Component-CdoBzMc7.js} +1 -1
  12. package/dist/lazy/Component-D3ko2zV_.js +30 -0
  13. package/dist/lazy/{Component-BAb8Glyu.js → Component-DP42ZKK_.js} +1 -1
  14. package/dist/lazy/{Component-Cq9v0YT0.js → Component-DomwdjSx.js} +1 -1
  15. package/dist/lazy/{CurdCard-BqzAFbA5.js → CurdCard-BQRlQVr1.js} +1 -1
  16. package/dist/lazy/{Custom-EmbK57YY.js → Custom-g38jchRO.js} +1 -1
  17. package/dist/lazy/{DatePicker-BXnfk1Zr.js → DatePicker-CH9-SrZS.js} +1 -1
  18. package/dist/lazy/{DragList-DG75zaHa.js → DragList-DrNbhRhP.js} +1 -1
  19. package/dist/lazy/{FilterSearch-BMF9jCxH.js → FilterSearch-FpJsKJ3o.js} +1 -1
  20. package/dist/lazy/FloatCurd-5xXw_Uuf.js +161 -0
  21. package/dist/lazy/{FormList-_S8br6_H.js → FormList-uX7IBTqh.js} +1 -1
  22. package/dist/lazy/{Grid-kruDCFf5.js → Grid-ysr0Sucp.js} +1 -1
  23. package/dist/lazy/{InfiniteScroll-CtsW_oYO.js → InfiniteScroll-DZQrpuci.js} +1 -1
  24. package/dist/lazy/{Inline-5o19mIFm.js → Inline-CbhYGfPg.js} +1 -1
  25. package/dist/lazy/{JsonEdit-DzAF4EKV.js → JsonEdit-CyMnmq3r.js} +1 -1
  26. package/dist/lazy/{LogList-DA4nYLDd.js → LogList-uph8HlCd.js} +1 -1
  27. package/dist/lazy/{ObjGroup-6YLhqnv5.js → ObjGroup-N7KsOVel.js} +1 -1
  28. package/dist/lazy/{OfferDetails-BjMnexIs.js → OfferDetails-CIul9KOu.js} +1 -1
  29. package/dist/lazy/{Pagination-DiXJ2GWc.js → Pagination-DjW7ZS5F.js} +1 -1
  30. package/dist/lazy/{Progress-DPzECwdm.js → Progress-CdesxNAo.js} +1 -1
  31. package/dist/lazy/{Radio-D3XvuscY.js → Radio-_4avXRsG.js} +2 -2
  32. package/dist/lazy/{SearchSelect-D0-zUts-.js → SearchSelect-smSaLg9O.js} +2 -2
  33. package/dist/lazy/{Select-B1XcN6fN.js → Select-CSAee2NV.js} +2 -2
  34. package/dist/lazy/{Table-x-_aoAyQ.js → Table-DwCCVOES.js} +31 -29
  35. package/dist/lazy/{Tabs-Bdc3ze7v.js → Tabs-CwqrqWqQ.js} +1 -1
  36. package/dist/lazy/{TextArea-Crwzr10r.js → TextArea-Cvka_TgI.js} +1 -1
  37. package/dist/lazy/{Wrapper-DH0CbkLZ.js → Wrapper-Bu6nqkrG.js} +1 -1
  38. package/dist/lazy/{index-DY31m1LD.js → index-BOGnFXnC.js} +448 -431
  39. package/dist/lazy/{useSelect-Mr_5r7kL.js → useSelect-koHM4kMI.js} +1 -1
  40. package/dist/style.css +2 -2
  41. package/package.json +1 -1
  42. package/dist/lazy/Component-Bvb11i1A.js +0 -153
  43. package/dist/lazy/Component-T0MaVDE3.js +0 -13
  44. package/dist/lazy/FloatCurd-D_OPcxR6.js +0 -148
@@ -1,10 +1,10 @@
1
- import { defineComponent as We, computed as H, inject as F, ref as P, useTemplateRef as xe, onMounted as Ge, onActivated as Ke, onBeforeUnmount as qe, readonly as Je, toRefs as Oe, onUnmounted as Qe, resolveComponent as E, openBlock as r, createElementBlock as d, normalizeClass as T, createVNode as y, withCtx as g, createElementVNode as b, toDisplayString as B, unref as h, createCommentVNode as v, withDirectives as le, createBlock as f, Fragment as N, renderList as re, normalizeStyle as x, withModifiers as ie, vShow as se, mergeProps as Xe, nextTick as Ye } from "vue";
2
- import { $ as Ze, h as _, j as et, a as tt, I as $, b as W, C as at, _ as nt } from "./index-DY31m1LD.js";
1
+ import { defineComponent as je, computed as H, inject as F, ref as P, useTemplateRef as We, onMounted as Ge, onActivated as Ke, onBeforeUnmount as qe, readonly as Je, toRefs as Oe, onUnmounted as Qe, resolveComponent as E, openBlock as r, createElementBlock as d, normalizeClass as T, createVNode as y, withCtx as g, createElementVNode as b, toDisplayString as B, unref as h, createCommentVNode as v, withDirectives as le, createBlock as f, Fragment as N, renderList as re, normalizeStyle as W, withModifiers as ie, vShow as se, mergeProps as Xe, nextTick as Ye } from "vue";
2
+ import { $ as Ze, h as _, j as et, a as tt, I as $, b as j, C as at, _ as nt } from "./index-BOGnFXnC.js";
3
3
  import { ElTable as ot, ElLoading as ue } from "element-plus";
4
4
  const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-content" }, st = ["title"], ut = ["title", "onClick"], ct = {
5
5
  key: 1,
6
6
  class: "icon-text-wrapper"
7
- }, pt = ["title", "onClick"], dt = { key: 2 }, gt = ["title"], ht = { class: "row-btn-wrapper" }, vt = /* @__PURE__ */ We({
7
+ }, pt = ["title", "onClick"], dt = { key: 2 }, gt = ["title"], ht = { class: "row-btn-wrapper" }, vt = /* @__PURE__ */ je({
8
8
  __name: "Table",
9
9
  props: {
10
10
  title: {},
@@ -104,8 +104,8 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
104
104
  var u;
105
105
  const o = (u = n.rowBtns) == null ? void 0 : u.find((C) => C.key === e);
106
106
  o && (o.condition = !t);
107
- }, V = P(0), Re = (e) => {
108
- V.value = e;
107
+ }, x = P(0), Re = (e) => {
108
+ x.value = e;
109
109
  }, i = P({ pageNum: 1, pageSize: n.defaultPageSize || 5 }), z = P({ pageNum: 1, pageSize: n.defaultPageSize || 5 }), Te = () => i.value, _e = (e) => {
110
110
  let t = !1;
111
111
  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 };
@@ -155,7 +155,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
155
155
  e >= 0 && e < p.value.length && p.value.splice(e, 1);
156
156
  }, Fe = async () => {
157
157
  p.value = [...p.value];
158
- }, X = xe("rootRef"), w = (e, t) => {
158
+ }, X = We("rootRef"), w = (e, t) => {
159
159
  const o = q ? q(e, t) : t[e.key];
160
160
  if (!e.encrypted || !o)
161
161
  return o;
@@ -176,7 +176,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
176
176
  } catch (o) {
177
177
  console.error(o);
178
178
  }
179
- }, j = (e, t) => {
179
+ }, V = (e, t) => {
180
180
  if (!(!e.getIconPopoverContent || !c.value))
181
181
  try {
182
182
  return c.value[e.getIconPopoverContent](m, t, e);
@@ -190,7 +190,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
190
190
  } catch (o) {
191
191
  console.error(o);
192
192
  }
193
- }, Ve = H(() => !n.rowBtns || n.rowBtns.length === 0 || !p.value || p.value.length === 0 ? !1 : p.value.some(
193
+ }, xe = H(() => !n.rowBtns || n.rowBtns.length === 0 || !p.value || p.value.length === 0 ? !1 : p.value.some(
194
194
  (e) => {
195
195
  var t;
196
196
  return (t = n.rowBtns) == null ? void 0 : t.some((o) => o.condition === void 0 || o.condition === null ? !0 : _(o.condition, {
@@ -198,7 +198,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
198
198
  $globalParams: D()
199
199
  }));
200
200
  }
201
- )), je = P(void 0), He = H(() => je.value || n.height), Y = async () => {
201
+ )), Ve = P(void 0), He = H(() => Ve.value || n.height), Y = async () => {
202
202
  if (!n.onMounted || !c.value)
203
203
  return;
204
204
  await Ye();
@@ -260,7 +260,11 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
260
260
  const o = E("el-pagination"), u = E("el-table-column"), C = E("el-popover"), te = E("el-tooltip"), ae = E("el-button");
261
261
  return e.hidden ? v("", !0) : (r(), d("div", {
262
262
  key: 0,
263
- class: T(["table-render", { tableBorder: M.value === "table", [e.name]: !0 }]),
263
+ class: T(["table-render", {
264
+ tableBorder: M.value === "table",
265
+ [e.name]: !0,
266
+ "top-pagination": e.paginationPosition === "top"
267
+ }]),
264
268
  ref_key: "rootRef",
265
269
  ref: X,
266
270
  id: e.name
@@ -268,14 +272,12 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
268
272
  e.paginationPosition === "top" ? (r(), d("div", {
269
273
  key: 0,
270
274
  class: T(["pagination-wrapper", {
271
- hidePagination: (e.hiddenPagination || p.value.length === 0) && !e.height,
272
- transparentPagination: (e.hiddenPagination || p.value.length === 0) && e.height,
273
275
  cardlistPadding: M.value === "card"
274
276
  }])
275
277
  }, [
276
278
  y(o, {
277
- layout: e.paginationLayout || "slot,sizes, prev, pager, next,jumper",
278
- total: V.value,
279
+ layout: e.paginationLayout || "slot ,sizes, prev, pager, next",
280
+ total: x.value,
279
281
  "page-sizes": e.pageSizes || [5, 6, 10, 20, 30, 40],
280
282
  "default-page-size": e.defaultPageSize,
281
283
  "current-page": i.value.pageNum,
@@ -287,7 +289,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
287
289
  onCurrentChange: Q
288
290
  }, {
289
291
  default: g(() => [
290
- b("div", rt, B(h(_)(e.totalText, { $total: V.value })), 1)
292
+ b("div", rt, B(h(_)(e.totalText, { $total: x.value })), 1)
291
293
  ]),
292
294
  _: 1
293
295
  }, 8, ["layout", "total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
@@ -348,7 +350,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
348
350
  onClick: (k) => U(a, s, l, k)
349
351
  }, B(w(a, s)), 11, ut)) : a.type === "iconText" ? (r(), d("div", ct, [
350
352
  a.iconPosition === "left" ? (r(), d(N, { key: 0 }, [
351
- a.iconPopover && Array.isArray(j(a, s)) ? (r(), f(C, { key: 0 }, {
353
+ a.iconPopover && Array.isArray(V(a, s)) ? (r(), f(C, { key: 0 }, {
352
354
  reference: g(() => {
353
355
  var k, I;
354
356
  return [
@@ -359,8 +361,8 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
359
361
  ];
360
362
  }),
361
363
  default: g(() => [
362
- y(h(W), {
363
- list: j(a, s) || []
364
+ y(h(j), {
365
+ list: V(a, s) || []
364
366
  }, null, 8, ["list"])
365
367
  ]),
366
368
  _: 2
@@ -376,7 +378,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
376
378
  onClick: (k) => U(a, s, l, k)
377
379
  }, B(w(a, s)), 11, pt),
378
380
  a.iconPosition === "right" ? (r(), d(N, { key: 1 }, [
379
- a.iconPopover && Array.isArray(j(a, s)) ? (r(), f(C, { key: 0 }, {
381
+ a.iconPopover && Array.isArray(V(a, s)) ? (r(), f(C, { key: 0 }, {
380
382
  reference: g(() => {
381
383
  var k, I;
382
384
  return [
@@ -387,8 +389,8 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
387
389
  ];
388
390
  }),
389
391
  default: g(() => [
390
- y(h(W), {
391
- list: j(a, s) || []
392
+ y(h(j), {
393
+ list: V(a, s) || []
392
394
  }, null, 8, ["list"])
393
395
  ]),
394
396
  _: 2
@@ -399,21 +401,21 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
399
401
  }, null, 8, ["name", "color"]))
400
402
  ], 64)) : v("", !0)
401
403
  ])) : a.type === "customContent" ? (r(), d("div", dt, [
402
- y(h(W), {
404
+ y(h(j), {
403
405
  list: Ue(a, s) || []
404
406
  }, null, 8, ["list"])
405
407
  ])) : (r(), d("div", {
406
408
  key: 3,
407
409
  class: T({ "text-ellipsis": !a.noEllipsis }),
408
410
  title: w(a, s),
409
- style: x(Ee(a, s))
411
+ style: W(Ee(a, s))
410
412
  }, B(w(a, s)), 15, gt))
411
413
  ];
412
414
  }),
413
415
  _: 2
414
416
  }, 1032, ["prop", "min-width", "fixed", "sortable"]))
415
417
  ], 64))), 128)),
416
- Ve.value && e.rowBtns && e.rowBtns.length > 0 ? (r(), f(u, {
418
+ xe.value && e.rowBtns && e.rowBtns.length > 0 ? (r(), f(u, {
417
419
  key: 1,
418
420
  label: e.rowBtnsLabel || "Action",
419
421
  fixed: "right",
@@ -464,7 +466,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
464
466
  }, 1032, ["content"]),
465
467
  l.buttonText ? (r(), d("span", {
466
468
  key: 0,
467
- style: x({ color: l.buttonText.color, fontSize: "14px" })
469
+ style: W({ color: l.buttonText.color, fontSize: "14px" })
468
470
  }, B(h(_)(l.buttonText.text, {
469
471
  $row: a,
470
472
  $globalParams: h(D)()
@@ -475,7 +477,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
475
477
  ]),
476
478
  default: g(() => [
477
479
  b("div", null, [
478
- y(h(W), {
480
+ y(h(j), {
479
481
  list: l.children
480
482
  }, null, 8, ["list"])
481
483
  ])
@@ -511,7 +513,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
511
513
  }, 1032, ["content"]),
512
514
  l.buttonText ? (r(), d("span", {
513
515
  key: 0,
514
- style: x({ color: l.buttonText.color, fontSize: "14px" })
516
+ style: W({ color: l.buttonText.color, fontSize: "14px" })
515
517
  }, B(h(_)(l.buttonText.text, {
516
518
  $row: a,
517
519
  $globalParams: h(D)()
@@ -545,7 +547,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
545
547
  }, [
546
548
  y(o, {
547
549
  layout: e.paginationLayout || "total,sizes, prev, pager, next,jumper",
548
- total: V.value,
550
+ total: x.value,
549
551
  "page-sizes": e.pageSizes || [5, 6, 10, 20, 30, 40],
550
552
  "default-page-size": e.defaultPageSize,
551
553
  "current-page": i.value.pageNum,
@@ -560,7 +562,7 @@ const lt = ["id"], rt = { class: "custom-total-text" }, it = { class: "empty-con
560
562
  ], 10, lt));
561
563
  };
562
564
  }
563
- }), Ct = /* @__PURE__ */ nt(vt, [["__scopeId", "data-v-f3445c26"]]);
565
+ }), Ct = /* @__PURE__ */ nt(vt, [["__scopeId", "data-v-ae2de36c"]]);
564
566
  export {
565
567
  Ct as default
566
568
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, ref as w, computed as I, watch as u, onMounted as B, resolveComponent as b, openBlock as t, createBlock as p, mergeProps as _, withCtx as i, createElementVNode as r, createElementBlock as l, Fragment as d, renderList as m, createVNode as y, createCommentVNode as c, toDisplayString as M, normalizeClass as E, unref as F } from "vue";
2
- import { c as $, I as f, b as z, _ as A } from "./index-DY31m1LD.js";
2
+ import { c as $, I as f, b as z, _ as A } from "./index-BOGnFXnC.js";
3
3
  import "element-plus";
4
4
  const D = { class: "right-icon-wrapper" }, L = { class: "dynamic-icon-wrapper" }, P = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, mergeModels as i, useModel as _, computed as v, resolveComponent as f, openBlock as a, createElementBlock as m, createElementVNode as y, toDisplayString as r, createBlock as V, mergeProps as k } from "vue";
2
- import { u as B, _ as h } from "./index-DY31m1LD.js";
2
+ import { u as B, _ as h } from "./index-BOGnFXnC.js";
3
3
  import "element-plus";
4
4
  const x = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
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 g, normalizeClass as i, unref as x, createCommentVNode as c, vShow as B } from "vue";
2
- import { c as S, b, I as d, _ as k } from "./index-DY31m1LD.js";
2
+ import { c as S, b, I as d, _ as k } from "./index-BOGnFXnC.js";
3
3
  import "element-plus";
4
4
  const E = {
5
5
  key: 0,