🌱 🏗️ ⬆️ ✨add expense table 🎨 🔧
This commit is contained in:
6
node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js
generated
vendored
6
node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-dom v3.5.13
|
||||
* @vue/runtime-dom v3.5.14
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -739,7 +739,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") {
|
||||
@@ -1228,6 +1228,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
instance.vnode.el,
|
||||
moveClass
|
||||
)) {
|
||||
prevChildren = [];
|
||||
return;
|
||||
}
|
||||
prevChildren.forEach(callPendingCbs);
|
||||
@@ -1251,6 +1252,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
};
|
||||
el.addEventListener("transitionend", cb);
|
||||
});
|
||||
prevChildren = [];
|
||||
});
|
||||
return () => {
|
||||
const rawProps = runtimeCore.toRaw(props);
|
||||
|
||||
6
node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
generated
vendored
6
node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-dom v3.5.13
|
||||
* @vue/runtime-dom v3.5.14
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -708,7 +708,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") {
|
||||
@@ -1135,6 +1135,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
instance.vnode.el,
|
||||
moveClass
|
||||
)) {
|
||||
prevChildren = [];
|
||||
return;
|
||||
}
|
||||
prevChildren.forEach(callPendingCbs);
|
||||
@@ -1158,6 +1159,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
};
|
||||
el.addEventListener("transitionend", cb);
|
||||
});
|
||||
prevChildren = [];
|
||||
});
|
||||
return () => {
|
||||
const rawProps = runtimeCore.toRaw(props);
|
||||
|
||||
3
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts
generated
vendored
3
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts
generated
vendored
@@ -1,4 +1,4 @@
|
||||
import { BaseTransitionProps, FunctionalComponent, ObjectDirective, Directive, App, SetupContext, RenderFunction, ComponentOptions, ComponentObjectPropsOptions, EmitsOptions, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentInjectOptions, SlotsType, Component, ComponentProvideOptions, ExtractPropTypes, EmitsToProps, ComponentOptionsBase, CreateComponentPublicInstanceWithMixins, ComponentPublicInstance, DefineComponent, ComponentCustomElementInterface, CreateAppFunction, ConcreteComponent, VNodeRef, RootRenderFunction, RootHydrateFunction } from '@vue/runtime-core';
|
||||
import { BaseTransitionProps, FunctionalComponent, ObjectDirective, Directive, SetupContext, RenderFunction, ComponentOptions, App, ComponentCustomElementInterface, ConcreteComponent, CreateAppFunction, ComponentObjectPropsOptions, EmitsOptions, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentInjectOptions, SlotsType, Component, ComponentProvideOptions, ExtractPropTypes, EmitsToProps, ComponentOptionsBase, CreateComponentPublicInstanceWithMixins, ComponentPublicInstance, DefineComponent, VNodeRef, RootRenderFunction, RootHydrateFunction } from '@vue/runtime-core';
|
||||
export * from '@vue/runtime-core';
|
||||
import * as CSS from 'csstype';
|
||||
|
||||
@@ -1393,3 +1393,4 @@ export declare const hydrate: RootHydrateFunction;
|
||||
export declare const createApp: CreateAppFunction<Element>;
|
||||
export declare const createSSRApp: CreateAppFunction<Element>;
|
||||
|
||||
|
||||
|
||||
139
node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js
generated
vendored
139
node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-dom v3.5.13
|
||||
* @vue/runtime-dom 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);
|
||||
|
||||
5
node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js
generated
vendored
5
node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
10
node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
generated
vendored
10
node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
generated
vendored
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
* @vue/runtime-dom v3.5.13
|
||||
* @vue/runtime-dom v3.5.14
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
import { warn, h, BaseTransition, assertNumber, BaseTransitionPropsValidators, getCurrentInstance, onBeforeUpdate, queuePostFlushCb, onMounted, watch, onUnmounted, Fragment, Static, camelize, callWithAsyncErrorHandling, defineComponent, nextTick, unref, createVNode, useTransitionState, onUpdated, toRaw, getTransitionRawChildren, setTransitionHooks, resolveTransitionHooks, Text, isRuntimeOnly, createRenderer, createHydrationRenderer } from '@vue/runtime-core';
|
||||
import { warn, BaseTransitionPropsValidators, h, BaseTransition, assertNumber, getCurrentInstance, onBeforeUpdate, queuePostFlushCb, onMounted, watch, onUnmounted, Fragment, Static, camelize, callWithAsyncErrorHandling, defineComponent, nextTick, unref, createVNode, useTransitionState, onUpdated, toRaw, getTransitionRawChildren, setTransitionHooks, resolveTransitionHooks, Text, createRenderer, createHydrationRenderer, isRuntimeOnly } from '@vue/runtime-core';
|
||||
export * from '@vue/runtime-core';
|
||||
import { extend, isObject, toNumber, isArray, NOOP, isString, hyphenate, capitalize, includeBooleanAttr, isSymbol, isSpecialBooleanAttr, isFunction, isOn, isModelListener, camelize as camelize$1, isPlainObject, hasOwn, EMPTY_OBJ, looseToNumber, looseIndexOf, isSet, looseEqual, invokeArrayFns, isHTMLTag, isSVGTag, isMathMLTag } from '@vue/shared';
|
||||
import { extend, isObject, toNumber, isArray, NOOP, isString, hyphenate, capitalize, isSpecialBooleanAttr, includeBooleanAttr, isSymbol, isFunction, isOn, isModelListener, camelize as camelize$1, isPlainObject, hasOwn, EMPTY_OBJ, looseToNumber, looseIndexOf, isSet, looseEqual, invokeArrayFns, isHTMLTag, isSVGTag, isMathMLTag } from '@vue/shared';
|
||||
|
||||
let policy = void 0;
|
||||
const tt = typeof window !== "undefined" && window.trustedTypes;
|
||||
@@ -803,7 +803,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") {
|
||||
@@ -1292,6 +1292,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
instance.vnode.el,
|
||||
moveClass
|
||||
)) {
|
||||
prevChildren = [];
|
||||
return;
|
||||
}
|
||||
prevChildren.forEach(callPendingCbs);
|
||||
@@ -1315,6 +1316,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
||||
};
|
||||
el.addEventListener("transitionend", cb);
|
||||
});
|
||||
prevChildren = [];
|
||||
});
|
||||
return () => {
|
||||
const rawProps = toRaw(props);
|
||||
|
||||
139
node_modules/@vue/runtime-dom/dist/runtime-dom.global.js
generated
vendored
139
node_modules/@vue/runtime-dom/dist/runtime-dom.global.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @vue/runtime-dom v3.5.13
|
||||
* @vue/runtime-dom v3.5.14
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
@@ -326,6 +326,10 @@ var VueRuntimeDOM = (function (exports) {
|
||||
* @internal
|
||||
*/
|
||||
this._active = true;
|
||||
/**
|
||||
* @internal track `on` calls, allow `on` call multiple times
|
||||
*/
|
||||
this._on = 0;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
@@ -396,14 +400,20 @@ var VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (function (exports) {
|
||||
cleanupDeps(this);
|
||||
activeSub = prevEffect;
|
||||
shouldTrack = prevShouldTrack;
|
||||
this.flags &= ~2;
|
||||
this.flags &= -3;
|
||||
}
|
||||
}
|
||||
stop() {
|
||||
@@ -536,7 +546,7 @@ var VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (function (exports) {
|
||||
activeSub = prevSub;
|
||||
shouldTrack = prevShouldTrack;
|
||||
cleanupDeps(computed);
|
||||
computed.flags &= ~2;
|
||||
computed.flags &= -3;
|
||||
}
|
||||
}
|
||||
function removeSub(link, soft = false) {
|
||||
@@ -701,7 +711,7 @@ var VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (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 VueRuntimeDOM = (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);
|
||||
|
||||
5
node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js
generated
vendored
5
node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
8
node_modules/@vue/runtime-dom/package.json
generated
vendored
8
node_modules/@vue/runtime-dom/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vue/runtime-dom",
|
||||
"version": "3.5.13",
|
||||
"version": "3.5.14",
|
||||
"description": "@vue/runtime-dom",
|
||||
"main": "index.js",
|
||||
"module": "dist/runtime-dom.esm-bundler.js",
|
||||
@@ -50,9 +50,9 @@
|
||||
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
|
||||
"dependencies": {
|
||||
"csstype": "^3.1.3",
|
||||
"@vue/shared": "3.5.13",
|
||||
"@vue/runtime-core": "3.5.13",
|
||||
"@vue/reactivity": "3.5.13"
|
||||
"@vue/runtime-core": "3.5.14",
|
||||
"@vue/shared": "3.5.14",
|
||||
"@vue/reactivity": "3.5.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/trusted-types": "^2.0.7"
|
||||
|
||||
Reference in New Issue
Block a user