🌱 🏗️ ⬆️ ✨add expense table 🎨 🔧
This commit is contained in:
154
node_modules/vue/dist/vue.global.js
generated
vendored
154
node_modules/vue/dist/vue.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
|
||||
**/
|
||||
@@ -399,6 +399,10 @@ var Vue = (function (exports) {
|
||||
* @internal
|
||||
*/
|
||||
this._active = true;
|
||||
/**
|
||||
* @internal track `on` calls, allow `on` call multiple times
|
||||
*/
|
||||
this._on = 0;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
@@ -469,14 +473,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) {
|
||||
@@ -558,7 +568,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();
|
||||
@@ -598,7 +608,7 @@ var Vue = (function (exports) {
|
||||
cleanupDeps(this);
|
||||
activeSub = prevEffect;
|
||||
shouldTrack = prevShouldTrack;
|
||||
this.flags &= ~2;
|
||||
this.flags &= -3;
|
||||
}
|
||||
}
|
||||
stop() {
|
||||
@@ -609,7 +619,7 @@ var Vue = (function (exports) {
|
||||
this.deps = this.depsTail = void 0;
|
||||
cleanupEffect(this);
|
||||
this.onStop && this.onStop();
|
||||
this.flags &= ~1;
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
trigger() {
|
||||
@@ -659,7 +669,7 @@ var Vue = (function (exports) {
|
||||
while (e) {
|
||||
const next = e.next;
|
||||
e.next = void 0;
|
||||
e.flags &= ~8;
|
||||
e.flags &= -9;
|
||||
e = next;
|
||||
}
|
||||
}
|
||||
@@ -670,7 +680,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 {
|
||||
;
|
||||
@@ -726,17 +736,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;
|
||||
@@ -745,6 +754,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++;
|
||||
}
|
||||
@@ -755,7 +765,7 @@ var Vue = (function (exports) {
|
||||
activeSub = prevSub;
|
||||
shouldTrack = prevShouldTrack;
|
||||
cleanupDeps(computed);
|
||||
computed.flags &= ~2;
|
||||
computed.flags &= -3;
|
||||
}
|
||||
}
|
||||
function removeSub(link, soft = false) {
|
||||
@@ -774,7 +784,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);
|
||||
}
|
||||
@@ -1707,14 +1717,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
|
||||
@@ -2558,11 +2568,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2587,10 +2597,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;
|
||||
@@ -2626,7 +2636,7 @@ var Vue = (function (exports) {
|
||||
for (; flushIndex < queue.length; flushIndex++) {
|
||||
const job = queue[flushIndex];
|
||||
if (job) {
|
||||
job.flags &= ~1;
|
||||
job.flags &= -2;
|
||||
}
|
||||
}
|
||||
flushIndex = -1;
|
||||
@@ -3115,7 +3125,7 @@ var Vue = (function (exports) {
|
||||
namespace,
|
||||
slotScopeIds
|
||||
);
|
||||
traverseStaticChildren(n1, n2, true);
|
||||
traverseStaticChildren(n1, n2, false);
|
||||
} else if (!optimized) {
|
||||
patchChildren(
|
||||
n1,
|
||||
@@ -4794,6 +4804,9 @@ Server rendered element contains fewer child nodes than client vdom.`
|
||||
{
|
||||
devtoolsComponentAdded(instance2);
|
||||
}
|
||||
{
|
||||
instance2.__keepAliveStorageContainer = storageContainer;
|
||||
}
|
||||
};
|
||||
function unmount(vnode) {
|
||||
resetShapeFlag(vnode);
|
||||
@@ -4881,7 +4894,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;
|
||||
}
|
||||
@@ -4968,8 +4981,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;
|
||||
@@ -5084,14 +5097,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]
|
||||
@@ -6110,11 +6125,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) {
|
||||
@@ -6637,7 +6650,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.`
|
||||
);
|
||||
@@ -6676,7 +6689,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];
|
||||
}
|
||||
}
|
||||
@@ -7362,8 +7375,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);
|
||||
@@ -7925,7 +7938,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();
|
||||
@@ -7958,7 +7977,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;
|
||||
@@ -8070,12 +8091,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;
|
||||
@@ -8171,8 +8207,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) {
|
||||
@@ -8199,6 +8235,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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9516,8 +9555,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;
|
||||
}
|
||||
}
|
||||
@@ -9966,7 +10005,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;
|
||||
@@ -10295,13 +10334,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)) {
|
||||
@@ -10482,7 +10523,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 ;
|
||||
@@ -11281,7 +11322,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") {
|
||||
@@ -11758,6 +11799,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
||||
instance.vnode.el,
|
||||
moveClass
|
||||
)) {
|
||||
prevChildren = [];
|
||||
return;
|
||||
}
|
||||
prevChildren.forEach(callPendingCbs);
|
||||
@@ -11781,6 +11823,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
||||
};
|
||||
el.addEventListener("transitionend", cb);
|
||||
});
|
||||
prevChildren = [];
|
||||
});
|
||||
return () => {
|
||||
const rawProps = toRaw(props);
|
||||
@@ -14417,6 +14460,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
||||
}
|
||||
}
|
||||
let cachedAsArray = false;
|
||||
const slotCacheKeys = [];
|
||||
if (toCache.length === children.length && node.type === 1) {
|
||||
if (node.tagType === 0 && node.codegenNode && node.codegenNode.type === 13 && isArray(node.codegenNode.children)) {
|
||||
node.codegenNode.children = getCacheExpression(
|
||||
@@ -14426,6 +14470,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
||||
} else if (node.tagType === 1 && node.codegenNode && node.codegenNode.type === 13 && node.codegenNode.children && !isArray(node.codegenNode.children) && node.codegenNode.children.type === 15) {
|
||||
const slot = getSlotNode(node.codegenNode, "default");
|
||||
if (slot) {
|
||||
slotCacheKeys.push(context.cached.length);
|
||||
slot.returns = getCacheExpression(
|
||||
createArrayExpression(slot.returns)
|
||||
);
|
||||
@@ -14435,6 +14480,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
||||
const slotName = findDir(node, "slot", true);
|
||||
const slot = slotName && slotName.arg && getSlotNode(parent.codegenNode, slotName.arg);
|
||||
if (slot) {
|
||||
slotCacheKeys.push(context.cached.length);
|
||||
slot.returns = getCacheExpression(
|
||||
createArrayExpression(slot.returns)
|
||||
);
|
||||
@@ -14444,9 +14490,18 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
||||
}
|
||||
if (!cachedAsArray) {
|
||||
for (const child of toCache) {
|
||||
slotCacheKeys.push(context.cached.length);
|
||||
child.codegenNode = context.cache(child.codegenNode);
|
||||
}
|
||||
}
|
||||
if (slotCacheKeys.length && node.type === 1 && node.tagType === 1 && node.codegenNode && node.codegenNode.type === 13 && node.codegenNode.children && !isArray(node.codegenNode.children) && node.codegenNode.children.type === 15) {
|
||||
node.codegenNode.children.properties.push(
|
||||
createObjectProperty(
|
||||
`__`,
|
||||
createSimpleExpression(JSON.stringify(slotCacheKeys), false)
|
||||
)
|
||||
);
|
||||
}
|
||||
function getCacheExpression(value) {
|
||||
const exp = context.cache(value);
|
||||
if (inFor && context.hmr) {
|
||||
@@ -17091,8 +17146,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
||||
context.onError(createCompilerError(44, exp.loc));
|
||||
return createTransformProps();
|
||||
}
|
||||
const maybeRef = false;
|
||||
if (!expString.trim() || !isMemberExpression(exp) && !maybeRef) {
|
||||
if (!expString.trim() || !isMemberExpression(exp) && true) {
|
||||
context.onError(
|
||||
createCompilerError(42, exp.loc)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user