lh-ui-next 0.0.24 → 0.0.25
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/README.md +2 -2
- package/lib/lh-ui-next.mjs +124 -87
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
- package/static/css/package/uploadFlowable.less +101 -61
- package/static/css/theme-blue/main.css +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
alpha version is use to self-test; beta version is use to public survey.for example:
|
|
5
5
|
1.0.0-alpha.1
|
|
6
6
|
1.0.0-test.2
|
|
7
|
-
## Official version : "0.0.
|
|
8
|
-
## test version : "0.0.
|
|
7
|
+
## Official version : "0.0.25",
|
|
8
|
+
## test version : "0.0.25",
|
|
9
9
|
## npmmirror
|
|
10
10
|
When cnpm sync execution is unsuccessful,you can go the website(http://www.npmmirror.com/package/lh-ui-next) and press sync button to
|
|
11
11
|
manual trigger the sync event
|
package/lib/lh-ui-next.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as r, createElementBlock as c, normalizeClass as f, createCommentVNode as m, renderSlot as D, withDirectives as v, createElementVNode as d, withModifiers as
|
|
1
|
+
import { openBlock as r, createElementBlock as c, normalizeClass as f, createCommentVNode as m, renderSlot as D, withDirectives as v, createElementVNode as d, withModifiers as U, withKeys as De, vModelDynamic as ot, toDisplayString as b, vModelRadio as rt, normalizeStyle as C, vShow as N, resolveComponent as w, createBlock as B, withCtx as x, Fragment as p, renderList as y, createVNode as I, createTextVNode as L, vModelText as G, nextTick as Ce, Transition as we, vModelCheckbox as qe, resolveDirective as ct, createApp as Se } from "vue";
|
|
2
2
|
const _ = (e, i) => {
|
|
3
3
|
const t = e.__vccOpts || e;
|
|
4
4
|
for (const [s, l] of i)
|
|
@@ -69,9 +69,9 @@ function ht(e, i, t, s, l, n) {
|
|
|
69
69
|
}, null, 2)) : m("", !0)
|
|
70
70
|
], 10, dt);
|
|
71
71
|
}
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
e.component(
|
|
72
|
+
const j = /* @__PURE__ */ _(ut, [["render", ht]]);
|
|
73
|
+
j.install = function(e) {
|
|
74
|
+
e.component(j.name, j);
|
|
75
75
|
};
|
|
76
76
|
const ft = {
|
|
77
77
|
name: "lhInput",
|
|
@@ -235,7 +235,7 @@ function xt(e, i, t, s, l, n) {
|
|
|
235
235
|
disabled: n.disabledVal,
|
|
236
236
|
readonly: t.readonly,
|
|
237
237
|
autofocus: t.autofocus,
|
|
238
|
-
onWheel: i[1] || (i[1] =
|
|
238
|
+
onWheel: i[1] || (i[1] = U((a) => n.stopScrollFun(a), ["prevent"])),
|
|
239
239
|
onFocus: i[2] || (i[2] = (...a) => n.handleFocus && n.handleFocus(...a)),
|
|
240
240
|
onBlur: i[3] || (i[3] = (...a) => n.handleBlur && n.handleBlur(...a)),
|
|
241
241
|
onInput: i[4] || (i[4] = (...a) => n.handleInput && n.handleInput(...a)),
|
|
@@ -276,9 +276,9 @@ function xt(e, i, t, s, l, n) {
|
|
|
276
276
|
}, vt, 2)) : m("", !0)
|
|
277
277
|
], 2);
|
|
278
278
|
}
|
|
279
|
-
const
|
|
280
|
-
|
|
281
|
-
e.component(
|
|
279
|
+
const K = /* @__PURE__ */ _(ft, [["render", xt]]);
|
|
280
|
+
K.install = function(e) {
|
|
281
|
+
e.component(K.name, K);
|
|
282
282
|
};
|
|
283
283
|
function _t(e) {
|
|
284
284
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(i, t) {
|
|
@@ -696,7 +696,7 @@ const J = /* @__PURE__ */ _(Tt, [["render", Pt]]), Vt = {
|
|
|
696
696
|
componentName: "lhSelect",
|
|
697
697
|
components: {
|
|
698
698
|
lhPopover: J,
|
|
699
|
-
lhInput:
|
|
699
|
+
lhInput: K
|
|
700
700
|
},
|
|
701
701
|
emits: ["update:modelValue", "change", "showListChange", "itemClick", "selectClick", "hide"],
|
|
702
702
|
props: {
|
|
@@ -1071,7 +1071,7 @@ function Kt(e, i, t, s, l, n) {
|
|
|
1071
1071
|
}, null, 8, Wt),
|
|
1072
1072
|
d("i", {
|
|
1073
1073
|
class: "lh-ui-font-component icon_component_close",
|
|
1074
|
-
onClick: i[3] || (i[3] =
|
|
1074
|
+
onClick: i[3] || (i[3] = U((g) => n.delTopItem(), ["stop"]))
|
|
1075
1075
|
})
|
|
1076
1076
|
], 8, At)) : m("", !0)
|
|
1077
1077
|
], 64))), 256)),
|
|
@@ -2060,7 +2060,7 @@ function Bi(e, i, t, s, l, n) {
|
|
|
2060
2060
|
default: x(() => [
|
|
2061
2061
|
v(d("div", {
|
|
2062
2062
|
class: "lh-dialog__wrapper",
|
|
2063
|
-
onClick: i[0] || (i[0] =
|
|
2063
|
+
onClick: i[0] || (i[0] = U((...a) => n.handleWrapperClick && n.handleWrapperClick(...a), ["self"]))
|
|
2064
2064
|
}, [
|
|
2065
2065
|
(r(), c("div", {
|
|
2066
2066
|
role: "dialog",
|
|
@@ -2228,7 +2228,7 @@ const Ki = {
|
|
|
2228
2228
|
};
|
|
2229
2229
|
},
|
|
2230
2230
|
components: {
|
|
2231
|
-
lhInput:
|
|
2231
|
+
lhInput: K,
|
|
2232
2232
|
lhCheckbox: Z
|
|
2233
2233
|
},
|
|
2234
2234
|
methods: {
|
|
@@ -2828,10 +2828,10 @@ const Sl = /* @__PURE__ */ _(yl, [["render", wl]]), Tl = {
|
|
|
2828
2828
|
}
|
|
2829
2829
|
},
|
|
2830
2830
|
components: {
|
|
2831
|
-
lhInput:
|
|
2831
|
+
lhInput: K,
|
|
2832
2832
|
lhPopover: J,
|
|
2833
2833
|
lhTree: Q,
|
|
2834
|
-
lhButton:
|
|
2834
|
+
lhButton: j,
|
|
2835
2835
|
treeResizeWapper: Sl
|
|
2836
2836
|
},
|
|
2837
2837
|
data() {
|
|
@@ -2969,7 +2969,7 @@ function zl(e, i, t, s, l, n) {
|
|
|
2969
2969
|
}, null, 8, Vl),
|
|
2970
2970
|
d("i", {
|
|
2971
2971
|
class: "lh-ui-font-component icon_component_close",
|
|
2972
|
-
onClick: i[1] || (i[1] =
|
|
2972
|
+
onClick: i[1] || (i[1] = U((...P) => n.delTopItem && n.delTopItem(...P), ["stop"]))
|
|
2973
2973
|
})
|
|
2974
2974
|
], 8, Pl)) : m("", !0)
|
|
2975
2975
|
], 64))), 256)),
|
|
@@ -3738,7 +3738,7 @@ const dn = {
|
|
|
3738
3738
|
}
|
|
3739
3739
|
},
|
|
3740
3740
|
components: {
|
|
3741
|
-
lhButton:
|
|
3741
|
+
lhButton: j
|
|
3742
3742
|
},
|
|
3743
3743
|
methods: {
|
|
3744
3744
|
keyEvent(e) {
|
|
@@ -4899,12 +4899,12 @@ function rs(e, i, t, s, l, n) {
|
|
|
4899
4899
|
l.dateType === "year" ? (r(), c("span", qn, b(n.decades), 1)) : (r(), c(p, { key: 1 }, [
|
|
4900
4900
|
d("span", {
|
|
4901
4901
|
class: "lh-date-header-label",
|
|
4902
|
-
onClick: i[2] || (i[2] =
|
|
4902
|
+
onClick: i[2] || (i[2] = U((...a) => n.switchToYearTable && n.switchToYearTable(...a), ["stop"]))
|
|
4903
4903
|
}, b(this.showDate.year) + "\u5E74", 1),
|
|
4904
4904
|
l.dateType === "date" ? (r(), c("span", {
|
|
4905
4905
|
key: 0,
|
|
4906
4906
|
class: "lh-date-header-label",
|
|
4907
|
-
onClick: i[3] || (i[3] =
|
|
4907
|
+
onClick: i[3] || (i[3] = U((...a) => n.switchToMonthTable && n.switchToMonthTable(...a), ["stop"]))
|
|
4908
4908
|
}, b(this.showDate.month) + "\u6708", 1)) : m("", !0)
|
|
4909
4909
|
], 64)),
|
|
4910
4910
|
d("span", Jn, [
|
|
@@ -4946,7 +4946,7 @@ function rs(e, i, t, s, l, n) {
|
|
|
4946
4946
|
(r(!0), c(p, null, y(n.decadesList, (a) => (r(), c("tr", null, [
|
|
4947
4947
|
(r(!0), c(p, null, y(a, (u) => (r(), c("td", {
|
|
4948
4948
|
class: f({ selected: u === e.showDate.year }),
|
|
4949
|
-
onClick:
|
|
4949
|
+
onClick: U((o) => n.yearClick(u), ["stop"])
|
|
4950
4950
|
}, [
|
|
4951
4951
|
d("a", ns, b(u), 1)
|
|
4952
4952
|
], 10, ls))), 256))
|
|
@@ -4957,7 +4957,7 @@ function rs(e, i, t, s, l, n) {
|
|
|
4957
4957
|
d("tbody", null, [
|
|
4958
4958
|
(r(!0), c(p, null, y(l.monthList, (a) => (r(), c("tr", null, [
|
|
4959
4959
|
(r(!0), c(p, null, y(a, (u) => (r(), c("td", {
|
|
4960
|
-
onClick:
|
|
4960
|
+
onClick: U((o) => n.changeMonth(u.num), ["stop"])
|
|
4961
4961
|
}, [
|
|
4962
4962
|
d("div", null, [
|
|
4963
4963
|
d("a", os, b(u.description), 1)
|
|
@@ -5087,7 +5087,7 @@ const cs = {
|
|
|
5087
5087
|
}
|
|
5088
5088
|
},
|
|
5089
5089
|
components: {
|
|
5090
|
-
lhInput:
|
|
5090
|
+
lhInput: K,
|
|
5091
5091
|
lhPopover: J
|
|
5092
5092
|
},
|
|
5093
5093
|
data() {
|
|
@@ -5348,9 +5348,9 @@ const ms = {
|
|
|
5348
5348
|
}
|
|
5349
5349
|
},
|
|
5350
5350
|
components: {
|
|
5351
|
-
lhInput:
|
|
5351
|
+
lhInput: K,
|
|
5352
5352
|
lhPopover: J,
|
|
5353
|
-
lhButton:
|
|
5353
|
+
lhButton: j
|
|
5354
5354
|
},
|
|
5355
5355
|
data() {
|
|
5356
5356
|
return {
|
|
@@ -5906,7 +5906,7 @@ const Rs = (e, i, t) => {
|
|
|
5906
5906
|
},
|
|
5907
5907
|
filters: {},
|
|
5908
5908
|
components: {
|
|
5909
|
-
lhButton:
|
|
5909
|
+
lhButton: j
|
|
5910
5910
|
},
|
|
5911
5911
|
methods: {
|
|
5912
5912
|
deleteFile() {
|
|
@@ -6081,6 +6081,14 @@ const Ks = {
|
|
|
6081
6081
|
doNotShowDeleteAll: {
|
|
6082
6082
|
type: Boolean,
|
|
6083
6083
|
default: !1
|
|
6084
|
+
},
|
|
6085
|
+
mode: {
|
|
6086
|
+
type: String,
|
|
6087
|
+
default: "common"
|
|
6088
|
+
},
|
|
6089
|
+
imgPreviewUrl: {
|
|
6090
|
+
type: String,
|
|
6091
|
+
default: ""
|
|
6084
6092
|
}
|
|
6085
6093
|
},
|
|
6086
6094
|
data() {
|
|
@@ -6099,7 +6107,7 @@ const Ks = {
|
|
|
6099
6107
|
}
|
|
6100
6108
|
},
|
|
6101
6109
|
components: {
|
|
6102
|
-
lhButton:
|
|
6110
|
+
lhButton: j
|
|
6103
6111
|
},
|
|
6104
6112
|
methods: {
|
|
6105
6113
|
uploadFile() {
|
|
@@ -6223,17 +6231,26 @@ const Ks = {
|
|
|
6223
6231
|
if (this.currentFiles[e].response.data.status === "uploading")
|
|
6224
6232
|
return;
|
|
6225
6233
|
this.$emit("uploadFinish", this.currentFiles);
|
|
6234
|
+
},
|
|
6235
|
+
rImgName(e) {
|
|
6236
|
+
return e.length > 18 ? e.substr(0, 15) + "..." : e;
|
|
6226
6237
|
}
|
|
6227
6238
|
}
|
|
6228
6239
|
}, qs = {
|
|
6229
6240
|
key: 0,
|
|
6230
6241
|
class: "upload-head"
|
|
6231
|
-
}, Js =
|
|
6242
|
+
}, Js = {
|
|
6243
|
+
key: 0,
|
|
6244
|
+
class: "upload-ul-img"
|
|
6245
|
+
}, Ys = { class: "upload-li-img" }, Gs = ["src"], Zs = ["onClick", "title"], Xs = ["onClick"], Qs = /* @__PURE__ */ d("div", { style: { clear: "both" } }, null, -1), $s = {
|
|
6246
|
+
key: 0,
|
|
6247
|
+
class: "upload-ul-common"
|
|
6248
|
+
}, ea = ["onClick"], ta = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_enclosure pull-left" }, null, -1), ia = { class: "text-overflow name pull-left" }, la = /* @__PURE__ */ d("span", { class: "fail-text" }, "\u4E0A\u4F20\u5931\u8D25", -1), na = ["onClick"], sa = { class: "percentage-num pull-right" }, aa = { class: "percentage-wrap" }, oa = {
|
|
6232
6249
|
style: { display: "none" },
|
|
6233
6250
|
method: "post",
|
|
6234
6251
|
enctype: "multipart/form-data"
|
|
6235
6252
|
};
|
|
6236
|
-
function
|
|
6253
|
+
function ra(e, i, t, s, l, n) {
|
|
6237
6254
|
const a = w("lh-button");
|
|
6238
6255
|
return r(), c("div", {
|
|
6239
6256
|
class: f(["lh-upload-flowable", t.size])
|
|
@@ -6269,35 +6286,55 @@ function ta(e, i, t, s, l, n) {
|
|
|
6269
6286
|
onClick: i[0] || (i[0] = (...u) => n.downLoadAll && n.downLoadAll(...u))
|
|
6270
6287
|
}, "\u4E0B\u8F7D\u5168\u90E8")) : m("", !0)
|
|
6271
6288
|
], 64)),
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
]),
|
|
6289
|
+
t.mode == "img" ? (r(), c(p, { key: 2 }, [
|
|
6290
|
+
l.currentFiles.length > 0 ? (r(), c("ul", Js, [
|
|
6291
|
+
(r(!0), c(p, null, y(l.currentFiles, (u, o) => (r(), c("li", Ys, [
|
|
6292
|
+
d("img", {
|
|
6293
|
+
src: t.imgPreviewUrl + "/" + u.response.data.fileIdStr
|
|
6294
|
+
}, null, 8, Gs),
|
|
6295
|
+
d("div", {
|
|
6296
|
+
onClick: (h) => n.downLoad(u),
|
|
6297
|
+
title: u.response.data.fileName
|
|
6298
|
+
}, b(n.rImgName(u.response.data.fileName)), 9, Zs),
|
|
6283
6299
|
t.showType == "edit" ? (r(), c("i", {
|
|
6284
6300
|
key: 0,
|
|
6285
|
-
onClick:
|
|
6301
|
+
onClick: U((h) => n.removeSingle(u.response.data.fileId, o), ["stop"]),
|
|
6286
6302
|
class: "lh-ui-font-component icon_component_delete pull-right"
|
|
6287
6303
|
}, null, 8, Xs)) : m("", !0)
|
|
6288
|
-
]),
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6304
|
+
]))), 256)),
|
|
6305
|
+
Qs
|
|
6306
|
+
])) : m("", !0)
|
|
6307
|
+
], 64)) : (r(), c(p, { key: 3 }, [
|
|
6308
|
+
l.currentFiles.length > 0 ? (r(), c("ul", $s, [
|
|
6309
|
+
(r(!0), c(p, null, y(l.currentFiles, (u, o) => (r(), c("li", {
|
|
6310
|
+
class: f(["upload-li-common clearfix", [u.response.data.status == "fail" ? "fail" : ""]]),
|
|
6311
|
+
onClick: (h) => n.downLoad(u)
|
|
6312
|
+
}, [
|
|
6313
|
+
d("div", null, [
|
|
6314
|
+
ta,
|
|
6315
|
+
d("span", ia, [
|
|
6316
|
+
L(b(u.response.data.fileName), 1),
|
|
6317
|
+
la
|
|
6318
|
+
]),
|
|
6319
|
+
t.showType == "edit" ? (r(), c("i", {
|
|
6320
|
+
key: 0,
|
|
6321
|
+
onClick: U((h) => n.removeSingle(u.response.data.fileId, o), ["stop"]),
|
|
6322
|
+
class: "lh-ui-font-component icon_component_delete pull-right"
|
|
6323
|
+
}, null, 8, na)) : m("", !0)
|
|
6324
|
+
]),
|
|
6325
|
+
n.showPercentage(u.response.data.status) ? (r(), c(p, { key: 0 }, [
|
|
6326
|
+
d("div", sa, b(Number(u.response.data.percentage).toFixed(2)) + "%", 1),
|
|
6327
|
+
d("div", aa, [
|
|
6328
|
+
d("div", {
|
|
6329
|
+
class: "percentage",
|
|
6330
|
+
style: C(`width:${u.response.data.percentage}%;`)
|
|
6331
|
+
}, null, 4)
|
|
6332
|
+
])
|
|
6333
|
+
], 64)) : m("", !0)
|
|
6334
|
+
], 10, ea))), 256))
|
|
6335
|
+
])) : m("", !0)
|
|
6336
|
+
], 64)),
|
|
6337
|
+
d("form", oa, [
|
|
6301
6338
|
d("input", {
|
|
6302
6339
|
type: "file",
|
|
6303
6340
|
name: "file",
|
|
@@ -6308,17 +6345,17 @@ function ta(e, i, t, s, l, n) {
|
|
|
6308
6345
|
])
|
|
6309
6346
|
], 2);
|
|
6310
6347
|
}
|
|
6311
|
-
const ge = /* @__PURE__ */ _(Ks, [["render",
|
|
6348
|
+
const ge = /* @__PURE__ */ _(Ks, [["render", ra]]);
|
|
6312
6349
|
ge.install = function(e) {
|
|
6313
6350
|
e.component(ge.name, ge);
|
|
6314
6351
|
};
|
|
6315
|
-
const
|
|
6352
|
+
const ca = {
|
|
6316
6353
|
name: "lhDatePicker",
|
|
6317
6354
|
componentName: "lhDatePicker",
|
|
6318
6355
|
components: {
|
|
6319
6356
|
lhDateCommon: $,
|
|
6320
6357
|
lhPopover: J,
|
|
6321
|
-
lhInput:
|
|
6358
|
+
lhInput: K
|
|
6322
6359
|
},
|
|
6323
6360
|
emits: ["update:modelValue"],
|
|
6324
6361
|
props: {
|
|
@@ -6423,16 +6460,16 @@ const ia = {
|
|
|
6423
6460
|
this.dateCommonValue = this.lujFormat(e), this.$emit("update:modelValue", this.inputValue);
|
|
6424
6461
|
}
|
|
6425
6462
|
}
|
|
6426
|
-
},
|
|
6463
|
+
}, ua = {
|
|
6427
6464
|
key: 0,
|
|
6428
6465
|
class: "lh-date-picker__suffix",
|
|
6429
6466
|
style: { display: "inline-block" }
|
|
6430
|
-
},
|
|
6431
|
-
|
|
6432
|
-
],
|
|
6433
|
-
|
|
6467
|
+
}, da = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_date" }, null, -1), ha = [
|
|
6468
|
+
da
|
|
6469
|
+
], fa = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_error02" }, null, -1), ma = [
|
|
6470
|
+
fa
|
|
6434
6471
|
];
|
|
6435
|
-
function
|
|
6472
|
+
function pa(e, i, t, s, l, n) {
|
|
6436
6473
|
const a = w("lh-date-common"), u = w("lh-input"), o = w("lh-popover");
|
|
6437
6474
|
return r(), B(o, {
|
|
6438
6475
|
zIndex: "2500",
|
|
@@ -6461,12 +6498,12 @@ function ra(e, i, t, s, l, n) {
|
|
|
6461
6498
|
readonly: !t.editable,
|
|
6462
6499
|
disabled: t.disabled
|
|
6463
6500
|
}, null, 8, ["size", "prefix-icon", "onFocus", "onBlur", "modelValue", "placeholder", "readonly", "disabled"]),
|
|
6464
|
-
t.iconPosition == "suffix" ? (r(), c("span",
|
|
6501
|
+
t.iconPosition == "suffix" ? (r(), c("span", ua, ha)) : m("", !0),
|
|
6465
6502
|
t.clearable && !t.disabled ? (r(), c("span", {
|
|
6466
6503
|
key: 1,
|
|
6467
6504
|
class: "lh-date-picker__suffix",
|
|
6468
|
-
onClick: i[2] || (i[2] =
|
|
6469
|
-
},
|
|
6505
|
+
onClick: i[2] || (i[2] = U((...h) => n.delTime && n.delTime(...h), ["stop"]))
|
|
6506
|
+
}, ma)) : m("", !0)
|
|
6470
6507
|
], 2)
|
|
6471
6508
|
]),
|
|
6472
6509
|
default: x(() => [
|
|
@@ -6483,11 +6520,11 @@ function ra(e, i, t, s, l, n) {
|
|
|
6483
6520
|
_: 1
|
|
6484
6521
|
}, 8, ["modelValue", "popoverContentClass"]);
|
|
6485
6522
|
}
|
|
6486
|
-
const ye = /* @__PURE__ */ _(
|
|
6523
|
+
const ye = /* @__PURE__ */ _(ca, [["render", pa]]);
|
|
6487
6524
|
ye.install = function(e) {
|
|
6488
6525
|
e.component(ye.name, ye);
|
|
6489
6526
|
};
|
|
6490
|
-
const
|
|
6527
|
+
const ba = {
|
|
6491
6528
|
data() {
|
|
6492
6529
|
return {
|
|
6493
6530
|
title: "",
|
|
@@ -6506,7 +6543,7 @@ const ca = {
|
|
|
6506
6543
|
};
|
|
6507
6544
|
},
|
|
6508
6545
|
components: {
|
|
6509
|
-
lhButton:
|
|
6546
|
+
lhButton: j
|
|
6510
6547
|
},
|
|
6511
6548
|
computed: {
|
|
6512
6549
|
positionStyle() {
|
|
@@ -6543,26 +6580,26 @@ const ca = {
|
|
|
6543
6580
|
beforeUnmount() {
|
|
6544
6581
|
document.removeEventListener("keydown", this.keydown), document.removeEventListener("hashchange", this.close);
|
|
6545
6582
|
}
|
|
6546
|
-
},
|
|
6547
|
-
function
|
|
6583
|
+
}, ga = { class: "lh-mb-wapper" }, ya = { class: "lh-mb-header" }, va = /* @__PURE__ */ d("i", { class: "lh-ui-font-component icon_component_remind02" }, null, -1), xa = { class: "lh-mb-header-span" }, _a = { class: "lh-mb-content" }, ka = { class: "lh-mb-footer" }, Ca = { class: "pull-right" };
|
|
6584
|
+
function wa(e, i, t, s, l, n) {
|
|
6548
6585
|
const a = w("lh-button");
|
|
6549
6586
|
return r(), B(we, {
|
|
6550
6587
|
name: "lh-mb-fade",
|
|
6551
6588
|
onAfterLeave: n.handleAfterLeave
|
|
6552
6589
|
}, {
|
|
6553
6590
|
default: x(() => [
|
|
6554
|
-
v(d("div",
|
|
6591
|
+
v(d("div", ga, [
|
|
6555
6592
|
d("div", {
|
|
6556
6593
|
class: "lh-mb",
|
|
6557
6594
|
style: C(n.positionStyle)
|
|
6558
6595
|
}, [
|
|
6559
|
-
d("div",
|
|
6560
|
-
|
|
6561
|
-
d("span",
|
|
6596
|
+
d("div", ya, [
|
|
6597
|
+
va,
|
|
6598
|
+
d("span", xa, b(l.title), 1)
|
|
6562
6599
|
]),
|
|
6563
|
-
d("div",
|
|
6564
|
-
d("div",
|
|
6565
|
-
d("div",
|
|
6600
|
+
d("div", _a, b(l.message), 1),
|
|
6601
|
+
d("div", ka, [
|
|
6602
|
+
d("div", Ca, [
|
|
6566
6603
|
I(a, {
|
|
6567
6604
|
category: "minor",
|
|
6568
6605
|
onClick: n.cancel
|
|
@@ -6588,15 +6625,15 @@ function ga(e, i, t, s, l, n) {
|
|
|
6588
6625
|
_: 1
|
|
6589
6626
|
}, 8, ["onAfterLeave"]);
|
|
6590
6627
|
}
|
|
6591
|
-
const
|
|
6592
|
-
let H = [],
|
|
6628
|
+
const Sa = /* @__PURE__ */ _(ba, [["render", wa]]);
|
|
6629
|
+
let H = [], Ta = 1;
|
|
6593
6630
|
const ee = function(e) {
|
|
6594
6631
|
e = e || {};
|
|
6595
|
-
let i = e.onClose, t = "messageBox_" +
|
|
6632
|
+
let i = e.onClose, t = "messageBox_" + Ta++;
|
|
6596
6633
|
e.onClose = function() {
|
|
6597
6634
|
ee.close(t, i);
|
|
6598
6635
|
};
|
|
6599
|
-
let l = Se(
|
|
6636
|
+
let l = Se(Sa).mount(document.createElement("div"));
|
|
6600
6637
|
for (let u in e)
|
|
6601
6638
|
l[u] = e[u] || l[u];
|
|
6602
6639
|
l.id = t, document.body.appendChild(l.$el);
|
|
@@ -6627,9 +6664,9 @@ ee.closeAll = function() {
|
|
|
6627
6664
|
for (let e = H.length - 1; e >= 0; e--)
|
|
6628
6665
|
H[e].close();
|
|
6629
6666
|
};
|
|
6630
|
-
const
|
|
6631
|
-
U,
|
|
6667
|
+
const Ia = [
|
|
6632
6668
|
j,
|
|
6669
|
+
K,
|
|
6633
6670
|
ie,
|
|
6634
6671
|
le,
|
|
6635
6672
|
te,
|
|
@@ -6654,7 +6691,7 @@ const xa = [
|
|
|
6654
6691
|
ge,
|
|
6655
6692
|
ye
|
|
6656
6693
|
], Qe = function(e, i = {}) {
|
|
6657
|
-
|
|
6694
|
+
Ia.map((t) => {
|
|
6658
6695
|
e.component(t.name, t);
|
|
6659
6696
|
}), window.$lhMessage = M, window.$loadingDirective = Me.directive, window.$loading = Me.service, window.$confirm = ee.confirm;
|
|
6660
6697
|
};
|
|
@@ -6669,10 +6706,10 @@ document.addEventListener("click", function(e) {
|
|
|
6669
6706
|
s[l].classList.remove("active");
|
|
6670
6707
|
}
|
|
6671
6708
|
});
|
|
6672
|
-
const
|
|
6709
|
+
const Pa = {
|
|
6673
6710
|
install: Qe,
|
|
6674
|
-
Button:
|
|
6675
|
-
Input:
|
|
6711
|
+
Button: j,
|
|
6712
|
+
Input: K,
|
|
6676
6713
|
Pagination: ie,
|
|
6677
6714
|
Dialog: le,
|
|
6678
6715
|
Radio: te,
|
|
@@ -6698,5 +6735,5 @@ const ka = {
|
|
|
6698
6735
|
DatePicker: ye
|
|
6699
6736
|
};
|
|
6700
6737
|
export {
|
|
6701
|
-
|
|
6738
|
+
Pa as default
|
|
6702
6739
|
};
|