@vue/compat 3.4.17 → 3.4.18
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/dist/vue.cjs.js +13 -6
- package/dist/vue.cjs.prod.js +13 -6
- package/dist/vue.esm-browser.js +13 -6
- package/dist/vue.esm-browser.prod.js +4 -4
- package/dist/vue.esm-bundler.js +13 -6
- package/dist/vue.global.js +13 -6
- package/dist/vue.global.prod.js +4 -4
- package/dist/vue.runtime.esm-browser.js +13 -6
- package/dist/vue.runtime.esm-browser.prod.js +4 -4
- package/dist/vue.runtime.esm-bundler.js +13 -6
- package/dist/vue.runtime.global.js +13 -6
- package/dist/vue.runtime.global.prod.js +4 -4
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.18
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -6540,7 +6540,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6540
6540
|
return vm;
|
|
6541
6541
|
}
|
|
6542
6542
|
}
|
|
6543
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6543
|
+
Vue.version = `2.6.14-compat:${"3.4.18"}`;
|
|
6544
6544
|
Vue.config = singletonApp.config;
|
|
6545
6545
|
Vue.use = (p, ...options) => {
|
|
6546
6546
|
if (p && isFunction(p.install)) {
|
|
@@ -7480,7 +7480,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
|
|
|
7480
7480
|
return res;
|
|
7481
7481
|
}
|
|
7482
7482
|
function validatePropName(key) {
|
|
7483
|
-
if (key[0] !== "$") {
|
|
7483
|
+
if (key[0] !== "$" && !isReservedProp(key)) {
|
|
7484
7484
|
return true;
|
|
7485
7485
|
} else if (!!(process.env.NODE_ENV !== "production")) {
|
|
7486
7486
|
warn$1(`Invalid prop name: "${key}" is a reserved property.`);
|
|
@@ -11446,7 +11446,7 @@ function isMemoSame(cached, memo) {
|
|
|
11446
11446
|
return true;
|
|
11447
11447
|
}
|
|
11448
11448
|
|
|
11449
|
-
const version = "3.4.
|
|
11449
|
+
const version = "3.4.18";
|
|
11450
11450
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
11451
11451
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11452
11452
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -11875,7 +11875,7 @@ const vShow = {
|
|
|
11875
11875
|
}
|
|
11876
11876
|
},
|
|
11877
11877
|
updated(el, { value, oldValue }, { transition }) {
|
|
11878
|
-
if (!value === !oldValue)
|
|
11878
|
+
if (!value === !oldValue && el.style.display === el[vShowOldKey])
|
|
11879
11879
|
return;
|
|
11880
11880
|
if (transition) {
|
|
11881
11881
|
if (value) {
|
|
@@ -11975,10 +11975,12 @@ function setVarsOnNode(el, vars) {
|
|
|
11975
11975
|
}
|
|
11976
11976
|
}
|
|
11977
11977
|
|
|
11978
|
+
const displayRE = /(^|;)\s*display\s*:/;
|
|
11978
11979
|
function patchStyle(el, prev, next) {
|
|
11979
11980
|
const style = el.style;
|
|
11980
|
-
const currentDisplay = style.display;
|
|
11981
11981
|
const isCssString = isString(next);
|
|
11982
|
+
const currentDisplay = style.display;
|
|
11983
|
+
let hasControlledDisplay = false;
|
|
11982
11984
|
if (next && !isCssString) {
|
|
11983
11985
|
if (prev && !isString(prev)) {
|
|
11984
11986
|
for (const key in prev) {
|
|
@@ -11988,6 +11990,9 @@ function patchStyle(el, prev, next) {
|
|
|
11988
11990
|
}
|
|
11989
11991
|
}
|
|
11990
11992
|
for (const key in next) {
|
|
11993
|
+
if (key === "display") {
|
|
11994
|
+
hasControlledDisplay = true;
|
|
11995
|
+
}
|
|
11991
11996
|
setStyle(style, key, next[key]);
|
|
11992
11997
|
}
|
|
11993
11998
|
} else {
|
|
@@ -11998,12 +12003,14 @@ function patchStyle(el, prev, next) {
|
|
|
11998
12003
|
next += ";" + cssVarText;
|
|
11999
12004
|
}
|
|
12000
12005
|
style.cssText = next;
|
|
12006
|
+
hasControlledDisplay = displayRE.test(next);
|
|
12001
12007
|
}
|
|
12002
12008
|
} else if (prev) {
|
|
12003
12009
|
el.removeAttribute("style");
|
|
12004
12010
|
}
|
|
12005
12011
|
}
|
|
12006
12012
|
if (vShowOldKey in el) {
|
|
12013
|
+
el[vShowOldKey] = hasControlledDisplay ? style.display : "";
|
|
12007
12014
|
style.display = currentDisplay;
|
|
12008
12015
|
}
|
|
12009
12016
|
}
|
package/dist/vue.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.18
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -6499,7 +6499,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6499
6499
|
return vm;
|
|
6500
6500
|
}
|
|
6501
6501
|
}
|
|
6502
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6502
|
+
Vue.version = `2.6.14-compat:${"3.4.18"}`;
|
|
6503
6503
|
Vue.config = singletonApp.config;
|
|
6504
6504
|
Vue.use = (p, ...options) => {
|
|
6505
6505
|
if (p && isFunction(p.install)) {
|
|
@@ -7436,7 +7436,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7436
7436
|
return res;
|
|
7437
7437
|
}
|
|
7438
7438
|
function validatePropName(key) {
|
|
7439
|
-
if (key[0] !== "$") {
|
|
7439
|
+
if (key[0] !== "$" && !isReservedProp(key)) {
|
|
7440
7440
|
return true;
|
|
7441
7441
|
} else {
|
|
7442
7442
|
warn$1(`Invalid prop name: "${key}" is a reserved property.`);
|
|
@@ -11321,7 +11321,7 @@ Component that was made reactive: `,
|
|
|
11321
11321
|
return true;
|
|
11322
11322
|
}
|
|
11323
11323
|
|
|
11324
|
-
const version = "3.4.
|
|
11324
|
+
const version = "3.4.18";
|
|
11325
11325
|
const warn = warn$1 ;
|
|
11326
11326
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11327
11327
|
const devtools = devtools$1 ;
|
|
@@ -11742,7 +11742,7 @@ Component that was made reactive: `,
|
|
|
11742
11742
|
}
|
|
11743
11743
|
},
|
|
11744
11744
|
updated(el, { value, oldValue }, { transition }) {
|
|
11745
|
-
if (!value === !oldValue)
|
|
11745
|
+
if (!value === !oldValue && el.style.display === el[vShowOldKey])
|
|
11746
11746
|
return;
|
|
11747
11747
|
if (transition) {
|
|
11748
11748
|
if (value) {
|
|
@@ -11835,10 +11835,12 @@ Component that was made reactive: `,
|
|
|
11835
11835
|
}
|
|
11836
11836
|
}
|
|
11837
11837
|
|
|
11838
|
+
const displayRE = /(^|;)\s*display\s*:/;
|
|
11838
11839
|
function patchStyle(el, prev, next) {
|
|
11839
11840
|
const style = el.style;
|
|
11840
|
-
const currentDisplay = style.display;
|
|
11841
11841
|
const isCssString = isString(next);
|
|
11842
|
+
const currentDisplay = style.display;
|
|
11843
|
+
let hasControlledDisplay = false;
|
|
11842
11844
|
if (next && !isCssString) {
|
|
11843
11845
|
if (prev && !isString(prev)) {
|
|
11844
11846
|
for (const key in prev) {
|
|
@@ -11848,6 +11850,9 @@ Component that was made reactive: `,
|
|
|
11848
11850
|
}
|
|
11849
11851
|
}
|
|
11850
11852
|
for (const key in next) {
|
|
11853
|
+
if (key === "display") {
|
|
11854
|
+
hasControlledDisplay = true;
|
|
11855
|
+
}
|
|
11851
11856
|
setStyle(style, key, next[key]);
|
|
11852
11857
|
}
|
|
11853
11858
|
} else {
|
|
@@ -11858,12 +11863,14 @@ Component that was made reactive: `,
|
|
|
11858
11863
|
next += ";" + cssVarText;
|
|
11859
11864
|
}
|
|
11860
11865
|
style.cssText = next;
|
|
11866
|
+
hasControlledDisplay = displayRE.test(next);
|
|
11861
11867
|
}
|
|
11862
11868
|
} else if (prev) {
|
|
11863
11869
|
el.removeAttribute("style");
|
|
11864
11870
|
}
|
|
11865
11871
|
}
|
|
11866
11872
|
if (vShowOldKey in el) {
|
|
11873
|
+
el[vShowOldKey] = hasControlledDisplay ? style.display : "";
|
|
11867
11874
|
style.display = currentDisplay;
|
|
11868
11875
|
}
|
|
11869
11876
|
}
|