asiaint-lowcode 3.1.1 → 3.1.3

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 (38) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +119 -119
  3. package/dist/index.d.ts +15 -2
  4. package/dist/lazy/{Card-BotexRow.js → Card-DelnzYHh.js} +1 -1
  5. package/dist/lazy/{Cascader-DlPFMm4q.js → Cascader-BoyY8qNi.js} +14 -13
  6. package/dist/lazy/{Checkbox-B3ZlaMu-.js → Checkbox-BQXkmpHk.js} +3 -2
  7. package/dist/lazy/{Collapse-CvvDvzUe.js → Collapse-BpsJMZUL.js} +1 -1
  8. package/dist/lazy/{Component-CJLLkcKZ.js → Component-BHodX8tI.js} +1 -1
  9. package/dist/lazy/Component-BM8XQdsc.js +33 -0
  10. package/dist/lazy/{Component-C4EAi6pq.js → Component-CE53GsPm.js} +1 -1
  11. package/dist/lazy/{Component-k70ODABG.js → Component-CwlJSw-B.js} +1 -1
  12. package/dist/lazy/{Component-BFthFsDN.js → Component-Db9FyBXr.js} +1 -1
  13. package/dist/lazy/{Component-1ifx_71s.js → Component-_dMWsHxy.js} +1 -1
  14. package/dist/lazy/{CurdCard-Dxlf9fsv.js → CurdCard-CeNTaILI.js} +1 -1
  15. package/dist/lazy/{Custom-DjAqb9Wc.js → Custom-B-S62SW9.js} +1 -1
  16. package/dist/lazy/DatePicker-KuHkgUXv.js +33 -0
  17. package/dist/lazy/DragList-CR7Qa1ZA.js +327 -0
  18. package/dist/lazy/{FormList-k6c-UNG8.js → FormList-CfYt3XmS.js} +1 -1
  19. package/dist/lazy/{Grid-OhcM4HDS.js → Grid-CY1ucf6C.js} +1 -1
  20. package/dist/lazy/{Inline-Cwpbm9wv.js → Inline-DH1xajPF.js} +1 -1
  21. package/dist/lazy/{JsonEdit-CU-J4fdd.js → JsonEdit-D4y4v0yR.js} +1 -1
  22. package/dist/lazy/{LogList-C6LMjMRn.js → LogList-CYvCNluF.js} +1 -1
  23. package/dist/lazy/{ObjGroup-CgsFd4Y8.js → ObjGroup-Dgg6WEZo.js} +1 -1
  24. package/dist/lazy/{OfferDetails-DIbdP0vj.js → OfferDetails-Cy86N2gm.js} +1 -1
  25. package/dist/lazy/{Progress-VUY-tDJv.js → Progress-CLqSj8SR.js} +1 -1
  26. package/dist/lazy/{Radio-Bu1hE1Bk.js → Radio-DWlKdAvA.js} +10 -9
  27. package/dist/lazy/{SearchSelect-D9K6sG_e.js → SearchSelect-gU5QjTeJ.js} +12 -11
  28. package/dist/lazy/{Select-79Jg1Epf.js → Select-BtONL7x5.js} +25 -21
  29. package/dist/lazy/{Table-jTmqdEAL.js → Table-CEQez_FF.js} +143 -134
  30. package/dist/lazy/{Tabs-NufO7Fxk.js → Tabs-DUKYIka1.js} +1 -1
  31. package/dist/lazy/{Wrapper-DMqVpwXY.js → Wrapper-B6d-d-6i.js} +1 -1
  32. package/dist/lazy/{index-ByB0wyc-.js → index-Tp_hfJyR.js} +4985 -4956
  33. package/dist/lazy/{useSelect-B3ugkvd3.js → useSelect-DpxtO7zI.js} +1 -1
  34. package/dist/style.css +2 -2
  35. package/package.json +1 -1
  36. package/dist/lazy/Component-BMyo9RcE.js +0 -35
  37. package/dist/lazy/DatePicker-CGxtZ6pR.js +0 -32
  38. package/dist/lazy/DragList-BaXe5qJv.js +0 -318
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, inject as i, provide as d, ref as f, 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, d as h, e as k } from "./index-ByB0wyc-.js";
2
+ import { u as j, d as h, e as k } from "./index-Tp_hfJyR.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 B, resolveComponent as M, openBlock as l, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as y, toDisplayString as b, createCommentVNode as I, ref as D, inject as N, watchEffect as A, onMounted as R, normalizeStyle as S, unref as $ } from "vue";
2
- import { k as U, $ as z, _ as F, b as L } from "./index-ByB0wyc-.js";
2
+ import { k as U, $ as z, _ as F, b as L } from "./index-Tp_hfJyR.js";
3
3
  const x = { 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 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 b, b as C } from "./index-ByB0wyc-.js";
2
+ import { I as v, _ as b, b as C } from "./index-Tp_hfJyR.js";
3
3
  const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
4
4
  key: 0,
5
5
  class: "empty-content"
@@ -1,9 +1,9 @@
1
- import { defineComponent as F, mergeModels as S, useModel as T, 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 K, withCtx as h, createVNode as N, Fragment as k, renderList as M } from "vue";
2
- import { u as O, b as P } from "./index-ByB0wyc-.js";
3
- import { u as R } from "./useSelect-B3ugkvd3.js";
4
- const $ = { key: 0 }, j = /* @__PURE__ */ F({
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 K, withCtx as h, createVNode as N, Fragment as k, renderList as C } from "vue";
2
+ import { u as O, b as P } from "./index-Tp_hfJyR.js";
3
+ import { u as R } from "./useSelect-DpxtO7zI.js";
4
+ const $ = { key: 0 }, j = /* @__PURE__ */ T({
5
5
  __name: "Radio",
6
- props: /* @__PURE__ */ S({
6
+ props: /* @__PURE__ */ F({
7
7
  options: { default: () => [] },
8
8
  defaultOptions: {},
9
9
  mode: { default: "static" },
@@ -16,6 +16,7 @@ const $ = { key: 0 }, j = /* @__PURE__ */ F({
16
16
  name: { default: "" },
17
17
  onChange: {},
18
18
  read: { type: Boolean },
19
+ readTextColor: {},
19
20
  filters: {},
20
21
  refreshFlag: { type: Boolean },
21
22
  clearable: { type: Boolean },
@@ -28,12 +29,12 @@ const $ = { key: 0 }, j = /* @__PURE__ */ F({
28
29
  }),
29
30
  emits: ["update:modelValue"],
30
31
  setup(y) {
31
- const t = y, p = T(y, "modelValue"), m = O(), b = g("ruleModule", void 0), C = g("pageMethodMap", {}), _ = (e) => {
32
+ const t = y, p = S(y, "modelValue"), m = O(), b = g("ruleModule", void 0), M = g("pageMethodMap", {}), _ = (e) => {
32
33
  const { valueKey: d = "value", name: s } = t;
33
34
  let l = {};
34
35
  if (l = r.value.find((n) => n[d] === e) || {}, m.selectData && s && m.updateSelectData(s, l), t.onChange && b)
35
36
  try {
36
- b[t.onChange](C, e, l);
37
+ b[t.onChange](M, e, l);
37
38
  } catch (n) {
38
39
  console.error(n);
39
40
  }
@@ -55,13 +56,13 @@ const $ = { key: 0 }, j = /* @__PURE__ */ F({
55
56
  alignment: "normal"
56
57
  }, {
57
58
  default: h(() => [
58
- e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(k, { key: 0 }, M(i(r), (a) => (o(), f(s, {
59
+ e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(k, { key: 0 }, C(i(r), (a) => (o(), f(s, {
59
60
  key: a[e.valueKey],
60
61
  label: a[e.labelKey],
61
62
  value: a[e.valueKey],
62
63
  disabled: a[e.disabledKey],
63
64
  border: e.optionType === "border"
64
- }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(k, { key: 1 }, M(i(r), (a) => (o(), f(l, K({
65
+ }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(k, { key: 1 }, C(i(r), (a) => (o(), f(l, K({
65
66
  key: a[e.valueKey],
66
67
  label: a[e.labelKey],
67
68
  value: a[e.valueKey],
@@ -1,6 +1,6 @@
1
- import { defineComponent as F, mergeModels as w, useModel as A, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as N, createBlock as k, mergeProps as j, withCtx as b, Fragment as O, renderList as P, createTextVNode as $, createVNode as B } from "vue";
2
- import { u as E, _ as L, b as T } from "./index-ByB0wyc-.js";
3
- import { u as U } from "./useSelect-B3ugkvd3.js";
1
+ import { defineComponent as F, mergeModels as w, useModel as A, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as N, createBlock as C, mergeProps as j, withCtx as b, Fragment as O, renderList as P, createTextVNode as T, createVNode as k } from "vue";
2
+ import { u as $, _ as E, b as L } from "./index-Tp_hfJyR.js";
3
+ import { u as U } from "./useSelect-DpxtO7zI.js";
4
4
  const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
5
5
  key: 1,
6
6
  class: "search-select-wrapper"
@@ -22,6 +22,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
22
22
  dependentFields: {},
23
23
  name: { default: "" },
24
24
  onChange: {},
25
+ readTextColor: {},
25
26
  filters: {},
26
27
  refreshFlag: { type: Boolean },
27
28
  clearable: { type: Boolean }
@@ -31,7 +32,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
31
32
  }),
32
33
  emits: ["update:modelValue"],
33
34
  setup(v) {
34
- const t = v, r = A(v, "modelValue"), h = E(), c = S("ruleModule", void 0), g = S("pageMethodMap", {}), C = (e) => {
35
+ const t = v, r = A(v, "modelValue"), h = $(), c = S("ruleModule", void 0), g = S("pageMethodMap", {}), B = (e) => {
35
36
  const { valueKey: d = "value", multiple: m, name: p } = t;
36
37
  let n = {};
37
38
  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)
@@ -57,25 +58,25 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
57
58
  return (K = u(s).find((D) => D[e.valueKey] === l)) == null ? void 0 : K[e.labelKey];
58
59
  }).join("、")), 1)) : (o(), i("div", G, y(((_ = u(s).find((l) => l[e.valueKey] === r.value)) == null ? void 0 : _[e.labelKey]) || "--"), 1))
59
60
  ])) : (o(), i("div", H, [
60
- N((o(), k(p, j({
61
+ N((o(), C(p, j({
61
62
  modelValue: r.value,
62
63
  "onUpdate:modelValue": d[0] || (d[0] = (l) => r.value = l)
63
64
  }, e.$attrs, {
64
- onChange: C,
65
+ onChange: B,
65
66
  multiple: e.multiple,
66
67
  clearable: "",
67
68
  filterable: "",
68
69
  disabled: e.disabled
69
70
  }), {
70
71
  default: b(() => [
71
- (o(!0), i(O, null, P(u(s), (l) => (o(), k(m, {
72
+ (o(!0), i(O, null, P(u(s), (l) => (o(), C(m, {
72
73
  key: l[e.valueKey],
73
74
  label: l[e.labelKey],
74
75
  value: l[e.valueKey],
75
76
  disabled: l[e.disabledKey]
76
77
  }, {
77
78
  default: b(() => [
78
- $(y(l[e.labelKey]), 1)
79
+ T(y(l[e.labelKey]), 1)
79
80
  ]),
80
81
  _: 2
81
82
  }, 1032, ["label", "value", "disabled"]))), 128))
@@ -84,20 +85,20 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
84
85
  }, 16, ["modelValue", "multiple", "disabled"])), [
85
86
  [a, u(V)]
86
87
  ]),
87
- B(n, {
88
+ k(n, {
88
89
  onClick: M,
89
90
  disabled: e.disabled,
90
91
  class: "search-btn"
91
92
  }, {
92
93
  default: b(() => [
93
- B(u(L), { name: "search" })
94
+ k(u(E), { name: "search" })
94
95
  ]),
95
96
  _: 1
96
97
  }, 8, ["disabled"])
97
98
  ]));
98
99
  };
99
100
  }
100
- }), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-ce5f6b46"]]);
101
+ }), X = /* @__PURE__ */ L(J, [["__scopeId", "data-v-ce5f6b46"]]);
101
102
  export {
102
103
  X as default
103
104
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as D, mergeModels as F, computed as y, useModel as _, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, toDisplayString as h, createBlock as K, mergeProps as w, unref as V, withCtx as c, createElementVNode as r, Fragment as A, renderList as N, createTextVNode as j } from "vue";
2
- import { u as x } from "./index-ByB0wyc-.js";
3
- import { u as E } from "./useSelect-B3ugkvd3.js";
4
- const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__ */ D({
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 K, mergeProps as N, unref as V, withCtx as m, createElementVNode as r, Fragment as T, renderList as j, createTextVNode as E } from "vue";
2
+ import { u as I } from "./index-Tp_hfJyR.js";
3
+ import { u as O } from "./useSelect-DpxtO7zI.js";
4
+ const P = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
5
5
  __name: "Select",
6
- props: /* @__PURE__ */ F({
6
+ props: /* @__PURE__ */ w({
7
7
  options: { default: () => [] },
8
8
  defaultOptions: {},
9
9
  multiple: { type: Boolean, default: !1 },
@@ -17,6 +17,7 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
17
17
  name: { default: "" },
18
18
  onChange: {},
19
19
  read: { type: Boolean },
20
+ readTextColor: {},
20
21
  filters: {},
21
22
  refreshFlag: { type: Boolean },
22
23
  clearable: { type: Boolean, default: !0 }
@@ -25,17 +26,17 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
25
26
  modelModifiers: {}
26
27
  }),
27
28
  emits: ["update:modelValue"],
28
- setup(p) {
29
- const l = p, k = y(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = _(p, "modelValue"), m = x(), f = v("ruleModule", void 0), B = v("pageMethodMap", {}), C = (e) => {
29
+ setup(y) {
30
+ const l = y, C = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = I(), M = p(() => c.schema.read), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
30
31
  const { valueKey: t = "value", multiple: n, name: o } = l;
31
32
  let a = {};
32
- if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, m.selectData && o && m.updateSelectData(o, a), l.onChange && f)
33
+ 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)
33
34
  try {
34
- f[l.onChange](B, e, a);
35
+ f[l.onChange](k, e, a);
35
36
  } catch (u) {
36
37
  console.error(u);
37
38
  }
38
- }, { currentOptions: s, loading: M } = E(l), S = y(() => {
39
+ }, { currentOptions: s, loading: S } = O(l), D = p(() => {
39
40
  var t;
40
41
  if (l.multiple)
41
42
  return s.value.filter(
@@ -46,19 +47,22 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
46
47
  });
47
48
  return (e, t) => {
48
49
  const n = b("el-option"), o = b("el-select");
49
- return e.read ? (i(), g("span", I, h(S.value), 1)) : (i(), K(o, w({
50
+ return e.read || M.value ? (i(), g("span", {
51
+ key: 0,
52
+ style: A({ color: e.readTextColor })
53
+ }, h(D.value), 5)) : (i(), K(o, N({
50
54
  key: 1,
51
55
  modelValue: d.value,
52
56
  "onUpdate:modelValue": t[0] || (t[0] = (a) => d.value = a)
53
57
  }, e.$attrs, {
54
- onChange: C,
58
+ onChange: B,
55
59
  multiple: e.multiple,
56
- clearable: k.value,
60
+ clearable: C.value,
57
61
  filterable: "",
58
62
  "fallback-placements": ["bottom"],
59
- loading: V(M)
63
+ loading: V(S)
60
64
  }), {
61
- loading: c(() => t[1] || (t[1] = [
65
+ loading: m(() => t[1] || (t[1] = [
62
66
  r("svg", {
63
67
  class: "circular",
64
68
  viewBox: "0 0 20 20"
@@ -95,16 +99,16 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
95
99
  ])
96
100
  ], -1)
97
101
  ])),
98
- default: c(() => [
99
- r("div", O, [
100
- (i(!0), g(A, null, N(V(s), (a) => (i(), K(n, {
102
+ default: m(() => [
103
+ r("div", P, [
104
+ (i(!0), g(T, null, j(V(s), (a) => (i(), K(n, {
101
105
  key: a[e.valueKey],
102
106
  label: a[e.labelKey],
103
107
  value: a[e.valueKey],
104
108
  disabled: a[e.disabledKey]
105
109
  }, {
106
- default: c(() => [
107
- j(h(a[e.labelKey]), 1)
110
+ default: m(() => [
111
+ E(h(a[e.labelKey]), 1)
108
112
  ]),
109
113
  _: 2
110
114
  }, 1032, ["label", "value", "disabled"]))), 128))
@@ -116,5 +120,5 @@ const I = { key: 0 }, O = { style: { "min-height": "32px" } }, T = /* @__PURE__
116
120
  }
117
121
  });
118
122
  export {
119
- T as default
123
+ R as default
120
124
  };