asiaint-lowcode 3.1.173 → 3.1.175

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.d.ts +28 -0
  2. package/dist/asiaint-lowcode.js +6 -6
  3. package/dist/asiaint-lowcode.umd.cjs +206 -206
  4. package/dist/lazy/{Card-C2IsJjl-.js → Card-CuIuPVfa.js} +1 -1
  5. package/dist/lazy/{Cascader-DtfNRskC.js → Cascader-DG9-lQL_.js} +1 -1
  6. package/dist/lazy/{Checkbox-Pgyjkv38.js → Checkbox-DkokY_T5.js} +2 -2
  7. package/dist/lazy/{Collapse-p2fjIXj5.js → Collapse-CfN04wPP.js} +1 -1
  8. package/dist/lazy/{Component-Cy25O5Y7.js → Component-BmIr-TEc.js} +1 -1
  9. package/dist/lazy/{Component-KT85DtK1.js → Component-DDr0mt26.js} +1 -1
  10. package/dist/lazy/{Component-CEUYJCcI.js → Component-DPKOSkbS.js} +1 -1
  11. package/dist/lazy/{Component-BEUniu5v.js → Component-DVnr7_Wq.js} +1 -1
  12. package/dist/lazy/{Component-4QFybPur.js → Component-bJujdUFt.js} +1 -1
  13. package/dist/lazy/{CurdCard-liP44opY.js → CurdCard-fARDual0.js} +1 -1
  14. package/dist/lazy/{Custom-CBehxkJT.js → Custom-DLf2H4j-.js} +1 -1
  15. package/dist/lazy/DatePicker-DwGL3Rfo.js +73 -0
  16. package/dist/lazy/{DragList-MPIVBQ6T.js → DragList-CkJN4M1_.js} +13 -13
  17. package/dist/lazy/{FilterSearch-DAA3G3Gm.js → FilterSearch-DWIoFEYA.js} +16 -16
  18. package/dist/lazy/{FloatCurd-bZMIEPW0.js → FloatCurd-BIIOwN6L.js} +54 -54
  19. package/dist/lazy/{FloatSearchCurd-Bu7TEu2Z.js → FloatSearchCurd-B5mTYPo4.js} +123 -123
  20. package/dist/lazy/{FormList-CD__cvDp.js → FormList-BisnYpYy.js} +1 -1
  21. package/dist/lazy/{Grid-DMdyOmJQ.js → Grid-DU0cGkx3.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-BRcoFGSt.js → InfiniteScroll-DIBaRISh.js} +1 -1
  23. package/dist/lazy/{Inline-c2LFIxhQ.js → Inline-Dz8K0mcs.js} +1 -1
  24. package/dist/lazy/{JsonEdit-DMcmr10M.js → JsonEdit-CcHoX1MX.js} +1 -1
  25. package/dist/lazy/{LogList-DrqEAmjd.js → LogList-CCqb9sMw.js} +1 -1
  26. package/dist/lazy/{ObjGroup-oygHMWVb.js → ObjGroup-9CuErhWA.js} +5 -5
  27. package/dist/lazy/{OfferDetails-iy0qqd0B.js → OfferDetails-BizT7B7e.js} +67 -66
  28. package/dist/lazy/{Pagination-BRba7ej4.js → Pagination-BcwTZvOy.js} +1 -1
  29. package/dist/lazy/Progress-BEuL9CsA.js +56 -0
  30. package/dist/lazy/{Radio-_UkuWJ8t.js → Radio-CbcqDR_c.js} +2 -2
  31. package/dist/lazy/{SearchSelect-Cu5mFFyS.js → SearchSelect-PZJ79a84.js} +2 -2
  32. package/dist/lazy/{Select-AhZIVV8h.js → Select-CTGej9Jt.js} +2 -2
  33. package/dist/lazy/{Table-jEh2IqW9.js → Table-CTLmaWUi.js} +112 -112
  34. package/dist/lazy/Tabs-Kra7RQza.js +154 -0
  35. package/dist/lazy/{TextArea-DrFOcrEz.js → TextArea-D-md2_JP.js} +1 -1
  36. package/dist/lazy/{Wrapper-De5GkJPH.js → Wrapper-Djhw4u_A.js} +3 -3
  37. package/dist/lazy/{index-DIlj-4zQ.js → index-if5yiaE6.js} +7617 -7542
  38. package/dist/lazy/{useSelect-BqMr342s.js → useSelect-Cx92c9xA.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/package.json +1 -1
  41. package/dist/lazy/DatePicker-3yZNwQpC.js +0 -73
  42. package/dist/lazy/Progress-DjdgocB3.js +0 -54
  43. package/dist/lazy/Tabs-DDV7I76Y.js +0 -150
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.173",
3
+ "version": "3.1.175",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,73 +0,0 @@
1
- import { defineComponent as y, mergeModels as M, useModel as k, useAttrs as D, computed as l, inject as u, resolveComponent as I, openBlock as i, createElementBlock as E, toDisplayString as _, createBlock as S, mergeProps as V } from "vue";
2
- import { dayjs as b } from "element-plus";
3
- import { u as B } from "./index-DIlj-4zQ.js";
4
- const F = { key: 0 }, j = /* @__PURE__ */ y({
5
- __name: "DatePicker",
6
- props: /* @__PURE__ */ M({
7
- onChange: {},
8
- onInput: {},
9
- onEnter: {},
10
- rulePath: {},
11
- read: { type: Boolean },
12
- readTextColor: {},
13
- onClick: {},
14
- defaultStartTime: {},
15
- defaultEndTime: {},
16
- disabledDate: {}
17
- }, {
18
- modelValue: {},
19
- modelModifiers: {}
20
- }),
21
- emits: ["update:modelValue"],
22
- setup(r) {
23
- const a = k(r, "modelValue"), e = r, d = D(), m = l(() => {
24
- if (e.defaultStartTime && e.defaultEndTime)
25
- return [
26
- new Date(
27
- 2e3,
28
- 1,
29
- 1,
30
- parseInt(e.defaultStartTime.split(":")[0]),
31
- parseInt(e.defaultStartTime.split(":")[1]),
32
- parseInt(e.defaultStartTime.split(":")[2])
33
- ),
34
- new Date(
35
- 2e3,
36
- 2,
37
- 1,
38
- parseInt(e.defaultEndTime.split(":")[0]),
39
- parseInt(e.defaultEndTime.split(":")[1]),
40
- parseInt(e.defaultEndTime.split(":")[2])
41
- )
42
- ];
43
- }), p = B(), c = l(() => e.read || p.schema.read), f = l(() => a.value ? d.valueFormat ? b(a.value).format(d.valueFormat) : a.value : "--"), h = [
44
- {
45
- text: "Today",
46
- value: /* @__PURE__ */ new Date()
47
- }
48
- ], n = u("ruleModule", void 0), s = u("pageMethodMap", {}), v = (t) => {
49
- if (console.log("zytest-----handleChange", t), e.onChange && n)
50
- try {
51
- n[e.onChange](s, t);
52
- } catch (o) {
53
- console.error(o + `
54
- onChange: ${e.onChange}`);
55
- }
56
- }, g = (t) => e.disabledDate ? n[e.disabledDate](s, t) : !1;
57
- return (t, o) => {
58
- const T = I("el-date-picker");
59
- return c.value ? (i(), E("span", F, _(f.value), 1)) : (i(), S(T, V({ key: 1 }, t.$attrs, {
60
- modelValue: a.value,
61
- "onUpdate:modelValue": o[0] || (o[0] = (C) => a.value = C),
62
- style: { width: "100%" },
63
- shortcuts: h,
64
- "disabled-date": g,
65
- onChange: v,
66
- "default-time": m.value
67
- }), null, 16, ["modelValue", "default-time"]));
68
- };
69
- }
70
- });
71
- export {
72
- j as default
73
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as a, withCtx as l, Fragment as u, renderList as f, createBlock as g, createElementVNode as e, toDisplayString as r, createTextVNode as h, unref as k, createCommentVNode as N } from "vue";
2
- import { I as v, a as C, _ as V } from "./index-DIlj-4zQ.js";
3
- const y = { class: "progress" }, B = { class: "timeline-content" }, E = { class: "timeline-content__title" }, I = {
4
- key: 0,
5
- class: "empty-content"
6
- }, b = /* @__PURE__ */ p({
7
- __name: "Progress",
8
- props: {
9
- data: {}
10
- },
11
- setup(w) {
12
- return (o, i) => {
13
- const _ = m("el-timeline-item"), c = m("el-timeline");
14
- return n(), s("div", y, [
15
- a(c, null, {
16
- default: l(() => [
17
- (n(!0), s(u, null, f(o.data, (t, d) => (n(), g(_, {
18
- key: d,
19
- size: "large"
20
- }, {
21
- dot: l(() => [
22
- a(v, {
23
- name: t.iconName,
24
- size: "large"
25
- }, null, 8, ["name"])
26
- ]),
27
- default: l(() => [
28
- e("div", B, [
29
- e("div", E, [
30
- e("span", null, r(t.title), 1),
31
- e("span", null, r(t.timestamp), 1)
32
- ]),
33
- h(" " + r(t.content), 1)
34
- ])
35
- ]),
36
- _: 2
37
- }, 1024))), 128))
38
- ]),
39
- _: 1
40
- }),
41
- !o.data || o.data.length === 0 ? (n(), s("div", I, [
42
- a(k(C), {
43
- name: "tableEmpty",
44
- style: { width: 56, height: 56 }
45
- }),
46
- i[0] || (i[0] = e("div", null, "No data available,please check", -1))
47
- ])) : N("", !0)
48
- ]);
49
- };
50
- }
51
- }), F = /* @__PURE__ */ V(b, [["__scopeId", "data-v-088a0692"]]);
52
- export {
53
- F as default
54
- };
@@ -1,150 +0,0 @@
1
- import { defineComponent as N, ref as z, computed as M, watch as _, onMounted as R, onUnmounted as W, resolveComponent as C, openBlock as o, createBlock as m, mergeProps as T, withCtx as d, createElementVNode as p, createElementBlock as u, createVNode as y, createCommentVNode as f, Fragment as A, renderList as S, toDisplayString as $, normalizeClass as D, unref as F } from "vue";
2
- import { c as U, i as P, B as k, I as X, b as Y, _ as j } from "./index-DIlj-4zQ.js";
3
- import "element-plus";
4
- const q = { class: "right-icon-wrapper" }, G = {
5
- key: 0,
6
- class: "dynamic-icon-wrapper"
7
- }, H = {
8
- key: 1,
9
- class: "static-icon-wrapper"
10
- }, J = { class: "tab-label-text" }, O = /* @__PURE__ */ N({
11
- __name: "Tabs",
12
- props: {
13
- id: {},
14
- children: {},
15
- defaultKey: {},
16
- tabChange: {},
17
- onBeforeLeave: {},
18
- styleType: { default: "normal" },
19
- staticBtns: {},
20
- dynamicBtns: {},
21
- name: {}
22
- },
23
- setup(K, { expose: V }) {
24
- const n = K, s = z(""), w = M(() => {
25
- const e = n.children.findIndex((t) => t.name === s.value);
26
- return e - 1 >= 0 ? e - 1 : null;
27
- }), { ruleModule: h, pageMethodMap: b } = U();
28
- function I(e) {
29
- if (n.tabChange)
30
- try {
31
- h[n.tabChange](b, e);
32
- } catch (t) {
33
- console.error(t);
34
- }
35
- }
36
- async function E(e, t) {
37
- if (n.onBeforeLeave)
38
- try {
39
- return await h[n.onBeforeLeave](b, e, t);
40
- } catch (r) {
41
- console.error(r);
42
- }
43
- return !0;
44
- }
45
- const L = (e) => {
46
- if (n.id) {
47
- const t = document.getElementById(n.id);
48
- if (t) {
49
- const r = t.getElementsByClassName("el-tabs__nav-scroll")[0], i = t.getElementsByClassName("el-tabs__nav")[0], c = i.style.transform.split("(")[1].split(")")[0].split("px")[0], B = r.offsetWidth - i.offsetWidth, g = 0;
50
- let l = parseInt(c);
51
- l = l - e.deltaY, l < B && (l = B), l > g && (l = g), i.style.transform = `translateX(${l}px)`;
52
- }
53
- e.preventDefault();
54
- }
55
- };
56
- _(
57
- () => n.children,
58
- () => {
59
- n.children.forEach((e) => {
60
- e.children || (e.children = []);
61
- });
62
- }
63
- ), _(
64
- () => n.defaultKey,
65
- () => {
66
- s.value = n.defaultKey;
67
- }
68
- ), R(() => {
69
- n.defaultKey && (s.value = n.defaultKey);
70
- });
71
- const v = {
72
- changeActiveKey: (e) => {
73
- s.value = e;
74
- },
75
- type: "formTabs"
76
- };
77
- if (n.name) {
78
- const e = P(n.name, v);
79
- W(() => {
80
- e();
81
- });
82
- }
83
- return V(v), (e, t) => {
84
- const r = C("el-tab-pane"), i = C("el-tabs");
85
- return o(), m(i, T({
86
- ref: "tabsRef",
87
- id: e.id
88
- }, e.$attrs, {
89
- modelValue: s.value,
90
- "onUpdate:modelValue": t[0] || (t[0] = (a) => s.value = a),
91
- onTabChange: I,
92
- "before-leave": E,
93
- addable: e.styleType === "btn",
94
- class: {
95
- "modal-type": e.styleType === "modal",
96
- "btn-type": e.styleType === "btn",
97
- "form-item-tabs": e.styleType === "normal"
98
- }
99
- }), {
100
- "add-icon": d(() => [
101
- p("div", q, [
102
- e.dynamicBtns && e.dynamicBtns.length > 0 ? (o(), u("div", G, [
103
- y(k, { btns: e.dynamicBtns }, null, 8, ["btns"])
104
- ])) : f("", !0),
105
- e.staticBtns && e.staticBtns.length > 0 ? (o(), u("div", H, [
106
- y(k, { btns: e.staticBtns }, null, 8, ["btns"])
107
- ])) : f("", !0)
108
- ])
109
- ]),
110
- default: d(() => [
111
- (o(!0), u(A, null, S(e.children, (a, c) => (o(), m(r, T({
112
- key: a.name,
113
- ref_for: !0
114
- }, a), {
115
- label: d(() => [
116
- p("div", {
117
- class: "tab-label",
118
- style: { height: "100%" },
119
- onWheel: L
120
- }, [
121
- e.styleType === "btn" && a.icon ? (o(), m(X, {
122
- key: 0,
123
- name: a.icon,
124
- size: a.iconSize || "x-small"
125
- }, null, 8, ["name", "size"])) : f("", !0),
126
- p("span", J, $(a.label), 1),
127
- c !== e.children.length - 1 ? (o(), u("span", {
128
- key: 1,
129
- class: D(["divider", {
130
- "divider-hidden": s.value === a.name || w.value === c
131
- }])
132
- }, null, 2)) : f("", !0)
133
- ], 32)
134
- ]),
135
- default: d(() => [
136
- y(F(Y), {
137
- list: a.children
138
- }, null, 8, ["list"])
139
- ]),
140
- _: 2
141
- }, 1040))), 128))
142
- ]),
143
- _: 1
144
- }, 16, ["id", "modelValue", "addable", "class"]);
145
- };
146
- }
147
- }), ne = /* @__PURE__ */ j(O, [["__scopeId", "data-v-76b66d0b"]]);
148
- export {
149
- ne as default
150
- };