@bbn/bbn 1.0.70 → 1.0.71

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
@@ -923,7 +923,7 @@
923
923
  };
924
924
  exports.db = db;
925
925
  });
926
- define("fn/ajax/_addLoader", ["require", "exports", "fn/string/substr"], function (require, exports, substr_2) {
926
+ define("fn/ajax/_addLoader", ["require", "exports", "fn/string/substr", "fn/browser/log"], function (require, exports, substr_2, log_5) {
927
927
  "use strict";
928
928
  Object.defineProperty(exports, "__esModule", { value: true });
929
929
  exports._addLoader = void 0;
@@ -942,7 +942,7 @@
942
942
  * @returns {Number} The timestamp (in ms)
943
943
  */
944
944
  const _addLoader = function (requestId, prom, source) {
945
- console.log('_addLoader', requestId);
945
+ (0, log_5.log)('_addLoader', requestId);
946
946
  /** @var {Number} tst Current timestamp */
947
947
  let tst = new Date().getTime();
948
948
  /** @var {String} url The original URL (part of requestId before : and md5) */
@@ -1023,7 +1023,7 @@
1023
1023
  };
1024
1024
  exports.getProperty = getProperty;
1025
1025
  });
1026
- define("fn/string/removeAccents", ["require", "exports", "fn/type/isString", "fn/browser/log"], function (require, exports, isString_3, log_5) {
1026
+ define("fn/string/removeAccents", ["require", "exports", "fn/type/isString", "fn/browser/log"], function (require, exports, isString_3, log_6) {
1027
1027
  "use strict";
1028
1028
  Object.defineProperty(exports, "__esModule", { value: true });
1029
1029
  exports.removeAccents = void 0;
@@ -1048,7 +1048,7 @@
1048
1048
  st = st.toString();
1049
1049
  }
1050
1050
  else {
1051
- (0, log_5.log)(st);
1051
+ (0, log_6.log)(st);
1052
1052
  throw new Error(bbn._("removeAccent expects a string"));
1053
1053
  }
1054
1054
  }
@@ -1380,7 +1380,7 @@
1380
1380
  };
1381
1381
  exports.isCp = isCp;
1382
1382
  });
1383
- define("fn/object/circularReplacer", ["require", "exports", "fn/type/isDom", "fn/type/isCp", "fn/browser/log"], function (require, exports, isDom_2, isCp_1, log_6) {
1383
+ define("fn/object/circularReplacer", ["require", "exports", "fn/type/isDom", "fn/type/isCp", "fn/browser/log"], function (require, exports, isDom_2, isCp_1, log_7) {
1384
1384
  "use strict";
1385
1385
  Object.defineProperty(exports, "__esModule", { value: true });
1386
1386
  exports.circularReplacer = void 0;
@@ -1408,7 +1408,7 @@
1408
1408
  }
1409
1409
  }
1410
1410
  else if ((0, isCp_1.isCp)(value)) {
1411
- (0, log_6.log)("IS CP");
1411
+ (0, log_7.log)("IS CP");
1412
1412
  value = "__BBN_CP__" + value.$options.name + "/" + value.$cid;
1413
1413
  }
1414
1414
  else {
@@ -1462,7 +1462,7 @@
1462
1462
  };
1463
1463
  exports.simpleHash = simpleHash;
1464
1464
  });
1465
- define("fn/string/hash", ["require", "exports", "fn/browser/log", "fn/type/isDom", "fn/type/isCp", "fn/object/circularReplacer", "fn/string/simpleHash"], function (require, exports, log_7, isDom_3, isCp_2, circularReplacer_1, simpleHash_1) {
1465
+ define("fn/string/hash", ["require", "exports", "fn/browser/log", "fn/type/isDom", "fn/type/isCp", "fn/object/circularReplacer", "fn/string/simpleHash"], function (require, exports, log_8, isDom_3, isCp_2, circularReplacer_1, simpleHash_1) {
1466
1466
  "use strict";
1467
1467
  Object.defineProperty(exports, "__esModule", { value: true });
1468
1468
  exports.hash = void 0;
@@ -1487,7 +1487,7 @@
1487
1487
  }
1488
1488
  }
1489
1489
  else if ((0, isCp_2.isCp)(value)) {
1490
- (0, log_7.log)("IS CP");
1490
+ (0, log_8.log)("IS CP");
1491
1491
  st += "__BBN_CP__" + value.$options.name + "/" + value.$cid;
1492
1492
  }
1493
1493
  else {
@@ -3051,21 +3051,21 @@
3051
3051
  };
3052
3052
  exports.defaultEndLoadingFunction = defaultEndLoadingFunction;
3053
3053
  });
3054
- define("fn/default/defaultAjaxErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_8) {
3054
+ define("fn/default/defaultAjaxErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_9) {
3055
3055
  "use strict";
3056
3056
  Object.defineProperty(exports, "__esModule", { value: true });
3057
3057
  exports.defaultAjaxErrorFunction = void 0;
3058
3058
  const defaultAjaxErrorFunction = function (jqXHR, textStatus, errorThrown) {
3059
- (0, log_8.log)(textStatus, errorThrown);
3059
+ (0, log_9.log)(textStatus, errorThrown);
3060
3060
  };
3061
3061
  exports.defaultAjaxErrorFunction = defaultAjaxErrorFunction;
3062
3062
  });
3063
- define("fn/default/defaultAjaxAbortFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_9) {
3063
+ define("fn/default/defaultAjaxAbortFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_10) {
3064
3064
  "use strict";
3065
3065
  Object.defineProperty(exports, "__esModule", { value: true });
3066
3066
  exports.defaultAjaxAbortFunction = void 0;
3067
3067
  const defaultAjaxAbortFunction = function (message, url = '') {
3068
- (0, log_9.log)(message);
3068
+ (0, log_10.log)(message);
3069
3069
  };
3070
3070
  exports.defaultAjaxAbortFunction = defaultAjaxAbortFunction;
3071
3071
  });
@@ -3750,7 +3750,7 @@
3750
3750
  };
3751
3751
  exports.defaultAlertFunction = defaultAlertFunction;
3752
3752
  });
3753
- define("fn/ajax/callback", ["require", "exports", "fn/browser/error", "fn/default/defaultLinkFunction", "fn/type/isFunction", "fn/browser/log", "fn/default/defaultPostLinkFunction", "fn/default/defaultAlertFunction"], function (require, exports, error_2, defaultLinkFunction_1, isFunction_4, log_10, defaultPostLinkFunction_1, defaultAlertFunction_1) {
3753
+ define("fn/ajax/callback", ["require", "exports", "fn/browser/error", "fn/default/defaultLinkFunction", "fn/type/isFunction", "fn/browser/log", "fn/default/defaultPostLinkFunction", "fn/default/defaultAlertFunction"], function (require, exports, error_2, defaultLinkFunction_1, isFunction_4, log_11, defaultPostLinkFunction_1, defaultAlertFunction_1) {
3754
3754
  "use strict";
3755
3755
  Object.defineProperty(exports, "__esModule", { value: true });
3756
3756
  exports.callback = void 0;
@@ -3837,7 +3837,7 @@
3837
3837
  }
3838
3838
  }
3839
3839
  catch (e) {
3840
- (0, log_10.log)(e, res);
3840
+ (0, log_11.log)(e, res);
3841
3841
  (0, error_2.error)((0, isFunction_4.isFunction)(e.getMessage) ? e.getMessage() : null);
3842
3842
  }
3843
3843
  return r;
@@ -4492,12 +4492,12 @@
4492
4492
  };
4493
4493
  exports.defaultConfirmFunction = defaultConfirmFunction;
4494
4494
  });
4495
- define("fn/default/defaultErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_11) {
4495
+ define("fn/default/defaultErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_12) {
4496
4496
  "use strict";
4497
4497
  Object.defineProperty(exports, "__esModule", { value: true });
4498
4498
  exports.defaultErrorFunction = void 0;
4499
4499
  const defaultErrorFunction = function (message) {
4500
- (0, log_11.log)(message);
4500
+ (0, log_12.log)(message);
4501
4501
  };
4502
4502
  exports.defaultErrorFunction = defaultErrorFunction;
4503
4503
  });
@@ -4892,7 +4892,7 @@
4892
4892
  };
4893
4893
  exports.isCanvas = isCanvas;
4894
4894
  });
4895
- define("fn/ajax/downloadContent", ["require", "exports", "fn/type/isCanvas", "fn/type/isObject", "fn/type/isString", "fn/browser/log"], function (require, exports, isCanvas_1, isObject_12, isString_11, log_12) {
4895
+ define("fn/ajax/downloadContent", ["require", "exports", "fn/type/isCanvas", "fn/type/isObject", "fn/type/isString", "fn/browser/log"], function (require, exports, isCanvas_1, isObject_12, isString_11, log_13) {
4896
4896
  "use strict";
4897
4897
  Object.defineProperty(exports, "__esModule", { value: true });
4898
4898
  exports.downloadContent = void 0;
@@ -4953,7 +4953,7 @@
4953
4953
  src = content;
4954
4954
  }
4955
4955
  catch (e) {
4956
- (0, log_12.log)(e);
4956
+ (0, log_13.log)(e);
4957
4957
  }
4958
4958
  }
4959
4959
  a.href = window.URL.createObjectURL(src);
@@ -5919,7 +5919,7 @@
5919
5919
  };
5920
5920
  exports.getDeviceType = getDeviceType;
5921
5921
  });
5922
- define("fn/html/getHTMLOfSelection", ["require", "exports", "fn/browser/log"], function (require, exports, log_13) {
5922
+ define("fn/html/getHTMLOfSelection", ["require", "exports", "fn/browser/log"], function (require, exports, log_14) {
5923
5923
  "use strict";
5924
5924
  Object.defineProperty(exports, "__esModule", { value: true });
5925
5925
  exports.getHTMLOfSelection = void 0;
@@ -5928,9 +5928,9 @@
5928
5928
  let selection = window.getSelection();
5929
5929
  if (selection.rangeCount > 0) {
5930
5930
  range = selection.getRangeAt(0);
5931
- (0, log_13.log)('RANGE', range);
5931
+ (0, log_14.log)('RANGE', range);
5932
5932
  let clonedSelection = range.cloneContents();
5933
- (0, log_13.log)('clonedSelection', clonedSelection);
5933
+ (0, log_14.log)('clonedSelection', clonedSelection);
5934
5934
  let div = document.createElement('div');
5935
5935
  div.appendChild(clonedSelection);
5936
5936
  return div.innerHTML;
@@ -6302,7 +6302,7 @@
6302
6302
  };
6303
6303
  exports.getTimeoff = getTimeoff;
6304
6304
  });
6305
- define("fn/browser/happy", ["require", "exports", "fn/browser/log"], function (require, exports, log_14) {
6305
+ define("fn/browser/happy", ["require", "exports", "fn/browser/log"], function (require, exports, log_15) {
6306
6306
  "use strict";
6307
6307
  Object.defineProperty(exports, "__esModule", { value: true });
6308
6308
  exports.happy = void 0;
@@ -6323,7 +6323,7 @@
6323
6323
  _bbn_console_level: 3,
6324
6324
  _bbn_console_style: 'color: white; background: green; font-size: 18px;',
6325
6325
  });
6326
- log_14.log.apply(this, args);
6326
+ log_15.log.apply(this, args);
6327
6327
  return this;
6328
6328
  };
6329
6329
  exports.happy = happy;
@@ -6435,7 +6435,7 @@
6435
6435
  };
6436
6436
  exports.imgToBase64 = imgToBase64;
6437
6437
  });
6438
- define("fn/browser/info", ["require", "exports", "fn/browser/log"], function (require, exports, log_15) {
6438
+ define("fn/browser/info", ["require", "exports", "fn/browser/log"], function (require, exports, log_16) {
6439
6439
  "use strict";
6440
6440
  Object.defineProperty(exports, "__esModule", { value: true });
6441
6441
  exports.info = void 0;
@@ -6453,7 +6453,7 @@
6453
6453
  _bbn_console_level: 4,
6454
6454
  _bbn_console_style: 'color: #EEE; background: blue; font-size: 12px;',
6455
6455
  });
6456
- log_15.log.apply(this, args);
6456
+ log_16.log.apply(this, args);
6457
6457
  return this;
6458
6458
  };
6459
6459
  exports.info = info;
@@ -6667,7 +6667,7 @@
6667
6667
  };
6668
6668
  exports.setNavigationVars = setNavigationVars;
6669
6669
  });
6670
- define("fn/ajax/link", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/getLoader", "fn/default/defaultPreLinkFunction", "fn/ajax/ajax", "fn/browser/log", "fn/type/isObject", "fn/ajax/callback", "fn/ajax/setNavigationVars"], function (require, exports, treatAjaxArguments_1, getLoader_3, defaultPreLinkFunction_1, ajax_2, log_16, isObject_15, callback_1, setNavigationVars_1) {
6670
+ define("fn/ajax/link", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/getLoader", "fn/default/defaultPreLinkFunction", "fn/ajax/ajax", "fn/browser/log", "fn/type/isObject", "fn/ajax/callback", "fn/ajax/setNavigationVars"], function (require, exports, treatAjaxArguments_1, getLoader_3, defaultPreLinkFunction_1, ajax_2, log_17, isObject_15, callback_1, setNavigationVars_1) {
6671
6671
  "use strict";
6672
6672
  Object.defineProperty(exports, "__esModule", { value: true });
6673
6673
  exports.link = void 0;
@@ -6765,12 +6765,12 @@
6765
6765
  let errSt = bbn._('The Ajax call to') + ' ' + cfg.url + ' ';
6766
6766
  return (0, ajax_2.ajax)(cfg.url, cfg.datatype, cfg.obj, function (res) {
6767
6767
  if (!res) {
6768
- (0, log_16.log)(errSt + bbn._('returned no answer'));
6768
+ (0, log_17.log)(errSt + bbn._('returned no answer'));
6769
6769
  }
6770
6770
  if ((0, isObject_15.isObject)(res)) {
6771
6771
  // If there's nothing in the result, just an empty object, the callback stops here and the URL is not changed
6772
6772
  if (Object.keys(res).length === 0) {
6773
- (0, log_16.log)(errSt + bbn._('returned an empty object'));
6773
+ (0, log_17.log)(errSt + bbn._('returned an empty object'));
6774
6774
  }
6775
6775
  if (res.new_url) {
6776
6776
  res.old_path = cfg.url;
@@ -6986,7 +6986,7 @@
6986
6986
  };
6987
6987
  exports.isMobile = isMobile;
6988
6988
  });
6989
- define("fn/init", ["require", "exports", "fn/string/substr", "fn/loop/each", "fn/object/extend", "fn/style/addColors", "fn/ajax/link", "fn/form/submit", "fn/style/resize", "fn/browser/isMobile", "fn/browser/isTabletDevice", "fn/default/defaultHistoryFunction", "fn/type/isFunction", "fn/browser/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_9, log_17) {
6989
+ define("fn/init", ["require", "exports", "fn/string/substr", "fn/loop/each", "fn/object/extend", "fn/style/addColors", "fn/ajax/link", "fn/form/submit", "fn/style/resize", "fn/browser/isMobile", "fn/browser/isTabletDevice", "fn/default/defaultHistoryFunction", "fn/type/isFunction", "fn/browser/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_9, log_18) {
6990
6990
  "use strict";
6991
6991
  Object.defineProperty(exports, "__esModule", { value: true });
6992
6992
  exports.init = void 0;
@@ -7153,7 +7153,7 @@
7153
7153
  bbn.env.isInit = true;
7154
7154
  document.dispatchEvent(new Event('bbninit'));
7155
7155
  if (bbn.env.logging) {
7156
- (0, log_17.log)('Logging in bbn is enabled');
7156
+ (0, log_18.log)('Logging in bbn is enabled');
7157
7157
  }
7158
7158
  }
7159
7159
  };
@@ -7836,7 +7836,7 @@
7836
7836
  };
7837
7837
  exports.lightenDarkenHex = lightenDarkenHex;
7838
7838
  });
7839
- define("fn/browser/warning", ["require", "exports", "fn/browser/log"], function (require, exports, log_18) {
7839
+ define("fn/browser/warning", ["require", "exports", "fn/browser/log"], function (require, exports, log_19) {
7840
7840
  "use strict";
7841
7841
  Object.defineProperty(exports, "__esModule", { value: true });
7842
7842
  exports.warning = void 0;
@@ -7860,11 +7860,11 @@
7860
7860
  _bbn_console_style: 'color: #E64141; background: #F7E195; font-size: 14px',
7861
7861
  };
7862
7862
  args.unshift(obj);
7863
- log_18.log.apply(this, args);
7863
+ log_19.log.apply(this, args);
7864
7864
  };
7865
7865
  exports.warning = warning;
7866
7866
  });
7867
- define("fn/html/makeReactive", ["require", "exports", "fn/browser/log", "fn/object/createObject", "fn/type/isSymbol", "fn/type/isNumber", "fn/type/isArray", "fn/browser/warning", "fn/type/isFunction", "fn/type/isSame"], function (require, exports, log_19, createObject_2, isSymbol_1, isNumber_8, isArray_13, warning_1, isFunction_10, isSame_2) {
7867
+ define("fn/html/makeReactive", ["require", "exports", "fn/browser/log", "fn/object/createObject", "fn/type/isSymbol", "fn/type/isNumber", "fn/type/isArray", "fn/browser/warning", "fn/type/isFunction", "fn/type/isSame"], function (require, exports, log_20, createObject_2, isSymbol_1, isNumber_8, isArray_13, warning_1, isFunction_10, isSame_2) {
7868
7868
  "use strict";
7869
7869
  Object.defineProperty(exports, "__esModule", { value: true });
7870
7870
  exports.makeReactive = void 0;
@@ -7876,7 +7876,7 @@
7876
7876
  return obj;
7877
7877
  }
7878
7878
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
7879
- (0, log_19.log)(['MAKING bbn-loadbar', obj]);
7879
+ (0, log_20.log)(['MAKING bbn-loadbar', obj]);
7880
7880
  }
7881
7881
  if (!obj.__bbnWatchers) {
7882
7882
  Reflect.defineProperty(obj, '__bbnWatchers', {
@@ -7900,7 +7900,7 @@
7900
7900
  return function (...args) {
7901
7901
  let res = realTarget[key](...args);
7902
7902
  (0, warning_1.warning)('DOING ARRAY STUFF');
7903
- (0, log_19.log)(target.__bbnParent);
7903
+ (0, log_20.log)(target.__bbnParent);
7904
7904
  onSet(target, 'length', parent);
7905
7905
  return res;
7906
7906
  };
@@ -7967,7 +7967,7 @@
7967
7967
  return Reflect.get(target, key);
7968
7968
  }
7969
7969
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
7970
- (0, log_19.log)(['Setting proxy prop in ' + parent.$options.name, target, key, value]);
7970
+ (0, log_20.log)(['Setting proxy prop in ' + parent.$options.name, target, key, value]);
7971
7971
  }
7972
7972
  if (!(0, isSame_2.isSame)(realTarget[key], value)) {
7973
7973
  if (key.indexOf('__bbn_') === 0) {
@@ -7995,7 +7995,7 @@
7995
7995
  }
7996
7996
  }
7997
7997
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
7998
- (0, log_19.log)([
7998
+ (0, log_20.log)([
7999
7999
  'Setting proxy prop in ' +
8000
8000
  parent.$options.name +
8001
8001
  ' ' +
@@ -9698,7 +9698,7 @@
9698
9698
  };
9699
9699
  exports.uniqString = uniqString;
9700
9700
  });
9701
- define("fn/ajax/upload", ["require", "exports", "fn/form/objectToFormData", "fn/browser/log"], function (require, exports, objectToFormData_1, log_20) {
9701
+ define("fn/ajax/upload", ["require", "exports", "fn/form/objectToFormData", "fn/browser/log"], function (require, exports, objectToFormData_1, log_21) {
9702
9702
  "use strict";
9703
9703
  Object.defineProperty(exports, "__esModule", { value: true });
9704
9704
  exports.upload = void 0;
@@ -9739,13 +9739,13 @@
9739
9739
  return fn()
9740
9740
  .then((res) => {
9741
9741
  if (success) {
9742
- (0, log_20.log)('SUCCESS', res);
9742
+ (0, log_21.log)('SUCCESS', res);
9743
9743
  success(res);
9744
9744
  }
9745
9745
  })
9746
9746
  .catch((err) => {
9747
9747
  if (failure) {
9748
- (0, log_20.log)('ERROR', err);
9748
+ (0, log_21.log)('ERROR', err);
9749
9749
  failure(err);
9750
9750
  }
9751
9751
  });
@@ -9753,7 +9753,7 @@
9753
9753
  };
9754
9754
  exports.upload = upload;
9755
9755
  });
9756
- define("fn", ["require", "exports", "fn/ajax/_addLoader", "fn/object/_compareValues", "fn/ajax/_deleteLoader", "fn/ajax/abort", "fn/ajax/abortURL", "fn/style/addColors", "fn/form/addInputs", "fn/style/addStyle", "fn/html/adjustHeight", "fn/html/adjustSize", "fn/html/adjustWidth", "fn/ajax/ajax", "fn/misc/analyzeFunction", "fn/style/animateCss", "fn/convert/arrayBuffer2String", "fn/object/arrayFromProp", "fn/object/autoExtend", "fn/string/baseName", "fn/string/br2nl", "fn/datetime/calendar", "fn/ajax/callback", "fn/string/camelize", "fn/string/camelToCss", "fn/convert/canvasToImage", "fn/style/center", "fn/object/checkProps", "fn/object/checkPropsDetails", "fn/object/checkPropsOrDie", "fn/type/checkType", "fn/object/circularReplacer", "fn/object/clone", "fn/convert/colorToHex", "fn/object/compare", "fn/object/compareConditions", "fn/browser/copy", "fn/string/correctCase", "fn/object/count", "fn/string/crc32", "fn/object/createObject", "fn/style/cssExists", "fn/datetime/date", "fn/datetime/dateSQL", "fn/datetime/daysInMonth", "fn/object/deepPath", "fn/default/defaultAjaxAbortFunction", "fn/default/defaultAjaxErrorFunction", "fn/default/defaultAlertFunction", "fn/default/defaultConfirmFunction", "fn/default/defaultEndLoadingFunction", "fn/default/defaultErrorFunction", "fn/default/defaultHistoryFunction", "fn/default/defaultLinkFunction", "fn/default/defaultPostLinkFunction", "fn/default/defaultPreLinkFunction", "fn/default/defaultResizeFunction", "fn/default/defaultStartLoadingFunction", "fn/object/deleteProp", "fn/object/diffObj", "fn/string/dirName", "fn/ajax/download", "fn/ajax/downloadContent", "fn/loop/each", "fn/browser/eraseCookie", "fn/browser/error", "fn/string/escapeDquotes", "fn/string/escapeRegExp", "fn/string/escapeSquotes", "fn/string/escapeTicks", "fn/string/escapeUrl", "fn/object/extend", "fn/object/extendOut", "fn/datetime/fdate", "fn/datetime/fdatetime", "fn/form/fieldValue", "fn/string/fileExt", "fn/object/filter", "fn/object/filterToConditions", "fn/object/findAll", "fn/loop/fori", "fn/loop/forir", "fn/string/format", "fn/string/formatBytes", "fn/datetime/formatDate", "fn/string/formatSize", "fn/form/formdata", "fn/convert/fromXml", "fn/datetime/ftime", "fn/html/getAllTags", "fn/html/getAncestors", "fn/html/getAttributes", "fn/browser/getBrowserName", "fn/browser/getBrowserVersion", "fn/browser/getCookie", "fn/style/getCssVar", "fn/datetime/getDay", "fn/browser/getDeviceType", "fn/browser/getEventData", "fn/object/getField", "fn/object/getFieldValues", "fn/html/getHtml", "fn/html/getHTMLOfSelection", "fn/ajax/getLoader", "fn/html/getPath", "fn/object/getProp", "fn/object/getProperty", "fn/ajax/getRequestId", "fn/object/getRow", "fn/style/getScrollBarSize", "fn/html/getText", "fn/misc/getTimeoff", "fn/browser/happy", "fn/string/hash", "fn/convert/hex2rgb", "fn/browser/history", "fn/html/html2text", "fn/convert/imageToCanvas", "fn/convert/imgToBase64", "fn/browser/info", "fn/init", "fn/browser/isActiveInterface", "fn/type/isArray", "fn/type/isBlob", "fn/type/isBoolean", "fn/type/isCanvas", "fn/type/isColor", "fn/type/isComment", "fn/type/isCp", "fn/type/isDate", "fn/browser/isDesktopDevice", "fn/type/isDimension", "fn/type/isDom", "fn/type/isEmail", "fn/type/isEmpty", "fn/type/isEvent", "fn/browser/isFocused", "fn/type/isFunction", "fn/type/isHostname", "fn/html/isInside", "fn/type/isInt", "fn/type/isIP", "fn/type/isIterable", "fn/browser/isMobile", "fn/browser/isMobileDevice", "fn/type/isNull", "fn/type/isNumber", "fn/type/isObject", "fn/type/isPercent", "fn/type/isPrimitive", "fn/type/isPromise", "fn/type/isPropSize", "fn/type/isSame", "fn/type/isSQLDate", "fn/type/isString", "fn/type/isSymbol", "fn/browser/isTabletDevice", "fn/type/isURL", "fn/type/isValidDimension", "fn/type/isValidName", "fn/type/isValue", "fn/type/isVue", "fn/loop/iterate", "fn/style/lightenDarkenHex", "fn/ajax/link", "fn/browser/log", "fn/html/makeReactive", "fn/object/map", "fn/string/md5", "fn/misc/money", "fn/object/move", "fn/object/multiorder", "fn/string/nl2br", "fn/object/numProperties", "fn/form/objectToFormData", "fn/object/order", "fn/style/outerHeight", "fn/style/outerWidth", "fn/misc/percent", "fn/object/pickValue", "fn/ajax/post", "fn/ajax/postOut", "fn/string/printf", "fn/string/quotes2html", "fn/misc/randomInt", "fn/string/randomString", "fn/string/removeAccents", "fn/object/removeEmpty", "fn/string/removeExtraSpaces", "fn/string/removeHtmlComments", "fn/object/removePrivateProp", "fn/string/removeTrailingChars", "fn/string/repeat", "fn/string/replaceAll", "fn/browser/replaceSelection", "fn/style/resize", "fn/convert/rgb2hex", "fn/loop/riterate", "fn/misc/roundDecimal", "fn/string/sanitize", "fn/object/search", "fn/browser/selectElementText", "fn/html/selector", "fn/browser/setCookie", "fn/style/setCssVar", "fn/ajax/setNavigationVars", "fn/object/setProp", "fn/object/setProperty", "fn/string/shorten", "fn/object/shortenObj", "fn/object/shuffle", "fn/string/simpleHash", "fn/string/simpleHash1", "fn/string/simpleHash2", "fn/datetime/chrono", "fn/convert/string2ArrayBuffer", "fn/form/submit", "fn/string/substr", "fn/object/sum", "fn/datetime/timestamp", "fn/convert/toCSV", "fn/browser/toggleFullScreen", "fn/misc/translate", "fn/ajax/treatAjaxArguments", "fn/string/trim", "fn/string/uniqString", "fn/object/unique", "fn/ajax/upload", "fn/browser/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_6, circularReplacer_2, clone_2, colorToHex_1, compare_2, 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_4, 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_11, 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_12, lightenDarkenHex_1, link_2, log_21, 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, 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) {
9756
+ define("fn", ["require", "exports", "fn/ajax/_addLoader", "fn/object/_compareValues", "fn/ajax/_deleteLoader", "fn/ajax/abort", "fn/ajax/abortURL", "fn/style/addColors", "fn/form/addInputs", "fn/style/addStyle", "fn/html/adjustHeight", "fn/html/adjustSize", "fn/html/adjustWidth", "fn/ajax/ajax", "fn/misc/analyzeFunction", "fn/style/animateCss", "fn/convert/arrayBuffer2String", "fn/object/arrayFromProp", "fn/object/autoExtend", "fn/string/baseName", "fn/string/br2nl", "fn/datetime/calendar", "fn/ajax/callback", "fn/string/camelize", "fn/string/camelToCss", "fn/convert/canvasToImage", "fn/style/center", "fn/object/checkProps", "fn/object/checkPropsDetails", "fn/object/checkPropsOrDie", "fn/type/checkType", "fn/object/circularReplacer", "fn/object/clone", "fn/convert/colorToHex", "fn/object/compare", "fn/object/compareConditions", "fn/browser/copy", "fn/string/correctCase", "fn/object/count", "fn/string/crc32", "fn/object/createObject", "fn/style/cssExists", "fn/datetime/date", "fn/datetime/dateSQL", "fn/datetime/daysInMonth", "fn/object/deepPath", "fn/default/defaultAjaxAbortFunction", "fn/default/defaultAjaxErrorFunction", "fn/default/defaultAlertFunction", "fn/default/defaultConfirmFunction", "fn/default/defaultEndLoadingFunction", "fn/default/defaultErrorFunction", "fn/default/defaultHistoryFunction", "fn/default/defaultLinkFunction", "fn/default/defaultPostLinkFunction", "fn/default/defaultPreLinkFunction", "fn/default/defaultResizeFunction", "fn/default/defaultStartLoadingFunction", "fn/object/deleteProp", "fn/object/diffObj", "fn/string/dirName", "fn/ajax/download", "fn/ajax/downloadContent", "fn/loop/each", "fn/browser/eraseCookie", "fn/browser/error", "fn/string/escapeDquotes", "fn/string/escapeRegExp", "fn/string/escapeSquotes", "fn/string/escapeTicks", "fn/string/escapeUrl", "fn/object/extend", "fn/object/extendOut", "fn/datetime/fdate", "fn/datetime/fdatetime", "fn/form/fieldValue", "fn/string/fileExt", "fn/object/filter", "fn/object/filterToConditions", "fn/object/findAll", "fn/loop/fori", "fn/loop/forir", "fn/string/format", "fn/string/formatBytes", "fn/datetime/formatDate", "fn/string/formatSize", "fn/form/formdata", "fn/convert/fromXml", "fn/datetime/ftime", "fn/html/getAllTags", "fn/html/getAncestors", "fn/html/getAttributes", "fn/browser/getBrowserName", "fn/browser/getBrowserVersion", "fn/browser/getCookie", "fn/style/getCssVar", "fn/datetime/getDay", "fn/browser/getDeviceType", "fn/browser/getEventData", "fn/object/getField", "fn/object/getFieldValues", "fn/html/getHtml", "fn/html/getHTMLOfSelection", "fn/ajax/getLoader", "fn/html/getPath", "fn/object/getProp", "fn/object/getProperty", "fn/ajax/getRequestId", "fn/object/getRow", "fn/style/getScrollBarSize", "fn/html/getText", "fn/misc/getTimeoff", "fn/browser/happy", "fn/string/hash", "fn/convert/hex2rgb", "fn/browser/history", "fn/html/html2text", "fn/convert/imageToCanvas", "fn/convert/imgToBase64", "fn/browser/info", "fn/init", "fn/browser/isActiveInterface", "fn/type/isArray", "fn/type/isBlob", "fn/type/isBoolean", "fn/type/isCanvas", "fn/type/isColor", "fn/type/isComment", "fn/type/isCp", "fn/type/isDate", "fn/browser/isDesktopDevice", "fn/type/isDimension", "fn/type/isDom", "fn/type/isEmail", "fn/type/isEmpty", "fn/type/isEvent", "fn/browser/isFocused", "fn/type/isFunction", "fn/type/isHostname", "fn/html/isInside", "fn/type/isInt", "fn/type/isIP", "fn/type/isIterable", "fn/browser/isMobile", "fn/browser/isMobileDevice", "fn/type/isNull", "fn/type/isNumber", "fn/type/isObject", "fn/type/isPercent", "fn/type/isPrimitive", "fn/type/isPromise", "fn/type/isPropSize", "fn/type/isSame", "fn/type/isSQLDate", "fn/type/isString", "fn/type/isSymbol", "fn/browser/isTabletDevice", "fn/type/isURL", "fn/type/isValidDimension", "fn/type/isValidName", "fn/type/isValue", "fn/type/isVue", "fn/loop/iterate", "fn/style/lightenDarkenHex", "fn/ajax/link", "fn/browser/log", "fn/html/makeReactive", "fn/object/map", "fn/string/md5", "fn/misc/money", "fn/object/move", "fn/object/multiorder", "fn/string/nl2br", "fn/object/numProperties", "fn/form/objectToFormData", "fn/object/order", "fn/style/outerHeight", "fn/style/outerWidth", "fn/misc/percent", "fn/object/pickValue", "fn/ajax/post", "fn/ajax/postOut", "fn/string/printf", "fn/string/quotes2html", "fn/misc/randomInt", "fn/string/randomString", "fn/string/removeAccents", "fn/object/removeEmpty", "fn/string/removeExtraSpaces", "fn/string/removeHtmlComments", "fn/object/removePrivateProp", "fn/string/removeTrailingChars", "fn/string/repeat", "fn/string/replaceAll", "fn/browser/replaceSelection", "fn/style/resize", "fn/convert/rgb2hex", "fn/loop/riterate", "fn/misc/roundDecimal", "fn/string/sanitize", "fn/object/search", "fn/browser/selectElementText", "fn/html/selector", "fn/browser/setCookie", "fn/style/setCssVar", "fn/ajax/setNavigationVars", "fn/object/setProp", "fn/object/setProperty", "fn/string/shorten", "fn/object/shortenObj", "fn/object/shuffle", "fn/string/simpleHash", "fn/string/simpleHash1", "fn/string/simpleHash2", "fn/datetime/chrono", "fn/convert/string2ArrayBuffer", "fn/form/submit", "fn/string/substr", "fn/object/sum", "fn/datetime/timestamp", "fn/convert/toCSV", "fn/browser/toggleFullScreen", "fn/misc/translate", "fn/ajax/treatAjaxArguments", "fn/string/trim", "fn/string/uniqString", "fn/object/unique", "fn/ajax/upload", "fn/browser/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_6, circularReplacer_2, clone_2, colorToHex_1, compare_2, 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_4, 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_11, 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_12, lightenDarkenHex_1, link_2, log_22, 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, 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) {
9757
9757
  "use strict";
9758
9758
  Object.defineProperty(exports, "__esModule", { value: true });
9759
9759
  exports.fn = void 0;
@@ -9921,7 +9921,7 @@
9921
9921
  iterate: iterate_12.iterate,
9922
9922
  lightenDarkenHex: lightenDarkenHex_1.lightenDarkenHex,
9923
9923
  link: link_2.link,
9924
- log: log_21.log,
9924
+ log: log_22.log,
9925
9925
  makeReactive: makeReactive_1.makeReactive,
9926
9926
  map: map_1.map,
9927
9927
  md5: md5_4.md5,
@@ -1,4 +1,5 @@
1
1
  import { substr } from "../string/substr";
2
+ import { log } from "../browser/log";
2
3
  /**
3
4
  * Creates and adds a "loader" object to the property bbn.env.loaders.
4
5
  *
@@ -14,7 +15,7 @@ import { substr } from "../string/substr";
14
15
  * @returns {Number} The timestamp (in ms)
15
16
  */
16
17
  const _addLoader = function (requestId, prom, source) {
17
- console.log('_addLoader', requestId);
18
+ log('_addLoader', requestId);
18
19
  /** @var {Number} tst Current timestamp */
19
20
  let tst = new Date().getTime();
20
21
  /** @var {String} url The original URL (part of requestId before : and md5) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",