vant 4.6.3 → 4.6.4-beta.0
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/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/text-ellipsis/TextEllipsis.mjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/text-ellipsis/TextEllipsis.js +1 -1
- package/lib/vant.cjs.js +2 -2
- package/lib/vant.es.js +2 -2
- package/lib/vant.js +2 -2
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +20 -25
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
@@ -98,7 +98,7 @@ import { Toast } from "./toast/index.mjs";
|
|
98
98
|
import { TreeSelect } from "./tree-select/index.mjs";
|
99
99
|
import { Uploader } from "./uploader/index.mjs";
|
100
100
|
import { Watermark } from "./watermark/index.mjs";
|
101
|
-
const version = "4.6.
|
101
|
+
const version = "4.6.4-beta.0";
|
102
102
|
function install(app) {
|
103
103
|
const components = [
|
104
104
|
ActionBar,
|
@@ -85,7 +85,7 @@ var stdin_default = defineComponent({
|
|
85
85
|
};
|
86
86
|
const middleTail = (leftPart, rightPart) => {
|
87
87
|
if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
|
88
|
-
return content.slice(0, leftPart[1]) + dots +
|
88
|
+
return content.slice(0, leftPart[1]) + dots + content.slice(rightPart[1], end);
|
89
89
|
}
|
90
90
|
const leftMiddle = Math.floor(leftPart[0] + leftPart[1] >> 1);
|
91
91
|
const rightMiddle = Math.ceil(rightPart[0] + rightPart[1] >> 1);
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -224,7 +224,7 @@ __reExport(stdin_exports, require("./toast"), module.exports);
|
|
224
224
|
__reExport(stdin_exports, require("./tree-select"), module.exports);
|
225
225
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
226
226
|
__reExport(stdin_exports, require("./watermark"), module.exports);
|
227
|
-
const version = "4.6.
|
227
|
+
const version = "4.6.4-beta.0";
|
228
228
|
function install(app) {
|
229
229
|
const components = [
|
230
230
|
import_action_bar.ActionBar,
|
@@ -108,7 +108,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
108
108
|
};
|
109
109
|
const middleTail = (leftPart, rightPart) => {
|
110
110
|
if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
|
111
|
-
return content.slice(0, leftPart[1]) + dots +
|
111
|
+
return content.slice(0, leftPart[1]) + dots + content.slice(rightPart[1], end);
|
112
112
|
}
|
113
113
|
const leftMiddle = Math.floor(leftPart[0] + leftPart[1] >> 1);
|
114
114
|
const rightMiddle = Math.ceil(rightPart[0] + rightPart[1] >> 1);
|
package/lib/vant.cjs.js
CHANGED
@@ -14687,7 +14687,7 @@ var stdin_default$9 = vue.defineComponent({
|
|
14687
14687
|
};
|
14688
14688
|
const middleTail = (leftPart, rightPart) => {
|
14689
14689
|
if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
|
14690
|
-
return content.slice(0, leftPart[1]) + dots +
|
14690
|
+
return content.slice(0, leftPart[1]) + dots + content.slice(rightPart[1], end);
|
14691
14691
|
}
|
14692
14692
|
const leftMiddle = Math.floor(leftPart[0] + leftPart[1] >> 1);
|
14693
14693
|
const rightMiddle = Math.ceil(rightPart[0] + rightPart[1] >> 1);
|
@@ -16387,7 +16387,7 @@ const Lazyload = {
|
|
16387
16387
|
});
|
16388
16388
|
}
|
16389
16389
|
};
|
16390
|
-
const version = "4.6.
|
16390
|
+
const version = "4.6.4-beta.0";
|
16391
16391
|
function install(app) {
|
16392
16392
|
const components = [
|
16393
16393
|
ActionBar,
|
package/lib/vant.es.js
CHANGED
@@ -14685,7 +14685,7 @@ var stdin_default$9 = defineComponent({
|
|
14685
14685
|
};
|
14686
14686
|
const middleTail = (leftPart, rightPart) => {
|
14687
14687
|
if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
|
14688
|
-
return content.slice(0, leftPart[1]) + dots +
|
14688
|
+
return content.slice(0, leftPart[1]) + dots + content.slice(rightPart[1], end);
|
14689
14689
|
}
|
14690
14690
|
const leftMiddle = Math.floor(leftPart[0] + leftPart[1] >> 1);
|
14691
14691
|
const rightMiddle = Math.ceil(rightPart[0] + rightPart[1] >> 1);
|
@@ -16385,7 +16385,7 @@ const Lazyload = {
|
|
16385
16385
|
});
|
16386
16386
|
}
|
16387
16387
|
};
|
16388
|
-
const version = "4.6.
|
16388
|
+
const version = "4.6.4-beta.0";
|
16389
16389
|
function install(app) {
|
16390
16390
|
const components = [
|
16391
16391
|
ActionBar,
|
package/lib/vant.js
CHANGED
@@ -15917,7 +15917,7 @@
|
|
15917
15917
|
};
|
15918
15918
|
const middleTail = (leftPart, rightPart) => {
|
15919
15919
|
if (leftPart[1] - leftPart[0] <= 1 && rightPart[1] - rightPart[0] <= 1) {
|
15920
|
-
return content.slice(0, leftPart[1]) + dots +
|
15920
|
+
return content.slice(0, leftPart[1]) + dots + content.slice(rightPart[1], end2);
|
15921
15921
|
}
|
15922
15922
|
const leftMiddle = Math.floor(leftPart[0] + leftPart[1] >> 1);
|
15923
15923
|
const rightMiddle = Math.ceil(rightPart[0] + rightPart[1] >> 1);
|
@@ -17597,7 +17597,7 @@
|
|
17597
17597
|
});
|
17598
17598
|
}
|
17599
17599
|
};
|
17600
|
-
const version = "4.6.
|
17600
|
+
const version = "4.6.4-beta.0";
|
17601
17601
|
function install(app) {
|
17602
17602
|
const components = [
|
17603
17603
|
ActionBar,
|