asiaint-lowcode 3.1.38 → 3.1.40

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 (43) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +161 -160
  3. package/dist/index.d.ts +17 -2
  4. package/dist/lazy/{Card-BDM6XuJU.js → Card-DwajQC96.js} +23 -22
  5. package/dist/lazy/{Cascader-CZHGG0pG.js → Cascader-C6DZvWli.js} +6 -5
  6. package/dist/lazy/{Checkbox-BhvL5E2k.js → Checkbox-M2QU0ems.js} +8 -7
  7. package/dist/lazy/{Collapse-ClRN3_Of.js → Collapse-Bukxwv68.js} +1 -1
  8. package/dist/lazy/Component-B-BSHbyi.js +153 -0
  9. package/dist/lazy/{Component-DM4mr-di.js → Component-CNr4P3ZK.js} +1 -1
  10. package/dist/lazy/{Component-CwrnPKx7.js → Component-CQTEzTL9.js} +1 -1
  11. package/dist/lazy/{Component-555PMoc2.js → Component-DTKrAgEC.js} +1 -1
  12. package/dist/lazy/{Component-Z05b2x3I.js → Component-iI9l-9HZ.js} +1 -1
  13. package/dist/lazy/{Component-C7VeIPP5.js → Component-yP9uS6v7.js} +1 -1
  14. package/dist/lazy/{CurdCard-MbVA6Mi-.js → CurdCard-CNXAaZ4b.js} +1 -1
  15. package/dist/lazy/{Custom-CfeLPQAL.js → Custom-Ba8RNmCK.js} +1 -1
  16. package/dist/lazy/DatePicker-BaxUoLrr.js +48 -0
  17. package/dist/lazy/{DragList-Ch2e0ELU.js → DragList-B3fuMFuA.js} +1 -1
  18. package/dist/lazy/{FilterSearch-Kt9PdLaA.js → FilterSearch-DwGOlmkW.js} +1 -1
  19. package/dist/lazy/{FormList-D9SgU07A.js → FormList-GsZzwfnj.js} +1 -1
  20. package/dist/lazy/{Grid-BkcT4oBE.js → Grid-DOdqQbTj.js} +6 -6
  21. package/dist/lazy/{InfiniteScroll-CcpNdUU1.js → InfiniteScroll-C8m4xQUr.js} +1 -1
  22. package/dist/lazy/{Inline-DGUu4c-C.js → Inline-CG563DSe.js} +1 -1
  23. package/dist/lazy/{JsonEdit-EzeyrtX4.js → JsonEdit-DrHx07Vv.js} +1 -1
  24. package/dist/lazy/{LogList-CHVupI_V.js → LogList-GNeVRmuu.js} +1 -1
  25. package/dist/lazy/{ObjGroup-ChPL8CLg.js → ObjGroup-hpNKi4M4.js} +1 -1
  26. package/dist/lazy/{OfferDetails-JouhmtOf.js → OfferDetails-B6BYkKM3.js} +1 -1
  27. package/dist/lazy/{Pagination-Dt_xyHyP.js → Pagination-ByhSdbMN.js} +1 -1
  28. package/dist/lazy/{Progress-BrL4wDR7.js → Progress-NKrL62VI.js} +1 -1
  29. package/dist/lazy/{Radio-CR0QoEHh.js → Radio-D71350lf.js} +11 -10
  30. package/dist/lazy/{SearchSelect-BbDe3rPF.js → SearchSelect-BnswvA1_.js} +8 -7
  31. package/dist/lazy/{Select-DOMvoT5o.js → Select-BydoiBsC.js} +15 -13
  32. package/dist/lazy/{Table-BKElHVXy.js → Table-PCOw0CJq.js} +104 -93
  33. package/dist/lazy/Tabs-Pgk7JOo5.js +72 -0
  34. package/dist/lazy/TextArea-Ci0n-sBv.js +36 -0
  35. package/dist/lazy/{Wrapper-DkjAAPP8.js → Wrapper-DtcdHWdy.js} +1 -1
  36. package/dist/lazy/{index-BHy32Cui.js → index-Ltk1_ib5.js} +4890 -4787
  37. package/dist/lazy/{useSelect-BLTr8z88.js → useSelect-Dr5dvYzc.js} +1 -1
  38. package/dist/style.css +2 -2
  39. package/package.json +1 -1
  40. package/dist/lazy/Component-BW8Nr-Mq.js +0 -96
  41. package/dist/lazy/DatePicker-Cdulq02P.js +0 -33
  42. package/dist/lazy/Tabs-DmKX4tAt.js +0 -47
  43. package/dist/lazy/TextArea-dV8kQ_Qw.js +0 -36
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, openBlock as e, createElementBlock as o, Fragment as a, renderList as d, createElementVNode as s, normalizeStyle as i, toDisplayString as l, normalizeClass as u, createTextVNode as g, createCommentVNode as v } from "vue";
2
- import { _ as y } from "./index-BHy32Cui.js";
2
+ import { _ as y } from "./index-Ltk1_ib5.js";
3
3
  const f = { class: "log-list" }, h = { class: "title-part" }, m = { class: "title" }, b = { class: "sub-title" }, k = { class: "content" }, C = { key: 0 }, L = /* @__PURE__ */ p({
4
4
  __name: "LogList",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, inject as i, provide as f, ref as d, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
2
- import { u as j, e as h, f as k } from "./index-BHy32Cui.js";
2
+ import { u as j, e as h, f as k } from "./index-Ltk1_ib5.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as D, resolveComponent as M, openBlock as l, createBlock as O, withCtx as B, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as b, toDisplayString as y, createCommentVNode as I, ref as E, inject as N, watchEffect as R, onMounted as S, normalizeStyle as $, unref as A } from "vue";
2
- import { k as L, $ as U, a as z, _ as x } from "./index-BHy32Cui.js";
2
+ import { k as L, $ as U, a as z, _ as x } from "./index-Ltk1_ib5.js";
3
3
  const F = { class: "content" }, K = { class: "product-list" }, V = { class: "attribute-list" }, j = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, ref as s, readonly as C, onUnmounted as v, resolveComponent as S, openBlock as h, createElementBlock as P, normalizeStyle as N, createVNode as _ } from "vue";
2
- import { c as B, j, _ as w } from "./index-BHy32Cui.js";
2
+ import { c as B, j, _ as w } from "./index-Ltk1_ib5.js";
3
3
  import "element-plus";
4
4
  const M = /* @__PURE__ */ y({
5
5
  __name: "Pagination",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as a, withCtx as l, 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, a as C, _ as V } from "./index-BHy32Cui.js";
2
+ import { I as v, a as C, _ as V } from "./index-Ltk1_ib5.js";
3
3
  const y = { class: "progress" }, B = { class: "timeline-content" }, E = { class: "timeline-content__title" }, I = {
4
4
  key: 0,
5
5
  class: "empty-content"
@@ -1,9 +1,9 @@
1
- import { defineComponent as T, mergeModels as F, useModel as S, inject as g, resolveComponent as u, resolveDirective as w, openBlock as o, createElementBlock as c, toDisplayString as z, unref as i, withDirectives as I, createBlock as f, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
2
- import { u as N, _ as O } from "./index-BHy32Cui.js";
3
- import { u as P } from "./useSelect-BLTr8z88.js";
1
+ import { defineComponent as T, mergeModels as w, useModel as F, inject as g, resolveComponent as i, resolveDirective as S, openBlock as o, createElementBlock as c, toDisplayString as z, unref as u, withDirectives as I, createBlock as f, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
2
+ import { u as N, _ as O } from "./index-Ltk1_ib5.js";
3
+ import { u as P } from "./useSelect-Dr5dvYzc.js";
4
4
  const R = { key: 0 }, j = /* @__PURE__ */ T({
5
5
  __name: "Radio",
6
- props: /* @__PURE__ */ F({
6
+ props: /* @__PURE__ */ w({
7
7
  options: { default: () => [] },
8
8
  defaultOptions: {},
9
9
  mode: { default: "static" },
@@ -20,6 +20,7 @@ const R = { key: 0 }, j = /* @__PURE__ */ T({
20
20
  filters: {},
21
21
  refreshFlag: { type: Boolean },
22
22
  clearable: { type: Boolean },
23
+ width: {},
23
24
  optionType: { default: "circle" },
24
25
  direction: { default: "horizontal" },
25
26
  space: { default: 8 }
@@ -29,7 +30,7 @@ const R = { key: 0 }, j = /* @__PURE__ */ T({
29
30
  }),
30
31
  emits: ["update:modelValue"],
31
32
  setup(y) {
32
- const l = y, p = S(y, "modelValue"), m = N(), v = g("ruleModule", void 0), M = g("pageMethodMap", {}), _ = (e) => {
33
+ const l = y, p = F(y, "modelValue"), m = N(), v = g("ruleModule", void 0), M = g("pageMethodMap", {}), _ = (e) => {
33
34
  const { valueKey: d = "value", name: s } = l;
34
35
  let n = {};
35
36
  if (n = r.value.find((t) => t[d] === e) || {}, m.selectData && s && m.updateSelectData(s, n), l.onChange && v)
@@ -42,8 +43,8 @@ onChange: ${l.onChange}`);
42
43
  }, { currentOptions: r, loading: B } = P(l);
43
44
  return (e, d) => {
44
45
  var b;
45
- const s = u("el-radio"), n = u("el-radio-button"), t = u("el-space"), V = u("el-radio-group"), D = w("loading");
46
- return e.read ? (o(), c("div", R, z(((b = i(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : b[e.labelKey]) || "--"), 1)) : I((o(), f(V, h({
46
+ const s = i("el-radio"), n = i("el-radio-button"), t = i("el-space"), V = i("el-radio-group"), D = S("loading");
47
+ return e.read ? (o(), c("div", R, z(((b = u(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : b[e.labelKey]) || "--"), 1)) : I((o(), f(V, h({
47
48
  key: 1,
48
49
  modelValue: p.value,
49
50
  "onUpdate:modelValue": d[0] || (d[0] = (a) => p.value = a),
@@ -57,13 +58,13 @@ onChange: ${l.onChange}`);
57
58
  alignment: "normal"
58
59
  }, {
59
60
  default: K(() => [
60
- e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(C, { key: 0 }, k(i(r), (a) => (o(), f(s, {
61
+ e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(C, { key: 0 }, k(u(r), (a) => (o(), f(s, {
61
62
  key: a[e.valueKey],
62
63
  label: a[e.labelKey],
63
64
  value: a[e.valueKey],
64
65
  disabled: a[e.disabledKey],
65
66
  border: e.optionType === "border"
66
- }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(C, { key: 1 }, k(i(r), (a) => (o(), f(n, h({
67
+ }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(C, { key: 1 }, k(u(r), (a) => (o(), f(n, h({
67
68
  key: a[e.valueKey],
68
69
  label: a[e.labelKey],
69
70
  value: a[e.valueKey],
@@ -77,7 +78,7 @@ onChange: ${l.onChange}`);
77
78
  ]),
78
79
  _: 1
79
80
  }, 16, ["modelValue"])), [
80
- [D, i(B)]
81
+ [D, u(B)]
81
82
  ]);
82
83
  };
83
84
  }
@@ -1,12 +1,12 @@
1
- import { defineComponent as F, mergeModels as $, useModel as w, inject as K, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as h, unref as u, withDirectives as I, createBlock as C, mergeProps as N, withCtx as y, Fragment as j, renderList as O, createTextVNode as P, createVNode as k } from "vue";
2
- import { u as T, a as E, _ as L } from "./index-BHy32Cui.js";
3
- import { u as U } from "./useSelect-BLTr8z88.js";
1
+ import { defineComponent as w, mergeModels as F, useModel as $, inject as K, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as h, unref as u, withDirectives as I, createBlock as C, mergeProps as N, withCtx as y, Fragment as j, renderList as O, createTextVNode as P, createVNode as k } from "vue";
2
+ import { u as T, a as E, _ as L } from "./index-Ltk1_ib5.js";
3
+ import { u as U } from "./useSelect-Dr5dvYzc.js";
4
4
  const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
5
5
  key: 1,
6
6
  class: "search-select-wrapper"
7
- }, J = /* @__PURE__ */ F({
7
+ }, J = /* @__PURE__ */ w({
8
8
  __name: "SearchSelect",
9
- props: /* @__PURE__ */ $({
9
+ props: /* @__PURE__ */ F({
10
10
  onSearch: {},
11
11
  disabled: { type: Boolean },
12
12
  read: { type: Boolean },
@@ -25,14 +25,15 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
25
25
  readTextColor: {},
26
26
  filters: {},
27
27
  refreshFlag: { type: Boolean },
28
- clearable: { type: Boolean }
28
+ clearable: { type: Boolean },
29
+ width: {}
29
30
  }, {
30
31
  modelValue: { type: [String, Number, Boolean, Array] },
31
32
  modelModifiers: {}
32
33
  }),
33
34
  emits: ["update:modelValue"],
34
35
  setup(b) {
35
- const l = b, r = w(b, "modelValue"), v = T(), c = K("ruleModule", void 0), g = K("pageMethodMap", {}), B = (e) => {
36
+ const l = b, r = $(b, "modelValue"), v = T(), c = K("ruleModule", void 0), g = K("pageMethodMap", {}), B = (e) => {
36
37
  const { valueKey: s = "value", multiple: m, name: p } = l;
37
38
  let n = {};
38
39
  if (m && Array.isArray(e) ? n = d.value.filter((o) => e.includes(o[s])) : n = d.value.find((o) => o[s] === e) || {}, v.selectData && p && v.updateSelectData(p, n), l.onChange && c)
@@ -1,9 +1,9 @@
1
- import { defineComponent as F, mergeModels as w, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as C, mergeProps as N, unref as K, withCtx as m, createElementVNode as r, Fragment as T, renderList as $, createTextVNode as j } from "vue";
2
- import { u as E } from "./index-BHy32Cui.js";
3
- import { u as I } from "./useSelect-BLTr8z88.js";
4
- const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
1
+ import { defineComponent as D, mergeModels as F, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as C, mergeProps as N, unref as K, withCtx as m, createElementVNode as r, Fragment as T, renderList as $, createTextVNode as j } from "vue";
2
+ import { u as E } from "./index-Ltk1_ib5.js";
3
+ import { u as I } from "./useSelect-Dr5dvYzc.js";
4
+ const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ D({
5
5
  __name: "Select",
6
- props: /* @__PURE__ */ w({
6
+ props: /* @__PURE__ */ F({
7
7
  options: { default: () => [] },
8
8
  defaultOptions: {},
9
9
  multiple: { type: Boolean, default: !1 },
@@ -20,14 +20,15 @@ const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
20
20
  readTextColor: {},
21
21
  filters: {},
22
22
  refreshFlag: { type: Boolean },
23
- clearable: { type: Boolean, default: !0 }
23
+ clearable: { type: Boolean, default: !0 },
24
+ width: {}
24
25
  }, {
25
26
  modelValue: { type: [String, Number, Boolean, Array] },
26
27
  modelModifiers: {}
27
28
  }),
28
29
  emits: ["update:modelValue"],
29
30
  setup(y) {
30
- const l = y, V = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = E(), M = p(() => c.schema.read), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
31
+ const l = y, V = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = E(), M = p(() => l.read ?? c.schema.read ?? !1), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
31
32
  const { valueKey: t = "value", multiple: n, name: o } = l;
32
33
  let a = {};
33
34
  if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, c.selectData && o && c.updateSelectData(o, a), l.onChange && f)
@@ -37,7 +38,7 @@ const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
37
38
  console.error(u + `
38
39
  onChange: ${l.onChange}`);
39
40
  }
40
- }, { currentOptions: s, loading: S } = I(l), D = p(() => {
41
+ }, { currentOptions: s, loading: w } = I(l), S = p(() => {
41
42
  var t;
42
43
  if (l.multiple)
43
44
  return s.value.filter(
@@ -48,10 +49,10 @@ onChange: ${l.onChange}`);
48
49
  });
49
50
  return (e, t) => {
50
51
  const n = b("el-option"), o = b("el-select");
51
- return e.read || M.value ? (i(), g("span", {
52
+ return M.value ? (i(), g("span", {
52
53
  key: 0,
53
54
  style: A({ color: e.readTextColor })
54
- }, h(D.value), 5)) : (i(), C(o, N({
55
+ }, h(S.value), 5)) : (i(), C(o, N({
55
56
  key: 1,
56
57
  modelValue: d.value,
57
58
  "onUpdate:modelValue": t[0] || (t[0] = (a) => d.value = a)
@@ -61,8 +62,9 @@ onChange: ${l.onChange}`);
61
62
  clearable: V.value,
62
63
  filterable: "",
63
64
  "fallback-placements": ["bottom"],
64
- loading: K(S),
65
- placeholder: ""
65
+ loading: K(w),
66
+ placeholder: "",
67
+ style: { width: e.width }
66
68
  }), {
67
69
  loading: m(() => t[1] || (t[1] = [
68
70
  r("svg", {
@@ -117,7 +119,7 @@ onChange: ${l.onChange}`);
117
119
  ])
118
120
  ]),
119
121
  _: 1
120
- }, 16, ["modelValue", "multiple", "clearable", "loading"]));
122
+ }, 16, ["modelValue", "multiple", "clearable", "loading", "style"]));
121
123
  };
122
124
  }
123
125
  });