vue 3.4.0 → 3.4.1
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.esm-browser.js +18 -16
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.global.js +12 -10
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +18 -16
- package/dist/vue.runtime.esm-browser.prod.js +5 -5
- package/dist/vue.runtime.global.js +12 -10
- package/dist/vue.runtime.global.prod.js +5 -5
- package/package.json +6 -6
package/dist/vue.global.js
CHANGED
|
@@ -3296,6 +3296,13 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3296
3296
|
return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;
|
|
3297
3297
|
}
|
|
3298
3298
|
|
|
3299
|
+
const ssrContextKey = Symbol.for("v-scx");
|
|
3300
|
+
const useSSRContext = () => {
|
|
3301
|
+
{
|
|
3302
|
+
warn$1(`useSSRContext() is not supported in the global build.`);
|
|
3303
|
+
}
|
|
3304
|
+
};
|
|
3305
|
+
|
|
3299
3306
|
function watchEffect(effect, options) {
|
|
3300
3307
|
return doWatch(effect, null, options);
|
|
3301
3308
|
}
|
|
@@ -4795,6 +4802,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4795
4802
|
warn$1(`useModel() called with prop "${name}" which is not declared.`);
|
|
4796
4803
|
return ref();
|
|
4797
4804
|
}
|
|
4805
|
+
const camelizedName = camelize(name);
|
|
4798
4806
|
const res = customRef((track, trigger) => {
|
|
4799
4807
|
let localValue;
|
|
4800
4808
|
watchSyncEffect(() => {
|
|
@@ -4811,7 +4819,8 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4811
4819
|
},
|
|
4812
4820
|
set(value) {
|
|
4813
4821
|
const rawProps = i.vnode.props;
|
|
4814
|
-
if (!(rawProps &&
|
|
4822
|
+
if (!(rawProps && // check if parent has passed v-model
|
|
4823
|
+
(name in rawProps || camelizedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps)) && hasChanged(value, localValue)) {
|
|
4815
4824
|
localValue = value;
|
|
4816
4825
|
trigger();
|
|
4817
4826
|
}
|
|
@@ -4825,7 +4834,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4825
4834
|
return {
|
|
4826
4835
|
next() {
|
|
4827
4836
|
if (i2 < 2) {
|
|
4828
|
-
return { value: i2++ ? props[modifierKey] : res, done: false };
|
|
4837
|
+
return { value: i2++ ? props[modifierKey] || {} : res, done: false };
|
|
4829
4838
|
} else {
|
|
4830
4839
|
return { done: true };
|
|
4831
4840
|
}
|
|
@@ -9264,13 +9273,6 @@ Component that was made reactive: `,
|
|
|
9264
9273
|
}
|
|
9265
9274
|
}
|
|
9266
9275
|
|
|
9267
|
-
const ssrContextKey = Symbol.for("v-scx");
|
|
9268
|
-
const useSSRContext = () => {
|
|
9269
|
-
{
|
|
9270
|
-
warn$1(`useSSRContext() is not supported in the global build.`);
|
|
9271
|
-
}
|
|
9272
|
-
};
|
|
9273
|
-
|
|
9274
9276
|
function initCustomFormatter() {
|
|
9275
9277
|
if (typeof window === "undefined") {
|
|
9276
9278
|
return;
|
|
@@ -9472,7 +9474,7 @@ Component that was made reactive: `,
|
|
|
9472
9474
|
return true;
|
|
9473
9475
|
}
|
|
9474
9476
|
|
|
9475
|
-
const version = "3.4.
|
|
9477
|
+
const version = "3.4.1";
|
|
9476
9478
|
const warn = warn$1 ;
|
|
9477
9479
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9478
9480
|
const devtools = devtools$1 ;
|