@putkoff/abstract-utilities 0.1.216 → 0.1.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5877 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +5762 -0
- package/dist/index.js.map +1 -0
- package/dist/types/functions/path_utils/src/path_utils.browser.d.ts +2 -0
- package/dist/types/functions/path_utils/src/path_utils.node.d.ts +2 -0
- package/dist/types/functions/read_utils/src/read_utils.browser.d.ts +1 -0
- package/dist/types/functions/read_utils/src/utils.browser.d.ts +3 -0
- package/package.json +19 -7
- package/dist/cjs/index.js +0 -1744
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/index.js +0 -1613
- package/dist/esm/index.js.map +0 -1
- package/dist/index.d.ts +0 -378
package/dist/index.d.ts
DELETED
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
import React$1 from 'react';
|
|
2
|
-
export { useCallback, useEffect, useRef, useState } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
interface FileItem {
|
|
6
|
-
id: number | string;
|
|
7
|
-
filename: string;
|
|
8
|
-
uploader_id: string;
|
|
9
|
-
filepath: string;
|
|
10
|
-
created_at: string;
|
|
11
|
-
download_count: number;
|
|
12
|
-
download_limit: number | null;
|
|
13
|
-
shareable: boolean;
|
|
14
|
-
needsPassword: boolean;
|
|
15
|
-
share_password: string | null;
|
|
16
|
-
}
|
|
17
|
-
interface ApiRow {
|
|
18
|
-
id: number | string;
|
|
19
|
-
filename: string;
|
|
20
|
-
uploader_id: string;
|
|
21
|
-
filepath: string;
|
|
22
|
-
created_at: string;
|
|
23
|
-
download_count: number;
|
|
24
|
-
download_limit: number | null;
|
|
25
|
-
shareable: boolean;
|
|
26
|
-
needsPassword: boolean;
|
|
27
|
-
share_password: string;
|
|
28
|
-
}
|
|
29
|
-
interface FileListResponse {
|
|
30
|
-
files?: ApiRow[];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
interface ChangePasswordProps {
|
|
34
|
-
onSuccess?: () => void;
|
|
35
|
-
onCancel?: () => void;
|
|
36
|
-
}
|
|
37
|
-
interface ChangePasswordFormProps {
|
|
38
|
-
username: string;
|
|
39
|
-
setUsername: (value: string) => void;
|
|
40
|
-
currentPwd: string;
|
|
41
|
-
setCurrentPwd: (value: string) => void;
|
|
42
|
-
newPwd: string;
|
|
43
|
-
setNewPwd: (value: string) => void;
|
|
44
|
-
busy: boolean;
|
|
45
|
-
msg: string | null;
|
|
46
|
-
onSubmit: (e: React.FormEvent) => void;
|
|
47
|
-
onCancel?: () => void;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
interface AppConfig {
|
|
51
|
-
BASE_API_URL: string;
|
|
52
|
-
BASE_OTHER_URL: string;
|
|
53
|
-
FEATURE_FLAG?: boolean;
|
|
54
|
-
SOME_NUMBER?: number;
|
|
55
|
-
}
|
|
56
|
-
interface Promise$1<AppConfig> {
|
|
57
|
-
BASE_URL: string;
|
|
58
|
-
BASE_API_URL: string;
|
|
59
|
-
FEATURE_FLAG?: boolean;
|
|
60
|
-
SOME_NUMBER?: number;
|
|
61
|
-
}
|
|
62
|
-
interface InputProps {
|
|
63
|
-
label?: any;
|
|
64
|
-
type?: any;
|
|
65
|
-
value?: any;
|
|
66
|
-
onChange?: any;
|
|
67
|
-
disabled?: any;
|
|
68
|
-
placeholder?: any;
|
|
69
|
-
error?: string;
|
|
70
|
-
}
|
|
71
|
-
type UrlKey = Extract<keyof AppConfig, `BASE_${string}_URL`>;
|
|
72
|
-
interface FetchVariables {
|
|
73
|
-
method: string;
|
|
74
|
-
headers: Record<string, string>;
|
|
75
|
-
body?: string | FormData;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Helpers for dealing with the JWT stored in localStorage.
|
|
79
|
-
*/
|
|
80
|
-
interface JwtPayload {
|
|
81
|
-
/** UNIX-epoch seconds (standard exp claim) */
|
|
82
|
-
exp: number;
|
|
83
|
-
/** Your backend also stores the username here */
|
|
84
|
-
username?: string;
|
|
85
|
-
/** Any other claims are allowed */
|
|
86
|
-
[key: string]: unknown;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
interface LogoutButtonProps {
|
|
90
|
-
/** Fired after the user is fully logged out so you can redirect to /login */
|
|
91
|
-
onLoggedOut?: () => void;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface LoginProps {
|
|
95
|
-
onSuccess?: () => void;
|
|
96
|
-
}
|
|
97
|
-
interface LoginFormProps {
|
|
98
|
-
username: string;
|
|
99
|
-
setUsername: (value: string) => void;
|
|
100
|
-
password: string;
|
|
101
|
-
setPassword: (value: string) => void;
|
|
102
|
-
error: string | null;
|
|
103
|
-
busy: boolean;
|
|
104
|
-
onSubmit: (e: React.FormEvent) => void;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
declare function getSafeDocument(): Document | undefined;
|
|
108
|
-
declare function getDocumentProp<K1 extends keyof Document>(prop1: K1): Document[K1] | undefined;
|
|
109
|
-
declare function getDocumentProp<K1 extends keyof Document, K2 extends keyof NonNullable<Document[K1]>>(prop1: K1, prop2: K2): NonNullable<Document[K1]>[K2] | undefined;
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Returns `window` if running in a browser, otherwise `undefined`.
|
|
113
|
-
*/
|
|
114
|
-
declare function getSafeLocalStorage(): Storage | undefined;
|
|
115
|
-
/**
|
|
116
|
-
* Call a Storage method by name, silencing any errors or missing storage.
|
|
117
|
-
*
|
|
118
|
-
* @param method One of the keys of the Storage interface: "getItem", "setItem", etc.
|
|
119
|
-
* @param args The arguments you’d normally pass to that method.
|
|
120
|
-
* @returns The method’s return value, or undefined if storage/method isn’t available.
|
|
121
|
-
*/
|
|
122
|
-
declare function callStorage<K extends keyof Storage>(method: K, ...args: Parameters<Storage[K]>): ReturnType<Storage[K]> | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* Safely call storage methods (`localStorage` or `sessionStorage`) without blowing up.
|
|
125
|
-
* Returns `undefined` on any error.
|
|
126
|
-
*/
|
|
127
|
-
declare function safeStorage<S extends "localStorage" | "sessionStorage", K extends keyof Storage>(storageName: S, method: K, ...args: Parameters<Storage[K]>): ReturnType<Storage[K]> | undefined;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Safely walk `globalThis` (or window/document) by a chain of property names.
|
|
131
|
-
* Returns `undefined` if any step is missing.
|
|
132
|
-
*/
|
|
133
|
-
declare function safeGlobalProp<T = any>(...path: string[]): T | undefined;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Returns the global window object if it exists, otherwise undefined.
|
|
137
|
-
*/
|
|
138
|
-
declare function getSafeWindow(): Window | undefined;
|
|
139
|
-
/**
|
|
140
|
-
* Safely call a method on window by name.
|
|
141
|
-
*
|
|
142
|
-
* @param method The Window method to call (e.g. "alert", "open", etc.).
|
|
143
|
-
* @param args Arguments to pass to that method.
|
|
144
|
-
* @returns The method’s return value, or undefined if
|
|
145
|
-
* window/method isn’t available or throws.
|
|
146
|
-
*/
|
|
147
|
-
declare function callWindowMethod<K extends keyof Window, F extends Window[K] = Window[K], Args extends any[] = F extends (...a: infer P) => any ? P : never, R = F extends (...a: any) => infer U ? U : void>(method: K, ...args: Args): R | undefined;
|
|
148
|
-
/** overloads for 1‐ and 2‐level deep props */
|
|
149
|
-
declare function getWindowProp<K1 extends keyof Window>(prop1: K1): Window[K1] | undefined;
|
|
150
|
-
declare function getWindowProp<K1 extends keyof Window, K2 extends keyof NonNullable<Window[K1]>>(prop1: K1, prop2: K2): NonNullable<Window[K1]>[K2] | undefined;
|
|
151
|
-
declare function getWindowHost(): string | undefined;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Helpers for dealing with the JWT stored in localStorage.
|
|
155
|
-
*/
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
***Changes**:
|
|
159
|
-
*- Updated import path for `InputProps` to `../../types/interfaces`.
|
|
160
|
-
*
|
|
161
|
-
*3. **Token Utilities** (`src/functions/auth/token_utils.ts`):
|
|
162
|
-
* Copy from `/var/www/abstractendeavors/my-login-app/src/functions/auth_utils/token_utils.ts`.
|
|
163
|
-
*
|
|
164
|
-
*/
|
|
165
|
-
/** Read raw JWT from LocalStorage (or null if absent) */
|
|
166
|
-
declare function getToken(): string | null | any;
|
|
167
|
-
declare function isLoggedIn(): boolean;
|
|
168
|
-
declare function removeToken(): boolean;
|
|
169
|
-
/**
|
|
170
|
-
* Add a Bearer Authorization header.
|
|
171
|
-
* A shallow copy of headers is returned so callers can keep chaining.
|
|
172
|
-
*/
|
|
173
|
-
declare function getAuthorizationHeader(headers?: Record<string, string> | null, token?: string | null): Record<string, string>;
|
|
174
|
-
/** Throw + redirect if there’s no valid token; otherwise return it. */
|
|
175
|
-
declare function requireToken(): string;
|
|
176
|
-
/** True if token is structurally bad or its exp ≤ now. */
|
|
177
|
-
declare function isTokenExpired(token: string): boolean;
|
|
178
|
-
/** Convenience wrapper: return username from the JWT (or null). */
|
|
179
|
-
declare function currentUsername(): string | null;
|
|
180
|
-
declare function currentUsernames(): any;
|
|
181
|
-
declare function decodeJwt(token: string): JwtPayload;
|
|
182
|
-
|
|
183
|
-
declare const PROTOCOL = "https://";
|
|
184
|
-
declare const DOMAIN_NAME = "abstractendeavors";
|
|
185
|
-
declare const BASE_URL = "https://abstractendeavors.com";
|
|
186
|
-
declare const SUB_DIR = "secure-files";
|
|
187
|
-
declare const PROD_PREFIX = "/secure-files/";
|
|
188
|
-
declare const API_PREFIX = "/secure-files/api";
|
|
189
|
-
declare const DEV_PREFIX = "/secure-files-dev/";
|
|
190
|
-
|
|
191
|
-
declare function get_window(): (Window & typeof globalThis) | null;
|
|
192
|
-
declare function get_window_location(): Location | "https://abstractendeavors.com" | null;
|
|
193
|
-
declare function get_window_pathname(): string | null;
|
|
194
|
-
declare function get_window_parts(): Location | "https://abstractendeavors.com" | null;
|
|
195
|
-
|
|
196
|
-
declare function fetchIt<T>(url: any, body?: any, method?: any, headers?: Record<string, string> | null, blob?: boolean, configUrl?: boolean, withCredentials?: boolean, returnJson?: boolean, returnResult?: boolean): Promise<T>;
|
|
197
|
-
declare function fetchIt(url: any, body?: any, method?: any, headers?: Record<string, string> | null, blob?: boolean, configUrl?: boolean, withCredentials?: boolean, returnJson?: boolean, returnResult?: boolean): Promise<Blob>;
|
|
198
|
-
declare function getHtmlDirectory(directory: string, filename: string): string;
|
|
199
|
-
declare function fetchIndexHtml(filename: string, directory?: string, base?: string): Promise<string>;
|
|
200
|
-
declare function fetchIndexHtmlContainer(filename: string, doc?: Document, directory?: string): Promise<void>;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Reads a JSON file, either via Node’s fs (if available)
|
|
204
|
-
* or via window.fetch in the browser. Never throws — returns
|
|
205
|
-
* the parsed object or null on any error.
|
|
206
|
-
*/
|
|
207
|
-
declare function readJsonFile<T = any>(relativeOrAbsolutePath: string): Promise<T | null>;
|
|
208
|
-
declare function getConfigContent<T = Record<string, any>>(): Promise<T | null>;
|
|
209
|
-
declare function getConfigVar<T = any>(key?: any): Promise<T | undefined>;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Unwraps nested { result } fields until you hit a non-object or no more "result" keys.
|
|
213
|
-
*/
|
|
214
|
-
declare function getResult<T>(obj: any): T;
|
|
215
|
-
declare function getMethod(method?: string | null, body?: unknown): string;
|
|
216
|
-
declare function getHeaders(headers?: Record<string, string>, method?: string | null, body?: unknown): Record<string, string>;
|
|
217
|
-
declare function getBody(body?: unknown, method?: string | null): string | undefined;
|
|
218
|
-
declare function getFetchVars(headers?: Record<string, string> | null, method?: string | null, body?: any): FetchVariables;
|
|
219
|
-
declare function parseResult(res: Response): Promise<unknown>;
|
|
220
|
-
/**
|
|
221
|
-
* Intercept 401/403 and force a clean redirect to login
|
|
222
|
-
* without ever showing an alert.
|
|
223
|
-
*/
|
|
224
|
-
declare function checkResponse(res: Response): Response;
|
|
225
|
-
|
|
226
|
-
declare function get_dirname(filePath: string | null): string;
|
|
227
|
-
declare function get_basename(filePath: string | null): string;
|
|
228
|
-
declare function get_filename(file_path: string): string;
|
|
229
|
-
declare function get_extname(filePath: string | null): string;
|
|
230
|
-
declare function get_splitext(filePath: string | null): {
|
|
231
|
-
filename: string;
|
|
232
|
-
extname: string;
|
|
233
|
-
ext?: undefined;
|
|
234
|
-
} | {
|
|
235
|
-
filename: string;
|
|
236
|
-
ext: string;
|
|
237
|
-
extname?: undefined;
|
|
238
|
-
};
|
|
239
|
-
/**
|
|
240
|
-
* Join multiple path segments, normalizing leading/trailing slashes.
|
|
241
|
-
*
|
|
242
|
-
* Usage:
|
|
243
|
-
* make_path('/foo','bar','baz')
|
|
244
|
-
* make_path(['/foo','bar','baz'])
|
|
245
|
-
*/
|
|
246
|
-
declare function make_path(...paths: Array<string | string[]>): string;
|
|
247
|
-
declare function sanitizeFilename(filename: string): string;
|
|
248
|
-
declare function make_sanitized_path(...paths: string[]): string;
|
|
249
|
-
declare function normalizeUrl(base: string, p?: string): string;
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Returns the absolute path of the current file.
|
|
253
|
-
*/
|
|
254
|
-
declare function getAbsDir(): string;
|
|
255
|
-
declare function getAbsPath(subPath: string): string;
|
|
256
|
-
|
|
257
|
-
declare function getFunctionsDir(): string;
|
|
258
|
-
declare function geAuthsUtilsDirectory(): string;
|
|
259
|
-
declare function geBackupsUtilsDirectory(): string;
|
|
260
|
-
declare function geConstantsUtilsDirectory(): string;
|
|
261
|
-
declare function geEnvUtilsDirectory(): string;
|
|
262
|
-
declare function geFetchUtilsDirectory(): string;
|
|
263
|
-
declare function geFileUtilsDirectory(): string;
|
|
264
|
-
declare function gePathUtilsDirectory(): string;
|
|
265
|
-
declare function geStringUtilsDirectory(): string;
|
|
266
|
-
declare function geTypeUtilsDirectory(): string;
|
|
267
|
-
|
|
268
|
-
declare function getSrcDir(): string;
|
|
269
|
-
declare function geStaticDirectory(): string;
|
|
270
|
-
declare function getLibUtilsDirectory(): string;
|
|
271
|
-
declare function getHooksUtilsDirectory(): string;
|
|
272
|
-
declare function getFunctionsUtilsDirectory(): string;
|
|
273
|
-
declare function getComponentsUtilsDirectory(): string;
|
|
274
|
-
|
|
275
|
-
declare function getBaseDir(): string;
|
|
276
|
-
declare function getPublicDir(): string;
|
|
277
|
-
declare function getDistDir(): string;
|
|
278
|
-
declare function getEnvDir(): string;
|
|
279
|
-
|
|
280
|
-
declare function getEnvPath(string?: string): string;
|
|
281
|
-
declare function getDbConfigsPath(): string;
|
|
282
|
-
declare function getSchemasPath(): string;
|
|
283
|
-
declare function getSchemasDirPath(subPath: string): string;
|
|
284
|
-
|
|
285
|
-
declare function alertit(obj?: any): void;
|
|
286
|
-
|
|
287
|
-
declare function getSubstring(obj: string, maxLength?: number | null, minLength?: number | null): string;
|
|
288
|
-
declare function truncateString(obj: string, maxLength?: number): string;
|
|
289
|
-
declare function capitalize_str(string: any): string;
|
|
290
|
-
declare function capitalize(string: any): string;
|
|
291
|
-
declare function stripPrefixes(str: string, bases?: string | string[]): string;
|
|
292
|
-
/**
|
|
293
|
-
* Removes characters from the beginning of the string
|
|
294
|
-
* if they are found in the list of characters.
|
|
295
|
-
*
|
|
296
|
-
* @param str - The input string.
|
|
297
|
-
* @param listObjects - A string or an array of characters to remove.
|
|
298
|
-
* @returns The modified string.
|
|
299
|
-
*/
|
|
300
|
-
declare function eatInner(str: string, listObjects: string | string[]): string;
|
|
301
|
-
/**
|
|
302
|
-
* Removes characters from the end of the string
|
|
303
|
-
* if they are found in the list of characters.
|
|
304
|
-
*
|
|
305
|
-
* @param str - The input string.
|
|
306
|
-
* @param listObjects - A string or an array of characters to remove.
|
|
307
|
-
* @returns The modified string.
|
|
308
|
-
*/
|
|
309
|
-
declare function eatOuter(str: string, listObjects: string | string[]): string;
|
|
310
|
-
/**
|
|
311
|
-
* Removes characters from both the beginning and the end of the string
|
|
312
|
-
* if they are found in the list of characters.
|
|
313
|
-
*
|
|
314
|
-
* @param str - The input string.
|
|
315
|
-
* @param listObjects - A string or an array of characters to remove.
|
|
316
|
-
* @returns The modified string.
|
|
317
|
-
*/
|
|
318
|
-
declare function eatAll(str: string, listObjects: string | string[]): string;
|
|
319
|
-
declare function eatEnd(obj: string, endings?: string[]): string;
|
|
320
|
-
declare function tryParse(obj: any): any;
|
|
321
|
-
declare function create_list_string(array_obj: any): string;
|
|
322
|
-
|
|
323
|
-
declare function ensure_list<T>(obj: T | T[]): T[];
|
|
324
|
-
declare function assureString(obj: any): string;
|
|
325
|
-
declare function cleanArray(obj: any): unknown[];
|
|
326
|
-
declare function assureArray(input: string | string[]): any;
|
|
327
|
-
declare function get_key_value<T extends object>(obj: T, key: string): any;
|
|
328
|
-
declare function get<T extends object>(obj: T | null | undefined, keys: string | string[], defaultValue?: any): any;
|
|
329
|
-
declare function cleanText(input: any): any;
|
|
330
|
-
declare function getCleanArray(obj: any): unknown[];
|
|
331
|
-
declare function isStrInString(obj: any, string: any): boolean;
|
|
332
|
-
declare function getChar(i: number, string: any): string | undefined;
|
|
333
|
-
declare function isType(obj: any, type: string): boolean;
|
|
334
|
-
declare function getNums(): string;
|
|
335
|
-
declare function isNum(obj: any): boolean;
|
|
336
|
-
declare function getAlphas(): string;
|
|
337
|
-
declare function getAlphaNum(obj: any): string | undefined;
|
|
338
|
-
|
|
339
|
-
declare function Button({ children, color, variant, className, ...rest }: React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
340
|
-
color?: 'gray' | 'green' | 'blue';
|
|
341
|
-
variant?: 'default' | 'icon' | 'primary' | 'secondary';
|
|
342
|
-
className?: string;
|
|
343
|
-
}): react_jsx_runtime.JSX.Element;
|
|
344
|
-
|
|
345
|
-
declare function Checkbox({ label, ...rest }: React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
346
|
-
label: string;
|
|
347
|
-
}): react_jsx_runtime.JSX.Element;
|
|
348
|
-
|
|
349
|
-
declare function Input({ label, trailing, ...rest }: React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
350
|
-
label: string;
|
|
351
|
-
trailing?: React$1.ReactNode;
|
|
352
|
-
}): react_jsx_runtime.JSX.Element;
|
|
353
|
-
|
|
354
|
-
declare function Spinner(): react_jsx_runtime.JSX.Element;
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Attempt to load config.json if present, otherwise return empty object.
|
|
358
|
-
*/
|
|
359
|
-
declare function getConfigJson(): Promise<Record<string, any>>;
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* Processes keywords by checking if keywords is a string and splitting it.
|
|
363
|
-
* Then cleans each keyword using `eatAll` with a set of characters to remove.
|
|
364
|
-
*
|
|
365
|
-
* @param keywords - The keywords as a comma-separated string or as an array.
|
|
366
|
-
* @returns An array of cleaned keywords.
|
|
367
|
-
*/
|
|
368
|
-
declare function processKeywords(keywords: string | string[]): string[];
|
|
369
|
-
/**
|
|
370
|
-
* Constructs a keyword string where each keyword is prefixed with a hash (#).
|
|
371
|
-
*
|
|
372
|
-
* @param keywords - An array of keywords.
|
|
373
|
-
* @returns A string with each keyword prefixed by '#'.
|
|
374
|
-
*/
|
|
375
|
-
declare function get_keyword_string(keywords: any): string;
|
|
376
|
-
|
|
377
|
-
export { API_PREFIX, BASE_URL, Button, Checkbox, DEV_PREFIX, DOMAIN_NAME, Input, PROD_PREFIX, PROTOCOL, SUB_DIR, Spinner, alertit, assureArray, assureString, callStorage, callWindowMethod, capitalize, capitalize_str, checkResponse, cleanArray, cleanText, create_list_string, currentUsername, currentUsernames, decodeJwt, eatAll, eatEnd, eatInner, eatOuter, ensure_list, fetchIndexHtml, fetchIndexHtmlContainer, fetchIt, geAuthsUtilsDirectory, geBackupsUtilsDirectory, geConstantsUtilsDirectory, geEnvUtilsDirectory, geFetchUtilsDirectory, geFileUtilsDirectory, gePathUtilsDirectory, geStaticDirectory, geStringUtilsDirectory, geTypeUtilsDirectory, get, getAbsDir, getAbsPath, getAlphaNum, getAlphas, getAuthorizationHeader, getBaseDir, getBody, getChar, getCleanArray, getComponentsUtilsDirectory, getConfigContent, getConfigJson, getConfigVar, getDbConfigsPath, getDistDir, getDocumentProp, getEnvDir, getEnvPath, getFetchVars, getFunctionsDir, getFunctionsUtilsDirectory, getHeaders, getHooksUtilsDirectory, getHtmlDirectory, getLibUtilsDirectory, getMethod, getNums, getPublicDir, getResult, getSafeDocument, getSafeLocalStorage, getSafeWindow, getSchemasDirPath, getSchemasPath, getSrcDir, getSubstring, getToken, getWindowHost, getWindowProp, get_basename, get_dirname, get_extname, get_filename, get_key_value, get_keyword_string, get_splitext, get_window, get_window_location, get_window_parts, get_window_pathname, isLoggedIn, isNum, isStrInString, isTokenExpired, isType, make_path, make_sanitized_path, normalizeUrl, parseResult, processKeywords, readJsonFile, removeToken, requireToken, safeGlobalProp, safeStorage, sanitizeFilename, stripPrefixes, truncateString, tryParse };
|
|
378
|
-
export type { ApiRow, AppConfig, ChangePasswordFormProps, ChangePasswordProps, FetchVariables, FileItem, FileListResponse, InputProps, JwtPayload, LoginFormProps, LoginProps, LogoutButtonProps, Promise$1 as Promise, UrlKey };
|