@bbn/bbn 1.0.78 → 1.0.79

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
@@ -4514,11 +4514,12 @@
4514
4514
  };
4515
4515
  exports.defaultHistoryFunction = defaultHistoryFunction;
4516
4516
  });
4517
- define("fn/default/defaultPreLinkFunction", ["require", "exports"], function (require, exports) {
4517
+ define("fn/default/defaultPreLinkFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_13) {
4518
4518
  "use strict";
4519
4519
  Object.defineProperty(exports, "__esModule", { value: true });
4520
4520
  exports.defaultPreLinkFunction = void 0;
4521
4521
  const defaultPreLinkFunction = function (url, force, ele) {
4522
+ (0, log_13.log)("defaultPreLinkFunction", url, force, ele);
4522
4523
  return true;
4523
4524
  };
4524
4525
  exports.defaultPreLinkFunction = defaultPreLinkFunction;
@@ -4896,7 +4897,7 @@
4896
4897
  };
4897
4898
  exports.isCanvas = isCanvas;
4898
4899
  });
4899
- 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) {
4900
+ 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_14) {
4900
4901
  "use strict";
4901
4902
  Object.defineProperty(exports, "__esModule", { value: true });
4902
4903
  exports.downloadContent = void 0;
@@ -4957,7 +4958,7 @@
4957
4958
  src = content;
4958
4959
  }
4959
4960
  catch (e) {
4960
- (0, log_13.log)(e);
4961
+ (0, log_14.log)(e);
4961
4962
  }
4962
4963
  }
4963
4964
  a.href = window.URL.createObjectURL(src);
@@ -5923,7 +5924,7 @@
5923
5924
  };
5924
5925
  exports.getDeviceType = getDeviceType;
5925
5926
  });
5926
- define("fn/html/getHTMLOfSelection", ["require", "exports", "fn/browser/log"], function (require, exports, log_14) {
5927
+ define("fn/html/getHTMLOfSelection", ["require", "exports", "fn/browser/log"], function (require, exports, log_15) {
5927
5928
  "use strict";
5928
5929
  Object.defineProperty(exports, "__esModule", { value: true });
5929
5930
  exports.getHTMLOfSelection = void 0;
@@ -5932,9 +5933,9 @@
5932
5933
  let selection = window.getSelection();
5933
5934
  if (selection.rangeCount > 0) {
5934
5935
  range = selection.getRangeAt(0);
5935
- (0, log_14.log)('RANGE', range);
5936
+ (0, log_15.log)('RANGE', range);
5936
5937
  let clonedSelection = range.cloneContents();
5937
- (0, log_14.log)('clonedSelection', clonedSelection);
5938
+ (0, log_15.log)('clonedSelection', clonedSelection);
5938
5939
  let div = document.createElement('div');
5939
5940
  div.appendChild(clonedSelection);
5940
5941
  return div.innerHTML;
@@ -6306,7 +6307,7 @@
6306
6307
  };
6307
6308
  exports.getTimeoff = getTimeoff;
6308
6309
  });
6309
- define("fn/browser/happy", ["require", "exports", "fn/browser/log"], function (require, exports, log_15) {
6310
+ define("fn/browser/happy", ["require", "exports", "fn/browser/log"], function (require, exports, log_16) {
6310
6311
  "use strict";
6311
6312
  Object.defineProperty(exports, "__esModule", { value: true });
6312
6313
  exports.happy = void 0;
@@ -6327,7 +6328,7 @@
6327
6328
  _bbn_console_level: 3,
6328
6329
  _bbn_console_style: 'color: white; background: green; font-size: 18px;',
6329
6330
  });
6330
- log_15.log.apply(this, args);
6331
+ log_16.log.apply(this, args);
6331
6332
  return this;
6332
6333
  };
6333
6334
  exports.happy = happy;
@@ -6439,7 +6440,7 @@
6439
6440
  };
6440
6441
  exports.imgToBase64 = imgToBase64;
6441
6442
  });
6442
- define("fn/browser/info", ["require", "exports", "fn/browser/log"], function (require, exports, log_16) {
6443
+ define("fn/browser/info", ["require", "exports", "fn/browser/log"], function (require, exports, log_17) {
6443
6444
  "use strict";
6444
6445
  Object.defineProperty(exports, "__esModule", { value: true });
6445
6446
  exports.info = void 0;
@@ -6457,7 +6458,7 @@
6457
6458
  _bbn_console_level: 4,
6458
6459
  _bbn_console_style: 'color: #EEE; background: blue; font-size: 12px;',
6459
6460
  });
6460
- log_16.log.apply(this, args);
6461
+ log_17.log.apply(this, args);
6461
6462
  return this;
6462
6463
  };
6463
6464
  exports.info = info;
@@ -6671,7 +6672,7 @@
6671
6672
  };
6672
6673
  exports.setNavigationVars = setNavigationVars;
6673
6674
  });
6674
- define("fn/ajax/link", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/getLoader", "fn/default/defaultPreLinkFunction", "fn/ajax/ajax", "fn/browser/log", "fn/object/extend", "fn/type/isObject", "fn/ajax/callback", "fn/ajax/setNavigationVars"], function (require, exports, treatAjaxArguments_1, getLoader_3, defaultPreLinkFunction_1, ajax_2, log_17, extend_6, isObject_15, callback_1, setNavigationVars_1) {
6675
+ define("fn/ajax/link", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/getLoader", "fn/default/defaultPreLinkFunction", "fn/ajax/ajax", "fn/browser/log", "fn/object/extend", "fn/type/isObject", "fn/ajax/callback", "fn/ajax/setNavigationVars"], function (require, exports, treatAjaxArguments_1, getLoader_3, defaultPreLinkFunction_1, ajax_2, log_18, extend_6, isObject_15, callback_1, setNavigationVars_1) {
6675
6676
  "use strict";
6676
6677
  Object.defineProperty(exports, "__esModule", { value: true });
6677
6678
  exports.link = void 0;
@@ -6767,12 +6768,12 @@
6767
6768
  let errSt = bbn._('The Ajax call to') + ' ' + cfg.url + ' ';
6768
6769
  return (0, ajax_2.ajax)(cfg.url, cfg.datatype, cfg.obj, function (res) {
6769
6770
  if (!res) {
6770
- (0, log_17.log)(errSt + bbn._('returned no answer'));
6771
+ (0, log_18.log)(errSt + bbn._('returned no answer'));
6771
6772
  }
6772
6773
  if ((0, isObject_15.isObject)(res)) {
6773
6774
  // If there's nothing in the result, just an empty object, the callback stops here and the URL is not changed
6774
6775
  if (Object.keys(res).length === 0) {
6775
- (0, log_17.log)(errSt + bbn._('returned an empty object'));
6776
+ (0, log_18.log)(errSt + bbn._('returned an empty object'));
6776
6777
  }
6777
6778
  if (res.new_url) {
6778
6779
  res.old_path = cfg.url;
@@ -6988,7 +6989,7 @@
6988
6989
  };
6989
6990
  exports.isMobile = isMobile;
6990
6991
  });
6991
- 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_7, addColors_1, link_1, submit_1, resize_1, isMobile_1, isTabletDevice_2, defaultHistoryFunction_1, isFunction_9, log_18) {
6992
+ 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_7, addColors_1, link_1, submit_1, resize_1, isMobile_1, isTabletDevice_2, defaultHistoryFunction_1, isFunction_9, log_19) {
6992
6993
  "use strict";
6993
6994
  Object.defineProperty(exports, "__esModule", { value: true });
6994
6995
  exports.init = void 0;
@@ -7155,7 +7156,7 @@
7155
7156
  bbn.env.isInit = true;
7156
7157
  document.dispatchEvent(new Event('bbninit'));
7157
7158
  if (bbn.env.logging) {
7158
- (0, log_18.log)('Logging in bbn is enabled');
7159
+ (0, log_19.log)('Logging in bbn is enabled');
7159
7160
  }
7160
7161
  }
7161
7162
  };
@@ -7838,7 +7839,7 @@
7838
7839
  };
7839
7840
  exports.lightenDarkenHex = lightenDarkenHex;
7840
7841
  });
7841
- define("fn/browser/warning", ["require", "exports", "fn/browser/log"], function (require, exports, log_19) {
7842
+ define("fn/browser/warning", ["require", "exports", "fn/browser/log"], function (require, exports, log_20) {
7842
7843
  "use strict";
7843
7844
  Object.defineProperty(exports, "__esModule", { value: true });
7844
7845
  exports.warning = void 0;
@@ -7862,11 +7863,11 @@
7862
7863
  _bbn_console_style: 'color: #E64141; background: #F7E195; font-size: 14px',
7863
7864
  };
7864
7865
  args.unshift(obj);
7865
- log_19.log.apply(this, args);
7866
+ log_20.log.apply(this, args);
7866
7867
  };
7867
7868
  exports.warning = warning;
7868
7869
  });
7869
- 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) {
7870
+ 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_21, createObject_2, isSymbol_1, isNumber_8, isArray_13, warning_1, isFunction_10, isSame_2) {
7870
7871
  "use strict";
7871
7872
  Object.defineProperty(exports, "__esModule", { value: true });
7872
7873
  exports.makeReactive = void 0;
@@ -7878,7 +7879,7 @@
7878
7879
  return obj;
7879
7880
  }
7880
7881
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
7881
- (0, log_20.log)(['MAKING bbn-loadbar', obj]);
7882
+ (0, log_21.log)(['MAKING bbn-loadbar', obj]);
7882
7883
  }
7883
7884
  if (!obj.__bbnWatchers) {
7884
7885
  Reflect.defineProperty(obj, '__bbnWatchers', {
@@ -7902,7 +7903,7 @@
7902
7903
  return function (...args) {
7903
7904
  let res = realTarget[key](...args);
7904
7905
  (0, warning_1.warning)('DOING ARRAY STUFF');
7905
- (0, log_20.log)(target.__bbnParent);
7906
+ (0, log_21.log)(target.__bbnParent);
7906
7907
  onSet(target, 'length', parent);
7907
7908
  return res;
7908
7909
  };
@@ -7969,7 +7970,7 @@
7969
7970
  return Reflect.get(target, key);
7970
7971
  }
7971
7972
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
7972
- (0, log_20.log)(['Setting proxy prop in ' + parent.$options.name, target, key, value]);
7973
+ (0, log_21.log)(['Setting proxy prop in ' + parent.$options.name, target, key, value]);
7973
7974
  }
7974
7975
  if (!(0, isSame_2.isSame)(realTarget[key], value)) {
7975
7976
  if (key.indexOf('__bbn_') === 0) {
@@ -7997,7 +7998,7 @@
7997
7998
  }
7998
7999
  }
7999
8000
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
8000
- (0, log_20.log)([
8001
+ (0, log_21.log)([
8001
8002
  'Setting proxy prop in ' +
8002
8003
  parent.$options.name +
8003
8004
  ' ' +
@@ -9709,7 +9710,7 @@
9709
9710
  };
9710
9711
  exports.uniqString = uniqString;
9711
9712
  });
9712
- define("fn/ajax/upload", ["require", "exports", "fn/form/objectToFormData", "fn/browser/log"], function (require, exports, objectToFormData_1, log_21) {
9713
+ define("fn/ajax/upload", ["require", "exports", "fn/form/objectToFormData", "fn/browser/log"], function (require, exports, objectToFormData_1, log_22) {
9713
9714
  "use strict";
9714
9715
  Object.defineProperty(exports, "__esModule", { value: true });
9715
9716
  exports.upload = void 0;
@@ -9750,13 +9751,13 @@
9750
9751
  return fn()
9751
9752
  .then((res) => {
9752
9753
  if (success) {
9753
- (0, log_21.log)('SUCCESS', res);
9754
+ (0, log_22.log)('SUCCESS', res);
9754
9755
  success(res);
9755
9756
  }
9756
9757
  })
9757
9758
  .catch((err) => {
9758
9759
  if (failure) {
9759
- (0, log_21.log)('ERROR', err);
9760
+ (0, log_22.log)('ERROR', err);
9760
9761
  failure(err);
9761
9762
  }
9762
9763
  });
@@ -9764,7 +9765,7 @@
9764
9765
  };
9765
9766
  exports.upload = upload;
9766
9767
  });
9767
- 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_8, 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) {
9768
+ 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_8, 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_23, 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) {
9768
9769
  "use strict";
9769
9770
  Object.defineProperty(exports, "__esModule", { value: true });
9770
9771
  exports.fn = void 0;
@@ -9932,7 +9933,7 @@
9932
9933
  iterate: iterate_12.iterate,
9933
9934
  lightenDarkenHex: lightenDarkenHex_1.lightenDarkenHex,
9934
9935
  link: link_2.link,
9935
- log: log_22.log,
9936
+ log: log_23.log,
9936
9937
  makeReactive: makeReactive_1.makeReactive,
9937
9938
  map: map_1.map,
9938
9939
  md5: md5_4.md5,
@@ -1,4 +1,6 @@
1
+ import { log } from '../browser/log';
1
2
  const defaultPreLinkFunction = function (url, force, ele) {
3
+ log("defaultPreLinkFunction", url, force, ele);
2
4
  return true;
3
5
  };
4
6
  export { defaultPreLinkFunction };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",