asiaint-lowcode 3.1.174 → 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.
- package/dist/asiaint-lowcode.d.ts +24 -0
- package/dist/asiaint-lowcode.js +6 -6
- package/dist/asiaint-lowcode.umd.cjs +206 -206
- package/dist/lazy/{Card-CdqSVMKp.js → Card-CuIuPVfa.js} +1 -1
- package/dist/lazy/{Cascader-D1H3atkH.js → Cascader-DG9-lQL_.js} +1 -1
- package/dist/lazy/{Checkbox-rxwRKO2L.js → Checkbox-DkokY_T5.js} +2 -2
- package/dist/lazy/{Collapse-C71dCSaP.js → Collapse-CfN04wPP.js} +1 -1
- package/dist/lazy/{Component-D-djkyEJ.js → Component-BmIr-TEc.js} +1 -1
- package/dist/lazy/{Component-j-7aSjsD.js → Component-DDr0mt26.js} +1 -1
- package/dist/lazy/{Component-DO3qZWym.js → Component-DPKOSkbS.js} +1 -1
- package/dist/lazy/{Component-BcbHLE_g.js → Component-DVnr7_Wq.js} +1 -1
- package/dist/lazy/{Component-C14aJsIW.js → Component-bJujdUFt.js} +1 -1
- package/dist/lazy/{CurdCard-SpH6JL4Y.js → CurdCard-fARDual0.js} +1 -1
- package/dist/lazy/{Custom-BU5XOp-r.js → Custom-DLf2H4j-.js} +1 -1
- package/dist/lazy/DatePicker-DwGL3Rfo.js +73 -0
- package/dist/lazy/{DragList-CfBWQeQz.js → DragList-CkJN4M1_.js} +13 -13
- package/dist/lazy/{FilterSearch-BbAQVwp0.js → FilterSearch-DWIoFEYA.js} +16 -16
- package/dist/lazy/{FloatCurd-1NLXV_L9.js → FloatCurd-BIIOwN6L.js} +1 -1
- package/dist/lazy/{FloatSearchCurd-HU1XecwR.js → FloatSearchCurd-B5mTYPo4.js} +1 -1
- package/dist/lazy/{FormList-Bb8pnChP.js → FormList-BisnYpYy.js} +1 -1
- package/dist/lazy/{Grid-Db2yree5.js → Grid-DU0cGkx3.js} +1 -1
- package/dist/lazy/{InfiniteScroll-1DHgbFA8.js → InfiniteScroll-DIBaRISh.js} +1 -1
- package/dist/lazy/{Inline-BjDXhX1N.js → Inline-Dz8K0mcs.js} +1 -1
- package/dist/lazy/{JsonEdit-B1SPhwLj.js → JsonEdit-CcHoX1MX.js} +1 -1
- package/dist/lazy/{LogList-BUDvAMuS.js → LogList-CCqb9sMw.js} +1 -1
- package/dist/lazy/{ObjGroup-CNIY-lzc.js → ObjGroup-9CuErhWA.js} +5 -5
- package/dist/lazy/{OfferDetails-Caj8FZUy.js → OfferDetails-BizT7B7e.js} +67 -66
- package/dist/lazy/{Pagination-BguRKtZy.js → Pagination-BcwTZvOy.js} +1 -1
- package/dist/lazy/Progress-BEuL9CsA.js +56 -0
- package/dist/lazy/{Radio-Ccv92FSa.js → Radio-CbcqDR_c.js} +2 -2
- package/dist/lazy/{SearchSelect-CegeM7cQ.js → SearchSelect-PZJ79a84.js} +2 -2
- package/dist/lazy/{Select-BwUZLLXi.js → Select-CTGej9Jt.js} +2 -2
- package/dist/lazy/{Table-BAnOjOoV.js → Table-CTLmaWUi.js} +125 -125
- package/dist/lazy/Tabs-Kra7RQza.js +154 -0
- package/dist/lazy/{TextArea-BuVvhsWJ.js → TextArea-D-md2_JP.js} +1 -1
- package/dist/lazy/{Wrapper-BLTyLdnw.js → Wrapper-Djhw4u_A.js} +3 -3
- package/dist/lazy/{index-BbsPPc14.js → index-if5yiaE6.js} +7610 -7541
- package/dist/lazy/{useSelect-DsEZTPfh.js → useSelect-Cx92c9xA.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/DatePicker-S3D1E9AQ.js +0 -73
- package/dist/lazy/Progress-B-vHTTf7.js +0 -54
- package/dist/lazy/Tabs-Dgnv0RAm.js +0 -150
package/package.json
CHANGED
|
@@ -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-BbsPPc14.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-BbsPPc14.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-BbsPPc14.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
|
-
};
|