asiaint-lowcode 3.1.38 → 3.1.39

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 +15 -1
  4. package/dist/lazy/{Card-BDM6XuJU.js → Card-xaPIgEf-.js} +23 -22
  5. package/dist/lazy/{Cascader-CZHGG0pG.js → Cascader-CIneQK_J.js} +6 -5
  6. package/dist/lazy/{Checkbox-BhvL5E2k.js → Checkbox-C72IOaoc.js} +8 -7
  7. package/dist/lazy/{Collapse-ClRN3_Of.js → Collapse-KICA4Zu5.js} +1 -1
  8. package/dist/lazy/{Component-C7VeIPP5.js → Component-CuDRSQjU.js} +1 -1
  9. package/dist/lazy/{Component-DM4mr-di.js → Component-DYC0xOUO.js} +1 -1
  10. package/dist/lazy/{Component-555PMoc2.js → Component-D_olaC47.js} +1 -1
  11. package/dist/lazy/{Component-Z05b2x3I.js → Component-F_Q0psy5.js} +1 -1
  12. package/dist/lazy/{Component-CwrnPKx7.js → Component-jJWl2i0B.js} +1 -1
  13. package/dist/lazy/Component-vSUXweJM.js +153 -0
  14. package/dist/lazy/{CurdCard-MbVA6Mi-.js → CurdCard-D0jdTzK2.js} +1 -1
  15. package/dist/lazy/{Custom-CfeLPQAL.js → Custom-CT-vwPPd.js} +1 -1
  16. package/dist/lazy/DatePicker-QOEOzrF4.js +48 -0
  17. package/dist/lazy/{DragList-Ch2e0ELU.js → DragList-XbDqvP-j.js} +1 -1
  18. package/dist/lazy/{FilterSearch-Kt9PdLaA.js → FilterSearch-BqIZ1S1W.js} +1 -1
  19. package/dist/lazy/{FormList-D9SgU07A.js → FormList-xtHCsYzT.js} +1 -1
  20. package/dist/lazy/{Grid-BkcT4oBE.js → Grid-C1jTdSoZ.js} +1 -1
  21. package/dist/lazy/{InfiniteScroll-CcpNdUU1.js → InfiniteScroll-CZ4l8YsY.js} +1 -1
  22. package/dist/lazy/{Inline-DGUu4c-C.js → Inline-ChaJEtb4.js} +1 -1
  23. package/dist/lazy/{JsonEdit-EzeyrtX4.js → JsonEdit-Dcco309G.js} +1 -1
  24. package/dist/lazy/{LogList-CHVupI_V.js → LogList-CZXtzROI.js} +1 -1
  25. package/dist/lazy/{ObjGroup-ChPL8CLg.js → ObjGroup-CRIqAsRN.js} +1 -1
  26. package/dist/lazy/{OfferDetails-JouhmtOf.js → OfferDetails-B8Rz--PH.js} +1 -1
  27. package/dist/lazy/{Pagination-Dt_xyHyP.js → Pagination-DVdsyCWo.js} +1 -1
  28. package/dist/lazy/{Progress-BrL4wDR7.js → Progress-D0qjx-AG.js} +1 -1
  29. package/dist/lazy/{Radio-CR0QoEHh.js → Radio-DqnUepm9.js} +11 -10
  30. package/dist/lazy/{SearchSelect-BbDe3rPF.js → SearchSelect-DwBCUhg1.js} +8 -7
  31. package/dist/lazy/{Select-DOMvoT5o.js → Select-aTvuzPTf.js} +15 -13
  32. package/dist/lazy/{Table-BKElHVXy.js → Table-BLs3eSzr.js} +104 -93
  33. package/dist/lazy/Tabs-X9CjeOA2.js +72 -0
  34. package/dist/lazy/TextArea-Bc-TYkjs.js +36 -0
  35. package/dist/lazy/{Wrapper-DkjAAPP8.js → Wrapper-DxwoVC2i.js} +1 -1
  36. package/dist/lazy/{index-BHy32Cui.js → index-BAvzFzs-.js} +4200 -4103
  37. package/dist/lazy/{useSelect-BLTr8z88.js → useSelect-BglioMMD.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
@@ -0,0 +1,72 @@
1
+ import { defineComponent as g, ref as y, computed as V, watch as k, onMounted as x, resolveComponent as c, openBlock as o, createBlock as d, mergeProps as u, withCtx as r, createElementBlock as i, Fragment as B, renderList as K, createElementVNode as p, toDisplayString as M, normalizeClass as T, createCommentVNode as E, createVNode as I, unref as N } from "vue";
2
+ import { c as w, b as $, _ as z } from "./index-BAvzFzs-.js";
3
+ import "element-plus";
4
+ const A = { class: "tab-label" }, D = { class: "tab-label-text" }, F = /* @__PURE__ */ g({
5
+ __name: "Tabs",
6
+ props: {
7
+ children: {},
8
+ defaultKey: {},
9
+ tabChange: {}
10
+ },
11
+ setup(f) {
12
+ const a = f, l = y(""), h = V(() => {
13
+ const e = a.children.findIndex((t) => t.name === l.value);
14
+ return e - 1 >= 0 ? e - 1 : null;
15
+ }), { ruleModule: m, pageMethodMap: _ } = w();
16
+ function b(e) {
17
+ if (a.tabChange)
18
+ try {
19
+ m[a.tabChange](_, e);
20
+ } catch (t) {
21
+ console.error(t);
22
+ }
23
+ }
24
+ return k(
25
+ () => a.children,
26
+ () => {
27
+ a.children.forEach((e) => {
28
+ e.children || (e.children = []);
29
+ });
30
+ }
31
+ ), x(() => {
32
+ a.defaultKey && (l.value = a.defaultKey);
33
+ }), (e, t) => {
34
+ const v = c("el-tab-pane"), C = c("el-tabs");
35
+ return o(), d(C, u(e.$attrs, {
36
+ modelValue: l.value,
37
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => l.value = n),
38
+ class: "form-item-tabs",
39
+ onTabChange: b
40
+ }), {
41
+ default: r(() => [
42
+ (o(!0), i(B, null, K(e.children, (n, s) => (o(), d(v, u({
43
+ key: n.name,
44
+ ref_for: !0
45
+ }, n), {
46
+ label: r(() => [
47
+ p("div", A, [
48
+ p("span", D, M(n.label), 1),
49
+ s !== e.children.length - 1 ? (o(), i("span", {
50
+ key: 0,
51
+ class: T(["divider", {
52
+ "divider-hidden": l.value === n.name || h.value === s
53
+ }])
54
+ }, null, 2)) : E("", !0)
55
+ ])
56
+ ]),
57
+ default: r(() => [
58
+ I(N($), {
59
+ list: n.children
60
+ }, null, 8, ["list"])
61
+ ]),
62
+ _: 2
63
+ }, 1040))), 128))
64
+ ]),
65
+ _: 1
66
+ }, 16, ["modelValue"]);
67
+ };
68
+ }
69
+ }), S = /* @__PURE__ */ z(F, [["__scopeId", "data-v-71169a4c"]]);
70
+ export {
71
+ S as default
72
+ };
@@ -0,0 +1,36 @@
1
+ import { defineComponent as f, mergeModels as v, useModel as y, computed as V, resolveComponent as k, openBlock as o, createElementBlock as m, toDisplayString as t, createElementVNode as c, unref as B, createBlock as h, mergeProps as x } from "vue";
2
+ import { u as I, _ as M } from "./index-BAvzFzs-.js";
3
+ import "element-plus";
4
+ const g = { key: 0 }, R = {
5
+ key: 1,
6
+ class: "special-read"
7
+ }, b = { class: "special-read-label" }, A = { class: "special-read-value" }, C = /* @__PURE__ */ f({
8
+ __name: "TextArea",
9
+ props: /* @__PURE__ */ v({
10
+ name: {},
11
+ read: { type: Boolean },
12
+ specialRead: { type: Boolean }
13
+ }, {
14
+ modelValue: {},
15
+ modelModifiers: {}
16
+ }),
17
+ emits: ["update:modelValue"],
18
+ setup(l) {
19
+ const e = y(l, "modelValue"), s = l, a = I(), i = V(() => s.read ?? a.schema.read ?? !1), p = a.findItemByName(a.schema.items, s.name);
20
+ return (n, d) => {
21
+ var r;
22
+ const u = k("el-input");
23
+ return i.value ? (o(), m("div", g, t(e.value || "--"), 1)) : n.specialRead ? (o(), m("div", R, [
24
+ c("div", b, t((r = B(p)) == null ? void 0 : r.label), 1),
25
+ c("div", A, t(e.value || "--"), 1)
26
+ ])) : (o(), h(u, x({ key: 2 }, n.$attrs, {
27
+ modelValue: e.value,
28
+ "onUpdate:modelValue": d[0] || (d[0] = (_) => e.value = _),
29
+ type: "textarea"
30
+ }), null, 16, ["modelValue"]));
31
+ };
32
+ }
33
+ }), T = /* @__PURE__ */ M(C, [["__scopeId", "data-v-422053a0"]]);
34
+ export {
35
+ T as default
36
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, ref as w, resolveComponent as v, openBlock as a, createElementBlock as l, normalizeStyle as p, createVNode as r, withCtx as C, withDirectives as _, createElementVNode as g, normalizeClass as i, unref as b, createCommentVNode as c, vShow as x } from "vue";
2
- import { c as B, b as S, I as d, _ as k } from "./index-BHy32Cui.js";
2
+ import { c as B, b as S, I as d, _ as k } from "./index-BAvzFzs-.js";
3
3
  import "element-plus";
4
4
  const E = {
5
5
  key: 0,