funda-ui 4.5.12 → 4.5.22

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.
@@ -329,6 +329,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
329
329
  return (/* binding */_actualPropertyValue
330
330
  );
331
331
  },
332
+ /* harmony export */"getElCSS": function getElCSS() {
333
+ return (/* binding */_getElCSS
334
+ );
335
+ },
332
336
  /* harmony export */"getTextTop": function getTextTop() {
333
337
  return (/* binding */_getTextTop
334
338
  );
@@ -431,7 +435,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
431
435
  el.style.visibility = visibility;
432
436
  return actualVal;
433
437
  }
434
- function getElCSS(input, prop, isNumber) {
438
+ function _getElCSS(input, prop, isNumber) {
435
439
  var _document$defaultView;
436
440
  var val = (_document$defaultView = document.defaultView) === null || _document$defaultView === void 0 ? void 0 : _document$defaultView.getComputedStyle(input, null).getPropertyValue(prop);
437
441
  return isNumber ? isNaN(parseFloat(val)) ? 0 : parseFloat(val) : val;
@@ -462,7 +466,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
462
466
  _faux.style.setProperty('margin', '0');
463
467
  _faux.style.setProperty('display', 'none');
464
468
  for (var i = 0; i < listOfModifiers.length; i++) {
465
- var propertyValue = getElCSS(_fauxContainer, listOfModifiers[i], false);
469
+ var propertyValue = _getElCSS(_fauxContainer, listOfModifiers[i], false);
466
470
  _faux.style.setProperty(listOfModifiers[i], propertyValue);
467
471
  }
468
472
  _faux.textContent = input.value.substring(0, _off).replace(/\s/g, "\xA0");
@@ -480,8 +484,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
480
484
  /***/
481
485
  },
482
486
 
483
- /***/85: /***/function _(module, exports, __nested_webpack_require_23494__) {
484
- /* module decorator */module = __nested_webpack_require_23494__.nmd(module);
487
+ /***/85: /***/function _(module, exports, __nested_webpack_require_23663__) {
488
+ /* module decorator */module = __nested_webpack_require_23663__.nmd(module);
485
489
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
486
490
  function _typeof(obj) {
487
491
  "@babel/helpers - typeof";
@@ -493,7 +497,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
493
497
  }, _typeof(obj);
494
498
  }
495
499
  (function webpackUniversalModuleDefinition(root, factory) {
496
- if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_23494__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_23494__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
500
+ if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_23663__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_23663__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
497
501
  })(this, function (__WEBPACK_EXTERNAL_MODULE__787__) {
498
502
  return (/******/function () {
499
503
  // webpackBootstrap
@@ -653,8 +657,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
653
657
  /***/
654
658
  },
655
659
 
656
- /***/702: /***/function _(module, exports, __nested_webpack_require_31582__) {
657
- /* module decorator */module = __nested_webpack_require_31582__.nmd(module);
660
+ /***/702: /***/function _(module, exports, __nested_webpack_require_31751__) {
661
+ /* module decorator */module = __nested_webpack_require_31751__.nmd(module);
658
662
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
659
663
  function _typeof(obj) {
660
664
  "@babel/helpers - typeof";
@@ -666,7 +670,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
666
670
  }, _typeof(obj);
667
671
  }
668
672
  (function webpackUniversalModuleDefinition(root, factory) {
669
- if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_31582__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_31582__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
673
+ if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory(__nested_webpack_require_31751__(787));else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__nested_webpack_require_31751__(787)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
670
674
  })(this, function (__WEBPACK_EXTERNAL_MODULE__787__) {
671
675
  return (/******/function () {
672
676
  // webpackBootstrap
@@ -867,7 +871,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
867
871
  /******/
868
872
  /******/ // The require function
869
873
  /******/
870
- function __nested_webpack_require_41203__(moduleId) {
874
+ function __nested_webpack_require_41372__(moduleId) {
871
875
  /******/ // Check if module is in cache
872
876
  /******/var cachedModule = __webpack_module_cache__[moduleId];
873
877
  /******/
@@ -886,7 +890,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
886
890
  /******/
887
891
  /******/ // Execute the module function
888
892
  /******/
889
- __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_41203__);
893
+ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_41372__);
890
894
  /******/
891
895
  /******/ // Flag the module as loaded
892
896
  /******/
@@ -903,14 +907,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
903
907
  /******/
904
908
  (function () {
905
909
  /******/ // getDefaultExport function for compatibility with non-harmony modules
906
- /******/__nested_webpack_require_41203__.n = function (module) {
910
+ /******/__nested_webpack_require_41372__.n = function (module) {
907
911
  /******/var getter = module && module.__esModule ? /******/function () {
908
912
  return module['default'];
909
913
  } : /******/function () {
910
914
  return module;
911
915
  };
912
916
  /******/
913
- __nested_webpack_require_41203__.d(getter, {
917
+ __nested_webpack_require_41372__.d(getter, {
914
918
  a: getter
915
919
  });
916
920
  /******/
@@ -924,9 +928,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
924
928
  /******/
925
929
  (function () {
926
930
  /******/ // define getter functions for harmony exports
927
- /******/__nested_webpack_require_41203__.d = function (exports, definition) {
931
+ /******/__nested_webpack_require_41372__.d = function (exports, definition) {
928
932
  /******/for (var key in definition) {
929
- /******/if (__nested_webpack_require_41203__.o(definition, key) && !__nested_webpack_require_41203__.o(exports, key)) {
933
+ /******/if (__nested_webpack_require_41372__.o(definition, key) && !__nested_webpack_require_41372__.o(exports, key)) {
930
934
  /******/Object.defineProperty(exports, key, {
931
935
  enumerable: true,
932
936
  get: definition[key]
@@ -943,7 +947,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
943
947
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
944
948
  /******/
945
949
  (function () {
946
- /******/__nested_webpack_require_41203__.o = function (obj, prop) {
950
+ /******/__nested_webpack_require_41372__.o = function (obj, prop) {
947
951
  return Object.prototype.hasOwnProperty.call(obj, prop);
948
952
  };
949
953
  /******/
@@ -953,7 +957,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
953
957
  /******/
954
958
  (function () {
955
959
  /******/ // define __esModule on exports
956
- /******/__nested_webpack_require_41203__.r = function (exports) {
960
+ /******/__nested_webpack_require_41372__.r = function (exports) {
957
961
  /******/if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
958
962
  /******/Object.defineProperty(exports, Symbol.toStringTag, {
959
963
  value: 'Module'
@@ -972,7 +976,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
972
976
  /******/ /* webpack/runtime/node module decorator */
973
977
  /******/
974
978
  (function () {
975
- /******/__nested_webpack_require_41203__.nmd = function (module) {
979
+ /******/__nested_webpack_require_41372__.nmd = function (module) {
976
980
  /******/module.paths = [];
977
981
  /******/
978
982
  if (!module.children) module.children = [];
@@ -989,34 +993,34 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
989
993
  (function () {
990
994
  "use strict";
991
995
 
992
- __nested_webpack_require_41203__.r(__webpack_exports__);
996
+ __nested_webpack_require_41372__.r(__webpack_exports__);
993
997
  /* harmony export */
994
- __nested_webpack_require_41203__.d(__webpack_exports__, {
998
+ __nested_webpack_require_41372__.d(__webpack_exports__, {
995
999
  /* harmony export */"default": function _default() {
996
1000
  return __WEBPACK_DEFAULT_EXPORT__;
997
1001
  }
998
1002
  /* harmony export */
999
1003
  });
1000
1004
  /* harmony import */
1001
- var react__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_41203__(787);
1005
+ var react__WEBPACK_IMPORTED_MODULE_0__ = __nested_webpack_require_41372__(787);
1002
1006
  /* harmony import */
1003
- var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_41203__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1007
+ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nested_webpack_require_41372__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1004
1008
  /* harmony import */
1005
- var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_41203__(85);
1009
+ var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1__ = __nested_webpack_require_41372__(85);
1006
1010
  /* harmony import */
1007
- var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_41203__.n(funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1__);
1011
+ var funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__nested_webpack_require_41372__.n(funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_1__);
1008
1012
  /* harmony import */
1009
- var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_41203__(188);
1013
+ var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2__ = __nested_webpack_require_41372__(188);
1010
1014
  /* harmony import */
1011
- var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_41203__.n(funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2__);
1015
+ var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nested_webpack_require_41372__.n(funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_2__);
1012
1016
  /* harmony import */
1013
- var funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_41203__(954);
1017
+ var funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_3__ = __nested_webpack_require_41372__(954);
1014
1018
  /* harmony import */
1015
- var funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_41203__.n(funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_3__);
1019
+ var funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__nested_webpack_require_41372__.n(funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_3__);
1016
1020
  /* harmony import */
1017
- var funda_utils_dist_cjs_useDebounce__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_41203__(702);
1021
+ var funda_utils_dist_cjs_useDebounce__WEBPACK_IMPORTED_MODULE_4__ = __nested_webpack_require_41372__(702);
1018
1022
  /* harmony import */
1019
- var funda_utils_dist_cjs_useDebounce__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_41203__.n(funda_utils_dist_cjs_useDebounce__WEBPACK_IMPORTED_MODULE_4__);
1023
+ var funda_utils_dist_cjs_useDebounce__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__nested_webpack_require_41372__.n(funda_utils_dist_cjs_useDebounce__WEBPACK_IMPORTED_MODULE_4__);
1020
1024
  var _excluded = ["contentRef", "wrapperClassName", "controlClassName", "controlExClassName", "controlGroupWrapperClassName", "controlGroupTextClassName", "type", "disabled", "required", "placeholder", "pattern", "readOnly", "defaultValue", "value", "requiredLabel", "label", "units", "name", "step", "min", "max", "src", "size", "minLength", "maxLength", "alt", "inputMode", "id", "appendControl", "aiPredict", "aiPredictRemainingTextRGB", "aiPredictConfirmKey", "aiPredictFetchFuncAsync", "aiPredictFetchFuncMethod", "aiPredictFetchFuncMethodParams", "aiPredictFetchCallback", "iconLeft", "iconRight", "autoComplete", "autoCapitalize", "spellCheck", "style", "tabIndex", "onChangeCallback", "onInputCallback", "onKeyPressedCallback", "onChange", "onBlur", "onFocus", "onPressEnter"];
1021
1025
  function _regeneratorRuntime() {
1022
1026
  "use strict";
@@ -1626,6 +1626,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1626
1626
  return (/* binding */_actualPropertyValue
1627
1627
  );
1628
1628
  },
1629
+ /* harmony export */"getElCSS": function getElCSS() {
1630
+ return (/* binding */_getElCSS
1631
+ );
1632
+ },
1629
1633
  /* harmony export */"getTextTop": function getTextTop() {
1630
1634
  return (/* binding */_getTextTop
1631
1635
  );
@@ -1728,7 +1732,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1728
1732
  el.style.visibility = visibility;
1729
1733
  return actualVal;
1730
1734
  }
1731
- function getElCSS(input, prop, isNumber) {
1735
+ function _getElCSS(input, prop, isNumber) {
1732
1736
  var _document$defaultView;
1733
1737
  var val = (_document$defaultView = document.defaultView) === null || _document$defaultView === void 0 ? void 0 : _document$defaultView.getComputedStyle(input, null).getPropertyValue(prop);
1734
1738
  return isNumber ? isNaN(parseFloat(val)) ? 0 : parseFloat(val) : val;
@@ -1759,7 +1763,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1759
1763
  _faux.style.setProperty('margin', '0');
1760
1764
  _faux.style.setProperty('display', 'none');
1761
1765
  for (var i = 0; i < listOfModifiers.length; i++) {
1762
- var propertyValue = getElCSS(_fauxContainer, listOfModifiers[i], false);
1766
+ var propertyValue = _getElCSS(_fauxContainer, listOfModifiers[i], false);
1763
1767
  _faux.style.setProperty(listOfModifiers[i], propertyValue);
1764
1768
  }
1765
1769
  _faux.textContent = input.value.substring(0, _off).replace(/\s/g, "\xA0");
@@ -645,18 +645,22 @@ var Tabs = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_am
645
645
 
646
646
  //
647
647
  Array.prototype.forEach.call($li, function (node) {
648
- node.classList.remove('active');
649
- node.firstChild.classList.remove('active');
650
- runExClassName(node, _classNameNav, 'remove');
651
- runExClassName(node.firstChild, _classNameNav, 'remove');
648
+ if (node !== null) {
649
+ node.classList.remove('active');
650
+ node.firstChild.classList.remove('active');
651
+ runExClassName(node, _classNameNav, 'remove');
652
+ runExClassName(node.firstChild, _classNameNav, 'remove');
653
+ }
652
654
  });
653
655
  $allContent.forEach(function (node) {
654
- //
655
- elDisplay('hide', node);
656
- setTimeout(function () {
657
- node.classList.remove('active');
658
- runExClassName(node, _classNamePanel, 'remove');
659
- }, speed);
656
+ if (node !== null) {
657
+ //
658
+ elDisplay('hide', node);
659
+ setTimeout(function () {
660
+ node.classList.remove('active');
661
+ runExClassName(node, _classNamePanel, 'remove');
662
+ }, speed);
663
+ }
660
664
  });
661
665
 
662
666
  // currently active
@@ -304,6 +304,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
304
304
  return (/* binding */_actualPropertyValue
305
305
  );
306
306
  },
307
+ /* harmony export */"getElCSS": function getElCSS() {
308
+ return (/* binding */_getElCSS
309
+ );
310
+ },
307
311
  /* harmony export */"getTextTop": function getTextTop() {
308
312
  return (/* binding */_getTextTop
309
313
  );
@@ -406,7 +410,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
406
410
  el.style.visibility = visibility;
407
411
  return actualVal;
408
412
  }
409
- function getElCSS(input, prop, isNumber) {
413
+ function _getElCSS(input, prop, isNumber) {
410
414
  var _document$defaultView;
411
415
  var val = (_document$defaultView = document.defaultView) === null || _document$defaultView === void 0 ? void 0 : _document$defaultView.getComputedStyle(input, null).getPropertyValue(prop);
412
416
  return isNumber ? isNaN(parseFloat(val)) ? 0 : parseFloat(val) : val;
@@ -437,7 +441,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
437
441
  _faux.style.setProperty('margin', '0');
438
442
  _faux.style.setProperty('display', 'none');
439
443
  for (var i = 0; i < listOfModifiers.length; i++) {
440
- var propertyValue = getElCSS(_fauxContainer, listOfModifiers[i], false);
444
+ var propertyValue = _getElCSS(_fauxContainer, listOfModifiers[i], false);
441
445
  _faux.style.setProperty(listOfModifiers[i], propertyValue);
442
446
  }
443
447
  _faux.textContent = input.value.substring(0, _off).replace(/\s/g, "\xA0");
@@ -665,6 +665,239 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
665
665
 
666
666
  /***/ }),
667
667
 
668
+ /***/ 954:
669
+ /***/ (function(module, exports, __webpack_require__) {
670
+
671
+ /* module decorator */ module = __webpack_require__.nmd(module);
672
+ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
673
+ (function webpackUniversalModuleDefinition(root, factory) {
674
+ if (( false ? 0 : _typeof(exports)) === 'object' && ( false ? 0 : _typeof(module)) === 'object') module.exports = factory();else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
675
+ __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
676
+ (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
677
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else {}
678
+ })(this, function () {
679
+ return (/******/function () {
680
+ // webpackBootstrap
681
+ /******/
682
+ "use strict";
683
+
684
+ /******/ // The require scope
685
+ /******/
686
+ var __nested_webpack_require_987__ = {};
687
+ /******/
688
+ /************************************************************************/
689
+ /******/ /* webpack/runtime/define property getters */
690
+ /******/
691
+ (function () {
692
+ /******/ // define getter functions for harmony exports
693
+ /******/__nested_webpack_require_987__.d = function (exports, definition) {
694
+ /******/for (var key in definition) {
695
+ /******/if (__nested_webpack_require_987__.o(definition, key) && !__nested_webpack_require_987__.o(exports, key)) {
696
+ /******/Object.defineProperty(exports, key, {
697
+ enumerable: true,
698
+ get: definition[key]
699
+ });
700
+ /******/
701
+ }
702
+ /******/
703
+ }
704
+ /******/
705
+ };
706
+ /******/
707
+ })();
708
+ /******/
709
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
710
+ /******/
711
+ (function () {
712
+ /******/__nested_webpack_require_987__.o = function (obj, prop) {
713
+ return Object.prototype.hasOwnProperty.call(obj, prop);
714
+ };
715
+ /******/
716
+ })();
717
+ /******/
718
+ /******/ /* webpack/runtime/make namespace object */
719
+ /******/
720
+ (function () {
721
+ /******/ // define __esModule on exports
722
+ /******/__nested_webpack_require_987__.r = function (exports) {
723
+ /******/if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {
724
+ /******/Object.defineProperty(exports, Symbol.toStringTag, {
725
+ value: 'Module'
726
+ });
727
+ /******/
728
+ }
729
+ /******/
730
+ Object.defineProperty(exports, '__esModule', {
731
+ value: true
732
+ });
733
+ /******/
734
+ };
735
+ /******/
736
+ })();
737
+ /******/
738
+ /************************************************************************/
739
+ var __webpack_exports__ = {};
740
+ __nested_webpack_require_987__.r(__webpack_exports__);
741
+ /* harmony export */
742
+ __nested_webpack_require_987__.d(__webpack_exports__, {
743
+ /* harmony export */"actualPropertyValue": function actualPropertyValue() {
744
+ return (/* binding */_actualPropertyValue
745
+ );
746
+ },
747
+ /* harmony export */"getElCSS": function getElCSS() {
748
+ return (/* binding */_getElCSS
749
+ );
750
+ },
751
+ /* harmony export */"getTextTop": function getTextTop() {
752
+ return (/* binding */_getTextTop
753
+ );
754
+ },
755
+ /* harmony export */"getTextWidth": function getTextWidth() {
756
+ return (/* binding */_getTextWidth
757
+ );
758
+ }
759
+ /* harmony export */
760
+ });
761
+ /**
762
+ * Gets the relative upside of the text
763
+ * @param {Element} el - A DOM node containing one selector to match against.
764
+ * @returns {Number} - Returns a pure number.
765
+ */
766
+ function _getTextTop(el) {
767
+ var styles = window.getComputedStyle(el);
768
+ var fontSize = parseFloat(styles.fontSize);
769
+ var lineHeight = parseFloat(styles.lineHeight) || fontSize;
770
+ var paddingTop = parseFloat(styles.paddingTop);
771
+ var borderWidth = parseFloat(styles.borderWidth);
772
+ var textTop = paddingTop + (lineHeight - fontSize) / 2 - borderWidth * 2;
773
+ return textTop;
774
+ }
775
+
776
+ /**
777
+ * Get the actual value with user specific methed
778
+ * it can be 'width', 'height', 'outerWidth', 'outerHeight'
779
+ * @private
780
+ * @param {Element} el - A DOM node containing one selector to match against.
781
+ * @param {String} prop - A string naming the property of style.
782
+ * @param {?Json} config - Whether or not margin is included. The key `includeMargin`
783
+ takes effect when set to true
784
+ * @return {Number} - Returns a pure number.
785
+ */
786
+ function _actualPropertyValue(el, prop) {
787
+ var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
788
+ if (el === null) return 0;
789
+ var style = window.getComputedStyle ? window.getComputedStyle(el) : el.currentStyle,
790
+ display = style.display,
791
+ position = style.position,
792
+ visibility = style.visibility;
793
+ var marginWidth = 0;
794
+ var marginHeight = 0;
795
+ var maxVal;
796
+ var actualVal;
797
+ if (config && config.includeMargin === true) {
798
+ marginWidth = parseFloat(style.marginLeft) + parseFloat(style.marginRight);
799
+ marginHeight = parseFloat(style.marginTop) + parseFloat(style.marginBottom);
800
+ }
801
+ if (prop === 'fontSize') {
802
+ actualVal = parseFloat(style.fontSize);
803
+ }
804
+ if (prop === 'fontFamily') {
805
+ actualVal = style.fontFamily;
806
+ }
807
+ if (prop === 'letterSpacing') {
808
+ actualVal = style.letterSpacing;
809
+ }
810
+ if (prop === 'width') {
811
+ maxVal = parseFloat(style.maxWidth);
812
+
813
+ // if its not hidden we just return normal height
814
+ if (display !== 'none' && maxVal !== 0) {
815
+ return el.clientWidth;
816
+ }
817
+ }
818
+ if (prop === 'height') {
819
+ maxVal = parseFloat(style.maxHeight);
820
+ if (display !== 'none' && maxVal !== 0) {
821
+ return el.clientHeight;
822
+ }
823
+ }
824
+ if (prop === 'outerWidth') {
825
+ maxVal = parseFloat(style.maxWidth);
826
+ if (display !== 'none' && maxVal !== 0) {
827
+ return el.offsetWidth + marginWidth;
828
+ }
829
+ }
830
+ if (prop === 'outerHeight') {
831
+ maxVal = parseFloat(style.maxHeight);
832
+ if (display !== 'none' && maxVal !== 0) {
833
+ return el.offsetHeight + marginHeight;
834
+ }
835
+ }
836
+
837
+ // the element is hidden so:
838
+ // making the el block so we can meassure its height but still be hidden
839
+ el.style.position = 'absolute';
840
+ el.style.visibility = 'hidden';
841
+ el.style.display = 'block';
842
+ if (prop === 'width') actualVal = el.clientWidth;
843
+ if (prop === 'height') actualVal = el.clientHeight;
844
+ if (prop === 'outerWidth') actualVal = el.offsetWidth + marginWidth;
845
+ if (prop === 'outerHeight') actualVal = el.offsetHeight + marginHeight;
846
+
847
+ // reverting to the original values
848
+ el.style.display = display;
849
+ el.style.position = position;
850
+ el.style.visibility = visibility;
851
+ return actualVal;
852
+ }
853
+ function _getElCSS(input, prop, isNumber) {
854
+ var _document$defaultView;
855
+ var val = (_document$defaultView = document.defaultView) === null || _document$defaultView === void 0 ? void 0 : _document$defaultView.getComputedStyle(input, null).getPropertyValue(prop);
856
+ return isNumber ? isNaN(parseFloat(val)) ? 0 : parseFloat(val) : val;
857
+ }
858
+
859
+ /**
860
+ * Get cursor or text position in pixels for input element
861
+ *
862
+ * @param {HTMLInputElement} input Required HTMLElement with `value` attribute
863
+ * @param {HTMLSpanElement} fauxContainer Container of faux.
864
+ * @param {HTMLElement} rawTextContainer The raw text container for the comparison
865
+ * @returns {Number}
866
+ */
867
+
868
+ function _getTextWidth(input, fauxContainer, rawTextContainer) {
869
+ if (input === null || fauxContainer === null || rawTextContainer === null) return 0;
870
+ var _off = input.selectionStart;
871
+ var _faux = fauxContainer;
872
+ var _fauxContainer = rawTextContainer;
873
+ if (_faux && _fauxContainer) {
874
+ // Styles to simulate a node in an input field
875
+ // use pre-wrap instead of wrap for white-space to support wrapping in textareas
876
+ var listOfModifiers = ['direction', 'font-family', 'font-size', 'font-size-adjust', 'font-variant', 'font-weight', 'font-style', 'letter-spacing', 'line-height', 'text-align', 'text-indent', 'text-transform', 'word-wrap', 'word-spacing'];
877
+
878
+ // default styles
879
+ _faux.style.setProperty('white-space', 'pre-wrap');
880
+ _faux.style.setProperty('padding', '0');
881
+ _faux.style.setProperty('margin', '0');
882
+ _faux.style.setProperty('display', 'none');
883
+ for (var i = 0; i < listOfModifiers.length; i++) {
884
+ var propertyValue = _getElCSS(_fauxContainer, listOfModifiers[i], false);
885
+ _faux.style.setProperty(listOfModifiers[i], propertyValue);
886
+ }
887
+ _faux.textContent = input.value.substring(0, _off).replace(/\s/g, "\xA0");
888
+ return _actualPropertyValue(_faux, 'outerWidth');
889
+ }
890
+ }
891
+
892
+ /******/
893
+ return __webpack_exports__;
894
+ /******/
895
+ }()
896
+ );
897
+ });
898
+
899
+ /***/ }),
900
+
668
901
  /***/ 761:
669
902
  /***/ (function(module, exports, __webpack_require__) {
670
903
 
@@ -1189,6 +1422,8 @@ __webpack_require__.r(__webpack_exports__);
1189
1422
  /* harmony import */ var funda_utils_dist_cjs_getElementProperty__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(funda_utils_dist_cjs_getElementProperty__WEBPACK_IMPORTED_MODULE_4__);
1190
1423
  /* harmony import */ var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(188);
1191
1424
  /* harmony import */ var funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(funda_utils_dist_cjs_cls__WEBPACK_IMPORTED_MODULE_5__);
1425
+ /* harmony import */ var funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(954);
1426
+ /* harmony import */ var funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_6__);
1192
1427
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1193
1428
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1194
1429
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -1201,6 +1436,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
1201
1436
 
1202
1437
 
1203
1438
 
1439
+
1204
1440
  var useContainerDimensions = function useContainerDimensions(myRef) {
1205
1441
  var _useState = useState({
1206
1442
  width: 0,
@@ -1240,7 +1476,7 @@ var Tooltip = function Tooltip(props) {
1240
1476
  content = props.content,
1241
1477
  id = props.id,
1242
1478
  children = props.children;
1243
- var POS_OFFSET = Number(offset) || 10;
1479
+ var POS_OFFSET = Number(offset) || 4;
1244
1480
  var EXCEEDED_SIDE_POS_OFFSET = Number(exceededSidePosOffset) || 15;
1245
1481
  var uniqueID = funda_utils_dist_cjs_useComId__WEBPACK_IMPORTED_MODULE_2___default()();
1246
1482
  var idRes = id || uniqueID;
@@ -1311,7 +1547,23 @@ var Tooltip = function Tooltip(props) {
1311
1547
  var _modalContent = _modalRef.querySelector('.tooltip__content');
1312
1548
  var _modalBox = _modalContent.getBoundingClientRect();
1313
1549
  if (typeof _modalContent.dataset.offset === 'undefined' && _modalBox.left > 0) {
1550
+ // Adjust the coordinates due to height
1551
+ //------------------
1552
+ var triggerEl = document.querySelector("[data-overlay-id=\"".concat(_modalRef.id, "\"]"));
1553
+ if (triggerEl !== null) {
1554
+ var pos = triggerEl.dataset.microtipPosition;
1555
+ if (typeof pos === 'undefined') pos = 'top';
1556
+ var _offsetY = _modalBox.height - (0,funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_6__.getElCSS)(_modalContent, 'font-size', true) - (0,funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_6__.getElCSS)(_modalContent, 'padding-top', true) - (0,funda_utils_dist_cjs_inputsCalculation__WEBPACK_IMPORTED_MODULE_6__.getElCSS)(_modalContent, 'padding-bottom', true);
1557
+
1558
+ // TOP
1559
+ //
1560
+ if (pos.indexOf('top') >= 0) {
1561
+ _modalRef.style.transform = "translateY(-".concat(_offsetY, "px)");
1562
+ }
1563
+ }
1564
+
1314
1565
  // 10 pixels is used to account for some bias in mobile devices
1566
+ //------------------
1315
1567
  if (_modalBox.right + 10 > window.innerWidth) {
1316
1568
  var _modalOffsetPosition = _modalBox.right - window.innerWidth + EXCEEDED_SIDE_POS_OFFSET;
1317
1569
  _modalContent.dataset.offset = _modalOffsetPosition;
@@ -15,6 +15,7 @@ declare function getTextTop(el: HTMLElement): number;
15
15
  * @return {Number} - Returns a pure number.
16
16
  */
17
17
  declare function actualPropertyValue(el: any, prop: string, config?: any): any;
18
+ declare function getElCSS(input: HTMLElement, prop: any, isNumber: boolean): any;
18
19
  /**
19
20
  * Get cursor or text position in pixels for input element
20
21
  *
@@ -24,4 +25,4 @@ declare function actualPropertyValue(el: any, prop: string, config?: any): any;
24
25
  * @returns {Number}
25
26
  */
26
27
  declare function getTextWidth(input: HTMLInputElement, fauxContainer: HTMLSpanElement, rawTextContainer: HTMLElement): any;
27
- export { getTextTop, actualPropertyValue, getTextWidth };
28
+ export { getElCSS, getTextTop, actualPropertyValue, getTextWidth };
@@ -47,6 +47,7 @@ var __webpack_exports__ = {};
47
47
  __webpack_require__.r(__webpack_exports__);
48
48
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
49
49
  /* harmony export */ "actualPropertyValue": () => (/* binding */ actualPropertyValue),
50
+ /* harmony export */ "getElCSS": () => (/* binding */ getElCSS),
50
51
  /* harmony export */ "getTextTop": () => (/* binding */ getTextTop),
51
52
  /* harmony export */ "getTextWidth": () => (/* binding */ getTextWidth)
52
53
  /* harmony export */ });
@@ -122,24 +122,27 @@ const Tabs = forwardRef((props: TabsProps, externalRef: any) => {
122
122
 
123
123
  //
124
124
  Array.prototype.forEach.call($li, (node) => {
125
- node.classList.remove('active');
126
- node.firstChild.classList.remove('active');
125
+ if (node !== null) {
126
+ node.classList.remove('active');
127
+ node.firstChild.classList.remove('active');
127
128
 
128
- runExClassName(node, _classNameNav, 'remove');
129
- runExClassName(node.firstChild, _classNameNav, 'remove');
129
+ runExClassName(node, _classNameNav, 'remove');
130
+ runExClassName(node.firstChild, _classNameNav, 'remove');
131
+ }
130
132
  });
131
133
 
132
134
 
133
135
 
134
- $allContent.forEach( (node) => {
135
- //
136
- elDisplay('hide', node);
137
-
136
+ $allContent.forEach((node) => {
137
+ if (node !== null) {
138
+ //
139
+ elDisplay('hide', node);
138
140
 
139
- setTimeout(() => {
140
- node.classList.remove('active');
141
- runExClassName(node, _classNamePanel, 'remove');
142
- }, speed);
141
+ setTimeout(() => {
142
+ node.classList.remove('active');
143
+ runExClassName(node, _classNamePanel, 'remove');
144
+ }, speed);
145
+ }
143
146
  });
144
147
 
145
148
  // currently active
@@ -40,7 +40,6 @@
40
40
  display: none;
41
41
  margin-top: -.2rem;
42
42
 
43
-
44
43
  &::before {
45
44
  background-size: 100% auto !important;
46
45
  content: "";