asiaint-lowcode 3.1.110 → 3.1.112
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.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +137 -137
- package/dist/index.d.ts +68 -7
- package/dist/lazy/{Card-DUYgXB9l.js → Card-BG49Wwxf.js} +1 -1
- package/dist/lazy/{Cascader-DbssXHum.js → Cascader-DdfE1hp3.js} +1 -1
- package/dist/lazy/{Checkbox-koTaZQEP.js → Checkbox-_vvLrcjZ.js} +2 -2
- package/dist/lazy/{Collapse-CJBuGpgD.js → Collapse-Da9D01cw.js} +1 -1
- package/dist/lazy/{Component-BDW6QtUT.js → Component-B49SI1Fa.js} +1 -1
- package/dist/lazy/{Component-BD2ItP81.js → Component-BmgOcG9_.js} +1 -1
- package/dist/lazy/{Component-BT2ZkkN_.js → Component-DdStE2LL.js} +1 -1
- package/dist/lazy/{Component-BNqRx8Ye.js → Component-DiRs3B36.js} +1 -1
- package/dist/lazy/{Component-DwQohnTo.js → Component-DvSIghyb.js} +1 -1
- package/dist/lazy/{CurdCard-DfPQCmFY.js → CurdCard-BrCKjI_U.js} +1 -1
- package/dist/lazy/{Custom-dGlXoQXA.js → Custom-Cuda1LQ4.js} +1 -1
- package/dist/lazy/{DatePicker-CWFybCh4.js → DatePicker-DlK3Ow-v.js} +1 -1
- package/dist/lazy/{DragList-BkdJcLJG.js → DragList-BS2f0h1l.js} +13 -13
- package/dist/lazy/{FilterSearch-BNf_nh2e.js → FilterSearch-CNSQ6LIs.js} +16 -16
- package/dist/lazy/{FloatCurd-DKHldJwY.js → FloatCurd-DXdeqsEY.js} +35 -32
- package/dist/lazy/{FormList-fZ1aJKZj.js → FormList-BXfol3EJ.js} +1 -1
- package/dist/lazy/{Grid-Daoa0AUi.js → Grid-BZv7CqvV.js} +1 -1
- package/dist/lazy/{InfiniteScroll-nqTZW-gg.js → InfiniteScroll-Cy636yjL.js} +1 -1
- package/dist/lazy/{Inline-Cne6GvqK.js → Inline-D-QKhvxw.js} +1 -1
- package/dist/lazy/{JsonEdit-BzG6SCTc.js → JsonEdit-iY0i2z8J.js} +1 -1
- package/dist/lazy/{LogList-CVWs_EJA.js → LogList-tmM9s5p5.js} +1 -1
- package/dist/lazy/{ObjGroup-g9HDYWr4.js → ObjGroup-BG_PYHJj.js} +1 -1
- package/dist/lazy/{OfferDetails-Cw_TefSC.js → OfferDetails-Bdq3tHiO.js} +1 -1
- package/dist/lazy/{Pagination-mv3AROxk.js → Pagination-CT7VVKhQ.js} +5 -5
- package/dist/lazy/{Progress-EZf8NEkG.js → Progress-BVyWSyBk.js} +1 -1
- package/dist/lazy/{Radio-DVvLjtyO.js → Radio-DSRaAkoA.js} +2 -2
- package/dist/lazy/{SearchSelect-CyO7MSkb.js → SearchSelect-Dkgmgcyg.js} +2 -2
- package/dist/lazy/{Select-QkrLBfy1.js → Select-BxPuBNKh.js} +2 -2
- package/dist/lazy/{Table-BQCYhG2s.js → Table-DjyNYuB2.js} +1 -1
- package/dist/lazy/Tabs-CS-PV1p_.js +144 -0
- package/dist/lazy/{TextArea-DOcwJLkL.js → TextArea-C0K4c6lM.js} +1 -1
- package/dist/lazy/{Wrapper-DoMkJtBQ.js → Wrapper-D3kssN21.js} +1 -1
- package/dist/lazy/{index-D928v8mB.js → index-eppeEuhm.js} +2861 -2854
- package/dist/lazy/{useSelect-or2945Ro.js → useSelect-D2jJvbvP.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Tabs-CAnQG2al.js +0 -130
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as w, ref as u, onUnmounted as A, resolveComponent as v, openBlock as p, createElementBlock as C, normalizeStyle as B, createBlock as S, withCtx as U, createElementVNode as i, createVNode as V, createCommentVNode as b, toDisplayString as
|
|
2
|
-
import { c as
|
|
1
|
+
import { defineComponent as w, ref as u, onUnmounted as A, resolveComponent as v, openBlock as p, createElementBlock as C, normalizeStyle as B, createBlock as S, withCtx as U, createElementVNode as i, createVNode as V, createCommentVNode as b, toDisplayString as L } from "vue";
|
|
2
|
+
import { c as M, i as j, _ as E } from "./index-eppeEuhm.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const R = { class: "custom-slot" }, D = {
|
|
5
5
|
key: 0,
|
|
@@ -21,7 +21,7 @@ const R = { class: "custom-slot" }, D = {
|
|
|
21
21
|
selectAllChange: {}
|
|
22
22
|
},
|
|
23
23
|
setup(y, { expose: f }) {
|
|
24
|
-
const o = y, { ruleModule: s, pageMethodMap: r } =
|
|
24
|
+
const o = y, { ruleModule: s, pageMethodMap: r } = M(), l = u(0), h = (e) => {
|
|
25
25
|
l.value = e;
|
|
26
26
|
}, t = u({ pageNum: 1, pageSize: o.defaultPageSize || 5 }), N = () => t.value, d = async (e) => {
|
|
27
27
|
if (t.value.pageNum = 1, t.value.pageSize = e, !!o.sizeChange)
|
|
@@ -50,7 +50,7 @@ const R = { class: "custom-slot" }, D = {
|
|
|
50
50
|
type: "pagination"
|
|
51
51
|
};
|
|
52
52
|
if (o.name) {
|
|
53
|
-
const e =
|
|
53
|
+
const e = j(o.name, c);
|
|
54
54
|
A(() => {
|
|
55
55
|
e();
|
|
56
56
|
});
|
|
@@ -85,7 +85,7 @@ const R = { class: "custom-slot" }, D = {
|
|
|
85
85
|
}, null, 8, ["modelValue"]),
|
|
86
86
|
a[6] || (a[6] = i("span", null, "Select All", -1))
|
|
87
87
|
])) : b("", !0),
|
|
88
|
-
i("span", null, "Showing " +
|
|
88
|
+
i("span", null, "Showing " + L(l.value) + " matching results", 1)
|
|
89
89
|
])
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { I as v, a as C, _ as V } from "./index-eppeEuhm.js";
|
|
3
3
|
const y = { class: "progress" }, B = { class: "timeline-content" }, E = { class: "timeline-content__title" }, I = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty-content"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as T, mergeModels as w, useModel as F, inject as g, resolveComponent as i, resolveDirective as S, openBlock as o, createElementBlock as c, toDisplayString as z, unref as u, withDirectives as I, createBlock as f, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
|
|
2
|
-
import { u as N, _ as O } from "./index-
|
|
3
|
-
import { u as P } from "./useSelect-
|
|
2
|
+
import { u as N, _ as O } from "./index-eppeEuhm.js";
|
|
3
|
+
import { u as P } from "./useSelect-D2jJvbvP.js";
|
|
4
4
|
const R = { key: 0 }, j = /* @__PURE__ */ T({
|
|
5
5
|
__name: "Radio",
|
|
6
6
|
props: /* @__PURE__ */ w({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as F, useModel as $, inject as K, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as h, unref as u, withDirectives as I, createBlock as C, mergeProps as N, withCtx as y, Fragment as j, renderList as O, createTextVNode as P, createVNode as k } from "vue";
|
|
2
|
-
import { u as T, a as E, _ as L } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as T, a as E, _ as L } from "./index-eppeEuhm.js";
|
|
3
|
+
import { u as U } from "./useSelect-D2jJvbvP.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as D, mergeModels as F, computed as f, useModel as J, inject as h, ref as x, watch as b, resolveComponent as V, openBlock as c, createElementBlock as C, normalizeStyle as A, toDisplayString as K, createBlock as M, mergeProps as E, unref as T, withCtx as m, createElementVNode as u, Fragment as $, renderList as j, createTextVNode as I } from "vue";
|
|
2
|
-
import { u as P } from "./index-
|
|
3
|
-
import { u as R } from "./useSelect-
|
|
2
|
+
import { u as P } from "./index-eppeEuhm.js";
|
|
3
|
+
import { u as R } from "./useSelect-D2jJvbvP.js";
|
|
4
4
|
const z = { style: { "min-height": "32px" } }, q = /* @__PURE__ */ D({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ F({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Ze, computed as j, inject as U, ref as S, useTemplateRef as et, onMounted as tt, onActivated as nt, onBeforeUnmount as at, readonly as ot, toRefs as lt, onUnmounted as rt, resolveComponent as T, openBlock as r, createElementBlock as g, normalizeClass as M, createVNode as m, withCtx as v, createElementVNode as w, toDisplayString as P, unref as d, createCommentVNode as y, withDirectives as pe, createBlock as k, Fragment as _, renderList as ge, normalizeStyle as J, withModifiers as de, vShow as ve, mergeProps as it, nextTick as st } from "vue";
|
|
2
|
-
import { $ as ut, h as I,
|
|
2
|
+
import { $ as ut, h as I, j as ct, i as pt, a as gt, I as D, b as W, C as dt, _ as vt } from "./index-eppeEuhm.js";
|
|
3
3
|
import { ElTable as ht, ElLoading as he, ElMessage as mt } from "element-plus";
|
|
4
4
|
const yt = ["id"], ft = { class: "custom-slot" }, Ct = {
|
|
5
5
|
key: 0,
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { defineComponent as N, ref as z, computed as M, watch as _, onMounted as R, onUnmounted as W, resolveComponent as g, openBlock as c, createBlock as f, mergeProps as B, withCtx as u, createElementVNode as i, createVNode as m, createElementBlock as C, Fragment as A, renderList as S, createCommentVNode as T, toDisplayString as $, normalizeClass as x, unref as D } from "vue";
|
|
2
|
+
import { c as F, i as U, B as K, I as P, b as X, _ as Y } from "./index-eppeEuhm.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const j = { class: "right-icon-wrapper" }, q = { class: "dynamic-icon-wrapper" }, G = { class: "static-icon-wrapper" }, H = { class: "tab-label-text" }, J = /* @__PURE__ */ N({
|
|
5
|
+
__name: "Tabs",
|
|
6
|
+
props: {
|
|
7
|
+
id: {},
|
|
8
|
+
children: {},
|
|
9
|
+
defaultKey: {},
|
|
10
|
+
tabChange: {},
|
|
11
|
+
onBeforeLeave: {},
|
|
12
|
+
styleType: { default: "normal" },
|
|
13
|
+
staticBtns: {},
|
|
14
|
+
dynamicBtns: {},
|
|
15
|
+
name: {}
|
|
16
|
+
},
|
|
17
|
+
setup(V, { expose: w }) {
|
|
18
|
+
const n = V, s = z(""), I = M(() => {
|
|
19
|
+
const e = n.children.findIndex((t) => t.name === s.value);
|
|
20
|
+
return e - 1 >= 0 ? e - 1 : null;
|
|
21
|
+
}), { ruleModule: p, pageMethodMap: y } = F();
|
|
22
|
+
function k(e) {
|
|
23
|
+
if (n.tabChange)
|
|
24
|
+
try {
|
|
25
|
+
p[n.tabChange](y, e);
|
|
26
|
+
} catch (t) {
|
|
27
|
+
console.error(t);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
async function E(e, t) {
|
|
31
|
+
if (n.onBeforeLeave)
|
|
32
|
+
try {
|
|
33
|
+
return await p[n.onBeforeLeave](y, e, t);
|
|
34
|
+
} catch (o) {
|
|
35
|
+
console.error(o);
|
|
36
|
+
}
|
|
37
|
+
return !0;
|
|
38
|
+
}
|
|
39
|
+
const L = (e) => {
|
|
40
|
+
if (n.id) {
|
|
41
|
+
const t = document.getElementById(n.id);
|
|
42
|
+
if (t) {
|
|
43
|
+
const o = t.getElementsByClassName("el-tabs__nav-scroll")[0], r = t.getElementsByClassName("el-tabs__nav")[0], d = r.style.transform.split("(")[1].split(")")[0].split("px")[0], b = o.offsetWidth - r.offsetWidth, v = 0;
|
|
44
|
+
let l = parseInt(d);
|
|
45
|
+
l = l - e.deltaY, l < b && (l = b), l > v && (l = v), r.style.transform = `translateX(${l}px)`;
|
|
46
|
+
}
|
|
47
|
+
e.preventDefault();
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
_(
|
|
51
|
+
() => n.children,
|
|
52
|
+
() => {
|
|
53
|
+
n.children.forEach((e) => {
|
|
54
|
+
e.children || (e.children = []);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
), _(
|
|
58
|
+
() => n.defaultKey,
|
|
59
|
+
() => {
|
|
60
|
+
s.value = n.defaultKey;
|
|
61
|
+
}
|
|
62
|
+
), R(() => {
|
|
63
|
+
n.defaultKey && (s.value = n.defaultKey);
|
|
64
|
+
});
|
|
65
|
+
const h = {
|
|
66
|
+
changeActiveKey: (e) => {
|
|
67
|
+
s.value = e;
|
|
68
|
+
},
|
|
69
|
+
type: "formTabs"
|
|
70
|
+
};
|
|
71
|
+
if (n.name) {
|
|
72
|
+
const e = U(n.name, h);
|
|
73
|
+
W(() => {
|
|
74
|
+
e();
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
return w(h), (e, t) => {
|
|
78
|
+
const o = g("el-tab-pane"), r = g("el-tabs");
|
|
79
|
+
return c(), f(r, B({
|
|
80
|
+
ref: "tabsRef",
|
|
81
|
+
id: e.id
|
|
82
|
+
}, e.$attrs, {
|
|
83
|
+
modelValue: s.value,
|
|
84
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => s.value = a),
|
|
85
|
+
onTabChange: k,
|
|
86
|
+
"before-leave": E,
|
|
87
|
+
addable: e.styleType === "btn",
|
|
88
|
+
class: {
|
|
89
|
+
"modal-type": e.styleType === "modal",
|
|
90
|
+
"btn-type": e.styleType === "btn",
|
|
91
|
+
"form-item-tabs": e.styleType === "normal"
|
|
92
|
+
}
|
|
93
|
+
}), {
|
|
94
|
+
"add-icon": u(() => [
|
|
95
|
+
i("div", j, [
|
|
96
|
+
i("div", q, [
|
|
97
|
+
m(K, { btns: e.dynamicBtns }, null, 8, ["btns"])
|
|
98
|
+
]),
|
|
99
|
+
i("div", G, [
|
|
100
|
+
m(K, { btns: e.staticBtns }, null, 8, ["btns"])
|
|
101
|
+
])
|
|
102
|
+
])
|
|
103
|
+
]),
|
|
104
|
+
default: u(() => [
|
|
105
|
+
(c(!0), C(A, null, S(e.children, (a, d) => (c(), f(o, B({
|
|
106
|
+
key: a.name,
|
|
107
|
+
ref_for: !0
|
|
108
|
+
}, a), {
|
|
109
|
+
label: u(() => [
|
|
110
|
+
i("div", {
|
|
111
|
+
class: "tab-label",
|
|
112
|
+
style: { height: "100%" },
|
|
113
|
+
onWheel: L
|
|
114
|
+
}, [
|
|
115
|
+
e.styleType === "btn" && a.icon ? (c(), f(P, {
|
|
116
|
+
key: 0,
|
|
117
|
+
name: a.icon,
|
|
118
|
+
size: a.iconSize || "x-small"
|
|
119
|
+
}, null, 8, ["name", "size"])) : T("", !0),
|
|
120
|
+
i("span", H, $(a.label), 1),
|
|
121
|
+
d !== e.children.length - 1 ? (c(), C("span", {
|
|
122
|
+
key: 1,
|
|
123
|
+
class: x(["divider", {
|
|
124
|
+
"divider-hidden": s.value === a.name || I.value === d
|
|
125
|
+
}])
|
|
126
|
+
}, null, 2)) : T("", !0)
|
|
127
|
+
], 32)
|
|
128
|
+
]),
|
|
129
|
+
default: u(() => [
|
|
130
|
+
m(D(X), {
|
|
131
|
+
list: a.children
|
|
132
|
+
}, null, 8, ["list"])
|
|
133
|
+
]),
|
|
134
|
+
_: 2
|
|
135
|
+
}, 1040))), 128))
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 16, ["id", "modelValue", "addable", "class"]);
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}), ne = /* @__PURE__ */ Y(J, [["__scopeId", "data-v-451434bf"]]);
|
|
142
|
+
export {
|
|
143
|
+
ne as default
|
|
144
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, mergeModels as i, useModel as _, computed as v, resolveComponent as f, openBlock as a, createElementBlock as n, createElementVNode as y, toDisplayString as r, createBlock as V, mergeProps as k } from "vue";
|
|
2
|
-
import { u as x, _ as B } from "./index-
|
|
2
|
+
import { u as x, _ as B } from "./index-eppeEuhm.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const M = {
|
|
5
5
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, ref as f, resolveComponent as v, openBlock as r, createElementBlock as l, normalizeStyle as p, createVNode as a, withCtx as C, withDirectives as g, createElementVNode as x, normalizeClass as i, unref as _, createCommentVNode as c, vShow as b } from "vue";
|
|
2
|
-
import { c as B, b as S, I as d, _ as k } from "./index-
|
|
2
|
+
import { c as B, b as S, I as d, _ as k } from "./index-eppeEuhm.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const E = {
|
|
5
5
|
key: 0,
|