asiaint-lowcode 3.1.124 → 3.1.127

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 +22 -0
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +204 -203
  4. package/dist/lazy/{Card-C3kpBdLQ.js → Card-HK2i0A7R.js} +1 -1
  5. package/dist/lazy/{Cascader-C90FEXcW.js → Cascader-BhLYyMO9.js} +1 -1
  6. package/dist/lazy/Checkbox-BuaQh4JW.js +101 -0
  7. package/dist/lazy/{Collapse-jKV6far-.js → Collapse-CGhIEDer.js} +1 -1
  8. package/dist/lazy/{Component-TDgjMyU_.js → Component-C17kNanI.js} +1 -1
  9. package/dist/lazy/{Component-nHI51gCH.js → Component-D0NAYCdA.js} +1 -1
  10. package/dist/lazy/{Component-ByrOyzcu.js → Component-DkduXnJY.js} +1 -1
  11. package/dist/lazy/{Component-DCrZrXze.js → Component-bLWzi0lw.js} +1 -1
  12. package/dist/lazy/Component-xssxWCzC.js +45 -0
  13. package/dist/lazy/{CurdCard-BT17Dj27.js → CurdCard-PypMDcL0.js} +1 -1
  14. package/dist/lazy/{Custom-D4CmyIvg.js → Custom-CWqP3xyK.js} +1 -1
  15. package/dist/lazy/{DatePicker-DNvU39mm.js → DatePicker-D_Zz7QfG.js} +1 -1
  16. package/dist/lazy/{DragList-BFpd1I6Y.js → DragList-CMDoKHyG.js} +1 -1
  17. package/dist/lazy/{FilterSearch-Bh0Jsp1x.js → FilterSearch-BsAjblJR.js} +1 -1
  18. package/dist/lazy/{FloatCurd-pQkhaiXp.js → FloatCurd-iAdwDimF.js} +1 -1
  19. package/dist/lazy/{FormList-B530bd2X.js → FormList-B1_qwRgv.js} +1 -1
  20. package/dist/lazy/{Grid-BmiG4ZzT.js → Grid-CmeV3vYT.js} +1 -1
  21. package/dist/lazy/{InfiniteScroll-rn1Gi4_Z.js → InfiniteScroll-WmQ-aQMK.js} +1 -1
  22. package/dist/lazy/{Inline-YBd4VRXq.js → Inline-BBBb3YBl.js} +1 -1
  23. package/dist/lazy/{JsonEdit-Bs6wTmWc.js → JsonEdit-BKJN-0ok.js} +1 -1
  24. package/dist/lazy/{LogList-BYeyjvBM.js → LogList-BQxqcw97.js} +1 -1
  25. package/dist/lazy/{ObjGroup-DL0UBLW5.js → ObjGroup-DKDbk43u.js} +1 -1
  26. package/dist/lazy/{OfferDetails-C51y9eGl.js → OfferDetails-RCMVzMY3.js} +2 -1
  27. package/dist/lazy/{Pagination-1ymRBbEV.js → Pagination-D2ghPkuN.js} +1 -1
  28. package/dist/lazy/{Progress-D7st7BYV.js → Progress-CZEQioNA.js} +1 -1
  29. package/dist/lazy/{Radio-8Ltzylre.js → Radio-CxXYdNJV.js} +2 -2
  30. package/dist/lazy/{SearchSelect-CvwYURhY.js → SearchSelect-BYVIksHr.js} +2 -2
  31. package/dist/lazy/{Select-BR3F3elT.js → Select-NJnxZzl_.js} +2 -2
  32. package/dist/lazy/Table-D92rM9sJ.js +660 -0
  33. package/dist/lazy/{Tabs-Dv_FHXcn.js → Tabs-CQNWNRy_.js} +1 -1
  34. package/dist/lazy/{TextArea-Bs_r2iyM.js → TextArea-DSnsDM5D.js} +1 -1
  35. package/dist/lazy/{Wrapper-DswKesIN.js → Wrapper-DWoKY8gk.js} +1 -1
  36. package/dist/lazy/{index-BQJEI0Bg.js → index-Diyo05ZT.js} +7601 -7521
  37. package/dist/lazy/{useSelect-BVuW-6jY.js → useSelect-BjRc338n.js} +1 -1
  38. package/dist/style.css +2 -2
  39. package/package.json +1 -1
  40. package/dist/lazy/Checkbox-BSJ6OJ7n.js +0 -88
  41. package/dist/lazy/Component-ChK0_8V9.js +0 -35
  42. package/dist/lazy/Table-Bt5sLA1a.js +0 -652
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.124",
3
+ "version": "3.1.127",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,88 +0,0 @@
1
- import { defineComponent as F, mergeModels as D, useModel as I, watch as O, resolveComponent as d, resolveDirective as P, unref as a, openBlock as l, createElementBlock as i, toDisplayString as S, withDirectives as $, createBlock as s, mergeProps as j, withCtx as h, Fragment as f, renderList as v, createCommentVNode as g } from "vue";
2
- import "element-plus";
3
- import { u as E, c as L } from "./index-BQJEI0Bg.js";
4
- import { u as N } from "./useSelect-BVuW-6jY.js";
5
- const R = { key: 0 }, H = /* @__PURE__ */ F({
6
- __name: "Checkbox",
7
- props: /* @__PURE__ */ D({
8
- options: { default: () => [] },
9
- defaultOptions: {},
10
- mode: { default: "static" },
11
- labelKey: { default: "label" },
12
- valueKey: { default: "value" },
13
- disabledKey: {},
14
- env: {},
15
- apiParams: {},
16
- dependentFields: {},
17
- name: { default: "" },
18
- onChange: {},
19
- read: { type: Boolean },
20
- readTextColor: {},
21
- filters: {},
22
- refreshFlag: { type: Boolean },
23
- clearable: { type: Boolean },
24
- width: {},
25
- optionType: { default: "circle" },
26
- direction: { default: "horizontal" },
27
- space: { default: 20 }
28
- }, {
29
- modelValue: {},
30
- modelModifiers: {}
31
- }),
32
- emits: ["update:modelValue"],
33
- setup(p) {
34
- const n = p, t = I(p, "modelValue"), k = E(), { currentOptions: u, selectChange: c, loading: C } = N(n), { ruleModule: b, pageMethodMap: K } = L(), V = (e) => {
35
- if (c(e), n.onChange && b)
36
- try {
37
- b[n.onChange](K, e);
38
- } catch (r) {
39
- console.error(r + `
40
- onChange: ${n.onChange}`);
41
- }
42
- };
43
- return O(t, c), (e, r) => {
44
- var m;
45
- const _ = d("el-checkbox"), B = d("el-checkbox-button"), M = d("el-space"), T = d("el-checkbox-group"), w = P("loading");
46
- return a(k).schema.read ? (l(), i("div", R, S((m = t.value) == null ? void 0 : m.map((o) => {
47
- var y;
48
- return (y = a(u).find((z) => z[e.valueKey] === o)) == null ? void 0 : y[e.labelKey];
49
- }).join("、")), 1)) : $((l(), s(T, j({ key: 1 }, e.$attrs, {
50
- modelValue: t.value,
51
- "onUpdate:modelValue": r[0] || (r[0] = (o) => t.value = o),
52
- onChange: V
53
- }), {
54
- default: h(() => [
55
- e.optionType === "circle" || e.optionType === "border" ? (l(!0), i(f, { key: 0 }, v(a(u), (o) => (l(), s(_, {
56
- key: o[e.valueKey],
57
- label: o[e.labelKey],
58
- value: o[e.valueKey],
59
- disabled: o.disabled,
60
- border: e.optionType === "border"
61
- }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : g("", !0),
62
- e.optionType === "button" ? (l(), s(M, {
63
- key: 1,
64
- wrap: "",
65
- size: [e.space, e.space]
66
- }, {
67
- default: h(() => [
68
- (l(!0), i(f, null, v(a(u), (o) => (l(), s(B, {
69
- key: o[e.valueKey],
70
- label: o[e.labelKey],
71
- value: o[e.valueKey],
72
- disabled: o.disabled,
73
- size: "large"
74
- }, null, 8, ["label", "value", "disabled"]))), 128))
75
- ]),
76
- _: 1
77
- }, 8, ["size"])) : g("", !0)
78
- ]),
79
- _: 1
80
- }, 16, ["modelValue"])), [
81
- [w, a(C)]
82
- ]);
83
- };
84
- }
85
- });
86
- export {
87
- H as default
88
- };
@@ -1,35 +0,0 @@
1
- import { defineComponent as p, mergeModels as u, useModel as d, computed as c, resolveComponent as f, openBlock as t, createElementBlock as y, toDisplayString as v, createBlock as k, mergeProps as V } from "vue";
2
- import { u as _ } from "./index-BQJEI0Bg.js";
3
- import "element-plus";
4
- const g = { key: 0 }, M = /* @__PURE__ */ p({
5
- __name: "Component",
6
- props: /* @__PURE__ */ u({
7
- min: {},
8
- read: { type: Boolean },
9
- precision: {}
10
- }, {
11
- modelValue: {},
12
- modelModifiers: {}
13
- }),
14
- emits: ["update:modelValue"],
15
- setup(r) {
16
- const o = d(r, "modelValue"), l = _(), s = c(() => l.schema.read), a = (e) => {
17
- ["E", "e", "+", "-"].includes(e.key) && e.preventDefault();
18
- };
19
- return (e, n) => {
20
- const i = f("el-input-number");
21
- return e.read || s.value ? (t(), y("span", g, v(typeof o.value == "number" ? o.value.toFixed(e.precision || 0).replace(".", ",") : "--"), 1)) : (t(), k(i, V({ key: 1 }, e.$attrs, {
22
- modelValue: o.value,
23
- "onUpdate:modelValue": n[0] || (n[0] = (m) => o.value = m),
24
- style: { width: "100%" },
25
- min: e.min || 0,
26
- onKeydown: a,
27
- "controls-position": "right",
28
- precision: e.precision || 0
29
- }), null, 16, ["modelValue", "min", "precision"]));
30
- };
31
- }
32
- });
33
- export {
34
- M as default
35
- };