@bbn/bbn 1.0.33 → 1.0.35
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/bundle.d.ts +2 -341
- package/dist/bundle.js +1497 -1223
- package/dist/fn/_addLoader.js +5 -5
- package/dist/fn/_compareValues.js +3 -2
- package/dist/fn/_deleteLoader.js +13 -11
- package/dist/fn/abort.js +2 -2
- package/dist/fn/abortURL.js +2 -2
- package/dist/fn/addColors.js +12 -12
- package/dist/fn/addInputs.js +12 -10
- package/dist/fn/addStyle.js +2 -2
- package/dist/fn/adjustHeight.js +2 -2
- package/dist/fn/adjustSize.js +6 -6
- package/dist/fn/adjustWidth.js +2 -2
- package/dist/fn/ajax.js +21 -21
- package/dist/fn/analyzeFunction.js +28 -28
- package/dist/fn/animateCss.js +6 -5
- package/dist/fn/arrayBuffer2String.js +1 -1
- package/dist/fn/arrayFromProp.js +3 -3
- package/dist/fn/autoExtend.js +1 -1
- package/dist/fn/baseName.js +4 -4
- package/dist/fn/br2nl.js +1 -1
- package/dist/fn/calendar.js +2 -2
- package/dist/fn/callback.js +11 -7
- package/dist/fn/camelToCss.js +1 -1
- package/dist/fn/camelize.js +1 -1
- package/dist/fn/canvasToImage.js +2 -2
- package/dist/fn/center.js +2 -2
- package/dist/fn/checkProps.js +2 -1
- package/dist/fn/checkPropsDetails.js +9 -8
- package/dist/fn/checkPropsOrDie.js +3 -2
- package/dist/fn/checkType.js +9 -5
- package/dist/fn/chrono.js +8 -8
- package/dist/fn/circularReplacer.js +3 -3
- package/dist/fn/clone.js +3 -3
- package/dist/fn/colorToHex.js +2 -2
- package/dist/fn/compare.js +1 -1
- package/dist/fn/compareConditions.js +7 -7
- package/dist/fn/copy.js +8 -6
- package/dist/fn/correctCase.js +2 -2
- package/dist/fn/count.js +3 -1
- package/dist/fn/crc32.js +8 -8
- package/dist/fn/createObject.js +16 -3
- package/dist/fn/cssExists.js +6 -6
- package/dist/fn/date.js +2 -2
- package/dist/fn/dateSQL.js +2 -2
- package/dist/fn/daysInMonth.js +2 -2
- package/dist/fn/deepPath.js +7 -6
- package/dist/fn/defaultAjaxAbortFunction.js +2 -1
- package/dist/fn/defaultAjaxErrorFunction.js +1 -1
- package/dist/fn/defaultAlertFunction.js +1 -1
- package/dist/fn/defaultConfirmFunction.js +2 -2
- package/dist/fn/defaultEndLoadingFunction.js +1 -1
- package/dist/fn/defaultErrorFunction.js +1 -1
- package/dist/fn/defaultHistoryFunction.js +1 -1
- package/dist/fn/defaultLinkFunction.js +1 -1
- package/dist/fn/defaultPostLinkFunction.js +1 -1
- package/dist/fn/defaultPreLinkFunction.js +1 -1
- package/dist/fn/defaultResizeFunction.js +1 -1
- package/dist/fn/defaultStartLoadingFunction.js +2 -1
- package/dist/fn/deleteProp.js +1 -1
- package/dist/fn/diffObj.js +13 -11
- package/dist/fn/dirName.js +2 -2
- package/dist/fn/download.js +6 -6
- package/dist/fn/downloadContent.js +5 -5
- package/dist/fn/each.js +3 -3
- package/dist/fn/eraseCookie.js +1 -1
- package/dist/fn/error.js +3 -3
- package/dist/fn/escapeDquotes.js +1 -1
- package/dist/fn/escapeRegExp.js +1 -1
- package/dist/fn/escapeSquotes.js +1 -1
- package/dist/fn/escapeTicks.js +1 -1
- package/dist/fn/escapeUrl.js +7 -7
- package/dist/fn/extend.js +13 -9
- package/dist/fn/extendOut.js +9 -4
- package/dist/fn/fdate.js +2 -2
- package/dist/fn/fdatetime.js +2 -2
- package/dist/fn/fieldValue.js +2 -2
- package/dist/fn/fileExt.js +2 -2
- package/dist/fn/filter.js +8 -6
- package/dist/fn/filterToConditions.js +7 -6
- package/dist/fn/findAll.js +5 -4
- package/dist/fn/fori.js +5 -3
- package/dist/fn/forir.js +5 -3
- package/dist/fn/format.js +5 -5
- package/dist/fn/formatBytes.js +3 -2
- package/dist/fn/formatDate.js +1 -1
- package/dist/fn/formatSize.js +1 -1
- package/dist/fn/formdata.js +25 -25
- package/dist/fn/fromXml.js +14 -8
- package/dist/fn/ftime.js +2 -2
- package/dist/fn/getAllTags.js +2 -2
- package/dist/fn/getAncestors.js +2 -2
- package/dist/fn/getAttributes.js +3 -3
- package/dist/fn/getBrowserName.js +2 -2
- package/dist/fn/getBrowserVersion.js +2 -2
- package/dist/fn/getCookie.js +6 -6
- package/dist/fn/getCssVar.js +1 -1
- package/dist/fn/getDay.js +4 -4
- package/dist/fn/getDeviceType.js +2 -2
- package/dist/fn/getEventData.js +31 -31
- package/dist/fn/getField.js +5 -2
- package/dist/fn/getFieldValues.js +3 -3
- package/dist/fn/getHTMLOfSelection.js +5 -5
- package/dist/fn/getHtml.js +3 -2
- package/dist/fn/getLoader.js +2 -2
- package/dist/fn/getPath.js +23 -16
- package/dist/fn/getProp.js +1 -1
- package/dist/fn/getProperty.js +2 -2
- package/dist/fn/getRequestId.js +3 -3
- package/dist/fn/getRow.js +3 -1
- package/dist/fn/getScrollBarSize.js +6 -6
- package/dist/fn/getText.js +1 -1
- package/dist/fn/getTimeoff.js +1 -1
- package/dist/fn/happy.js +5 -1
- package/dist/fn/hash.js +4 -4
- package/dist/fn/hex2rgb.js +1 -1
- package/dist/fn/history.js +1 -1
- package/dist/fn/html2text.js +2 -2
- package/dist/fn/imageToCanvas.js +2 -2
- package/dist/fn/imgToBase64.js +3 -2
- package/dist/fn/info.js +5 -1
- package/dist/fn/init.js +17 -17
- package/dist/fn/isActiveInterface.js +3 -2
- package/dist/fn/isArray.js +7 -2
- package/dist/fn/isBlob.js +7 -2
- package/dist/fn/isBoolean.js +7 -2
- package/dist/fn/isCanvas.js +7 -2
- package/dist/fn/isColor.js +7 -2
- package/dist/fn/isComment.js +7 -2
- package/dist/fn/isCp.js +8 -3
- package/dist/fn/isDate.js +7 -2
- package/dist/fn/isDesktopDevice.js +1 -1
- package/dist/fn/isDimension.js +7 -2
- package/dist/fn/isDom.js +7 -2
- package/dist/fn/isEmail.js +8 -3
- package/dist/fn/isEmpty.js +1 -1
- package/dist/fn/isEvent.js +7 -2
- package/dist/fn/isFocused.js +1 -1
- package/dist/fn/isFunction.js +7 -2
- package/dist/fn/isHostname.js +7 -2
- package/dist/fn/isIP.js +7 -2
- package/dist/fn/isInside.js +6 -6
- package/dist/fn/isInt.js +7 -2
- package/dist/fn/isIterable.js +1 -1
- package/dist/fn/isMobile.js +1 -1
- package/dist/fn/isMobileDevice.js +1 -1
- package/dist/fn/isNull.js +7 -2
- package/dist/fn/isNumber.js +7 -2
- package/dist/fn/isObject.js +7 -2
- package/dist/fn/isPercent.js +7 -2
- package/dist/fn/isPrimitive.js +7 -2
- package/dist/fn/isPromise.js +7 -2
- package/dist/fn/isPropSize.js +3 -3
- package/dist/fn/isSQLDate.js +7 -2
- package/dist/fn/isSame.js +7 -7
- package/dist/fn/isString.js +7 -2
- package/dist/fn/isSymbol.js +7 -2
- package/dist/fn/isTabletDevice.js +1 -1
- package/dist/fn/isURL.js +7 -2
- package/dist/fn/isValidDimension.js +3 -3
- package/dist/fn/isValidName.js +7 -2
- package/dist/fn/isValue.js +7 -2
- package/dist/fn/isVue.js +11 -4
- package/dist/fn/iterate.js +5 -3
- package/dist/fn/lightenDarkenHex.js +3 -3
- package/dist/fn/link.js +11 -7
- package/dist/fn/log.js +10 -6
- package/dist/fn/makeReactive.js +27 -23
- package/dist/fn/map.js +3 -2
- package/dist/fn/md5.js +1 -1
- package/dist/fn/money.js +5 -5
- package/dist/fn/move.js +2 -2
- package/dist/fn/multiorder.js +7 -6
- package/dist/fn/nl2br.js +1 -1
- package/dist/fn/numProperties.js +1 -1
- package/dist/fn/objectToFormData.js +7 -5
- package/dist/fn/order.js +2 -1
- package/dist/fn/outerHeight.js +3 -3
- package/dist/fn/outerWidth.js +3 -3
- package/dist/fn/percent.js +1 -1
- package/dist/fn/pickValue.js +1 -1
- package/dist/fn/post.js +7 -3
- package/dist/fn/postOut.js +2 -2
- package/dist/fn/printf.js +1 -1
- package/dist/fn/quotes2html.js +1 -1
- package/dist/fn/randomInt.js +1 -1
- package/dist/fn/randomString.js +6 -6
- package/dist/fn/removeAccents.js +1 -1
- package/dist/fn/removeEmpty.js +3 -3
- package/dist/fn/removeExtraSpaces.js +1 -1
- package/dist/fn/removeHtmlComments.js +1 -1
- package/dist/fn/removePrivateProp.js +3 -2
- package/dist/fn/removeTrailingChars.js +1 -1
- package/dist/fn/repeat.js +1 -1
- package/dist/fn/replaceAll.js +2 -1
- package/dist/fn/replaceSelection.js +6 -6
- package/dist/fn/resize.js +15 -15
- package/dist/fn/rgb2hex.js +1 -1
- package/dist/fn/riterate.js +1 -1
- package/dist/fn/roundDecimal.js +1 -1
- package/dist/fn/sanitize.js +7 -6
- package/dist/fn/search.js +9 -6
- package/dist/fn/selectElementText.js +4 -4
- package/dist/fn/selector.js +1 -1
- package/dist/fn/setCookie.js +4 -4
- package/dist/fn/setCssVar.js +1 -1
- package/dist/fn/setNavigationVars.js +5 -5
- package/dist/fn/setProp.js +3 -1
- package/dist/fn/setProperty.js +9 -9
- package/dist/fn/shorten.js +1 -1
- package/dist/fn/shortenObj.js +4 -3
- package/dist/fn/shuffle.js +4 -3
- package/dist/fn/simpleHash.js +3 -3
- package/dist/fn/simpleHash1.js +4 -4
- package/dist/fn/simpleHash2.js +4 -4
- package/dist/fn/stat.js +1 -1
- package/dist/fn/string2ArrayBuffer.js +1 -1
- package/dist/fn/submit.js +3 -3
- package/dist/fn/substr.js +1 -1
- package/dist/fn/sum.js +4 -4
- package/dist/fn/timestamp.js +1 -1
- package/dist/fn/toCSV.js +10 -7
- package/dist/fn/toggleFullScreen.js +1 -1
- package/dist/fn/translate.js +3 -3
- package/dist/fn/treatAjaxArguments.js +4 -4
- package/dist/fn/trim.js +2 -1
- package/dist/fn/uniqString.js +14 -7
- package/dist/fn/unique.js +1 -1
- package/dist/fn/upload.js +6 -6
- package/dist/fn/warning.js +3 -3
- package/dist/index.d.ts +2 -341
- package/dist/index.js +400 -394
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -226,402 +226,408 @@ import { uniqString } from './fn/uniqString';
|
|
|
226
226
|
import { unique } from './fn/unique';
|
|
227
227
|
import { upload } from './fn/upload';
|
|
228
228
|
import { warning } from './fn/warning';
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* Translate an expression using the object bbn.lng
|
|
235
|
-
*
|
|
236
|
-
* @param {String} st
|
|
237
|
-
* @returns {String}
|
|
238
|
-
*/
|
|
239
|
-
const _ = (...args) => {
|
|
240
|
-
let st = args.shift();
|
|
241
|
-
let res = bbn.lng[st] || st;
|
|
242
|
-
if (args.length) {
|
|
243
|
-
let i = 0;
|
|
244
|
-
return res.replace(/\%([d|s])/g, (match, type) => {
|
|
245
|
-
let tmp = args[i++];
|
|
246
|
-
if (!tmp) {
|
|
247
|
-
tmp = type === 'd' ? 0 : '';
|
|
248
|
-
}
|
|
249
|
-
checkType(tmp, type === 'd' ? 'number' : 'string', bbn._("The value you gave did not correspond, check the loggg"));
|
|
250
|
-
return tmp;
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
return res;
|
|
254
|
-
};
|
|
255
|
-
const $ = (selector, context) => {
|
|
256
|
-
if (context && context.querySelectorAll) {
|
|
257
|
-
return context.querySelectorAll(selector);
|
|
258
|
-
}
|
|
259
|
-
return document.body.querySelectorAll(selector);
|
|
260
|
-
};
|
|
261
|
-
const _popups = [];
|
|
262
|
-
const lng = {
|
|
263
|
-
/* User-defined languages elements */
|
|
264
|
-
select_unselect_all: "Select/Clear all",
|
|
265
|
-
select_all: "Select all",
|
|
266
|
-
search: 'Search',
|
|
267
|
-
loading: 'Loading...',
|
|
268
|
-
choose: 'Choose',
|
|
269
|
-
error: 'Error',
|
|
270
|
-
server_response: 'Server response',
|
|
271
|
-
reload: 'Reload',
|
|
272
|
-
errorText: 'Something went wrong',
|
|
273
|
-
closeAll: "Close all",
|
|
274
|
-
closeOthers: "Close others",
|
|
275
|
-
pin: "Pin",
|
|
276
|
-
arrange: "Arrange",
|
|
277
|
-
cancel: "Cancel",
|
|
278
|
-
unpin: "Unpin",
|
|
279
|
-
yes: "Yes",
|
|
280
|
-
no: "No",
|
|
281
|
-
unknown: "Unknown",
|
|
282
|
-
untitled: "Untitled",
|
|
283
|
-
confirmation: "Confirmation",
|
|
284
|
-
Today: "Today",
|
|
285
|
-
Tomorrow: "Tomorrow",
|
|
286
|
-
Yesterday: "Yesterday"
|
|
287
|
-
};
|
|
288
|
-
const app = {
|
|
289
|
-
popups: [],
|
|
290
|
-
};
|
|
291
|
-
const vars = {
|
|
292
|
-
loggers: {
|
|
293
|
-
_num: 0
|
|
229
|
+
var bbn = {
|
|
230
|
+
version: "1.0.1",
|
|
231
|
+
opt: {
|
|
232
|
+
_cat: {}
|
|
294
233
|
},
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
234
|
+
/**
|
|
235
|
+
* Translate an expression using the object bbn.lng
|
|
236
|
+
*
|
|
237
|
+
* @param {String} st
|
|
238
|
+
* @returns {String}
|
|
239
|
+
*/
|
|
240
|
+
_: function () {
|
|
241
|
+
var args = [];
|
|
242
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
243
|
+
args[_i] = arguments[_i];
|
|
244
|
+
}
|
|
245
|
+
var st = args.shift();
|
|
246
|
+
var res = bbn.lng[st] || st;
|
|
247
|
+
if (args.length) {
|
|
248
|
+
var i_1 = 0;
|
|
249
|
+
return res.replace(/\%([d|s])/g, function (match, type) {
|
|
250
|
+
var tmp = args[i_1++];
|
|
251
|
+
if (!tmp) {
|
|
252
|
+
tmp = type === 'd' ? 0 : '';
|
|
253
|
+
}
|
|
254
|
+
checkType(tmp, type === 'd' ? 'number' : 'string', bbn._("The value you gave did not correspond, check the loggg"));
|
|
255
|
+
return tmp;
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
return res;
|
|
308
259
|
},
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
black: '#000000',
|
|
315
|
-
anthracite: '#454545',
|
|
316
|
-
grey: '#d3d3d3',
|
|
317
|
-
white: '#ffffff',
|
|
318
|
-
beige: '#fdfdfd',
|
|
319
|
-
lightgrey: '#dcdcdc',
|
|
320
|
-
pastelblue: '#ddebf6',
|
|
321
|
-
cyan: '#00c8f8',
|
|
322
|
-
blue: '#6e9ecf',
|
|
323
|
-
indigo: '#3f51b5',
|
|
324
|
-
navy: '#354458',
|
|
325
|
-
webblue: '#2196f3',
|
|
326
|
-
teal: '#009688',
|
|
327
|
-
turquoise: '#1fda9a',
|
|
328
|
-
pastelgreen: '#e2efda',
|
|
329
|
-
palegreen: '#ccffcc',
|
|
330
|
-
green: '#00a03e',
|
|
331
|
-
olive: '#92b06a',
|
|
332
|
-
pastelorange: '#fff2cc',
|
|
333
|
-
yellow: '#fdf200',
|
|
334
|
-
orange: '#ff9900',
|
|
335
|
-
pink: '#eb65a0',
|
|
336
|
-
purple: '#a333c8',
|
|
337
|
-
red: '#db3340',
|
|
338
|
-
brown: '#8c6954'
|
|
260
|
+
$: function (selector, context) {
|
|
261
|
+
if (context && context.querySelectorAll) {
|
|
262
|
+
return context.querySelectorAll(selector);
|
|
263
|
+
}
|
|
264
|
+
return document.body.querySelectorAll(selector);
|
|
339
265
|
},
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
266
|
+
_popups: [],
|
|
267
|
+
lng: {
|
|
268
|
+
/* User-defined languages elements */
|
|
269
|
+
select_unselect_all: "Select/Clear all",
|
|
270
|
+
select_all: "Select all",
|
|
271
|
+
search: 'Search',
|
|
272
|
+
loading: 'Loading...',
|
|
273
|
+
choose: 'Choose',
|
|
274
|
+
error: 'Error',
|
|
275
|
+
server_response: 'Server response',
|
|
276
|
+
reload: 'Reload',
|
|
277
|
+
errorText: 'Something went wrong',
|
|
278
|
+
closeAll: "Close all",
|
|
279
|
+
closeOthers: "Close others",
|
|
280
|
+
pin: "Pin",
|
|
281
|
+
arrange: "Arrange",
|
|
282
|
+
cancel: "Cancel",
|
|
283
|
+
unpin: "Unpin",
|
|
284
|
+
yes: "Yes",
|
|
285
|
+
no: "No",
|
|
286
|
+
unknown: "Unknown",
|
|
287
|
+
untitled: "Untitled",
|
|
288
|
+
confirmation: "Confirmation",
|
|
289
|
+
Today: "Today",
|
|
290
|
+
Tomorrow: "Tomorrow",
|
|
291
|
+
Yesterday: "Yesterday"
|
|
292
|
+
},
|
|
293
|
+
app: {
|
|
294
|
+
popups: [],
|
|
295
|
+
},
|
|
296
|
+
vars: {
|
|
297
|
+
loggers: {
|
|
298
|
+
_num: 0
|
|
299
|
+
},
|
|
300
|
+
/* Usable datatypes through Ajax function */
|
|
301
|
+
datatypes: ['xml', 'html', 'script', 'json', 'jsonp', 'text', 'blob'],
|
|
302
|
+
/* The default value used by the function shorten */
|
|
303
|
+
shortenLen: 30,
|
|
304
|
+
/* Categorizing keyboard map */
|
|
305
|
+
keys: {
|
|
306
|
+
upDown: [33, 34, 35, 36, 38, 40],
|
|
307
|
+
leftRight: [36, 35, 37, 39],
|
|
308
|
+
dels: [8, 46, 45],
|
|
309
|
+
confirm: [13, 9],
|
|
310
|
+
alt: [20, 16, 17, 18, 144],
|
|
311
|
+
numbers: [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105],
|
|
312
|
+
numsigns: [109, 110, 189, 190]
|
|
313
|
+
},
|
|
314
|
+
comparators: [">=", "<=", ">", "<", "="],
|
|
315
|
+
operators: ["+", "-", "/", "*"],
|
|
316
|
+
tags: ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'menu', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'slot', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr'],
|
|
317
|
+
colors: {
|
|
318
|
+
darkgrey: '#5a6a62',
|
|
319
|
+
black: '#000000',
|
|
320
|
+
anthracite: '#454545',
|
|
321
|
+
grey: '#d3d3d3',
|
|
322
|
+
white: '#ffffff',
|
|
323
|
+
beige: '#fdfdfd',
|
|
324
|
+
lightgrey: '#dcdcdc',
|
|
325
|
+
pastelblue: '#ddebf6',
|
|
326
|
+
cyan: '#00c8f8',
|
|
327
|
+
blue: '#6e9ecf',
|
|
328
|
+
indigo: '#3f51b5',
|
|
329
|
+
navy: '#354458',
|
|
330
|
+
webblue: '#2196f3',
|
|
331
|
+
teal: '#009688',
|
|
332
|
+
turquoise: '#1fda9a',
|
|
333
|
+
pastelgreen: '#e2efda',
|
|
334
|
+
palegreen: '#ccffcc',
|
|
335
|
+
green: '#00a03e',
|
|
336
|
+
olive: '#92b06a',
|
|
337
|
+
pastelorange: '#fff2cc',
|
|
338
|
+
yellow: '#fdf200',
|
|
339
|
+
orange: '#ff9900',
|
|
340
|
+
pink: '#eb65a0',
|
|
341
|
+
purple: '#a333c8',
|
|
342
|
+
red: '#db3340',
|
|
343
|
+
brown: '#8c6954'
|
|
344
|
+
},
|
|
345
|
+
reserved: ['abstract', 'boolean', 'break', 'byte', 'case', 'catch', 'char', 'class', 'continue', 'const', 'debugger', 'default', 'delete', 'do', 'double', 'else', 'enum', 'export', 'extends', 'false', 'final', 'finally', 'float', 'for', 'function', 'goto', 'if', 'implements', 'import', 'in', 'instanceof', 'int', 'interface', 'long', 'native', 'new', 'null', 'package', 'private', 'protected', 'public', 'return', 'short', 'static', 'super', 'switch', 'synchronized', 'this', 'throw', 'throws', 'transient', 'true', 'try', 'typeof', 'var', 'void', 'while', 'with'],
|
|
346
|
+
mockText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
|
|
347
|
+
regexp: {
|
|
348
|
+
url: new RegExp('^(https?:\\/\\/)?' + // protocol
|
|
349
|
+
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|' + // domain name
|
|
350
|
+
'((\\d{1,3}\\.){3}\\d{1,3}))' + // OR ip (v4) address
|
|
351
|
+
'(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' + // port and path
|
|
352
|
+
'(\\?[;&a-z\\d%_.~+=-]*)?' + // query string
|
|
353
|
+
'(\\#[-a-z\\d_]*)?$', 'i'),
|
|
354
|
+
ip: new RegExp("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"),
|
|
355
|
+
hostname: new RegExp("^[a-z\\d]([a-z\\d\\-]{0,61}[a-z\\d])?(\\.[a-z\\d]([a-z\\d\\-]{0,61}[a-z\\d])?)*$", 'i'),
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
env: {
|
|
359
|
+
siteTitle: window.document.title,
|
|
360
|
+
/* This variable should be set to true in debugging mode only */
|
|
361
|
+
logging: false,
|
|
362
|
+
/* Address of the CDN (where this file should be hosted) */
|
|
363
|
+
cdn: '',
|
|
364
|
+
/* Default language */
|
|
365
|
+
lang: 'en',
|
|
366
|
+
host: window.location.protocol + '//' + window.location.hostname,
|
|
367
|
+
url: window.location.href,
|
|
368
|
+
old_path: null,
|
|
369
|
+
/* True when non asynchronous Ajax loads */
|
|
370
|
+
loading: false,
|
|
371
|
+
/* Window width */
|
|
372
|
+
width: 0,
|
|
373
|
+
/* Window height */
|
|
374
|
+
height: 0,
|
|
375
|
+
/* Element currently focused (Element object) */
|
|
376
|
+
focused: false,
|
|
377
|
+
/* Last time user has been active */
|
|
378
|
+
last_focus: (new Date()).getTime(),
|
|
379
|
+
/* Sleep mode (tab or window unfocused */
|
|
380
|
+
sleep: false,
|
|
381
|
+
/**
|
|
382
|
+
* @var bbn.env.loaders Object where the props are MD5 of data and url while the values are the requests,
|
|
383
|
+
* for preventing the same call to be made at the same time
|
|
384
|
+
**/
|
|
385
|
+
loaders: [],
|
|
386
|
+
loadersHistory: [],
|
|
387
|
+
maxLoadersHistory: 20,
|
|
388
|
+
/* bbn.env.params is an array of each element of the path */
|
|
389
|
+
resizeTimer: false,
|
|
390
|
+
hashChanged: 0,
|
|
391
|
+
params: [],
|
|
392
|
+
isInit: false,
|
|
393
|
+
isFocused: false,
|
|
394
|
+
timeoff: Math.round((new Date()).getTime() / 1000),
|
|
395
|
+
loggingLevel: 5,
|
|
396
|
+
ignoreUnload: false,
|
|
397
|
+
historyDisabled: false,
|
|
398
|
+
nav: 'ajax'
|
|
399
|
+
},
|
|
400
|
+
fn: {
|
|
401
|
+
_addLoader: _addLoader,
|
|
402
|
+
_compareValues: _compareValues,
|
|
403
|
+
_deleteLoader: _deleteLoader,
|
|
404
|
+
abort: abort,
|
|
405
|
+
abortURL: abortURL,
|
|
406
|
+
addColors: addColors,
|
|
407
|
+
addInputs: addInputs,
|
|
408
|
+
addStyle: addStyle,
|
|
409
|
+
adjustHeight: adjustHeight,
|
|
410
|
+
adjustSize: adjustSize,
|
|
411
|
+
adjustWidth: adjustWidth,
|
|
412
|
+
ajax: ajax,
|
|
413
|
+
analyzeFunction: analyzeFunction,
|
|
414
|
+
animateCss: animateCss,
|
|
415
|
+
arrayBuffer2String: arrayBuffer2String,
|
|
416
|
+
arrayFromProp: arrayFromProp,
|
|
417
|
+
autoExtend: autoExtend,
|
|
418
|
+
baseName: baseName,
|
|
419
|
+
br2nl: br2nl,
|
|
420
|
+
calendar: calendar,
|
|
421
|
+
callback: callback,
|
|
422
|
+
camelize: camelize,
|
|
423
|
+
camelToCss: camelToCss,
|
|
424
|
+
canvasToImage: canvasToImage,
|
|
425
|
+
center: center,
|
|
426
|
+
checkProps: checkProps,
|
|
427
|
+
checkPropsDetails: checkPropsDetails,
|
|
428
|
+
checkPropsOrDie: checkPropsOrDie,
|
|
429
|
+
checkType: checkType,
|
|
430
|
+
circularReplacer: circularReplacer,
|
|
431
|
+
clone: clone,
|
|
432
|
+
colorToHex: colorToHex,
|
|
433
|
+
compare: compare,
|
|
434
|
+
compareConditions: compareConditions,
|
|
435
|
+
copy: copy,
|
|
436
|
+
correctCase: correctCase,
|
|
437
|
+
count: count,
|
|
438
|
+
crc32: crc32,
|
|
439
|
+
createObject: createObject,
|
|
440
|
+
cssExists: cssExists,
|
|
441
|
+
date: date,
|
|
442
|
+
dateSQL: dateSQL,
|
|
443
|
+
daysInMonth: daysInMonth,
|
|
444
|
+
deepPath: deepPath,
|
|
445
|
+
defaultAjaxAbortFunction: defaultAjaxAbortFunction,
|
|
446
|
+
defaultAjaxErrorFunction: defaultAjaxErrorFunction,
|
|
447
|
+
defaultAlertFunction: defaultAlertFunction,
|
|
448
|
+
defaultConfirmFunction: defaultConfirmFunction,
|
|
449
|
+
defaultEndLoadingFunction: defaultEndLoadingFunction,
|
|
450
|
+
defaultErrorFunction: defaultErrorFunction,
|
|
451
|
+
defaultHistoryFunction: defaultHistoryFunction,
|
|
452
|
+
defaultLinkFunction: defaultLinkFunction,
|
|
453
|
+
defaultPostLinkFunction: defaultPostLinkFunction,
|
|
454
|
+
defaultPreLinkFunction: defaultPreLinkFunction,
|
|
455
|
+
defaultResizeFunction: defaultResizeFunction,
|
|
456
|
+
defaultStartLoadingFunction: defaultStartLoadingFunction,
|
|
457
|
+
deleteProp: deleteProp,
|
|
458
|
+
diffObj: diffObj,
|
|
459
|
+
dirName: dirName,
|
|
460
|
+
download: download,
|
|
461
|
+
downloadContent: downloadContent,
|
|
462
|
+
each: each,
|
|
463
|
+
eraseCookie: eraseCookie,
|
|
464
|
+
error: error,
|
|
465
|
+
escapeDquotes: escapeDquotes,
|
|
466
|
+
escapeRegExp: escapeRegExp,
|
|
467
|
+
escapeSquotes: escapeSquotes,
|
|
468
|
+
escapeTicks: escapeTicks,
|
|
469
|
+
escapeUrl: escapeUrl,
|
|
470
|
+
extend: extend,
|
|
471
|
+
extendOut: extendOut,
|
|
472
|
+
fdate: fdate,
|
|
473
|
+
fdatetime: fdatetime,
|
|
474
|
+
fieldValue: fieldValue,
|
|
475
|
+
fileExt: fileExt,
|
|
476
|
+
filter: filter,
|
|
477
|
+
filterToConditions: filterToConditions,
|
|
478
|
+
findAll: findAll,
|
|
479
|
+
fori: fori,
|
|
480
|
+
forir: forir,
|
|
481
|
+
format: format,
|
|
482
|
+
formatBytes: formatBytes,
|
|
483
|
+
formatDate: formatDate,
|
|
484
|
+
formatSize: formatSize,
|
|
485
|
+
formdata: formdata,
|
|
486
|
+
fromXml: fromXml,
|
|
487
|
+
ftime: ftime,
|
|
488
|
+
getAllTags: getAllTags,
|
|
489
|
+
getAncestors: getAncestors,
|
|
490
|
+
getAttributes: getAttributes,
|
|
491
|
+
getBrowserName: getBrowserName,
|
|
492
|
+
getBrowserVersion: getBrowserVersion,
|
|
493
|
+
getCookie: getCookie,
|
|
494
|
+
getCssVar: getCssVar,
|
|
495
|
+
getDay: getDay,
|
|
496
|
+
getDeviceType: getDeviceType,
|
|
497
|
+
getEventData: getEventData,
|
|
498
|
+
getField: getField,
|
|
499
|
+
getFieldValues: getFieldValues,
|
|
500
|
+
getHtml: getHtml,
|
|
501
|
+
getHTMLOfSelection: getHTMLOfSelection,
|
|
502
|
+
getLoader: getLoader,
|
|
503
|
+
getPath: getPath,
|
|
504
|
+
getProp: getProp,
|
|
505
|
+
getProperty: getProperty,
|
|
506
|
+
getRequestId: getRequestId,
|
|
507
|
+
getRow: getRow,
|
|
508
|
+
getScrollBarSize: getScrollBarSize,
|
|
509
|
+
getText: getText,
|
|
510
|
+
getTimeoff: getTimeoff,
|
|
511
|
+
happy: happy,
|
|
512
|
+
hash: hash,
|
|
513
|
+
hex2rgb: hex2rgb,
|
|
514
|
+
history: history,
|
|
515
|
+
html2text: html2text,
|
|
516
|
+
imageToCanvas: imageToCanvas,
|
|
517
|
+
imgToBase64: imgToBase64,
|
|
518
|
+
info: info,
|
|
519
|
+
init: init,
|
|
520
|
+
isActiveInterface: isActiveInterface,
|
|
521
|
+
isArray: isArray,
|
|
522
|
+
isBlob: isBlob,
|
|
523
|
+
isBoolean: isBoolean,
|
|
524
|
+
isCanvas: isCanvas,
|
|
525
|
+
isColor: isColor,
|
|
526
|
+
isComment: isComment,
|
|
527
|
+
isCp: isCp,
|
|
528
|
+
isDate: isDate,
|
|
529
|
+
isDesktopDevice: isDesktopDevice,
|
|
530
|
+
isDimension: isDimension,
|
|
531
|
+
isDom: isDom,
|
|
532
|
+
isEmail: isEmail,
|
|
533
|
+
isEmpty: isEmpty,
|
|
534
|
+
isEvent: isEvent,
|
|
535
|
+
isFocused: isFocused,
|
|
536
|
+
isFunction: isFunction,
|
|
537
|
+
isHostname: isHostname,
|
|
538
|
+
isInside: isInside,
|
|
539
|
+
isInt: isInt,
|
|
540
|
+
isIP: isIP,
|
|
541
|
+
isIterable: isIterable,
|
|
542
|
+
isMobile: isMobile,
|
|
543
|
+
isMobileDevice: isMobileDevice,
|
|
544
|
+
isNull: isNull,
|
|
545
|
+
isNumber: isNumber,
|
|
546
|
+
isObject: isObject,
|
|
547
|
+
isPercent: isPercent,
|
|
548
|
+
isPrimitive: isPrimitive,
|
|
549
|
+
isPromise: isPromise,
|
|
550
|
+
isPropSize: isPropSize,
|
|
551
|
+
isSame: isSame,
|
|
552
|
+
isSQLDate: isSQLDate,
|
|
553
|
+
isString: isString,
|
|
554
|
+
isSymbol: isSymbol,
|
|
555
|
+
isTabletDevice: isTabletDevice,
|
|
556
|
+
isURL: isURL,
|
|
557
|
+
isValidDimension: isValidDimension,
|
|
558
|
+
isValidName: isValidName,
|
|
559
|
+
isValue: isValue,
|
|
560
|
+
isVue: isVue,
|
|
561
|
+
iterate: iterate,
|
|
562
|
+
lightenDarkenHex: lightenDarkenHex,
|
|
563
|
+
link: link,
|
|
564
|
+
log: log,
|
|
565
|
+
makeReactive: makeReactive,
|
|
566
|
+
map: map,
|
|
567
|
+
md5: md5,
|
|
568
|
+
money: money,
|
|
569
|
+
move: move,
|
|
570
|
+
multiorder: multiorder,
|
|
571
|
+
nl2br: nl2br,
|
|
572
|
+
numProperties: numProperties,
|
|
573
|
+
objectToFormData: objectToFormData,
|
|
574
|
+
order: order,
|
|
575
|
+
outerHeight: outerHeight,
|
|
576
|
+
outerWidth: outerWidth,
|
|
577
|
+
percent: percent,
|
|
578
|
+
pickValue: pickValue,
|
|
579
|
+
post: post,
|
|
580
|
+
postOut: postOut,
|
|
581
|
+
printf: printf,
|
|
582
|
+
quotes2html: quotes2html,
|
|
583
|
+
randomInt: randomInt,
|
|
584
|
+
randomString: randomString,
|
|
585
|
+
removeAccents: removeAccents,
|
|
586
|
+
removeEmpty: removeEmpty,
|
|
587
|
+
removeExtraSpaces: removeExtraSpaces,
|
|
588
|
+
removeHtmlComments: removeHtmlComments,
|
|
589
|
+
removePrivateProp: removePrivateProp,
|
|
590
|
+
removeTrailingChars: removeTrailingChars,
|
|
591
|
+
repeat: repeat,
|
|
592
|
+
replaceAll: replaceAll,
|
|
593
|
+
replaceSelection: replaceSelection,
|
|
594
|
+
resize: resize,
|
|
595
|
+
rgb2hex: rgb2hex,
|
|
596
|
+
riterate: riterate,
|
|
597
|
+
roundDecimal: roundDecimal,
|
|
598
|
+
sanitize: sanitize,
|
|
599
|
+
search: search,
|
|
600
|
+
selectElementText: selectElementText,
|
|
601
|
+
selector: selector,
|
|
602
|
+
setCookie: setCookie,
|
|
603
|
+
setCssVar: setCssVar,
|
|
604
|
+
setNavigationVars: setNavigationVars,
|
|
605
|
+
setProp: setProp,
|
|
606
|
+
setProperty: setProperty,
|
|
607
|
+
shorten: shorten,
|
|
608
|
+
shortenObj: shortenObj,
|
|
609
|
+
shuffle: shuffle,
|
|
610
|
+
simpleHash: simpleHash,
|
|
611
|
+
simpleHash1: simpleHash1,
|
|
612
|
+
simpleHash2: simpleHash2,
|
|
613
|
+
startChrono: startChrono,
|
|
614
|
+
stat: stat,
|
|
615
|
+
stopChrono: stopChrono,
|
|
616
|
+
string2ArrayBuffer: string2ArrayBuffer,
|
|
617
|
+
submit: submit,
|
|
618
|
+
substr: substr,
|
|
619
|
+
sum: sum,
|
|
620
|
+
timestamp: timestamp,
|
|
621
|
+
toCSV: toCSV,
|
|
622
|
+
toggleFullScreen: toggleFullScreen,
|
|
623
|
+
translate: translate,
|
|
624
|
+
treatAjaxArguments: treatAjaxArguments,
|
|
625
|
+
trim: trim,
|
|
626
|
+
uniqString: uniqString,
|
|
627
|
+
unique: unique,
|
|
628
|
+
upload: upload,
|
|
629
|
+
warning: warning,
|
|
351
630
|
}
|
|
352
631
|
};
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
/* This variable should be set to true in debugging mode only */
|
|
356
|
-
logging: false,
|
|
357
|
-
/* Address of the CDN (where this file should be hosted) */
|
|
358
|
-
cdn: '',
|
|
359
|
-
/* Default language */
|
|
360
|
-
lang: 'en',
|
|
361
|
-
host: window.location.protocol + '//' + window.location.hostname,
|
|
362
|
-
url: window.location.href,
|
|
363
|
-
old_path: null,
|
|
364
|
-
/* True when non asynchronous Ajax loads */
|
|
365
|
-
loading: false,
|
|
366
|
-
/* Window width */
|
|
367
|
-
width: 0,
|
|
368
|
-
/* Window height */
|
|
369
|
-
height: 0,
|
|
370
|
-
/* Element currently focused (Element object) */
|
|
371
|
-
focused: false,
|
|
372
|
-
/* Last time user has been active */
|
|
373
|
-
last_focus: (new Date()).getTime(),
|
|
374
|
-
/* Sleep mode (tab or window unfocused */
|
|
375
|
-
sleep: false,
|
|
376
|
-
/**
|
|
377
|
-
* @var bbn.env.loaders Object where the props are MD5 of data and url while the values are the requests,
|
|
378
|
-
* for preventing the same call to be made at the same time
|
|
379
|
-
**/
|
|
380
|
-
loaders: [],
|
|
381
|
-
loadersHistory: [],
|
|
382
|
-
maxLoadersHistory: 20,
|
|
383
|
-
/* bbn.env.params is an array of each element of the path */
|
|
384
|
-
resizeTimer: false,
|
|
385
|
-
hashChanged: 0,
|
|
386
|
-
params: [],
|
|
387
|
-
isInit: false,
|
|
388
|
-
isFocused: false,
|
|
389
|
-
timeoff: Math.round((new Date()).getTime() / 1000),
|
|
390
|
-
loggingLevel: 5,
|
|
391
|
-
ignoreUnload: false,
|
|
392
|
-
historyDisabled: false,
|
|
393
|
-
nav: 'ajax'
|
|
394
|
-
};
|
|
395
|
-
const fn = {
|
|
396
|
-
_addLoader,
|
|
397
|
-
_compareValues,
|
|
398
|
-
_deleteLoader,
|
|
399
|
-
abort,
|
|
400
|
-
abortURL,
|
|
401
|
-
addColors,
|
|
402
|
-
addInputs,
|
|
403
|
-
addStyle,
|
|
404
|
-
adjustHeight,
|
|
405
|
-
adjustSize,
|
|
406
|
-
adjustWidth,
|
|
407
|
-
ajax,
|
|
408
|
-
analyzeFunction,
|
|
409
|
-
animateCss,
|
|
410
|
-
arrayBuffer2String,
|
|
411
|
-
arrayFromProp,
|
|
412
|
-
autoExtend,
|
|
413
|
-
baseName,
|
|
414
|
-
br2nl,
|
|
415
|
-
calendar,
|
|
416
|
-
callback,
|
|
417
|
-
camelize,
|
|
418
|
-
camelToCss,
|
|
419
|
-
canvasToImage,
|
|
420
|
-
center,
|
|
421
|
-
checkProps,
|
|
422
|
-
checkPropsDetails,
|
|
423
|
-
checkPropsOrDie,
|
|
424
|
-
checkType,
|
|
425
|
-
circularReplacer,
|
|
426
|
-
clone,
|
|
427
|
-
colorToHex,
|
|
428
|
-
compare,
|
|
429
|
-
compareConditions,
|
|
430
|
-
copy,
|
|
431
|
-
correctCase,
|
|
432
|
-
count,
|
|
433
|
-
crc32,
|
|
434
|
-
createObject,
|
|
435
|
-
cssExists,
|
|
436
|
-
date,
|
|
437
|
-
dateSQL,
|
|
438
|
-
daysInMonth,
|
|
439
|
-
deepPath,
|
|
440
|
-
defaultAjaxAbortFunction,
|
|
441
|
-
defaultAjaxErrorFunction,
|
|
442
|
-
defaultAlertFunction,
|
|
443
|
-
defaultConfirmFunction,
|
|
444
|
-
defaultEndLoadingFunction,
|
|
445
|
-
defaultErrorFunction,
|
|
446
|
-
defaultHistoryFunction,
|
|
447
|
-
defaultLinkFunction,
|
|
448
|
-
defaultPostLinkFunction,
|
|
449
|
-
defaultPreLinkFunction,
|
|
450
|
-
defaultResizeFunction,
|
|
451
|
-
defaultStartLoadingFunction,
|
|
452
|
-
deleteProp,
|
|
453
|
-
diffObj,
|
|
454
|
-
dirName,
|
|
455
|
-
download,
|
|
456
|
-
downloadContent,
|
|
457
|
-
each,
|
|
458
|
-
eraseCookie,
|
|
459
|
-
error,
|
|
460
|
-
escapeDquotes,
|
|
461
|
-
escapeRegExp,
|
|
462
|
-
escapeSquotes,
|
|
463
|
-
escapeTicks,
|
|
464
|
-
escapeUrl,
|
|
465
|
-
extend,
|
|
466
|
-
extendOut,
|
|
467
|
-
fdate,
|
|
468
|
-
fdatetime,
|
|
469
|
-
fieldValue,
|
|
470
|
-
fileExt,
|
|
471
|
-
filter,
|
|
472
|
-
filterToConditions,
|
|
473
|
-
findAll,
|
|
474
|
-
fori,
|
|
475
|
-
forir,
|
|
476
|
-
format,
|
|
477
|
-
formatBytes,
|
|
478
|
-
formatDate,
|
|
479
|
-
formatSize,
|
|
480
|
-
formdata,
|
|
481
|
-
fromXml,
|
|
482
|
-
ftime,
|
|
483
|
-
getAllTags,
|
|
484
|
-
getAncestors,
|
|
485
|
-
getAttributes,
|
|
486
|
-
getBrowserName,
|
|
487
|
-
getBrowserVersion,
|
|
488
|
-
getCookie,
|
|
489
|
-
getCssVar,
|
|
490
|
-
getDay,
|
|
491
|
-
getDeviceType,
|
|
492
|
-
getEventData,
|
|
493
|
-
getField,
|
|
494
|
-
getFieldValues,
|
|
495
|
-
getHtml,
|
|
496
|
-
getHTMLOfSelection,
|
|
497
|
-
getLoader,
|
|
498
|
-
getPath,
|
|
499
|
-
getProp,
|
|
500
|
-
getProperty,
|
|
501
|
-
getRequestId,
|
|
502
|
-
getRow,
|
|
503
|
-
getScrollBarSize,
|
|
504
|
-
getText,
|
|
505
|
-
getTimeoff,
|
|
506
|
-
happy,
|
|
507
|
-
hash,
|
|
508
|
-
hex2rgb,
|
|
509
|
-
history,
|
|
510
|
-
html2text,
|
|
511
|
-
imageToCanvas,
|
|
512
|
-
imgToBase64,
|
|
513
|
-
info,
|
|
514
|
-
init,
|
|
515
|
-
isActiveInterface,
|
|
516
|
-
isArray,
|
|
517
|
-
isBlob,
|
|
518
|
-
isBoolean,
|
|
519
|
-
isCanvas,
|
|
520
|
-
isColor,
|
|
521
|
-
isComment,
|
|
522
|
-
isCp,
|
|
523
|
-
isDate,
|
|
524
|
-
isDesktopDevice,
|
|
525
|
-
isDimension,
|
|
526
|
-
isDom,
|
|
527
|
-
isEmail,
|
|
528
|
-
isEmpty,
|
|
529
|
-
isEvent,
|
|
530
|
-
isFocused,
|
|
531
|
-
isFunction,
|
|
532
|
-
isHostname,
|
|
533
|
-
isInside,
|
|
534
|
-
isInt,
|
|
535
|
-
isIP,
|
|
536
|
-
isIterable,
|
|
537
|
-
isMobile,
|
|
538
|
-
isMobileDevice,
|
|
539
|
-
isNull,
|
|
540
|
-
isNumber,
|
|
541
|
-
isObject,
|
|
542
|
-
isPercent,
|
|
543
|
-
isPrimitive,
|
|
544
|
-
isPromise,
|
|
545
|
-
isPropSize,
|
|
546
|
-
isSame,
|
|
547
|
-
isSQLDate,
|
|
548
|
-
isString,
|
|
549
|
-
isSymbol,
|
|
550
|
-
isTabletDevice,
|
|
551
|
-
isURL,
|
|
552
|
-
isValidDimension,
|
|
553
|
-
isValidName,
|
|
554
|
-
isValue,
|
|
555
|
-
isVue,
|
|
556
|
-
iterate,
|
|
557
|
-
lightenDarkenHex,
|
|
558
|
-
link,
|
|
559
|
-
log,
|
|
560
|
-
makeReactive,
|
|
561
|
-
map,
|
|
562
|
-
md5,
|
|
563
|
-
money,
|
|
564
|
-
move,
|
|
565
|
-
multiorder,
|
|
566
|
-
nl2br,
|
|
567
|
-
numProperties,
|
|
568
|
-
objectToFormData,
|
|
569
|
-
order,
|
|
570
|
-
outerHeight,
|
|
571
|
-
outerWidth,
|
|
572
|
-
percent,
|
|
573
|
-
pickValue,
|
|
574
|
-
post,
|
|
575
|
-
postOut,
|
|
576
|
-
printf,
|
|
577
|
-
quotes2html,
|
|
578
|
-
randomInt,
|
|
579
|
-
randomString,
|
|
580
|
-
removeAccents,
|
|
581
|
-
removeEmpty,
|
|
582
|
-
removeExtraSpaces,
|
|
583
|
-
removeHtmlComments,
|
|
584
|
-
removePrivateProp,
|
|
585
|
-
removeTrailingChars,
|
|
586
|
-
repeat,
|
|
587
|
-
replaceAll,
|
|
588
|
-
replaceSelection,
|
|
589
|
-
resize,
|
|
590
|
-
rgb2hex,
|
|
591
|
-
riterate,
|
|
592
|
-
roundDecimal,
|
|
593
|
-
sanitize,
|
|
594
|
-
search,
|
|
595
|
-
selectElementText,
|
|
596
|
-
selector,
|
|
597
|
-
setCookie,
|
|
598
|
-
setCssVar,
|
|
599
|
-
setNavigationVars,
|
|
600
|
-
setProp,
|
|
601
|
-
setProperty,
|
|
602
|
-
shorten,
|
|
603
|
-
shortenObj,
|
|
604
|
-
shuffle,
|
|
605
|
-
simpleHash,
|
|
606
|
-
simpleHash1,
|
|
607
|
-
simpleHash2,
|
|
608
|
-
startChrono,
|
|
609
|
-
stat,
|
|
610
|
-
stopChrono,
|
|
611
|
-
string2ArrayBuffer,
|
|
612
|
-
submit,
|
|
613
|
-
substr,
|
|
614
|
-
sum,
|
|
615
|
-
timestamp,
|
|
616
|
-
toCSV,
|
|
617
|
-
toggleFullScreen,
|
|
618
|
-
translate,
|
|
619
|
-
treatAjaxArguments,
|
|
620
|
-
trim,
|
|
621
|
-
uniqString,
|
|
622
|
-
unique,
|
|
623
|
-
upload,
|
|
624
|
-
warning,
|
|
625
|
-
};
|
|
626
|
-
window.bbn = { version, opt, _, $, _popups, lng, app, vars, env, fn };
|
|
627
|
-
export { version, opt, _, $, _popups, lng, app, vars, env, fn };
|
|
632
|
+
window.bbn = bbn;
|
|
633
|
+
export { bbn };
|