funda-ui 4.7.855 → 4.7.890

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.
@@ -1886,7 +1886,7 @@ var MultipleCheckboxes = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forw
1886
1886
 
1887
1887
  // remove Duplicate objects from JSON Array
1888
1888
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
1889
- _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
1889
+ _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
1890
1890
 
1891
1891
  //
1892
1892
  initDefaultValue(inputDefault, _ORGIN_DATA); // value must be initialized
@@ -1900,7 +1900,7 @@ var MultipleCheckboxes = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forw
1900
1900
  case 16:
1901
1901
  // remove Duplicate objects from JSON Array
1902
1902
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
1903
- optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(optionsDataInit, 'value');
1903
+ optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(optionsDataInit, 'label');
1904
1904
 
1905
1905
  //
1906
1906
  initDefaultValue(inputDefault, optionsDataInit); // value must be initialized
@@ -3840,7 +3840,7 @@ var MultipleSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
3840
3840
  }
3841
3841
 
3842
3842
  // remove Duplicate objects from JSON Array
3843
- _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
3843
+ _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
3844
3844
 
3845
3845
  // save temporary default value
3846
3846
  setTempDefaultValue(inputDefault);
@@ -3856,7 +3856,7 @@ var MultipleSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
3856
3856
  return _context.abrupt("return", _ORGIN_DATA);
3857
3857
  case 16:
3858
3858
  // remove Duplicate objects from JSON Array
3859
- optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'value');
3859
+ optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'label');
3860
3860
 
3861
3861
  // save temporary default value
3862
3862
  setTempDefaultValue(inputDefault);
@@ -1802,7 +1802,7 @@ var NativeSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_
1802
1802
 
1803
1803
  // remove Duplicate objects from JSON Array
1804
1804
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
1805
- _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
1805
+ _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
1806
1806
 
1807
1807
  //
1808
1808
  setDataInit(_ORGIN_DATA); // data must be initialized
@@ -1816,7 +1816,7 @@ var NativeSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_
1816
1816
 
1817
1817
  // remove Duplicate objects from JSON Array
1818
1818
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
1819
- optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'value');
1819
+ optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'label');
1820
1820
 
1821
1821
  //
1822
1822
  setDataInit(optionsDataInit); // data must be initialized
package/Radio/index.js CHANGED
@@ -1458,7 +1458,7 @@ var Radio = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(funct
1458
1458
 
1459
1459
  // remove Duplicate objects from JSON Array
1460
1460
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
1461
- _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
1461
+ _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
1462
1462
 
1463
1463
  //
1464
1464
  setDataInit(_ORGIN_DATA); // data must be initialized
@@ -1495,7 +1495,7 @@ var Radio = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(funct
1495
1495
 
1496
1496
  // remove Duplicate objects from JSON Array
1497
1497
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
1498
- optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(optionsDataInit, 'value');
1498
+ optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(optionsDataInit, 'label');
1499
1499
 
1500
1500
  //
1501
1501
  setDataInit(optionsDataInit); // data must be initialized
package/Select/index.js CHANGED
@@ -4456,7 +4456,7 @@ var Select = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_
4456
4456
  //
4457
4457
  // remove Duplicate objects from JSON Array
4458
4458
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
4459
- _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
4459
+ _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
4460
4460
  setOptionsData(_ORGIN_DATA); // data must be initialized
4461
4461
 
4462
4462
  //
@@ -4552,7 +4552,7 @@ var Select = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_
4552
4552
  //
4553
4553
  // remove Duplicate objects from JSON Array
4554
4554
  optionsFormatGroupOpt(staticOptionsData); // prevent the value from being filtered out
4555
- staticOptionsData = (0,object.removeArrDuplicateItems)(staticOptionsData, 'value');
4555
+ staticOptionsData = (0,object.removeArrDuplicateItems)(staticOptionsData, 'label');
4556
4556
  setOptionsData(staticOptionsData); // data must be initialized
4557
4557
 
4558
4558
  //
@@ -1886,7 +1886,7 @@ var MultipleCheckboxes = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forw
1886
1886
 
1887
1887
  // remove Duplicate objects from JSON Array
1888
1888
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
1889
- _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
1889
+ _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
1890
1890
 
1891
1891
  //
1892
1892
  initDefaultValue(inputDefault, _ORGIN_DATA); // value must be initialized
@@ -1900,7 +1900,7 @@ var MultipleCheckboxes = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forw
1900
1900
  case 16:
1901
1901
  // remove Duplicate objects from JSON Array
1902
1902
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
1903
- optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(optionsDataInit, 'value');
1903
+ optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_5__.removeArrDuplicateItems)(optionsDataInit, 'label');
1904
1904
 
1905
1905
  //
1906
1906
  initDefaultValue(inputDefault, optionsDataInit); // value must be initialized
@@ -3840,7 +3840,7 @@ var MultipleSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
3840
3840
  }
3841
3841
 
3842
3842
  // remove Duplicate objects from JSON Array
3843
- _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
3843
+ _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
3844
3844
 
3845
3845
  // save temporary default value
3846
3846
  setTempDefaultValue(inputDefault);
@@ -3856,7 +3856,7 @@ var MultipleSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
3856
3856
  return _context.abrupt("return", _ORGIN_DATA);
3857
3857
  case 16:
3858
3858
  // remove Duplicate objects from JSON Array
3859
- optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'value');
3859
+ optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'label');
3860
3860
 
3861
3861
  // save temporary default value
3862
3862
  setTempDefaultValue(inputDefault);
@@ -1802,7 +1802,7 @@ var NativeSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_
1802
1802
 
1803
1803
  // remove Duplicate objects from JSON Array
1804
1804
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
1805
- _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
1805
+ _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
1806
1806
 
1807
1807
  //
1808
1808
  setDataInit(_ORGIN_DATA); // data must be initialized
@@ -1816,7 +1816,7 @@ var NativeSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_
1816
1816
 
1817
1817
  // remove Duplicate objects from JSON Array
1818
1818
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
1819
- optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'value');
1819
+ optionsDataInit = (0,object.removeArrDuplicateItems)(optionsDataInit, 'label');
1820
1820
 
1821
1821
  //
1822
1822
  setDataInit(optionsDataInit); // data must be initialized
@@ -1458,7 +1458,7 @@ var Radio = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(funct
1458
1458
 
1459
1459
  // remove Duplicate objects from JSON Array
1460
1460
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
1461
- _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
1461
+ _ORGIN_DATA = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
1462
1462
 
1463
1463
  //
1464
1464
  setDataInit(_ORGIN_DATA); // data must be initialized
@@ -1495,7 +1495,7 @@ var Radio = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(funct
1495
1495
 
1496
1496
  // remove Duplicate objects from JSON Array
1497
1497
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
1498
- optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(optionsDataInit, 'value');
1498
+ optionsDataInit = (0,funda_utils_dist_cjs_object__WEBPACK_IMPORTED_MODULE_3__.removeArrDuplicateItems)(optionsDataInit, 'label');
1499
1499
 
1500
1500
  //
1501
1501
  setDataInit(optionsDataInit); // data must be initialized
@@ -4456,7 +4456,7 @@ var Select = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_
4456
4456
  //
4457
4457
  // remove Duplicate objects from JSON Array
4458
4458
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
4459
- _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'value');
4459
+ _ORGIN_DATA = (0,object.removeArrDuplicateItems)(_ORGIN_DATA, 'label');
4460
4460
  setOptionsData(_ORGIN_DATA); // data must be initialized
4461
4461
 
4462
4462
  //
@@ -4552,7 +4552,7 @@ var Select = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_
4552
4552
  //
4553
4553
  // remove Duplicate objects from JSON Array
4554
4554
  optionsFormatGroupOpt(staticOptionsData); // prevent the value from being filtered out
4555
- staticOptionsData = (0,object.removeArrDuplicateItems)(staticOptionsData, 'value');
4555
+ staticOptionsData = (0,object.removeArrDuplicateItems)(staticOptionsData, 'label');
4556
4556
  setOptionsData(staticOptionsData); // data must be initialized
4557
4557
 
4558
4558
  //
@@ -346,7 +346,7 @@ const MultipleCheckboxes = forwardRef((props: MultipleCheckboxesProps, externalR
346
346
 
347
347
  // remove Duplicate objects from JSON Array
348
348
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
349
- _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'value');
349
+ _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'label');
350
350
 
351
351
 
352
352
  //
@@ -365,7 +365,7 @@ const MultipleCheckboxes = forwardRef((props: MultipleCheckboxesProps, externalR
365
365
 
366
366
  // remove Duplicate objects from JSON Array
367
367
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
368
- optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'value');
368
+ optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'label');
369
369
 
370
370
  //
371
371
  initDefaultValue(inputDefault, optionsDataInit); // value must be initialized
@@ -298,7 +298,7 @@ const MultipleSelect = forwardRef((props: MultipleSelectProps, externalRef: any)
298
298
 
299
299
 
300
300
  // remove Duplicate objects from JSON Array
301
- _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'value');
301
+ _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'label');
302
302
 
303
303
  // save temporary default value
304
304
  setTempDefaultValue(inputDefault);
@@ -318,7 +318,7 @@ const MultipleSelect = forwardRef((props: MultipleSelectProps, externalRef: any)
318
318
 
319
319
 
320
320
  // remove Duplicate objects from JSON Array
321
- optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'value');
321
+ optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'label');
322
322
 
323
323
  // save temporary default value
324
324
  setTempDefaultValue(inputDefault);
@@ -217,7 +217,7 @@ const NativeSelect = forwardRef((props: NativeSelectProps, externalRef: any) =>
217
217
 
218
218
  // remove Duplicate objects from JSON Array
219
219
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
220
- _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'value');
220
+ _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'label');
221
221
 
222
222
  //
223
223
  setDataInit(_ORGIN_DATA); // data must be initialized
@@ -235,7 +235,7 @@ const NativeSelect = forwardRef((props: NativeSelectProps, externalRef: any) =>
235
235
 
236
236
  // remove Duplicate objects from JSON Array
237
237
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
238
- optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'value');
238
+ optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'label');
239
239
 
240
240
  //
241
241
  setDataInit(optionsDataInit); // data must be initialized
@@ -289,7 +289,7 @@ const Radio = forwardRef((props: RadioProps, externalRef: any) => {
289
289
 
290
290
  // remove Duplicate objects from JSON Array
291
291
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
292
- _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'value');
292
+ _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'label');
293
293
 
294
294
 
295
295
  //
@@ -334,7 +334,7 @@ const Radio = forwardRef((props: RadioProps, externalRef: any) => {
334
334
 
335
335
  // remove Duplicate objects from JSON Array
336
336
  optionsFormatGroupOpt(optionsDataInit); // prevent the value from being filtered out
337
- optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'value');
337
+ optionsDataInit = removeArrDuplicateItems(optionsDataInit, 'label');
338
338
 
339
339
  //
340
340
  setDataInit(optionsDataInit); // data must be initialized
@@ -673,7 +673,7 @@ const Select = forwardRef((props: SelectProps, externalRef: any) => {
673
673
  //
674
674
  // remove Duplicate objects from JSON Array
675
675
  optionsFormatGroupOpt(_ORGIN_DATA); // prevent the value from being filtered out
676
- _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'value');
676
+ _ORGIN_DATA = removeArrDuplicateItems(_ORGIN_DATA, 'label');
677
677
 
678
678
  setOptionsData(_ORGIN_DATA); // data must be initialized
679
679
 
@@ -782,7 +782,7 @@ const Select = forwardRef((props: SelectProps, externalRef: any) => {
782
782
  //
783
783
  // remove Duplicate objects from JSON Array
784
784
  optionsFormatGroupOpt(staticOptionsData); // prevent the value from being filtered out
785
- staticOptionsData = removeArrDuplicateItems(staticOptionsData, 'value');
785
+ staticOptionsData = removeArrDuplicateItems(staticOptionsData, 'label');
786
786
 
787
787
 
788
788
  setOptionsData(staticOptionsData); // data must be initialized
@@ -1328,7 +1328,7 @@ const Select = forwardRef((props: SelectProps, externalRef: any) => {
1328
1328
  }, 500);
1329
1329
 
1330
1330
  }
1331
-
1331
+
1332
1332
  if (MANUAL_REQ) {
1333
1333
  // display static data
1334
1334
  setOptionsData(staticOptionsData);
@@ -3117,4 +3117,4 @@ const Select = forwardRef((props: SelectProps, externalRef: any) => {
3117
3117
  )
3118
3118
  });
3119
3119
 
3120
- export default Select;
3120
+ export default Select;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"UIUX Lab","email":"uiuxlab@gmail.com","name":"funda-ui","version":"4.7.855","description":"React components using pure Bootstrap 5+ which does not contain any external style and script libraries.","repository":{"type":"git","url":"git+https://github.com/xizon/funda-ui.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bootstrap","react-bootstrap","react-components","components","components-react","react-bootstrap-components","react","funda-ui","fundaui","uikit","ui-kit","ui-components"],"bugs":{"url":"https://github.com/xizon/funda-ui/issues"},"homepage":"https://github.com/xizon/funda-ui#readme","main":"all.js","license":"MIT","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"types":"all.d.ts","publishConfig":{"directory":"lib"},"directories":{"lib":"lib"}}
1
+ {"author":"UIUX Lab","email":"uiuxlab@gmail.com","name":"funda-ui","version":"4.7.890","description":"React components using pure Bootstrap 5+ which does not contain any external style and script libraries.","repository":{"type":"git","url":"git+https://github.com/xizon/funda-ui.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["bootstrap","react-bootstrap","react-components","components","components-react","react-bootstrap-components","react","funda-ui","fundaui","uikit","ui-kit","ui-components"],"bugs":{"url":"https://github.com/xizon/funda-ui/issues"},"homepage":"https://github.com/xizon/funda-ui#readme","main":"all.js","license":"MIT","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"types":"all.d.ts","publishConfig":{"directory":"lib"},"directories":{"lib":"lib"}}