lh-ui-next 0.1.9-beta.4 → 0.1.9-beta.6
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 +12 -9
- package/lib/lh-ui-next.umd.js +1 -1
- package/package.json +1 -1
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.8",
|
|
8
|
-
## test version : "0.1.9-beta.
|
|
8
|
+
## test version : "0.1.9-beta.6,
|
|
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
|
@@ -3746,6 +3746,7 @@ const ql = {
|
|
|
3746
3746
|
}
|
|
3747
3747
|
this.firstChecked = !0, this.firstIndeterminate = !1, this.secondChecked1 = !0, this.secondIndeterminate1 = !1, this.secondChecked2 = !0, this.secondIndeterminate2 = !1, this.thirdChecked = !0, this.thirdIndeterminate = !1, this.fourthChecked = !0, this.fourthIndeterminate = !1;
|
|
3748
3748
|
},
|
|
3749
|
+
//清空选项
|
|
3749
3750
|
clearSelect() {
|
|
3750
3751
|
let e = (t) => {
|
|
3751
3752
|
if (t.checked = !1, t.indeterminate = !1, t.childSelectedCount = 0, !t.isLeaf)
|
|
@@ -3826,9 +3827,9 @@ const ql = {
|
|
|
3826
3827
|
hideOthers() {
|
|
3827
3828
|
this.secondList = [], this.thirdList = [], this.fourthList = [], this.clickedFisrtNode = {};
|
|
3828
3829
|
},
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
this.firstChecked =
|
|
3830
|
+
//外部选中第一层
|
|
3831
|
+
setFirstLevelChecked() {
|
|
3832
|
+
this.clearSelect(), this.firstChecked = !0, this.nodeCheckChange1();
|
|
3832
3833
|
}
|
|
3833
3834
|
}
|
|
3834
3835
|
}, Xl = { class: "lh-tree-specail-container lh-scroll-common" }, Gl = { class: "lh-tree-special-node" }, Zl = /* @__PURE__ */ h("span", { class: "node-label" }, "全国(省/直辖市)", -1), Ql = /* @__PURE__ */ h("div", { class: "node-inner-divider" }, null, -1), $l = ["onClick"], en = {
|
|
@@ -4181,8 +4182,8 @@ const Bn = {
|
|
|
4181
4182
|
this.$refs.myTree.setCheckedKeyAndChildren(e);
|
|
4182
4183
|
},
|
|
4183
4184
|
//【全国省、直辖市】选中
|
|
4184
|
-
|
|
4185
|
-
this.$refs.myTree.
|
|
4185
|
+
setFirstLevelChecked() {
|
|
4186
|
+
this.$refs.myTree.setFirstLevelChecked();
|
|
4186
4187
|
}
|
|
4187
4188
|
},
|
|
4188
4189
|
computed: {
|
|
@@ -6822,14 +6823,16 @@ function Oa(e, t, i, s, l, n) {
|
|
|
6822
6823
|
onClick: (p) => n.setInputValue(u),
|
|
6823
6824
|
title: i.labelField ? u[i.labelField] : u
|
|
6824
6825
|
}, [
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6826
|
+
V(e.$slots, "item", { item: u }, () => [
|
|
6827
|
+
h("span", {
|
|
6828
|
+
innerHTML: i.labelField ? u[i.labelField] : u
|
|
6829
|
+
}, null, 8, Ea)
|
|
6830
|
+
])
|
|
6828
6831
|
], 8, Fa))), 256))
|
|
6829
6832
|
], 4)) : m("", !0),
|
|
6830
6833
|
l.searchResultList.length == 0 ? (r(), c("div", Ba, b(i.noDataPlaceholder), 1)) : m("", !0)
|
|
6831
6834
|
]),
|
|
6832
|
-
_:
|
|
6835
|
+
_: 3
|
|
6833
6836
|
}, 8, ["style"]),
|
|
6834
6837
|
V(e.$slots, "default")
|
|
6835
6838
|
], 2)
|