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
24
frontend/node_modules/es-toolkit/dist/compat/string/trimStart.js
generated
vendored
Normal file
24
frontend/node_modules/es-toolkit/dist/compat/string/trimStart.js
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
const require_trimStart = require("../../string/trimStart.js");
|
||||
//#region src/compat/string/trimStart.ts
|
||||
/**
|
||||
* Removes leading whitespace or specified characters from a string.
|
||||
*
|
||||
* @param str - The string from which leading characters will be trimmed.
|
||||
* @param chars - The character(s) to remove from the start of the string.
|
||||
* @param guard - Enables use as an iteratee for methods like `map`.
|
||||
* @returns Returns the trimmed string.
|
||||
*
|
||||
* @example
|
||||
* trimStart(' abc ');
|
||||
* // => 'abc '
|
||||
*
|
||||
* trimStart('-_-abc-_-', '_-');
|
||||
* // => 'abc-_-'
|
||||
*/
|
||||
function trimStart(str, chars, guard) {
|
||||
if (str == null) return "";
|
||||
if (guard != null || chars == null) return str.toString().trimStart();
|
||||
return require_trimStart.trimStart(str, chars.toString().split(""));
|
||||
}
|
||||
//#endregion
|
||||
exports.trimStart = trimStart;
|
||||
Loading…
Add table
Add a link
Reference in a new issue