asiaint-lowcode 3.1.37 → 3.1.38
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 +35 -35
- package/dist/lazy/{Card-DXfC4reK.js → Card-BDM6XuJU.js} +1 -1
- package/dist/lazy/{Cascader-Bj4oC8Zu.js → Cascader-CZHGG0pG.js} +1 -1
- package/dist/lazy/{Checkbox-DTae5rhy.js → Checkbox-BhvL5E2k.js} +2 -2
- package/dist/lazy/{Collapse-9Bff_5gl.js → Collapse-ClRN3_Of.js} +1 -1
- package/dist/lazy/{Component-B9J-Eg_n.js → Component-555PMoc2.js} +1 -1
- package/dist/lazy/Component-BW8Nr-Mq.js +96 -0
- package/dist/lazy/{Component-BRjuyVlX.js → Component-C7VeIPP5.js} +1 -1
- package/dist/lazy/{Component-D7m8AMng.js → Component-CwrnPKx7.js} +1 -1
- package/dist/lazy/{Component-CwfHrSsM.js → Component-DM4mr-di.js} +1 -1
- package/dist/lazy/{Component-BZX36GeI.js → Component-Z05b2x3I.js} +1 -1
- package/dist/lazy/{CurdCard-C0T-qkOg.js → CurdCard-MbVA6Mi-.js} +1 -1
- package/dist/lazy/{Custom-tGvKA5C1.js → Custom-CfeLPQAL.js} +1 -1
- package/dist/lazy/{DatePicker-BybSBpW2.js → DatePicker-Cdulq02P.js} +1 -1
- package/dist/lazy/{DragList-CMzLGkHR.js → DragList-Ch2e0ELU.js} +1 -1
- package/dist/lazy/{FilterSearch-D0UYqJ3M.js → FilterSearch-Kt9PdLaA.js} +1 -1
- package/dist/lazy/{FormList-Ck0oGtOQ.js → FormList-D9SgU07A.js} +1 -1
- package/dist/lazy/{Grid-Bt4lwlBm.js → Grid-BkcT4oBE.js} +1 -1
- package/dist/lazy/{InfiniteScroll-uBS1lTN5.js → InfiniteScroll-CcpNdUU1.js} +1 -1
- package/dist/lazy/{Inline-D8PPz5DU.js → Inline-DGUu4c-C.js} +1 -1
- package/dist/lazy/{JsonEdit-DK-3Z6dM.js → JsonEdit-EzeyrtX4.js} +1 -1
- package/dist/lazy/{LogList-DHZLlXKw.js → LogList-CHVupI_V.js} +1 -1
- package/dist/lazy/{ObjGroup-DIQV6Sc1.js → ObjGroup-ChPL8CLg.js} +1 -1
- package/dist/lazy/{OfferDetails-DDduVbVr.js → OfferDetails-JouhmtOf.js} +1 -1
- package/dist/lazy/{Pagination-Dtcbh5Qq.js → Pagination-Dt_xyHyP.js} +1 -1
- package/dist/lazy/{Progress-LX72PW0_.js → Progress-BrL4wDR7.js} +1 -1
- package/dist/lazy/{Radio-Zk_bR7bi.js → Radio-CR0QoEHh.js} +2 -2
- package/dist/lazy/{SearchSelect-DgWBiUzz.js → SearchSelect-BbDe3rPF.js} +2 -2
- package/dist/lazy/{Select-BIV0hL9b.js → Select-DOMvoT5o.js} +2 -2
- package/dist/lazy/{Table-cdQCFTa2.js → Table-BKElHVXy.js} +1 -1
- package/dist/lazy/{Tabs-DGJQiJtx.js → Tabs-DmKX4tAt.js} +1 -1
- package/dist/lazy/{TextArea-DlDjs0en.js → TextArea-dV8kQ_Qw.js} +1 -1
- package/dist/lazy/{Wrapper-rCEDHAB1.js → Wrapper-DkjAAPP8.js} +1 -1
- package/dist/lazy/{index-F3jwnQyj.js → index-BHy32Cui.js} +143 -141
- package/dist/lazy/{useSelect-Bvvwffd0.js → useSelect-BLTr8z88.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Component-DgUmDVxI.js +0 -97
package/package.json
CHANGED
|
@@ -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
|
-
};
|