@bbn/bbn 1.0.36 → 1.0.37

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.js CHANGED
@@ -309,7 +309,7 @@
309
309
  };
310
310
  exports.removePrivateProp = removePrivateProp;
311
311
  });
312
- define("fn/iterate", ["require", "exports", "fn/removePrivateProp", "fn/each"], function (require, exports, removePrivateProp_1, each_1) {
312
+ define("fn/iterate", ["require", "exports", "fn/removePrivateProp"], function (require, exports, removePrivateProp_1) {
313
313
  "use strict";
314
314
  Object.defineProperty(exports, "__esModule", { value: true });
315
315
  exports.iterate = void 0;
@@ -319,11 +319,11 @@
319
319
  if (reverse) {
320
320
  iter.reverse();
321
321
  }
322
- (0, each_1.each)(iter, (prop) => {
322
+ for (let prop of iter) {
323
323
  if (fn(obj[prop], prop) === false) {
324
- return false;
324
+ break;
325
325
  }
326
- });
326
+ }
327
327
  }
328
328
  return obj;
329
329
  };
@@ -568,7 +568,7 @@
568
568
  };
569
569
  exports.hash = hash;
570
570
  });
571
- define("fn/isSame", ["require", "exports", "fn/hash", "fn/each"], function (require, exports, hash_1, each_2) {
571
+ define("fn/isSame", ["require", "exports", "fn/hash", "fn/each"], function (require, exports, hash_1, each_1) {
572
572
  "use strict";
573
573
  Object.defineProperty(exports, "__esModule", { value: true });
574
574
  exports.isSame = void 0;
@@ -592,7 +592,7 @@
592
592
  }
593
593
  done.push(obj1);
594
594
  }
595
- (0, each_2.each)(tmp1, (a) => {
595
+ (0, each_1.each)(tmp1, (a) => {
596
596
  if (!isSame(obj1[a], obj2[a])) {
597
597
  ok = false;
598
598
  return false;
@@ -703,7 +703,7 @@
703
703
  };
704
704
  exports.compare = compare;
705
705
  });
706
- define("fn/compareConditions", ["require", "exports", "fn/isArray", "fn/each", "fn/getProperty"], function (require, exports, isArray_2, each_3, getProperty_2) {
706
+ define("fn/compareConditions", ["require", "exports", "fn/isArray", "fn/each", "fn/getProperty"], function (require, exports, isArray_2, each_2, getProperty_2) {
707
707
  "use strict";
708
708
  Object.defineProperty(exports, "__esModule", { value: true });
709
709
  exports.compareConditions = void 0;
@@ -712,7 +712,7 @@
712
712
  throw new Error('Error in compareConditions: the filter should an abject with conditions and logic properties and conditions should be an array of objects');
713
713
  }
714
714
  let ok = filter.logic === 'AND' ? true : false;
715
- (0, each_3.each)(filter.conditions, (a) => {
715
+ (0, each_2.each)(filter.conditions, (a) => {
716
716
  let compare;
717
717
  if (a.conditions && (0, isArray_2.isArray)(a.conditions)) {
718
718
  compare = compareConditions(data, a);
@@ -723,7 +723,7 @@
723
723
  let bits = a.field.split('.');
724
724
  let prop = bits.pop();
725
725
  if (bits.length) {
726
- (0, each_3.each)(bits, (b) => (data = data[b]));
726
+ (0, each_2.each)(bits, (b) => (data = data[b]));
727
727
  }
728
728
  // Case where both are undefined: value and prop which doesn't exist; they are not the same!
729
729
  if ((0, getProperty_2.getProperty)(data, prop) === undefined && a.value !== undefined) {
@@ -928,7 +928,7 @@
928
928
  };
929
929
  exports.abort = abort;
930
930
  });
931
- define("fn/filter", ["require", "exports", "fn/isArray", "fn/isFunction", "fn/each", "fn/filterToConditions", "fn/compareConditions"], function (require, exports, isArray_4, isFunction_2, each_4, filterToConditions_2, compareConditions_2) {
931
+ define("fn/filter", ["require", "exports", "fn/isArray", "fn/isFunction", "fn/each", "fn/filterToConditions", "fn/compareConditions"], function (require, exports, isArray_4, isFunction_2, each_3, filterToConditions_2, compareConditions_2) {
932
932
  "use strict";
933
933
  Object.defineProperty(exports, "__esModule", { value: true });
934
934
  exports.filter = void 0;
@@ -954,7 +954,7 @@
954
954
  throw new Error('Search function error: The prop argument should be a string or an object');
955
955
  }
956
956
  if (isFn) {
957
- (0, each_4.each)(arr, (a, i) => {
957
+ (0, each_3.each)(arr, (a, i) => {
958
958
  if (filter(a, prop)) {
959
959
  res.push(a);
960
960
  }
@@ -963,7 +963,7 @@
963
963
  else {
964
964
  cfg = (0, filterToConditions_2.filterToConditions)(cfg, operator);
965
965
  if (cfg.conditions && cfg.logic) {
966
- (0, each_4.each)(arr, (a) => {
966
+ (0, each_3.each)(arr, (a) => {
967
967
  if ((0, compareConditions_2.compareConditions)(a, filter)) {
968
968
  res.push(a);
969
969
  }
@@ -975,12 +975,12 @@
975
975
  };
976
976
  exports.filter = filter;
977
977
  });
978
- define("fn/abortURL", ["require", "exports", "fn/each", "fn/filter"], function (require, exports, each_5, filter_1) {
978
+ define("fn/abortURL", ["require", "exports", "fn/each", "fn/filter"], function (require, exports, each_4, filter_1) {
979
979
  "use strict";
980
980
  Object.defineProperty(exports, "__esModule", { value: true });
981
981
  exports.abortURL = void 0;
982
982
  const abortURL = function (url) {
983
- (0, each_5.each)((0, filter_1.filter)(bbn.env.loaders, { url: url }), (a) => {
983
+ (0, each_4.each)((0, filter_1.filter)(bbn.env.loaders, { url: url }), (a) => {
984
984
  if (a && a.source) {
985
985
  a.source.cancel('Operation canceled by the user.');
986
986
  }
@@ -1092,16 +1092,16 @@
1092
1092
  };
1093
1093
  exports.addStyle = addStyle;
1094
1094
  });
1095
- define("fn/adjustSize", ["require", "exports", "fn/each"], function (require, exports, each_6) {
1095
+ define("fn/adjustSize", ["require", "exports", "fn/each"], function (require, exports, each_5) {
1096
1096
  "use strict";
1097
1097
  Object.defineProperty(exports, "__esModule", { value: true });
1098
1098
  exports.adjustSize = void 0;
1099
1099
  const adjustSize = function (type, eles) {
1100
1100
  let max = 0, idx;
1101
- (0, each_6.each)(eles, (el) => {
1101
+ (0, each_5.each)(eles, (el) => {
1102
1102
  el.style[type] = 'auto';
1103
1103
  });
1104
- (0, each_6.each)(eles, (el, i) => {
1104
+ (0, each_5.each)(eles, (el, i) => {
1105
1105
  let rect = el.getBoundingClientRect(), s = rect[type] % 1 ? rect[type] - (rect[type] % 1) + 1 : rect[type];
1106
1106
  //s = rect[type];
1107
1107
  if (s > max) {
@@ -1109,7 +1109,7 @@
1109
1109
  idx = i;
1110
1110
  }
1111
1111
  });
1112
- (0, each_6.each)(eles, (el, i) => {
1112
+ (0, each_5.each)(eles, (el, i) => {
1113
1113
  if (max) {
1114
1114
  el.style[type] = max + 'px';
1115
1115
  }
@@ -1304,7 +1304,7 @@
1304
1304
  };
1305
1305
  exports.getRequestId = getRequestId;
1306
1306
  });
1307
- define("fn/extend", ["require", "exports", "fn/iterate", "fn/isArray", "fn/each", "fn/isObject"], function (require, exports, iterate_7, isArray_5, each_7, isObject_7) {
1307
+ define("fn/extend", ["require", "exports", "fn/iterate", "fn/isArray", "fn/each", "fn/isObject"], function (require, exports, iterate_7, isArray_5, each_6, isObject_7) {
1308
1308
  "use strict";
1309
1309
  Object.defineProperty(exports, "__esModule", { value: true });
1310
1310
  exports.extend = void 0;
@@ -1334,7 +1334,7 @@
1334
1334
  if (deep) {
1335
1335
  if ((0, isArray_5.isArray)(a)) {
1336
1336
  out[key] = (0, isArray_5.isArray)(out[key]) ? out[key] : [];
1337
- (0, each_7.each)(a, (b, i) => {
1337
+ (0, each_6.each)(a, (b, i) => {
1338
1338
  if (b && typeof b === 'object') {
1339
1339
  let tmp = out[key][i];
1340
1340
  if ((0, isArray_5.isArray)(b)) {
@@ -1697,13 +1697,13 @@
1697
1697
  };
1698
1698
  exports.arrayBuffer2String = arrayBuffer2String;
1699
1699
  });
1700
- define("fn/arrayFromProp", ["require", "exports", "fn/each", "fn/getProperty"], function (require, exports, each_8, getProperty_3) {
1700
+ define("fn/arrayFromProp", ["require", "exports", "fn/each", "fn/getProperty"], function (require, exports, each_7, getProperty_3) {
1701
1701
  "use strict";
1702
1702
  Object.defineProperty(exports, "__esModule", { value: true });
1703
1703
  exports.arrayFromProp = void 0;
1704
1704
  const arrayFromProp = function (arr, prop) {
1705
1705
  let r = [];
1706
- (0, each_8.each)(arr, (a, i) => {
1706
+ (0, each_7.each)(arr, (a, i) => {
1707
1707
  r.push((0, getProperty_3.getProperty)(a, prop));
1708
1708
  });
1709
1709
  return r;
@@ -2054,7 +2054,7 @@
2054
2054
  };
2055
2055
  exports.center = center;
2056
2056
  });
2057
- define("fn/checkPropsDetails", ["require", "exports", "fn/isArray", "fn/isObject", "fn/each", "fn/substr"], function (require, exports, isArray_6, isObject_9, each_9, substr_5) {
2057
+ define("fn/checkPropsDetails", ["require", "exports", "fn/isArray", "fn/isObject", "fn/each", "fn/substr"], function (require, exports, isArray_6, isObject_9, each_8, substr_5) {
2058
2058
  "use strict";
2059
2059
  Object.defineProperty(exports, "__esModule", { value: true });
2060
2060
  exports.checkPropsDetails = void 0;
@@ -2074,7 +2074,7 @@
2074
2074
  }
2075
2075
  if (!res.error) {
2076
2076
  let check;
2077
- (0, each_9.each)(props, (varName) => {
2077
+ (0, each_8.each)(props, (varName) => {
2078
2078
  varName = varName.trim().split(':');
2079
2079
  let type = varName[1] || false;
2080
2080
  varName = varName[0];
@@ -2136,7 +2136,7 @@
2136
2136
  };
2137
2137
  exports.correctCase = correctCase;
2138
2138
  });
2139
- define("fn/checkType", ["require", "exports", "fn/isArray", "fn/each", "fn/isFunction", "fn/isString", "fn/correctCase", "fn/error", "fn/log"], function (require, exports, isArray_7, each_10, isFunction_5, isString_8, correctCase_1, error_2, log_8) {
2139
+ define("fn/checkType", ["require", "exports", "fn/isArray", "fn/each", "fn/isFunction", "fn/isString", "fn/correctCase", "fn/error", "fn/log"], function (require, exports, isArray_7, each_9, isFunction_5, isString_8, correctCase_1, error_2, log_8) {
2140
2140
  "use strict";
2141
2141
  Object.defineProperty(exports, "__esModule", { value: true });
2142
2142
  exports.checkType = void 0;
@@ -2146,7 +2146,7 @@
2146
2146
  type = [type];
2147
2147
  }
2148
2148
  const typesList = [];
2149
- (0, each_10.each)(type, (t) => {
2149
+ (0, each_9.each)(type, (t) => {
2150
2150
  if (t === String) {
2151
2151
  t = 'string';
2152
2152
  }
@@ -2365,7 +2365,7 @@
2365
2365
  };
2366
2366
  exports.daysInMonth = daysInMonth;
2367
2367
  });
2368
- define("fn/deepPath", ["require", "exports", "fn/search", "fn/each", "fn/isArray"], function (require, exports, search_4, each_11, isArray_9) {
2368
+ define("fn/deepPath", ["require", "exports", "fn/search", "fn/each", "fn/isArray"], function (require, exports, search_4, each_10, isArray_9) {
2369
2369
  "use strict";
2370
2370
  Object.defineProperty(exports, "__esModule", { value: true });
2371
2371
  exports.deepPath = void 0;
@@ -2376,7 +2376,7 @@
2376
2376
  res.push(idx);
2377
2377
  return res;
2378
2378
  }
2379
- (0, each_11.each)(arr, (it, i) => {
2379
+ (0, each_10.each)(arr, (it, i) => {
2380
2380
  if ((0, isArray_9.isArray)(it[deepProperty])) {
2381
2381
  let r = res.slice();
2382
2382
  r.push(i);
@@ -2757,7 +2757,7 @@
2757
2757
  };
2758
2758
  exports.escapeTicks = escapeTicks;
2759
2759
  });
2760
- define("fn/escapeUrl", ["require", "exports", "fn/each", "fn/dirName", "fn/baseName", "fn/isString"], function (require, exports, each_12, dirName_1, baseName_2, isString_15) {
2760
+ define("fn/escapeUrl", ["require", "exports", "fn/each", "fn/dirName", "fn/baseName", "fn/isString"], function (require, exports, each_11, dirName_1, baseName_2, isString_15) {
2761
2761
  "use strict";
2762
2762
  Object.defineProperty(exports, "__esModule", { value: true });
2763
2763
  exports.escapeUrl = void 0;
@@ -2773,7 +2773,7 @@
2773
2773
  st += '://';
2774
2774
  url = url.substring(3);
2775
2775
  }
2776
- (0, each_12.each)((0, dirName_1.dirName)(url).split('/'), (a) => {
2776
+ (0, each_11.each)((0, dirName_1.dirName)(url).split('/'), (a) => {
2777
2777
  st += encodeURIComponent(a) + '/';
2778
2778
  });
2779
2779
  let base = (0, baseName_2.baseName)(url);
@@ -2855,7 +2855,7 @@
2855
2855
  };
2856
2856
  exports.fieldValue = fieldValue;
2857
2857
  });
2858
- define("fn/findAll", ["require", "exports", "fn/search", "fn/each", "fn/isArray"], function (require, exports, search_5, each_13, isArray_10) {
2858
+ define("fn/findAll", ["require", "exports", "fn/search", "fn/each", "fn/isArray"], function (require, exports, search_5, each_12, isArray_10) {
2859
2859
  "use strict";
2860
2860
  Object.defineProperty(exports, "__esModule", { value: true });
2861
2861
  exports.findAll = void 0;
@@ -2866,7 +2866,7 @@
2866
2866
  res.push(arr[idx]);
2867
2867
  start = idx + 1;
2868
2868
  }
2869
- (0, each_13.each)(arr, (it) => {
2869
+ (0, each_12.each)(arr, (it) => {
2870
2870
  if ((0, isArray_10.isArray)(it[deepProperty])) {
2871
2871
  findAll(it[deepProperty], filter, deepProperty, res);
2872
2872
  }
@@ -2974,7 +2974,7 @@
2974
2974
  };
2975
2975
  exports.formatSize = formatSize;
2976
2976
  });
2977
- define("fn/formdata", ["require", "exports", "fn/each", "fn/fieldValue", "fn/replaceAll", "fn/substr"], function (require, exports, each_14, fieldValue_1, replaceAll_3, substr_8) {
2977
+ define("fn/formdata", ["require", "exports", "fn/each", "fn/fieldValue", "fn/replaceAll", "fn/substr"], function (require, exports, each_13, fieldValue_1, replaceAll_3, substr_8) {
2978
2978
  "use strict";
2979
2979
  Object.defineProperty(exports, "__esModule", { value: true });
2980
2980
  exports.formdata = void 0;
@@ -2983,7 +2983,7 @@
2983
2983
  let res = {};
2984
2984
  let n;
2985
2985
  let v;
2986
- (0, each_14.each)($inputs, (input, i) => {
2986
+ (0, each_13.each)($inputs, (input, i) => {
2987
2987
  v = (0, fieldValue_1.fieldValue)(input);
2988
2988
  if (v !== undefined && !input.disabled) {
2989
2989
  let name = input.name;
@@ -3306,7 +3306,7 @@
3306
3306
  };
3307
3307
  exports.getHTMLOfSelection = getHTMLOfSelection;
3308
3308
  });
3309
- define("fn/getEventData", ["require", "exports", "fn/getHTMLOfSelection", "fn/each", "fn/defaultErrorFunction"], function (require, exports, getHTMLOfSelection_1, each_15, defaultErrorFunction_1) {
3309
+ define("fn/getEventData", ["require", "exports", "fn/getHTMLOfSelection", "fn/each", "fn/defaultErrorFunction"], function (require, exports, getHTMLOfSelection_1, each_14, defaultErrorFunction_1) {
3310
3310
  "use strict";
3311
3311
  Object.defineProperty(exports, "__esModule", { value: true });
3312
3312
  exports.getEventData = void 0;
@@ -3344,7 +3344,7 @@
3344
3344
  if (!done) {
3345
3345
  let strings = [];
3346
3346
  let num = dt.items.length;
3347
- (0, each_15.each)(dt.items, (item, idx) => {
3347
+ (0, each_14.each)(dt.items, (item, idx) => {
3348
3348
  let kind = item.kind;
3349
3349
  let type = item.type;
3350
3350
  if (kind === 'file') {
@@ -3423,7 +3423,7 @@
3423
3423
  };
3424
3424
  exports.getField = getField;
3425
3425
  });
3426
- define("fn/getFieldValues", ["require", "exports", "fn/checkType", "fn/filter", "fn/each"], function (require, exports, checkType_3, filter_3, each_16) {
3426
+ define("fn/getFieldValues", ["require", "exports", "fn/checkType", "fn/filter", "fn/each"], function (require, exports, checkType_3, filter_3, each_15) {
3427
3427
  "use strict";
3428
3428
  Object.defineProperty(exports, "__esModule", { value: true });
3429
3429
  exports.getFieldValues = void 0;
@@ -3433,7 +3433,7 @@
3433
3433
  arr = (0, filter_3.filter)(arr, prop, val, operator);
3434
3434
  }
3435
3435
  let res = [];
3436
- (0, each_16.each)(arr, (a) => (res.indexOf(a[field]) === -1 ? res.push(a[field]) : null));
3436
+ (0, each_15.each)(arr, (a) => (res.indexOf(a[field]) === -1 ? res.push(a[field]) : null));
3437
3437
  return res;
3438
3438
  };
3439
3439
  exports.getFieldValues = getFieldValues;
@@ -3948,7 +3948,7 @@
3948
3948
  };
3949
3949
  exports.submit = submit;
3950
3950
  });
3951
- define("fn/resize", ["require", "exports", "fn/getCssVar", "fn/each", "fn/defaultResizeFunction"], function (require, exports, getCssVar_1, each_17, defaultResizeFunction_1) {
3951
+ define("fn/resize", ["require", "exports", "fn/getCssVar", "fn/each", "fn/defaultResizeFunction"], function (require, exports, getCssVar_1, each_16, defaultResizeFunction_1) {
3952
3952
  "use strict";
3953
3953
  Object.defineProperty(exports, "__esModule", { value: true });
3954
3954
  exports.resize = void 0;
@@ -3970,7 +3970,7 @@
3970
3970
  let newCls = 'bbn-screen-' + (bbn.env.width < smallWidth ? 'small' : 'regular');
3971
3971
  let classes = (document.body.className || '').split(' ');
3972
3972
  let done = false;
3973
- (0, each_17.each)(classes, (cls, idx) => {
3973
+ (0, each_16.each)(classes, (cls, idx) => {
3974
3974
  let bits = cls.split('-');
3975
3975
  if (bits.length === 3 && cls.indexOf('bbn-screen-') === 0) {
3976
3976
  done = true;
@@ -4016,7 +4016,7 @@
4016
4016
  };
4017
4017
  exports.isMobile = isMobile;
4018
4018
  });
4019
- define("fn/init", ["require", "exports", "fn/substr", "fn/each", "fn/extend", "fn/addColors", "fn/link", "fn/submit", "fn/resize", "fn/isMobile", "fn/isTabletDevice", "fn/defaultHistoryFunction", "fn/isFunction", "fn/log"], function (require, exports, substr_11, each_18, extend_6, addColors_1, link_1, submit_1, resize_1, isMobile_1, isTabletDevice_2, defaultHistoryFunction_1, isFunction_10, log_15) {
4019
+ define("fn/init", ["require", "exports", "fn/substr", "fn/each", "fn/extend", "fn/addColors", "fn/link", "fn/submit", "fn/resize", "fn/isMobile", "fn/isTabletDevice", "fn/defaultHistoryFunction", "fn/isFunction", "fn/log"], function (require, exports, substr_11, each_17, extend_6, addColors_1, link_1, submit_1, resize_1, isMobile_1, isTabletDevice_2, defaultHistoryFunction_1, isFunction_10, log_15) {
4020
4020
  "use strict";
4021
4021
  Object.defineProperty(exports, "__esModule", { value: true });
4022
4022
  exports.init = void 0;
@@ -4028,7 +4028,7 @@
4028
4028
  bbn.env.root += '/';
4029
4029
  }
4030
4030
  if (!bbn.env.isInit && typeof dayjs !== 'undefined') {
4031
- (0, each_18.each)([
4031
+ (0, each_17.each)([
4032
4032
  'advancedFormat',
4033
4033
  'arraySupport',
4034
4034
  'badMutable',
@@ -4075,7 +4075,7 @@
4075
4075
  bbn.env.path = (0, substr_11.substr)(bbn.env.url, bbn.env.root.length);
4076
4076
  parts = bbn.env.path.split('/');
4077
4077
  //$.each(parts, function(i, v){
4078
- (0, each_18.each)(parts, (v, i) => {
4078
+ (0, each_17.each)(parts, (v, i) => {
4079
4079
  v = decodeURI(v.trim());
4080
4080
  if (v !== '') {
4081
4081
  bbn.env.params.push(v);
@@ -4128,7 +4128,7 @@
4128
4128
  return false;
4129
4129
  }
4130
4130
  });
4131
- (0, each_18.each)(document.querySelectorAll('form:not(.bbn-no), form:not(.bbn-form)'), (ele) => {
4131
+ (0, each_17.each)(document.querySelectorAll('form:not(.bbn-no), form:not(.bbn-form)'), (ele) => {
4132
4132
  ele.addEventListener('submit', (e) => {
4133
4133
  (0, submit_1.submit)(ele, e);
4134
4134
  });
@@ -4365,7 +4365,7 @@
4365
4365
  };
4366
4366
  exports.isHostname = isHostname;
4367
4367
  });
4368
- define("fn/isInside", ["require", "exports", "fn/getAncestors", "fn/isString", "fn/each"], function (require, exports, getAncestors_1, isString_23, each_19) {
4368
+ define("fn/isInside", ["require", "exports", "fn/getAncestors", "fn/isString", "fn/each"], function (require, exports, getAncestors_1, isString_23, each_18) {
4369
4369
  "use strict";
4370
4370
  Object.defineProperty(exports, "__esModule", { value: true });
4371
4371
  exports.isInside = void 0;
@@ -4374,7 +4374,7 @@
4374
4374
  if (ancestors.length) {
4375
4375
  if ((0, isString_23.isString)(ancestor)) {
4376
4376
  let ok = false;
4377
- (0, each_19.each)(ancestors, (a) => {
4377
+ (0, each_18.each)(ancestors, (a) => {
4378
4378
  if (a.matches && a.matches(ancestor)) {
4379
4379
  ok = true;
4380
4380
  return false;
@@ -4438,13 +4438,13 @@
4438
4438
  };
4439
4439
  exports.isPromise = isPromise;
4440
4440
  });
4441
- define("fn/isPropSize", ["require", "exports", "fn/each"], function (require, exports, each_20) {
4441
+ define("fn/isPropSize", ["require", "exports", "fn/each"], function (require, exports, each_19) {
4442
4442
  "use strict";
4443
4443
  Object.defineProperty(exports, "__esModule", { value: true });
4444
4444
  exports.isPropSize = void 0;
4445
4445
  const isPropSize = function (name) {
4446
4446
  let isTrue = false;
4447
- (0, each_20.each)(['width', 'height', 'gap', 'margin', 'padding', 'top', 'left', 'right', 'bottom'], (a) => {
4447
+ (0, each_19.each)(['width', 'height', 'gap', 'margin', 'padding', 'top', 'left', 'right', 'bottom'], (a) => {
4448
4448
  if (name.indexOf(a) !== -1) {
4449
4449
  isTrue = true;
4450
4450
  return false;
@@ -4952,7 +4952,7 @@
4952
4952
  };
4953
4953
  exports.nl2br = nl2br;
4954
4954
  });
4955
- define("fn/objectToFormData", ["require", "exports", "fn/isArray", "fn/each", "fn/isObject", "fn/iterate", "fn/isNull"], function (require, exports, isArray_15, each_21, isObject_16, iterate_8, isNull_3) {
4955
+ define("fn/objectToFormData", ["require", "exports", "fn/isArray", "fn/each", "fn/isObject", "fn/iterate", "fn/isNull"], function (require, exports, isArray_15, each_20, isObject_16, iterate_8, isNull_3) {
4956
4956
  "use strict";
4957
4957
  Object.defineProperty(exports, "__esModule", { value: true });
4958
4958
  exports.objectToFormData = void 0;
@@ -4964,7 +4964,7 @@
4964
4964
  formData.append(key, data);
4965
4965
  }
4966
4966
  else if ((0, isArray_15.isArray)(data)) {
4967
- (0, each_21.each)(data, (v, i) => {
4967
+ (0, each_20.each)(data, (v, i) => {
4968
4968
  appendFormData(v, key + '[' + i + ']');
4969
4969
  });
4970
4970
  }
@@ -5442,7 +5442,7 @@
5442
5442
  };
5443
5443
  exports.setProp = setProp;
5444
5444
  });
5445
- define("fn/setProperty", ["require", "exports", "fn/each"], function (require, exports, each_22) {
5445
+ define("fn/setProperty", ["require", "exports", "fn/each"], function (require, exports, each_21) {
5446
5446
  "use strict";
5447
5447
  Object.defineProperty(exports, "__esModule", { value: true });
5448
5448
  exports.setProperty = void 0;
@@ -5450,7 +5450,7 @@
5450
5450
  if (typeof obj === 'object' && typeof prop === 'string') {
5451
5451
  let o = obj;
5452
5452
  const bits = prop.split('.');
5453
- (0, each_22.each)(bits, (v, i) => {
5453
+ (0, each_21.each)(bits, (v, i) => {
5454
5454
  if (!o) {
5455
5455
  if (!force) {
5456
5456
  throw new Error(bbn._('The object is invalid'));
@@ -5488,13 +5488,13 @@
5488
5488
  };
5489
5489
  exports.shorten = shorten;
5490
5490
  });
5491
- define("fn/shortenObj", ["require", "exports", "fn/clone", "fn/each", "fn/isString", "fn/shorten"], function (require, exports, clone_1, each_23, isString_26, shorten_1) {
5491
+ define("fn/shortenObj", ["require", "exports", "fn/clone", "fn/each", "fn/isString", "fn/shorten"], function (require, exports, clone_1, each_22, isString_26, shorten_1) {
5492
5492
  "use strict";
5493
5493
  Object.defineProperty(exports, "__esModule", { value: true });
5494
5494
  exports.shortenObj = void 0;
5495
5495
  const shortenObj = function (obj, max = 100) {
5496
5496
  let o = (0, clone_1.clone)(obj);
5497
- (0, each_23.each)(o, (a, n) => {
5497
+ (0, each_22.each)(o, (a, n) => {
5498
5498
  if ((0, isString_26.isString)(a) && a.length > max) {
5499
5499
  o[n] = (0, shorten_1.shorten)(a, max);
5500
5500
  }
@@ -5524,7 +5524,7 @@
5524
5524
  };
5525
5525
  exports.shuffle = shuffle;
5526
5526
  });
5527
- define("fn/chrono", ["require", "exports", "fn/each"], function (require, exports, each_24) {
5527
+ define("fn/chrono", ["require", "exports", "fn/each"], function (require, exports, each_23) {
5528
5528
  "use strict";
5529
5529
  Object.defineProperty(exports, "__esModule", { value: true });
5530
5530
  exports.stopChrono = exports.startChrono = void 0;
@@ -5533,7 +5533,7 @@
5533
5533
  let now = new Date().getTime();
5534
5534
  let h1 = 3600 * 1000;
5535
5535
  if (_private.length) {
5536
- (0, each_24.each)(_private, (t, n) => {
5536
+ (0, each_23.each)(_private, (t, n) => {
5537
5537
  if (now - t > h1) {
5538
5538
  delete _private[n];
5539
5539
  }
@@ -5620,13 +5620,13 @@
5620
5620
  };
5621
5621
  exports.string2ArrayBuffer = string2ArrayBuffer;
5622
5622
  });
5623
- define("fn/sum", ["require", "exports", "fn/each", "fn/filter"], function (require, exports, each_25, filter_5) {
5623
+ define("fn/sum", ["require", "exports", "fn/each", "fn/filter"], function (require, exports, each_24, filter_5) {
5624
5624
  "use strict";
5625
5625
  Object.defineProperty(exports, "__esModule", { value: true });
5626
5626
  exports.sum = void 0;
5627
5627
  const sum = function (arr, numberProp, prop, val, operator) {
5628
5628
  let r = 0;
5629
- (0, each_25.each)((0, filter_5.filter)(arr, prop, val, operator), (a) => {
5629
+ (0, each_24.each)((0, filter_5.filter)(arr, prop, val, operator), (a) => {
5630
5630
  let tmp = typeof numberProp === 'function' ? numberProp(a) : a[numberProp];
5631
5631
  if (tmp) {
5632
5632
  r += parseFloat(tmp) || 0;
@@ -5646,7 +5646,7 @@
5646
5646
  };
5647
5647
  exports.timestamp = timestamp;
5648
5648
  });
5649
- define("fn/toCSV", ["require", "exports", "fn/each", "fn/isArray", "fn/replaceAll"], function (require, exports, each_26, isArray_17, replaceAll_7) {
5649
+ define("fn/toCSV", ["require", "exports", "fn/each", "fn/isArray", "fn/replaceAll"], function (require, exports, each_25, isArray_17, replaceAll_7) {
5650
5650
  "use strict";
5651
5651
  Object.defineProperty(exports, "__esModule", { value: true });
5652
5652
  exports.toCSV = void 0;
@@ -5659,10 +5659,10 @@
5659
5659
  }
5660
5660
  let csvContent = '';
5661
5661
  let total = arr.length;
5662
- (0, each_26.each)(arr, (a, i) => {
5662
+ (0, each_25.each)(arr, (a, i) => {
5663
5663
  let num = (0, isArray_17.isArray)(a) ? a.length : Object.values(a).length;
5664
5664
  let j = 0;
5665
- (0, each_26.each)(a, (b) => {
5665
+ (0, each_25.each)(a, (b) => {
5666
5666
  if (typeof b === 'string') {
5667
5667
  csvContent += valEsc + (0, replaceAll_7.replaceAll)(valEsc, '\\' + valEsc, b) + valEsc;
5668
5668
  }
@@ -5743,7 +5743,7 @@
5743
5743
  };
5744
5744
  exports.translate = translate;
5745
5745
  });
5746
- define("fn/uniqString", ["require", "exports", "fn/isArray", "fn/each", "fn/md5"], function (require, exports, isArray_18, each_27, md5_3) {
5746
+ define("fn/uniqString", ["require", "exports", "fn/isArray", "fn/each", "fn/md5"], function (require, exports, isArray_18, each_26, md5_3) {
5747
5747
  "use strict";
5748
5748
  Object.defineProperty(exports, "__esModule", { value: true });
5749
5749
  exports.uniqString = void 0;
@@ -5761,7 +5761,7 @@
5761
5761
  // An object with the same properties, even in different order, should produce the same answer
5762
5762
  let tmp = {};
5763
5763
  let ks = Object.keys(args[i]).sort();
5764
- (0, each_27.each)(ks, (k) => {
5764
+ (0, each_26.each)(ks, (k) => {
5765
5765
  tmp[k] = args[i][k];
5766
5766
  });
5767
5767
  st += JSON.stringify(tmp);
@@ -5817,7 +5817,7 @@
5817
5817
  };
5818
5818
  exports.upload = upload;
5819
5819
  });
5820
- define("index", ["require", "exports", "fn/_addLoader", "fn/_compareValues", "fn/_deleteLoader", "fn/abort", "fn/abortURL", "fn/addColors", "fn/addInputs", "fn/addStyle", "fn/adjustHeight", "fn/adjustSize", "fn/adjustWidth", "fn/ajax", "fn/analyzeFunction", "fn/animateCss", "fn/arrayBuffer2String", "fn/arrayFromProp", "fn/autoExtend", "fn/baseName", "fn/br2nl", "fn/calendar", "fn/callback", "fn/camelize", "fn/camelToCss", "fn/canvasToImage", "fn/center", "fn/checkProps", "fn/checkPropsDetails", "fn/checkPropsOrDie", "fn/checkType", "fn/circularReplacer", "fn/clone", "fn/colorToHex", "fn/compare", "fn/compareConditions", "fn/copy", "fn/correctCase", "fn/count", "fn/crc32", "fn/createObject", "fn/cssExists", "fn/date", "fn/dateSQL", "fn/daysInMonth", "fn/deepPath", "fn/defaultAjaxAbortFunction", "fn/defaultAjaxErrorFunction", "fn/defaultAlertFunction", "fn/defaultConfirmFunction", "fn/defaultEndLoadingFunction", "fn/defaultErrorFunction", "fn/defaultHistoryFunction", "fn/defaultLinkFunction", "fn/defaultPostLinkFunction", "fn/defaultPreLinkFunction", "fn/defaultResizeFunction", "fn/defaultStartLoadingFunction", "fn/deleteProp", "fn/diffObj", "fn/dirName", "fn/download", "fn/downloadContent", "fn/each", "fn/eraseCookie", "fn/error", "fn/escapeDquotes", "fn/escapeRegExp", "fn/escapeSquotes", "fn/escapeTicks", "fn/escapeUrl", "fn/extend", "fn/extendOut", "fn/fdate", "fn/fdatetime", "fn/fieldValue", "fn/fileExt", "fn/filter", "fn/filterToConditions", "fn/findAll", "fn/fori", "fn/forir", "fn/format", "fn/formatBytes", "fn/formatDate", "fn/formatSize", "fn/formdata", "fn/fromXml", "fn/ftime", "fn/getAllTags", "fn/getAncestors", "fn/getAttributes", "fn/getBrowserName", "fn/getBrowserVersion", "fn/getCookie", "fn/getCssVar", "fn/getDay", "fn/getDeviceType", "fn/getEventData", "fn/getField", "fn/getFieldValues", "fn/getHtml", "fn/getHTMLOfSelection", "fn/getLoader", "fn/getPath", "fn/getProp", "fn/getProperty", "fn/getRequestId", "fn/getRow", "fn/getScrollBarSize", "fn/getText", "fn/getTimeoff", "fn/happy", "fn/hash", "fn/hex2rgb", "fn/history", "fn/html2text", "fn/imageToCanvas", "fn/imgToBase64", "fn/info", "fn/init", "fn/isActiveInterface", "fn/isArray", "fn/isBlob", "fn/isBoolean", "fn/isCanvas", "fn/isColor", "fn/isComment", "fn/isCp", "fn/isDate", "fn/isDesktopDevice", "fn/isDimension", "fn/isDom", "fn/isEmail", "fn/isEmpty", "fn/isEvent", "fn/isFocused", "fn/isFunction", "fn/isHostname", "fn/isInside", "fn/isInt", "fn/isIP", "fn/isIterable", "fn/isMobile", "fn/isMobileDevice", "fn/isNull", "fn/isNumber", "fn/isObject", "fn/isPercent", "fn/isPrimitive", "fn/isPromise", "fn/isPropSize", "fn/isSame", "fn/isSQLDate", "fn/isString", "fn/isSymbol", "fn/isTabletDevice", "fn/isURL", "fn/isValidDimension", "fn/isValidName", "fn/isValue", "fn/isVue", "fn/iterate", "fn/lightenDarkenHex", "fn/link", "fn/log", "fn/makeReactive", "fn/map", "fn/md5", "fn/money", "fn/move", "fn/multiorder", "fn/nl2br", "fn/numProperties", "fn/objectToFormData", "fn/order", "fn/outerHeight", "fn/outerWidth", "fn/percent", "fn/pickValue", "fn/post", "fn/postOut", "fn/printf", "fn/quotes2html", "fn/randomInt", "fn/randomString", "fn/removeAccents", "fn/removeEmpty", "fn/removeExtraSpaces", "fn/removeHtmlComments", "fn/removePrivateProp", "fn/removeTrailingChars", "fn/repeat", "fn/replaceAll", "fn/replaceSelection", "fn/resize", "fn/rgb2hex", "fn/riterate", "fn/roundDecimal", "fn/sanitize", "fn/search", "fn/selectElementText", "fn/selector", "fn/setCookie", "fn/setCssVar", "fn/setNavigationVars", "fn/setProp", "fn/setProperty", "fn/shorten", "fn/shortenObj", "fn/shuffle", "fn/simpleHash", "fn/simpleHash1", "fn/simpleHash2", "fn/chrono", "fn/stat", "fn/string2ArrayBuffer", "fn/submit", "fn/substr", "fn/sum", "fn/timestamp", "fn/toCSV", "fn/toggleFullScreen", "fn/translate", "fn/treatAjaxArguments", "fn/trim", "fn/uniqString", "fn/unique", "fn/upload", "fn/warning"], function (require, exports, _addLoader_2, _compareValues_3, _deleteLoader_2, abort_1, abortURL_1, addColors_2, addInputs_2, addStyle_1, adjustHeight_1, adjustSize_3, adjustWidth_1, ajax_4, analyzeFunction_1, animateCss_1, arrayBuffer2String_1, arrayFromProp_1, autoExtend_1, baseName_3, br2nl_1, calendar_1, callback_3, camelize_1, camelToCss_1, canvasToImage_1, center_1, checkProps_1, checkPropsDetails_3, checkPropsOrDie_1, checkType_5, circularReplacer_2, clone_2, colorToHex_1, compare_1, compareConditions_3, copy_1, correctCase_2, count_1, crc32_1, createObject_4, cssExists_1, date_8, dateSQL_1, daysInMonth_1, deepPath_1, defaultAjaxAbortFunction_2, defaultAjaxErrorFunction_3, defaultAlertFunction_2, defaultConfirmFunction_1, defaultEndLoadingFunction_2, defaultErrorFunction_2, defaultHistoryFunction_2, defaultLinkFunction_2, defaultPostLinkFunction_2, defaultPreLinkFunction_2, defaultResizeFunction_2, defaultStartLoadingFunction_2, deleteProp_1, diffObj_1, dirName_2, download_1, downloadContent_2, each_28, eraseCookie_1, error_4, escapeDquotes_1, escapeRegExp_3, escapeSquotes_1, escapeTicks_1, escapeUrl_1, extend_7, extendOut_1, fdate_2, fdatetime_2, fieldValue_2, fileExt_2, filter_6, filterToConditions_3, findAll_1, fori_1, forir_1, format_1, formatBytes_1, formatDate_1, formatSize_1, formdata_2, fromXml_1, ftime_1, getAllTags_1, getAncestors_2, getAttributes_1, getBrowserName_1, getBrowserVersion_1, getCookie_1, getCssVar_2, getDay_1, getDeviceType_1, getEventData_1, getField_1, getFieldValues_1, getHtml_1, getHTMLOfSelection_2, getLoader_4, getPath_1, getProp_1, getProperty_4, getRequestId_2, getRow_3, getScrollBarSize_1, getText_1, getTimeoff_1, happy_1, hash_2, hex2rgb_1, history_1, html2text_2, imageToCanvas_2, imgToBase64_1, info_1, init_1, isActiveInterface_1, isArray_19, isBlob_2, isBoolean_1, isCanvas_2, isColor_1, isComment_1, isCp_3, isDate_8, isDesktopDevice_1, isDimension_1, isDom_5, isEmail_1, isEmpty_2, isEvent_1, isFocused_1, isFunction_12, isHostname_1, isInside_1, isInt_2, isIP_2, isIterable_5, isMobile_2, isMobileDevice_2, isNull_4, isNumber_10, isObject_18, isPercent_1, isPrimitive_1, isPromise_1, isPropSize_1, isSame_3, isSQLDate_1, isString_27, isSymbol_2, isTabletDevice_3, isURL_1, isValidDimension_2, isValidName_1, isValue_2, isVue_1, iterate_11, lightenDarkenHex_1, link_2, log_19, makeReactive_1, map_1, md5_4, money_1, move_1, multiorder_1, nl2br_1, numProperties_8, objectToFormData_2, order_1, outerHeight_1, outerWidth_1, percent_1, pickValue_1, post_2, postOut_1, printf_1, quotes2html_1, randomInt_2, randomString_1, removeAccents_4, removeEmpty_1, removeExtraSpaces_1, removeHtmlComments_2, removePrivateProp_2, removeTrailingChars_1, repeat_1, replaceAll_8, replaceSelection_1, resize_3, rgb2hex_1, riterate_1, roundDecimal_1, sanitize_1, search_6, selectElementText_1, selector_3, setCookie_1, setCssVar_1, setNavigationVars_2, setProp_1, setProperty_1, shorten_2, shortenObj_1, shuffle_1, simpleHash_2, simpleHash1_2, simpleHash2_2, chrono_1, stat_1, string2ArrayBuffer_1, submit_2, substr_16, sum_1, timestamp_1, toCSV_1, toggleFullScreen_1, translate_1, treatAjaxArguments_3, trim_2, uniqString_1, unique_2, upload_1, warning_2) {
5820
+ define("index", ["require", "exports", "fn/_addLoader", "fn/_compareValues", "fn/_deleteLoader", "fn/abort", "fn/abortURL", "fn/addColors", "fn/addInputs", "fn/addStyle", "fn/adjustHeight", "fn/adjustSize", "fn/adjustWidth", "fn/ajax", "fn/analyzeFunction", "fn/animateCss", "fn/arrayBuffer2String", "fn/arrayFromProp", "fn/autoExtend", "fn/baseName", "fn/br2nl", "fn/calendar", "fn/callback", "fn/camelize", "fn/camelToCss", "fn/canvasToImage", "fn/center", "fn/checkProps", "fn/checkPropsDetails", "fn/checkPropsOrDie", "fn/checkType", "fn/circularReplacer", "fn/clone", "fn/colorToHex", "fn/compare", "fn/compareConditions", "fn/copy", "fn/correctCase", "fn/count", "fn/crc32", "fn/createObject", "fn/cssExists", "fn/date", "fn/dateSQL", "fn/daysInMonth", "fn/deepPath", "fn/defaultAjaxAbortFunction", "fn/defaultAjaxErrorFunction", "fn/defaultAlertFunction", "fn/defaultConfirmFunction", "fn/defaultEndLoadingFunction", "fn/defaultErrorFunction", "fn/defaultHistoryFunction", "fn/defaultLinkFunction", "fn/defaultPostLinkFunction", "fn/defaultPreLinkFunction", "fn/defaultResizeFunction", "fn/defaultStartLoadingFunction", "fn/deleteProp", "fn/diffObj", "fn/dirName", "fn/download", "fn/downloadContent", "fn/each", "fn/eraseCookie", "fn/error", "fn/escapeDquotes", "fn/escapeRegExp", "fn/escapeSquotes", "fn/escapeTicks", "fn/escapeUrl", "fn/extend", "fn/extendOut", "fn/fdate", "fn/fdatetime", "fn/fieldValue", "fn/fileExt", "fn/filter", "fn/filterToConditions", "fn/findAll", "fn/fori", "fn/forir", "fn/format", "fn/formatBytes", "fn/formatDate", "fn/formatSize", "fn/formdata", "fn/fromXml", "fn/ftime", "fn/getAllTags", "fn/getAncestors", "fn/getAttributes", "fn/getBrowserName", "fn/getBrowserVersion", "fn/getCookie", "fn/getCssVar", "fn/getDay", "fn/getDeviceType", "fn/getEventData", "fn/getField", "fn/getFieldValues", "fn/getHtml", "fn/getHTMLOfSelection", "fn/getLoader", "fn/getPath", "fn/getProp", "fn/getProperty", "fn/getRequestId", "fn/getRow", "fn/getScrollBarSize", "fn/getText", "fn/getTimeoff", "fn/happy", "fn/hash", "fn/hex2rgb", "fn/history", "fn/html2text", "fn/imageToCanvas", "fn/imgToBase64", "fn/info", "fn/init", "fn/isActiveInterface", "fn/isArray", "fn/isBlob", "fn/isBoolean", "fn/isCanvas", "fn/isColor", "fn/isComment", "fn/isCp", "fn/isDate", "fn/isDesktopDevice", "fn/isDimension", "fn/isDom", "fn/isEmail", "fn/isEmpty", "fn/isEvent", "fn/isFocused", "fn/isFunction", "fn/isHostname", "fn/isInside", "fn/isInt", "fn/isIP", "fn/isIterable", "fn/isMobile", "fn/isMobileDevice", "fn/isNull", "fn/isNumber", "fn/isObject", "fn/isPercent", "fn/isPrimitive", "fn/isPromise", "fn/isPropSize", "fn/isSame", "fn/isSQLDate", "fn/isString", "fn/isSymbol", "fn/isTabletDevice", "fn/isURL", "fn/isValidDimension", "fn/isValidName", "fn/isValue", "fn/isVue", "fn/iterate", "fn/lightenDarkenHex", "fn/link", "fn/log", "fn/makeReactive", "fn/map", "fn/md5", "fn/money", "fn/move", "fn/multiorder", "fn/nl2br", "fn/numProperties", "fn/objectToFormData", "fn/order", "fn/outerHeight", "fn/outerWidth", "fn/percent", "fn/pickValue", "fn/post", "fn/postOut", "fn/printf", "fn/quotes2html", "fn/randomInt", "fn/randomString", "fn/removeAccents", "fn/removeEmpty", "fn/removeExtraSpaces", "fn/removeHtmlComments", "fn/removePrivateProp", "fn/removeTrailingChars", "fn/repeat", "fn/replaceAll", "fn/replaceSelection", "fn/resize", "fn/rgb2hex", "fn/riterate", "fn/roundDecimal", "fn/sanitize", "fn/search", "fn/selectElementText", "fn/selector", "fn/setCookie", "fn/setCssVar", "fn/setNavigationVars", "fn/setProp", "fn/setProperty", "fn/shorten", "fn/shortenObj", "fn/shuffle", "fn/simpleHash", "fn/simpleHash1", "fn/simpleHash2", "fn/chrono", "fn/stat", "fn/string2ArrayBuffer", "fn/submit", "fn/substr", "fn/sum", "fn/timestamp", "fn/toCSV", "fn/toggleFullScreen", "fn/translate", "fn/treatAjaxArguments", "fn/trim", "fn/uniqString", "fn/unique", "fn/upload", "fn/warning"], function (require, exports, _addLoader_2, _compareValues_3, _deleteLoader_2, abort_1, abortURL_1, addColors_2, addInputs_2, addStyle_1, adjustHeight_1, adjustSize_3, adjustWidth_1, ajax_4, analyzeFunction_1, animateCss_1, arrayBuffer2String_1, arrayFromProp_1, autoExtend_1, baseName_3, br2nl_1, calendar_1, callback_3, camelize_1, camelToCss_1, canvasToImage_1, center_1, checkProps_1, checkPropsDetails_3, checkPropsOrDie_1, checkType_5, circularReplacer_2, clone_2, colorToHex_1, compare_1, compareConditions_3, copy_1, correctCase_2, count_1, crc32_1, createObject_4, cssExists_1, date_8, dateSQL_1, daysInMonth_1, deepPath_1, defaultAjaxAbortFunction_2, defaultAjaxErrorFunction_3, defaultAlertFunction_2, defaultConfirmFunction_1, defaultEndLoadingFunction_2, defaultErrorFunction_2, defaultHistoryFunction_2, defaultLinkFunction_2, defaultPostLinkFunction_2, defaultPreLinkFunction_2, defaultResizeFunction_2, defaultStartLoadingFunction_2, deleteProp_1, diffObj_1, dirName_2, download_1, downloadContent_2, each_27, eraseCookie_1, error_4, escapeDquotes_1, escapeRegExp_3, escapeSquotes_1, escapeTicks_1, escapeUrl_1, extend_7, extendOut_1, fdate_2, fdatetime_2, fieldValue_2, fileExt_2, filter_6, filterToConditions_3, findAll_1, fori_1, forir_1, format_1, formatBytes_1, formatDate_1, formatSize_1, formdata_2, fromXml_1, ftime_1, getAllTags_1, getAncestors_2, getAttributes_1, getBrowserName_1, getBrowserVersion_1, getCookie_1, getCssVar_2, getDay_1, getDeviceType_1, getEventData_1, getField_1, getFieldValues_1, getHtml_1, getHTMLOfSelection_2, getLoader_4, getPath_1, getProp_1, getProperty_4, getRequestId_2, getRow_3, getScrollBarSize_1, getText_1, getTimeoff_1, happy_1, hash_2, hex2rgb_1, history_1, html2text_2, imageToCanvas_2, imgToBase64_1, info_1, init_1, isActiveInterface_1, isArray_19, isBlob_2, isBoolean_1, isCanvas_2, isColor_1, isComment_1, isCp_3, isDate_8, isDesktopDevice_1, isDimension_1, isDom_5, isEmail_1, isEmpty_2, isEvent_1, isFocused_1, isFunction_12, isHostname_1, isInside_1, isInt_2, isIP_2, isIterable_5, isMobile_2, isMobileDevice_2, isNull_4, isNumber_10, isObject_18, isPercent_1, isPrimitive_1, isPromise_1, isPropSize_1, isSame_3, isSQLDate_1, isString_27, isSymbol_2, isTabletDevice_3, isURL_1, isValidDimension_2, isValidName_1, isValue_2, isVue_1, iterate_11, lightenDarkenHex_1, link_2, log_19, makeReactive_1, map_1, md5_4, money_1, move_1, multiorder_1, nl2br_1, numProperties_8, objectToFormData_2, order_1, outerHeight_1, outerWidth_1, percent_1, pickValue_1, post_2, postOut_1, printf_1, quotes2html_1, randomInt_2, randomString_1, removeAccents_4, removeEmpty_1, removeExtraSpaces_1, removeHtmlComments_2, removePrivateProp_2, removeTrailingChars_1, repeat_1, replaceAll_8, replaceSelection_1, resize_3, rgb2hex_1, riterate_1, roundDecimal_1, sanitize_1, search_6, selectElementText_1, selector_3, setCookie_1, setCssVar_1, setNavigationVars_2, setProp_1, setProperty_1, shorten_2, shortenObj_1, shuffle_1, simpleHash_2, simpleHash1_2, simpleHash2_2, chrono_1, stat_1, string2ArrayBuffer_1, submit_2, substr_16, sum_1, timestamp_1, toCSV_1, toggleFullScreen_1, translate_1, treatAjaxArguments_3, trim_2, uniqString_1, unique_2, upload_1, warning_2) {
5821
5821
  "use strict";
5822
5822
  Object.defineProperty(exports, "__esModule", { value: true });
5823
5823
  exports.bbn = void 0;
@@ -6050,7 +6050,7 @@
6050
6050
  dirName: dirName_2.dirName,
6051
6051
  download: download_1.download,
6052
6052
  downloadContent: downloadContent_2.downloadContent,
6053
- each: each_28.each,
6053
+ each: each_27.each,
6054
6054
  eraseCookie: eraseCookie_1.eraseCookie,
6055
6055
  error: error_4.error,
6056
6056
  escapeDquotes: escapeDquotes_1.escapeDquotes,
@@ -1,16 +1,15 @@
1
1
  import { removePrivateProp } from './removePrivateProp';
2
- import { each } from './each';
3
2
  const iterate = function (obj, fn, noPrivate = false, reverse = false) {
4
3
  if (obj !== null && typeof obj === 'object') {
5
4
  let iter = Object.keys(noPrivate ? removePrivateProp(obj) : obj);
6
5
  if (reverse) {
7
6
  iter.reverse();
8
7
  }
9
- each(iter, (prop) => {
8
+ for (let prop of iter) {
10
9
  if (fn(obj[prop], prop) === false) {
11
- return false;
10
+ break;
12
11
  }
13
- });
12
+ }
14
13
  }
15
14
  return obj;
16
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",