🌱 🏗️ ⬆️ ✨add expense table 🎨 🔧
This commit is contained in:
139
node_modules/vue/dist/vue.runtime.global.js
generated
vendored
139
node_modules/vue/dist/vue.runtime.global.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* vue v3.5.13
|
||||
* vue v3.5.14
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -326,6 +326,10 @@ var Vue = (function (exports) {
|
||||
* @internal
|
||||
*/
|
||||
this._active = true;
|
||||
/**
|
||||
* @internal track `on` calls, allow `on` call multiple times
|
||||
*/
|
||||
this._on = 0;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
@@ -396,14 +400,20 @@ var Vue = (function (exports) {
|
||||
* @internal
|
||||
*/
|
||||
on() {
|
||||
activeEffectScope = this;
|
||||
if (++this._on === 1) {
|
||||
this.prevScope = activeEffectScope;
|
||||
activeEffectScope = this;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* This should only be called on non-detached scopes
|
||||
* @internal
|
||||
*/
|
||||
off() {
|
||||
activeEffectScope = this.parent;
|
||||
if (this._on > 0 && --this._on === 0) {
|
||||
activeEffectScope = this.prevScope;
|
||||
this.prevScope = void 0;
|
||||
}
|
||||
}
|
||||
stop(fromParent) {
|
||||
if (this._active) {
|
||||
@@ -485,7 +495,7 @@ var Vue = (function (exports) {
|
||||
}
|
||||
resume() {
|
||||
if (this.flags & 64) {
|
||||
this.flags &= ~64;
|
||||
this.flags &= -65;
|
||||
if (pausedQueueEffects.has(this)) {
|
||||
pausedQueueEffects.delete(this);
|
||||
this.trigger();
|
||||
@@ -525,7 +535,7 @@ var Vue = (function (exports) {
|
||||
cleanupDeps(this);
|
||||
activeSub = prevEffect;
|
||||
shouldTrack = prevShouldTrack;
|
||||
this.flags &= ~2;
|
||||
this.flags &= -3;
|
||||
}
|
||||
}
|
||||
stop() {
|
||||
@@ -536,7 +546,7 @@ var Vue = (function (exports) {
|
||||
this.deps = this.depsTail = void 0;
|
||||
cleanupEffect(this);
|
||||
this.onStop && this.onStop();
|
||||
this.flags &= ~1;
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
trigger() {
|
||||
@@ -586,7 +596,7 @@ var Vue = (function (exports) {
|
||||
while (e) {
|
||||
const next = e.next;
|
||||
e.next = void 0;
|
||||
e.flags &= ~8;
|
||||
e.flags &= -9;
|
||||
e = next;
|
||||
}
|
||||
}
|
||||
@@ -597,7 +607,7 @@ var Vue = (function (exports) {
|
||||
while (e) {
|
||||
const next = e.next;
|
||||
e.next = void 0;
|
||||
e.flags &= ~8;
|
||||
e.flags &= -9;
|
||||
if (e.flags & 1) {
|
||||
try {
|
||||
;
|
||||
@@ -653,17 +663,16 @@ var Vue = (function (exports) {
|
||||
if (computed.flags & 4 && !(computed.flags & 16)) {
|
||||
return;
|
||||
}
|
||||
computed.flags &= ~16;
|
||||
computed.flags &= -17;
|
||||
if (computed.globalVersion === globalVersion) {
|
||||
return;
|
||||
}
|
||||
computed.globalVersion = globalVersion;
|
||||
const dep = computed.dep;
|
||||
computed.flags |= 2;
|
||||
if (dep.version > 0 && !computed.isSSR && computed.deps && !isDirty(computed)) {
|
||||
computed.flags &= ~2;
|
||||
if (!computed.isSSR && computed.flags & 128 && (!computed.deps && !computed._dirty || !isDirty(computed))) {
|
||||
return;
|
||||
}
|
||||
computed.flags |= 2;
|
||||
const dep = computed.dep;
|
||||
const prevSub = activeSub;
|
||||
const prevShouldTrack = shouldTrack;
|
||||
activeSub = computed;
|
||||
@@ -672,6 +681,7 @@ var Vue = (function (exports) {
|
||||
prepareDeps(computed);
|
||||
const value = computed.fn(computed._value);
|
||||
if (dep.version === 0 || hasChanged(value, computed._value)) {
|
||||
computed.flags |= 128;
|
||||
computed._value = value;
|
||||
dep.version++;
|
||||
}
|
||||
@@ -682,7 +692,7 @@ var Vue = (function (exports) {
|
||||
activeSub = prevSub;
|
||||
shouldTrack = prevShouldTrack;
|
||||
cleanupDeps(computed);
|
||||
computed.flags &= ~2;
|
||||
computed.flags &= -3;
|
||||
}
|
||||
}
|
||||
function removeSub(link, soft = false) {
|
||||
@@ -701,7 +711,7 @@ var Vue = (function (exports) {
|
||||
if (dep.subs === link) {
|
||||
dep.subs = prevSub;
|
||||
if (!prevSub && dep.computed) {
|
||||
dep.computed.flags &= ~4;
|
||||
dep.computed.flags &= -5;
|
||||
for (let l = dep.computed.deps; l; l = l.nextDep) {
|
||||
removeSub(l, true);
|
||||
}
|
||||
@@ -1634,14 +1644,14 @@ var Vue = (function (exports) {
|
||||
if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
|
||||
return target;
|
||||
}
|
||||
const existingProxy = proxyMap.get(target);
|
||||
if (existingProxy) {
|
||||
return existingProxy;
|
||||
}
|
||||
const targetType = getTargetType(target);
|
||||
if (targetType === 0 /* INVALID */) {
|
||||
return target;
|
||||
}
|
||||
const existingProxy = proxyMap.get(target);
|
||||
if (existingProxy) {
|
||||
return existingProxy;
|
||||
}
|
||||
const proxy = new Proxy(
|
||||
target,
|
||||
targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers
|
||||
@@ -2485,11 +2495,11 @@ var Vue = (function (exports) {
|
||||
queue.splice(i, 1);
|
||||
i--;
|
||||
if (cb.flags & 4) {
|
||||
cb.flags &= ~1;
|
||||
cb.flags &= -2;
|
||||
}
|
||||
cb();
|
||||
if (!(cb.flags & 4)) {
|
||||
cb.flags &= ~1;
|
||||
cb.flags &= -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2514,10 +2524,10 @@ var Vue = (function (exports) {
|
||||
continue;
|
||||
}
|
||||
if (cb.flags & 4) {
|
||||
cb.flags &= ~1;
|
||||
cb.flags &= -2;
|
||||
}
|
||||
if (!(cb.flags & 8)) cb();
|
||||
cb.flags &= ~1;
|
||||
cb.flags &= -2;
|
||||
}
|
||||
activePostFlushCbs = null;
|
||||
postFlushIndex = 0;
|
||||
@@ -2553,7 +2563,7 @@ var Vue = (function (exports) {
|
||||
for (; flushIndex < queue.length; flushIndex++) {
|
||||
const job = queue[flushIndex];
|
||||
if (job) {
|
||||
job.flags &= ~1;
|
||||
job.flags &= -2;
|
||||
}
|
||||
}
|
||||
flushIndex = -1;
|
||||
@@ -3042,7 +3052,7 @@ var Vue = (function (exports) {
|
||||
namespace,
|
||||
slotScopeIds
|
||||
);
|
||||
traverseStaticChildren(n1, n2, true);
|
||||
traverseStaticChildren(n1, n2, false);
|
||||
} else if (!optimized) {
|
||||
patchChildren(
|
||||
n1,
|
||||
@@ -4721,6 +4731,9 @@ Server rendered element contains fewer child nodes than client vdom.`
|
||||
{
|
||||
devtoolsComponentAdded(instance2);
|
||||
}
|
||||
{
|
||||
instance2.__keepAliveStorageContainer = storageContainer;
|
||||
}
|
||||
};
|
||||
function unmount(vnode) {
|
||||
resetShapeFlag(vnode);
|
||||
@@ -4808,7 +4821,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
||||
);
|
||||
const { include, exclude, max } = props;
|
||||
if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {
|
||||
vnode.shapeFlag &= ~256;
|
||||
vnode.shapeFlag &= -257;
|
||||
current = vnode;
|
||||
return rawVNode;
|
||||
}
|
||||
@@ -4895,8 +4908,8 @@ Server rendered element contains fewer child nodes than client vdom.`
|
||||
}, target);
|
||||
}
|
||||
function resetShapeFlag(vnode) {
|
||||
vnode.shapeFlag &= ~256;
|
||||
vnode.shapeFlag &= ~512;
|
||||
vnode.shapeFlag &= -257;
|
||||
vnode.shapeFlag &= -513;
|
||||
}
|
||||
function getInnerChild(vnode) {
|
||||
return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;
|
||||
@@ -5011,14 +5024,16 @@ If this is a native custom element, make sure to exclude it from component resol
|
||||
if (sourceIsArray || isString(source)) {
|
||||
const sourceIsReactiveArray = sourceIsArray && isReactive(source);
|
||||
let needsWrap = false;
|
||||
let isReadonlySource = false;
|
||||
if (sourceIsReactiveArray) {
|
||||
needsWrap = !isShallow(source);
|
||||
isReadonlySource = isReadonly(source);
|
||||
source = shallowReadArray(source);
|
||||
}
|
||||
ret = new Array(source.length);
|
||||
for (let i = 0, l = source.length; i < l; i++) {
|
||||
ret[i] = renderItem(
|
||||
needsWrap ? toReactive(source[i]) : source[i],
|
||||
needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i])) : toReactive(source[i]) : source[i],
|
||||
i,
|
||||
void 0,
|
||||
cached && cached[i]
|
||||
@@ -6037,11 +6052,9 @@ If this is a native custom element, make sure to exclude it from component resol
|
||||
}
|
||||
{
|
||||
context.reload = () => {
|
||||
render(
|
||||
cloneVNode(vnode),
|
||||
rootContainer,
|
||||
namespace
|
||||
);
|
||||
const cloned = cloneVNode(vnode);
|
||||
cloned.el = null;
|
||||
render(cloned, rootContainer, namespace);
|
||||
};
|
||||
}
|
||||
if (isHydrate && hydrate) {
|
||||
@@ -6564,7 +6577,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
return rawSlot;
|
||||
}
|
||||
const normalized = withCtx((...args) => {
|
||||
if (currentInstance && (!ctx || ctx.root === currentInstance.root)) {
|
||||
if (currentInstance && !(ctx === null && currentRenderingInstance) && !(ctx && ctx.root !== currentInstance.root)) {
|
||||
warn$1(
|
||||
`Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
||||
);
|
||||
@@ -6603,7 +6616,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
};
|
||||
const assignSlots = (slots, children, optimized) => {
|
||||
for (const key in children) {
|
||||
if (optimized || key !== "_") {
|
||||
if (optimized || !isInternalKey(key)) {
|
||||
slots[key] = children[key];
|
||||
}
|
||||
}
|
||||
@@ -7289,8 +7302,8 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
endMeasure(instance, `init`);
|
||||
}
|
||||
}
|
||||
if (isHmrUpdating) initialVNode.el = null;
|
||||
if (instance.asyncDep) {
|
||||
if (isHmrUpdating) initialVNode.el = null;
|
||||
parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
|
||||
if (!initialVNode.el) {
|
||||
const placeholder = instance.subTree = createVNode(Comment);
|
||||
@@ -7852,7 +7865,13 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
queuePostRenderEffect(() => transition.enter(el), parentSuspense);
|
||||
} else {
|
||||
const { leave, delayLeave, afterLeave } = transition;
|
||||
const remove2 = () => hostInsert(el, container, anchor);
|
||||
const remove2 = () => {
|
||||
if (vnode.ctx.isUnmounted) {
|
||||
hostRemove(el);
|
||||
} else {
|
||||
hostInsert(el, container, anchor);
|
||||
}
|
||||
};
|
||||
const performLeave = () => {
|
||||
leave(el, () => {
|
||||
remove2();
|
||||
@@ -7885,7 +7904,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
optimized = false;
|
||||
}
|
||||
if (ref != null) {
|
||||
pauseTracking();
|
||||
setRef(ref, null, parentSuspense, vnode, true);
|
||||
resetTracking();
|
||||
}
|
||||
if (cacheIndex != null) {
|
||||
parentComponent.renderCache[cacheIndex] = void 0;
|
||||
@@ -7997,12 +8018,27 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
if (instance.type.__hmrId) {
|
||||
unregisterHMR(instance);
|
||||
}
|
||||
const { bum, scope, job, subTree, um, m, a } = instance;
|
||||
const {
|
||||
bum,
|
||||
scope,
|
||||
job,
|
||||
subTree,
|
||||
um,
|
||||
m,
|
||||
a,
|
||||
parent,
|
||||
slots: { __: slotCacheKeys }
|
||||
} = instance;
|
||||
invalidateMount(m);
|
||||
invalidateMount(a);
|
||||
if (bum) {
|
||||
invokeArrayFns(bum);
|
||||
}
|
||||
if (parent && isArray(slotCacheKeys)) {
|
||||
slotCacheKeys.forEach((v) => {
|
||||
parent.renderCache[v] = void 0;
|
||||
});
|
||||
}
|
||||
scope.stop();
|
||||
if (job) {
|
||||
job.flags |= 8;
|
||||
@@ -8098,8 +8134,8 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
effect.flags |= 32;
|
||||
job.flags |= 4;
|
||||
} else {
|
||||
effect.flags &= ~32;
|
||||
job.flags &= ~4;
|
||||
effect.flags &= -33;
|
||||
job.flags &= -5;
|
||||
}
|
||||
}
|
||||
function needTransition(parentSuspense, transition) {
|
||||
@@ -8126,6 +8162,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
if (c2.type === Comment && !c2.el) {
|
||||
c2.el = c1.el;
|
||||
}
|
||||
{
|
||||
c2.el && (c2.el.__vnode = c2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9443,8 +9482,8 @@ If you want to remount the same app, move your app creation logic into a factory
|
||||
if (n2.shapeFlag & 6 && n1.component) {
|
||||
const dirtyInstances = hmrDirtyComponents.get(n2.type);
|
||||
if (dirtyInstances && dirtyInstances.has(n1.component)) {
|
||||
n1.shapeFlag &= ~256;
|
||||
n2.shapeFlag &= ~512;
|
||||
n1.shapeFlag &= -257;
|
||||
n2.shapeFlag &= -513;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -9893,7 +9932,7 @@ Component that was made reactive: `,
|
||||
const { props, children } = instance.vnode;
|
||||
const isStateful = isStatefulComponent(instance);
|
||||
initProps(instance, props, isStateful, isSSR);
|
||||
initSlots(instance, children, optimized);
|
||||
initSlots(instance, children, optimized || isSSR);
|
||||
const setupResult = isStateful ? setupStatefulComponent(instance, isSSR) : void 0;
|
||||
isSSR && setInSSRSetupState(false);
|
||||
return setupResult;
|
||||
@@ -10222,13 +10261,15 @@ Component that was made reactive: `,
|
||||
if (obj.__isVue) {
|
||||
return ["div", vueStyle, `VueInstance`];
|
||||
} else if (isRef(obj)) {
|
||||
pauseTracking();
|
||||
const value = obj.value;
|
||||
resetTracking();
|
||||
return [
|
||||
"div",
|
||||
{},
|
||||
["span", vueStyle, genRefFlag(obj)],
|
||||
"<",
|
||||
// avoid debugger accessing value affecting behavior
|
||||
formatValue("_value" in obj ? obj._value : obj),
|
||||
formatValue(value),
|
||||
`>`
|
||||
];
|
||||
} else if (isReactive(obj)) {
|
||||
@@ -10409,7 +10450,7 @@ Component that was made reactive: `,
|
||||
return true;
|
||||
}
|
||||
|
||||
const version = "3.5.13";
|
||||
const version = "3.5.14";
|
||||
const warn = warn$1 ;
|
||||
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
||||
const devtools = devtools$1 ;
|
||||
@@ -11208,7 +11249,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (key === "spellcheck" || key === "draggable" || key === "translate") {
|
||||
if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
|
||||
return false;
|
||||
}
|
||||
if (key === "form") {
|
||||
@@ -11685,6 +11726,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
||||
instance.vnode.el,
|
||||
moveClass
|
||||
)) {
|
||||
prevChildren = [];
|
||||
return;
|
||||
}
|
||||
prevChildren.forEach(callPendingCbs);
|
||||
@@ -11708,6 +11750,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
||||
};
|
||||
el.addEventListener("transitionend", cb);
|
||||
});
|
||||
prevChildren = [];
|
||||
});
|
||||
return () => {
|
||||
const rawProps = toRaw(props);
|
||||
|
||||
Reference in New Issue
Block a user