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
21
frontend/node_modules/es-toolkit/dist/string/trim.js
generated
vendored
Normal file
21
frontend/node_modules/es-toolkit/dist/string/trim.js
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
const require_trimEnd = require("./trimEnd.js");
|
||||
const require_trimStart = require("./trimStart.js");
|
||||
//#region src/string/trim.ts
|
||||
/**
|
||||
* Removes leading and trailing whitespace or specified characters from a string.
|
||||
*
|
||||
* @param str - The string from which characters will be trimmed.
|
||||
* @param chars - The character(s) to remove from the string. Can be a single character or an array of characters.
|
||||
* @returns The resulting string after the specified characters have been removed.
|
||||
*
|
||||
* @example
|
||||
* trim(" hello "); // "hello"
|
||||
* trim("--hello--", "-"); // "hello"
|
||||
* trim("##hello##", ["#", "o"]); // "hell"
|
||||
*/
|
||||
function trim(str, chars) {
|
||||
if (chars === void 0) return str.trim();
|
||||
return require_trimStart.trimStart(require_trimEnd.trimEnd(str, chars), chars);
|
||||
}
|
||||
//#endregion
|
||||
exports.trim = trim;
|
||||
Loading…
Add table
Add a link
Reference in a new issue