puvox-library 1.0.72 → 1.0.73
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/library_standard.d.ts +488 -893
- package/library_standard.d.ts.map +1 -1
- package/package.json +1 -1
package/library_standard.d.ts
CHANGED
@@ -1,897 +1,492 @@
|
|
1
|
-
export
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
export declare function formItemsToJson(FormElement: any): {};
|
131
|
-
export declare function renameKey(obj: any, keyFrom: any, keyTo: any): any;
|
132
|
-
export declare function renameKey(obj: any, keyFrom: any, keyTo: any): any;
|
133
|
-
export declare function renameSubKey(obj: any, keyFrom: any, keyTo: any, strict?: boolean): any;
|
134
|
-
export declare function renameSubKey(obj: any, keyFrom: any, keyTo: any, strict?: boolean): any;
|
135
|
-
export declare function hasEmptyChild(obj: any): boolean;
|
136
|
-
export declare function hasEmptyChild(obj: any): boolean;
|
137
|
-
export declare function filterObject(obj: any, callback: any): any;
|
138
|
-
export declare function filterObject(obj: any, callback: any): any;
|
139
|
-
export declare function isBetween(a: any, b: any, c: any): boolean;
|
140
|
-
export declare function isBetween(a: any, b: any, c: any): boolean;
|
141
|
-
export declare function isBetweenEq(a: any, b: any, c: any): boolean;
|
142
|
-
export declare function isBetweenEq(a: any, b: any, c: any): boolean;
|
143
|
-
export declare function startsWithWhiteSpace(content: any): boolean;
|
144
|
-
export declare function startsWithWhiteSpace(content: any): boolean;
|
145
|
-
export declare function trimOnlyFromEnd(content: any): any;
|
146
|
-
export declare function trimOnlyFromEnd(content: any): any;
|
147
|
-
export declare function startsWith(content: any, what: any): any;
|
148
|
-
export declare function startsWith(content: any, what: any): any;
|
149
|
-
export declare function startsWithArray(content: any, array: any): boolean;
|
150
|
-
export declare function startsWithArray(content: any, array: any): boolean;
|
151
|
-
export declare function endsWith(content: any, what: any): any;
|
152
|
-
export declare function endsWith(content: any, what: any): any;
|
153
|
-
export declare function endsWithArray(content: any, array: any): boolean;
|
154
|
-
export declare function endsWithArray(content: any, array: any): boolean;
|
155
|
-
export declare function startLetters(str: any, amountOfLetters: any): any;
|
156
|
-
export declare function startLetters(str: any, amountOfLetters: any): any;
|
157
|
-
export declare function endLetters(str: any, amountOfLetters: any): any;
|
158
|
-
export declare function endLetters(str: any, amountOfLetters: any): any;
|
159
|
-
export declare function ConvertNumbToRoman(num: any): any;
|
160
|
-
export declare function ConvertNumbToRoman(num: any): any;
|
161
|
-
export declare function when_element_is_loaded(Id_or_class: any, functionname: any): void;
|
162
|
-
export declare function when_element_is_loaded(Id_or_class: any, functionname: any): void;
|
163
|
-
export declare function SetTitlee(title: any): void;
|
164
|
-
export declare function SetTitlee(title: any): void;
|
165
|
-
export declare function setUrl(urlPath: any, title: any): void;
|
166
|
-
export declare function setUrl(urlPath: any, title: any): void;
|
167
|
-
export declare function requestUri(url: any): any;
|
168
|
-
export declare function requestUri(url: any): any;
|
169
|
-
export declare function ArrayKeyExistss(keyname: any, array: any): boolean;
|
170
|
-
export declare function ArrayKeyExistss(keyname: any, array: any): boolean;
|
171
|
-
export declare function hashtageChangeOnClick(e: any): void;
|
172
|
-
export declare function hashtageChangeOnClick(e: any): void;
|
173
|
-
export declare function capitalizeFirstLetter(string: any): any;
|
174
|
-
export declare function capitalizeFirstLetter(string: any): any;
|
175
|
-
export declare function addQueryArg(name: any, value: any, url: any): string;
|
176
|
-
export declare function addQueryArg(name: any, value: any, url: any): string;
|
177
|
-
export declare function buildQueryString(params: any): any;
|
178
|
-
export declare function buildQueryString(params: any): any;
|
179
|
-
export declare function wpHomeUrl(): void;
|
180
|
-
export declare function wpHomeUrl(): void;
|
181
|
-
export declare function LoadYoutubeApi(callback: any): void;
|
182
|
-
export declare function LoadYoutubeApi(callback: any): void;
|
183
|
-
export declare function argvsString(): any;
|
184
|
-
export declare function argvsString(): any;
|
185
|
-
export declare function argvsArray(): any;
|
186
|
-
export declare function argvsArray(): any;
|
187
|
-
export declare function argvs(): {};
|
188
|
-
export declare function argvs(): {};
|
189
|
-
export declare function argv(which: any, def?: undefined): any;
|
190
|
-
export declare function argv(which: any, def?: undefined): any;
|
191
|
-
export declare function argvIsSet(which: any): boolean;
|
192
|
-
export declare function argvIsSet(which: any): boolean;
|
193
|
-
export declare function parseQuery(queryString: any): {};
|
194
|
-
export declare function parseQuery(queryString: any): {};
|
195
|
-
export declare function invertDictionary(obj: any): {};
|
196
|
-
export declare function invertDictionary(obj: any): {};
|
197
|
-
export declare function isElementInViewport(el: any): boolean;
|
198
|
-
export declare function isElementInViewport(el: any): boolean;
|
199
|
-
export declare function MakeIframeFullHeight(iframeElement: any, cycling: any, overwrite_margin: any): void;
|
200
|
-
export declare function MakeIframeFullHeight(iframeElement: any, cycling: any, overwrite_margin: any): void;
|
201
|
-
export declare function MakeIframeFullHeight(iframeElement: any, cycling: any, overwrite_margin: any): void;
|
202
|
-
export declare function MakeIframeFullHeight(iframeElement: any, cycling: any, overwrite_margin: any): void;
|
203
|
-
export declare function getYtIdFromURL(URLL: any): any;
|
204
|
-
export declare function getYtIdFromURL(URL_or_ID: any): any;
|
205
|
-
export declare function getYtIdFromURL(URLL: any): any;
|
206
|
-
export declare function getYtIdFromURL(URL_or_ID: any): any;
|
207
|
-
export declare function autoSizeTextareas(className: any): void;
|
208
|
-
export declare function autoSizeTextareas(className: any): void;
|
209
|
-
export declare function getAllMethods(obj: any, inherited_too: any): string[];
|
210
|
-
export declare function getAllMethods(obj: any, inherited_too: any): string[];
|
211
|
-
export declare function hasMethod(obj: any, funcName: any, inherited_too: any): boolean | null;
|
212
|
-
export declare function hasMethod(obj: any, funcName: any, inherited_too: any): boolean | null;
|
213
|
-
export declare function ConvertToHourMinSec(time: any): string;
|
214
|
-
export declare function ConvertToHourMinSec(time: any): string;
|
215
|
-
export declare function getWindowSize(): {
|
216
|
-
x: number;
|
217
|
-
y: number;
|
218
|
-
};
|
219
|
-
export declare function getWindowSize(): {
|
220
|
-
x: number;
|
221
|
-
y: number;
|
222
|
-
};
|
223
|
-
export declare function removeItem(arr: any, value: any): any;
|
224
|
-
export declare function removeItem(arr: any, value: any): any;
|
225
|
-
export declare function removeItemOnce(arr: any, value: any): any;
|
226
|
-
export declare function removeItemOnce(arr: any, value: any): any;
|
227
|
-
export declare function toggleItemInArray(array: any, value: any, condition: any): any;
|
228
|
-
export declare function toggleItemInArray(array: any, value: any, condition: any): any;
|
229
|
-
export declare function mergeDeep(target: any, source: any): any;
|
230
|
-
export declare function mergeDeep(target: any, source: any): any;
|
231
|
-
export declare function getScrollbarWidth(): number;
|
232
|
-
export declare function getScrollbarWidth(): number;
|
233
|
-
export declare function animationClick(element: any, animation: any, removeOrNot: any): void;
|
234
|
-
export declare function animationClick(element: any, animation: any, removeOrNot: any): void;
|
235
|
-
export declare function animationClickTarget(element: any, target: any, animation: any, removeOrNot: any): void;
|
236
|
-
export declare function animationClickTarget(element: any, target: any, animation: any, removeOrNot: any): void;
|
237
|
-
export declare namespace datetime {
|
238
|
-
function isBetweenHMS(target: any, start: any, end: any, equality: any): void;
|
239
|
-
function isBetweenHMS(target: any, start: any, end: any, equality: any): void;
|
240
|
-
function equalDays(d1: any, d2: any): boolean;
|
241
|
-
function equalDays(d1: any, d2: any): boolean;
|
242
|
-
function IsTodayStart(dt: any): void;
|
243
|
-
function IsTodayStart(dt: any): void;
|
244
|
-
function GetWeekOfMonth(dt: any): void;
|
245
|
-
function GetWeekOfMonth(dt: any): void;
|
246
|
-
function GetWeekOfYear(dt: any): void;
|
247
|
-
function GetWeekOfYear(dt: any): void;
|
248
|
-
function GetQuarter(dt: any): void;
|
249
|
-
function GetQuarter(dt: any): void;
|
250
|
-
function NumberToHMSstring(hhmmss: any): void;
|
251
|
-
function NumberToHMSstring(hhmmss: any): void;
|
252
|
-
function addNumberToHMS(hhmmss: any, added_or_subtracted: any): void;
|
253
|
-
function addNumberToHMS(hhmmss: any, added_or_subtracted: any): void;
|
254
|
-
function DatetimeToStringUtc(dt: any, withMS?: boolean, withTZ?: boolean): string;
|
255
|
-
function DatetimeToStringUtc(dt: any, withMS?: boolean, withTZ?: boolean): string;
|
256
|
-
function DatetimeToStringLocal(dt: any, withMS?: boolean, withT?: boolean): any;
|
257
|
-
function DatetimeToStringLocal(dt: any, withMS?: boolean, withT?: boolean): any;
|
258
|
-
function StringToDatetimeUtc(str: any, format: any, culture: any): Date;
|
259
|
-
function StringToDatetimeUtc(str: any, format: any, culture: any): Date;
|
260
|
-
function StringToDatetimeLocal(str: any, format: any, culture: any): Date;
|
261
|
-
function StringToDatetimeLocal(str: any, format: any, culture: any): Date;
|
262
|
-
function StringToTimestamUtc(str: any, format: any, culture: any): number;
|
263
|
-
function StringToTimestamUtc(str: any, format: any, culture: any): number;
|
264
|
-
function DatetimeUtc(): Date;
|
265
|
-
function DatetimeUtc(): Date;
|
266
|
-
function UtcDatetime(): Date;
|
267
|
-
function UtcDatetime(): Date;
|
268
|
-
function TimestampUtc(): number;
|
269
|
-
function TimestampUtc(): number;
|
270
|
-
function UtcTimestamp(): number;
|
271
|
-
function UtcTimestamp(): number;
|
272
|
-
function DatetimeToTimestampUtc(dt: any): number;
|
273
|
-
function DatetimeToTimestampUtc(dt: any): number;
|
274
|
-
function UtcTimestampFrom(dt: any): number;
|
275
|
-
function UtcTimestampFrom(dt: any): number;
|
276
|
-
function TimestampUtcToDatetimeUtc(ts: any): Date;
|
277
|
-
function TimestampUtcToDatetimeUtc(ts: any): Date;
|
278
|
-
function UtcTimestampToUtcDatetime(ts: any): Date;
|
279
|
-
function UtcTimestampToUtcDatetime(ts: any): Date;
|
280
|
-
function MaxDate(d1: any, d2: any, d3?: null): void;
|
281
|
-
function MaxDate(d1: any, d2: any, d3?: null): void;
|
282
|
-
function MinDate(d1: any, d2: any, d3?: null): void;
|
283
|
-
function MinDate(d1: any, d2: any, d3?: null): void;
|
284
|
-
function localDatetimeToUtcString(dt: any): void;
|
285
|
-
function localDatetimeToUtcString(dt: any): void;
|
286
|
-
function areSameDays(d1: any, d2: any): void;
|
287
|
-
function areSameDays(d1: any, d2: any): void;
|
288
|
-
function GetDayOfYear(dt: any): any;
|
289
|
-
function GetDayOfYear(dt: any): any;
|
290
|
-
function StringToUtcString(str: any): any;
|
291
|
-
function StringToUtcString(str: any): any;
|
292
|
-
function UtcTimestampToLocalDatetime(ts: any): Date;
|
293
|
-
function UtcTimestampToLocalDatetime(ts: any): Date;
|
294
|
-
function UtcTimestampToUtcDatetimeString_OLD_CORRECT(epochtime: any, withTZ: any): string;
|
295
|
-
function UtcTimestampToUtcDatetimeString_OLD_CORRECT(epochtime: any, withTZ: any): string;
|
296
|
-
function UtcTimestampToUtcDatetimeString(epochtime: any, withTZ: any): string;
|
297
|
-
function UtcTimestampToUtcDatetimeString(epochtime: any, withTZ: any): string;
|
298
|
-
function getOffsetFromUtc(): number;
|
299
|
-
function getOffsetFromUtc(): number;
|
300
|
-
function stringToDate(str: any): Date;
|
301
|
-
function stringToDate(str: any): Date;
|
302
|
-
function msGoneAfter(date: any): number;
|
303
|
-
function msGoneAfter(date: any): number;
|
304
|
-
function getYMDHISFfromDate(dt: any, utc?: boolean): any[];
|
305
|
-
function getYMDHISFfromDate(dt: any, utc?: boolean): any[];
|
306
|
-
function getYMDHISFfromDateWithZeros(dt: any, utc?: boolean): {
|
307
|
-
y: any;
|
308
|
-
M: string;
|
309
|
-
d: string;
|
310
|
-
h: string;
|
311
|
-
m: string;
|
312
|
-
s: string;
|
313
|
-
f: string;
|
1
|
+
export = PuvoxLibrary;
|
2
|
+
/**
|
3
|
+
*
|
4
|
+
* ############################################################################
|
5
|
+
* ############################# Our JS Library ############################
|
6
|
+
* ### Here we collect frequently used methods across our JS applications. ###
|
7
|
+
* ### (Some of them are generic javascript functions, some are for NodeJS) ###
|
8
|
+
* ############################################################################
|
9
|
+
*
|
10
|
+
* ########## Example usage: ##########
|
11
|
+
* const helpers = new PuvoxLibrary();
|
12
|
+
* console.log ( helpers.get_last_child_of_array(array) );
|
13
|
+
* console.log ( helpers.get_visitor_ip() );
|
14
|
+
* console.log ( helpers.telegramMessage("hello world", "1234567890", "BOTKEY123:456789") );
|
15
|
+
* ... etc
|
16
|
+
*
|
17
|
+
*/
|
18
|
+
declare class PuvoxLibrary {
|
19
|
+
self: PuvoxLibrary;
|
20
|
+
arrayValue(obj_arr: any, key: any, default_: any): any;
|
21
|
+
arrayValueLower(obj_arr: any, key: any, default_: any): any;
|
22
|
+
arrayValueUpper(obj_arr: any, key: any, default_: any): any;
|
23
|
+
stringToArray(str: any, splitChar: any): any;
|
24
|
+
arrayColumn(array: any, columnName: any): any;
|
25
|
+
arrayColumn(array: any, col: any): any;
|
26
|
+
arrayUnique(array: any, removeEmpties: any): any;
|
27
|
+
arrayMerge(ar1: any, ar2: any): any;
|
28
|
+
objectsArrayTill(arrayBlocks: any, key: any, value: any): {};
|
29
|
+
arrayRemoveEmpty(array: any): any;
|
30
|
+
arrayLastMember(arr: any): any;
|
31
|
+
arrayLastItem(arr: any): any;
|
32
|
+
removeKeys(obj: any, keysArr: any): {};
|
33
|
+
removeKeysExcept(obj: any, keysArr: any): {};
|
34
|
+
arrayDiff(source: any, comparedTo: any): any;
|
35
|
+
arrayIntersect(source: any, comparedTo: any): any;
|
36
|
+
arrayDiffFull(o1: any, o2: any): any[];
|
37
|
+
sortKeys(x: any, out?: {}): {};
|
38
|
+
sortByValuesIntoArray(obj: any, ascending?: boolean): any;
|
39
|
+
stringArrayToNumeric(arr: any): number[];
|
40
|
+
stringToArrayToNumeric(arr: any): number[];
|
41
|
+
objectCopy(obj: any): any;
|
42
|
+
cloneObjectDestructuve(orig: any): any;
|
43
|
+
cloneObjectWithPrototype(orig: any): any;
|
44
|
+
getKeyByValue(object: any, value: any): string | undefined;
|
45
|
+
hasChildWithKeyValue(obj: any, targetKey: any, targetValue: any): boolean;
|
46
|
+
trigger_on_load(callerr: any, onInteractionInsteadComplete: any): void;
|
47
|
+
imagesLazyLoad(el_tag: any): void;
|
48
|
+
move_to_top_in_parent(el_tag: any): void;
|
49
|
+
Append_To_Head2(elemntType: any, content: any): void;
|
50
|
+
Append_To_Head(elemntType: any, content: any): void;
|
51
|
+
appendScript(url: any, callback: any, defer?: boolean): void;
|
52
|
+
appendScript2(url: any): void;
|
53
|
+
blackground2(): void;
|
54
|
+
getFileExtension(filename: any): any;
|
55
|
+
forEach(collection: any, callback: any, scope: any): void;
|
56
|
+
sanitize(str: any): any;
|
57
|
+
sanitize_key(str: any, use_dash: any): any;
|
58
|
+
sanitize_key_dashed(str: any): any;
|
59
|
+
sanitize_variable_name(str: any): any;
|
60
|
+
sanitize_text(str: any, use_dash?: boolean): any;
|
61
|
+
strip_non_word(str: any): any;
|
62
|
+
removeAllWhitespaces(content: any): any;
|
63
|
+
replaceAllOccurences(input: any, search: any, replacement: any): any;
|
64
|
+
getVariableType(x: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "integer" | "float" | "array";
|
65
|
+
isInteger: (x: any) => boolean;
|
66
|
+
isNumeric(x: any): boolean;
|
67
|
+
isDecimal(x: any): boolean;
|
68
|
+
isBoolean(x: any): boolean;
|
69
|
+
isBooleanReal(x: any): boolean;
|
70
|
+
isString(x: any): boolean;
|
71
|
+
isString(s: any): boolean;
|
72
|
+
isObject(x: any): boolean;
|
73
|
+
isObject(o: any): boolean;
|
74
|
+
isJsonObject(data: any): boolean;
|
75
|
+
isArray: (x: any) => boolean;
|
76
|
+
isSimpleVariableType(obj: any): boolean;
|
77
|
+
isSimpleVariableTypeName(typeName_: any): boolean;
|
78
|
+
isNumericVariableType(obj: any): boolean;
|
79
|
+
isNumericVariableTypeName(typeName_: any): boolean;
|
80
|
+
stringToBoolean(string: any): boolean;
|
81
|
+
isException(e: any): any;
|
82
|
+
IsJsonString(str: any): boolean;
|
83
|
+
is_object(variable: any): boolean;
|
84
|
+
formItemsToJson(FormElement: any): {};
|
85
|
+
renameKey(obj: any, keyFrom: any, keyTo: any): any;
|
86
|
+
renameSubKey(obj: any, keyFrom: any, keyTo: any, strict?: boolean): any;
|
87
|
+
hasEmptyChild(obj: any): boolean;
|
88
|
+
filterObject(obj: any, callback: any): any;
|
89
|
+
isBetween(a: any, b: any, c: any): boolean;
|
90
|
+
isBetweenEq(a: any, b: any, c: any): boolean;
|
91
|
+
startsWithWhiteSpace(content: any): boolean;
|
92
|
+
trimOnlyFromEnd(content: any): any;
|
93
|
+
startsWith(content: any, what: any): any;
|
94
|
+
startsWithArray(content: any, array: any): boolean;
|
95
|
+
endsWith(content: any, what: any): any;
|
96
|
+
endsWithArray(content: any, array: any): boolean;
|
97
|
+
startLetters(str: any, amountOfLetters: any): any;
|
98
|
+
endLetters(str: any, amountOfLetters: any): any;
|
99
|
+
ConvertNumbToRoman(num: any): any;
|
100
|
+
when_element_is_loaded(Id_or_class: any, functionname: any): void;
|
101
|
+
SetTitlee(title: any): void;
|
102
|
+
setUrl(urlPath: any, title: any): void;
|
103
|
+
requestUri(url: any): any;
|
104
|
+
ArrayKeyExistss(keyname: any, array: any): boolean;
|
105
|
+
hashtageChangeOnClick(e: any): void;
|
106
|
+
capitalizeFirstLetter(string: any): any;
|
107
|
+
addQueryArg(name: any, value: any, url: any): string;
|
108
|
+
buildQueryString(params: any): any;
|
109
|
+
wpHomeUrl(): void;
|
110
|
+
LoadYoutubeApi(callback: any): void;
|
111
|
+
argvsString(): any;
|
112
|
+
argvsArray(): any;
|
113
|
+
argvs(): {};
|
114
|
+
argv(which: any, def?: undefined): any;
|
115
|
+
argvIsSet(which: any): boolean;
|
116
|
+
parseQuery(queryString: any): {};
|
117
|
+
invertDictionary(obj: any): {};
|
118
|
+
isElementInViewport(el: any): boolean;
|
119
|
+
MakeIframeFullHeight(iframeElement: any, cycling: any, overwrite_margin: any): void;
|
120
|
+
MakeIframeFullHeight(iframeElement: any, cycling: any, overwrite_margin: any): void;
|
121
|
+
getYtIdFromURL(URLL: any): any;
|
122
|
+
getYtIdFromURL(URL_or_ID: any): any;
|
123
|
+
autoSizeTextareas(className: any): void;
|
124
|
+
getAllMethods(obj: any, inherited_too: any): string[];
|
125
|
+
hasMethod(obj: any, funcName: any, inherited_too: any): boolean | null;
|
126
|
+
ConvertToHourMinSec(time: any): string;
|
127
|
+
getWindowSize(): {
|
128
|
+
x: number;
|
129
|
+
y: number;
|
314
130
|
};
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
131
|
+
removeItem(arr: any, value: any): any;
|
132
|
+
removeItemOnce(arr: any, value: any): any;
|
133
|
+
toggleItemInArray(array: any, value: any, condition: any): any;
|
134
|
+
mergeDeep(target: any, source: any): any;
|
135
|
+
getScrollbarWidth(): number;
|
136
|
+
animationClick(element: any, animation: any, removeOrNot: any): void;
|
137
|
+
animationClickTarget(element: any, target: any, animation: any, removeOrNot: any): void;
|
138
|
+
datetime: {
|
139
|
+
MAIN_CLASS: Window & typeof globalThis;
|
140
|
+
isBetweenHMS(target: any, start: any, end: any, equality: any): void;
|
141
|
+
equalDays(d1: any, d2: any): boolean;
|
142
|
+
IsTodayStart(dt: any): void;
|
143
|
+
GetWeekOfMonth(dt: any): void;
|
144
|
+
GetWeekOfYear(dt: any): void;
|
145
|
+
GetQuarter(dt: any): void;
|
146
|
+
NumberToHMSstring(hhmmss: any): void;
|
147
|
+
addNumberToHMS(hhmmss: any, added_or_subtracted: any): void;
|
148
|
+
DatetimeToStringUtc(dt: any, withMS?: boolean, withTZ?: boolean): string;
|
149
|
+
DatetimeToStringLocal(dt: any, withMS?: boolean, withT?: boolean): any;
|
150
|
+
StringToDatetimeUtc(str: any, format: any, culture: any): Date;
|
151
|
+
StringToDatetimeLocal(str: any, format: any, culture: any): Date;
|
152
|
+
StringToTimestamUtc(str: any, format: any, culture: any): number;
|
153
|
+
DatetimeUtc(): Date;
|
154
|
+
UtcDatetime(): Date;
|
155
|
+
TimestampUtc(): number;
|
156
|
+
UtcTimestamp(): number;
|
157
|
+
DatetimeToTimestampUtc(dt: any): number;
|
158
|
+
UtcTimestampFrom(dt: any): number;
|
159
|
+
TimestampUtcToDatetimeUtc(ts: any): Date;
|
160
|
+
UtcTimestampToUtcDatetime(ts: any): Date;
|
161
|
+
MaxDate(d1: any, d2: any, d3?: null): void;
|
162
|
+
MinDate(d1: any, d2: any, d3?: null): void;
|
163
|
+
localDatetimeToUtcString(dt: any): void;
|
164
|
+
areSameDays(d1: any, d2: any): void;
|
165
|
+
GetDayOfYear(dt: any): any;
|
166
|
+
StringToUtcString(str: any): any;
|
167
|
+
UtcTimestampToLocalDatetime(ts: any): Date;
|
168
|
+
UtcTimestampToUtcDatetimeString_OLD_CORRECT(epochtime: any, withTZ: any): string;
|
169
|
+
UtcTimestampToUtcDatetimeString(epochtime: any, withTZ: any): string;
|
170
|
+
getOffsetFromUtc(): number;
|
171
|
+
stringToDate(str: any): Date;
|
172
|
+
msGoneAfter(date: any): number;
|
173
|
+
getYMDHISFfromDate(dt: any, utc?: boolean): any[];
|
174
|
+
getYMDHISFfromDateWithZeros(dt: any, utc?: boolean): {
|
175
|
+
y: any;
|
176
|
+
M: string;
|
177
|
+
d: string;
|
178
|
+
h: string;
|
179
|
+
m: string;
|
180
|
+
s: string;
|
181
|
+
f: string;
|
182
|
+
};
|
183
|
+
prefixWithZero(num: any, digits: any): any;
|
184
|
+
currentDatetimeIs(targetDate: any): boolean;
|
185
|
+
dateCompare(date1: any, date2: any): 1 | -1 | 0;
|
186
|
+
dateTill(date1: any, date2: any): Date;
|
187
|
+
secondsTill(date1: any, date2: any): number;
|
188
|
+
/**
|
189
|
+
* Adds time to a date. Modelled after MySQL DATE_ADD function.
|
190
|
+
* Example: dateAdd(new Date(), 'minute', 30) //returns 30 minutes from now.
|
191
|
+
* https://stackoverflow.com/a/1214753/18511
|
192
|
+
*
|
193
|
+
* @param date Date to start with
|
194
|
+
* @param interval One of: year, quarter, month, week, day, hour, minute, second
|
195
|
+
* @param units Number of units of the given interval to add.
|
196
|
+
*/
|
197
|
+
add(date: any, interval: any, units: any): Date | undefined;
|
198
|
+
addSeconds(date: any, seconds: any): Date;
|
199
|
+
addDays(date: any, days: any): Date;
|
200
|
+
daysBetween(a: any, b: any, utc?: boolean): number;
|
323
201
|
};
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
export declare function Highlight_Current_Menu_link(Added_class_name: any, Ancestor_to_search_in: any, link_to_find: any): void;
|
614
|
-
export declare function Highlight_Current_Menu_link(Added_class_name: any, Ancestor_to_search_in: any, link_to_find: any): void;
|
615
|
-
export declare function RemoveHashString(str: any): any;
|
616
|
-
export declare function RemoveHashString(str: any): any;
|
617
|
-
export declare function arrayRemoveValue(array: any, value: any): any[];
|
618
|
-
export declare function arrayRemoveValue(array: any, value: any): any[];
|
619
|
-
export declare function getCharsFromStart(str: any, amount: any): any;
|
620
|
-
export declare function getCharsFromStart(str: any, amount: any): any;
|
621
|
-
export declare function getCharsFromEnd(str: any, amount: any): any;
|
622
|
-
export declare function getCharsFromEnd(str: any, amount: any): any;
|
623
|
-
export declare function GetTopLeft(myyElement: any): {
|
624
|
-
lefttt: number;
|
625
|
-
toppp: number;
|
626
|
-
};
|
627
|
-
export declare function GetTopLeft(myyElement: any): {
|
628
|
-
lefttt: number;
|
629
|
-
toppp: number;
|
630
|
-
};
|
631
|
-
export declare function GetOffset(object: any, offset: any): void;
|
632
|
-
export declare function GetOffset(object: any, offset: any): void;
|
633
|
-
export declare function GetScrolled(object: any, scrolled: any): void;
|
634
|
-
export declare function GetScrolled(object: any, scrolled: any): void;
|
635
|
-
export declare function MakeFixed(selector: any, ExtraHeightToBody: any): void;
|
636
|
-
export declare function MakeFixed(selector: any, ExtraHeightToBody: any): void;
|
637
|
-
export declare function triggerWhenElementInView(el: any, func: any): void;
|
638
|
-
export declare function triggerWhenElementInView(el: any, func: any): void;
|
639
|
-
export declare function compare(a: any, operator: any, b: any): boolean;
|
640
|
-
export declare function compare(a: any, operator: any, b: any): boolean;
|
641
|
-
export declare function calculate(a: any, operator: any, b: any): any;
|
642
|
-
export declare function calculate(a: any, operator: any, b: any): any;
|
643
|
-
export declare function RandomNum(maxNum: any): number;
|
644
|
-
export declare function RandomNum(maxNum: any): number;
|
645
|
-
export declare function random_number(Length: any): number;
|
646
|
-
export declare function random_number(Length: any): number;
|
647
|
-
export declare function randomNumber(Length: any): number;
|
648
|
-
export declare function randomNumber(Length: any): number;
|
649
|
-
export declare function random_number_minmax(min: any, max: any): any;
|
650
|
-
export declare function random_number_minmax(min: any, max: any): any;
|
651
|
-
export declare function randomString(Length: any): string;
|
652
|
-
export declare function randomString(Length: any): string;
|
653
|
-
export declare function shuffle_Word(word: any): string;
|
654
|
-
export declare function shuffle_Word(word: any): string;
|
655
|
-
export declare function youtubeImage(id: any, quality: any): string;
|
656
|
-
export declare function youtubeImage(id: any, quality: any): string;
|
657
|
-
export declare function IsMobileDevice(simpleORfull: any): any;
|
658
|
-
export declare function IsMobileDevice(simpleORfull: any): any;
|
659
|
-
export declare function backToTopBind(el: any): void;
|
660
|
-
export declare function backToTopBind(el: any): void;
|
661
|
-
export declare function enable_jquery_errors(): void;
|
662
|
-
export declare function enable_jquery_errors(): void;
|
663
|
-
export declare function telegramMessage(text: any, chat_id: any, bot_key: any, extra_opts?: {}): Promise<any>;
|
664
|
-
export declare function telegramMessage(text: any, chat_id: any, bot_key: any, extra_opts?: {}): Promise<any>;
|
665
|
-
export declare const telegram_interval_ms: number;
|
666
|
-
export declare const telegram_last_sent_time: number;
|
667
|
-
export declare function telegramMessageCached(text: any, chat_id: any, bot_key: any, extra_opts?: {}, customCacheId?: null): Promise<any>;
|
668
|
-
export declare function telegramMessageCached(text: any, chat_id: any, bot_key: any, extra_opts?: {}, customCacheId?: null): Promise<any>;
|
669
|
-
export declare function openUrlInBrowser(url: any): void;
|
670
|
-
export declare function openUrlInBrowser(url: any): void;
|
671
|
-
export declare function stringify(obj_or_str: any): any;
|
672
|
-
export declare function stringify(obj_or_str: any): any;
|
673
|
-
export declare function stringify_plain(data: any): string;
|
674
|
-
export declare function stringify_plain(data: any): string;
|
675
|
-
export declare function CopyObject(obj: any): any;
|
676
|
-
export declare function CopyObject(obj: any): any;
|
677
|
-
export declare function uniqId(obj_or_str: any): any;
|
678
|
-
export declare function uniqId(obj_or_str: any): any;
|
679
|
-
export declare function stringifyWithUndefined(obj: any): string;
|
680
|
-
export declare function stringifyWithUndefined(obj: any): string;
|
681
|
-
export declare function md5(str: any): any;
|
682
|
-
export declare function md5(str: any): any;
|
683
|
-
export declare function jsonConcat(o1: any, o2: any): any;
|
684
|
-
export declare function jsonConcat(o1: any, o2: any): any;
|
685
|
-
export declare function fetch(url: any, postOptions?: null, opts?: {}): Promise<string>;
|
686
|
-
export declare function fetch(url: any, postOptions?: null, opts?: {}): Promise<string>;
|
687
|
-
export declare function getRemoteData(url: any, postOptions?: null, opts?: {}): Promise<string>;
|
688
|
-
export declare function getRemoteData(url: any, postOptions?: null, opts?: {}): Promise<string>;
|
689
|
-
export declare function unTrailingSlash(str: any): any;
|
690
|
-
export declare function unTrailingSlash(str: any): any;
|
691
|
-
export declare function trailingSlash(str: any): string;
|
692
|
-
export declare function trailingSlash(str: any): string;
|
693
|
-
export declare const privateAppName__: null;
|
694
|
-
export declare function setAppName(name: any): void;
|
695
|
-
export declare function setAppName(name: any): void;
|
696
|
-
export declare function getAppName(): never;
|
697
|
-
export declare function getAppName(): never;
|
698
|
-
export declare namespace Cookies {
|
699
|
-
function get(a: any, b: any): any;
|
700
|
-
function get(a: any, b: any): any;
|
701
|
-
function set(a: any, b: any, c: any): any;
|
702
|
-
function set(a: any, b: any, c: any): any;
|
703
|
-
function remove(a: any, b: any): any;
|
704
|
-
function remove(a: any, b: any): any;
|
705
|
-
function append(name: any, value: any, attributes: any): any;
|
706
|
-
function append(name: any, value: any, attributes: any): any;
|
707
|
-
function isset(cookiename: any): boolean;
|
708
|
-
function isset(cookiename: any): boolean;
|
709
|
-
function getOption(cookieName: any, key: any, defaultValue: any): any;
|
710
|
-
function getOption(cookieName: any, key: any, defaultValue: any): any;
|
711
|
-
function setOption(cookieName: any, key: any, value: any, attributes: any): {};
|
712
|
-
function setOption(cookieName: any, key: any, value: any, attributes: any): {};
|
713
|
-
function removeOption(cookieName: any, key: any, attributes: any): {};
|
714
|
-
function removeOption(cookieName: any, key: any, attributes: any): {};
|
715
|
-
function getOptionObject(cookieName: any, key: any): any;
|
716
|
-
function getOptionObject(cookieName: any, key: any): any;
|
717
|
-
function setOptionObject(cookieName: any, key: any, subKey: any, subValue: any): void;
|
718
|
-
function setOptionObject(cookieName: any, key: any, subKey: any, subValue: any): void;
|
719
|
-
function setOptionArray(cookieName: any, key: any, subValue: any, Add_or_remove: any): void;
|
720
|
-
function setOptionArray(cookieName: any, key: any, subValue: any, Add_or_remove: any): void;
|
721
|
-
function cookies_instance(): null;
|
722
|
-
function cookies_instance(): null;
|
723
|
-
const cookies_inited: null;
|
724
|
-
function cookies(): any;
|
725
|
-
}
|
726
|
-
export declare namespace cache {
|
727
|
-
export function helper_read(groupName: any, storageType: any, expireSeconds?: number): any;
|
728
|
-
export function helper_read(groupName: any, storageType: any, expireSeconds?: number): any;
|
729
|
-
export function helper_write(groupName: any, content: any, storageType: any): true | undefined;
|
730
|
-
export function helper_write(groupName: any, content: any, storageType: any): true | undefined;
|
731
|
-
export function helper_delete(groupName: any, storageType: any): true | undefined;
|
732
|
-
export function helper_delete(groupName: any, storageType: any): true | undefined;
|
733
|
-
export function get(groupName: any, defaultVal?: null, storageType?: string, expireSeconds?: number): any;
|
734
|
-
export function get(groupName: any, defaultVal?: null, storageType?: string, expireSeconds?: number): any;
|
735
|
-
export function set(groupName: any, content: any, storageType?: string): void;
|
736
|
-
export function set(groupName: any, content: any, storageType?: string): void;
|
737
|
-
function _delete(groupName: any, storageType?: string): void;
|
738
|
-
export function _delete(groupName: any, storageType?: string): void;
|
739
|
-
export { _delete as delete };
|
740
|
-
export function getChild(groupName: any, optName: any, defaultVal?: null, storageType?: string, expireSeconds?: number): any;
|
741
|
-
export function getChild(groupName: any, optName: any, defaultVal?: null, storageType?: string, expireSeconds?: number): any;
|
742
|
-
export function setChild(groupName: any, optName: any, val: any, storageType?: string): void;
|
743
|
-
export function setChild(groupName: any, optName: any, val: any, storageType?: string): void;
|
744
|
-
export function deleteChild(groupName: any, optName: any, storageType?: string): void;
|
745
|
-
export function deleteChild(groupName: any, optName: any, storageType?: string): void;
|
746
|
-
export namespace file {
|
747
|
-
const customCacheDir: null;
|
748
|
-
function get_dir(): string;
|
749
|
-
function get_dir(): string;
|
750
|
-
function set_dir(dir: any, auto_clear_seconds?: null): any;
|
751
|
-
function set_dir(dir: any, auto_clear_seconds?: null): any;
|
752
|
-
function filePath(uniqFileName: any): any;
|
753
|
-
function filePath(uniqFileName: any): any;
|
754
|
-
function get(uniqFileName: any, defaultContent?: string, expire_seconds?: number, decode?: boolean): any;
|
755
|
-
function get(uniqFileName: any, defaultContent?: string, expire_seconds?: number, decode?: boolean): any;
|
756
|
-
function set(uniqFileName: any, content: any): void;
|
757
|
-
function set(uniqFileName: any, content: any): void;
|
758
|
-
const containerDefaultPrefix: string;
|
759
|
-
const tempIds: {};
|
760
|
-
function idForContent(slugOrContent: any): any;
|
761
|
-
function idForContent(slugOrContent: any): any;
|
762
|
-
function existsId(containerSlug: any, id: any): boolean;
|
763
|
-
function existsId(containerSlug: any, id: any): boolean;
|
764
|
-
function getIds(containerSlug: any): any;
|
765
|
-
function getIds(containerSlug: any): any;
|
766
|
-
function setIds(containerSlug: any, idsDict: any): void;
|
767
|
-
function setIds(containerSlug: any, idsDict: any): void;
|
768
|
-
function addId(containerSlug: any, id: any): void;
|
769
|
-
function addId(containerSlug: any, id: any): void;
|
770
|
-
function addIdIfNotExists(containerSlug: any, id: any): boolean;
|
771
|
-
function addIdIfNotExists(containerSlug: any, id: any): boolean;
|
772
|
-
}
|
773
|
-
}
|
774
|
-
export declare namespace file_1 {
|
775
|
-
export function set_module(module: any): void;
|
776
|
-
export function set_module(module: any): void;
|
777
|
-
export function fs(): any;
|
778
|
-
export function fs(): any;
|
779
|
-
export function os(): any;
|
780
|
-
export function os(): any;
|
781
|
-
export function path(): any;
|
782
|
-
export function path(): any;
|
783
|
-
export function tempDir(): any;
|
784
|
-
export function tempDir(): any;
|
785
|
-
export function exists(filePath: any): any;
|
786
|
-
export function exists(filePath: any): any;
|
787
|
-
export function mtime(filePath: any): any;
|
788
|
-
export function mtime(filePath: any): any;
|
789
|
-
function _delete(filePath: any): any;
|
790
|
-
export function _delete(filePath: any): any;
|
791
|
-
export { _delete as delete };
|
792
|
-
export function unlink(filePath: any): any;
|
793
|
-
export function unlink(filePath: any): any;
|
794
|
-
export function createDirectory(dirPath: any): any;
|
795
|
-
export function createDirectory(dirPath: any): any;
|
796
|
-
export function read(filePath: any, defaultContent?: string): any;
|
797
|
-
export function read(filePath: any, defaultContent?: string): any;
|
798
|
-
export function write(filePath: any, content: any): void;
|
799
|
-
export function write(filePath: any, content: any): void;
|
800
|
-
export function getFilesListFromDir(dir: any): any[];
|
801
|
-
export function getFilesListFromDir(dir: any): any[];
|
202
|
+
spinner(action: any): void;
|
203
|
+
contains(string: any, pattern: any): boolean;
|
204
|
+
hide_show_transprent(el: any, hide: any): void;
|
205
|
+
get_extension_from_url(url: any): any;
|
206
|
+
occurences_amount(string: any, subString: any, allowOverlapping: any): any;
|
207
|
+
readLineByLine(filePath: any, callback: any, linesSize?: number, delimiterN?: boolean): Promise<any>;
|
208
|
+
linesAmountInFile(filePath: any, delimiterN?: boolean): Promise<any>;
|
209
|
+
oneSpace(cc: any): any;
|
210
|
+
removeFirstAndLastChar(cc: any): any;
|
211
|
+
getWithin_X(cc: any, x: any): any;
|
212
|
+
getWithin_XY(cc: any, x: any, y: any): any;
|
213
|
+
removeIfOutsideQuotes(content: any, replaceWhat: any, replaceWith: any): any;
|
214
|
+
splitBy_X_NotInside_Y(str: any, x: any, y: any): any;
|
215
|
+
splitBy_X_NotInside_YZ(str: any, by: any, y: any, z: any): any;
|
216
|
+
splitOnlyFirstOccurence(str: any, what: any): any;
|
217
|
+
splitByEqualNotInsideDoubleQuotes(str: any): any;
|
218
|
+
splitByEqualNotInsideDoubleQuotesAndDoubleEquals(str: any): any;
|
219
|
+
splitByNotInside2(str: any, splitChar: any, notInsideCharStart: any, notInsideCharEnd: any): void;
|
220
|
+
getFromX_tillY_ExcudingQuotes(content: any, from: any, till: any, regex_index: any): string;
|
221
|
+
preg_quote(str: any, delimiter: any): string;
|
222
|
+
escapeRegExp(string: any): any;
|
223
|
+
splitStringIntoChars(str: any): any;
|
224
|
+
empty(MyVar: any): boolean;
|
225
|
+
is_empty_or_undefined(MyVar: any): boolean;
|
226
|
+
isEmptyValue(input: any): boolean;
|
227
|
+
removeEmptyValue(obj: any): any;
|
228
|
+
isIterable(obj: any): boolean;
|
229
|
+
insertRedErrorLine(array_: any): void;
|
230
|
+
stripTags(input: any, allowed: any): any;
|
231
|
+
br2nl(content: any): any;
|
232
|
+
jquery_popup(element: any, isModal: any, params: any): any;
|
233
|
+
jquery_popup_once(cookiename: any, key: any, text: any, duration: any, onComplete: any): void;
|
234
|
+
jquery_popup_one_time_checkbox(cookiename: any, key: any, text: any, callable_func: any, defaultCheckboxTxt: any): void;
|
235
|
+
dialog_dont_show_again(event: any, key: any, cookiename: any): void;
|
236
|
+
dialogClose(): void;
|
237
|
+
mergeObjects(obj1: any, obj2: any): any;
|
238
|
+
objectMap(obj: any, fn: any): any;
|
239
|
+
fancyTimeFormat(time: any): string;
|
240
|
+
jsonToArray(json_data: any): any[][];
|
241
|
+
fixEntitiedJson(json_data: any): any;
|
242
|
+
setSelectByOptionName(selectEl: any, optName: any): void;
|
243
|
+
ScrollTo(el: any, func: any, offset_distance: any): void;
|
244
|
+
sleep(ms: any): Promise<any>;
|
245
|
+
setTimeout_safe(done: any, ms: any): () => void;
|
246
|
+
scrollToBottom2(el: any): void;
|
247
|
+
scrollToBottom(el_or_id: any): void;
|
248
|
+
scrollToBottom3(el_or_id: any): void;
|
249
|
+
smooth_scroll_to(selector: any): void;
|
250
|
+
addLine(selector: any, text: any, first_or_last: any): void;
|
251
|
+
removeLine(selector: any, first_or_last: any, ifMoreThanXlines: any): void;
|
252
|
+
removeElementIfMoreThan(el: any, amount: any, first_or_last: any): void;
|
253
|
+
removeElementIfMoreThanNEW(el: any, amount: any, first_or_last: any): any;
|
254
|
+
removeLine_old(selector: any, first_or_last: any, ifMoreThanXlines: any): void;
|
255
|
+
removeLineFromTextarea(selector: any, first_or_last: any, ifMoreThanXlines: any): void;
|
256
|
+
removeLineFromText(text: any, first_or_last: any, ifMoreThanXlines: any): any;
|
257
|
+
arrayPart(array_: any, amount_: any, from: any): any;
|
258
|
+
arrayInsertAt(array: any, index: any, value: any): any;
|
259
|
+
executeAfterTry(el: any, func: any, num: any): void;
|
260
|
+
waitExecute(el: any, func: any): void;
|
261
|
+
consoleLogColor(text: any, backgroundColor?: null, foregroundColor?: null): void;
|
262
|
+
toggleWindowsMessages_WindowConfirm(): ((message?: string | undefined) => boolean) & typeof confirm;
|
263
|
+
toggleWindowsMessages_WindowAlert(): ((message?: any) => void) & typeof alert;
|
264
|
+
toggleWindowsMessages(enable: any): void;
|
265
|
+
suspressMessagesExecution(func: any): void;
|
266
|
+
in_array(needle: any, haystack: any): boolean;
|
267
|
+
CreateFrameIn(targetEl: any, frameContent: any, MakeItfullWH: any): HTMLIFrameElement;
|
268
|
+
makeAllATargetBlank(el: any): void;
|
269
|
+
createDropdownFrom(arr: any, elementId: any, jqueriUi: any, appendToElement: any): string;
|
270
|
+
b64EncodeUnicode(str: any): string;
|
271
|
+
b64DecodeUnicode(str: any): string;
|
272
|
+
round(num: any, decimals: any): number;
|
273
|
+
basename(path: any): any;
|
274
|
+
show_my_popup(TEXTorID: any, AdditionalStyles: any): void;
|
275
|
+
my_popup_closee(RandomIDD: any): void;
|
276
|
+
loaderImage(circleColor: any): string;
|
277
|
+
Loader(ShowOrHide: any, style: any, content_To_show: any): void;
|
278
|
+
myyAjaxRequest(parameters: any, url: any, method: any, func: any, ShowBlackground: any): void;
|
279
|
+
hide_popuping_divs(classnameee: any): void;
|
280
|
+
get(url: any, parameters: any): Promise<any>;
|
281
|
+
getJSON(url: any, parameters: any): Promise<any>;
|
282
|
+
post(url: any, params: any, callback_1: any, callback_2: any): Promise<void>;
|
283
|
+
stringifyPretty(obj: any): string;
|
284
|
+
responseStringify(obj_or_text: any): any;
|
285
|
+
getElementById_FROM_PARENT(req: any): any;
|
286
|
+
inArray(needle: any, haystack: any): boolean;
|
287
|
+
inArray(needle: any, haystack: any): any;
|
288
|
+
inKeys(key: any, obj: any): boolean;
|
289
|
+
partialObject(object_: any, array_: any): {};
|
290
|
+
array_column_with_keys(object_: any, keyName_: any): {};
|
291
|
+
GetQueryParams(url: any): {};
|
292
|
+
URLParser(url: any): {
|
293
|
+
getHost: () => string;
|
294
|
+
getHostName: () => string;
|
295
|
+
getPath: () => string;
|
296
|
+
getHash: () => string;
|
297
|
+
getParams: () => any;
|
298
|
+
getQuery: () => string;
|
299
|
+
setHash: (value: any) => string;
|
300
|
+
setParam: (name: any, value: any) => string;
|
301
|
+
getParam: (name: any) => string | undefined;
|
302
|
+
hasParam: (name: any) => true | undefined;
|
303
|
+
removeParam: (name: any) => string;
|
304
|
+
};
|
305
|
+
parsePOST(request: any, callback: any): void;
|
306
|
+
ChangeSocialShareUrls(elemnt: any, newurl: any, title: any): void;
|
307
|
+
ReplaceParameterInQuery(url: any, param_name: any, param_new_val: any): any;
|
308
|
+
refferer_is_same_domain(): boolean;
|
309
|
+
DoPrevent(e: any): void;
|
310
|
+
preventDefaultForAll(instantly: any): void;
|
311
|
+
addHovered(elem: any): void;
|
312
|
+
radiobox_onchange_hider(selector: any, desiredvalue: any, target_hidding_selector: any, SHOW_or_hide: any, ...args: any[]): void;
|
313
|
+
GetRandomFromArray(my_array: any): any;
|
314
|
+
array_shuffle(array: any): any;
|
315
|
+
showYtVideo(options: any): void;
|
316
|
+
FadeOut_modalpp(): void;
|
317
|
+
forEachDefine(): void;
|
318
|
+
forEachDefine2(): void;
|
319
|
+
filterDefine(): void;
|
320
|
+
filterDefine2(): void;
|
321
|
+
var_dump(array: any): void;
|
322
|
+
postForm(params: any, ConfirmMessage: any, path: any, method: any, targett: any): void;
|
323
|
+
SetShowHint(elemnt: any, text: any, left: any, top: any): void;
|
324
|
+
SetPoistion: ((e: any) => void) | undefined;
|
325
|
+
Balance_Target_Image(img: any, widthh: any, heightt: any): void;
|
326
|
+
Balanced_Image_proportions(classname: any, widthh: any, heightt: any, parentClassname: any): void;
|
327
|
+
show_after_pageload(el: any): void;
|
328
|
+
hide_after_pageload(el: any): void;
|
329
|
+
Highlight_Current_Menu_link(Added_class_name: any, Ancestor_to_search_in: any, link_to_find: any): void;
|
330
|
+
RemoveHashString(str: any): any;
|
331
|
+
arrayRemoveValue(array: any, value: any): any[];
|
332
|
+
getCharsFromStart(str: any, amount: any): any;
|
333
|
+
getCharsFromEnd(str: any, amount: any): any;
|
334
|
+
GetTopLeft(myyElement: any): {
|
335
|
+
lefttt: number;
|
336
|
+
toppp: number;
|
337
|
+
};
|
338
|
+
GetOffset(object: any, offset: any): void;
|
339
|
+
GetScrolled(object: any, scrolled: any): void;
|
340
|
+
MakeFixed(selector: any, ExtraHeightToBody: any): void;
|
341
|
+
triggerWhenElementInView(el: any, func: any): void;
|
342
|
+
compare(a: any, operator: any, b: any): boolean;
|
343
|
+
calculate(a: any, operator: any, b: any): any;
|
344
|
+
RandomNum(maxNum: any): number;
|
345
|
+
random_number(Length: any): number;
|
346
|
+
randomNumber(Length: any): number;
|
347
|
+
random_number_minmax(min: any, max: any): any;
|
348
|
+
randomString(Length: any): string;
|
349
|
+
shuffle_Word(word: any): string;
|
350
|
+
youtubeImage(id: any, quality: any): string;
|
351
|
+
IsMobileDevice(simpleORfull: any): any;
|
352
|
+
backToTopBind(el: any): void;
|
353
|
+
enable_jquery_errors(): void;
|
354
|
+
telegramMessage(text: any, chat_id: any, bot_key: any, extra_opts?: {}): Promise<any>;
|
355
|
+
telegram_interval_ms: number;
|
356
|
+
telegram_last_sent_time: number;
|
357
|
+
telegramMessageCached(text: any, chat_id: any, bot_key: any, extra_opts?: {}, customCacheId?: null): Promise<any>;
|
358
|
+
openUrlInBrowser(url: any): void;
|
359
|
+
stringify(obj_or_str: any): any;
|
360
|
+
stringify_plain(data: any): string;
|
361
|
+
CopyObject(obj: any): any;
|
362
|
+
uniqId(obj_or_str: any): any;
|
363
|
+
stringifyWithUndefined(obj: any): string;
|
364
|
+
md5(str: any): any;
|
365
|
+
jsonConcat(o1: any, o2: any): any;
|
366
|
+
fetch(url: any, postOptions?: null, opts?: {}): Promise<string>;
|
367
|
+
getRemoteData(url: any, postOptions?: null, opts?: {}): Promise<string>;
|
368
|
+
unTrailingSlash(str: any): any;
|
369
|
+
trailingSlash(str: any): string;
|
370
|
+
privateAppName__: null;
|
371
|
+
setAppName(name: any): void;
|
372
|
+
getAppName(): never;
|
373
|
+
Cookies: {
|
374
|
+
MAIN_CLASS: Window & typeof globalThis;
|
375
|
+
get(a: any, b: any): any;
|
376
|
+
set(a: any, b: any, c: any): any;
|
377
|
+
remove(a: any, b: any): any;
|
378
|
+
append(name: any, value: any, attributes: any): any;
|
379
|
+
isset(cookiename: any): boolean;
|
380
|
+
getOption(cookieName: any, key: any, defaultValue: any): any;
|
381
|
+
setOption(cookieName: any, key: any, value: any, attributes: any): {};
|
382
|
+
removeOption(cookieName: any, key: any, attributes: any): {};
|
383
|
+
getOptionObject(cookieName: any, key: any): any;
|
384
|
+
setOptionObject(cookieName: any, key: any, subKey: any, subValue: any): void;
|
385
|
+
setOptionArray(cookieName: any, key: any, subValue: any, Add_or_remove: any): void;
|
386
|
+
cookies_instance(): null;
|
387
|
+
cookies_inited: null;
|
388
|
+
cookies: () => any;
|
389
|
+
};
|
390
|
+
cache: {
|
391
|
+
MAIN_CLASS: Window & typeof globalThis;
|
392
|
+
helper_read(groupName: any, storageType: any, expireSeconds?: number): any;
|
393
|
+
helper_write(groupName: any, content: any, storageType: any): true | undefined;
|
394
|
+
helper_delete(groupName: any, storageType: any): true | undefined;
|
395
|
+
get(groupName: any, defaultVal?: null, storageType?: string, expireSeconds?: number): any;
|
396
|
+
set(groupName: any, content: any, storageType?: string): void;
|
397
|
+
delete(groupName: any, storageType?: string): void;
|
398
|
+
getChild(groupName: any, optName: any, defaultVal?: null, storageType?: string, expireSeconds?: number): any;
|
399
|
+
setChild(groupName: any, optName: any, val: any, storageType?: string): void;
|
400
|
+
deleteChild(groupName: any, optName: any, storageType?: string): void;
|
401
|
+
file: {
|
402
|
+
MAIN_CLASS: Window & typeof globalThis;
|
403
|
+
customCacheDir: null;
|
404
|
+
get_dir(): any;
|
405
|
+
set_dir(dir: any, auto_clear_seconds?: null): any;
|
406
|
+
filePath(uniqFileName: any): any;
|
407
|
+
get(uniqFileName: any, defaultContent?: string, expire_seconds?: number, decode?: boolean): any;
|
408
|
+
set(uniqFileName: any, content: any): any;
|
409
|
+
containerDefaultPrefix: string;
|
410
|
+
tempIds: {};
|
411
|
+
idForContent(slugOrContent: any): any;
|
412
|
+
existsId(containerSlug: any, id: any): boolean;
|
413
|
+
getIds(containerSlug: any): any;
|
414
|
+
setIds(containerSlug: any, idsDict: any): any;
|
415
|
+
addId(containerSlug: any, id: any): void;
|
416
|
+
addIdIfNotExists(containerSlug: any, id: any): boolean;
|
417
|
+
};
|
418
|
+
};
|
419
|
+
file: {
|
420
|
+
MAIN_CLASS: Window & typeof globalThis;
|
421
|
+
set_module(module: any): void;
|
422
|
+
module_fs: any;
|
423
|
+
module_path: any;
|
424
|
+
module_os: any;
|
425
|
+
fs(): any;
|
426
|
+
os(): any;
|
427
|
+
path(): any;
|
428
|
+
tempDir(): any;
|
429
|
+
exists(filePath: any): any;
|
430
|
+
mtime(filePath: any): any;
|
431
|
+
delete(filePath: any): any;
|
432
|
+
unlink(filePath: any): any;
|
433
|
+
createDirectory(dirPath: any): any;
|
434
|
+
read(filePath: any, defaultContent?: string): any;
|
435
|
+
write(filePath: any, content: any): void;
|
436
|
+
getFilesListFromDir(dir: any): any[];
|
437
|
+
};
|
438
|
+
catchUnhandledExceptions(callback: any): void;
|
439
|
+
keys: {
|
440
|
+
(o: object): string[];
|
441
|
+
(o: {}): string[];
|
442
|
+
};
|
443
|
+
values(x: any): any;
|
444
|
+
extend(...args: any[]): any;
|
445
|
+
clone(x: any): any;
|
446
|
+
index(x: any): Set<any>;
|
447
|
+
ordered(x: any): any;
|
448
|
+
unique(x: any): any[];
|
449
|
+
arrayConcat(a: any, b: any): any;
|
450
|
+
toArray(object: any): any;
|
451
|
+
isEmpty(object: any): boolean;
|
452
|
+
keysort(x: any, out?: {}): {};
|
453
|
+
indexBy(x: any, k: any, out?: {}): {};
|
454
|
+
groupBy(x: any, k: any, out?: {}): {};
|
455
|
+
filterBy(x: any, k: any, value?: undefined, out?: any[]): any[];
|
456
|
+
sortBy(array: any, key: any, descending?: boolean, direction?: number): any;
|
457
|
+
sortBy2(array: any, key1: any, key2: any, descending?: boolean, direction?: number): any;
|
458
|
+
flatten(x: any, out?: any[]): any[];
|
459
|
+
pluck(x: any, k: any): any;
|
460
|
+
omit(x: any, ...args: any[]): any;
|
461
|
+
sum(...xs: any[]): any;
|
462
|
+
deepExtend(...xs: any[]): any;
|
463
|
+
isNumber: (number: unknown) => boolean;
|
464
|
+
hasProps(o: any): boolean;
|
465
|
+
isRegExp(o: any): boolean;
|
466
|
+
isDictionary(o: any): boolean;
|
467
|
+
isStringCoercible(x: any): any;
|
468
|
+
prop(o: any, k: any): any;
|
469
|
+
getValueFromKeysInArray(object: any, array: any): any;
|
470
|
+
asFloat(x: any): number;
|
471
|
+
asInteger(x: any): number;
|
472
|
+
parseTimeframe(timeframe: any): number;
|
473
|
+
roundTimeframe(timeframe: any, timestamp: any, direction?: any): number;
|
474
|
+
json(data: any, params?: undefined): string;
|
475
|
+
isJsonEncodedObject(object: any): boolean;
|
476
|
+
encode_html_entities(content: any): any;
|
477
|
+
precisionFromString(string: any): any;
|
478
|
+
numberToString(x: any): any;
|
479
|
+
isBrowser: boolean;
|
480
|
+
isElectron: boolean;
|
481
|
+
isWebWorker: boolean;
|
482
|
+
isWindows: boolean;
|
483
|
+
isNode: boolean;
|
484
|
+
defaultFetch: typeof fetch;
|
485
|
+
uuid(a: any): any;
|
486
|
+
capitalize(s: any): any;
|
487
|
+
strip(s: any): any;
|
488
|
+
now: () => number;
|
489
|
+
milliseconds: () => number;
|
490
|
+
seconds(): number;
|
802
491
|
}
|
803
|
-
export { file_1 as file };
|
804
|
-
export declare function catchUnhandledExceptions(callback: any): void;
|
805
|
-
export declare function catchUnhandledExceptions(callback: any): void;
|
806
|
-
export declare const keys: {
|
807
|
-
(o: object): string[];
|
808
|
-
(o: {}): string[];
|
809
|
-
};
|
810
|
-
export declare function values(x: any): any;
|
811
|
-
export declare function values(x: any): any;
|
812
|
-
export declare function extend(...args: any[]): any;
|
813
|
-
export declare function extend(...args: any[]): any;
|
814
|
-
export declare function clone(x: any): any;
|
815
|
-
export declare function clone(x: any): any;
|
816
|
-
export declare function index(x: any): Set<any>;
|
817
|
-
export declare function index(x: any): Set<any>;
|
818
|
-
export declare function ordered(x: any): any;
|
819
|
-
export declare function ordered(x: any): any;
|
820
|
-
export declare function unique(x: any): any[];
|
821
|
-
export declare function unique(x: any): any[];
|
822
|
-
export declare function arrayConcat(a: any, b: any): any;
|
823
|
-
export declare function arrayConcat(a: any, b: any): any;
|
824
|
-
export declare function toArray(object: any): any;
|
825
|
-
export declare function toArray(object: any): any;
|
826
|
-
export declare function isEmpty(object: any): boolean;
|
827
|
-
export declare function isEmpty(object: any): boolean;
|
828
|
-
export declare function keysort(x: any, out?: {}): {};
|
829
|
-
export declare function keysort(x: any, out?: {}): {};
|
830
|
-
export declare function indexBy(x: any, k: any, out?: {}): {};
|
831
|
-
export declare function indexBy(x: any, k: any, out?: {}): {};
|
832
|
-
export declare function groupBy(x: any, k: any, out?: {}): {};
|
833
|
-
export declare function groupBy(x: any, k: any, out?: {}): {};
|
834
|
-
export declare function filterBy(x: any, k: any, value?: undefined, out?: any[]): any[];
|
835
|
-
export declare function filterBy(x: any, k: any, value?: undefined, out?: any[]): any[];
|
836
|
-
export declare function sortBy(array: any, key: any, descending?: boolean, direction?: number): any;
|
837
|
-
export declare function sortBy(array: any, key: any, descending?: boolean, direction?: number): any;
|
838
|
-
export declare function sortBy2(array: any, key1: any, key2: any, descending?: boolean, direction?: number): any;
|
839
|
-
export declare function sortBy2(array: any, key1: any, key2: any, descending?: boolean, direction?: number): any;
|
840
|
-
export declare function flatten(x: any, out?: any[]): any[];
|
841
|
-
export declare function flatten(x: any, out?: any[]): any[];
|
842
|
-
export declare function pluck(x: any, k: any): any;
|
843
|
-
export declare function pluck(x: any, k: any): any;
|
844
|
-
export declare function omit(x: any, ...args: any[]): any;
|
845
|
-
export declare function omit(x: any, ...args: any[]): any;
|
846
|
-
export declare function sum(...xs: any[]): any;
|
847
|
-
export declare function sum(...xs: any[]): any;
|
848
|
-
export declare function deepExtend(...xs: any[]): any;
|
849
|
-
export declare function deepExtend(...xs: any[]): any;
|
850
|
-
export declare const isNumber: (number: unknown) => boolean;
|
851
|
-
export declare function hasProps(o: any): boolean;
|
852
|
-
export declare function hasProps(o: any): boolean;
|
853
|
-
export declare function isRegExp(o: any): boolean;
|
854
|
-
export declare function isRegExp(o: any): boolean;
|
855
|
-
export declare function isDictionary(o: any): boolean;
|
856
|
-
export declare function isDictionary(o: any): boolean;
|
857
|
-
export declare function isStringCoercible(x: any): any;
|
858
|
-
export declare function isStringCoercible(x: any): any;
|
859
|
-
export declare function prop(o: any, k: any): any;
|
860
|
-
export declare function prop(o: any, k: any): any;
|
861
|
-
export declare function getValueFromKeysInArray(object: any, array: any): any;
|
862
|
-
export declare function getValueFromKeysInArray(object: any, array: any): any;
|
863
|
-
export declare function asFloat(x: any): number;
|
864
|
-
export declare function asFloat(x: any): number;
|
865
|
-
export declare function asInteger(x: any): number;
|
866
|
-
export declare function asInteger(x: any): number;
|
867
|
-
export declare function parseTimeframe(timeframe: any): number;
|
868
|
-
export declare function parseTimeframe(timeframe: any): number;
|
869
|
-
export declare function roundTimeframe(timeframe: any, timestamp: any, direction?: any): number;
|
870
|
-
export declare function roundTimeframe(timeframe: any, timestamp: any, direction?: any): number;
|
871
|
-
export declare function json(data: any, params?: undefined): string;
|
872
|
-
export declare function json(data: any, params?: undefined): string;
|
873
|
-
export declare function isJsonEncodedObject(object: any): boolean;
|
874
|
-
export declare function isJsonEncodedObject(object: any): boolean;
|
875
|
-
export declare function encode_html_entities(content: any): any;
|
876
|
-
export declare function encode_html_entities(content: any): any;
|
877
|
-
export declare function precisionFromString(string: any): any;
|
878
|
-
export declare function precisionFromString(string: any): any;
|
879
|
-
export declare function numberToString(x: any): any;
|
880
|
-
export declare function numberToString(x: any): any;
|
881
|
-
export declare const isBrowser: boolean;
|
882
|
-
export declare const isElectron: boolean;
|
883
|
-
export declare const isWebWorker: boolean;
|
884
|
-
export declare const isWindows: boolean;
|
885
|
-
export declare const isNode: boolean;
|
886
|
-
export declare const defaultFetch: typeof globalThis.fetch;
|
887
|
-
export declare function uuid(a: any): any;
|
888
|
-
export declare function uuid(a: any): any;
|
889
|
-
export declare function capitalize(s: any): any;
|
890
|
-
export declare function capitalize(s: any): any;
|
891
|
-
export declare function strip(s: any): any;
|
892
|
-
export declare function strip(s: any): any;
|
893
|
-
export declare const now: () => number;
|
894
|
-
export declare const milliseconds: () => number;
|
895
|
-
export declare function seconds(): number;
|
896
|
-
export declare function seconds(): number;
|
897
492
|
//# sourceMappingURL=library_standard.d.ts.map
|