@dxtmisha/functional-basic 1.6.1 → 1.6.3

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/ai-types.md CHANGED
@@ -6,313 +6,235 @@ The following is the content of "exports" from package.json:
6
6
  {
7
7
  ".": {
8
8
  "import": "./dist/library.js",
9
- "types": "./dist/src/library.d.ts"
9
+ "types": "./dist/library.d.ts"
10
10
  }
11
11
  }
12
12
 
13
- // File: src/classes/Api.d.ts
14
- import { ApiInstance } from './ApiInstance';
15
- import { ApiConfig, ApiDefaultValue, ApiFetch, ApiHeadersValue, ApiMethodItem, ApiPreparationEnd } from '../types/apiTypes';
16
- import { ApiStatus } from './ApiStatus';
17
- import { ApiResponse } from './ApiResponse';
18
- import { ApiHydration } from './ApiHydration';
19
- /**
20
- * Class for working with HTTP requests.
21
- */
13
+ // File: classes/Api.d.ts
22
14
  export declare class Api {
23
15
  static isLocalhost(): boolean;
24
- static getItem(): ApiInstance;
25
- static getStatus(): ApiStatus;
26
- static getResponse(): ApiResponse;
27
- static getHydration(): ApiHydration;
16
+ static getItem(): any;
17
+ static getStatus(): any;
18
+ static getResponse(): any;
19
+ static getHydration(): any;
28
20
  static getHydrationScript(): string;
29
21
  static getOrigin(): string;
30
22
  static getUrl(path: string, api?: boolean): string;
31
- static getBody(request?: ApiFetch['request'], method?: ApiMethodItem): string | FormData | undefined;
32
- static getBodyForGet(request: ApiFetch['request'], path?: string, method?: ApiMethodItem): string;
33
- static setHeaders(headers: ApiHeadersValue): void;
34
- static setRequestDefault(request: ApiDefaultValue): void;
23
+ static getBody(request?: any, method?: any): string | FormData | undefined;
24
+ static getBodyForGet(request: any, path?: string, method?: any): string;
25
+ static setHeaders(headers: any): void;
26
+ static setRequestDefault(request: any): void;
35
27
  static setUrl(url: string): void;
36
- static setPreparation(callback: (apiFetch: ApiFetch) => Promise<void>): void;
37
- static setEnd(callback: (query: Response, apiFetch: ApiFetch) => Promise<ApiPreparationEnd>): void;
28
+ static setPreparation(callback: (apiFetch: any) => Promise<void>): void;
29
+ static setEnd(callback: (query: Response, apiFetch: any) => Promise<any>): void;
38
30
  static setTimeout(timeout: number): void;
39
31
  static setOrigin(origin: string): void;
40
- static setWrapper(wrapper: <R>(callback: () => Promise<R>, apiFetch: ApiFetch) => Promise<R>): void;
41
- static setConfig(config?: ApiConfig): void;
42
- static request<T>(pathRequest: string | ApiFetch): Promise<T>;
43
- static get<T>(request: ApiFetch): Promise<T>;
44
- static post<T>(request: ApiFetch): Promise<T>;
45
- static put<T>(request: ApiFetch): Promise<T>;
46
- static patch<T>(request: ApiFetch): Promise<T>;
47
- static delete<T>(request: ApiFetch): Promise<T>;
48
- }
49
- // File: src/classes/ApiCache.d.ts
50
- import { ApiCacheItem, ApiCacheList, ApiFetch } from '../types/apiTypes';
51
- /**
52
- * Class for caching API responses.
53
- */
32
+ static setWrapper(wrapper: <R>(callback: () => Promise<R>, apiFetch: any) => Promise<R>): void;
33
+ static setConfig(config?: any): void;
34
+ static request<T>(pathRequest: string | any): Promise<T>;
35
+ static get<T>(request: any): Promise<T>;
36
+ static post<T>(request: any): Promise<T>;
37
+ static put<T>(request: any): Promise<T>;
38
+ static patch<T>(request: any): Promise<T>;
39
+ static delete<T>(request: any): Promise<T>;
40
+ }
41
+
42
+ // File: classes/ApiCache.d.ts
54
43
  export declare class ApiCache {
55
- static init(getListener: (key: string) => Promise<ApiCacheItem | undefined>, setListener: (key: string, value: ApiCacheItem) => Promise<boolean>, removeListener: (key: string) => Promise<boolean>, cacheStepAgeClearOld?: number): void;
44
+ static init(getListener: (key: string) => Promise<any | undefined>, setListener: (key: string, value: any) => Promise<boolean>, removeListener: (key: string) => Promise<boolean>, cacheStepAgeClearOld?: number): void;
56
45
  static reset(): void;
57
46
  static get<T>(key: string): Promise<T | undefined>;
58
- static getByFetch<T>(fetch: ApiFetch): Promise<T | undefined>;
47
+ static getByFetch<T>(fetch: any): Promise<T | undefined>;
59
48
  static set<T>(key: string, value: T, age?: number): Promise<void>;
60
- static setByFetch<T>(fetch: ApiFetch, value: T): Promise<void>;
49
+ static setByFetch<T>(fetch: any, value: T): Promise<void>;
61
50
  static remove(key: string): Promise<void>;
62
51
  }
63
- // File: src/classes/ApiDataReturn.d.ts
64
- import { ApiStatus } from './ApiStatus';
65
- import { ApiErrorItem } from './ApiErrorItem';
66
- import { ApiData, ApiFetch, ApiPreparationEnd } from '../types/apiTypes';
67
- /**
68
- * Class for handling API request response data.
69
- */
52
+
53
+ // File: classes/ApiDataReturn.d.ts
70
54
  export declare class ApiDataReturn<T = any> {
71
- constructor(apiFetch: ApiFetch, query: Response, end: ApiPreparationEnd, error?: ApiErrorItem | undefined);
55
+ constructor(apiFetch: any, query: Response, end: any, error?: any);
72
56
  init(): Promise<this>;
73
- get(): ApiData<T>;
74
- getAndStatus(status: ApiStatus): ApiData<T>;
75
- getData(): ApiData<T> | undefined;
76
- }
77
- // File: src/classes/ApiDefault.d.ts
78
- import { ApiDefaultValue, ApiFetch } from '../types/apiTypes';
79
- /**
80
- * Class for working with default API request data.
81
- */
57
+ get(): any;
58
+ getAndStatus(status: any): any;
59
+ getData(): any | undefined;
60
+ }
61
+
62
+ // File: classes/ApiDefault.d.ts
82
63
  export declare class ApiDefault {
83
64
  is(): boolean;
84
65
  get(): Record<string, any> | undefined;
85
- request(request: ApiFetch['request']): ApiFetch['request'];
86
- set(request: ApiDefaultValue): this;
87
- }
88
- // File: src/classes/ApiError.d.ts
89
- import { ApiErrorItem } from './ApiErrorItem';
90
- import { ApiErrorStorage } from './ApiErrorStorage';
91
- import { ApiErrorStorageItem, ApiMethodItem } from '../types/apiTypes';
92
- /**
93
- * Utility for managing API error storage and creating error items.
94
- */
66
+ request(request: any): any;
67
+ set(request: any): this;
68
+ }
69
+
70
+ // File: classes/ApiError.d.ts
95
71
  export declare class ApiError {
96
- static getStorage(): ApiErrorStorage;
97
- static add(item: Partial<ApiErrorStorageItem> | Partial<ApiErrorStorageItem>[], url?: string | RegExp, method?: ApiMethodItem): void;
98
- static getItem(method: ApiMethodItem, response: Response): Promise<ApiErrorItem>;
99
- }
100
- // File: src/classes/ApiErrorItem.d.ts
101
- import { ApiErrorStorageItem, ApiMethodItem } from '../types/apiTypes';
102
- /**
103
- * Class for managing and extracting data from an API error response.
104
- */
72
+ static getStorage(): any;
73
+ static add(item: any | any[], url?: string | RegExp, method?: any): void;
74
+ static getItem(method: any, response: Response): Promise<any>;
75
+ }
76
+
77
+ // File: classes/ApiErrorItem.d.ts
105
78
  export declare class ApiErrorItem {
106
- constructor(method: ApiMethodItem, response: Response, error: ApiErrorStorageItem);
107
- getMethod(): ApiMethodItem;
79
+ constructor(method: any, response: Response, error: any);
80
+ getMethod(): any;
108
81
  getResponse(): Response;
109
- getError(): ApiErrorStorageItem;
82
+ getError(): any;
110
83
  getCode(): string | undefined;
111
84
  getMessage(): string | undefined;
112
85
  getStatus(): number;
113
86
  }
114
- // File: src/classes/ApiErrorStorage.d.ts
115
- import { ApiErrorStorageList, ApiErrorStorageItem, ApiMethodItem } from '../types/apiTypes';
116
- /**
117
- * Manager for handling and identifying API error states.
118
- */
87
+
88
+ // File: classes/ApiErrorStorage.d.ts
119
89
  export declare class ApiErrorStorage {
120
- find(method: ApiMethodItem, response: Response): Promise<ApiErrorStorageItem>;
121
- add(item: Partial<ApiErrorStorageItem> | Partial<ApiErrorStorageItem>[], url?: string | RegExp, method?: ApiMethodItem): this;
122
- }
123
- // File: src/classes/ApiHeaders.d.ts
124
- import { ApiFetch, ApiHeadersValue } from '../types/apiTypes';
125
- /**
126
- * Class for managing HTTP request headers.
127
- */
90
+ find(method: any, response: Response): Promise<any>;
91
+ add(item: any | any[], url?: string | RegExp, method?: any): this;
92
+ }
93
+
94
+ // File: classes/ApiHeaders.d.ts
128
95
  export declare class ApiHeaders {
129
96
  get(value?: Record<string, string> | null, type?: string | undefined | null): Record<string, string> | undefined;
130
- getByRequest(request: ApiFetch['request'], value?: Record<string, string> | null, type?: string): Record<string, string> | undefined;
131
- set(headers: ApiHeadersValue): this;
132
- }
133
- // File: src/classes/ApiHydration.d.ts
134
- import { ApiResponse } from './ApiResponse';
135
- import { ApiFetch, ApiHydrationList } from '../types/apiTypes';
136
- /**
137
- * Class for collecting API data for hydration (SSR).
138
- */
97
+ getByRequest(request: any, value?: Record<string, string> | null, type?: string): Record<string, string> | undefined;
98
+ set(headers: any): this;
99
+ }
100
+
101
+ // File: classes/ApiHydration.d.ts
139
102
  export declare class ApiHydration {
140
- initResponse(response: ApiResponse): void;
141
- toClient<T>(apiFetch: ApiFetch, response: T): void;
103
+ initResponse(response: any): void;
104
+ toClient<T>(apiFetch: any, response: T): void;
142
105
  toString(): string;
143
106
  }
144
- // File: src/classes/ApiInstance.d.ts
145
- import { LoadingInstance } from './LoadingInstance';
146
- import { ErrorCenterInstance } from './ErrorCenterInstance';
147
- import { ApiDefault } from './ApiDefault';
148
- import { ApiHeaders } from './ApiHeaders';
149
- import { ApiHydration } from './ApiHydration';
150
- import { ApiPreparation } from './ApiPreparation';
151
- import { ApiResponse } from './ApiResponse';
152
- import { ApiStatus } from './ApiStatus';
153
- import { ApiDefaultValue, ApiFetch, ApiHeadersValue, ApiMethod, ApiPreparationEnd } from '../types/apiTypes';
107
+
108
+ // File: classes/ApiInstance.d.ts
154
109
  export type ApiInstanceOptions = {
155
- headersClass?: typeof ApiHeaders;
156
- requestDefaultClass?: typeof ApiDefault;
157
- statusClass?: typeof ApiStatus;
158
- responseClass?: typeof ApiResponse;
159
- preparationClass?: typeof ApiPreparation;
160
- loadingClass?: LoadingInstance;
161
- errorCenterClass?: ErrorCenterInstance;
162
- hydrationClass?: typeof ApiHydration;
163
- wrapper?: <R>(callback: () => Promise<R>, apiFetch: ApiFetch) => Promise<R>;
110
+ headersClass?: any;
111
+ requestDefaultClass?: any;
112
+ statusClass?: any;
113
+ responseClass?: any;
114
+ preparationClass?: any;
115
+ loadingClass?: any;
116
+ errorCenterClass?: any;
117
+ hydrationClass?: any;
118
+ wrapper?: <R>(callback: () => Promise<R>, apiFetch: any) => Promise<R>;
164
119
  };
165
- /**
166
- * Core class for managing HTTP requests using Fetch API.
167
- */
168
120
  export declare class ApiInstance {
169
121
  constructor(url?: string, options?: ApiInstanceOptions);
170
122
  isLocalhost(): boolean;
171
- getStatus(): ApiStatus;
172
- getResponse(): ApiResponse;
173
- getHydration(): ApiHydration;
123
+ getStatus(): any;
124
+ getResponse(): any;
125
+ getHydration(): any;
174
126
  getOrigin(): string;
175
127
  getUrl(path: string, api?: boolean): string;
176
- getBody(request?: ApiFetch['request'], method?: ApiMethod): string | FormData | undefined;
177
- getBodyForGet(request: ApiFetch['request'], path?: string, method?: ApiMethod): string;
128
+ getBody(request?: any, method?: any): string | FormData | undefined;
129
+ getBodyForGet(request: any, path?: string, method?: any): string;
178
130
  getHydrationScript(): string;
179
- setHeaders(headers: ApiHeadersValue): this;
180
- setRequestDefault(request: ApiDefaultValue): this;
131
+ setHeaders(headers: any): this;
132
+ setRequestDefault(request: any): this;
181
133
  setUrl(url: string): this;
182
- setPreparation(callback: (apiFetch: ApiFetch) => Promise<void>): this;
183
- setEnd(callback: (query: Response, apiFetch: ApiFetch) => Promise<ApiPreparationEnd>): this;
134
+ setPreparation(callback: (apiFetch: any) => Promise<void>): this;
135
+ setEnd(callback: (query: Response, apiFetch: any) => Promise<any>): this;
184
136
  setTimeout(timeout: number): this;
185
137
  setOrigin(origin: string): this;
186
- setWrapper(wrapper: <R>(callback: () => Promise<R>, apiFetch: ApiFetch) => Promise<R>): this;
187
- request<T>(pathRequest: string | ApiFetch): Promise<T>;
188
- get<T>(request: ApiFetch): Promise<T>;
189
- post<T>(request: ApiFetch): Promise<T>;
190
- put<T>(request: ApiFetch): Promise<T>;
191
- patch<T>(request: ApiFetch): Promise<T>;
192
- delete<T>(request: ApiFetch): Promise<T>;
193
- }
194
- // File: src/classes/ApiPreparation.d.ts
195
- import { ApiFetch, ApiPreparationEnd } from '../types/apiTypes';
196
- /**
197
- * Class for preparing requests.
198
- */
138
+ setWrapper(wrapper: <R>(callback: () => Promise<R>, apiFetch: any) => Promise<R>): this;
139
+ request<T>(pathRequest: string | any): Promise<T>;
140
+ get<T>(request: any): Promise<T>;
141
+ post<T>(request: any): Promise<T>;
142
+ put<T>(request: any): Promise<T>;
143
+ patch<T>(request: any): Promise<T>;
144
+ delete<T>(request: any): Promise<T>;
145
+ }
146
+
147
+ // File: classes/ApiPreparation.d.ts
199
148
  export declare class ApiPreparation {
200
- make(active: boolean, apiFetch: ApiFetch): Promise<void>;
201
- makeEnd(active: boolean, query: Response, apiFetch: ApiFetch): Promise<ApiPreparationEnd>;
202
- set(callback: (apiFetch: ApiFetch) => Promise<void>): this;
203
- setEnd(callback: (query: Response, apiFetch: ApiFetch) => Promise<ApiPreparationEnd>): this;
204
- }
205
- // File: src/classes/ApiResponse.d.ts
206
- import { ApiDefault } from './ApiDefault';
207
- import { ApiFetch, ApiMethod, ApiResponseItem } from '../types/apiTypes';
208
- /**
209
- * Class for working with API responses.
210
- */
149
+ make(active: boolean, apiFetch: any): Promise<void>;
150
+ makeEnd(active: boolean, query: Response, apiFetch: any): Promise<any>;
151
+ set(callback: (apiFetch: any) => Promise<void>): this;
152
+ setEnd(callback: (query: Response, apiFetch: any) => Promise<any>): this;
153
+ }
154
+
155
+ // File: classes/ApiResponse.d.ts
211
156
  export declare class ApiResponse {
212
- constructor(requestDefault: ApiDefault);
213
- get(path: string | undefined, method: ApiMethod, request?: ApiFetch['request'], devMode?: boolean): ApiResponseItem | undefined;
214
- getList(): (ApiResponseItem & Record<string, any>)[];
215
- add(response: ApiResponseItem | ApiResponseItem[]): this;
157
+ constructor(requestDefault: any);
158
+ get(path: string | undefined, method: any, request?: any, devMode?: boolean): any | undefined;
159
+ getList(): any[];
160
+ add(response: any | any[]): this;
216
161
  setDevMode(devMode: boolean): this;
217
- emulator<T>(apiFetch: ApiFetch): Promise<T | undefined>;
218
- emulatorAsync<T>(apiFetch: ApiFetch): T | undefined;
219
- }
220
- // File: src/classes/ApiStatus.d.ts
221
- import { ApiStatusItem, ApiStatusType } from '../types/apiTypes';
222
- /**
223
- * Class for managing API request status.
224
- */
162
+ emulator<T>(apiFetch: any): Promise<T | undefined>;
163
+ emulatorAsync<T>(apiFetch: any): T | undefined;
164
+ }
165
+
166
+ // File: classes/ApiStatus.d.ts
225
167
  export declare class ApiStatus {
226
- get(): ApiStatusItem | undefined;
168
+ get(): any | undefined;
227
169
  getStatus(): number | undefined;
228
170
  getStatusText(): string | undefined;
229
- getStatusType(): ApiStatusType | undefined;
171
+ getStatusType(): any | undefined;
230
172
  getCode(): string | undefined;
231
173
  getError(): string | undefined;
232
174
  getResponse<T>(): T | undefined;
233
175
  getMessage(): string;
234
- set(data: ApiStatusItem): this;
176
+ set(data: any): this;
235
177
  setStatus(status?: number, statusText?: string): this;
236
178
  setError(error?: string): this;
237
179
  setLastResponse(response?: any): this;
238
- setLastStatus(status?: ApiStatusType): this;
180
+ setLastStatus(status?: any): this;
239
181
  setLastCode(code?: string): this;
240
182
  setLastMessage(message?: string): this;
241
183
  }
242
- // File: src/classes/BroadcastMessage.d.ts
243
- import { ErrorCenterInstance } from './ErrorCenterInstance';
244
- /**
245
- * Class for working with BroadcastChannel.
246
- */
184
+
185
+ // File: classes/BroadcastMessage.d.ts
247
186
  export declare class BroadcastMessage<Message = any> {
248
- constructor(name: string, callback?: ((event: MessageEvent<Message>) => void) | undefined, callbackError?: ((event: MessageEvent<Message>) => void) | undefined, errorCenter?: ErrorCenterInstance);
187
+ constructor(name: string, callback?: ((event: MessageEvent<Message>) => void) | undefined, callbackError?: ((event: MessageEvent<Message>) => void) | undefined, errorCenter?: any);
249
188
  getChannel(): BroadcastChannel | undefined;
250
189
  post(message: Message): this;
251
190
  setCallback(callback: (event: MessageEvent<Message>) => void): this;
252
191
  setCallbackError(callbackError: (event: MessageEvent<Message>) => void): this;
253
192
  destroy(): this;
254
193
  }
255
- // File: src/classes/Cache.d.ts
256
- /**
257
- * Simple in-memory cache class.
258
- * @deprecated Use alternative caching.
259
- */
194
+
195
+ // File: classes/Cache.d.ts
260
196
  export declare class Cache {
261
197
  get<T>(name: string, callback: () => T, comparison?: any[]): T;
262
198
  getAsync<T>(name: string, callback: () => T, comparison?: any[]): Promise<T>;
263
199
  }
264
- // File: src/classes/CacheItem.d.ts
265
- /**
266
- * Class for managing a single cached value.
267
- * @deprecated Use alternative caching.
268
- */
200
+
201
+ // File: classes/CacheItem.d.ts
269
202
  export declare class CacheItem<T> {
270
203
  constructor(callback: () => T);
271
204
  getCache(comparison: any[]): T;
272
205
  getCacheOld(): T | undefined;
273
206
  getCacheAsync(comparison: any[]): Promise<T>;
274
207
  }
275
- // File: src/classes/CacheStatic.d.ts
276
- import { Cache } from './Cache';
277
- /**
278
- * Static cache class.
279
- * @deprecated Use alternative caching.
280
- */
208
+
209
+ // File: classes/CacheStatic.d.ts
281
210
  export declare class CacheStatic {
282
211
  static get<T>(name: string, callback: () => T, comparison?: any[]): T;
283
212
  static getAsync<T>(name: string, callback: () => T, comparison?: any[]): Promise<T>;
284
213
  }
285
- // File: src/classes/Cookie.d.ts
286
- import { CookieOptions } from './CookieStorage';
287
- /**
288
- * Class for working with cookies.
289
- */
214
+
215
+ // File: classes/Cookie.d.ts
290
216
  export declare class Cookie<T> {
291
217
  static getInstance<T>(name: string): Cookie<T>;
292
218
  constructor(name: string);
293
- get(defaultValue?: T | string | (() => (T | string)), options?: CookieOptions): string | T | undefined;
294
- set(value?: T | string | (() => (T | string)), options?: CookieOptions): void;
219
+ get(defaultValue?: T | string | (() => (T | string)), options?: any): string | T | undefined;
220
+ set(value?: T | string | (() => (T | string)), options?: any): void;
295
221
  remove(): void;
296
222
  }
297
- // File: src/classes/CookieBlock.d.ts
298
- import { CookieBlockInstance } from './CookieBlockInstance';
299
- /**
300
- * Class for changing cookie access status.
301
- */
223
+
224
+ // File: classes/CookieBlock.d.ts
302
225
  export declare class CookieBlock {
303
- static getItem(): CookieBlockInstance;
226
+ static getItem(): any;
304
227
  static get(): boolean;
305
228
  static set(value: boolean): void;
306
229
  }
307
- // File: src/classes/CookieBlockInstance.d.ts
308
- /**
309
- * Class for changing cookie access status.
310
- */
230
+
231
+ // File: classes/CookieBlockInstance.d.ts
311
232
  export declare class CookieBlockInstance {
312
233
  get(): boolean;
313
234
  set(value: boolean): void;
314
235
  }
315
- // File: src/classes/CookieStorage.d.ts
236
+
237
+ // File: classes/CookieStorage.d.ts
316
238
  export type CookieSameSite = 'strict' | 'lax';
317
239
  export type CookieOptions = {
318
240
  age?: number;
@@ -324,9 +246,6 @@ export type CookieOptions = {
324
246
  partitioned?: boolean;
325
247
  arguments?: string[] | Record<string, string | number | boolean>;
326
248
  };
327
- /**
328
- * Class for managing cookie storage.
329
- */
330
249
  export declare class CookieStorage {
331
250
  static init(getListener?: (key: string) => any | undefined, getListenerRaw?: () => string, setListener?: (key: string, value: any, cookie: string, options?: CookieOptions) => void): void;
332
251
  static reset(): void;
@@ -335,36 +254,28 @@ export declare class CookieStorage {
335
254
  static remove(name: string): void;
336
255
  static update(): void;
337
256
  }
338
- // File: src/classes/DataStorage.d.ts
339
- import { ErrorCenterInstance } from './ErrorCenterInstance';
340
- /**
341
- * Class for working with localStorage and sessionStorage.
342
- */
257
+
258
+ // File: classes/DataStorage.d.ts
343
259
  export declare class DataStorage<T> {
344
260
  static setPrefix(newPrefix: string): void;
345
- constructor(name: string, isSession?: boolean, errorCenter?: ErrorCenterInstance);
261
+ constructor(name: string, isSession?: boolean, errorCenter?: any);
346
262
  get(defaultValue?: T | (() => T), cache?: number): T | undefined;
347
263
  set(value?: T | (() => T)): T | undefined;
348
264
  remove(): this;
349
265
  update(): this;
350
266
  }
351
- // File: src/classes/Datetime.d.ts
352
- import { GeoIntl } from './GeoIntl';
353
- import { NumberOrStringOrDate } from '../types/basicTypes';
354
- import { GeoDate, GeoFirstDay, GeoHours, GeoTimeZoneStyle } from '../types/geoTypes';
355
- /**
356
- * Class for working with dates.
357
- */
267
+
268
+ // File: classes/Datetime.d.ts
358
269
  export declare class Datetime {
359
- constructor(date?: NumberOrStringOrDate, type?: GeoDate, code?: string);
360
- getIntl(): GeoIntl;
270
+ constructor(date?: any, type?: any, code?: string);
271
+ getIntl(): any;
361
272
  getDate(): Date;
362
- getType(): GeoDate;
363
- getHoursType(): GeoHours;
273
+ getType(): any;
274
+ getHoursType(): any;
364
275
  getHour24(): boolean;
365
276
  getTimeZoneOffset(): number;
366
- getTimeZone(style?: GeoTimeZoneStyle): string;
367
- getFirstDayCode(): GeoFirstDay;
277
+ getTimeZone(style?: any): string;
278
+ getFirstDayCode(): any;
368
279
  getYear(): number;
369
280
  getMonth(): number;
370
281
  getDay(): number;
@@ -372,19 +283,19 @@ export declare class Datetime {
372
283
  getMinute(): number;
373
284
  getSecond(): number;
374
285
  getMaxDay(): number;
375
- locale(type?: GeoDate, styleOptions?: Intl.DateTimeFormatOptions['month'] | Intl.DateTimeFormatOptions): string;
376
- localeYear(style?: Intl.DateTimeFormatOptions['year']): string;
377
- localeMonth(style?: Intl.DateTimeFormatOptions['month']): string;
378
- localeDay(style?: Intl.DateTimeFormatOptions['day']): string;
379
- localeHour(style?: Intl.DateTimeFormatOptions['hour']): string;
380
- localeMinute(style?: Intl.DateTimeFormatOptions['minute']): string;
381
- localeSecond(style?: Intl.DateTimeFormatOptions['second']): string;
286
+ locale(type?: any, styleOptions?: any): string;
287
+ localeYear(style?: any): string;
288
+ localeMonth(style?: any): string;
289
+ localeDay(style?: any): string;
290
+ localeHour(style?: any): string;
291
+ localeMinute(style?: any): string;
292
+ localeSecond(style?: any): string;
382
293
  standard(timeZone?: boolean): string;
383
- setDate(value: NumberOrStringOrDate): this;
384
- setType(value: GeoDate): this;
294
+ setDate(value: any): this;
295
+ setType(value: any): this;
385
296
  setHour24(value: boolean): this;
386
297
  setCode(code: string): this;
387
- setWatch(watch: (date: Date, type: GeoDate, hour24: boolean) => void): this;
298
+ setWatch(watch: (date: Date, type: any, hour24: boolean) => void): this;
388
299
  setYear(value: number): this;
389
300
  setMonth(value: number): this;
390
301
  setDay(value: number): this;
@@ -428,68 +339,54 @@ export declare class Datetime {
428
339
  cloneDayNext(): Datetime;
429
340
  cloneDayPrevious(): Datetime;
430
341
  }
431
- // File: src/classes/ErrorCenter.d.ts
432
- import { ErrorCenterInstance } from './ErrorCenterInstance';
433
- import { ErrorCenterCauseItem, ErrorCenterCauseList, ErrorCenterGroup, ErrorCenterHandlerCallback, ErrorCenterHandlerList } from '../types/errorCenter';
434
- /**
435
- * Class for managing error storage.
436
- */
342
+
343
+ // File: classes/ErrorCenter.d.ts
437
344
  export declare class ErrorCenter {
438
- static getItem(): ErrorCenterInstance;
345
+ static getItem(): any;
439
346
  static has(code: string, group?: string): boolean;
440
- static get(code: string, group?: string): ErrorCenterCauseItem | undefined;
441
- static add(cause: ErrorCenterCauseItem): void;
442
- static addList(causes: ErrorCenterCauseList): void;
443
- static addHandler(group: ErrorCenterGroup, handler: ErrorCenterHandlerCallback): void;
444
- static addHandlerList(handlers: ErrorCenterHandlerList): void;
445
- static addCallback(callback: ErrorCenterHandlerCallback): void;
446
- static on(cause: ErrorCenterCauseItem): void;
447
- }
448
- // File: src/classes/ErrorCenterHandler.d.ts
449
- import { ErrorCenterCauseItem, ErrorCenterGroup, ErrorCenterHandlerCallback, ErrorCenterHandlerItem, ErrorCenterHandlerList } from '../types/errorCenter';
450
- /**
451
- * Class for managing and triggering error handlers.
452
- */
347
+ static get(code: string, group?: string): any | undefined;
348
+ static add(cause: any): void;
349
+ static addList(causes: any[]): void;
350
+ static addHandler(group: string | undefined, handler: (cause: any) => void): void;
351
+ static addHandlerList(handlers: any[]): void;
352
+ static addCallback(callback: (cause: any) => void): void;
353
+ static on(cause: any): void;
354
+ }
355
+
356
+ // File: classes/ErrorCenterHandler.d.ts
453
357
  export declare class ErrorCenterHandler {
454
- constructor(handlers?: ErrorCenterHandlerList);
455
- has(group: ErrorCenterGroup): boolean;
456
- get(group: ErrorCenterGroup): ErrorCenterHandlerItem | undefined;
457
- add(group: ErrorCenterGroup, handler: ErrorCenterHandlerCallback): this;
458
- addList(handlers: ErrorCenterHandlerList): this;
459
- addCallback(callback: ErrorCenterHandlerCallback): this;
460
- on(cause: ErrorCenterCauseItem): this;
461
- }
462
- // File: src/classes/ErrorCenterInstance.d.ts
463
- import { ErrorCenterHandler } from './ErrorCenterHandler';
464
- import { ErrorCenterCauseItem, ErrorCenterCauseList, ErrorCenterGroup, ErrorCenterHandlerCallback, ErrorCenterHandlerList } from '../types/errorCenter';
465
- /**
466
- * Class for managing error storage within an instance.
467
- */
358
+ constructor(handlers?: any[]);
359
+ has(group: string | undefined): boolean;
360
+ get(group: string | undefined): any | undefined;
361
+ add(group: string | undefined, handler: (cause: any) => void): this;
362
+ addList(handlers: any[]): this;
363
+ addCallback(callback: (cause: any) => void): this;
364
+ on(cause: any): this;
365
+ }
366
+
367
+ // File: classes/ErrorCenterInstance.d.ts
468
368
  export declare class ErrorCenterInstance {
469
- constructor(causes?: ErrorCenterCauseList, handler?: ErrorCenterHandler);
369
+ constructor(causes?: any[], handler?: any);
470
370
  has(code: string, group?: string): boolean;
471
- get(code: string, group?: string): ErrorCenterCauseItem | undefined;
472
- add(cause: ErrorCenterCauseItem): this;
473
- addList(causes: ErrorCenterCauseList): this;
474
- addHandler(group: ErrorCenterGroup, handler: ErrorCenterHandlerCallback): this;
475
- addHandlerList(handlers: ErrorCenterHandlerList): this;
476
- addCallback(callback: ErrorCenterHandlerCallback): this;
477
- on(cause: ErrorCenterCauseItem): this;
478
- }
479
- // File: src/classes/EventItem.d.ts
480
- import { ElementOrString, ElementOrWindow, EventListenerDetail, EventOptions } from '../types/basicTypes';
481
- /**
482
- * Wrapper for managing DOM event listeners.
483
- */
484
- export declare class EventItem<E extends ElementOrWindow, O extends Event, D extends Record<string, any> = Record<string, any>> {
485
- constructor(elementSelector?: ElementOrString<E>, type?: string | string[], listener?: EventListenerDetail<O, D> | undefined, options?: EventOptions, detail?: D | undefined);
371
+ get(code: string, group?: string): any | undefined;
372
+ add(cause: any): this;
373
+ addList(causes: any[]): this;
374
+ addHandler(group: string | undefined, handler: (cause: any) => void): this;
375
+ addHandlerList(handlers: any[]): this;
376
+ addCallback(callback: (cause: any) => void): this;
377
+ on(cause: any): this;
378
+ }
379
+
380
+ // File: classes/EventItem.d.ts
381
+ export declare class EventItem<E extends any, O extends Event, D extends Record<string, any> = Record<string, any>> {
382
+ constructor(elementSelector?: any, type?: string | string[], listener?: ((event: O, detail?: D) => void) | undefined, options?: any, detail?: D | undefined);
486
383
  isActive(): boolean;
487
384
  getElement(): E | undefined;
488
- setElement(elementSelector?: ElementOrString<E>): this;
489
- setElementControl<EC extends HTMLElement>(elementSelector?: ElementOrString<EC>): this;
385
+ setElement(elementSelector?: any): this;
386
+ setElementControl<EC extends HTMLElement>(elementSelector?: any): this;
490
387
  setType(type: string | string[]): this;
491
- setListener(listener: EventListenerDetail<O, D>): this;
492
- setOptions(options?: EventOptions): this;
388
+ setListener(listener: (event: O, detail?: D) => void): this;
389
+ setOptions(options?: any): this;
493
390
  setDetail(detail?: D): this;
494
391
  dispatch(detail?: D | undefined): this;
495
392
  start(): this;
@@ -497,32 +394,23 @@ export declare class EventItem<E extends ElementOrWindow, O extends Event, D ext
497
394
  toggle(activity: boolean): this;
498
395
  reset(): this;
499
396
  }
500
- // File: src/classes/Formatters.d.ts
501
- import { FormattersOptionsList, FormattersListProp, FormattersItemProp, FormattersReturn } from '../types/formattersTypes';
502
- /**
503
- * Class for formatting data lists.
504
- */
505
- export declare class Formatters<Options extends FormattersOptionsList = FormattersOptionsList, List extends FormattersListProp = FormattersListProp, Item extends FormattersItemProp<List> = FormattersItemProp<List>> {
397
+
398
+ // File: classes/Formatters.d.ts
399
+ export declare class Formatters<Options extends any = any, List extends any = any, Item extends any = any> {
506
400
  constructor(options: Options, list?: List | undefined);
507
401
  is(): boolean;
508
- isArray(): this is this & {
509
- list: any[];
510
- };
402
+ isArray(): boolean;
511
403
  length(): number;
512
404
  getList(): any[];
513
405
  getOptions(): Options;
514
406
  setList(list?: List): this;
515
- to(): FormattersReturn<List, Options>;
516
- }
517
- // File: src/classes/Geo.d.ts
518
- import { GeoInstance } from './GeoInstance';
519
- import { GeoItem, GeoItemFull } from '../types/geoTypes';
520
- /**
521
- * Static class for geographical data.
522
- */
407
+ to(): any;
408
+ }
409
+
410
+ // File: classes/Geo.d.ts
523
411
  export declare class Geo {
524
- static getObject(): GeoInstance;
525
- static get(): GeoItemFull;
412
+ static getObject(): any;
413
+ static get(): any;
526
414
  static getCountry(): string;
527
415
  static getLanguage(): string;
528
416
  static getStandard(): string;
@@ -530,48 +418,40 @@ export declare class Geo {
530
418
  static getLocation(): string;
531
419
  static getLocationCountry(): string;
532
420
  static getLocationLanguage(): string;
533
- static getItem(): GeoItemFull;
534
- static getList(): GeoItem[];
535
- static getByCode(code?: string): GeoItemFull;
536
- static getByCodeFull(code: string): GeoItem | undefined;
537
- static getByCountry(country: string): GeoItem | undefined;
538
- static getByLanguage(language: string): GeoItem | undefined;
421
+ static getItem(): any;
422
+ static getList(): any[];
423
+ static getByCode(code?: string): any;
424
+ static getByCodeFull(code: string): any | undefined;
425
+ static getByCountry(country: string): any | undefined;
426
+ static getByLanguage(language: string): any | undefined;
539
427
  static getTimezone(): number;
540
428
  static getTimezoneFormat(): string;
541
- static find(code: string): GeoItemFull;
542
- static toStandard(item: GeoItem): string;
429
+ static find(code: string): any;
430
+ static toStandard(item: any): string;
543
431
  static set(code: string, save?: boolean): void;
544
432
  static setTimezone(timezone: number): void;
545
433
  static setValueDefault(code?: string | (() => string)): void;
546
434
  }
547
- // File: src/classes/GeoFlag.d.ts
548
- import { GeoFlagItem, GeoFlagNational, GeoItemFull } from '../types/geoTypes';
549
- export declare const GEO_FLAG_ICON_NAME = "f";
550
- /**
551
- * Class for working with flags and geography.
552
- */
435
+
436
+ // File: classes/GeoFlag.d.ts
553
437
  export declare class GeoFlag {
554
438
  static flags: Record<string, string>;
555
439
  constructor(code?: string);
556
- get(code?: string): GeoFlagItem | undefined;
557
- getLanguage(code?: string): GeoFlagItem | undefined;
440
+ get(code?: string): any | undefined;
441
+ getLanguage(code?: string): any | undefined;
558
442
  getCode(): string;
559
443
  getFlag(code?: string): string | undefined;
560
- getList(codes?: string[], sort?: boolean): GeoFlagItem[];
561
- getListLanguage(codes?: string[], sort?: boolean): GeoFlagItem[];
562
- getNational(codes?: string[], sort?: boolean): GeoFlagNational[];
563
- getNationalLanguage(codes?: string[], sort?: boolean): GeoFlagNational[];
444
+ getList(codes?: string[], sort?: boolean): any[];
445
+ getListLanguage(codes?: string[], sort?: boolean): any[];
446
+ getNational(codes?: string[], sort?: boolean): any[];
447
+ getNationalLanguage(codes?: string[], sort?: boolean): any[];
564
448
  setCode(code: string): this;
565
449
  }
566
- // File: src/classes/GeoInstance.d.ts
567
- import { GeoItem, GeoItemFull } from '../types/geoTypes';
568
- export declare const UI_GEO_COOKIE_KEY = "ui-geo-code";
569
- /**
570
- * Base class for geographic data.
571
- */
450
+
451
+ // File: classes/GeoInstance.d.ts
572
452
  export declare class GeoInstance {
573
453
  constructor();
574
- get(): GeoItemFull;
454
+ get(): any;
575
455
  getCountry(): string;
576
456
  getLanguage(): string;
577
457
  getStandard(): string;
@@ -579,196 +459,155 @@ export declare class GeoInstance {
579
459
  getLocation(): string;
580
460
  getLocationCountry(): string;
581
461
  getLocationLanguage(): string;
582
- getItem(): GeoItemFull;
583
- getList(): GeoItem[];
584
- getByCode(code?: string): GeoItemFull;
585
- getByCodeFull(code: string): GeoItem | undefined;
586
- getByCountry(country: string): GeoItem | undefined;
587
- getByLanguage(language: string): GeoItem | undefined;
462
+ getItem(): any;
463
+ getList(): any[];
464
+ getByCode(code?: string): any;
465
+ getByCodeFull(code: string): any | undefined;
466
+ getByCountry(country: string): any | undefined;
467
+ getByLanguage(language: string): any | undefined;
588
468
  getTimezone(): number;
589
469
  getTimezoneFormat(): string;
590
- find(code: string): GeoItemFull;
591
- toStandard(item: GeoItem, language?: string): string;
470
+ find(code: string): any;
471
+ toStandard(item: any, language?: string): string;
592
472
  set(code: string, save?: boolean): void;
593
473
  setTimezone(timezone: number): void;
594
474
  setValueDefault(code?: string | (() => string)): void;
595
475
  }
596
- // File: src/classes/GeoIntl.d.ts
597
- import { ErrorCenterInstance } from './ErrorCenterInstance';
598
- import { NumberOrStringOrDate, NumberOrString } from '../types/basicTypes';
599
- import { GeoDate } from '../types/geoTypes';
600
- /**
601
- * Intl API wrapper for internationalization.
602
- */
476
+
477
+ // File: classes/GeoIntl.d.ts
603
478
  export declare class GeoIntl {
604
479
  static isItem(code?: string): boolean;
605
480
  static getLocation(code?: string): string;
606
481
  static getInstance(code?: string): GeoIntl;
607
- constructor(code?: string, errorCenter?: ErrorCenterInstance);
482
+ constructor(code?: string, errorCenter?: any);
608
483
  getLocation(): string;
609
484
  getFirstDay(): string;
610
- display(value?: string, typeOptions?: Intl.DisplayNamesOptions['type'] | Intl.DisplayNamesOptions): string;
611
- languageName(value?: string, style?: Intl.RelativeTimeFormatStyle): string;
612
- countryName(value?: string, style?: Intl.RelativeTimeFormatStyle): string;
485
+ display(value?: string, typeOptions?: any): string;
486
+ languageName(value?: string, style?: any): string;
487
+ countryName(value?: string, style?: any): string;
613
488
  fullName(last: string, first: string, surname?: string, short?: boolean): string;
614
- number(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
489
+ number(value: any, options?: Intl.NumberFormatOptions): string;
615
490
  decimal(): string;
616
- currency(value: NumberOrString, currencyOptions?: string | Intl.NumberFormatOptions, numberOnly?: boolean): string;
617
- currencySymbol(currency: string, currencyDisplay?: keyof Intl.NumberFormatOptionsCurrencyDisplayRegistry): string;
618
- unit(value: NumberOrString, unitOptions?: string | Intl.NumberFormatOptions): string;
619
- sizeFile(value: NumberOrString, unitOptions?: 'byte' | 'kilobyte' | 'megabyte' | 'gigabyte' | 'terabyte' | 'petabyte' | Intl.NumberFormatOptions): string;
620
- percent(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
621
- percentBy100(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
622
- plural(value: NumberOrString, words: string, options?: Intl.PluralRulesOptions, optionsNumber?: Intl.NumberFormatOptions): string;
623
- date(value: NumberOrStringOrDate, type?: GeoDate, styleOptions?: Intl.DateTimeFormatOptions['month'] | Intl.DateTimeFormatOptions, hour24?: boolean): string;
624
- relative(value: NumberOrStringOrDate, styleOptions?: Intl.RelativeTimeFormatStyle | Intl.RelativeTimeFormatOptions, todayValue?: Date): string;
625
- relativeLimit(value: NumberOrStringOrDate, limit: number, todayValue?: Date, relativeOptions?: Intl.RelativeTimeFormatStyle | Intl.RelativeTimeFormatOptions, dateOptions?: Intl.DateTimeFormatOptions['month'] | Intl.DateTimeFormatOptions, type?: GeoDate, hour24?: boolean): string;
626
- relativeByValue(value: NumberOrString, unit: Intl.RelativeTimeFormatUnit, styleOptions?: Intl.RelativeTimeFormatStyle | Intl.RelativeTimeFormatOptions): string;
627
- month(value?: NumberOrStringOrDate, style?: Intl.DateTimeFormatOptions['month']): string;
628
- months(style?: Intl.DateTimeFormatOptions['month']): any[];
629
- weekday(value?: NumberOrStringOrDate, style?: Intl.DateTimeFormatOptions['weekday']): string;
630
- weekdays(style?: Intl.DateTimeFormatOptions['weekday']): any[];
631
- time(value: NumberOrStringOrDate): string;
491
+ currency(value: any, currencyOptions?: string | Intl.NumberFormatOptions, numberOnly?: boolean): string;
492
+ currencySymbol(currency: string, currencyDisplay?: any): string;
493
+ unit(value: any, unitOptions?: string | Intl.NumberFormatOptions): string;
494
+ sizeFile(value: any, unitOptions?: any): string;
495
+ percent(value: any, options?: Intl.NumberFormatOptions): string;
496
+ percentBy100(value: any, options?: Intl.NumberFormatOptions): string;
497
+ plural(value: any, words: string, options?: Intl.PluralRulesOptions, optionsNumber?: Intl.NumberFormatOptions): string;
498
+ date(value: any, type?: any, styleOptions?: any, hour24?: boolean): string;
499
+ relative(value: any, styleOptions?: any, todayValue?: Date): string;
500
+ relativeLimit(value: any, limit: number, todayValue?: Date, relativeOptions?: any, dateOptions?: any, type?: any, hour24?: boolean): string;
501
+ relativeByValue(value: any, unit: any, styleOptions?: any): string;
502
+ month(value?: any, style?: any): string;
503
+ months(style?: any): any[];
504
+ weekday(value?: any, style?: any): string;
505
+ weekdays(style?: any): any[];
506
+ time(value: any): string;
632
507
  sort<T>(data: T[], compareFn?: (a: T, b: T) => [string, string]): T[];
633
508
  }
634
- // File: src/classes/GeoPhone.d.ts
635
- import { GeoPhoneValue, GeoPhoneMap, GeoPhoneMapInfo } from '../types/geoTypes';
636
- /**
637
- * Class for phone mask processing.
638
- */
509
+
510
+ // File: classes/GeoPhone.d.ts
639
511
  export declare class GeoPhone {
640
- static get(code: string): GeoPhoneValue | undefined;
641
- static getByPhone(phone: string): GeoPhoneMapInfo;
642
- static getByCode(code: string): GeoPhoneMap | undefined;
643
- static getList(): GeoPhoneValue[];
644
- static getMap(): Record<string, GeoPhoneMap>;
512
+ static get(code: string): any | undefined;
513
+ static getByPhone(phone: string): any;
514
+ static getByCode(code: string): any | undefined;
515
+ static getList(): any[];
516
+ static getMap(): Record<string, any>;
645
517
  static toMask(phone: string, masks?: string[]): string | undefined;
646
518
  static removeZero(phone: string): string;
647
519
  }
648
- // File: src/classes/GeoUnit.d.ts
649
- import { NumberOrString } from '../types/basicTypes';
650
- /**
651
- * Class for localized unit formatting.
652
- */
520
+
521
+ // File: classes/GeoUnit.d.ts
653
522
  export declare class GeoUnit {
654
523
  static getInstance(code?: string): GeoUnit;
655
524
  constructor(code?: string);
656
525
  getLocation(): string;
657
- millimeter(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
658
- centimeter(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
659
- meter(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
660
- kilometer(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
661
- squareMeter(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
662
- hectare(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
663
- gram(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
664
- kilogram(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
665
- tonne(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
666
- milliliter(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
667
- liter(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
668
- celsius(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
669
- kilometerPerHour(value: NumberOrString, options?: Intl.NumberFormatOptions): string;
670
- }
671
- // File: src/classes/Global.d.ts
672
- /**
673
- * Static class for application-wide data.
674
- */
526
+ millimeter(value: any, options?: Intl.NumberFormatOptions): string;
527
+ centimeter(value: any, options?: Intl.NumberFormatOptions): string;
528
+ meter(value: any, options?: Intl.NumberFormatOptions): string;
529
+ kilometer(value: any, options?: Intl.NumberFormatOptions): string;
530
+ squareMeter(value: any, options?: Intl.NumberFormatOptions): string;
531
+ hectare(value: any, options?: Intl.NumberFormatOptions): string;
532
+ gram(value: any, options?: Intl.NumberFormatOptions): string;
533
+ kilogram(value: any, options?: Intl.NumberFormatOptions): string;
534
+ tonne(value: any, options?: Intl.NumberFormatOptions): string;
535
+ milliliter(value: any, options?: Intl.NumberFormatOptions): string;
536
+ liter(value: any, options?: Intl.NumberFormatOptions): string;
537
+ celsius(value: any, options?: Intl.NumberFormatOptions): string;
538
+ kilometerPerHour(value: any, options?: Intl.NumberFormatOptions): string;
539
+ format(value: any, unit: string, options?: Intl.NumberFormatOptions): string;
540
+ }
541
+
542
+ // File: classes/Global.d.ts
675
543
  export declare class Global {
676
544
  static getItem(): Record<string, any>;
677
545
  static get<R = any>(name: string): R;
678
546
  static add(data: Record<string, any>): void;
679
547
  }
680
- // File: src/classes/Hash.d.ts
681
- import { HashInstance } from './HashInstance';
682
- /**
683
- * Static class for URL hash parameters.
684
- */
548
+
549
+ // File: classes/Hash.d.ts
685
550
  export declare class Hash {
686
- static getItem(): HashInstance;
551
+ static getItem(): any;
687
552
  static get<T>(name: string, defaultValue?: T | (() => T)): T;
688
553
  static set<T>(name: string, callback: T | (() => T)): void;
689
554
  static addWatch<T>(name: string, callback: (value: T) => void): void;
690
555
  static removeWatch<T>(name: string, callback: (value: T) => void): void;
691
556
  static reload(): void;
692
557
  }
693
- // File: src/classes/HashInstance.d.ts
694
- import { UrlInstanceAbstract } from './UrlInstanceAbstract';
695
- /**
696
- * Class for URL hash parameters.
697
- */
698
- export declare class HashInstance extends UrlInstanceAbstract {
699
- }
700
- // File: src/classes/Icons.d.ts
701
- export type IconsItem = string | Promise<string | any> | (() => Promise<string | any>);
702
- export type IconsConfig = {
703
- url?: string;
704
- list?: Record<string, IconsItem>;
705
- };
706
- /**
707
- * Class for managing icons.
708
- */
558
+
559
+ // File: classes/HashInstance.d.ts
560
+ export declare class HashInstance extends any {
561
+ }
562
+
563
+ // File: classes/Icons.d.ts
709
564
  export declare class Icons {
710
565
  static is(index: string): boolean;
711
566
  static get(index: string, url?: string, wait?: number): Promise<string>;
712
567
  static getAsync(index: string, url?: string): string;
713
568
  static getNameList(): string[];
714
569
  static getUrlGlobal(): string;
715
- static add(index: string, file: IconsItem): void;
570
+ static add(index: string, file: any): void;
716
571
  static addLoad(index: string): void;
717
572
  static addGlobal(index: string, file: string): void;
718
- static addByList(list: Record<string, IconsItem>): void;
573
+ static addByList(list: Record<string, any>): void;
719
574
  static setUrl(url: string): void;
720
- static setConfig(config: IconsConfig): void;
721
- }
722
- // File: src/classes/Loading.d.ts
723
- import { LoadingInstance } from './LoadingInstance';
724
- import { ElementOrString, EventListenerDetail } from '../types/basicTypes';
725
- /**
726
- * Class for global loading management.
727
- */
575
+ static setConfig(config: any): void;
576
+ }
577
+
578
+ // File: classes/Loading.d.ts
728
579
  export declare class Loading {
729
580
  static is(): boolean;
730
581
  static get(): number;
731
- static getItem(): LoadingInstance;
582
+ static getItem(): any;
732
583
  static show(): void;
733
584
  static hide(): void;
734
- static registrationEvent(listener: EventListenerDetail<CustomEvent, { loading: boolean }>, element?: ElementOrString<HTMLElement>): void;
735
- static unregistrationEvent(listener: EventListenerDetail<CustomEvent, { loading: boolean }>, element?: ElementOrString<HTMLElement>): void;
585
+ static registrationEvent(listener: (event: any, detail?: any) => void, element?: any): void;
586
+ static unregistrationEvent(listener: (event: any, detail?: any) => void, element?: any): void;
736
587
  }
737
- // File: src/classes/LoadingInstance.d.ts
738
- import { ElementOrString, EventListenerDetail } from '../types/basicTypes';
739
- export type LoadingDetail = {
740
- loading: boolean;
741
- };
742
- /**
743
- * Class for global loading management.
744
- */
588
+
589
+ // File: classes/LoadingInstance.d.ts
745
590
  export declare class LoadingInstance {
746
591
  constructor(eventName?: string);
747
592
  is(): boolean;
748
593
  get(): number;
749
594
  show(): void;
750
595
  hide(): void;
751
- registrationEvent(listener: EventListenerDetail<CustomEvent, LoadingDetail>, element?: ElementOrString<HTMLElement>): void;
752
- unregistrationEvent(listener: EventListenerDetail<CustomEvent, LoadingDetail>, element?: ElementOrString<HTMLElement>): void;
753
- }
754
- // File: src/classes/Meta.d.ts
755
- import { MetaManager } from './MetaManager';
756
- import { MetaOg } from './MetaOg';
757
- import { MetaTwitter } from './MetaTwitter';
758
- import { MetaRobots, MetaTag } from '../types/metaTypes';
759
- /**
760
- * Class for managing meta tags.
761
- */
762
- export declare class Meta extends MetaManager<MetaTag[]> {
596
+ registrationEvent(listener: (event: any, detail?: any) => void, element?: any): void;
597
+ unregistrationEvent(listener: (event: any, detail?: any) => void, element?: any): void;
598
+ }
599
+
600
+ // File: classes/Meta.d.ts
601
+ export declare class Meta extends any {
763
602
  constructor();
764
- getOg(): MetaOg;
765
- getTwitter(): MetaTwitter;
603
+ getOg(): any;
604
+ getTwitter(): any;
766
605
  getTitle(): string;
767
606
  getKeywords(): string;
768
607
  getDescription(): string;
769
608
  getImage(): string;
770
609
  getCanonical(): string;
771
- getRobots(): MetaRobots;
610
+ getRobots(): any;
772
611
  getAuthor(): string;
773
612
  getSiteName(): string;
774
613
  getLocale(): string;
@@ -777,7 +616,7 @@ export declare class Meta extends MetaManager<MetaTag[]> {
777
616
  setDescription(description: string): this;
778
617
  setImage(image: string): this;
779
618
  setCanonical(canonical: string): this;
780
- setRobots(robots: MetaRobots): this;
619
+ setRobots(robots: any): this;
781
620
  setAuthor(author: string): this;
782
621
  setSiteName(siteName: string): this;
783
622
  setLocale(locale: string): this;
@@ -785,60 +624,48 @@ export declare class Meta extends MetaManager<MetaTag[]> {
785
624
  html(): string;
786
625
  htmlTitle(): string;
787
626
  }
788
- // File: src/classes/MetaManager.d.ts
789
- /**
790
- * Class for meta tags management.
791
- */
792
- export declare class MetaManager<T extends readonly string[], Key extends keyof any = any> {
627
+
628
+ // File: classes/MetaManager.d.ts
629
+ export declare class MetaManager<T extends readonly string[], Key extends any = any> {
793
630
  constructor(listMeta: T, isProperty?: boolean);
794
631
  getListMeta(): T;
795
632
  get(name: Key): string;
796
- getItems(): Record<string, string>;
633
+ getItems(): any;
797
634
  html(): string;
798
635
  set(name: Key, content: string): this;
799
- setByList(metaList: Record<string, string>): this;
800
- }
801
- // File: src/classes/MetaOg.d.ts
802
- import { MetaManager } from './MetaManager';
803
- import { MetaOpenGraphTag, MetaOpenGraphType } from '../types/metaTypes';
804
- /**
805
- * Class for Open Graph tags.
806
- */
807
- export declare class MetaOg extends MetaManager<MetaOpenGraphTag[]> {
636
+ setByList(metaList: any): this;
637
+ }
638
+
639
+ // File: classes/MetaOg.d.ts
640
+ export declare class MetaOg extends any {
808
641
  constructor();
809
642
  getTitle(): string;
810
- getType(): MetaOpenGraphType;
643
+ getType(): any;
811
644
  getUrl(): string;
812
645
  getImage(): string;
813
646
  getDescription(): string;
814
647
  getLocale(): string;
815
648
  getSiteName(): string;
816
649
  setTitle(title: string): this;
817
- setType(type: MetaOpenGraphType): this;
650
+ setType(type: any): this;
818
651
  setUrl(url: string): this;
819
652
  setImage(url: string): this;
820
653
  setDescription(description: string): this;
821
654
  setLocale(locale: string): this;
822
655
  setSiteName(siteName: string): this;
823
656
  }
824
- // File: src/classes/MetaStatic.d.ts
825
- import { Meta } from './Meta';
826
- import { MetaOg } from './MetaOg';
827
- import { MetaTwitter } from './MetaTwitter';
828
- import { MetaRobots } from '../types/metaTypes';
829
- /**
830
- * Static class for meta tags.
831
- */
657
+
658
+ // File: classes/MetaStatic.d.ts
832
659
  export declare class MetaStatic {
833
- static getItem(): Meta;
834
- static getOg(): MetaOg;
835
- static getTwitter(): MetaTwitter;
660
+ static getItem(): any;
661
+ static getOg(): any;
662
+ static getTwitter(): any;
836
663
  static getTitle(): string;
837
664
  static getKeywords(): string;
838
665
  static getDescription(): string;
839
666
  static getImage(): string;
840
667
  static getCanonical(): string;
841
- static getRobots(): MetaRobots;
668
+ static getRobots(): any;
842
669
  static getAuthor(): string;
843
670
  static getSiteName(): string;
844
671
  static getLocale(): string;
@@ -847,7 +674,7 @@ export declare class MetaStatic {
847
674
  static setDescription(description: string): typeof MetaStatic;
848
675
  static setImage(image: string): typeof MetaStatic;
849
676
  static setCanonical(canonical: string): typeof MetaStatic;
850
- static setRobots(robots: MetaRobots): typeof MetaStatic;
677
+ static setRobots(robots: any): typeof MetaStatic;
851
678
  static setAuthor(author: string): typeof MetaStatic;
852
679
  static setSiteName(siteName: string): typeof MetaStatic;
853
680
  static setLocale(locale: string): typeof MetaStatic;
@@ -855,22 +682,18 @@ export declare class MetaStatic {
855
682
  static html(): string;
856
683
  static htmlTitle(): string;
857
684
  }
858
- // File: src/classes/MetaTwitter.d.ts
859
- import { MetaManager } from './MetaManager';
860
- import { MetaTwitterCard, MetaTwitterTag } from '../types/metaTypes';
861
- /**
862
- * Class for Twitter Card tags.
863
- */
864
- export declare class MetaTwitter extends MetaManager<MetaTwitterTag[]> {
685
+
686
+ // File: classes/MetaTwitter.d.ts
687
+ export declare class MetaTwitter extends any {
865
688
  constructor();
866
- getCard(): MetaTwitterCard;
689
+ getCard(): any;
867
690
  getSite(): string;
868
691
  getCreator(): string;
869
692
  getUrl(): string;
870
693
  getTitle(): string;
871
694
  getDescription(): string;
872
695
  getImage(): string;
873
- setCard(card: MetaTwitterCard): this;
696
+ setCard(card: any): this;
874
697
  setSite(site: string): this;
875
698
  setCreator(creator: string): this;
876
699
  setUrl(url: string): this;
@@ -878,139 +701,99 @@ export declare class MetaTwitter extends MetaManager<MetaTwitterTag[]> {
878
701
  setDescription(description: string): this;
879
702
  setImage(image: string): this;
880
703
  }
881
- // File: src/classes/Query.d.ts
882
- import { QueryInstance } from './QueryInstance';
883
- /**
884
- * Static class for URL query parameters.
885
- */
704
+
705
+ // File: classes/Query.d.ts
886
706
  export declare class Query {
887
- static getItem(): QueryInstance;
707
+ static getItem(): any;
888
708
  static get<T>(name: string, defaultValue?: T | (() => T)): T;
889
709
  static set<T>(name: string, callback: T | (() => T)): void;
890
710
  static addWatch<T>(name: string, callback: (value: T) => void): void;
891
711
  static removeWatch<T>(name: string, callback: (value: T) => void): void;
892
712
  static reload(): void;
893
713
  }
894
- // File: src/classes/QueryInstance.d.ts
895
- import { UrlInstanceAbstract } from './UrlInstanceAbstract';
896
- /**
897
- * Class for URL query parameters.
898
- */
899
- export declare class QueryInstance extends UrlInstanceAbstract {
900
- }
901
- // File: src/classes/ResumableTimer.d.ts
902
- import { FunctionVoid } from '../types/basicTypes';
903
- /**
904
- * Timer class with pause/resume support.
905
- */
714
+
715
+ // File: classes/QueryInstance.d.ts
716
+ export declare class QueryInstance extends any {
717
+ }
718
+
719
+ // File: classes/ResumableTimer.d.ts
906
720
  export declare class ResumableTimer {
907
- constructor(callback: FunctionVoid, delay?: number, blockStart?: boolean);
721
+ constructor(callback: () => void, delay?: number, blockStart?: boolean);
908
722
  resume(): this;
909
723
  pause(): this;
910
724
  reset(): this;
911
725
  clear(): this;
912
726
  }
913
- // File: src/classes/ScrollbarWidth.d.ts
914
- import { DataStorage } from './DataStorage';
915
- /**
916
- * Class for getting the scroll width.
917
- */
727
+
728
+ // File: classes/ScrollbarWidth.d.ts
918
729
  export declare class ScrollbarWidth {
919
730
  static is(): Promise<boolean>;
920
731
  static get(): Promise<number>;
921
- static getStorage(): DataStorage<number>;
732
+ static getStorage(): any;
922
733
  static getCalculate(): boolean;
923
734
  }
924
- // File: src/classes/SearchList.d.ts
925
- import { SearchListData } from './SearchListData';
926
- import { SearchListItem } from './SearchListItem';
927
- import { SearchListOptions } from './SearchListOptions';
928
- import { SearchColumns, SearchFormatList, SearchItem, SearchListValue, SearchOptions } from '../types/searchTypes';
929
- /**
930
- * Main class for searchable lists.
931
- */
932
- export declare class SearchList<T extends SearchItem, K extends SearchColumns<T>> {
933
- constructor(list: SearchListValue<T>, columns?: K, value?: string, options?: SearchOptions);
934
- getData(): SearchListData<T, K>;
935
- getList(): SearchListValue<T>;
735
+
736
+ // File: classes/SearchList.d.ts
737
+ export declare class SearchList<T extends any, K extends any> {
738
+ constructor(list: any, columns?: K, value?: string, options?: any);
739
+ getData(): any;
740
+ getList(): any;
936
741
  getColumns(): K | undefined;
937
- getItem(): SearchListItem;
742
+ getItem(): any;
938
743
  getValue(): string | undefined;
939
- getOptions(): SearchListOptions;
940
- setList(list: SearchListValue<T>): this;
744
+ getOptions(): any;
745
+ setList(list: any): this;
941
746
  setColumns(columns?: K): this;
942
747
  setValue(value?: string): this;
943
- setOptions(options: SearchOptions): this;
944
- to(): SearchFormatList<T, K>;
945
- }
946
- // File: src/classes/SearchListData.d.ts
947
- import { SearchListItem } from './SearchListItem';
948
- import { SearchListOptions } from './SearchListOptions';
949
- import { SearchColumns, SearchFormatItem, SearchFormatList, SearchItem, SearchListValue } from '../types/searchTypes';
950
- /**
951
- * Class for managing search data list.
952
- */
953
- export declare class SearchListData<T extends SearchItem, K extends SearchColumns<T>> {
954
- constructor(list: SearchListValue<T>, columns: K | undefined, item: SearchListItem, options: SearchListOptions);
955
- is(): this is this & {
956
- list: T[];
957
- columns: string[];
958
- };
959
- isList(): this is this & {
960
- list: T[];
961
- };
962
- getList(): SearchListValue<T>;
748
+ setOptions(options: any): this;
749
+ to(): any;
750
+ }
751
+
752
+ // File: classes/SearchListData.d.ts
753
+ export declare class SearchListData<T extends any, K extends any> {
754
+ constructor(list: any, columns: K | undefined, item: any, options: any);
755
+ is(): boolean;
756
+ isList(): boolean;
757
+ getList(): any;
963
758
  getColumns(): K | undefined;
964
- setList(list: SearchListValue<T>): this;
965
- setColumns(columns?: SearchColumns<T>): this;
966
- toFormatItem(item: T, selection: boolean): SearchFormatItem<T, K>;
967
- }
968
- // File: src/classes/SearchListItem.d.ts
969
- import { SearchListOptions } from './SearchListOptions';
970
- /**
971
- * Class representing search item value.
972
- */
759
+ setList(list: any): this;
760
+ setColumns(columns?: any): this;
761
+ findCacheItem(item: T): any | undefined;
762
+ forEach(callback: (item: any, value: any) => any | undefined): any;
763
+ toFormatItem(item: T, selection: boolean): any;
764
+ }
765
+
766
+ // File: classes/SearchListItem.d.ts
973
767
  export declare class SearchListItem {
974
- constructor(value: string | undefined, options: SearchListOptions);
975
- is(): this is this & {
976
- value: string;
977
- };
768
+ constructor(value: string | undefined, options: any);
769
+ is(): boolean;
978
770
  isSearch(): boolean;
979
771
  get(): string;
980
772
  set(value?: string): this;
981
773
  }
982
- // File: src/classes/SearchListMatcher.d.ts
983
- import { SearchListItem } from './SearchListItem';
984
- import { SearchListOptions } from './SearchListOptions';
985
- /**
986
- * Class for matching search queries.
987
- */
774
+
775
+ // File: classes/SearchListMatcher.d.ts
988
776
  export declare class SearchListMatcher {
989
- constructor(item: SearchListItem, options: SearchListOptions);
777
+ constructor(item: any, options: any);
990
778
  is(): boolean;
991
779
  isSelection(value: any): boolean;
992
780
  get(): RegExp | undefined;
993
781
  update(): void;
994
782
  }
995
- // File: src/classes/SearchListOptions.d.ts
996
- import { SearchOptions } from '../types/searchTypes';
997
- /**
998
- * Class for search options.
999
- */
783
+
784
+ // File: classes/SearchListOptions.d.ts
1000
785
  export declare class SearchListOptions {
1001
- constructor(options?: SearchOptions | undefined);
1002
- getOptions(): SearchOptions;
786
+ constructor(options?: any);
787
+ getOptions(): any;
1003
788
  getLimit(): number;
1004
789
  getReturnEverything(): boolean;
1005
790
  getDelay(): number;
1006
791
  getFindExactMatch(): boolean;
1007
792
  getClassName(): string;
1008
- setOptions(options: SearchOptions): this;
793
+ setOptions(options: any): this;
1009
794
  }
1010
- // File: src/classes/ServerStorage.d.ts
1011
- /**
1012
- * Class for storage during SSR.
1013
- */
795
+
796
+ // File: classes/ServerStorage.d.ts
1014
797
  export declare class ServerStorage {
1015
798
  static init(listener: () => Record<string, any> | undefined): typeof ServerStorage;
1016
799
  static reset(): void;
@@ -1021,10 +804,8 @@ export declare class ServerStorage {
1021
804
  static remove(key: string): void;
1022
805
  static toString(): string;
1023
806
  }
1024
- // File: src/classes/StorageCallback.d.ts
1025
- /**
1026
- * Class for storage callback lists.
1027
- */
807
+
808
+ // File: classes/StorageCallback.d.ts
1028
809
  export declare class StorageCallback<T = any, Callback = (value: T) => void | Promise<void>> {
1029
810
  static getInstance<T>(name: string, group?: string): StorageCallback<T, (value: T) => void | Promise<void>>;
1030
811
  constructor(name: string, group?: string);
@@ -1036,66 +817,53 @@ export declare class StorageCallback<T = any, Callback = (value: T) => void | Pr
1036
817
  preparation(): this;
1037
818
  run(value: T): Promise<this>;
1038
819
  }
1039
- // File: src/classes/Translate.d.ts
1040
- import { TranslateInstance } from './TranslateInstance';
1041
- import { TranslateCode, TranslateConfig, TranslateDataFile, TranslateList } from '../types/translateTypes';
1042
- /**
1043
- * Class for translations.
1044
- */
820
+
821
+ // File: classes/Translate.d.ts
1045
822
  export declare class Translate {
1046
823
  static get(name: string, replacement?: string[] | Record<string, string | number>): Promise<string>;
1047
- static getItem(): TranslateInstance;
824
+ static getItem(): any;
1048
825
  static getSync(name: string, first?: boolean, replacement?: string[] | Record<string, string | number>): string;
1049
- static getList<T extends TranslateCode[]>(names: T): Promise<TranslateList<T>>;
1050
- static getListSync<T extends TranslateCode[]>(names: T, first?: boolean): TranslateList<T>;
826
+ static getList<T extends string[]>(names: T): Promise<any>;
827
+ static getListSync<T extends string[]>(names: T, first?: boolean): any;
1051
828
  static add(names: string | string[]): Promise<void>;
1052
829
  static addSync(data: Record<string, string>): void;
1053
830
  static addNormalOrSync(data: Record<string, string>): Promise<void>;
1054
831
  static addSyncByLocation(data: Record<string, Record<string, string>>): void;
1055
- static addSyncByFile(data: TranslateDataFile): void;
832
+ static addSyncByFile(data: any): void;
1056
833
  static setUrl(url: string): void;
1057
834
  static setPropsName(name: string): void;
1058
835
  static setReadApi(value: boolean): void;
1059
- static setConfig(config: TranslateConfig): void;
836
+ static setConfig(config: any): void;
1060
837
  }
1061
- // File: src/classes/TranslateFile.d.ts
1062
- import { TranslateDataFile, TranslateDataFileList } from '../types/translateTypes';
1063
- /**
1064
- * Class for translation files.
1065
- */
838
+
839
+ // File: classes/TranslateFile.d.ts
1066
840
  export declare class TranslateFile {
1067
- constructor(data?: TranslateDataFile, language?: string | (() => string), location?: string | (() => string));
841
+ constructor(data?: any, language?: string | (() => string), location?: string | (() => string));
1068
842
  isFile(): boolean;
1069
843
  getLocation(): string;
1070
844
  getLanguage(): string;
1071
- getList(): Promise<TranslateDataFileList | undefined>;
1072
- add(data: TranslateDataFile): void;
1073
- }
1074
- // File: src/classes/TranslateInstance.d.ts
1075
- import { TranslateFile } from './TranslateFile';
1076
- import { TranslateCode, TranslateDataFile, TranslateList } from '../types/translateTypes';
1077
- /**
1078
- * Class for translations.
1079
- */
845
+ getList(): Promise<any | undefined>;
846
+ add(data: any): void;
847
+ }
848
+
849
+ // File: classes/TranslateInstance.d.ts
1080
850
  export declare class TranslateInstance {
1081
- constructor(url?: string, propsName?: string, files?: TranslateFile);
851
+ constructor(url?: string, propsName?: string, files?: any);
1082
852
  get(name: string, replacement?: string[] | Record<string, string | number>): Promise<string>;
1083
853
  getSync(name: string, first?: boolean, replacement?: string[] | Record<string, string | number>): string;
1084
- getList<T extends TranslateCode[]>(names: T): Promise<TranslateList<T>>;
1085
- getListSync<T extends TranslateCode[]>(names: T, first?: boolean): TranslateList<T>;
854
+ getList<T extends string[]>(names: T): Promise<any>;
855
+ getListSync<T extends string[]>(names: T, first?: boolean): any;
1086
856
  add(names: string | string[]): Promise<void>;
1087
857
  addSync(data: Record<string, string>): void;
1088
858
  addNormalOrSync(data: Record<string, string>): Promise<void>;
1089
859
  addSyncByLocation(data: Record<string, Record<string, string>>): void;
1090
- addSyncByFile(data: TranslateDataFile): void;
860
+ addSyncByFile(data: any): void;
1091
861
  setUrl(url: string): this;
1092
862
  setPropsName(name: string): this;
1093
863
  setReadApi(value: boolean): this;
1094
864
  }
1095
- // File: src/classes/UrlInstanceAbstract.d.ts
1096
- /**
1097
- * Abstract class for URL-based states.
1098
- */
865
+
866
+ // File: classes/UrlInstanceAbstract.d.ts
1099
867
  export declare abstract class UrlInstanceAbstract {
1100
868
  get<T>(name: string, defaultValue?: T | (() => T)): T;
1101
869
  set<T>(name: string, callback: T | (() => T)): this;
@@ -1103,10 +871,8 @@ export declare abstract class UrlInstanceAbstract {
1103
871
  removeWatch<T>(name: string, callback: (value: T) => void): this;
1104
872
  reload(): this;
1105
873
  }
1106
- // File: src/classes/UrlItem.d.ts
1107
- /**
1108
- * Utility class for URLs.
1109
- */
874
+
875
+ // File: classes/UrlItem.d.ts
1110
876
  export declare class UrlItem {
1111
877
  static getInstance(): UrlItem;
1112
878
  constructor(url?: string | URL);
@@ -1132,451 +898,356 @@ export declare class UrlItem {
1132
898
  toString(): string;
1133
899
  toJSON(): string;
1134
900
  }
1135
- // File: src/functions/addTagHighlightMatch.d.ts
901
+
902
+ // File: functions/addTagHighlightMatch.d.ts
1136
903
  export declare function addTagHighlightMatch(value: string, search?: string | RegExp, className?: string, shouldEscape?: boolean): string;
1137
- // File: src/functions/anyToString.d.ts
904
+
905
+ // File: functions/anyToString.d.ts
1138
906
  export declare function anyToString<V>(value: V, isArrayString?: boolean, trim?: boolean): string;
1139
- // File: src/functions/applyTemplate.d.ts
907
+
908
+ // File: functions/applyTemplate.d.ts
1140
909
  export declare const applyTemplate: (text: string, replacement?: Record<string, string | number | boolean> | string[]) => string;
1141
- // File: src/functions/arrFill.d.ts
910
+
911
+ // File: functions/arrFill.d.ts
1142
912
  export declare function arrFill<T>(value: T, count: number): T[];
1143
- // File: src/functions/blobToBase64.d.ts
913
+
914
+ // File: functions/blobToBase64.d.ts
1144
915
  export declare function blobToBase64(blob: Blob, clean?: boolean): Promise<string | undefined>;
1145
- // File: src/functions/capitalize.d.ts
916
+
917
+ // File: functions/capitalize.d.ts
1146
918
  export declare function capitalize(value: string, isLocale?: boolean): string;
1147
- // File: src/functions/copyObject.d.ts
919
+
920
+ // File: functions/copyObject.d.ts
1148
921
  export declare function copyObject<T>(value: T): T;
1149
- // File: src/functions/copyObjectLite.d.ts
922
+
923
+ // File: functions/copyObjectLite.d.ts
1150
924
  export declare function copyObjectLite<T, R = T>(value: T, source?: any): R;
1151
- // File: src/functions/createElement.d.ts
1152
- export declare function createElement<T extends HTMLElement>(parentElement?: HTMLElement, tagName?: string, options?: Partial<T> | Record<keyof T, T[keyof T]> | ((element: T) => void), referenceElement?: HTMLElement): T | undefined;
1153
- // File: src/functions/domQuerySelector.d.ts
925
+
926
+ // File: functions/createElement.d.ts
927
+ export declare function createElement<T extends HTMLElement>(parentElement?: HTMLElement, tagName?: string, options?: any, referenceElement?: HTMLElement): T | undefined;
928
+
929
+ // File: functions/domQuerySelector.d.ts
1154
930
  export declare function domQuerySelector<E extends Element = Element>(selectors: string): E | undefined;
1155
- // File: src/functions/domQuerySelectorAll.d.ts
931
+
932
+ // File: functions/domQuerySelectorAll.d.ts
1156
933
  export declare function domQuerySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E> | undefined;
1157
- // File: src/functions/encodeAttribute.d.ts
934
+
935
+ // File: functions/encodeAttribute.d.ts
1158
936
  export declare function encodeAttribute(text: string): string;
1159
- // File: src/functions/encodeLiteAttribute.d.ts
937
+
938
+ // File: functions/encodeLiteAttribute.d.ts
1160
939
  export declare function encodeLiteAttribute(text: string): string;
1161
- // File: src/functions/ensureMaxSize.d.ts
940
+
941
+ // File: functions/ensureMaxSize.d.ts
1162
942
  export declare function ensureMaxSize(file: Uint8Array, compress?: number, type?: string): Promise<string>;
1163
- // File: src/functions/escapeExp.d.ts
943
+
944
+ // File: functions/escapeExp.d.ts
1164
945
  export declare function escapeExp(value: string): string;
1165
- // File: src/functions/eventStopPropagation.d.ts
946
+
947
+ // File: functions/eventStopPropagation.d.ts
1166
948
  export declare function eventStopPropagation(event: Event): void;
1167
- // File: src/functions/executeFunction.d.ts
1168
- import { FunctionArgs } from '../types/basicTypes';
1169
- export declare function executeFunction<T>(callback: T | FunctionArgs<any, T>, ...args: any[]): T;
1170
- // File: src/functions/executePromise.d.ts
949
+
950
+ // File: functions/executeFunction.d.ts
951
+ export declare function executeFunction<T>(callback: T | ((...args: any[]) => T), ...args: any[]): T;
952
+
953
+ // File: functions/executePromise.d.ts
1171
954
  export declare function executePromise<T>(callback: ((...args: any[]) => Promise<T>) | ((...args: any[]) => T) | T, ...args: any[]): Promise<T>;
1172
- // File: src/functions/forEach.d.ts
1173
- export declare function forEach<T, R, D extends T[] | Record<string, T> | Map<string, T> | Set<T> = T[] | Record<string, T> | Map<string, T> | Set<T>, K = D extends T[] ? number : string>(data: D & (T[] | Record<string, T> | Map<string, T> | Set<T>), callback: (item: T, key: K, dataMain: typeof data) => R, saveUndefined?: boolean): R[];
1174
- // File: src/functions/frame.d.ts
955
+
956
+ // File: functions/forEach.d.ts
957
+ export declare function forEach<T, R>(data: any, callback: (item: T, key: any, dataMain: any) => R, saveUndefined?: boolean): R[];
958
+
959
+ // File: functions/frame.d.ts
1175
960
  export declare function frame(callback: () => void, next?: () => boolean, end?: () => void): void;
1176
- // File: src/functions/getArrayHighlightMatch.d.ts
1177
- import { HighlightMatchItem } from '../types/searchTypes';
1178
- export declare function getArrayHighlightMatch(value: string, search?: string | RegExp): HighlightMatchItem[];
1179
- // File: src/functions/getAttributes.d.ts
1180
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1181
- export declare function getAttributes<E extends ElementOrWindow>(element?: ElementOrString<E>): Record<string, string | undefined>;
1182
- // File: src/functions/getClipboardData.d.ts
961
+
962
+ // File: functions/getArrayHighlightMatch.d.ts
963
+ export declare function getArrayHighlightMatch(value: string, search?: string | RegExp): any[];
964
+
965
+ // File: functions/getAttributes.d.ts
966
+ export declare function getAttributes<E extends any>(element?: any): Record<string, string | undefined>;
967
+
968
+ // File: functions/getClipboardData.d.ts
1183
969
  export declare function getClipboardData(event?: ClipboardEvent): Promise<string>;
1184
- // File: src/functions/getColumn.d.ts
1185
- import { ObjectOrArray } from '../types/basicTypes';
1186
- export declare function getColumn<T, K extends keyof T>(array: ObjectOrArray<T>, column: K): (T[K] | undefined)[];
1187
- // File: src/functions/getCurrentDate.d.ts
1188
- import { GeoDate } from '../types/geoTypes';
1189
- export declare function getCurrentDate(format?: GeoDate): string;
1190
- // File: src/functions/getCurrentTime.d.ts
970
+
971
+ // File: functions/getColumn.d.ts
972
+ export declare function getColumn<T, K extends keyof T>(array: any, column: K): (T[K] | undefined)[];
973
+
974
+ // File: functions/getCurrentDate.d.ts
975
+ export declare function getCurrentDate(format?: any): string;
976
+
977
+ // File: functions/getCurrentTime.d.ts
1191
978
  export declare function getCurrentTime(): number;
1192
- // File: src/functions/getElement.d.ts
1193
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1194
- export declare function getElement<E extends ElementOrWindow, R extends Exclude<E, Window>>(element?: ElementOrString<E>): R | undefined;
1195
- // File: src/functions/getElementId.d.ts
1196
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1197
- export declare function getElementId<E extends ElementOrWindow>(element?: ElementOrString<E>, selector?: string): string;
979
+
980
+ // File: functions/getElement.d.ts
981
+ export declare function getElement<E extends any, R extends Exclude<E, Window>>(element?: any): R | undefined;
982
+
983
+ // File: functions/getElementId.d.ts
984
+ export declare function getElementId<E extends any>(element?: any, selector?: string): string;
1198
985
  export declare function initGetElementId(newListener: () => string | number): void;
1199
- // File: src/functions/getElementImage.d.ts
986
+
987
+ // File: functions/getElementImage.d.ts
1200
988
  export declare function getElementImage(image: HTMLImageElement | string): HTMLImageElement | undefined;
1201
- // File: src/functions/getElementItem.d.ts
1202
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1203
- export declare function getElementItem<T extends ElementOrWindow, K extends keyof T, D>(element: ElementOrString<T>, index: K | string, defaultValue?: D): T[K] | D | undefined;
1204
- // File: src/functions/getElementOrWindow.d.ts
1205
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1206
- export declare function getElementOrWindow<E extends ElementOrWindow>(element?: ElementOrString<E>): E | undefined;
1207
- // File: src/functions/getElementSafeScript.d.ts
989
+
990
+ // File: functions/getElementItem.d.ts
991
+ export declare function getElementItem<T extends any, K extends keyof T, D>(element: any, index: K | string, defaultValue?: D): T[K] | D | undefined;
992
+
993
+ // File: functions/getElementOrWindow.d.ts
994
+ export declare function getElementOrWindow<E extends any>(element?: any): E | undefined;
995
+
996
+ // File: functions/getElementSafeScript.d.ts
1208
997
  export declare function getElementSafeScript(id: string, data: any): string;
1209
- // File: src/functions/getExactSearchExp.d.ts
998
+
999
+ // File: functions/getExactSearchExp.d.ts
1210
1000
  export declare function getExactSearchExp(search: string): RegExp;
1211
- // File: src/functions/getExp.d.ts
1001
+
1002
+ // File: functions/getExp.d.ts
1212
1003
  export declare function getExp(value: string, flags?: string, pattern?: string): RegExp;
1213
- // File: src/functions/getFirst.d.ts
1004
+
1005
+ // File: functions/getFirst.d.ts
1214
1006
  export declare function getFirst<T>(value: T | T[] | Record<string, T>): T | undefined;
1215
- // File: src/functions/getHydrationData.d.ts
1007
+
1008
+ // File: functions/getHydrationData.d.ts
1216
1009
  export declare function getHydrationData<T>(id: string, defaultValue: T, remove?: boolean): T;
1217
- // File: src/functions/getItemByPath.d.ts
1010
+
1011
+ // File: functions/getItemByPath.d.ts
1218
1012
  export declare function getItemByPath<T extends Record<string, any>, R = string>(item: T, path: string): R | undefined;
1219
- // File: src/functions/getKey.d.ts
1013
+
1014
+ // File: functions/getKey.d.ts
1220
1015
  export declare function getKey(event: KeyboardEvent): string | number | undefined;
1221
- // File: src/functions/getLength.d.ts
1016
+
1017
+ // File: functions/getLength.d.ts
1222
1018
  export declare function getLength(value: any): number;
1223
- // File: src/functions/getLengthOfAllArray.d.ts
1224
- import { ObjectOrArray } from '../types/basicTypes';
1225
- export declare function getLengthOfAllArray(value: ObjectOrArray<string>): number[];
1226
- // File: src/functions/getMaxLengthAllArray.d.ts
1227
- import { ObjectOrArray } from '../types/basicTypes';
1228
- export declare function getMaxLengthAllArray(data: ObjectOrArray<string>): number;
1229
- // File: src/functions/getMinLengthAllArray.d.ts
1230
- import { ObjectOrArray } from '../types/basicTypes';
1231
- export declare function getMinLengthAllArray(data: ObjectOrArray<string>): number;
1232
- // File: src/functions/getMouseClient.d.ts
1233
- import { ImageCoordinator } from '../types/basicTypes';
1234
- export declare function getMouseClient(event: MouseEvent & TouchEvent): ImageCoordinator;
1235
- // File: src/functions/getMouseClientX.d.ts
1019
+
1020
+ // File: functions/getLengthOfAllArray.d.ts
1021
+ export declare function getLengthOfAllArray(value: any): number[];
1022
+
1023
+ // File: functions/getMaxLengthAllArray.d.ts
1024
+ export declare function getMaxLengthAllArray(data: any): number;
1025
+
1026
+ // File: functions/getMinLengthAllArray.d.ts
1027
+ export declare function getMinLengthAllArray(data: any): number;
1028
+
1029
+ // File: functions/getMouseClient.d.ts
1030
+ export declare function getMouseClient(event: MouseEvent & TouchEvent): any;
1031
+
1032
+ // File: functions/getMouseClientX.d.ts
1236
1033
  export declare function getMouseClientX(event: MouseEvent & TouchEvent): number;
1237
- // File: src/functions/getMouseClientY.d.ts
1034
+
1035
+ // File: functions/getMouseClientY.d.ts
1238
1036
  export declare function getMouseClientY(event: MouseEvent & TouchEvent): number;
1239
- // File: src/functions/getObjectByKeys.d.ts
1037
+
1038
+ // File: functions/getObjectByKeys.d.ts
1240
1039
  export declare function getObjectByKeys<T extends Record<string, any>, K extends keyof T>(data: T, keys: K[]): Pick<T, K>;
1241
- // File: src/functions/getObjectNoUndefined.d.ts
1040
+
1041
+ // File: functions/getObjectNoUndefined.d.ts
1242
1042
  export declare function getObjectNoUndefined<T extends Record<string | number, any>>(data: T, exception?: any): T;
1243
- // File: src/functions/getObjectOrNone.d.ts
1043
+
1044
+ // File: functions/getObjectOrNone.d.ts
1244
1045
  export declare function getObjectOrNone<T>(value: T): T & Record<string, any>;
1245
- // File: src/functions/getOnlyText.d.ts
1046
+
1047
+ // File: functions/getOnlyText.d.ts
1246
1048
  export declare function getOnlyText(text: any): string;
1247
- // File: src/functions/getRandomText.d.ts
1049
+
1050
+ // File: functions/getRandomText.d.ts
1248
1051
  export declare function getRandomText(min: number, max: number, symbol?: string, lengthMin?: number, lengthMax?: number): string;
1249
- // File: src/functions/getRequestString.d.ts
1052
+
1053
+ // File: functions/getRequestString.d.ts
1250
1054
  export declare function getRequestString(request: Record<string, any> | any[], sign?: string, separator?: string, subKey?: string): string;
1251
- // File: src/functions/getSearchExp.d.ts
1055
+
1056
+ // File: functions/getSearchExp.d.ts
1252
1057
  export declare function getSearchExp(search: string, limit?: number): RegExp;
1253
- // File: src/functions/getSeparatingSearchExp.d.ts
1058
+
1059
+ // File: functions/getSeparatingSearchExp.d.ts
1254
1060
  export declare function getSeparatingSearchExp(search: string | RegExp, limit?: number): RegExp;
1255
- // File: src/functions/getStepPercent.d.ts
1061
+
1062
+ // File: functions/getStepPercent.d.ts
1256
1063
  export declare function getStepPercent(min: number | undefined, max: number): number;
1257
- // File: src/functions/getStepValue.d.ts
1064
+
1065
+ // File: functions/getStepValue.d.ts
1258
1066
  export declare function getStepValue(min: number | undefined, max: number): number;
1259
- // File: src/functions/goScroll.d.ts
1067
+
1068
+ // File: functions/goScroll.d.ts
1260
1069
  export declare function goScroll(selector: string, elementTo: HTMLElement | undefined, elementCenter?: HTMLElement): void;
1261
- // File: src/functions/goScrollSmooth.d.ts
1070
+
1071
+ // File: functions/goScrollSmooth.d.ts
1262
1072
  export declare function goScrollSmooth<E extends HTMLElement>(element: E, options?: ScrollIntoViewOptions, shift?: number): void;
1263
- // File: src/functions/goScrollTo.d.ts
1073
+
1074
+ // File: functions/goScrollTo.d.ts
1264
1075
  export declare function goScrollTo(element?: HTMLElement, elementTo?: HTMLElement, behavior?: ScrollBehavior): void;
1265
- // File: src/functions/handleShare.d.ts
1076
+
1077
+ // File: functions/handleShare.d.ts
1266
1078
  export declare function handleShare(data: ShareData): Promise<boolean>;
1267
- // File: src/functions/inArray.d.ts
1079
+
1080
+ // File: functions/inArray.d.ts
1268
1081
  export declare function inArray<T>(array: T[], value: T): boolean;
1269
- // File: src/functions/initScrollbarOffset.d.ts
1082
+
1083
+ // File: functions/initScrollbarOffset.d.ts
1270
1084
  export declare function initScrollbarOffset(): Promise<void>;
1271
- // File: src/functions/intersectKey.d.ts
1272
- export declare function intersectKey<T, KT extends keyof T, C, KC extends keyof C>(data?: T, comparison?: C): Record<KT & KC, T[KT]>;
1273
- // File: src/functions/isApiSuccess.d.ts
1274
- import { ApiData } from '../types/apiTypes';
1275
- export declare const isApiSuccess: <T>(data: ApiData<T>) => boolean;
1276
- // File: src/functions/isArray.d.ts
1277
- export declare function isArray<T, R>(value: T): value is Extract<T, R[]>;
1278
- // File: src/functions/isDifferent.d.ts
1279
- import { ObjectItem } from '../types/basicTypes';
1280
- export declare function isDifferent<T>(value: ObjectItem<T>, old: ObjectItem<T>): boolean;
1281
- // File: src/functions/isDomData.d.ts
1085
+
1086
+ // File: functions/intersectKey.d.ts
1087
+ export declare function intersectKey<T, KT extends keyof T, C, KC extends keyof C>(data?: T, comparison?: C): Record<string, any>;
1088
+
1089
+ // File: functions/isApiSuccess.d.ts
1090
+ export declare const isApiSuccess: <T>(data: any) => boolean;
1091
+
1092
+ // File: functions/isArray.d.ts
1093
+ export declare function isArray<T, R>(value: T): boolean;
1094
+
1095
+ // File: functions/isDifferent.d.ts
1096
+ export declare function isDifferent<T>(value: any, old: any): boolean;
1097
+
1098
+ // File: functions/isDomData.d.ts
1282
1099
  export declare function isDomData(): boolean;
1283
- // File: src/functions/isDomRuntime.d.ts
1100
+
1101
+ // File: functions/isDomRuntime.d.ts
1284
1102
  export declare function isDomRuntime(): boolean;
1285
- // File: src/functions/isElementVisible.d.ts
1286
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1287
- export declare function isElementVisible<E extends ElementOrWindow>(elementSelectors?: ElementOrString<E>): boolean;
1288
- // File: src/functions/isEnter.d.ts
1103
+
1104
+ // File: functions/isElementVisible.d.ts
1105
+ export declare function isElementVisible<E extends any>(elementSelectors?: any): boolean;
1106
+
1107
+ // File: functions/isEnter.d.ts
1289
1108
  export declare const isEnter: (event: KeyboardEvent, isInputElement?: boolean) => boolean;
1290
- // File: src/functions/isFilled.d.ts
1291
- import { EmptyValue } from '../types/basicTypes';
1292
- export declare function isFilled<T>(value: T, zeroTrue?: boolean): value is Exclude<T, EmptyValue>;
1293
- // File: src/functions/isFloat.d.ts
1109
+
1110
+ // File: functions/isFilled.d.ts
1111
+ export declare function isFilled<T>(value: T, zeroTrue?: boolean): boolean;
1112
+
1113
+ // File: functions/isFloat.d.ts
1294
1114
  export declare function isFloat(value: any): boolean;
1295
- // File: src/functions/isFunction.d.ts
1296
- import { FunctionArgs } from '../types/basicTypes';
1297
- export declare function isFunction<T>(callback: T): callback is Extract<T, FunctionArgs<any, any>>;
1298
- // File: src/functions/isInDom.d.ts
1299
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1300
- export declare function isInDom<E extends ElementOrWindow>(element?: ElementOrString<E>): boolean;
1301
- // File: src/functions/isInput.d.ts
1115
+
1116
+ // File: functions/isFunction.d.ts
1117
+ export declare function isFunction<T>(callback: T): boolean;
1118
+
1119
+ // File: functions/isInDom.d.ts
1120
+ export declare function isInDom<E extends any>(element?: any): boolean;
1121
+
1122
+ // File: functions/isInput.d.ts
1302
1123
  export declare const isInput: (element: HTMLElement | EventTarget | null) => boolean;
1303
- // File: src/functions/isIntegerBetween.d.ts
1124
+
1125
+ // File: functions/isIntegerBetween.d.ts
1304
1126
  export declare function isIntegerBetween(value: number, between: number): boolean;
1305
- // File: src/functions/isNull.d.ts
1306
- import { Undefined } from '../types/basicTypes';
1307
- export declare function isNull<T>(value: T): value is Extract<T, Undefined>;
1308
- // File: src/functions/isNumber.d.ts
1127
+
1128
+ // File: functions/isMetaKey.d.ts
1129
+ export declare const isMetaKey: (event: KeyboardEvent) => boolean;
1130
+
1131
+ // File: functions/isNull.d.ts
1132
+ export declare function isNull<T>(value: T): boolean;
1133
+
1134
+ // File: functions/isNumber.d.ts
1309
1135
  export declare function isNumber(value: any): boolean;
1310
- // File: src/functions/isObject.d.ts
1311
- export declare function isObject<T>(value: T): value is Extract<T, Record<any, any>>;
1312
- // File: src/functions/isObjectNotArray.d.ts
1313
- export declare function isObjectNotArray<T>(value: T): value is Exclude<Extract<T, Record<any, any>>, any[] | undefined | null>;
1314
- // File: src/functions/isOnLine.d.ts
1136
+
1137
+ // File: functions/isObject.d.ts
1138
+ export declare function isObject<T>(value: T): boolean;
1139
+
1140
+ // File: functions/isObjectNotArray.d.ts
1141
+ export declare function isObjectNotArray<T>(value: T): boolean;
1142
+
1143
+ // File: functions/isOnLine.d.ts
1315
1144
  export declare function isOnLine(): boolean;
1316
- // File: src/functions/isSelected.d.ts
1145
+
1146
+ // File: functions/isSelected.d.ts
1317
1147
  export declare function isSelected<T, S>(value: T, selected: T | T[] | S): boolean;
1318
- // File: src/functions/isSelectedByList.d.ts
1148
+
1149
+ // File: functions/isSelectedByList.d.ts
1319
1150
  export declare function isSelectedByList<T>(values: T | T[], selected: T | T[]): boolean;
1320
- // File: src/functions/isShare.d.ts
1151
+
1152
+ // File: functions/isShare.d.ts
1321
1153
  export declare function isShare(): boolean;
1322
- // File: src/functions/isString.d.ts
1323
- export declare function isString<T>(value: T): value is Extract<T, string>;
1324
- // File: src/functions/isTab.d.ts
1154
+
1155
+ // File: functions/isString.d.ts
1156
+ export declare function isString<T>(value: T): boolean;
1157
+
1158
+ // File: functions/isTab.d.ts
1325
1159
  export declare const isTab: (event: KeyboardEvent) => boolean;
1326
- // File: src/functions/isWindow.d.ts
1327
- export declare function isWindow<E>(element: E): element is Extract<E, Window>;
1328
- // File: src/functions/random.d.ts
1160
+
1161
+ // File: functions/isWindow.d.ts
1162
+ export declare function isWindow<E>(element: E): boolean;
1163
+
1164
+ // File: functions/random.d.ts
1329
1165
  export declare function random(min: number, max: number): number;
1330
- // File: src/functions/removeCommonPrefix.d.ts
1166
+
1167
+ // File: functions/removeCommonPrefix.d.ts
1331
1168
  export declare function removeCommonPrefix(mainStr: string, prefix: string): string;
1332
- // File: src/functions/replaceComponentName.d.ts
1169
+
1170
+ // File: functions/replaceComponentName.d.ts
1333
1171
  export declare const replaceComponentName: (text: string | undefined, name: string, componentName: string) => string | undefined;
1334
- // File: src/functions/replaceRecursive.d.ts
1335
- import { ObjectItem, ObjectOrArray } from '../types/basicTypes';
1336
- export declare function replaceRecursive<I>(array: ObjectItem<I>, replacement?: ObjectOrArray<I>, isMerge?: boolean): ObjectItem<I>;
1337
- // File: src/functions/replaceTemplate.d.ts
1338
- import { FunctionReturn } from '../types/basicTypes';
1339
- export declare function replaceTemplate(value: string, replaces: Record<string, string | FunctionReturn<string>>): string;
1340
- // File: src/functions/resizeImageByMax.d.ts
1341
- export declare function resizeImageByMax(image: HTMLImageElement | string, maxSize: number, type?: 'auto' | 'width' | 'height', typeData?: string): string | undefined;
1342
- // File: src/functions/secondToTime.d.ts
1172
+
1173
+ // File: functions/replaceRecursive.d.ts
1174
+ export declare function replaceRecursive<I>(array: any, replacement?: any, isMerge?: boolean): any;
1175
+
1176
+ // File: functions/replaceTemplate.d.ts
1177
+ export declare function replaceTemplate(value: string, replaces: Record<string, string | (() => string)>): string;
1178
+
1179
+ // File: functions/resizeImageByMax.d.ts
1180
+ export declare function resizeImageByMax(image: HTMLImageElement | string, maxSize: number, type?: any, typeData?: string): string | undefined;
1181
+
1182
+ // File: functions/secondToTime.d.ts
1343
1183
  export declare function secondToTime(second: number | string | undefined, hasHour?: boolean): string;
1344
- // File: src/functions/setElementItem.d.ts
1345
- import { ElementOrString, ElementOrWindow } from '../types/basicTypes';
1346
- export declare function setElementItem<E extends ElementOrWindow, K extends keyof E, V extends E[K] = E[K]>(element: ElementOrString<E>, index: K, value: V | Record<string, V>): E | undefined;
1347
- // File: src/functions/setValues.d.ts
1348
- export declare function setValues<T>(selected: T | T[] | undefined, value: any, { multiple, maxlength, alwaysChange, notEmpty }: {
1349
- multiple?: boolean | undefined;
1350
- maxlength?: number | undefined;
1351
- alwaysChange?: boolean | undefined;
1352
- notEmpty?: boolean | undefined;
1184
+
1185
+ // File: functions/setElementItem.d.ts
1186
+ export declare function setElementItem<E extends any, K extends keyof E, V extends E[K] = E[K]>(element: any, index: K, value: V | Record<string, V>): E | undefined;
1187
+
1188
+ // File: functions/setValues.d.ts
1189
+ export declare function setValues<T>(selected: T | T[] | undefined, value: any, options: {
1190
+ multiple?: boolean;
1191
+ maxlength?: number;
1192
+ alwaysChange?: boolean;
1193
+ notEmpty?: boolean;
1353
1194
  }): T | T[] | undefined;
1354
- // File: src/functions/sleep.d.ts
1195
+
1196
+ // File: functions/sleep.d.ts
1355
1197
  export declare function sleep(ms: number): Promise<void>;
1356
- // File: src/functions/splice.d.ts
1357
- import { ObjectItem } from '../types/basicTypes';
1358
- export declare function splice<I>(array: ObjectItem<I>, replacement?: ObjectItem<I> | I, indexStart?: string): ObjectItem<I>;
1359
- // File: src/functions/strFill.d.ts
1198
+
1199
+ // File: functions/splice.d.ts
1200
+ export declare function splice<I>(array: any, replacement?: any, indexStart?: string): any;
1201
+
1202
+ // File: functions/strFill.d.ts
1360
1203
  export declare function strFill(value: string, count: number): string;
1361
- // File: src/functions/strSplit.d.ts
1204
+
1205
+ // File: functions/strSplit.d.ts
1362
1206
  export declare function strSplit(value: number | string, separator: string, limit?: number): string[];
1363
- // File: src/functions/toArray.d.ts
1364
- export declare function toArray<T>(value: T): T extends any[] ? T : [T];
1365
- // File: src/functions/toCamelCase.d.ts
1207
+
1208
+ // File: functions/toArray.d.ts
1209
+ export declare function toArray<T>(value: T): any;
1210
+
1211
+ // File: functions/toCamelCase.d.ts
1366
1212
  export declare function toCamelCase(value: string): string;
1367
- // File: src/functions/toCamelCaseFirst.d.ts
1213
+
1214
+ // File: functions/toCamelCaseFirst.d.ts
1368
1215
  export declare function toCamelCaseFirst(value: string): string;
1369
- // File: src/functions/toDate.d.ts
1370
- export declare function toDate<T extends Date | number | string>(value?: T): (T & Date) | Date;
1371
- // File: src/functions/toKebabCase.d.ts
1216
+
1217
+ // File: functions/toDate.d.ts
1218
+ export declare function toDate<T extends Date | number | string>(value?: T): Date;
1219
+
1220
+ // File: functions/toKebabCase.d.ts
1372
1221
  export declare function toKebabCase(value: string): string;
1373
- // File: src/functions/toNumber.d.ts
1374
- import { NumberOrString } from '../types/basicTypes';
1375
- export declare function toNumber(value?: NumberOrString): number;
1376
- // File: src/functions/toNumberByMax.d.ts
1222
+
1223
+ // File: functions/toNumber.d.ts
1224
+ export declare function toNumber(value?: any): number;
1225
+
1226
+ // File: functions/toNumberByMax.d.ts
1377
1227
  export declare function toNumberByMax(value: string | number, max?: string | number, formatting?: boolean, language?: string): string | number;
1378
- // File: src/functions/toPercent.d.ts
1228
+
1229
+ // File: functions/toPercent.d.ts
1379
1230
  export declare function toPercent(maxValue: number, value: number): number;
1380
- // File: src/functions/toPercentBy100.d.ts
1231
+
1232
+ // File: functions/toPercentBy100.d.ts
1381
1233
  export declare function toPercentBy100(maxValue: number, value: number): number;
1382
- // File: src/functions/toString.d.ts
1234
+
1235
+ // File: functions/toString.d.ts
1383
1236
  export declare function toString<T>(value: T): string;
1384
- // File: src/functions/transformation.d.ts
1237
+
1238
+ // File: functions/transformation.d.ts
1385
1239
  export declare function transformation(value: any, isFunction?: boolean): any;
1386
- // File: src/functions/uint8ArrayToBase64.d.ts
1240
+
1241
+ // File: functions/uint8ArrayToBase64.d.ts
1387
1242
  export declare function uint8ArrayToBase64(bytes: Uint8Array): string;
1388
- // File: src/functions/uniqueArray.d.ts
1243
+
1244
+ // File: functions/uniqueArray.d.ts
1389
1245
  export declare function uniqueArray<T>(value: T[]): T[];
1390
- // File: src/functions/writeClipboardData.d.ts
1246
+
1247
+ // File: functions/writeClipboardData.d.ts
1391
1248
  export declare function writeClipboardData(text: string): Promise<void>;
1392
- // File: src/library.d.ts
1393
- export * from './classes/Api';
1394
- export * from './classes/ApiCache';
1395
- export * from './classes/ApiDataReturn';
1396
- export * from './classes/ApiDefault';
1397
- export * from './classes/ApiError';
1398
- export * from './classes/ApiErrorItem';
1399
- export * from './classes/ApiErrorStorage';
1400
- export * from './classes/ApiHeaders';
1401
- export * from './classes/ApiHydration';
1402
- export * from './classes/ApiInstance';
1403
- export * from './classes/ApiPreparation';
1404
- export * from './classes/ApiResponse';
1405
- export * from './classes/ApiStatus';
1406
- export * from './classes/BroadcastMessage';
1407
- export * from './classes/Cache';
1408
- export * from './classes/CacheItem';
1409
- export * from './classes/CacheStatic';
1410
- export * from './classes/Cookie';
1411
- export * from './classes/CookieBlock';
1412
- export * from './classes/CookieBlockInstance';
1413
- export * from './classes/CookieStorage';
1414
- export * from './classes/DataStorage';
1415
- export * from './classes/Datetime';
1416
- export * from './classes/ErrorCenter';
1417
- export * from './classes/ErrorCenterHandler';
1418
- export * from './classes/ErrorCenterInstance';
1419
- export * from './classes/EventItem';
1420
- export * from './classes/Formatters';
1421
- export * from './classes/Geo';
1422
- export * from './classes/GeoFlag';
1423
- export * from './classes/GeoInstance';
1424
- export * from './classes/GeoIntl';
1425
- export * from './classes/GeoPhone';
1426
- export * from './classes/GeoUnit';
1427
- export * from './classes/Global';
1428
- export * from './classes/Hash';
1429
- export * from './classes/HashInstance';
1430
- export * from './classes/Icons';
1431
- export * from './classes/Loading';
1432
- export * from './classes/LoadingInstance';
1433
- export * from './classes/Meta';
1434
- export * from './classes/MetaManager';
1435
- export * from './classes/MetaOg';
1436
- export * from './classes/MetaStatic';
1437
- export * from './classes/MetaTwitter';
1438
- export * from './classes/Query';
1439
- export * from './classes/QueryInstance';
1440
- export * from './classes/ResumableTimer';
1441
- export * from './classes/ScrollbarWidth';
1442
- export * from './classes/SearchList';
1443
- export * from './classes/SearchListData';
1444
- export * from './classes/SearchListItem';
1445
- export * from './classes/SearchListMatcher';
1446
- export * from './classes/SearchListOptions';
1447
- export * from './classes/ServerStorage';
1448
- export * from './classes/StorageCallback';
1449
- export * from './classes/Translate';
1450
- export * from './classes/TranslateFile';
1451
- export * from './classes/TranslateInstance';
1452
- export * from './classes/UrlInstanceAbstract';
1453
- export * from './classes/UrlItem';
1454
- export * from './functions/addTagHighlightMatch';
1455
- export * from './functions/anyToString';
1456
- export * from './functions/applyTemplate';
1457
- export * from './functions/arrFill';
1458
- export * from './functions/blobToBase64';
1459
- export * from './functions/capitalize';
1460
- export * from './functions/copyObject';
1461
- export * from './functions/copyObjectLite';
1462
- export * from './functions/createElement';
1463
- export * from './functions/domQuerySelector';
1464
- export * from './functions/domQuerySelectorAll';
1465
- export * from './functions/encodeAttribute';
1466
- export * from './functions/encodeLiteAttribute';
1467
- export * from './functions/ensureMaxSize';
1468
- export * from './functions/escapeExp';
1469
- export * from './functions/eventStopPropagation';
1470
- export * from './functions/executeFunction';
1471
- export * from './functions/executePromise';
1472
- export * from './functions/forEach';
1473
- export * from './functions/frame';
1474
- export * from './functions/getArrayHighlightMatch';
1475
- export * from './functions/getAttributes';
1476
- export * from './functions/getClipboardData';
1477
- export * from './functions/getColumn';
1478
- export * from './functions/getCurrentDate';
1479
- export * from './functions/getCurrentTime';
1480
- export * from './functions/getElement';
1481
- export * from './functions/getElementId';
1482
- export * from './functions/getElementImage';
1483
- export * from './functions/getElementItem';
1484
- export * from './functions/getElementOrWindow';
1485
- export * from './functions/getElementSafeScript';
1486
- export * from './functions/getExactSearchExp';
1487
- export * from './functions/getExp';
1488
- export * from './functions/getFirst';
1489
- export * from './functions/getHydrationData';
1490
- export * from './functions/getItemByPath';
1491
- export * from './functions/getKey';
1492
- export * from './functions/getLength';
1493
- export * from './functions/getLengthOfAllArray';
1494
- export * from './functions/getMaxLengthAllArray';
1495
- export * from './functions/getMinLengthAllArray';
1496
- export * from './functions/getMouseClient';
1497
- export * from './functions/getMouseClientX';
1498
- export * from './functions/getMouseClientY';
1499
- export * from './functions/getObjectByKeys';
1500
- export * from './functions/getObjectNoUndefined';
1501
- export * from './functions/getObjectOrNone';
1502
- export * from './functions/getOnlyText';
1503
- export * from './functions/getRandomText';
1504
- export * from './functions/getRequestString';
1505
- export * from './functions/getSearchExp';
1506
- export * from './functions/getSeparatingSearchExp';
1507
- export * from './functions/getStepPercent';
1508
- export * from './functions/getStepValue';
1509
- export * from './functions/goScroll';
1510
- export * from './functions/goScrollSmooth';
1511
- export * from './functions/goScrollTo';
1512
- export * from './functions/handleShare';
1513
- export * from './functions/inArray';
1514
- export * from './functions/initScrollbarOffset';
1515
- export * from './functions/intersectKey';
1516
- export * from './functions/isApiSuccess';
1517
- export * from './functions/isArray';
1518
- export * from './functions/isDifferent';
1519
- export * from './functions/isDomData';
1520
- export * from './functions/isDomRuntime';
1521
- export * from './functions/isElementVisible';
1522
- export * from './functions/isEnter';
1523
- export * from './functions/isFilled';
1524
- export * from './functions/isFloat';
1525
- export * from './functions/isFunction';
1526
- export * from './functions/isInDom';
1527
- export * from './functions/isInput';
1528
- export * from './functions/isIntegerBetween';
1529
- export * from './functions/isNull';
1530
- export * from './functions/isNumber';
1531
- export * from './functions/isObject';
1532
- export * from './functions/isObjectNotArray';
1533
- export * from './functions/isOnLine';
1534
- export * from './functions/isSelected';
1535
- export * from './functions/isSelectedByList';
1536
- export * from './functions/isShare';
1537
- export * from './functions/isString';
1538
- export * from './functions/isTab';
1539
- export * from './functions/isWindow';
1540
- export * from './functions/random';
1541
- export * from './functions/removeCommonPrefix';
1542
- export * from './functions/replaceComponentName';
1543
- export * from './functions/replaceRecursive';
1544
- export * from './functions/replaceTemplate';
1545
- export * from './functions/resizeImageByMax';
1546
- export * from './functions/secondToTime';
1547
- export * from './functions/setElementItem';
1548
- export * from './functions/setValues';
1549
- export * from './functions/sleep';
1550
- export * from './functions/splice';
1551
- export * from './functions/strFill';
1552
- export * from './functions/strSplit';
1553
- export * from './functions/toArray';
1554
- export * from './functions/toCamelCase';
1555
- export * from './functions/toCamelCaseFirst';
1556
- export * from './functions/toDate';
1557
- export * from './functions/toKebabCase';
1558
- export * from './functions/toNumber';
1559
- export * from './functions/toNumberByMax';
1560
- export * from './functions/toPercent';
1561
- export * from './functions/toPercentBy100';
1562
- export * from './functions/toString';
1563
- export * from './functions/transformation';
1564
- export * from './functions/uint8ArrayToBase64';
1565
- export * from './functions/uniqueArray';
1566
- export * from './functions/writeClipboardData';
1567
- export * from './types/apiTypes';
1568
- export * from './types/basicTypes';
1569
- export * from './types/errorCenter';
1570
- export * from './types/formattersTypes';
1571
- export * from './types/geoTypes';
1572
- export * from './types/metaTypes';
1573
- export * from './types/searchTypes';
1574
- export * from './types/translateTypes';
1575
- // File: src/media/errorCauseList.d.ts
1576
- import { ErrorCenterCauseList } from '../types/errorCenter';
1577
- export declare const errorCauseList: ErrorCenterCauseList;
1578
- // File: src/types/apiTypes.d.ts
1579
- import { ApiErrorItem } from '../classes/ApiErrorItem';
1249
+
1250
+ // File: types/apiTypes.d.ts
1580
1251
  export declare enum ApiMethodItem {
1581
1252
  delete = "DELETE",
1582
1253
  get = "GET",
@@ -1590,105 +1261,24 @@ export type ApiCacheItem<T = any> = {
1590
1261
  cacheAge: number;
1591
1262
  };
1592
1263
  export type ApiCacheList = Record<string, ApiCacheItem>;
1593
- export type ApiConfig = {
1594
- urlRoot?: string;
1595
- origin?: string;
1596
- headers?: ApiHeadersValue;
1597
- requestDefault?: ApiDefaultValue;
1598
- preparation?: (apiFetch: ApiFetch) => Promise<void>;
1599
- end?: (query: Response, apiFetch: ApiFetch) => Promise<ApiPreparationEnd>;
1600
- timeout?: number;
1601
- devMode?: boolean;
1602
- wrapper?: <R>(callback: () => Promise<R>, apiFetch: ApiFetch) => Promise<R>;
1603
- };
1604
- export type ApiData<T = any> = T extends any[] ? T : ApiDataItem<T>;
1605
- export type ApiDataValidation = {
1606
- status?: ApiStatusType;
1607
- code?: string | number;
1608
- message?: string;
1609
- error?: {
1610
- code?: string | number;
1611
- message?: string;
1612
- };
1613
- };
1614
- export type ApiDataItem<T = any> = T & ApiDataValidation & {
1615
- data?: T;
1616
- success?: boolean;
1617
- statusObject?: ApiStatusItem;
1618
- errorObject?: ApiErrorItem;
1619
- };
1264
+ export type ApiConfig = any;
1265
+ export type ApiData<T = any> = any;
1266
+ export type ApiDataValidation = any;
1267
+ export type ApiDataItem<T = any> = any;
1620
1268
  export type ApiHeadersValue = Record<string, string> | (() => Record<string, string>);
1621
1269
  export type ApiDefaultValue = Record<string, any> | (() => Record<string, any>);
1622
- export type ApiFetch = {
1623
- api?: boolean;
1624
- path?: string;
1625
- pathFull?: string;
1626
- method?: ApiMethod;
1627
- request?: FormData | Record<string, any> | string;
1628
- auth?: boolean;
1629
- headers?: Record<string, string> | null;
1630
- type?: string;
1631
- toData?: boolean;
1632
- global?: boolean;
1633
- devMode?: boolean;
1634
- hideError?: boolean;
1635
- hideLoading?: boolean;
1636
- retry?: number;
1637
- retryDelay?: number;
1638
- queryReturn?: (query: Response) => Promise<any | ApiDataValidation>;
1639
- globalPreparation?: boolean;
1640
- globalEnd?: boolean;
1641
- init?: RequestInit;
1642
- initError?: boolean;
1643
- timeout?: number;
1644
- controller?: AbortController;
1645
- cache?: number;
1646
- enableClientCache?: boolean;
1647
- cacheId?: number | string;
1648
- endResetLimit?: number;
1649
- wrapper?: <R>(callback: () => Promise<R>, apiFetch: ApiFetch) => Promise<R>;
1650
- };
1651
- export type ApiHydrationItem = {
1652
- path: string;
1653
- method: ApiMethod;
1654
- request?: ApiFetch['request'];
1655
- response: any;
1656
- };
1270
+ export type ApiFetch = any;
1271
+ export type ApiHydrationItem = any;
1657
1272
  export type ApiHydrationList = ApiHydrationItem[];
1658
- export type ApiErrorStorageItem = Record<string, any> & {
1659
- url: string | RegExp;
1660
- method: ApiMethodItem;
1661
- code?: string;
1662
- status?: number;
1663
- validation?: (response: Response) => boolean;
1664
- message?: string | ((response?: Response) => string);
1665
- };
1273
+ export type ApiErrorStorageItem = any;
1666
1274
  export type ApiErrorStorageList = ApiErrorStorageItem[];
1667
1275
  export type ApiMethod = string | ApiMethodItem;
1668
- export type ApiPreparationEnd = {
1669
- reset?: boolean;
1670
- data?: any;
1671
- };
1672
- export type ApiResponseItem = {
1673
- path: string | RegExp;
1674
- method: ApiMethod;
1675
- request?: ApiFetch['request'] | '*any';
1676
- response: any | ((request?: ApiFetch['request']) => any);
1677
- disable?: any;
1678
- isForGlobal?: boolean;
1679
- lag?: any;
1680
- };
1681
- export type ApiStatusItem = {
1682
- status?: number;
1683
- statusText?: string;
1684
- error?: string;
1685
- lastResponse?: any;
1686
- lastStatus?: ApiStatusType;
1687
- lastCode?: string;
1688
- lastMessage?: string;
1689
- };
1276
+ export type ApiPreparationEnd = any;
1277
+ export type ApiResponseItem = any;
1278
+ export type ApiStatusItem = any;
1690
1279
  export type ApiStatusType = 'success' | 'error' | 'warning' | 'info';
1691
- // File: src/types/basicTypes.d.ts
1280
+
1281
+ // File: types/basicTypes.d.ts
1692
1282
  export type Undefined = undefined | null;
1693
1283
  export type EmptyValue = Undefined | 0 | false | '' | 'undefined' | 'null' | '0' | 'false' | '[]';
1694
1284
  export type NumberOrString = number | string;
@@ -1720,36 +1310,21 @@ export type ElementOrWindow = HTMLElement | Window;
1720
1310
  export type ElementOrString<E extends ElementOrWindow> = E | string;
1721
1311
  export type EventOptions = AddEventListenerOptions | boolean | undefined;
1722
1312
  export type EventListenerDetail<O extends Event, D extends Record<string, any>> = (event: O, detail?: D) => void;
1723
- export type EventActivityItem<E extends ElementOrWindow> = {
1724
- element: E | undefined;
1725
- type: string;
1726
- listener?: (event: any | Event) => void;
1727
- observer?: ResizeObserver;
1728
- };
1313
+ export type EventActivityItem<E extends ElementOrWindow> = any;
1729
1314
  export type ImageCoordinator = {
1730
1315
  x: number;
1731
1316
  y: number;
1732
1317
  };
1733
- // File: src/types/errorCenter.d.ts
1318
+
1319
+ // File: types/errorCenter.d.ts
1734
1320
  export type ErrorCenterGroup = string | undefined;
1735
- export type ErrorCenterCauseItem<D = any> = {
1736
- group?: ErrorCenterGroup;
1737
- code: string;
1738
- priority?: number;
1739
- label?: string;
1740
- message?: string;
1741
- details?: D;
1742
- };
1321
+ export type ErrorCenterCauseItem<D = any> = any;
1743
1322
  export type ErrorCenterCauseList = ErrorCenterCauseItem[];
1744
1323
  export type ErrorCenterHandlerCallback = (cause: ErrorCenterCauseItem) => void;
1745
- export type ErrorCenterHandlerItem = {
1746
- group?: ErrorCenterGroup;
1747
- handlers: ErrorCenterHandlerCallback[];
1748
- };
1324
+ export type ErrorCenterHandlerItem = any;
1749
1325
  export type ErrorCenterHandlerList = ErrorCenterHandlerItem[];
1750
- // File: src/types/formattersTypes.d.ts
1751
- import { ArrayToItem } from './basicTypes';
1752
- import { GeoDate } from './geoTypes';
1326
+
1327
+ // File: types/formattersTypes.d.ts
1753
1328
  export declare enum FormattersType {
1754
1329
  currency = "currency",
1755
1330
  date = "date",
@@ -1758,55 +1333,29 @@ export declare enum FormattersType {
1758
1333
  plural = "plural",
1759
1334
  unit = "unit"
1760
1335
  }
1761
- export type FormattersOptionsCurrency = {
1762
- currencyPropName?: string;
1763
- options?: string | Intl.NumberFormatOptions;
1764
- numberOnly?: boolean;
1765
- };
1766
- export type FormattersOptionsDate = {
1767
- type?: GeoDate;
1768
- options?: Intl.DateTimeFormatOptions['month'] | Intl.DateTimeFormatOptions;
1769
- hour24?: boolean;
1770
- };
1771
- export type FormattersOptionsName = {
1772
- lastPropName?: string;
1773
- firstPropName?: string;
1774
- surname?: string;
1775
- short?: boolean;
1776
- };
1777
- export type FormattersOptionsNumber = {
1778
- options?: Intl.NumberFormatOptions;
1779
- };
1780
- export type FormattersOptionsPlural = {
1781
- words: string;
1782
- options?: Intl.PluralRulesOptions;
1783
- optionsNumber?: Intl.NumberFormatOptions;
1784
- };
1785
- export type FormattersOptionsUnit = {
1786
- unit: string | Intl.NumberFormatOptions;
1787
- };
1788
- export type FormattersOptionsInformation<Type extends FormattersType> = Type extends FormattersType.currency ? FormattersOptionsCurrency : Type extends FormattersType.date ? FormattersOptionsDate : Type extends FormattersType.name ? FormattersOptionsName : Type extends FormattersType.number ? FormattersOptionsNumber : Type extends FormattersType.plural ? FormattersOptionsPlural : Type extends FormattersType.unit ? FormattersOptionsUnit : Record<string, any>;
1789
- export type FormattersOptionsItem<Type extends FormattersType = FormattersType, R = string> = {
1790
- type?: Type;
1791
- transformation?: (valueOriginal: any, item: any, options?: FormattersOptionsInformation<Type>) => R;
1792
- options?: FormattersOptionsInformation<Type>;
1793
- };
1336
+ export type FormattersOptionsCurrency = any;
1337
+ export type FormattersOptionsDate = any;
1338
+ export type FormattersOptionsName = any;
1339
+ export type FormattersOptionsNumber = any;
1340
+ export type FormattersOptionsPlural = any;
1341
+ export type FormattersOptionsUnit = any;
1342
+ export type FormattersOptionsInformation<Type extends FormattersType> = any;
1343
+ export type FormattersOptionsItem<Type extends FormattersType = FormattersType, R = string> = any;
1794
1344
  export type FormattersOptionsList = Record<string, FormattersOptionsItem>;
1795
1345
  export type FormattersListItem = Record<string, any>;
1796
1346
  export type FormattersList<Item extends FormattersListItem> = Item[];
1797
- export type FormattersCapitalize<K extends string> = K extends `${infer First}.${infer Rest}` ? `${First}${Capitalize<FormattersCapitalize<Rest>>}` : K;
1347
+ export type FormattersCapitalize<K extends string> = any;
1798
1348
  export type FormattersColumns<T extends FormattersOptionsList> = (keyof T & string)[];
1799
- export type FormattersKey<K, A extends string = 'Format'> = K extends string ? `${FormattersCapitalize<K>}${A}` : never;
1800
- export type FormattersDataItem<T extends FormattersListItem, KT extends string[]> = {
1801
- [K in keyof T | FormattersKey<KT[number]>]: K extends keyof T ? T[K] : string;
1802
- };
1803
- export type FormattersListFormat<T extends FormattersListItem, K extends string[]> = FormattersDataItem<T, K>[];
1804
- export type FormattersListColumnItem<T extends FormattersListItem, O extends FormattersOptionsList> = FormattersDataItem<T, FormattersColumns<O>>;
1805
- export type FormattersListColumns<T extends FormattersListItem, O extends FormattersOptionsList> = FormattersListFormat<T, FormattersColumns<O>>;
1349
+ export type FormattersKey<K, A extends string = 'Format'> = any;
1350
+ export type FormattersDataItem<T extends FormattersListItem, KT extends string[]> = any;
1351
+ export type FormattersListFormat<T extends FormattersListItem, K extends string[]> = any;
1352
+ export type FormattersListColumnItem<T extends FormattersListItem, O extends FormattersOptionsList> = any;
1353
+ export type FormattersListColumns<T extends FormattersListItem, O extends FormattersOptionsList> = any;
1806
1354
  export type FormattersListProp = FormattersList<FormattersListItem> | FormattersListItem;
1807
- export type FormattersItemProp<List extends FormattersListProp> = ArrayToItem<List>;
1808
- export type FormattersReturn<List extends FormattersListProp, Options extends FormattersOptionsList = FormattersOptionsList, Item extends FormattersItemProp<List> = FormattersItemProp<List>> = List extends any[] ? FormattersListColumns<Item, Options> : (FormattersListColumnItem<Item, Options> | undefined);
1809
- // File: src/types/geoTypes.d.ts
1355
+ export type FormattersItemProp<List extends FormattersListProp> = any;
1356
+ export type FormattersReturn<List extends FormattersListProp, Options extends FormattersOptionsList = FormattersOptionsList, Item extends FormattersItemProp<List> = FormattersItemProp<List>> = any;
1357
+
1358
+ // File: types/geoTypes.d.ts
1810
1359
  export type GeoDate = 'full' | 'datetime' | 'date' | 'year-month' | 'year' | 'month' | 'day' | 'day-month' | 'time' | 'hour-minute' | 'hour' | 'minute' | 'second';
1811
1360
  export type GeoFirstDay = 1 | 6 | 0;
1812
1361
  export type GeoHours = '12' | '24';
@@ -1822,21 +1371,7 @@ export interface GeoItem {
1822
1371
  phoneWithin?: string;
1823
1372
  phoneMask?: string | string[];
1824
1373
  nameFormat?: 'fl' | 'fsl' | 'lf' | 'lsf' | string;
1825
- unit?: {
1826
- 'millimeter'?: string;
1827
- 'centimeter'?: string;
1828
- 'meter'?: string;
1829
- 'kilometer'?: string;
1830
- 'square-meter'?: string;
1831
- 'hectare'?: string;
1832
- 'gram'?: string;
1833
- 'kilogram'?: string;
1834
- 'tonne'?: string;
1835
- 'milliliter'?: string;
1836
- 'liter'?: string;
1837
- 'celsius'?: string;
1838
- 'kilometer-per-hour'?: string;
1839
- };
1374
+ unit?: any;
1840
1375
  }
1841
1376
  export interface GeoItemFull extends Omit<GeoItem, 'firstDay'> {
1842
1377
  standard: string;
@@ -1879,7 +1414,8 @@ export interface GeoPhoneMapInfo {
1879
1414
  item?: GeoPhoneMap;
1880
1415
  phone?: string;
1881
1416
  }
1882
- // File: src/types/metaTypes.d.ts
1417
+
1418
+ // File: types/metaTypes.d.ts
1883
1419
  export declare enum MetaTag {
1884
1420
  title = "title",
1885
1421
  description = "description",
@@ -2065,49 +1601,27 @@ export declare enum MetaTwitterCard {
2065
1601
  audio = "audio",
2066
1602
  poll = "poll"
2067
1603
  }
2068
- // File: src/types/searchTypes.d.ts
1604
+
1605
+ // File: types/searchTypes.d.ts
2069
1606
  export type SearchItem = Record<string, any>;
2070
- export type SearchColumnPath<K, P> = K extends string ? P extends string ? `${K}.${P}` : never : never;
2071
- export type SearchColumn<T extends SearchItem> = {
2072
- [K in keyof T]-?: NonNullable<T[K]> extends object ? K | SearchColumnPath<K, keyof NonNullable<T[K]>> : K;
2073
- }[keyof T];
2074
- export type SearchColumns<T extends SearchItem> = (SearchColumn<T> & string)[];
2075
- export type SearchFormatCapitalize<K extends string> = K extends `${infer First}.${infer Rest}` ? `${First}${Capitalize<SearchFormatCapitalize<Rest>>}` : K;
2076
- export type SearchFormatKey<K> = K extends string ? `${SearchFormatCapitalize<K>}Search` : never;
2077
- export type SearchFormatItem<T extends SearchItem, KT extends string[]> = {
2078
- [K in keyof T | SearchFormatKey<KT[number]>]: K extends keyof T ? T[K] : string;
2079
- } & {
2080
- searchActive?: boolean;
2081
- };
2082
- export type SearchFormatList<T extends SearchItem, K extends string[]> = SearchFormatItem<T, K>[];
1607
+ export type SearchColumnPath<K, P> = any;
1608
+ export type SearchColumn<T extends SearchItem> = any;
1609
+ export type SearchColumns<T extends SearchItem> = any;
1610
+ export type SearchFormatCapitalize<K extends string> = any;
1611
+ export type SearchFormatKey<K> = any;
1612
+ export type SearchFormatItem<T extends SearchItem, KT extends string[]> = any;
1613
+ export type SearchFormatList<T extends SearchItem, K extends string[]> = any;
2083
1614
  export type SearchListValue<T extends SearchItem> = T[] | undefined;
2084
- export type SearchOptions = {
2085
- limit?: number;
2086
- returnEverything?: boolean;
2087
- delay?: number;
2088
- findExactMatch?: boolean;
2089
- classSearchName?: string;
2090
- };
2091
- export type SearchCacheItem<T extends SearchItem> = {
2092
- item: T;
2093
- value: string;
2094
- };
1615
+ export type SearchOptions = any;
1616
+ export type SearchCacheItem<T extends SearchItem> = any;
2095
1617
  export type SearchCache<T extends SearchItem> = SearchCacheItem<T>[];
2096
- export type HighlightMatchItem = {
2097
- text: string;
2098
- isMatch: boolean;
2099
- };
2100
- // File: src/types/translateTypes.d.ts
2101
- export type TranslateConfig = {
2102
- url?: string;
2103
- propsName?: string;
2104
- readApi?: boolean;
2105
- };
1618
+ export type HighlightMatchItem = any;
1619
+
1620
+ // File: types/translateTypes.d.ts
1621
+ export type TranslateConfig = any;
2106
1622
  export type TranslateCode = string | string[];
2107
- export type TranslateList<T extends TranslateCode[]> = {
2108
- [K in T[number] as K extends readonly string[] ? K[0] : K]: string;
2109
- };
2110
- export type TranslateItemOrList<T extends TranslateCode> = T extends string[] ? TranslateList<T> : string;
1623
+ export type TranslateList<T extends TranslateCode[]> = any;
1624
+ export type TranslateItemOrList<T extends TranslateCode> = any;
2111
1625
  export type TranslateDataFileList = Record<string, string>;
2112
1626
  export type TranslateDataFileItem = () => Promise<TranslateDataFileList>;
2113
1627
  export type TranslateDataFile = Record<string, TranslateDataFileItem>;