asiaint-lowcode 3.1.37 → 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 +167 -166
  3. package/dist/index.d.ts +15 -1
  4. package/dist/lazy/{Card-DXfC4reK.js → Card-xaPIgEf-.js} +23 -22
  5. package/dist/lazy/{Cascader-Bj4oC8Zu.js → Cascader-CIneQK_J.js} +6 -5
  6. package/dist/lazy/{Checkbox-DTae5rhy.js → Checkbox-C72IOaoc.js} +8 -7
  7. package/dist/lazy/{Collapse-9Bff_5gl.js → Collapse-KICA4Zu5.js} +1 -1
  8. package/dist/lazy/{Component-BRjuyVlX.js → Component-CuDRSQjU.js} +1 -1
  9. package/dist/lazy/{Component-CwfHrSsM.js → Component-DYC0xOUO.js} +1 -1
  10. package/dist/lazy/{Component-B9J-Eg_n.js → Component-D_olaC47.js} +1 -1
  11. package/dist/lazy/{Component-BZX36GeI.js → Component-F_Q0psy5.js} +1 -1
  12. package/dist/lazy/{Component-D7m8AMng.js → Component-jJWl2i0B.js} +1 -1
  13. package/dist/lazy/Component-vSUXweJM.js +153 -0
  14. package/dist/lazy/{CurdCard-C0T-qkOg.js → CurdCard-D0jdTzK2.js} +1 -1
  15. package/dist/lazy/{Custom-tGvKA5C1.js → Custom-CT-vwPPd.js} +1 -1
  16. package/dist/lazy/DatePicker-QOEOzrF4.js +48 -0
  17. package/dist/lazy/{DragList-CMzLGkHR.js → DragList-XbDqvP-j.js} +1 -1
  18. package/dist/lazy/{FilterSearch-D0UYqJ3M.js → FilterSearch-BqIZ1S1W.js} +1 -1
  19. package/dist/lazy/{FormList-Ck0oGtOQ.js → FormList-xtHCsYzT.js} +1 -1
  20. package/dist/lazy/{Grid-Bt4lwlBm.js → Grid-C1jTdSoZ.js} +1 -1
  21. package/dist/lazy/{InfiniteScroll-uBS1lTN5.js → InfiniteScroll-CZ4l8YsY.js} +1 -1
  22. package/dist/lazy/{Inline-D8PPz5DU.js → Inline-ChaJEtb4.js} +1 -1
  23. package/dist/lazy/{JsonEdit-DK-3Z6dM.js → JsonEdit-Dcco309G.js} +1 -1
  24. package/dist/lazy/{LogList-DHZLlXKw.js → LogList-CZXtzROI.js} +1 -1
  25. package/dist/lazy/{ObjGroup-DIQV6Sc1.js → ObjGroup-CRIqAsRN.js} +1 -1
  26. package/dist/lazy/{OfferDetails-DDduVbVr.js → OfferDetails-B8Rz--PH.js} +1 -1
  27. package/dist/lazy/{Pagination-Dtcbh5Qq.js → Pagination-DVdsyCWo.js} +1 -1
  28. package/dist/lazy/{Progress-LX72PW0_.js → Progress-D0qjx-AG.js} +1 -1
  29. package/dist/lazy/{Radio-Zk_bR7bi.js → Radio-DqnUepm9.js} +11 -10
  30. package/dist/lazy/{SearchSelect-DgWBiUzz.js → SearchSelect-DwBCUhg1.js} +8 -7
  31. package/dist/lazy/{Select-BIV0hL9b.js → Select-aTvuzPTf.js} +15 -13
  32. package/dist/lazy/{Table-cdQCFTa2.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-rCEDHAB1.js → Wrapper-DxwoVC2i.js} +1 -1
  36. package/dist/lazy/{index-F3jwnQyj.js → index-BAvzFzs-.js} +4228 -4129
  37. package/dist/lazy/{useSelect-Bvvwffd0.js → useSelect-BglioMMD.js} +1 -1
  38. package/dist/style.css +2 -2
  39. package/package.json +1 -1
  40. package/dist/lazy/Component-DgUmDVxI.js +0 -97
  41. package/dist/lazy/DatePicker-BybSBpW2.js +0 -33
  42. package/dist/lazy/Tabs-DGJQiJtx.js +0 -47
  43. package/dist/lazy/TextArea-DlDjs0en.js +0 -36
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.37",
3
+ "version": "3.1.39",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,97 +0,0 @@
1
- import { defineComponent as b, mergeModels as V, useModel as B, resolveComponent as d, openBlock as l, createBlock as n, createSlots as C, withCtx as a, createElementBlock as m, Fragment as w, createVNode as E, unref as r, createElementVNode as o, createTextVNode as i, toDisplayString as p, createCommentVNode as u } from "vue";
2
- import { ElMessage as M, ElMessageBox as N } from "element-plus";
3
- import { a as f } from "./index-F3jwnQyj.js";
4
- const $ = {
5
- key: 0,
6
- style: { "min-width": "300px" }
7
- }, F = { class: "el-upload__tip" }, x = /* @__PURE__ */ b({
8
- __name: "Component",
9
- props: /* @__PURE__ */ V({
10
- action: {},
11
- multiple: { type: Boolean },
12
- btnText: { default: "点击上传" },
13
- tip: {},
14
- limit: { default: 3 },
15
- drag: { type: Boolean },
16
- name: { default: "file" },
17
- listType: { default: "text" }
18
- }, {
19
- modelValue: {
20
- default: () => []
21
- },
22
- modelModifiers: {}
23
- }),
24
- emits: ["update:modelValue"],
25
- setup(c) {
26
- const s = B(c, "modelValue"), y = (e, t) => {
27
- console.log(e, t);
28
- }, g = (e) => {
29
- console.log(e);
30
- }, v = (e, t) => {
31
- M.warning(
32
- `The limit is 3, you selected ${e.length} files this time, add up to ${e.length + t.length} totally`
33
- );
34
- }, h = (e, t) => N.confirm(`Cancel the transfer of ${e.name} ?`).then(
35
- () => !0,
36
- () => !1
37
- );
38
- return (e, t) => {
39
- const T = d("el-button"), k = d("el-upload");
40
- return l(), n(k, {
41
- "file-list": s.value,
42
- "onUpdate:fileList": t[0] || (t[0] = (_) => s.value = _),
43
- action: e.action,
44
- multiple: e.multiple,
45
- limit: e.limit,
46
- drag: e.drag,
47
- name: e.name,
48
- listType: e.listType,
49
- "on-preview": g,
50
- "on-remove": y,
51
- "before-remove": h,
52
- "on-exceed": v
53
- }, C({
54
- default: a(() => [
55
- e.listType === "text" ? (l(), m(w, { key: 0 }, [
56
- e.drag ? (l(), m("div", $, [
57
- E(r(f), {
58
- class: "el-icon--upload",
59
- name: "upload"
60
- }),
61
- t[1] || (t[1] = o("div", { class: "el-upload__text" }, [
62
- i(" 拖拽文件到此处上传 "),
63
- o("br"),
64
- i(" 或"),
65
- o("em", null, "点击上传")
66
- ], -1))
67
- ])) : (l(), n(T, {
68
- key: 1,
69
- type: "primary"
70
- }, {
71
- default: a(() => [
72
- i(p(e.btnText), 1)
73
- ]),
74
- _: 1
75
- }))
76
- ], 64)) : u("", !0),
77
- e.listType === "picture-card" ? (l(), n(r(f), {
78
- key: 1,
79
- name: "add"
80
- })) : u("", !0)
81
- ]),
82
- _: 2
83
- }, [
84
- e.tip ? {
85
- name: "tip",
86
- fn: a(() => [
87
- o("div", F, p(e.tip), 1)
88
- ]),
89
- key: "0"
90
- } : void 0
91
- ]), 1032, ["file-list", "action", "multiple", "limit", "drag", "name", "listType"]);
92
- };
93
- }
94
- });
95
- export {
96
- x as default
97
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent as i, mergeModels as f, useModel as v, useAttrs as k, computed as r, resolveComponent as y, openBlock as l, createElementBlock as _, toDisplayString as V, createBlock as B, mergeProps as M } from "vue";
2
- import { dayjs as g } from "element-plus";
3
- import { u as h } from "./index-F3jwnQyj.js";
4
- const D = { key: 0 }, I = /* @__PURE__ */ i({
5
- __name: "DatePicker",
6
- props: /* @__PURE__ */ f({
7
- read: { type: Boolean }
8
- }, {
9
- modelValue: {},
10
- modelModifiers: {}
11
- }),
12
- emits: ["update:modelValue"],
13
- setup(s) {
14
- const e = v(s, "modelValue"), o = k(), n = h(), u = r(() => n.schema.read), m = r(() => e.value ? o.valueFormat ? g(e.value).format(o.valueFormat) : e.value : "--"), d = [
15
- {
16
- text: "Today",
17
- value: /* @__PURE__ */ new Date()
18
- }
19
- ];
20
- return (t, a) => {
21
- const c = y("el-date-picker");
22
- return t.read || u.value ? (l(), _("span", D, V(m.value), 1)) : (l(), B(c, M({ key: 1 }, t.$attrs, {
23
- modelValue: e.value,
24
- "onUpdate:modelValue": a[0] || (a[0] = (p) => e.value = p),
25
- style: { width: "100%" },
26
- shortcuts: d
27
- }), null, 16, ["modelValue"]));
28
- };
29
- }
30
- });
31
- export {
32
- I as default
33
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
2
- import { b as V } from "./index-F3jwnQyj.js";
3
- import "element-plus";
4
- const w = /* @__PURE__ */ i({
5
- __name: "Tabs",
6
- props: {
7
- children: {},
8
- defaultKey: {}
9
- },
10
- setup(s) {
11
- const n = s, r = m("");
12
- return _(
13
- () => n.children,
14
- () => {
15
- n.children.forEach((e) => {
16
- e.children || (e.children = []);
17
- });
18
- }
19
- ), h(() => {
20
- n.defaultKey && (r.value = n.defaultKey);
21
- }), (e, o) => {
22
- const f = a("el-tab-pane"), p = a("el-tabs");
23
- return l(), c(p, u(e.$attrs, {
24
- modelValue: r.value,
25
- "onUpdate:modelValue": o[0] || (o[0] = (t) => r.value = t)
26
- }), {
27
- default: d(() => [
28
- (l(!0), b(v, null, y(e.children, (t) => (l(), c(f, u({
29
- key: t.name,
30
- ref_for: !0
31
- }, t), {
32
- default: d(() => [
33
- k(K(V), {
34
- list: t.children
35
- }, null, 8, ["list"])
36
- ]),
37
- _: 2
38
- }, 1040))), 128))
39
- ]),
40
- _: 1
41
- }, 16, ["modelValue"]);
42
- };
43
- }
44
- });
45
- export {
46
- w as default
47
- };
@@ -1,36 +0,0 @@
1
- import { defineComponent as _, mergeModels as f, useModel as v, resolveComponent as y, openBlock as o, createElementBlock as r, toDisplayString as t, createElementVNode as m, unref as V, createBlock as k, mergeProps as B } from "vue";
2
- import { u as h, _ as I } from "./index-F3jwnQyj.js";
3
- import "element-plus";
4
- const g = { key: 0 }, x = {
5
- key: 1,
6
- class: "special-read"
7
- }, M = { class: "special-read-label" }, b = { class: "special-read-value" }, A = /* @__PURE__ */ _({
8
- __name: "TextArea",
9
- props: /* @__PURE__ */ f({
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 = v(l, "modelValue"), c = l, s = h(), i = s.findItemByName(s.schema.items, c.name);
20
- return (a, n) => {
21
- var d;
22
- const p = y("el-input");
23
- return a.read ? (o(), r("div", g, t(e.value || "--"), 1)) : a.specialRead ? (o(), r("div", x, [
24
- m("div", M, t((d = V(i)) == null ? void 0 : d.label), 1),
25
- m("div", b, t(e.value || "--"), 1)
26
- ])) : (o(), k(p, B({ key: 2 }, a.$attrs, {
27
- modelValue: e.value,
28
- "onUpdate:modelValue": n[0] || (n[0] = (u) => e.value = u),
29
- type: "textarea"
30
- }), null, 16, ["modelValue"]));
31
- };
32
- }
33
- }), R = /* @__PURE__ */ I(A, [["__scopeId", "data-v-4a51f379"]]);
34
- export {
35
- R as default
36
- };