vant 3.6.8 → 3.6.9
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/es/field/Field.mjs +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/lib/field/Field.js +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/vant.cjs.js +4 -2
- package/lib/vant.es.js +4 -2
- package/lib/vant.js +4 -2
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +2490 -2490
- package/package.json +1 -1
package/README.md
CHANGED
@@ -37,7 +37,7 @@
|
|
37
37
|
- 🍭 Support Tree Shaking
|
38
38
|
- 🍭 Support Custom Theme
|
39
39
|
- 🍭 Support Accessibility (still improving)
|
40
|
-
- 🍭 Support Dark Mode
|
40
|
+
- 🍭 Support Dark Mode
|
41
41
|
- 🍭 Support SSR
|
42
42
|
- 🌍 Support i18n, built-in 20+ languages
|
43
43
|
|
package/es/field/Field.mjs
CHANGED
@@ -205,7 +205,9 @@ var stdin_default = defineComponent({
|
|
205
205
|
selectionEnd
|
206
206
|
} = inputRef.value;
|
207
207
|
inputRef.value.value = value;
|
208
|
-
|
208
|
+
if (state.focused) {
|
209
|
+
inputRef.value.setSelectionRange(selectionStart, selectionEnd);
|
210
|
+
}
|
209
211
|
}
|
210
212
|
if (value !== props.modelValue) {
|
211
213
|
emit("update:modelValue", value);
|
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
@@ -84,7 +84,7 @@ import { Tag } from "./tag/index.mjs";
|
|
84
84
|
import { Toast } from "./toast/index.mjs";
|
85
85
|
import { TreeSelect } from "./tree-select/index.mjs";
|
86
86
|
import { Uploader } from "./uploader/index.mjs";
|
87
|
-
const version = "3.6.
|
87
|
+
const version = "3.6.9";
|
88
88
|
function install(app) {
|
89
89
|
const components = [
|
90
90
|
ActionBar,
|
package/lib/field/Field.js
CHANGED
@@ -228,7 +228,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
228
228
|
selectionEnd
|
229
229
|
} = inputRef.value;
|
230
230
|
inputRef.value.value = value;
|
231
|
-
|
231
|
+
if (state.focused) {
|
232
|
+
inputRef.value.setSelectionRange(selectionStart, selectionEnd);
|
233
|
+
}
|
232
234
|
}
|
233
235
|
if (value !== props.modelValue) {
|
234
236
|
emit("update:modelValue", value);
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -196,7 +196,7 @@ __reExport(stdin_exports, require("./tag"), module.exports);
|
|
196
196
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
197
197
|
__reExport(stdin_exports, require("./tree-select"), module.exports);
|
198
198
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
199
|
-
const version = "3.6.
|
199
|
+
const version = "3.6.9";
|
200
200
|
function install(app) {
|
201
201
|
const components = [
|
202
202
|
import_action_bar.ActionBar,
|
package/lib/vant.cjs.js
CHANGED
@@ -2859,7 +2859,9 @@ var stdin_default$1m = vue.defineComponent({
|
|
2859
2859
|
selectionEnd
|
2860
2860
|
} = inputRef.value;
|
2861
2861
|
inputRef.value.value = value;
|
2862
|
-
|
2862
|
+
if (state.focused) {
|
2863
|
+
inputRef.value.setSelectionRange(selectionStart, selectionEnd);
|
2864
|
+
}
|
2863
2865
|
}
|
2864
2866
|
if (value !== props.modelValue) {
|
2865
2867
|
emit("update:modelValue", value);
|
@@ -14961,7 +14963,7 @@ const Lazyload = {
|
|
14961
14963
|
});
|
14962
14964
|
}
|
14963
14965
|
};
|
14964
|
-
const version = "3.6.
|
14966
|
+
const version = "3.6.9";
|
14965
14967
|
function install(app) {
|
14966
14968
|
const components = [
|
14967
14969
|
ActionBar,
|
package/lib/vant.es.js
CHANGED
@@ -2857,7 +2857,9 @@ var stdin_default$1m = defineComponent({
|
|
2857
2857
|
selectionEnd
|
2858
2858
|
} = inputRef.value;
|
2859
2859
|
inputRef.value.value = value;
|
2860
|
-
|
2860
|
+
if (state.focused) {
|
2861
|
+
inputRef.value.setSelectionRange(selectionStart, selectionEnd);
|
2862
|
+
}
|
2861
2863
|
}
|
2862
2864
|
if (value !== props.modelValue) {
|
2863
2865
|
emit("update:modelValue", value);
|
@@ -14959,7 +14961,7 @@ const Lazyload = {
|
|
14959
14961
|
});
|
14960
14962
|
}
|
14961
14963
|
};
|
14962
|
-
const version = "3.6.
|
14964
|
+
const version = "3.6.9";
|
14963
14965
|
function install(app) {
|
14964
14966
|
const components = [
|
14965
14967
|
ActionBar,
|
package/lib/vant.js
CHANGED
@@ -3215,7 +3215,9 @@
|
|
3215
3215
|
selectionEnd
|
3216
3216
|
} = inputRef.value;
|
3217
3217
|
inputRef.value.value = value;
|
3218
|
-
|
3218
|
+
if (state.focused) {
|
3219
|
+
inputRef.value.setSelectionRange(selectionStart, selectionEnd);
|
3220
|
+
}
|
3219
3221
|
}
|
3220
3222
|
if (value !== props.modelValue) {
|
3221
3223
|
emit("update:modelValue", value);
|
@@ -16158,7 +16160,7 @@
|
|
16158
16160
|
});
|
16159
16161
|
}
|
16160
16162
|
};
|
16161
|
-
const version = "3.6.
|
16163
|
+
const version = "3.6.9";
|
16162
16164
|
function install(app) {
|
16163
16165
|
const components = [
|
16164
16166
|
ActionBar,
|