asiaint-lowcode 3.1.7 → 3.1.9

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 +3 -3
  2. package/dist/asiaint-lowcode.umd.cjs +112 -112
  3. package/dist/index.d.ts +6 -1
  4. package/dist/lazy/{Card--w9nxiAx.js → Card-DzmW0wYT.js} +1 -1
  5. package/dist/lazy/{Cascader-BY76cR4O.js → Cascader-DZiqLZku.js} +1 -1
  6. package/dist/lazy/Checkbox-Q8TyjC-h.js +84 -0
  7. package/dist/lazy/{Collapse-Bt4Ahrnf.js → Collapse-DVmuLiix.js} +1 -1
  8. package/dist/lazy/{Component-Da2LNm-N.js → Component-Bc1pPZSB.js} +1 -1
  9. package/dist/lazy/{Component-CJcTBpFq.js → Component-CLiVojJV.js} +1 -1
  10. package/dist/lazy/{Component-CR8voVwE.js → Component-DUe2_DhQ.js} +9 -9
  11. package/dist/lazy/{Component-BoRVBr-7.js → Component-DroX6CLJ.js} +1 -1
  12. package/dist/lazy/{Component-Bf3EVLvi.js → Component-TJlzkjGJ.js} +1 -1
  13. package/dist/lazy/{Component-Bd5bXSKi.js → Component-iAKx8DBf.js} +1 -1
  14. package/dist/lazy/{CurdCard-DpsAKs25.js → CurdCard-CXijoWLe.js} +1 -1
  15. package/dist/lazy/{Custom-NVgxR9_v.js → Custom-Cn7fsoE-.js} +1 -1
  16. package/dist/lazy/{DatePicker-DB4gjOJt.js → DatePicker-DReZTCjv.js} +1 -1
  17. package/dist/lazy/{DragList-De-xGFzP.js → DragList-CI76iwCA.js} +1 -1
  18. package/dist/lazy/{FormList-BzXHPyJc.js → FormList-BmpI_Ujx.js} +1 -1
  19. package/dist/lazy/{Grid-yeqxjsOY.js → Grid-lfCS0c4e.js} +1 -1
  20. package/dist/lazy/{Inline-IpWQp9Kw.js → Inline-vcjUrNMZ.js} +1 -1
  21. package/dist/lazy/{JsonEdit-DP4Yj85B.js → JsonEdit-DPPQqN3H.js} +1 -1
  22. package/dist/lazy/{LogList-BykvjbR5.js → LogList-Dc_tgPzL.js} +1 -1
  23. package/dist/lazy/{ObjGroup-DqUiVSMx.js → ObjGroup-tyEbJtP4.js} +3 -3
  24. package/dist/lazy/{OfferDetails-BZg6nCSv.js → OfferDetails-BtlBASO3.js} +1 -1
  25. package/dist/lazy/{Pagination-BcTgnr0F.js → Pagination-B3xQ42vO.js} +1 -1
  26. package/dist/lazy/{Progress-N36ua9TW.js → Progress-Btm8MMce.js} +1 -1
  27. package/dist/lazy/{Radio-BLBujjCW.js → Radio-CM1-ngPn.js} +2 -2
  28. package/dist/lazy/{SearchSelect-BGVGwqiE.js → SearchSelect-BhfaBesN.js} +2 -2
  29. package/dist/lazy/{Select-pPcyEW_N.js → Select-jfFzbbGc.js} +2 -2
  30. package/dist/lazy/Table-DiJiVpIU.js +514 -0
  31. package/dist/lazy/{Tabs-DEvFGQW7.js → Tabs-BrH3kSJh.js} +1 -1
  32. package/dist/lazy/{Wrapper-C8lKnyo8.js → Wrapper-CXUjnljU.js} +5 -5
  33. package/dist/lazy/{index-CEq1kq6m.js → index-9URyfoWb.js} +2741 -2736
  34. package/dist/lazy/{useSelect-3qVf5sLK.js → useSelect-CrEV4QGa.js} +15 -15
  35. package/dist/style.css +2 -2
  36. package/package.json +1 -1
  37. package/dist/lazy/Checkbox-BLeYFkT_.js +0 -77
  38. package/dist/lazy/Table-DI7XDMgJ.js +0 -471
@@ -1,5 +1,5 @@
1
1
  import { inject as I, ref as h, toRaw as y, onMounted as O, watch as r } from "vue";
2
- import { $ as S, u as D, l as F, h as g } from "./index-CEq1kq6m.js";
2
+ import { $ as S, u as D, l as F, i as g } from "./index-9URyfoWb.js";
3
3
  import "element-plus";
4
4
  const P = () => {
5
5
  const { fetchOptionsFn: e } = I(S);
@@ -8,21 +8,21 @@ const P = () => {
8
8
  const s = D(), m = P(), a = h([]), f = h(!1);
9
9
  let d = 0;
10
10
  const l = F.debounce(async () => {
11
- if (!m || !e.apiParams || Object.values(e.apiParams).some((i) => i === void 0))
11
+ if (!m || !e.apiParams || Object.values(e.apiParams).some((n) => n === void 0))
12
12
  return;
13
13
  f.value = !0;
14
14
  const t = ++d;
15
15
  try {
16
- const i = await m({
16
+ const n = await m({
17
17
  formItemProps: y(e),
18
18
  formSchema: y(s.schema)
19
19
  });
20
20
  if (t !== d)
21
21
  return;
22
22
  const u = e.defaultOptions || [];
23
- if (a.value = [...u, ...i], e.filters && (a.value = a.value.filter((n) => Array.isArray(e.filters) ? !e.filters.includes(n[e.valueKey || "value"]) : !0)), e.name) {
24
- const n = g(s.schema.items, e.name);
25
- n && n.props && (n.props.options = a.value);
23
+ if (a.value = [...u, ...n], e.filters && (a.value = a.value.filter((i) => Array.isArray(e.filters) ? !e.filters.includes(i[e.valueKey || "value"]) : !0)), e.name) {
24
+ const i = g(s.schema.items, e.name);
25
+ i && i.props && (i.props.options = a.value);
26
26
  }
27
27
  if (e.refreshFlag && a.value.length >= 1) {
28
28
  s.updateFormValues(
@@ -31,20 +31,20 @@ const P = () => {
31
31
  },
32
32
  !0
33
33
  );
34
- const n = g(s.schema.items, e.name);
35
- n && n.props && (n.props.refreshFlag = !1);
34
+ const i = g(s.schema.items, e.name);
35
+ i && i.props && (i.props.refreshFlag = !1);
36
36
  }
37
37
  } finally {
38
38
  f.value = !1;
39
39
  }
40
40
  }, 300);
41
41
  O(() => {
42
- const { mode: t, options: i = [] } = e;
43
- t === "static" && (a.value = i), t === "remote" && l();
42
+ const { mode: t, options: n = [] } = e;
43
+ t === "static" && (a.value = n), t === "remote" && l();
44
44
  }), r(
45
45
  () => e.apiParams,
46
- (t, i) => {
47
- F.isEqual(t, i) || (a.value = [], l());
46
+ (t, n) => {
47
+ F.isEqual(t, n) || (a.value = [], l());
48
48
  }
49
49
  ), r(
50
50
  () => e.options,
@@ -62,14 +62,14 @@ const P = () => {
62
62
  for (const t of v)
63
63
  r(
64
64
  () => s.formValues[t],
65
- (i, u) => {
65
+ (n, u) => {
66
66
  l();
67
67
  }
68
68
  );
69
69
  return { selectChange: (t) => {
70
- const { valueKey: i = "value", multiple: u, name: n } = e;
70
+ const { valueKey: n = "value", multiple: u, name: i } = e;
71
71
  let o = {};
72
- u && Array.isArray(t) ? o = a.value.filter((c) => t.includes(c[i])) : o = a.value.find((c) => c[i] === t) || {}, s.selectData && n && s.updateSelectData(n, o);
72
+ u && Array.isArray(t) ? o = a.value.filter((c) => t.includes(c[n])) : o = a.value.find((c) => c[n] === t) || {}, s.selectData && i && s.updateSelectData(i, o);
73
73
  }, currentOptions: a, loading: f, fetchData: l };
74
74
  };
75
75
  export {