asiaint-lowcode 3.1.38 → 3.1.40
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 +161 -160
- package/dist/index.d.ts +17 -2
- package/dist/lazy/{Card-BDM6XuJU.js → Card-DwajQC96.js} +23 -22
- package/dist/lazy/{Cascader-CZHGG0pG.js → Cascader-C6DZvWli.js} +6 -5
- package/dist/lazy/{Checkbox-BhvL5E2k.js → Checkbox-M2QU0ems.js} +8 -7
- package/dist/lazy/{Collapse-ClRN3_Of.js → Collapse-Bukxwv68.js} +1 -1
- package/dist/lazy/Component-B-BSHbyi.js +153 -0
- package/dist/lazy/{Component-DM4mr-di.js → Component-CNr4P3ZK.js} +1 -1
- package/dist/lazy/{Component-CwrnPKx7.js → Component-CQTEzTL9.js} +1 -1
- package/dist/lazy/{Component-555PMoc2.js → Component-DTKrAgEC.js} +1 -1
- package/dist/lazy/{Component-Z05b2x3I.js → Component-iI9l-9HZ.js} +1 -1
- package/dist/lazy/{Component-C7VeIPP5.js → Component-yP9uS6v7.js} +1 -1
- package/dist/lazy/{CurdCard-MbVA6Mi-.js → CurdCard-CNXAaZ4b.js} +1 -1
- package/dist/lazy/{Custom-CfeLPQAL.js → Custom-Ba8RNmCK.js} +1 -1
- package/dist/lazy/DatePicker-BaxUoLrr.js +48 -0
- package/dist/lazy/{DragList-Ch2e0ELU.js → DragList-B3fuMFuA.js} +1 -1
- package/dist/lazy/{FilterSearch-Kt9PdLaA.js → FilterSearch-DwGOlmkW.js} +1 -1
- package/dist/lazy/{FormList-D9SgU07A.js → FormList-GsZzwfnj.js} +1 -1
- package/dist/lazy/{Grid-BkcT4oBE.js → Grid-DOdqQbTj.js} +6 -6
- package/dist/lazy/{InfiniteScroll-CcpNdUU1.js → InfiniteScroll-C8m4xQUr.js} +1 -1
- package/dist/lazy/{Inline-DGUu4c-C.js → Inline-CG563DSe.js} +1 -1
- package/dist/lazy/{JsonEdit-EzeyrtX4.js → JsonEdit-DrHx07Vv.js} +1 -1
- package/dist/lazy/{LogList-CHVupI_V.js → LogList-GNeVRmuu.js} +1 -1
- package/dist/lazy/{ObjGroup-ChPL8CLg.js → ObjGroup-hpNKi4M4.js} +1 -1
- package/dist/lazy/{OfferDetails-JouhmtOf.js → OfferDetails-B6BYkKM3.js} +1 -1
- package/dist/lazy/{Pagination-Dt_xyHyP.js → Pagination-ByhSdbMN.js} +1 -1
- package/dist/lazy/{Progress-BrL4wDR7.js → Progress-NKrL62VI.js} +1 -1
- package/dist/lazy/{Radio-CR0QoEHh.js → Radio-D71350lf.js} +11 -10
- package/dist/lazy/{SearchSelect-BbDe3rPF.js → SearchSelect-BnswvA1_.js} +8 -7
- package/dist/lazy/{Select-DOMvoT5o.js → Select-BydoiBsC.js} +15 -13
- package/dist/lazy/{Table-BKElHVXy.js → Table-PCOw0CJq.js} +104 -93
- package/dist/lazy/Tabs-Pgk7JOo5.js +72 -0
- package/dist/lazy/TextArea-Ci0n-sBv.js +36 -0
- package/dist/lazy/{Wrapper-DkjAAPP8.js → Wrapper-DtcdHWdy.js} +1 -1
- package/dist/lazy/{index-BHy32Cui.js → index-Ltk1_ib5.js} +4890 -4787
- package/dist/lazy/{useSelect-BLTr8z88.js → useSelect-Dr5dvYzc.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Component-BW8Nr-Mq.js +0 -96
- package/dist/lazy/DatePicker-Cdulq02P.js +0 -33
- package/dist/lazy/Tabs-DmKX4tAt.js +0 -47
- package/dist/lazy/TextArea-dV8kQ_Qw.js +0 -36
package/package.json
CHANGED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { defineComponent as b, mergeModels as C, useModel as V, resolveComponent as m, openBlock as l, createElementBlock as o, Fragment as a, createVNode as p, normalizeClass as B, createSlots as E, withCtx as i, createElementVNode as n, createTextVNode as u, createBlock as c, toDisplayString as s, createCommentVNode as r, unref as M } from "vue";
|
|
2
|
-
import { ElMessage as w, ElMessageBox as N } from "element-plus";
|
|
3
|
-
import { I as $, a as F, _ as I } from "./index-BHy32Cui.js";
|
|
4
|
-
const D = { class: "el-upload__tip" }, L = { key: 0 }, R = /* @__PURE__ */ b({
|
|
5
|
-
__name: "Component",
|
|
6
|
-
props: /* @__PURE__ */ C({
|
|
7
|
-
action: {},
|
|
8
|
-
multiple: { type: Boolean },
|
|
9
|
-
btnText: { default: "点击上传" },
|
|
10
|
-
tip: {},
|
|
11
|
-
limit: { default: 3 },
|
|
12
|
-
drag: { type: Boolean },
|
|
13
|
-
name: { default: "file" },
|
|
14
|
-
listType: { default: "text" },
|
|
15
|
-
attachmentTitle: {}
|
|
16
|
-
}, {
|
|
17
|
-
modelValue: {
|
|
18
|
-
default: () => []
|
|
19
|
-
},
|
|
20
|
-
modelModifiers: {}
|
|
21
|
-
}),
|
|
22
|
-
emits: ["update:modelValue"],
|
|
23
|
-
setup(f) {
|
|
24
|
-
const d = V(f, "modelValue"), g = (e, t) => {
|
|
25
|
-
console.log(e, t);
|
|
26
|
-
}, y = (e) => {
|
|
27
|
-
console.log(e);
|
|
28
|
-
}, v = (e, t) => {
|
|
29
|
-
w.warning(
|
|
30
|
-
`The limit is 3, you selected ${e.length} files this time, add up to ${e.length + t.length} totally`
|
|
31
|
-
);
|
|
32
|
-
}, h = (e, t) => N.confirm(`Cancel the transfer of ${e.name} ?`).then(
|
|
33
|
-
() => !0,
|
|
34
|
-
() => !1
|
|
35
|
-
);
|
|
36
|
-
return (e, t) => {
|
|
37
|
-
const T = m("el-button"), k = m("el-upload");
|
|
38
|
-
return l(), o(a, null, [
|
|
39
|
-
p(k, {
|
|
40
|
-
"file-list": d.value,
|
|
41
|
-
"onUpdate:fileList": t[0] || (t[0] = (_) => d.value = _),
|
|
42
|
-
action: e.action,
|
|
43
|
-
multiple: e.multiple,
|
|
44
|
-
limit: e.limit,
|
|
45
|
-
drag: e.drag,
|
|
46
|
-
name: e.name,
|
|
47
|
-
listType: e.listType,
|
|
48
|
-
"on-preview": y,
|
|
49
|
-
"on-remove": g,
|
|
50
|
-
"before-remove": h,
|
|
51
|
-
"on-exceed": v,
|
|
52
|
-
class: B({ dragUpload: e.drag })
|
|
53
|
-
}, E({
|
|
54
|
-
default: i(() => [
|
|
55
|
-
e.listType === "text" ? (l(), o(a, { key: 0 }, [
|
|
56
|
-
e.drag ? (l(), o(a, { key: 0 }, [
|
|
57
|
-
p($, { name: "icon-shangchuan" }),
|
|
58
|
-
t[1] || (t[1] = n("div", null, [
|
|
59
|
-
u("Drop file here or "),
|
|
60
|
-
n("em", null, "click to upload")
|
|
61
|
-
], -1))
|
|
62
|
-
], 64)) : (l(), c(T, {
|
|
63
|
-
key: 1,
|
|
64
|
-
type: "primary"
|
|
65
|
-
}, {
|
|
66
|
-
default: i(() => [
|
|
67
|
-
u(s(e.btnText), 1)
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}))
|
|
71
|
-
], 64)) : r("", !0),
|
|
72
|
-
e.listType === "picture-card" ? (l(), c(M(F), {
|
|
73
|
-
key: 1,
|
|
74
|
-
name: "add"
|
|
75
|
-
})) : r("", !0)
|
|
76
|
-
]),
|
|
77
|
-
_: 2
|
|
78
|
-
}, [
|
|
79
|
-
e.tip ? {
|
|
80
|
-
name: "tip",
|
|
81
|
-
fn: i(() => [
|
|
82
|
-
n("div", D, s(e.tip), 1)
|
|
83
|
-
]),
|
|
84
|
-
key: "0"
|
|
85
|
-
} : void 0
|
|
86
|
-
]), 1032, ["file-list", "action", "multiple", "limit", "drag", "name", "listType", "class"]),
|
|
87
|
-
e.drag ? (l(), o("div", L, [
|
|
88
|
-
n("div", null, s(), 1)
|
|
89
|
-
])) : r("", !0)
|
|
90
|
-
], 64);
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
}), P = /* @__PURE__ */ I(R, [["__scopeId", "data-v-75b019db"]]);
|
|
94
|
-
export {
|
|
95
|
-
P as default
|
|
96
|
-
};
|
|
@@ -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-BHy32Cui.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-BHy32Cui.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-BHy32Cui.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
|
-
};
|