@bbn/bbn 1.0.56 → 1.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fn.js ADDED
@@ -0,0 +1,460 @@
1
+ import { _addLoader } from './fn/_addLoader';
2
+ import { _compareValues } from './fn/_compareValues';
3
+ import { _deleteLoader } from './fn/_deleteLoader';
4
+ import { abort } from './fn/abort';
5
+ import { abortURL } from './fn/abortURL';
6
+ import { addColors } from './fn/addColors';
7
+ import { addInputs } from './fn/addInputs';
8
+ import { addStyle } from './fn/addStyle';
9
+ import { adjustHeight } from './fn/adjustHeight';
10
+ import { adjustSize } from './fn/adjustSize';
11
+ import { adjustWidth } from './fn/adjustWidth';
12
+ import { ajax } from './fn/ajax';
13
+ import { analyzeFunction } from './fn/analyzeFunction';
14
+ import { animateCss } from './fn/animateCss';
15
+ import { arrayBuffer2String } from './fn/arrayBuffer2String';
16
+ import { arrayFromProp } from './fn/arrayFromProp';
17
+ import { autoExtend } from './fn/autoExtend';
18
+ import { baseName } from './fn/baseName';
19
+ import { br2nl } from './fn/br2nl';
20
+ import { calendar } from './fn/calendar';
21
+ import { callback } from './fn/callback';
22
+ import { camelize } from './fn/camelize';
23
+ import { camelToCss } from './fn/camelToCss';
24
+ import { canvasToImage } from './fn/canvasToImage';
25
+ import { center } from './fn/center';
26
+ import { checkProps } from './fn/checkProps';
27
+ import { checkPropsDetails } from './fn/checkPropsDetails';
28
+ import { checkPropsOrDie } from './fn/checkPropsOrDie';
29
+ import { checkType } from './fn/checkType';
30
+ import { circularReplacer } from './fn/circularReplacer';
31
+ import { clone } from './fn/clone';
32
+ import { colorToHex } from './fn/colorToHex';
33
+ import { compare } from './fn/compare';
34
+ import { compareConditions } from './fn/compareConditions';
35
+ import { copy } from './fn/copy';
36
+ import { correctCase } from './fn/correctCase';
37
+ import { count } from './fn/count';
38
+ import { crc32 } from './fn/crc32';
39
+ import { createObject } from './fn/createObject';
40
+ import { cssExists } from './fn/cssExists';
41
+ import { date } from './fn/date';
42
+ import { dateSQL } from './fn/dateSQL';
43
+ import { daysInMonth } from './fn/daysInMonth';
44
+ import { deepPath } from './fn/deepPath';
45
+ import { defaultAjaxAbortFunction } from './fn/defaultAjaxAbortFunction';
46
+ import { defaultAjaxErrorFunction } from './fn/defaultAjaxErrorFunction';
47
+ import { defaultAlertFunction } from './fn/defaultAlertFunction';
48
+ import { defaultConfirmFunction } from './fn/defaultConfirmFunction';
49
+ import { defaultEndLoadingFunction } from './fn/defaultEndLoadingFunction';
50
+ import { defaultErrorFunction } from './fn/defaultErrorFunction';
51
+ import { defaultHistoryFunction } from './fn/defaultHistoryFunction';
52
+ import { defaultLinkFunction } from './fn/defaultLinkFunction';
53
+ import { defaultPostLinkFunction } from './fn/defaultPostLinkFunction';
54
+ import { defaultPreLinkFunction } from './fn/defaultPreLinkFunction';
55
+ import { defaultResizeFunction } from './fn/defaultResizeFunction';
56
+ import { defaultStartLoadingFunction } from './fn/defaultStartLoadingFunction';
57
+ import { deleteProp } from './fn/deleteProp';
58
+ import { diffObj } from './fn/diffObj';
59
+ import { dirName } from './fn/dirName';
60
+ import { download } from './fn/download';
61
+ import { downloadContent } from './fn/downloadContent';
62
+ import { each } from './fn/each';
63
+ import { eraseCookie } from './fn/eraseCookie';
64
+ import { error } from './fn/error';
65
+ import { escapeDquotes } from './fn/escapeDquotes';
66
+ import { escapeRegExp } from './fn/escapeRegExp';
67
+ import { escapeSquotes } from './fn/escapeSquotes';
68
+ import { escapeTicks } from './fn/escapeTicks';
69
+ import { escapeUrl } from './fn/escapeUrl';
70
+ import { extend } from './fn/extend';
71
+ import { extendOut } from './fn/extendOut';
72
+ import { fdate } from './fn/fdate';
73
+ import { fdatetime } from './fn/fdatetime';
74
+ import { fieldValue } from './fn/fieldValue';
75
+ import { fileExt } from './fn/fileExt';
76
+ import { filter } from './fn/filter';
77
+ import { filterToConditions } from './fn/filterToConditions';
78
+ import { findAll } from './fn/findAll';
79
+ import { fori } from './fn/fori';
80
+ import { forir } from './fn/forir';
81
+ import { format } from './fn/format';
82
+ import { formatBytes } from './fn/formatBytes';
83
+ import { formatDate } from './fn/formatDate';
84
+ import { formatSize } from './fn/formatSize';
85
+ import { formdata } from './fn/formdata';
86
+ import { fromXml } from './fn/fromXml';
87
+ import { ftime } from './fn/ftime';
88
+ import { getAllTags } from './fn/getAllTags';
89
+ import { getAncestors } from './fn/getAncestors';
90
+ import { getAttributes } from './fn/getAttributes';
91
+ import { getBrowserName } from './fn/getBrowserName';
92
+ import { getBrowserVersion } from './fn/getBrowserVersion';
93
+ import { getCookie } from './fn/getCookie';
94
+ import { getCssVar } from './fn/getCssVar';
95
+ import { getDay } from './fn/getDay';
96
+ import { getDeviceType } from './fn/getDeviceType';
97
+ import { getEventData } from './fn/getEventData';
98
+ import { getField } from './fn/getField';
99
+ import { getFieldValues } from './fn/getFieldValues';
100
+ import { getHtml } from './fn/getHtml';
101
+ import { getHTMLOfSelection } from './fn/getHTMLOfSelection';
102
+ import { getLoader } from './fn/getLoader';
103
+ import { getPath } from './fn/getPath';
104
+ import { getProp } from './fn/getProp';
105
+ import { getProperty } from './fn/getProperty';
106
+ import { getRequestId } from './fn/getRequestId';
107
+ import { getRow } from './fn/getRow';
108
+ import { getScrollBarSize } from './fn/getScrollBarSize';
109
+ import { getText } from './fn/getText';
110
+ import { getTimeoff } from './fn/getTimeoff';
111
+ import { happy } from './fn/happy';
112
+ import { hash } from './fn/hash';
113
+ import { hex2rgb } from './fn/hex2rgb';
114
+ import { history } from './fn/history';
115
+ import { html2text } from './fn/html2text';
116
+ import { imageToCanvas } from './fn/imageToCanvas';
117
+ import { imgToBase64 } from './fn/imgToBase64';
118
+ import { info } from './fn/info';
119
+ import { init } from './fn/init';
120
+ import { isActiveInterface } from './fn/isActiveInterface';
121
+ import { isArray } from './fn/isArray';
122
+ import { isBlob } from './fn/isBlob';
123
+ import { isBoolean } from './fn/isBoolean';
124
+ import { isCanvas } from './fn/isCanvas';
125
+ import { isColor } from './fn/isColor';
126
+ import { isComment } from './fn/isComment';
127
+ import { isCp } from './fn/isCp';
128
+ import { isDate } from './fn/isDate';
129
+ import { isDesktopDevice } from './fn/isDesktopDevice';
130
+ import { isDimension } from './fn/isDimension';
131
+ import { isDom } from './fn/isDom';
132
+ import { isEmail } from './fn/isEmail';
133
+ import { isEmpty } from './fn/isEmpty';
134
+ import { isEvent } from './fn/isEvent';
135
+ import { isFocused } from './fn/isFocused';
136
+ import { isFunction } from './fn/isFunction';
137
+ import { isHostname } from './fn/isHostname';
138
+ import { isInside } from './fn/isInside';
139
+ import { isInt } from './fn/isInt';
140
+ import { isIP } from './fn/isIP';
141
+ import { isIterable } from './fn/isIterable';
142
+ import { isMobile } from './fn/isMobile';
143
+ import { isMobileDevice } from './fn/isMobileDevice';
144
+ import { isNull } from './fn/isNull';
145
+ import { isNumber } from './fn/isNumber';
146
+ import { isObject } from './fn/isObject';
147
+ import { isPercent } from './fn/isPercent';
148
+ import { isPrimitive } from './fn/isPrimitive';
149
+ import { isPromise } from './fn/isPromise';
150
+ import { isPropSize } from './fn/isPropSize';
151
+ import { isSame } from './fn/isSame';
152
+ import { isSQLDate } from './fn/isSQLDate';
153
+ import { isString } from './fn/isString';
154
+ import { isSymbol } from './fn/isSymbol';
155
+ import { isTabletDevice } from './fn/isTabletDevice';
156
+ import { isURL } from './fn/isURL';
157
+ import { isValidDimension } from './fn/isValidDimension';
158
+ import { isValidName } from './fn/isValidName';
159
+ import { isValue } from './fn/isValue';
160
+ import { isVue } from './fn/isVue';
161
+ import { iterate } from './fn/iterate';
162
+ import { lightenDarkenHex } from './fn/lightenDarkenHex';
163
+ import { link } from './fn/link';
164
+ import { log } from './fn/log';
165
+ import { makeReactive } from './fn/makeReactive';
166
+ import { map } from './fn/map';
167
+ import { md5 } from './fn/md5';
168
+ import { money } from './fn/money';
169
+ import { move } from './fn/move';
170
+ import { multiorder } from './fn/multiorder';
171
+ import { nl2br } from './fn/nl2br';
172
+ import { numProperties } from './fn/numProperties';
173
+ import { objectToFormData } from './fn/objectToFormData';
174
+ import { order } from './fn/order';
175
+ import { outerHeight } from './fn/outerHeight';
176
+ import { outerWidth } from './fn/outerWidth';
177
+ import { percent } from './fn/percent';
178
+ import { pickValue } from './fn/pickValue';
179
+ import { post } from './fn/post';
180
+ import { postOut } from './fn/postOut';
181
+ import { printf } from './fn/printf';
182
+ import { quotes2html } from './fn/quotes2html';
183
+ import { randomInt } from './fn/randomInt';
184
+ import { randomString } from './fn/randomString';
185
+ import { removeAccents } from './fn/removeAccents';
186
+ import { removeEmpty } from './fn/removeEmpty';
187
+ import { removeExtraSpaces } from './fn/removeExtraSpaces';
188
+ import { removeHtmlComments } from './fn/removeHtmlComments';
189
+ import { removePrivateProp } from './fn/removePrivateProp';
190
+ import { removeTrailingChars } from './fn/removeTrailingChars';
191
+ import { repeat } from './fn/repeat';
192
+ import { replaceAll } from './fn/replaceAll';
193
+ import { replaceSelection } from './fn/replaceSelection';
194
+ import { resize } from './fn/resize';
195
+ import { rgb2hex } from './fn/rgb2hex';
196
+ import { riterate } from './fn/riterate';
197
+ import { roundDecimal } from './fn/roundDecimal';
198
+ import { sanitize } from './fn/sanitize';
199
+ import { search } from './fn/search';
200
+ import { selectElementText } from './fn/selectElementText';
201
+ import { selector } from './fn/selector';
202
+ import { setCookie } from './fn/setCookie';
203
+ import { setCssVar } from './fn/setCssVar';
204
+ import { setNavigationVars } from './fn/setNavigationVars';
205
+ import { setProp } from './fn/setProp';
206
+ import { setProperty } from './fn/setProperty';
207
+ import { shorten } from './fn/shorten';
208
+ import { shortenObj } from './fn/shortenObj';
209
+ import { shuffle } from './fn/shuffle';
210
+ import { simpleHash } from './fn/simpleHash';
211
+ import { simpleHash1 } from './fn/simpleHash1';
212
+ import { simpleHash2 } from './fn/simpleHash2';
213
+ import { startChrono, stopChrono } from './fn/chrono';
214
+ import { stat } from './fn/stat';
215
+ import { string2ArrayBuffer } from './fn/string2ArrayBuffer';
216
+ import { submit } from './fn/submit';
217
+ import { substr } from './fn/substr';
218
+ import { sum } from './fn/sum';
219
+ import { timestamp } from './fn/timestamp';
220
+ import { toCSV } from './fn/toCSV';
221
+ import { toggleFullScreen } from './fn/toggleFullScreen';
222
+ import { translate } from './fn/translate';
223
+ import { treatAjaxArguments } from './fn/treatAjaxArguments';
224
+ import { trim } from './fn/trim';
225
+ import { uniqString } from './fn/uniqString';
226
+ import { unique } from './fn/unique';
227
+ import { upload } from './fn/upload';
228
+ import { warning } from './fn/warning';
229
+ const fn = {
230
+ _addLoader,
231
+ _compareValues,
232
+ _deleteLoader,
233
+ abort,
234
+ abortURL,
235
+ addColors,
236
+ addInputs,
237
+ addStyle,
238
+ adjustHeight,
239
+ adjustSize,
240
+ adjustWidth,
241
+ ajax,
242
+ analyzeFunction,
243
+ animateCss,
244
+ arrayBuffer2String,
245
+ arrayFromProp,
246
+ autoExtend,
247
+ baseName,
248
+ br2nl,
249
+ calendar,
250
+ callback,
251
+ camelize,
252
+ camelToCss,
253
+ canvasToImage,
254
+ center,
255
+ checkProps,
256
+ checkPropsDetails,
257
+ checkPropsOrDie,
258
+ checkType,
259
+ circularReplacer,
260
+ clone,
261
+ colorToHex,
262
+ compare,
263
+ compareConditions,
264
+ copy,
265
+ correctCase,
266
+ count,
267
+ crc32,
268
+ createObject,
269
+ cssExists,
270
+ date,
271
+ dateSQL,
272
+ daysInMonth,
273
+ deepPath,
274
+ defaultAjaxAbortFunction,
275
+ defaultAjaxErrorFunction,
276
+ defaultAlertFunction,
277
+ defaultConfirmFunction,
278
+ defaultEndLoadingFunction,
279
+ defaultErrorFunction,
280
+ defaultHistoryFunction,
281
+ defaultLinkFunction,
282
+ defaultPostLinkFunction,
283
+ defaultPreLinkFunction,
284
+ defaultResizeFunction,
285
+ defaultStartLoadingFunction,
286
+ deleteProp,
287
+ diffObj,
288
+ dirName,
289
+ download,
290
+ downloadContent,
291
+ each,
292
+ eraseCookie,
293
+ error,
294
+ escapeDquotes,
295
+ escapeRegExp,
296
+ escapeSquotes,
297
+ escapeTicks,
298
+ escapeUrl,
299
+ extend,
300
+ extendOut,
301
+ fdate,
302
+ fdatetime,
303
+ fieldValue,
304
+ fileExt,
305
+ filter,
306
+ filterToConditions,
307
+ findAll,
308
+ fori,
309
+ forir,
310
+ format,
311
+ formatBytes,
312
+ formatDate,
313
+ formatSize,
314
+ formdata,
315
+ fromXml,
316
+ ftime,
317
+ getAllTags,
318
+ getAncestors,
319
+ getAttributes,
320
+ getBrowserName,
321
+ getBrowserVersion,
322
+ getCookie,
323
+ getCssVar,
324
+ getDay,
325
+ getDeviceType,
326
+ getEventData,
327
+ getField,
328
+ getFieldValues,
329
+ getHtml,
330
+ getHTMLOfSelection,
331
+ getLoader,
332
+ getPath,
333
+ getProp,
334
+ getProperty,
335
+ getRequestId,
336
+ getRow,
337
+ getScrollBarSize,
338
+ getText,
339
+ getTimeoff,
340
+ happy,
341
+ hash,
342
+ hex2rgb,
343
+ history,
344
+ html2text,
345
+ imageToCanvas,
346
+ imgToBase64,
347
+ info,
348
+ init,
349
+ isActiveInterface,
350
+ isArray,
351
+ isBlob,
352
+ isBoolean,
353
+ isCanvas,
354
+ isColor,
355
+ isComment,
356
+ isCp,
357
+ isDate,
358
+ isDesktopDevice,
359
+ isDimension,
360
+ isDom,
361
+ isEmail,
362
+ isEmpty,
363
+ isEvent,
364
+ isFocused,
365
+ isFunction,
366
+ isHostname,
367
+ isInside,
368
+ isInt,
369
+ isIP,
370
+ isIterable,
371
+ isMobile,
372
+ isMobileDevice,
373
+ isNull,
374
+ isNumber,
375
+ isObject,
376
+ isPercent,
377
+ isPrimitive,
378
+ isPromise,
379
+ isPropSize,
380
+ isSame,
381
+ isSQLDate,
382
+ isString,
383
+ isSymbol,
384
+ isTabletDevice,
385
+ isURL,
386
+ isValidDimension,
387
+ isValidName,
388
+ isValue,
389
+ isVue,
390
+ iterate,
391
+ lightenDarkenHex,
392
+ link,
393
+ log,
394
+ makeReactive,
395
+ map,
396
+ md5,
397
+ money,
398
+ move,
399
+ multiorder,
400
+ nl2br,
401
+ numProperties,
402
+ objectToFormData,
403
+ order,
404
+ outerHeight,
405
+ outerWidth,
406
+ percent,
407
+ pickValue,
408
+ post,
409
+ postOut,
410
+ printf,
411
+ quotes2html,
412
+ randomInt,
413
+ randomString,
414
+ removeAccents,
415
+ removeEmpty,
416
+ removeExtraSpaces,
417
+ removeHtmlComments,
418
+ removePrivateProp,
419
+ removeTrailingChars,
420
+ repeat,
421
+ replaceAll,
422
+ replaceSelection,
423
+ resize,
424
+ rgb2hex,
425
+ riterate,
426
+ roundDecimal,
427
+ sanitize,
428
+ search,
429
+ selectElementText,
430
+ selector,
431
+ setCookie,
432
+ setCssVar,
433
+ setNavigationVars,
434
+ setProp,
435
+ setProperty,
436
+ shorten,
437
+ shortenObj,
438
+ shuffle,
439
+ simpleHash,
440
+ simpleHash1,
441
+ simpleHash2,
442
+ startChrono,
443
+ stat,
444
+ stopChrono,
445
+ string2ArrayBuffer,
446
+ submit,
447
+ substr,
448
+ sum,
449
+ timestamp,
450
+ toCSV,
451
+ toggleFullScreen,
452
+ translate,
453
+ treatAjaxArguments,
454
+ trim,
455
+ uniqString,
456
+ unique,
457
+ upload,
458
+ warning,
459
+ };
460
+ export { fn };