asiaint-lowcode 3.1.55 → 3.1.57

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 +179 -178
  3. package/dist/index.d.ts +372 -1
  4. package/dist/lazy/{Card-BXKpqwP2.js → Card-DdWp3Dz9.js} +1 -1
  5. package/dist/lazy/{Cascader-Ds98RPzS.js → Cascader-BxsxfWZi.js} +1 -1
  6. package/dist/lazy/{Checkbox-DKkkcLvw.js → Checkbox-BPJjRDut.js} +2 -2
  7. package/dist/lazy/{Collapse-CNy7cdGL.js → Collapse-DMpWXH2D.js} +1 -1
  8. package/dist/lazy/{Component-gvpBh8iD.js → Component-BAb8Glyu.js} +1 -1
  9. package/dist/lazy/{Component-DMl5Bagt.js → Component-Bvb11i1A.js} +1 -1
  10. package/dist/lazy/{Component-D5uZd6W1.js → Component-Cq9v0YT0.js} +1 -1
  11. package/dist/lazy/{Component-CLtv3HZE.js → Component-DhRio0qv.js} +1 -1
  12. package/dist/lazy/{Component-CwnK1Ums.js → Component-haJrwEDP.js} +1 -1
  13. package/dist/lazy/Component-xrpa5QWJ.js +143 -0
  14. package/dist/lazy/{CurdCard-CtMRBBlf.js → CurdCard-BqzAFbA5.js} +15 -14
  15. package/dist/lazy/{Custom-CbAPve0N.js → Custom-EmbK57YY.js} +1 -1
  16. package/dist/lazy/{DatePicker-ibO4UCty.js → DatePicker-BXnfk1Zr.js} +22 -20
  17. package/dist/lazy/{DragList-DSnWhZqP.js → DragList-DG75zaHa.js} +1 -1
  18. package/dist/lazy/{FilterSearch-BTN22Rs4.js → FilterSearch-BMF9jCxH.js} +1 -1
  19. package/dist/lazy/FloatCurd-D_OPcxR6.js +148 -0
  20. package/dist/lazy/{FormList-CYJ7WSaW.js → FormList-_S8br6_H.js} +1 -1
  21. package/dist/lazy/{Grid-BLcQVZnc.js → Grid-kruDCFf5.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-CISAZvfc.js → InfiniteScroll-CtsW_oYO.js} +1 -1
  23. package/dist/lazy/{Inline-CN9syZ28.js → Inline-5o19mIFm.js} +1 -1
  24. package/dist/lazy/{JsonEdit-CWt6xA_b.js → JsonEdit-DzAF4EKV.js} +1 -1
  25. package/dist/lazy/{LogList-DNUwLcXX.js → LogList-DA4nYLDd.js} +1 -1
  26. package/dist/lazy/{ObjGroup-DwPq7CZw.js → ObjGroup-6YLhqnv5.js} +1 -1
  27. package/dist/lazy/{OfferDetails-BXAoZXs2.js → OfferDetails-BjMnexIs.js} +10 -9
  28. package/dist/lazy/{Pagination-C5YW52OB.js → Pagination-DiXJ2GWc.js} +1 -1
  29. package/dist/lazy/{Progress-xqmF3wW_.js → Progress-DPzECwdm.js} +1 -1
  30. package/dist/lazy/{Radio--HOOmZfy.js → Radio-D3XvuscY.js} +2 -2
  31. package/dist/lazy/{SearchSelect-ClmaNMSl.js → SearchSelect-D0-zUts-.js} +2 -2
  32. package/dist/lazy/{Select-B65r4vDH.js → Select-B1XcN6fN.js} +2 -2
  33. package/dist/lazy/Table-x-_aoAyQ.js +566 -0
  34. package/dist/lazy/Tabs-Bdc3ze7v.js +127 -0
  35. package/dist/lazy/TextArea-Crwzr10r.js +34 -0
  36. package/dist/lazy/{Wrapper-crDMNWXD.js → Wrapper-DH0CbkLZ.js} +7 -7
  37. package/dist/lazy/{index-DItZh2kd.js → index-DY31m1LD.js} +17831 -17625
  38. package/dist/lazy/{useSelect-B5EeeCHx.js → useSelect-Mr_5r7kL.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/package.json +1 -1
  41. package/dist/lazy/Component-Fo_Dyn0s.js +0 -120
  42. package/dist/lazy/Table-DATLGVBG.js +0 -527
  43. package/dist/lazy/Tabs-DKNVRbtN.js +0 -72
  44. package/dist/lazy/TextArea-BuoAInxT.js +0 -34
@@ -0,0 +1,127 @@
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";
3
+ import "element-plus";
4
+ const D = { class: "right-icon-wrapper" }, L = { class: "dynamic-icon-wrapper" }, P = {
5
+ key: 0,
6
+ class: "dynamic-icon-item"
7
+ }, R = { class: "static-icon-wrapper" }, S = {
8
+ key: 0,
9
+ class: "static-icon-item"
10
+ }, U = { class: "tab-label" }, j = { class: "tab-label-text" }, q = /* @__PURE__ */ V({
11
+ __name: "Tabs",
12
+ props: {
13
+ id: {},
14
+ children: {},
15
+ defaultKey: {},
16
+ tabChange: {},
17
+ styleType: { default: "normal" },
18
+ staticBtns: {},
19
+ dynamicBtns: {}
20
+ },
21
+ setup(v) {
22
+ const a = v, o = w(""), g = I(() => {
23
+ const e = a.children.findIndex((s) => s.name === o.value);
24
+ return e - 1 >= 0 ? e - 1 : null;
25
+ }), { ruleModule: C, pageMethodMap: k } = $();
26
+ function T(e) {
27
+ if (a.tabChange)
28
+ try {
29
+ C[a.tabChange](k, e);
30
+ } catch (s) {
31
+ console.error(s);
32
+ }
33
+ }
34
+ return u(
35
+ () => a.children,
36
+ () => {
37
+ a.children.forEach((e) => {
38
+ e.children || (e.children = []);
39
+ });
40
+ }
41
+ ), u(
42
+ () => a.defaultKey,
43
+ () => {
44
+ o.value = a.defaultKey;
45
+ }
46
+ ), u(
47
+ () => a.defaultKey,
48
+ () => {
49
+ o.value = a.defaultKey;
50
+ }
51
+ ), B(() => {
52
+ a.defaultKey && (o.value = a.defaultKey);
53
+ }), (e, s) => {
54
+ const K = b("el-tab-pane"), N = b("el-tabs");
55
+ return t(), p(N, _({ id: e.id }, e.$attrs, {
56
+ modelValue: o.value,
57
+ "onUpdate:modelValue": s[0] || (s[0] = (n) => o.value = n),
58
+ onTabChange: T,
59
+ addable: e.styleType === "btn",
60
+ class: {
61
+ "modal-type": e.styleType === "modal",
62
+ "btn-type": e.styleType === "btn",
63
+ "form-item-tabs": e.styleType === "normal"
64
+ }
65
+ }), {
66
+ "add-icon": i(() => [
67
+ r("div", D, [
68
+ r("div", L, [
69
+ (t(!0), l(d, null, m(e.dynamicBtns, (n) => (t(), l(d, {
70
+ key: n.iconName
71
+ }, [
72
+ n.hidden ? c("", !0) : (t(), l("div", P, [
73
+ y(f, {
74
+ name: n.iconName
75
+ }, null, 8, ["name"])
76
+ ]))
77
+ ], 64))), 128))
78
+ ]),
79
+ r("div", R, [
80
+ (t(!0), l(d, null, m(e.staticBtns, (n) => (t(), l(d, {
81
+ key: n.iconName
82
+ }, [
83
+ n.hidden ? c("", !0) : (t(), l("div", S, [
84
+ y(f, {
85
+ name: n.iconName
86
+ }, null, 8, ["name"])
87
+ ]))
88
+ ], 64))), 128))
89
+ ])
90
+ ])
91
+ ]),
92
+ default: i(() => [
93
+ (t(!0), l(d, null, m(e.children, (n, h) => (t(), p(K, _({
94
+ key: n.name,
95
+ ref_for: !0
96
+ }, n), {
97
+ label: i(() => [
98
+ r("div", U, [
99
+ e.styleType === "btn" && n.icon ? (t(), p(f, {
100
+ key: 0,
101
+ name: n.icon
102
+ }, null, 8, ["name"])) : c("", !0),
103
+ r("span", j, M(n.label), 1),
104
+ h !== e.children.length - 1 ? (t(), l("span", {
105
+ key: 1,
106
+ class: E(["divider", {
107
+ "divider-hidden": o.value === n.name || g.value === h
108
+ }])
109
+ }, null, 2)) : c("", !0)
110
+ ])
111
+ ]),
112
+ default: i(() => [
113
+ y(F(z), {
114
+ list: n.children
115
+ }, null, 8, ["list"])
116
+ ]),
117
+ _: 2
118
+ }, 1040))), 128))
119
+ ]),
120
+ _: 1
121
+ }, 16, ["id", "modelValue", "addable", "class"]);
122
+ };
123
+ }
124
+ }), O = /* @__PURE__ */ A(q, [["__scopeId", "data-v-7f3cbcb9"]]);
125
+ export {
126
+ O as default
127
+ };
@@ -0,0 +1,34 @@
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";
3
+ import "element-plus";
4
+ const x = {
5
+ key: 0,
6
+ class: "special-read"
7
+ }, I = { class: "special-read-value" }, M = { key: 1 }, g = /* @__PURE__ */ u({
8
+ __name: "TextArea",
9
+ props: /* @__PURE__ */ i({
10
+ name: {},
11
+ read: { type: Boolean },
12
+ specialRead: { type: Boolean }
13
+ }, {
14
+ modelValue: {},
15
+ modelModifiers: {}
16
+ }),
17
+ emits: ["update:modelValue"],
18
+ setup(t) {
19
+ const e = _(t, "modelValue"), l = t, o = B(), s = v(() => l.read || o.schema.read);
20
+ return o.findItemByName(o.schema.items, l.name), (n, d) => {
21
+ const c = f("el-input");
22
+ return n.specialRead && s.value ? (a(), m("div", x, [
23
+ y("div", I, r(e.value || "--"), 1)
24
+ ])) : s.value ? (a(), m("div", M, r(e.value || "--"), 1)) : (a(), V(c, k({ key: 2 }, n.$attrs, {
25
+ modelValue: e.value,
26
+ "onUpdate:modelValue": d[0] || (d[0] = (p) => e.value = p),
27
+ type: "textarea"
28
+ }), null, 16, ["modelValue"]));
29
+ };
30
+ }
31
+ }), E = /* @__PURE__ */ h(g, [["__scopeId", "data-v-362f3918"]]);
32
+ export {
33
+ E as default
34
+ };
@@ -1,5 +1,5 @@
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 b, normalizeClass as i, unref as g, createCommentVNode as c, vShow as x } from "vue";
2
- import { c as B, b as S, I as d, _ as k } from "./index-DItZh2kd.js";
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";
3
3
  import "element-plus";
4
4
  const E = {
5
5
  key: 0,
@@ -19,7 +19,7 @@ const E = {
19
19
  onExpand: {}
20
20
  },
21
21
  setup(u) {
22
- const o = u, { ruleModule: t, pageMethodMap: p } = B(), n = f(!1), y = () => {
22
+ const o = u, { ruleModule: t, pageMethodMap: p } = S(), n = f(!1), y = () => {
23
23
  if (o.onDropdownChange) {
24
24
  n.value = !n.value;
25
25
  try {
@@ -43,7 +43,7 @@ const E = {
43
43
  }, [
44
44
  r(h, null, {
45
45
  default: C(() => [
46
- _(b("div", {
46
+ _(g("div", {
47
47
  class: i({
48
48
  normal: e.type === "normal",
49
49
  onlytable: e.type === "onlytable",
@@ -52,7 +52,7 @@ const E = {
52
52
  }),
53
53
  style: s(e.innerStyle)
54
54
  }, [
55
- r(g(S), { list: e.children }, null, 8, ["list"]),
55
+ r(x(b), { list: e.children }, null, 8, ["list"]),
56
56
  e.dropdown ? (a(), l("div", E, [
57
57
  r(d, {
58
58
  name: "icon-xialaliebiao",
@@ -72,7 +72,7 @@ const E = {
72
72
  })
73
73
  ])) : c("", !0)
74
74
  ], 6), [
75
- [x, !e.collapse]
75
+ [B, !e.collapse]
76
76
  ])
77
77
  ]),
78
78
  _: 1
@@ -80,7 +80,7 @@ const E = {
80
80
  ], 4);
81
81
  };
82
82
  }
83
- }), V = /* @__PURE__ */ k(D, [["__scopeId", "data-v-179bbf63"]]);
83
+ }), V = /* @__PURE__ */ k(D, [["__scopeId", "data-v-e9e23e58"]]);
84
84
  export {
85
85
  V as default
86
86
  };