🌱 🏗️ ⬆️ add expense table 🎨 🔧

This commit is contained in:
2025-05-15 17:45:22 +02:00
parent d17fded423
commit be5225c85d
100 changed files with 6250 additions and 8757 deletions

View File

@@ -1,5 +1,5 @@
/**
* @vue/compiler-dom v3.5.13
* @vue/compiler-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/

View File

@@ -1,5 +1,5 @@
/**
* @vue/compiler-dom v3.5.13
* @vue/compiler-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/

View File

@@ -1,5 +1,5 @@
/**
* @vue/compiler-dom v3.5.13
* @vue/compiler-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
@@ -1669,7 +1669,7 @@ function isForStatement(stmt) {
}
function walkForStatement(stmt, isVar, onIdent) {
const variable = stmt.type === "ForStatement" ? stmt.init : stmt.left;
if (variable && variable.type === "VariableDeclaration" && (variable.kind === "var" ? isVar : !isVar)) {
if (variable && variable.type === "VariableDeclaration" && (variable.kind === "var" ? isVar : false)) {
for (const decl of variable.declarations) {
for (const id of extractIdentifiers(decl.id)) {
onIdent(id);
@@ -2286,7 +2286,7 @@ const tokenizer = new Tokenizer(stack, {
"COMPILER_V_BIND_SYNC",
currentOptions,
currentProp.loc,
currentProp.rawName
currentProp.arg.loc.source
)) {
currentProp.name = "model";
currentProp.modifiers.splice(syncIndex, 1);
@@ -2862,6 +2862,7 @@ function walk(node, parent, context, doNotHoistNode = false, inFor = false) {
}
}
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(
@@ -2871,6 +2872,7 @@ function walk(node, parent, context, doNotHoistNode = false, inFor = false) {
} 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)
);
@@ -2880,6 +2882,7 @@ function walk(node, parent, context, doNotHoistNode = false, inFor = false) {
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)
);
@@ -2889,9 +2892,18 @@ function walk(node, parent, context, doNotHoistNode = false, inFor = false) {
}
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) {
@@ -5620,8 +5632,7 @@ const transformModel$1 = (dir, node, context) => {
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)
);

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,11 @@
/**
* @vue/compiler-dom v3.5.13
* @vue/compiler-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
import { registerRuntimeHelpers, createSimpleExpression, createCompilerError, createObjectProperty, getConstantType, createCallExpression, TO_DISPLAY_STRING, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, findDir, isStaticArgOf, transformOn as transformOn$1, isStaticExp, createCompoundExpression, checkCompatEnabled, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core';
import { registerRuntimeHelpers, createSimpleExpression, createCompilerError, createObjectProperty, createCallExpression, getConstantType, TO_DISPLAY_STRING, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, findDir, isStaticArgOf, transformOn as transformOn$1, isStaticExp, createCompoundExpression, checkCompatEnabled, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core';
export * from '@vue/compiler-core';
import { isVoidTag, isHTMLTag, isSVGTag, isMathMLTag, parseStringStyle, capitalize, makeMap, extend } from '@vue/shared';
import { isHTMLTag, isSVGTag, isMathMLTag, isVoidTag, parseStringStyle, makeMap, capitalize, extend } from '@vue/shared';
const V_MODEL_RADIO = Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelRadio` : ``);
const V_MODEL_CHECKBOX = Symbol(

View File

@@ -1,5 +1,5 @@
/**
* @vue/compiler-dom v3.5.13
* @vue/compiler-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
@@ -1672,7 +1672,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
}
function walkForStatement(stmt, isVar, onIdent) {
const variable = stmt.type === "ForStatement" ? stmt.init : stmt.left;
if (variable && variable.type === "VariableDeclaration" && (variable.kind === "var" ? isVar : !isVar)) {
if (variable && variable.type === "VariableDeclaration" && (variable.kind === "var" ? isVar : false)) {
for (const decl of variable.declarations) {
for (const id of extractIdentifiers(decl.id)) {
onIdent(id);
@@ -2289,7 +2289,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
"COMPILER_V_BIND_SYNC",
currentOptions,
currentProp.loc,
currentProp.rawName
currentProp.arg.loc.source
)) {
currentProp.name = "model";
currentProp.modifiers.splice(syncIndex, 1);
@@ -2865,6 +2865,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(
@@ -2874,6 +2875,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)
);
@@ -2883,6 +2885,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)
);
@@ -2892,9 +2895,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) {
@@ -5623,8 +5635,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)
);

File diff suppressed because one or more lines are too long