lh-ui-next 0.1.9-beta.25 → 0.1.9-beta.26
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 +10 -2
- 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.26,
|
|
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
|
@@ -6930,6 +6930,10 @@ const Oa = {
|
|
|
6930
6930
|
disabled: {
|
|
6931
6931
|
type: Boolean,
|
|
6932
6932
|
default: !1
|
|
6933
|
+
},
|
|
6934
|
+
autofocus: {
|
|
6935
|
+
type: [Boolean, String],
|
|
6936
|
+
default: !1
|
|
6933
6937
|
}
|
|
6934
6938
|
},
|
|
6935
6939
|
components: {
|
|
@@ -6977,7 +6981,9 @@ const Oa = {
|
|
|
6977
6981
|
immediate: !0,
|
|
6978
6982
|
handler: function(e) {
|
|
6979
6983
|
e && this.withDownClickSearch && this.search(), e && setTimeout(() => {
|
|
6980
|
-
this.changeWidth()
|
|
6984
|
+
this.changeWidth(), this.autofocus && setTimeout(() => {
|
|
6985
|
+
this.$refs.fuzzySelectInput.$refs.currentInput.focus();
|
|
6986
|
+
}, 0);
|
|
6981
6987
|
}, 0);
|
|
6982
6988
|
}
|
|
6983
6989
|
}
|
|
@@ -7077,6 +7083,7 @@ function Ka(e, t, i, s, l, n) {
|
|
|
7077
7083
|
size: i.searchSize || i.size,
|
|
7078
7084
|
class: "pull-left",
|
|
7079
7085
|
type: "text",
|
|
7086
|
+
ref: "fuzzySelectInput",
|
|
7080
7087
|
placeholder: i.innerPlaceholder,
|
|
7081
7088
|
autocomplete: "off",
|
|
7082
7089
|
modelValue: l.searchText,
|
|
@@ -7090,7 +7097,8 @@ function Ka(e, t, i, s, l, n) {
|
|
|
7090
7097
|
placeholder: i.innerPlaceholder,
|
|
7091
7098
|
autocomplete: "off",
|
|
7092
7099
|
modelValue: l.searchText,
|
|
7093
|
-
"onUpdate:modelValue": t[1] || (t[1] = (p) => l.searchText = p)
|
|
7100
|
+
"onUpdate:modelValue": t[1] || (t[1] = (p) => l.searchText = p),
|
|
7101
|
+
ref: "fuzzySelectInput"
|
|
7094
7102
|
}, null, 8, ["size", "placeholder", "modelValue"])),
|
|
7095
7103
|
i.withSearchBtn ? (r(), P(o, {
|
|
7096
7104
|
key: 2,
|