lh-ui-next 0.1.8-beta.15 → 0.1.8-beta.17
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 +1 -1
- package/lib/lh-ui-next.mjs +11 -7
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
- package/static/iconFontComponent/iconfont.css +10 -6
- package/static/iconFontComponent/iconfont.eot +0 -0
- package/static/iconFontComponent/iconfont.js +1 -1
- package/static/iconFontComponent/iconfont.json +7 -0
- package/static/iconFontComponent/iconfont.svg +2 -0
- package/static/iconFontComponent/iconfont.ttf +0 -0
- package/static/iconFontComponent/iconfont.woff +0 -0
- package/static/iconFontComponent/iconfont.woff2 +0 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ alpha version is use to self-test; beta version is use to public survey.for exam
|
|
|
5
5
|
1.0.0-alpha.1
|
|
6
6
|
1.0.0-test.2
|
|
7
7
|
## Official version : "0.1.7",
|
|
8
|
-
## test version : "0.1.8-beta.
|
|
8
|
+
## test version : "0.1.8-beta.17,
|
|
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
|
@@ -4353,6 +4353,10 @@ const Gn = {
|
|
|
4353
4353
|
dropWidth: {
|
|
4354
4354
|
type: [Number, String],
|
|
4355
4355
|
default: ""
|
|
4356
|
+
},
|
|
4357
|
+
disabled: {
|
|
4358
|
+
type: Boolean,
|
|
4359
|
+
default: !1
|
|
4356
4360
|
}
|
|
4357
4361
|
},
|
|
4358
4362
|
data() {
|
|
@@ -4398,7 +4402,7 @@ const Gn = {
|
|
|
4398
4402
|
},
|
|
4399
4403
|
//真正的切换
|
|
4400
4404
|
realSwitch(e) {
|
|
4401
|
-
this.canNotSwitch || this.tablist[e].disabled || (this.beforeSwitchReg === -1 ? (this.$emit("update:modelValue", e), this.$emit("tabItemClick", e)) : this.beforeSwitchReg ? (this.$emit("update:modelValue", e), this.$emit("tabItemClick", e)) : this.$msg.warning(this.beforeSwitchRegDes));
|
|
4405
|
+
this.canNotSwitch || this.tablist[e].disabled || this.disabled && !this.isActive(e) || (this.beforeSwitchReg === -1 ? (this.$emit("update:modelValue", e), this.$emit("tabItemClick", e)) : this.beforeSwitchReg ? (this.$emit("update:modelValue", e), this.$emit("tabItemClick", e)) : this.$msg.warning(this.beforeSwitchRegDes));
|
|
4402
4406
|
}
|
|
4403
4407
|
}
|
|
4404
4408
|
}, Zn = ["onClick", "innerHTML"], Qn = ["onClick", "innerHTML"], $n = ["onClick", "innerHTML"], es = ["onClick", "innerHTML"], ts = {
|
|
@@ -4417,7 +4421,7 @@ function rs(e, t, i, s, l, n) {
|
|
|
4417
4421
|
class: f(["lh-tab-div-n1", i.size])
|
|
4418
4422
|
}, [
|
|
4419
4423
|
(r(!0), c(g, null, y(i.tablist, (a, o) => (r(), c("span", {
|
|
4420
|
-
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled }]),
|
|
4424
|
+
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled || i.disabled && !n.isActive(o) }]),
|
|
4421
4425
|
style: T({ cursor: i.canNotSwitch ? "default" : "pointer", display: a.nodisplay ? "none" : "inline-block" }),
|
|
4422
4426
|
onClick: (h) => n.tabswitch(o),
|
|
4423
4427
|
innerHTML: a.name
|
|
@@ -4428,7 +4432,7 @@ function rs(e, t, i, s, l, n) {
|
|
|
4428
4432
|
class: f(["lh-tab-div-n2", i.size])
|
|
4429
4433
|
}, [
|
|
4430
4434
|
(r(!0), c(g, null, y(i.tablist, (a, o) => (r(), c("span", {
|
|
4431
|
-
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled }]),
|
|
4435
|
+
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled || i.disabled && !n.isActive(o) }]),
|
|
4432
4436
|
style: T({ cursor: i.canNotSwitch ? "default" : "pointer", display: a.nodisplay ? "none" : "inline-block" }),
|
|
4433
4437
|
onClick: (h) => n.tabswitch(o),
|
|
4434
4438
|
innerHTML: a.name
|
|
@@ -4439,7 +4443,7 @@ function rs(e, t, i, s, l, n) {
|
|
|
4439
4443
|
class: f(["lh-tab-div-n3", i.size])
|
|
4440
4444
|
}, [
|
|
4441
4445
|
(r(!0), c(g, null, y(i.tablist, (a, o) => (r(), c("span", {
|
|
4442
|
-
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled }]),
|
|
4446
|
+
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled || i.disabled && !n.isActive(o) }]),
|
|
4443
4447
|
style: T({ cursor: i.canNotSwitch ? "default" : "pointer", display: a.nodisplay ? "none" : "inline-block" }),
|
|
4444
4448
|
onClick: (h) => n.tabswitch(o),
|
|
4445
4449
|
innerHTML: a.name
|
|
@@ -4453,7 +4457,7 @@ function rs(e, t, i, s, l, n) {
|
|
|
4453
4457
|
(r(!0), c(g, null, y(l.myTabList, (a, o) => (r(), c(g, null, [
|
|
4454
4458
|
a.isFold ? m("", !0) : (r(), c("span", {
|
|
4455
4459
|
key: 0,
|
|
4456
|
-
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled }]),
|
|
4460
|
+
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled || i.disabled && !n.isActive(o) }]),
|
|
4457
4461
|
ref_for: !0,
|
|
4458
4462
|
ref: "n4Item",
|
|
4459
4463
|
style: T({ cursor: i.canNotSwitch ? "default" : "pointer", display: a.nodisplay ? "none" : "inline-block" }),
|
|
@@ -4474,7 +4478,7 @@ function rs(e, t, i, s, l, n) {
|
|
|
4474
4478
|
onClick: (h) => n.tabswitch(o)
|
|
4475
4479
|
}, [
|
|
4476
4480
|
d("span", {
|
|
4477
|
-
class: f(["li-span", { active: n.isActive(o), disabled: a.disabled }]),
|
|
4481
|
+
class: f(["li-span", { active: n.isActive(o), disabled: a.disabled || i.disabled && !n.isActive(o) }]),
|
|
4478
4482
|
title: a.name,
|
|
4479
4483
|
style: T({ cursor: i.canNotSwitch ? "default" : "pointer", display: a.nodisplay ? "none" : "inline" })
|
|
4480
4484
|
}, b(a.name), 15, ss)
|
|
@@ -4489,7 +4493,7 @@ function rs(e, t, i, s, l, n) {
|
|
|
4489
4493
|
class: f(["lh-tab-div-n5", i.size])
|
|
4490
4494
|
}, [
|
|
4491
4495
|
(r(!0), c(g, null, y(i.tablist, (a, o) => (r(), c("span", {
|
|
4492
|
-
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled }]),
|
|
4496
|
+
class: f(["lh-tab-content", { active: n.isActive(o), disabled: a.disabled || i.disabled && !n.isActive(o) }]),
|
|
4493
4497
|
style: T({ cursor: i.canNotSwitch ? "default" : "pointer", display: a.nodisplay ? "none" : "inline-block" }),
|
|
4494
4498
|
onClick: (h) => n.tabswitch(o)
|
|
4495
4499
|
}, b(a.name), 15, as))), 256))
|