gitea push
This commit is contained in:
+31
-14
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-dom v3.5.33
|
||||
* @vue/runtime-dom v3.5.34
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -354,12 +354,18 @@ class EffectScope {
|
||||
*/
|
||||
this.cleanups = [];
|
||||
this._isPaused = false;
|
||||
this._warnOnRun = true;
|
||||
this.__v_skip = true;
|
||||
this.parent = activeEffectScope;
|
||||
if (!detached && activeEffectScope) {
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
if (activeEffectScope.active) {
|
||||
this.parent = activeEffectScope;
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
||||
this
|
||||
) - 1;
|
||||
} else {
|
||||
this._active = false;
|
||||
this._warnOnRun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
get active() {
|
||||
@@ -407,7 +413,7 @@ class EffectScope {
|
||||
} finally {
|
||||
activeEffectScope = currentEffectScope;
|
||||
}
|
||||
} else {
|
||||
} else if (this._warnOnRun) {
|
||||
warn$2(`cannot run an inactive effect scope.`);
|
||||
}
|
||||
}
|
||||
@@ -513,8 +519,12 @@ class ReactiveEffect {
|
||||
*/
|
||||
this.cleanup = void 0;
|
||||
this.scheduler = void 0;
|
||||
if (activeEffectScope && activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
if (activeEffectScope) {
|
||||
if (activeEffectScope.active) {
|
||||
activeEffectScope.effects.push(this);
|
||||
} else {
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
pause() {
|
||||
@@ -7442,7 +7452,7 @@ function getInvalidTypeMessage(name, value, expectedTypes) {
|
||||
const receivedType = toRawType(value);
|
||||
const expectedValue = styleValue(value, expectedType);
|
||||
const receivedValue = styleValue(value, receivedType);
|
||||
if (expectedTypes.length === 1 && isExplicable(expectedType) && !isBoolean(expectedType, receivedType)) {
|
||||
if (expectedTypes.length === 1 && isExplicable(expectedType) && isCoercible(expectedType, receivedType)) {
|
||||
message += ` with value ${expectedValue}`;
|
||||
}
|
||||
message += `, got ${receivedType} `;
|
||||
@@ -7452,7 +7462,9 @@ function getInvalidTypeMessage(name, value, expectedTypes) {
|
||||
return message;
|
||||
}
|
||||
function styleValue(value, type) {
|
||||
if (type === "String") {
|
||||
if (isSymbol(value)) {
|
||||
return value.toString();
|
||||
} else if (type === "String") {
|
||||
return `"${value}"`;
|
||||
} else if (type === "Number") {
|
||||
return `${Number(value)}`;
|
||||
@@ -7464,8 +7476,11 @@ function isExplicable(type) {
|
||||
const explicitTypes = ["string", "number", "boolean"];
|
||||
return explicitTypes.some((elem) => type.toLowerCase() === elem);
|
||||
}
|
||||
function isBoolean(...args) {
|
||||
return args.some((elem) => elem.toLowerCase() === "boolean");
|
||||
function isCoercible(...args) {
|
||||
return args.every((elem) => {
|
||||
const value = elem.toLowerCase();
|
||||
return value !== "boolean" && value !== "symbol";
|
||||
});
|
||||
}
|
||||
|
||||
const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
||||
@@ -9485,13 +9500,14 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
suspense.isHydrating = false;
|
||||
} else if (!resume) {
|
||||
delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === "out-in";
|
||||
let hasUpdatedAnchor = false;
|
||||
if (delayEnter) {
|
||||
activeBranch.transition.afterLeave = () => {
|
||||
if (pendingId === suspense.pendingId) {
|
||||
move(
|
||||
pendingBranch,
|
||||
container2,
|
||||
anchor === initialAnchor ? next(activeBranch) : anchor,
|
||||
anchor === initialAnchor && !hasUpdatedAnchor ? next(activeBranch) : anchor,
|
||||
0
|
||||
);
|
||||
queuePostFlushCb(effects);
|
||||
@@ -9504,6 +9520,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
||||
if (activeBranch && !suspense.isFallbackMountPending) {
|
||||
if (parentNode(activeBranch.el) === container2) {
|
||||
anchor = next(activeBranch);
|
||||
hasUpdatedAnchor = true;
|
||||
}
|
||||
unmount(activeBranch, parentComponent2, suspense, true);
|
||||
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
||||
@@ -10810,7 +10827,7 @@ function isMemoSame(cached, memo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const version = "3.5.33";
|
||||
const version = "3.5.34";
|
||||
const warn = warn$1 ;
|
||||
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
||||
const devtools = devtools$1 ;
|
||||
|
||||
Reference in New Issue
Block a user