funda-ui 1.2.115 → 1.2.117

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.
@@ -610,22 +610,6 @@ var CascadingSelectE2E = function CascadingSelectE2E(props) {
610
610
  selectedDataByClick = _useState26[0],
611
611
  setSelectedDataByClick = _useState26[1];
612
612
 
613
- /**
614
- * Format indent value
615
- * @param {String|Array} str
616
- * @returns {String|Array}
617
- */
618
- function formatIndentVal(str, indentLastPlaceholder) {
619
- var reVar = new RegExp(indentLastPlaceholder, 'g');
620
- if (Array.isArray(str)) {
621
- return str.map(function (s) {
622
- return s.replace(reVar, '').replace(/\ /ig, '');
623
- });
624
- } else {
625
- return str.replace(reVar, '').replace(/\ /ig, '');
626
- }
627
- }
628
-
629
613
  /**
630
614
  * Check if an element is in the viewport
631
615
  * @param {HTMLElement} elem
@@ -963,6 +963,7 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
963
963
  var idRes = id || uniqueID;
964
964
  var rootRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
965
965
  var rootSingleRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
966
+ var rootMultiRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
966
967
  var selectInputRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
967
968
  var valueInputRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
968
969
  var listRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
@@ -1082,10 +1083,11 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1082
1083
  var reVar = new RegExp(INDENT_LAST_PLACEHOLDER, 'g');
1083
1084
  if (Array.isArray(inputData)) {
1084
1085
  return inputData.map(function (s) {
1085
- return s.replace(reVar, '').replace(/\ /ig, '');
1086
+ return String(s).replace(reVar, '').replace(/\ /ig, '');
1086
1087
  });
1087
1088
  } else {
1088
- return inputData.replace(reVar, '').replace(/\ /ig, '');
1089
+ var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
1090
+ return _txt.replace(reVar, '').replace(/\ /ig, '');
1089
1091
  }
1090
1092
  }
1091
1093
 
@@ -1100,11 +1102,11 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1100
1102
 
1101
1103
  /**
1102
1104
  * Remove html tag content
1103
- * @param {string} str
1105
+ * @param {string | number} str
1104
1106
  * @returns {string}
1105
1107
  */
1106
1108
  function stripHTML(str) {
1107
- return str.replace(/<\/?[^>]+(>|$)(.*?)<\/?[^>]+(>|$)/ig, '');
1109
+ return String(str).replace(/<\/?[^>]+(>|$)(.*?)<\/?[^>]+(>|$)/ig, '');
1108
1110
  }
1109
1111
 
1110
1112
  /**
@@ -1321,6 +1323,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1321
1323
  });
1322
1324
  }
1323
1325
 
1326
+ // Appropriate multi-item container height
1327
+ adjustMultiControlContainerHeight();
1328
+
1324
1329
  // hide disabled item
1325
1330
  _ORGIN_DATA = _ORGIN_DATA.filter(function (v) {
1326
1331
  return typeof v.disabled !== 'undefined' && v.disabled == true ? false : true;
@@ -1426,6 +1431,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1426
1431
  });
1427
1432
  }
1428
1433
 
1434
+ // Appropriate multi-item container height
1435
+ adjustMultiControlContainerHeight();
1436
+
1429
1437
  // hide disabled item
1430
1438
  optionsDataInit = optionsDataInit.filter(function (v) {
1431
1439
  return typeof v.disabled !== 'undefined' && v.disabled == true ? false : true;
@@ -1453,6 +1461,21 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1453
1461
  }));
1454
1462
  return _fetchData.apply(this, arguments);
1455
1463
  }
1464
+ function adjustMultiControlContainerHeight() {
1465
+ setTimeout(function () {
1466
+ // Sometimes you may get 0, you need to judge
1467
+ if (rootMultiRef.current.clientHeight > 0) {
1468
+ rootSingleRef.current.style.height = rootMultiRef.current.clientHeight + 'px';
1469
+ selectInputRef.current.style.height = rootMultiRef.current.clientHeight + 'px';
1470
+ }
1471
+
1472
+ // popwin position update
1473
+ var _modalRef = document.querySelector("#mf-select__options-wrapper-".concat(idRes));
1474
+ if (MULTI_SEL_VALID && _modalRef.classList.contains('active')) {
1475
+ popwinPosInit();
1476
+ }
1477
+ }, 0);
1478
+ }
1456
1479
  function popwinPosInit() {
1457
1480
  if (listContentRef.current === null || selectInputRef.current === null) return;
1458
1481
  var contentHeightOffset = 80;
@@ -1889,6 +1912,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1889
1912
  currentControlValueArr.push(_value);
1890
1913
  currentControlLabelArr.push(_label);
1891
1914
  }
1915
+
1916
+ // Appropriate multi-item container height
1917
+ adjustMultiControlContainerHeight();
1892
1918
  }
1893
1919
 
1894
1920
  //
@@ -1977,6 +2003,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1977
2003
  _currentControlValueArr.push(_value2);
1978
2004
  _currentControlLabelArr.push(_label2);
1979
2005
  }
2006
+
2007
+ // Appropriate multi-item container height
2008
+ adjustMultiControlContainerHeight();
1980
2009
  }
1981
2010
 
1982
2011
  //
@@ -2054,6 +2083,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
2054
2083
  labels: _labels,
2055
2084
  values: _values
2056
2085
  });
2086
+
2087
+ // Appropriate multi-item container height
2088
+ adjustMultiControlContainerHeight();
2057
2089
  };
2058
2090
  if (selectedSign) {
2059
2091
  updateOptionCheckboxes('remove');
@@ -2100,6 +2132,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
2100
2132
  currentControlValueArr = removeItemOnce(currentControlValueArr, _value);
2101
2133
  currentControlLabelArr = removeItemOnce(currentControlLabelArr, formatIndentVal(_label));
2102
2134
 
2135
+ // Appropriate multi-item container height
2136
+ adjustMultiControlContainerHeight();
2137
+
2103
2138
  //
2104
2139
  if (typeof onChange === 'function') {
2105
2140
  onChange === null || onChange === void 0 ? void 0 : onChange(selectInputRef.current, valueInputRef.current, {
@@ -2520,6 +2555,7 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
2520
2555
  d: "M12.027 9.92L16 13.95 14 16l-4.075-3.976A6.465 6.465 0 0 1 6.5 13C2.91 13 0 10.083 0 6.5 0 2.91 2.917 0 6.5 0 10.09 0 13 2.917 13 6.5a6.463 6.463 0 0 1-.973 3.42zM1.997 6.452c0 2.48 2.014 4.5 4.5 4.5 2.48 0 4.5-2.015 4.5-4.5 0-2.48-2.015-4.5-4.5-4.5-2.48 0-4.5 2.014-4.5 4.5z",
2521
2556
  fillRule: "evenodd"
2522
2557
  }))))) : null) : null, MULTI_SEL_VALID ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("div", {
2558
+ ref: rootMultiRef,
2523
2559
  className: "mf-select-multi__inputplaceholder-wrapper"
2524
2560
  }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("div", {
2525
2561
  className: "mf-select-multi__inputplaceholder-inner"
@@ -610,22 +610,6 @@ var CascadingSelectE2E = function CascadingSelectE2E(props) {
610
610
  selectedDataByClick = _useState26[0],
611
611
  setSelectedDataByClick = _useState26[1];
612
612
 
613
- /**
614
- * Format indent value
615
- * @param {String|Array} str
616
- * @returns {String|Array}
617
- */
618
- function formatIndentVal(str, indentLastPlaceholder) {
619
- var reVar = new RegExp(indentLastPlaceholder, 'g');
620
- if (Array.isArray(str)) {
621
- return str.map(function (s) {
622
- return s.replace(reVar, '').replace(/\&nbsp;/ig, '');
623
- });
624
- } else {
625
- return str.replace(reVar, '').replace(/\&nbsp;/ig, '');
626
- }
627
- }
628
-
629
613
  /**
630
614
  * Check if an element is in the viewport
631
615
  * @param {HTMLElement} elem
@@ -963,6 +963,7 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
963
963
  var idRes = id || uniqueID;
964
964
  var rootRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
965
965
  var rootSingleRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
966
+ var rootMultiRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
966
967
  var selectInputRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
967
968
  var valueInputRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
968
969
  var listRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
@@ -1082,10 +1083,11 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1082
1083
  var reVar = new RegExp(INDENT_LAST_PLACEHOLDER, 'g');
1083
1084
  if (Array.isArray(inputData)) {
1084
1085
  return inputData.map(function (s) {
1085
- return s.replace(reVar, '').replace(/\&nbsp;/ig, '');
1086
+ return String(s).replace(reVar, '').replace(/\&nbsp;/ig, '');
1086
1087
  });
1087
1088
  } else {
1088
- return inputData.replace(reVar, '').replace(/\&nbsp;/ig, '');
1089
+ var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
1090
+ return _txt.replace(reVar, '').replace(/\&nbsp;/ig, '');
1089
1091
  }
1090
1092
  }
1091
1093
 
@@ -1100,11 +1102,11 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1100
1102
 
1101
1103
  /**
1102
1104
  * Remove html tag content
1103
- * @param {string} str
1105
+ * @param {string | number} str
1104
1106
  * @returns {string}
1105
1107
  */
1106
1108
  function stripHTML(str) {
1107
- return str.replace(/<\/?[^>]+(>|$)(.*?)<\/?[^>]+(>|$)/ig, '');
1109
+ return String(str).replace(/<\/?[^>]+(>|$)(.*?)<\/?[^>]+(>|$)/ig, '');
1108
1110
  }
1109
1111
 
1110
1112
  /**
@@ -1321,6 +1323,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1321
1323
  });
1322
1324
  }
1323
1325
 
1326
+ // Appropriate multi-item container height
1327
+ adjustMultiControlContainerHeight();
1328
+
1324
1329
  // hide disabled item
1325
1330
  _ORGIN_DATA = _ORGIN_DATA.filter(function (v) {
1326
1331
  return typeof v.disabled !== 'undefined' && v.disabled == true ? false : true;
@@ -1426,6 +1431,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1426
1431
  });
1427
1432
  }
1428
1433
 
1434
+ // Appropriate multi-item container height
1435
+ adjustMultiControlContainerHeight();
1436
+
1429
1437
  // hide disabled item
1430
1438
  optionsDataInit = optionsDataInit.filter(function (v) {
1431
1439
  return typeof v.disabled !== 'undefined' && v.disabled == true ? false : true;
@@ -1453,6 +1461,21 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1453
1461
  }));
1454
1462
  return _fetchData.apply(this, arguments);
1455
1463
  }
1464
+ function adjustMultiControlContainerHeight() {
1465
+ setTimeout(function () {
1466
+ // Sometimes you may get 0, you need to judge
1467
+ if (rootMultiRef.current.clientHeight > 0) {
1468
+ rootSingleRef.current.style.height = rootMultiRef.current.clientHeight + 'px';
1469
+ selectInputRef.current.style.height = rootMultiRef.current.clientHeight + 'px';
1470
+ }
1471
+
1472
+ // popwin position update
1473
+ var _modalRef = document.querySelector("#mf-select__options-wrapper-".concat(idRes));
1474
+ if (MULTI_SEL_VALID && _modalRef.classList.contains('active')) {
1475
+ popwinPosInit();
1476
+ }
1477
+ }, 0);
1478
+ }
1456
1479
  function popwinPosInit() {
1457
1480
  if (listContentRef.current === null || selectInputRef.current === null) return;
1458
1481
  var contentHeightOffset = 80;
@@ -1889,6 +1912,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1889
1912
  currentControlValueArr.push(_value);
1890
1913
  currentControlLabelArr.push(_label);
1891
1914
  }
1915
+
1916
+ // Appropriate multi-item container height
1917
+ adjustMultiControlContainerHeight();
1892
1918
  }
1893
1919
 
1894
1920
  //
@@ -1977,6 +2003,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
1977
2003
  _currentControlValueArr.push(_value2);
1978
2004
  _currentControlLabelArr.push(_label2);
1979
2005
  }
2006
+
2007
+ // Appropriate multi-item container height
2008
+ adjustMultiControlContainerHeight();
1980
2009
  }
1981
2010
 
1982
2011
  //
@@ -2054,6 +2083,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
2054
2083
  labels: _labels,
2055
2084
  values: _values
2056
2085
  });
2086
+
2087
+ // Appropriate multi-item container height
2088
+ adjustMultiControlContainerHeight();
2057
2089
  };
2058
2090
  if (selectedSign) {
2059
2091
  updateOptionCheckboxes('remove');
@@ -2100,6 +2132,9 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
2100
2132
  currentControlValueArr = removeItemOnce(currentControlValueArr, _value);
2101
2133
  currentControlLabelArr = removeItemOnce(currentControlLabelArr, formatIndentVal(_label));
2102
2134
 
2135
+ // Appropriate multi-item container height
2136
+ adjustMultiControlContainerHeight();
2137
+
2103
2138
  //
2104
2139
  if (typeof onChange === 'function') {
2105
2140
  onChange === null || onChange === void 0 ? void 0 : onChange(selectInputRef.current, valueInputRef.current, {
@@ -2520,6 +2555,7 @@ var MultiFuncSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_common
2520
2555
  d: "M12.027 9.92L16 13.95 14 16l-4.075-3.976A6.465 6.465 0 0 1 6.5 13C2.91 13 0 10.083 0 6.5 0 2.91 2.917 0 6.5 0 10.09 0 13 2.917 13 6.5a6.463 6.463 0 0 1-.973 3.42zM1.997 6.452c0 2.48 2.014 4.5 4.5 4.5 2.48 0 4.5-2.015 4.5-4.5 0-2.48-2.015-4.5-4.5-4.5-2.48 0-4.5 2.014-4.5 4.5z",
2521
2556
  fillRule: "evenodd"
2522
2557
  }))))) : null) : null, MULTI_SEL_VALID ? /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("div", {
2558
+ ref: rootMultiRef,
2523
2559
  className: "mf-select-multi__inputplaceholder-wrapper"
2524
2560
  }, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("div", {
2525
2561
  className: "mf-select-multi__inputplaceholder-inner"
@@ -167,22 +167,6 @@ const CascadingSelectE2E = (props: CascadingSelectE2EProps) => {
167
167
  queryIds: []
168
168
  });
169
169
 
170
- /**
171
- * Format indent value
172
- * @param {String|Array} str
173
- * @returns {String|Array}
174
- */
175
- function formatIndentVal(str: any, indentLastPlaceholder: string) {
176
- const reVar = new RegExp(indentLastPlaceholder, 'g');
177
- if (Array.isArray(str)) {
178
- return str.map((s: string) => s.replace(reVar, '').replace(/\&nbsp;/ig, ''));
179
- } else {
180
- return str.replace(reVar, '').replace(/\&nbsp;/ig, '');
181
- }
182
-
183
- }
184
-
185
-
186
170
 
187
171
  /**
188
172
  * Check if an element is in the viewport
@@ -162,6 +162,7 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
162
162
  const idRes = id || uniqueID;
163
163
  const rootRef = useRef<any>(null);
164
164
  const rootSingleRef = useRef<any>(null);
165
+ const rootMultiRef = useRef<any>(null);
165
166
  const selectInputRef = useRef<any>(null);
166
167
  const valueInputRef = useRef<any>(null);
167
168
  const listRef = useRef<any>(null);
@@ -272,9 +273,10 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
272
273
  function formatIndentVal(inputData: any) {
273
274
  const reVar = new RegExp(INDENT_LAST_PLACEHOLDER, 'g');
274
275
  if (Array.isArray(inputData)) {
275
- return inputData.map((s: string) => s.replace(reVar, '').replace(/\&nbsp;/ig, ''));
276
+ return inputData.map((s: any) => String(s).replace(reVar, '').replace(/\&nbsp;/ig, ''));
276
277
  } else {
277
- return inputData.replace(reVar, '').replace(/\&nbsp;/ig, '');
278
+ const _txt: any = typeof inputData === 'string' ? inputData : inputData.toString();
279
+ return _txt.replace(reVar, '').replace(/\&nbsp;/ig, '');
278
280
  }
279
281
 
280
282
  }
@@ -292,11 +294,11 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
292
294
 
293
295
  /**
294
296
  * Remove html tag content
295
- * @param {string} str
297
+ * @param {string | number} str
296
298
  * @returns {string}
297
299
  */
298
- function stripHTML(str: string) {
299
- return str.replace(/<\/?[^>]+(>|$)(.*?)<\/?[^>]+(>|$)/ig, '');
300
+ function stripHTML(str: string | number) {
301
+ return String(str).replace(/<\/?[^>]+(>|$)(.*?)<\/?[^>]+(>|$)/ig, '');
300
302
  }
301
303
 
302
304
 
@@ -533,11 +535,13 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
533
535
 
534
536
  }
535
537
 
536
-
538
+ // Appropriate multi-item container height
539
+ adjustMultiControlContainerHeight();
537
540
 
538
541
  // hide disabled item
539
542
  _ORGIN_DATA = _ORGIN_DATA.filter((v: any) => typeof v.disabled !== 'undefined' && v.disabled == true ? false : true);
540
543
 
544
+
541
545
 
542
546
 
543
547
  }
@@ -658,6 +662,9 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
658
662
  });
659
663
  }
660
664
 
665
+ // Appropriate multi-item container height
666
+ adjustMultiControlContainerHeight();
667
+
661
668
 
662
669
  // hide disabled item
663
670
  optionsDataInit = optionsDataInit.filter((v: any) => typeof v.disabled !== 'undefined' && v.disabled == true ? false : true);
@@ -684,6 +691,28 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
684
691
 
685
692
  }
686
693
 
694
+
695
+
696
+ function adjustMultiControlContainerHeight() {
697
+ setTimeout(() => {
698
+ // Sometimes you may get 0, you need to judge
699
+ if (rootMultiRef.current.clientHeight > 0) {
700
+ rootSingleRef.current.style.height = rootMultiRef.current.clientHeight + 'px';
701
+ selectInputRef.current.style.height = rootMultiRef.current.clientHeight + 'px';
702
+ }
703
+
704
+ // popwin position update
705
+ const _modalRef: any = document.querySelector(`#mf-select__options-wrapper-${idRes}`);
706
+ if (MULTI_SEL_VALID && _modalRef.classList.contains('active')) {
707
+ popwinPosInit();
708
+ }
709
+
710
+
711
+ },0);
712
+ }
713
+
714
+
715
+
687
716
  function popwinPosInit() {
688
717
  if (listContentRef.current === null || selectInputRef.current === null) return;
689
718
 
@@ -1224,6 +1253,8 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
1224
1253
  }
1225
1254
 
1226
1255
 
1256
+ // Appropriate multi-item container height
1257
+ adjustMultiControlContainerHeight();
1227
1258
 
1228
1259
 
1229
1260
  }
@@ -1334,6 +1365,9 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
1334
1365
  }
1335
1366
 
1336
1367
 
1368
+ // Appropriate multi-item container height
1369
+ adjustMultiControlContainerHeight();
1370
+
1337
1371
 
1338
1372
  }
1339
1373
 
@@ -1411,6 +1445,12 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
1411
1445
  values: _values
1412
1446
  });
1413
1447
 
1448
+
1449
+
1450
+ // Appropriate multi-item container height
1451
+ adjustMultiControlContainerHeight();
1452
+
1453
+
1414
1454
  };
1415
1455
 
1416
1456
 
@@ -1475,6 +1515,9 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
1475
1515
  currentControlLabelArr = removeItemOnce(currentControlLabelArr, formatIndentVal(_label));
1476
1516
 
1477
1517
 
1518
+ // Appropriate multi-item container height
1519
+ adjustMultiControlContainerHeight();
1520
+
1478
1521
 
1479
1522
  //
1480
1523
  if (typeof (onChange) === 'function') {
@@ -1485,7 +1528,7 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
1485
1528
  {
1486
1529
  labels: currentControlLabelArr.map((v: any) => v.toString()),
1487
1530
  values: currentControlValueArr.map((v: any) => v.toString()),
1488
- labelsOfString: VALUE_BY_BRACKETS ? convertArrToValByBrackets(currentControlLabelArr.map((v: any) => v.toString())) : currentControlLabelArr.map((v: any) => v.toString()).join(','),
1531
+ labelsOfString: VALUE_BY_BRACKETS ? convertArrToValByBrackets(currentControlLabelArr.map((v: any) => v.toString())) : currentControlLabelArr.map((v: any) => v.toString()).join(','),
1489
1532
  valuesOfString: VALUE_BY_BRACKETS ? convertArrToValByBrackets(currentControlValueArr.map((v: any) => v.toString())) : currentControlValueArr.map((v: any) => v.toString()).join(',')
1490
1533
  }
1491
1534
  );
@@ -1931,7 +1974,7 @@ const MultiFuncSelect = forwardRef((props: MultiFuncSelectProps, ref: any) => {
1931
1974
  // Multiple selection Control
1932
1975
  // ++++++++++++++++++++
1933
1976
  */}
1934
- {MULTI_SEL_VALID ? <div className="mf-select-multi__inputplaceholder-wrapper">
1977
+ {MULTI_SEL_VALID ? <div ref={rootMultiRef} className="mf-select-multi__inputplaceholder-wrapper">
1935
1978
 
1936
1979
 
1937
1980
  {/* PLACEHOLDER */}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "UIUX Lab",
3
3
  "email": "uiuxlab@gmail.com",
4
4
  "name": "funda-ui",
5
- "version": "1.2.115",
5
+ "version": "1.2.117",
6
6
  "description": "React components using pure Bootstrap 5+ which does not contain any external style and script libraries.",
7
7
  "repository": {
8
8
  "type": "git",