🌱 🏗️ ⬆️ ✨add expense table 🎨 🔧
This commit is contained in:
139
node_modules/vue/dist/vue.runtime.esm-browser.js
generated
vendored
139
node_modules/vue/dist/vue.runtime.esm-browser.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
|
||||
**/
|
||||
@@ -323,6 +323,10 @@ class EffectScope {
|
||||
* @internal
|
||||
*/
|
||||
this._active = true;
|
||||
/**
|
||||
* @internal track `on` calls, allow `on` call multiple times
|
||||
*/
|
||||
this._on = 0;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
@@ -393,14 +397,20 @@ class EffectScope {
|
||||
* @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) {
|
||||
@@ -482,7 +492,7 @@ class ReactiveEffect {
|
||||
}
|
||||
resume() {
|
||||
if (this.flags & 64) {
|
||||
this.flags &= ~64;
|
||||
this.flags &= -65;
|
||||
if (pausedQueueEffects.has(this)) {
|
||||
pausedQueueEffects.delete(this);
|
||||
this.trigger();
|
||||
@@ -522,7 +532,7 @@ class ReactiveEffect {
|
||||
cleanupDeps(this);
|
||||
activeSub = prevEffect;
|
||||
shouldTrack = prevShouldTrack;
|
||||
this.flags &= ~2;
|
||||
this.flags &= -3;
|
||||
}
|
||||
}
|
||||
stop() {
|
||||
@@ -533,7 +543,7 @@ class ReactiveEffect {
|
||||
this.deps = this.depsTail = void 0;
|
||||
cleanupEffect(this);
|
||||
this.onStop && this.onStop();
|
||||
this.flags &= ~1;
|
||||
this.flags &= -2;
|
||||
}
|
||||
}
|
||||
trigger() {
|
||||
@@ -583,7 +593,7 @@ function endBatch() {
|
||||
while (e) {
|
||||
const next = e.next;
|
||||
e.next = void 0;
|
||||
e.flags &= ~8;
|
||||
e.flags &= -9;
|
||||
e = next;
|
||||
}
|
||||
}
|
||||
@@ -594,7 +604,7 @@ function endBatch() {
|
||||
while (e) {
|
||||
const next = e.next;
|
||||
e.next = void 0;
|
||||
e.flags &= ~8;
|
||||
e.flags &= -9;
|
||||
if (e.flags & 1) {
|
||||
try {
|
||||
;
|
||||
@@ -650,17 +660,16 @@ function refreshComputed(computed) {
|
||||
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;
|
||||
@@ -669,6 +678,7 @@ function refreshComputed(computed) {
|
||||
prepareDeps(computed);
|
||||
const value = computed.fn(computed._value);
|
||||
if (dep.version === 0 || hasChanged(value, computed._value)) {
|
||||
computed.flags |= 128;
|
||||
computed._value = value;
|
||||
dep.version++;
|
||||
}
|
||||
@@ -679,7 +689,7 @@ function refreshComputed(computed) {
|
||||
activeSub = prevSub;
|
||||
shouldTrack = prevShouldTrack;
|
||||
cleanupDeps(computed);
|
||||
computed.flags &= ~2;
|
||||
computed.flags &= -3;
|
||||
}
|
||||
}
|
||||
function removeSub(link, soft = false) {
|
||||
@@ -698,7 +708,7 @@ function removeSub(link, soft = false) {
|
||||
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);
|
||||
}
|
||||
@@ -1631,14 +1641,14 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl
|
||||
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
|
||||
@@ -2482,11 +2492,11 @@ function flushPreFlushCbs(instance, seen, i = flushIndex + 1) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2511,10 +2521,10 @@ function flushPostFlushCbs(seen) {
|
||||
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;
|
||||
@@ -2550,7 +2560,7 @@ function flushJobs(seen) {
|
||||
for (; flushIndex < queue.length; flushIndex++) {
|
||||
const job = queue[flushIndex];
|
||||
if (job) {
|
||||
job.flags &= ~1;
|
||||
job.flags &= -2;
|
||||
}
|
||||
}
|
||||
flushIndex = -1;
|
||||
@@ -3039,7 +3049,7 @@ const TeleportImpl = {
|
||||
namespace,
|
||||
slotScopeIds
|
||||
);
|
||||
traverseStaticChildren(n1, n2, true);
|
||||
traverseStaticChildren(n1, n2, false);
|
||||
} else if (!optimized) {
|
||||
patchChildren(
|
||||
n1,
|
||||
@@ -4724,6 +4734,9 @@ const KeepAliveImpl = {
|
||||
{
|
||||
devtoolsComponentAdded(instance2);
|
||||
}
|
||||
{
|
||||
instance2.__keepAliveStorageContainer = storageContainer;
|
||||
}
|
||||
};
|
||||
function unmount(vnode) {
|
||||
resetShapeFlag(vnode);
|
||||
@@ -4811,7 +4824,7 @@ const KeepAliveImpl = {
|
||||
);
|
||||
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;
|
||||
}
|
||||
@@ -4898,8 +4911,8 @@ function injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {
|
||||
}, 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;
|
||||
@@ -5014,14 +5027,16 @@ function renderList(source, renderItem, cache, index) {
|
||||
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]
|
||||
@@ -6043,11 +6058,9 @@ function createAppAPI(render, hydrate) {
|
||||
}
|
||||
{
|
||||
context.reload = () => {
|
||||
render(
|
||||
cloneVNode(vnode),
|
||||
rootContainer,
|
||||
namespace
|
||||
);
|
||||
const cloned = cloneVNode(vnode);
|
||||
cloned.el = null;
|
||||
render(cloned, rootContainer, namespace);
|
||||
};
|
||||
}
|
||||
if (isHydrate && hydrate) {
|
||||
@@ -6570,7 +6583,7 @@ const normalizeSlot = (key, rawSlot, ctx) => {
|
||||
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.`
|
||||
);
|
||||
@@ -6609,7 +6622,7 @@ const normalizeVNodeSlots = (instance, children) => {
|
||||
};
|
||||
const assignSlots = (slots, children, optimized) => {
|
||||
for (const key in children) {
|
||||
if (optimized || key !== "_") {
|
||||
if (optimized || !isInternalKey(key)) {
|
||||
slots[key] = children[key];
|
||||
}
|
||||
}
|
||||
@@ -7295,8 +7308,8 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
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);
|
||||
@@ -7858,7 +7871,13 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
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();
|
||||
@@ -7891,7 +7910,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
optimized = false;
|
||||
}
|
||||
if (ref != null) {
|
||||
pauseTracking();
|
||||
setRef(ref, null, parentSuspense, vnode, true);
|
||||
resetTracking();
|
||||
}
|
||||
if (cacheIndex != null) {
|
||||
parentComponent.renderCache[cacheIndex] = void 0;
|
||||
@@ -8003,12 +8024,27 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
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;
|
||||
@@ -8104,8 +8140,8 @@ function toggleRecurse({ effect, job }, allowed) {
|
||||
effect.flags |= 32;
|
||||
job.flags |= 4;
|
||||
} else {
|
||||
effect.flags &= ~32;
|
||||
job.flags &= ~4;
|
||||
effect.flags &= -33;
|
||||
job.flags &= -5;
|
||||
}
|
||||
}
|
||||
function needTransition(parentSuspense, transition) {
|
||||
@@ -8132,6 +8168,9 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
||||
if (c2.type === Comment && !c2.el) {
|
||||
c2.el = c1.el;
|
||||
}
|
||||
{
|
||||
c2.el && (c2.el.__vnode = c2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9477,8 +9516,8 @@ function isSameVNodeType(n1, n2) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -9939,7 +9978,7 @@ function setupComponent(instance, isSSR = false, optimized = false) {
|
||||
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;
|
||||
@@ -10270,13 +10309,15 @@ function initCustomFormatter() {
|
||||
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)) {
|
||||
@@ -10457,7 +10498,7 @@ function isMemoSame(cached, memo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const version = "3.5.13";
|
||||
const version = "3.5.14";
|
||||
const warn = warn$1 ;
|
||||
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
||||
const devtools = devtools$1 ;
|
||||
@@ -11275,7 +11316,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (key === "spellcheck" || key === "draggable" || key === "translate") {
|
||||
if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
|
||||
return false;
|
||||
}
|
||||
if (key === "form") {
|
||||
@@ -11764,6 +11805,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
instance.vnode.el,
|
||||
moveClass
|
||||
)) {
|
||||
prevChildren = [];
|
||||
return;
|
||||
}
|
||||
prevChildren.forEach(callPendingCbs);
|
||||
@@ -11787,6 +11829,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
};
|
||||
el.addEventListener("transitionend", cb);
|
||||
});
|
||||
prevChildren = [];
|
||||
});
|
||||
return () => {
|
||||
const rawProps = toRaw(props);
|
||||
|
||||
Reference in New Issue
Block a user