Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
6
frontend/node_modules/es-toolkit/dist/_internal/DOMException.d.mts
generated
vendored
Normal file
6
frontend/node_modules/es-toolkit/dist/_internal/DOMException.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { globalThis_ } from "./globalThis.mjs";
|
||||
|
||||
//#region src/_internal/DOMException.d.ts
|
||||
declare const DOMException: typeof globalThis_.DOMException;
|
||||
//#endregion
|
||||
export { DOMException };
|
||||
6
frontend/node_modules/es-toolkit/dist/_internal/DOMException.d.ts
generated
vendored
Normal file
6
frontend/node_modules/es-toolkit/dist/_internal/DOMException.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { globalThis_ } from "./globalThis.js";
|
||||
|
||||
//#region src/_internal/DOMException.d.ts
|
||||
declare const DOMException: typeof globalThis_.DOMException;
|
||||
//#endregion
|
||||
export { DOMException };
|
||||
5
frontend/node_modules/es-toolkit/dist/_internal/DOMException.js
generated
vendored
Normal file
5
frontend/node_modules/es-toolkit/dist/_internal/DOMException.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
const require_globalThis = require("./globalThis.js");
|
||||
//#region src/_internal/DOMException.ts
|
||||
const DOMException = typeof require_globalThis.globalThis_.DOMException !== "undefined" ? require_globalThis.globalThis_.DOMException : Error;
|
||||
//#endregion
|
||||
exports.DOMException = DOMException;
|
||||
5
frontend/node_modules/es-toolkit/dist/_internal/DOMException.mjs
generated
vendored
Normal file
5
frontend/node_modules/es-toolkit/dist/_internal/DOMException.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { globalThis_ } from "./globalThis.mjs";
|
||||
//#region src/_internal/DOMException.ts
|
||||
const DOMException = typeof globalThis_.DOMException !== "undefined" ? globalThis_.DOMException : Error;
|
||||
//#endregion
|
||||
export { DOMException };
|
||||
21
frontend/node_modules/es-toolkit/dist/_internal/compareValues.js
generated
vendored
Normal file
21
frontend/node_modules/es-toolkit/dist/_internal/compareValues.js
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//#region src/_internal/compareValues.ts
|
||||
function nullishRank(value) {
|
||||
if (value === null) return 1;
|
||||
if (value === void 0) return 2;
|
||||
return 0;
|
||||
}
|
||||
function compareAscending(a, b) {
|
||||
const aRank = nullishRank(a);
|
||||
const bRank = nullishRank(b);
|
||||
if (aRank < bRank) return -1;
|
||||
if (aRank > bRank) return 1;
|
||||
if (aRank !== 0) return 0;
|
||||
if (a < b) return -1;
|
||||
if (a > b) return 1;
|
||||
return 0;
|
||||
}
|
||||
function compareValues(a, b, order) {
|
||||
return order === "asc" ? compareAscending(a, b) : compareAscending(b, a);
|
||||
}
|
||||
//#endregion
|
||||
exports.compareValues = compareValues;
|
||||
21
frontend/node_modules/es-toolkit/dist/_internal/compareValues.mjs
generated
vendored
Normal file
21
frontend/node_modules/es-toolkit/dist/_internal/compareValues.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//#region src/_internal/compareValues.ts
|
||||
function nullishRank(value) {
|
||||
if (value === null) return 1;
|
||||
if (value === void 0) return 2;
|
||||
return 0;
|
||||
}
|
||||
function compareAscending(a, b) {
|
||||
const aRank = nullishRank(a);
|
||||
const bRank = nullishRank(b);
|
||||
if (aRank < bRank) return -1;
|
||||
if (aRank > bRank) return 1;
|
||||
if (aRank !== 0) return 0;
|
||||
if (a < b) return -1;
|
||||
if (a > b) return 1;
|
||||
return 0;
|
||||
}
|
||||
function compareValues(a, b, order) {
|
||||
return order === "asc" ? compareAscending(a, b) : compareAscending(b, a);
|
||||
}
|
||||
//#endregion
|
||||
export { compareValues };
|
||||
4
frontend/node_modules/es-toolkit/dist/_internal/globalThis.d.mts
generated
vendored
Normal file
4
frontend/node_modules/es-toolkit/dist/_internal/globalThis.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
//#region src/_internal/globalThis.d.ts
|
||||
declare const globalThis_: typeof globalThis;
|
||||
//#endregion
|
||||
export { globalThis_ };
|
||||
4
frontend/node_modules/es-toolkit/dist/_internal/globalThis.d.ts
generated
vendored
Normal file
4
frontend/node_modules/es-toolkit/dist/_internal/globalThis.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
//#region src/_internal/globalThis.d.ts
|
||||
declare const globalThis_: typeof globalThis;
|
||||
//#endregion
|
||||
export { globalThis_ };
|
||||
6
frontend/node_modules/es-toolkit/dist/_internal/globalThis.js
generated
vendored
Normal file
6
frontend/node_modules/es-toolkit/dist/_internal/globalThis.js
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
//#region src/_internal/globalThis.ts
|
||||
const globalThis_ = typeof globalThis === "object" && globalThis || typeof window === "object" && window || typeof self === "object" && self || typeof global === "object" && global || (function() {
|
||||
return this;
|
||||
})();
|
||||
//#endregion
|
||||
exports.globalThis_ = globalThis_;
|
||||
6
frontend/node_modules/es-toolkit/dist/_internal/globalThis.mjs
generated
vendored
Normal file
6
frontend/node_modules/es-toolkit/dist/_internal/globalThis.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
//#region src/_internal/globalThis.ts
|
||||
const globalThis_ = typeof globalThis === "object" && globalThis || typeof window === "object" && window || typeof self === "object" && self || typeof global === "object" && global || (function() {
|
||||
return this;
|
||||
})();
|
||||
//#endregion
|
||||
export { globalThis_ };
|
||||
17
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.d.mts
generated
vendored
Normal file
17
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
//#region src/_internal/isEqualsSameValueZero.d.ts
|
||||
/**
|
||||
* Performs a `SameValueZero` comparison between two values to determine if they are equivalent.
|
||||
*
|
||||
* @param {any} value - The value to compare.
|
||||
* @param {any} other - The other value to compare.
|
||||
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
||||
*
|
||||
* @example
|
||||
* eq(1, 1); // true
|
||||
* eq(0, -0); // true
|
||||
* eq(NaN, NaN); // true
|
||||
* eq('a', Object('a')); // false
|
||||
*/
|
||||
declare function isEqualsSameValueZero(value: any, other: any): boolean;
|
||||
//#endregion
|
||||
export { isEqualsSameValueZero };
|
||||
17
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.d.ts
generated
vendored
Normal file
17
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
//#region src/_internal/isEqualsSameValueZero.d.ts
|
||||
/**
|
||||
* Performs a `SameValueZero` comparison between two values to determine if they are equivalent.
|
||||
*
|
||||
* @param {any} value - The value to compare.
|
||||
* @param {any} other - The other value to compare.
|
||||
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
||||
*
|
||||
* @example
|
||||
* eq(1, 1); // true
|
||||
* eq(0, -0); // true
|
||||
* eq(NaN, NaN); // true
|
||||
* eq('a', Object('a')); // false
|
||||
*/
|
||||
declare function isEqualsSameValueZero(value: any, other: any): boolean;
|
||||
//#endregion
|
||||
export { isEqualsSameValueZero };
|
||||
19
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.js
generated
vendored
Normal file
19
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
//#region src/_internal/isEqualsSameValueZero.ts
|
||||
/**
|
||||
* Performs a `SameValueZero` comparison between two values to determine if they are equivalent.
|
||||
*
|
||||
* @param {any} value - The value to compare.
|
||||
* @param {any} other - The other value to compare.
|
||||
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
||||
*
|
||||
* @example
|
||||
* eq(1, 1); // true
|
||||
* eq(0, -0); // true
|
||||
* eq(NaN, NaN); // true
|
||||
* eq('a', Object('a')); // false
|
||||
*/
|
||||
function isEqualsSameValueZero(value, other) {
|
||||
return value === other || Number.isNaN(value) && Number.isNaN(other);
|
||||
}
|
||||
//#endregion
|
||||
exports.isEqualsSameValueZero = isEqualsSameValueZero;
|
||||
19
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.mjs
generated
vendored
Normal file
19
frontend/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
//#region src/_internal/isEqualsSameValueZero.ts
|
||||
/**
|
||||
* Performs a `SameValueZero` comparison between two values to determine if they are equivalent.
|
||||
*
|
||||
* @param {any} value - The value to compare.
|
||||
* @param {any} other - The other value to compare.
|
||||
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
||||
*
|
||||
* @example
|
||||
* eq(1, 1); // true
|
||||
* eq(0, -0); // true
|
||||
* eq(NaN, NaN); // true
|
||||
* eq('a', Object('a')); // false
|
||||
*/
|
||||
function isEqualsSameValueZero(value, other) {
|
||||
return value === other || Number.isNaN(value) && Number.isNaN(other);
|
||||
}
|
||||
//#endregion
|
||||
export { isEqualsSameValueZero };
|
||||
16
frontend/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js
generated
vendored
Normal file
16
frontend/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//#region src/_internal/isUnsafeProperty.ts
|
||||
/**
|
||||
* Checks if a property key is unsafe to modify directly.
|
||||
*
|
||||
* This function is used in functions like `merge` to prevent prototype pollution attacks
|
||||
* by identifying property keys that could modify the object's prototype chain or constructor.
|
||||
*
|
||||
* @param key - The property key to check
|
||||
* @returns `true` if the property is unsafe to modify directly, `false` otherwise
|
||||
* @internal
|
||||
*/
|
||||
function isUnsafeProperty(key) {
|
||||
return key === "__proto__";
|
||||
}
|
||||
//#endregion
|
||||
exports.isUnsafeProperty = isUnsafeProperty;
|
||||
16
frontend/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
generated
vendored
Normal file
16
frontend/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//#region src/_internal/isUnsafeProperty.ts
|
||||
/**
|
||||
* Checks if a property key is unsafe to modify directly.
|
||||
*
|
||||
* This function is used in functions like `merge` to prevent prototype pollution attacks
|
||||
* by identifying property keys that could modify the object's prototype chain or constructor.
|
||||
*
|
||||
* @param key - The property key to check
|
||||
* @returns `true` if the property is unsafe to modify directly, `false` otherwise
|
||||
* @internal
|
||||
*/
|
||||
function isUnsafeProperty(key) {
|
||||
return key === "__proto__";
|
||||
}
|
||||
//#endregion
|
||||
export { isUnsafeProperty };
|
||||
Loading…
Add table
Add a link
Reference in a new issue