This commit is contained in:
kl3z00
2026-05-22 11:19:55 +01:00
parent 94f4f46395
commit fd53e3f4fb
113 changed files with 493 additions and 210 deletions
File diff suppressed because one or more lines are too long
@@ -1901,7 +1901,7 @@ var OutletInjector = class {
this.parent = parent;
this.outletData = outletData;
}
get(token, notFoundValue) {
get(token, notfoundValue) {
if (token === ActivatedRoute) {
return this.route;
}
@@ -1911,7 +1911,7 @@ var OutletInjector = class {
if (token === ROUTER_OUTLET_DATA) {
return this.outletData;
}
return this.parent.get(token, notFoundValue);
return this.parent.get(token, notfoundValue);
}
};
var INPUT_BINDER = new InjectionToken(typeof ngDevMode !== "undefined" && ngDevMode ? "Router Input Binder" : "");
File diff suppressed because one or more lines are too long
@@ -1,37 +1,37 @@
{
"hash": "25b88001",
"configHash": "66ca9af7",
"hash": "b7f5cb4f",
"configHash": "a53809ec",
"lockfileHash": "1ab722c3",
"browserHash": "9375a691",
"browserHash": "161d14eb",
"optimized": {
"@angular/common": {
"src": "../../../../../../node_modules/@angular/common/fesm2022/common.mjs",
"file": "@angular_common.js",
"fileHash": "e03733df",
"fileHash": "142edf3d",
"needsInterop": false
},
"@angular/core": {
"src": "../../../../../../node_modules/@angular/core/fesm2022/core.mjs",
"file": "@angular_core.js",
"fileHash": "d3b020c4",
"fileHash": "df170a94",
"needsInterop": false
},
"@angular/core/rxjs-interop": {
"src": "../../../../../../node_modules/@angular/core/fesm2022/rxjs-interop.mjs",
"file": "@angular_core_rxjs-interop.js",
"fileHash": "e7776fa0",
"fileHash": "869475bd",
"needsInterop": false
},
"@angular/platform-browser": {
"src": "../../../../../../node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs",
"file": "@angular_platform-browser.js",
"fileHash": "6eedb8c4",
"fileHash": "6e8ad9e1",
"needsInterop": false
},
"@angular/router": {
"src": "../../../../../../node_modules/@angular/router/fesm2022/router.mjs",
"file": "@angular_router.js",
"fileHash": "8cf9a58c",
"fileHash": "eab0ece7",
"needsInterop": false
}
},
@@ -1842,7 +1842,7 @@ var HttpStatusCode;
HttpStatusCode2[HttpStatusCode2["Unauthorized"] = 401] = "Unauthorized";
HttpStatusCode2[HttpStatusCode2["PaymentRequired"] = 402] = "PaymentRequired";
HttpStatusCode2[HttpStatusCode2["Forbidden"] = 403] = "Forbidden";
HttpStatusCode2[HttpStatusCode2["NotFound"] = 404] = "NotFound";
HttpStatusCode2[HttpStatusCode2["notfound"] = 404] = "notfound";
HttpStatusCode2[HttpStatusCode2["MethodNotAllowed"] = 405] = "MethodNotAllowed";
HttpStatusCode2[HttpStatusCode2["NotAcceptable"] = 406] = "NotAcceptable";
HttpStatusCode2[HttpStatusCode2["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
File diff suppressed because one or more lines are too long
@@ -2374,7 +2374,7 @@ var NgSwitchCase = class _NgSwitchCase {
constructor(viewContainer, templateRef, ngSwitch) {
this.ngSwitch = ngSwitch;
if ((typeof ngDevMode === "undefined" || ngDevMode) && !ngSwitch) {
throwNgSwitchProviderNotFoundError("ngSwitchCase", "NgSwitchCase");
throwNgSwitchProvidernotfoundError("ngSwitchCase", "NgSwitchCase");
}
ngSwitch._addCase();
this._view = new SwitchView(viewContainer, templateRef);
@@ -2419,7 +2419,7 @@ var NgSwitchCase = class _NgSwitchCase {
var NgSwitchDefault = class _NgSwitchDefault {
constructor(viewContainer, templateRef, ngSwitch) {
if ((typeof ngDevMode === "undefined" || ngDevMode) && !ngSwitch) {
throwNgSwitchProviderNotFoundError("ngSwitchDefault", "NgSwitchDefault");
throwNgSwitchProvidernotfoundError("ngSwitchDefault", "NgSwitchDefault");
}
ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
}
@@ -2450,7 +2450,7 @@ var NgSwitchDefault = class _NgSwitchDefault {
}]
}], null);
})();
function throwNgSwitchProviderNotFoundError(attrName, directiveName) {
function throwNgSwitchProvidernotfoundError(attrName, directiveName) {
throw new RuntimeError(2e3, `An element with the "${attrName}" attribute (matching the "${directiveName}" directive) must be located inside an element with the "ngSwitch" attribute (matching "NgSwitch" directive)`);
}
var NgPlural = class _NgPlural {
File diff suppressed because one or more lines are too long
@@ -274,7 +274,7 @@ import {
stringify,
stringifyForError,
throwError2 as throwError,
throwProviderNotFoundError,
throwProvidernotfoundError,
unwrapLView,
unwrapRNode,
updateAncestorTraversalFlagsOnAttach,
@@ -1154,33 +1154,33 @@ function injectAttributeImpl(tNode, attrNameToInject) {
}
return null;
}
function notFoundValueOrThrow(notFoundValue, token, flags) {
if (flags & 8 || notFoundValue !== void 0) {
return notFoundValue;
function notfoundValueOrThrow(notfoundValue, token, flags) {
if (flags & 8 || notfoundValue !== void 0) {
return notfoundValue;
} else {
throwProviderNotFoundError(token, "NodeInjector");
throwProvidernotfoundError(token, "NodeInjector");
}
}
function lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {
if (flags & 8 && notFoundValue === void 0) {
notFoundValue = null;
function lookupTokenUsingModuleInjector(lView, token, flags, notfoundValue) {
if (flags & 8 && notfoundValue === void 0) {
notfoundValue = null;
}
if ((flags & (2 | 1)) === 0) {
const moduleInjector = lView[INJECTOR];
const previousInjectImplementation = setInjectImplementation(void 0);
try {
if (moduleInjector) {
return moduleInjector.get(token, notFoundValue, flags & 8);
return moduleInjector.get(token, notfoundValue, flags & 8);
} else {
return injectRootLimpMode(token, notFoundValue, flags & 8);
return injectRootLimpMode(token, notfoundValue, flags & 8);
}
} finally {
setInjectImplementation(previousInjectImplementation);
}
}
return notFoundValueOrThrow(notFoundValue, token, flags);
return notfoundValueOrThrow(notfoundValue, token, flags);
}
function getOrCreateInjectable(tNode, lView, token, flags = 0, notFoundValue) {
function getOrCreateInjectable(tNode, lView, token, flags = 0, notfoundValue) {
if (tNode !== null) {
if (lView[FLAGS] & 2048 && !(flags & 2)) {
const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND);
@@ -1193,13 +1193,13 @@ function getOrCreateInjectable(tNode, lView, token, flags = 0, notFoundValue) {
return value;
}
}
return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);
return lookupTokenUsingModuleInjector(lView, token, flags, notfoundValue);
}
function lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) {
function lookupTokenUsingNodeInjector(tNode, lView, token, flags, notfoundValue) {
const bloomHash = bloomHashBitOrFactory(token);
if (typeof bloomHash === "function") {
if (!enterDI(lView, tNode, flags)) {
return flags & 1 ? notFoundValueOrThrow(notFoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);
return flags & 1 ? notfoundValueOrThrow(notfoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notfoundValue);
}
try {
let value;
@@ -1213,7 +1213,7 @@ function lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue)
value = bloomHash(flags);
}
if (value == null && !(flags & 8)) {
throwProviderNotFoundError(token);
throwProvidernotfoundError(token);
} else {
return value;
}
@@ -1255,7 +1255,7 @@ function lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue)
}
}
}
return notFoundValue;
return notfoundValue;
}
function searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {
const currentTView = lView[TVIEW];
@@ -1379,8 +1379,8 @@ var NodeInjector = class {
this._tNode = _tNode;
this._lView = _lView;
}
get(token, notFoundValue, flags) {
return getOrCreateInjectable(this._tNode, this._lView, token, convertToBitFlags(flags), notFoundValue);
get(token, notfoundValue, flags) {
return getOrCreateInjectable(this._tNode, this._lView, token, convertToBitFlags(flags), notfoundValue);
}
};
function createNodeInjector() {
@@ -1411,7 +1411,7 @@ function getFactoryOf(type) {
}
return getFactoryDef(type);
}
function lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) {
function lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notfoundValue) {
let currentTNode = tNode;
let currentLView = lView;
while (currentTNode !== null && currentLView !== null && currentLView[FLAGS] & 2048 && !isRootView(currentLView)) {
@@ -1434,7 +1434,7 @@ function lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundVa
}
currentTNode = parentTNode;
}
return notFoundValue;
return notfoundValue;
}
function getTNodeFromLView(lView) {
const tView = lView[TVIEW];
@@ -6537,7 +6537,7 @@ function validateNodeExists(node, lView = null, tNode = null) {
${footer}`);
}
}
function nodeNotFoundError(lView, tNode) {
function nodenotfoundError(lView, tNode) {
const header = "During serialization, Angular was unable to find an element in the DOM:\n\n";
const expected = `${describeExpectedDom(lView, tNode, false)}
@@ -6545,7 +6545,7 @@ function nodeNotFoundError(lView, tNode) {
const footer = getHydrationErrorFooter();
throw new RuntimeError(-502, header + expected + footer);
}
function nodeNotFoundAtPathError(host, path) {
function nodenotfoundAtPathError(host, path) {
const header = `During hydration Angular was unable to locate a node using the "${path}" path, starting from the ${describeRNode(host)} node.
`;
@@ -7097,7 +7097,7 @@ function navigateToNode(from, instructions) {
const repeat = instructions[i + 1];
for (let r = 0; r < repeat; r++) {
if (ngDevMode && !node) {
throw nodeNotFoundAtPathError(from, stringifyNavigationInstructions(instructions));
throw nodenotfoundAtPathError(from, stringifyNavigationInstructions(instructions));
}
switch (step) {
case NODE_NAVIGATION_STEP_FIRST_CHILD:
@@ -7110,7 +7110,7 @@ function navigateToNode(from, instructions) {
}
}
if (ngDevMode && !node) {
throw nodeNotFoundAtPathError(from, stringifyNavigationInstructions(instructions));
throw nodenotfoundAtPathError(from, stringifyNavigationInstructions(instructions));
}
return node;
}
@@ -7182,7 +7182,7 @@ function calcPathForNode(tNode, lView, excludedParentNodes) {
const body = parentRNode.ownerDocument.body;
path = calcPathBetween(body, rNode, REFERENCE_NODE_BODY);
if (path === null) {
throw nodeNotFoundError(lView, tNode);
throw nodenotfoundError(lView, tNode);
}
}
return path;
@@ -7978,12 +7978,12 @@ var ChainedInjector = class {
this.injector = injector;
this.parentInjector = parentInjector;
}
get(token, notFoundValue, options) {
get(token, notfoundValue, options) {
const value = this.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, options);
if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {
if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notfoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {
return value;
}
return this.parentInjector.get(token, notFoundValue, options);
return this.parentInjector.get(token, notfoundValue, options);
}
};
function computeStaticStyling(tNode, attrs, writeToHost) {
@@ -16911,7 +16911,7 @@ function getPipeDef2(name, registry) {
}
}
if (ngDevMode) {
throw new RuntimeError(-302, getPipeNotFoundErrorMessage(name));
throw new RuntimeError(-302, getPipenotfoundErrorMessage(name));
}
return;
}
@@ -16925,7 +16925,7 @@ function getMultipleMatchingPipesMessage(name) {
const errorMessage = `Multiple pipes match the name \`${name}\`${componentInfoMessage}. ${verifyMessage}`;
return errorMessage;
}
function getPipeNotFoundErrorMessage(name) {
function getPipenotfoundErrorMessage(name) {
const lView = getLView();
const declarationLView = lView[DECLARATION_COMPONENT_VIEW];
const context = declarationLView[CONTEXT];
File diff suppressed because one or more lines are too long
@@ -2774,11 +2774,11 @@ var ArgumentOutOfRangeError = createErrorClass(function(_super) {
};
});
// node_modules/rxjs/dist/esm5/internal/util/NotFoundError.js
var NotFoundError = createErrorClass(function(_super) {
return function NotFoundErrorImpl(message) {
// node_modules/rxjs/dist/esm5/internal/util/notfoundError.js
var notfoundError = createErrorClass(function(_super) {
return function notfoundErrorImpl(message) {
_super(this);
this.name = "NotFoundError";
this.name = "notfoundError";
this.message = message;
};
});
@@ -3257,9 +3257,9 @@ function setCurrentInjector(injector) {
_currentInjector = injector;
return former;
}
var NOT_FOUND = /* @__PURE__ */ Symbol("NotFound");
function isNotFound(e) {
return e === NOT_FOUND || e?.name === "ɵNotFound";
var NOT_FOUND = /* @__PURE__ */ Symbol("notfound");
function isnotfound(e) {
return e === NOT_FOUND || e?.name === "ɵnotfound";
}
// node_modules/@angular/core/fesm2022/_untracked-chunk.mjs
@@ -4020,7 +4020,7 @@ function throwInvalidProviderError(ngModuleType, providers, provider) {
throw new Error("Invalid provider");
}
}
function throwProviderNotFoundError(token, injectorName) {
function throwProvidernotfoundError(token, injectorName) {
const errorMessage = ngDevMode && `No provider for ${stringifyForError(token)} found${injectorName ? ` in ${injectorName}` : ""}`;
throw new RuntimeError(-201, errorMessage);
}
@@ -4074,14 +4074,14 @@ function setInjectImplementation(impl) {
_injectImplementation = impl;
return previous;
}
function injectRootLimpMode(token, notFoundValue, flags) {
function injectRootLimpMode(token, notfoundValue, flags) {
const injectableDef = getInjectableDef(token);
if (injectableDef && injectableDef.providedIn == "root") {
return injectableDef.value === void 0 ? injectableDef.value = injectableDef.factory() : injectableDef.value;
}
if (flags & 8) return null;
if (notFoundValue !== void 0) return notFoundValue;
throwProviderNotFoundError(token, typeof ngDevMode !== "undefined" && ngDevMode ? "Injector" : "");
if (notfoundValue !== void 0) return notfoundValue;
throwProvidernotfoundError(token, typeof ngDevMode !== "undefined" && ngDevMode ? "Injector" : "");
}
function assertInjectImplementationNotEqual(fn) {
ngDevMode && assertNotEqual(_injectImplementation, fn, "Calling ɵɵinject would cause infinite recursion");
@@ -4099,7 +4099,7 @@ var RetrievingInjector = class {
try {
return this.injector.get(token, flags & 8 ? null : THROW_IF_NOT_FOUND, flags);
} catch (e) {
if (isNotFound(e)) {
if (isnotfound(e)) {
return e;
}
throw e;
@@ -4116,7 +4116,7 @@ function injectInjectorOnly(token, flags = 0) {
const options = convertToInjectOptions(flags);
const value = currentInjector.retrieve(token, options);
ngDevMode && emitInjectEvent(token, value, flags);
if (isNotFound(value)) {
if (isnotfound(value)) {
if (options.optional) {
return null;
}
@@ -4189,9 +4189,9 @@ function attachInjectFlag(decorator, flag) {
function getInjectFlag(token) {
return token[DI_DECORATOR_FLAG];
}
function getFactoryDef(type, throwNotFound) {
function getFactoryDef(type, thrownotfound) {
const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);
if (!hasFactoryDef && throwNotFound === true && ngDevMode) {
if (!hasFactoryDef && thrownotfound === true && ngDevMode) {
throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);
}
return hasFactoryDef ? type[NG_FACTORY_DEF] : null;
@@ -4315,14 +4315,14 @@ var ENVIRONMENT_INITIALIZER = new InjectionToken(typeof ngDevMode !== "undefined
var INJECTOR$1 = new InjectionToken(typeof ngDevMode !== "undefined" && ngDevMode ? "INJECTOR" : "", -1);
var INJECTOR_DEF_TYPES = new InjectionToken(typeof ngDevMode !== "undefined" && ngDevMode ? "INJECTOR_DEF_TYPES" : "");
var NullInjector = class {
get(token, notFoundValue = THROW_IF_NOT_FOUND) {
if (notFoundValue === THROW_IF_NOT_FOUND) {
get(token, notfoundValue = THROW_IF_NOT_FOUND) {
if (notfoundValue === THROW_IF_NOT_FOUND) {
const message = ngDevMode ? `No provider found for \`${stringify(token)}\`.` : "";
const error = createRuntimeError(message, -201);
error.name = "ɵNotFound";
error.name = "ɵnotfound";
throw error;
}
return notFoundValue;
return notfoundValue;
}
};
function makeEnvironmentProviders(providers) {
@@ -4553,7 +4553,7 @@ var R3Injector = class extends EnvironmentInjector {
try {
return this.get(token, THROW_IF_NOT_FOUND, flags);
} catch (e) {
if (isNotFound(e)) {
if (isnotfound(e)) {
return e;
}
throw e;
@@ -4603,7 +4603,7 @@ var R3Injector = class extends EnvironmentInjector {
ngDevMode && setInjectorProfilerContext(prevInjectContext);
}
}
get(token, notFoundValue = THROW_IF_NOT_FOUND, options) {
get(token, notfoundValue = THROW_IF_NOT_FOUND, options) {
assertNotDestroyed(this);
if (token.hasOwnProperty(NG_ENV_ID)) {
return token[NG_ENV_ID](this);
@@ -4640,8 +4640,8 @@ var R3Injector = class extends EnvironmentInjector {
}
}
const nextInjector = !(flags & 2) ? this.parent : getNullInjector();
notFoundValue = flags & 8 && notFoundValue === THROW_IF_NOT_FOUND ? null : notFoundValue;
return nextInjector.get(token, notFoundValue);
notfoundValue = flags & 8 && notfoundValue === THROW_IF_NOT_FOUND ? null : notfoundValue;
return nextInjector.get(token, notfoundValue);
} catch (error) {
const errorCode = getRuntimeErrorCode(error);
if (errorCode === -200 || errorCode === -201) {
@@ -6883,7 +6883,7 @@ export {
debugStringifyTypeForError,
cyclicDependencyError,
cyclicDependencyErrorWithDetails,
throwProviderNotFoundError,
throwProvidernotfoundError,
setInjectImplementation,
injectRootLimpMode,
assertInjectImplementationNotEqual,
File diff suppressed because one or more lines are too long