labsense-ui-kit 1.4.41 → 1.4.42

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/index.js CHANGED
@@ -9413,7 +9413,7 @@ var DropdownContainer = styled__default.div(_templateObject$b || (_templateObjec
9413
9413
  var $hasTitle = _ref4.$hasTitle;
9414
9414
  return $hasTitle ? 'calc(100% - 22px)' : '100%';
9415
9415
  });
9416
- var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n scrollbar-width: thin;\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
9416
+ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n overflow: ", ";\n padding: ", ";\n min-height: ", ";\n scrollbar-width: thin;\n gap: 8px;\n box-sizing: border-box;\n transition: all 0.3s ease;\n width: ", ";\n height: ", ";\n border: ", ";\n border-radius: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n background: ", ";\n color: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
9417
9417
  var $replaceLabel = _ref5.$replaceLabel,
9418
9418
  $showAllSelected = _ref5.$showAllSelected;
9419
9419
  return $replaceLabel ? $showAllSelected ? 'auto' : 'hidden' : '';
@@ -9428,26 +9428,30 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9428
9428
  return '14px 12px';
9429
9429
  }
9430
9430
  }, function (_ref7) {
9431
- var $width = _ref7.$width;
9432
- return $width ? $width : '100%';
9431
+ var $replaceLabel = _ref7.$replaceLabel,
9432
+ $size = _ref7.$size;
9433
+ return !$replaceLabel ? '100%' : $size === 'small' ? '46px' : $size === 'large' ? '76px' : '56px';
9433
9434
  }, function (_ref8) {
9434
- var $height = _ref8.$height;
9435
- return $height || '100%';
9435
+ var $width = _ref8.$width;
9436
+ return $width ? $width : '100%';
9436
9437
  }, function (_ref9) {
9437
- var $border = _ref9.$border,
9438
- $isOpen = _ref9.$isOpen,
9439
- theme = _ref9.theme;
9440
- return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
9438
+ var $height = _ref9.$height;
9439
+ return $height || '100%';
9441
9440
  }, function (_ref10) {
9442
- var $borderRadius = _ref10.$borderRadius;
9443
- return $borderRadius || '8px';
9441
+ var $border = _ref10.$border,
9442
+ $isOpen = _ref10.$isOpen,
9443
+ theme = _ref10.theme;
9444
+ return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
9444
9445
  }, function (_ref11) {
9445
- var $disabled = _ref11.$disabled;
9446
- return $disabled ? 'not-allowed' : 'pointer';
9446
+ var $borderRadius = _ref11.$borderRadius;
9447
+ return $borderRadius || '8px';
9447
9448
  }, function (_ref12) {
9448
- var $background = _ref12.$background,
9449
- $disabled = _ref12.$disabled,
9450
- theme = _ref12.theme;
9449
+ var $disabled = _ref12.$disabled;
9450
+ return $disabled ? 'not-allowed' : 'pointer';
9451
+ }, function (_ref13) {
9452
+ var $background = _ref13.$background,
9453
+ $disabled = _ref13.$disabled,
9454
+ theme = _ref13.theme;
9451
9455
  switch ($background) {
9452
9456
  case 'dark':
9453
9457
  return $disabled ? theme.vms.disabled.secondary : theme.vms.text.dark;
@@ -9468,12 +9472,12 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9468
9472
  default:
9469
9473
  return $disabled ? theme.vms.disabled.secondary : $background;
9470
9474
  }
9471
- }, function (_ref13) {
9472
- var $color = _ref13.$color,
9473
- theme = _ref13.theme;
9474
- return $color || theme.vms.text.medium;
9475
9475
  }, function (_ref14) {
9476
- var $size = _ref14.$size;
9476
+ var $color = _ref14.$color,
9477
+ theme = _ref14.theme;
9478
+ return $color || theme.vms.text.medium;
9479
+ }, function (_ref15) {
9480
+ var $size = _ref15.$size;
9477
9481
  switch ($size) {
9478
9482
  case 'small':
9479
9483
  return '12px';
@@ -9482,8 +9486,8 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9482
9486
  default:
9483
9487
  return '14px';
9484
9488
  }
9485
- }, function (_ref15) {
9486
- var $size = _ref15.$size;
9489
+ }, function (_ref16) {
9490
+ var $size = _ref16.$size;
9487
9491
  switch ($size) {
9488
9492
  case 'small':
9489
9493
  return '12px';
@@ -9493,20 +9497,20 @@ var DropdownButton = styled__default.div(_templateObject2$8 || (_templateObject2
9493
9497
  return '14px';
9494
9498
  }
9495
9499
  });
9496
- var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref16) {
9497
- var $titleWeight = _ref16.$titleWeight;
9500
+ var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n width: max-content;\n position: relative;\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref17) {
9501
+ var $titleWeight = _ref17.$titleWeight;
9498
9502
  return $titleWeight != null ? $titleWeight : '500';
9499
- }, function (_ref17) {
9500
- var $titleSize = _ref17.$titleSize,
9501
- $size = _ref17.$size;
9502
- return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9503
9503
  }, function (_ref18) {
9504
9504
  var $titleSize = _ref18.$titleSize,
9505
9505
  $size = _ref18.$size;
9506
9506
  return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9507
9507
  }, function (_ref19) {
9508
- var $titleColor = _ref19.$titleColor,
9509
- theme = _ref19.theme;
9508
+ var $titleSize = _ref19.$titleSize,
9509
+ $size = _ref19.$size;
9510
+ return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
9511
+ }, function (_ref20) {
9512
+ var $titleColor = _ref20.$titleColor,
9513
+ theme = _ref20.theme;
9510
9514
  switch ($titleColor) {
9511
9515
  case 'dark':
9512
9516
  return theme.vms.text.dark;
@@ -9529,29 +9533,29 @@ var TitleText = styled__default.div(_templateObject3$5 || (_templateObject3$5 =
9529
9533
  }
9530
9534
  });
9531
9535
  var Container$2 = styled__default.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n height: 100%;\n"])));
9532
- var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref20) {
9533
- var $labelStyle = _ref20.$labelStyle;
9536
+ var LabelText = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref21) {
9537
+ var $labelStyle = _ref21.$labelStyle;
9534
9538
  return $labelStyle;
9535
- }, function (_ref21) {
9536
- var $labelColor = _ref21.$labelColor,
9537
- theme = _ref21.theme;
9539
+ }, function (_ref22) {
9540
+ var $labelColor = _ref22.$labelColor,
9541
+ theme = _ref22.theme;
9538
9542
  return $labelColor || theme.vms.text.medium;
9539
9543
  });
9540
- var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n \n ", "\n"])), function (_ref22) {
9541
- var theme = _ref22.theme;
9544
+ var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n \n ", "\n"])), function (_ref23) {
9545
+ var theme = _ref23.theme;
9542
9546
  return "1px solid " + theme.vms.border.light;
9543
- }, function (_ref23) {
9544
- var $optionsBorderRadius = _ref23.$optionsBorderRadius;
9545
- return $optionsBorderRadius || '8px';
9546
9547
  }, function (_ref24) {
9547
- var $width = _ref24.$width;
9548
- return $width ? $width : 'max-content';
9548
+ var $optionsBorderRadius = _ref24.$optionsBorderRadius;
9549
+ return $optionsBorderRadius || '8px';
9549
9550
  }, function (_ref25) {
9550
- var $menuBackground = _ref25.$menuBackground,
9551
- theme = _ref25.theme;
9552
- return $menuBackground || theme.vms.accent.light_2;
9551
+ var $width = _ref25.$width;
9552
+ return $width ? $width : 'max-content';
9553
9553
  }, function (_ref26) {
9554
- var $position = _ref26.$position;
9554
+ var $menuBackground = _ref26.$menuBackground,
9555
+ theme = _ref26.theme;
9556
+ return $menuBackground || theme.vms.accent.light_2;
9557
+ }, function (_ref27) {
9558
+ var $position = _ref27.$position;
9555
9559
  switch ($position) {
9556
9560
  case 'topLeft':
9557
9561
  return "\n bottom: calc(100% + 8px);\n left: 0;\n top: auto;\n ";
@@ -9570,10 +9574,10 @@ var DropdownMenu = styled__default.div(_templateObject6$4 || (_templateObject6$4
9570
9574
  }
9571
9575
  });
9572
9576
  var SelectedOptionsWrapper = styled__default.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
9573
- var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n white-space: nowrap;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref27) {
9574
- var $selectedOptionBackground = _ref27.$selectedOptionBackground,
9575
- $disabled = _ref27.$disabled,
9576
- theme = _ref27.theme;
9577
+ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n white-space: nowrap;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref28) {
9578
+ var $selectedOptionBackground = _ref28.$selectedOptionBackground,
9579
+ $disabled = _ref28.$disabled,
9580
+ theme = _ref28.theme;
9577
9581
  switch ($selectedOptionBackground) {
9578
9582
  case 'dark':
9579
9583
  return theme.vms.text.dark;
@@ -9594,9 +9598,9 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
9594
9598
  default:
9595
9599
  return $selectedOptionBackground || theme.vms.accent.light_2;
9596
9600
  }
9597
- }, function (_ref28) {
9598
- var $selectedOptionColor = _ref28.$selectedOptionColor,
9599
- theme = _ref28.theme;
9601
+ }, function (_ref29) {
9602
+ var $selectedOptionColor = _ref29.$selectedOptionColor,
9603
+ theme = _ref29.theme;
9600
9604
  switch ($selectedOptionColor) {
9601
9605
  case 'dark':
9602
9606
  return theme.vms.text.dark;
@@ -9618,26 +9622,26 @@ var SelectedOptionDiv = styled__default.div(_templateObject8$2 || (_templateObje
9618
9622
  return $selectedOptionColor;
9619
9623
  }
9620
9624
  });
9621
- var RemoveIcon = styled__default.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref29) {
9622
- var $disabled = _ref29.$disabled;
9625
+ var RemoveIcon = styled__default.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n > div {\n cursor: ", ";\n }\n"])), function (_ref30) {
9626
+ var $disabled = _ref30.$disabled;
9623
9627
  return $disabled ? 'not-allowed' : 'pointer';
9624
- }, function (_ref30) {
9625
- var removeIconBackground = _ref30.removeIconBackground,
9626
- $type = _ref30.$type,
9627
- theme = _ref30.theme;
9628
- return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9629
9628
  }, function (_ref31) {
9630
- var $disabled = _ref31.$disabled;
9629
+ var removeIconBackground = _ref31.removeIconBackground,
9630
+ $type = _ref31.$type,
9631
+ theme = _ref31.theme;
9632
+ return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
9633
+ }, function (_ref32) {
9634
+ var $disabled = _ref32.$disabled;
9631
9635
  return $disabled ? 'not-allowed' : 'pointer';
9632
9636
  });
9633
9637
  var TextWrapper = styled__default.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
9634
9638
  var ChipArea = styled__default.div(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n flex: 1;\n min-width: 0;\n overflow: hidden;\n position: relative;\n display: flex;\n align-items: center;\n"])));
9635
9639
  var MeasureLayer = styled__default.div(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n visibility: hidden;\n pointer-events: none;\n display: flex;\n flex-wrap: nowrap;\n gap: 6px;\n width: 100%;\n top: 0;\n left: 0;\n"])));
9636
9640
  var SingleLineRow = styled__default.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: nowrap;\n gap: 6px;\n overflow: hidden;\n align-items: center;\n width: 100%;\n"])));
9637
- var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n white-space: nowrap;\n background: ", ";\n color: ", ";\n"])), function (_ref32) {
9638
- var $selectedOptionBackground = _ref32.$selectedOptionBackground,
9639
- $disabled = _ref32.$disabled,
9640
- theme = _ref32.theme;
9641
+ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n font-size: 12px;\n line-height: 12px;\n font-weight: 400;\n white-space: nowrap;\n background: ", ";\n color: ", ";\n"])), function (_ref33) {
9642
+ var $selectedOptionBackground = _ref33.$selectedOptionBackground,
9643
+ $disabled = _ref33.$disabled,
9644
+ theme = _ref33.theme;
9641
9645
  switch ($selectedOptionBackground) {
9642
9646
  case 'dark':
9643
9647
  return theme.vms.text.dark;
@@ -9658,9 +9662,9 @@ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateOb
9658
9662
  default:
9659
9663
  return $selectedOptionBackground || theme.vms.accent.light_2;
9660
9664
  }
9661
- }, function (_ref33) {
9662
- var $selectedOptionColor = _ref33.$selectedOptionColor,
9663
- theme = _ref33.theme;
9665
+ }, function (_ref34) {
9666
+ var $selectedOptionColor = _ref34.$selectedOptionColor,
9667
+ theme = _ref34.theme;
9664
9668
  switch ($selectedOptionColor) {
9665
9669
  case 'dark':
9666
9670
  return theme.vms.text.dark;
@@ -9682,66 +9686,66 @@ var OverflowCountBadge = styled__default.div(_templateObject14$1 || (_templateOb
9682
9686
  return $selectedOptionColor || theme.vms.text.medium;
9683
9687
  }
9684
9688
  });
9685
- var Asterisk = styled__default.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref34) {
9686
- var theme = _ref34.theme;
9689
+ var Asterisk = styled__default.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), function (_ref35) {
9690
+ var theme = _ref35.theme;
9687
9691
  return theme.vms["default"].error;
9688
9692
  });
9689
- var MultiSelectDropdown = function MultiSelectDropdown(_ref35) {
9690
- var title = _ref35.title,
9691
- titleWeight = _ref35.titleWeight,
9692
- titleSize = _ref35.titleSize,
9693
- titleColor = _ref35.titleColor,
9694
- _ref35$labelText = _ref35.labelText,
9695
- labelText = _ref35$labelText === void 0 ? 'Select Cameras' : _ref35$labelText,
9696
- labelStyle = _ref35.labelStyle,
9697
- labelColor = _ref35.labelColor,
9698
- _ref35$replaceLabel = _ref35.replaceLabel,
9699
- replaceLabel = _ref35$replaceLabel === void 0 ? true : _ref35$replaceLabel,
9700
- options = _ref35.options,
9701
- width = _ref35.width,
9702
- optionWidth = _ref35.optionWidth,
9703
- height = _ref35.height,
9704
- placeholder = _ref35.placeholder,
9705
- border = _ref35.border,
9706
- background = _ref35.background,
9707
- selectedOptionBackground = _ref35.selectedOptionBackground,
9708
- selectedOptionColor = _ref35.selectedOptionColor,
9709
- menuBackground = _ref35.menuBackground,
9710
- optionsBorderRadius = _ref35.optionsBorderRadius,
9711
- borderRadius = _ref35.borderRadius,
9712
- removeIconBackground = _ref35.removeIconBackground,
9713
- handleSelectChange = _ref35.handleSelectChange,
9714
- selectedOptions = _ref35.selectedOptions,
9715
- placeholderColor = _ref35.placeholderColor,
9716
- optionBorder = _ref35.optionBorder,
9717
- optionColor = _ref35.optionColor,
9718
- searchIcon = _ref35.searchIcon,
9719
- searchbarTextColor = _ref35.searchbarTextColor,
9720
- searchBoxBackground = _ref35.searchBoxBackground,
9721
- searchBoxBorder = _ref35.searchBoxBorder,
9722
- searchBoxBorderRadius = _ref35.searchBoxBorderRadius,
9723
- size = _ref35.size,
9724
- removeIcon = _ref35.removeIcon,
9725
- type = _ref35.type,
9726
- icon = _ref35.icon,
9727
- _ref35$disabled = _ref35.disabled,
9728
- disabled = _ref35$disabled === void 0 ? false : _ref35$disabled,
9729
- _ref35$required = _ref35.required,
9730
- required = _ref35$required === void 0 ? false : _ref35$required,
9731
- _ref35$searchBox = _ref35.searchBox,
9732
- searchBox = _ref35$searchBox === void 0 ? true : _ref35$searchBox,
9733
- _ref35$searchBoxTextL = _ref35.searchBoxTextLength,
9734
- searchBoxTextLength = _ref35$searchBoxTextL === void 0 ? 50 : _ref35$searchBoxTextL,
9735
- _ref35$NoOptionsText = _ref35.NoOptionsText,
9736
- NoOptionsText = _ref35$NoOptionsText === void 0 ? 'No Options Available' : _ref35$NoOptionsText,
9737
- _ref35$selectAllOptio = _ref35.selectAllOption,
9738
- selectAllOption = _ref35$selectAllOptio === void 0 ? false : _ref35$selectAllOptio,
9739
- _ref35$selectAllLabel = _ref35.selectAllLabel,
9740
- selectAllLabel = _ref35$selectAllLabel === void 0 ? 'Select All' : _ref35$selectAllLabel,
9741
- selectAllChecked = _ref35.selectAllChecked,
9742
- dropdownPosition = _ref35.dropdownPosition,
9743
- _ref35$showAllSelecte = _ref35.showAllSelected,
9744
- showAllSelected = _ref35$showAllSelecte === void 0 ? false : _ref35$showAllSelecte;
9693
+ var MultiSelectDropdown = function MultiSelectDropdown(_ref36) {
9694
+ var title = _ref36.title,
9695
+ titleWeight = _ref36.titleWeight,
9696
+ titleSize = _ref36.titleSize,
9697
+ titleColor = _ref36.titleColor,
9698
+ _ref36$labelText = _ref36.labelText,
9699
+ labelText = _ref36$labelText === void 0 ? 'Select Cameras' : _ref36$labelText,
9700
+ labelStyle = _ref36.labelStyle,
9701
+ labelColor = _ref36.labelColor,
9702
+ _ref36$replaceLabel = _ref36.replaceLabel,
9703
+ replaceLabel = _ref36$replaceLabel === void 0 ? true : _ref36$replaceLabel,
9704
+ options = _ref36.options,
9705
+ width = _ref36.width,
9706
+ optionWidth = _ref36.optionWidth,
9707
+ height = _ref36.height,
9708
+ placeholder = _ref36.placeholder,
9709
+ border = _ref36.border,
9710
+ background = _ref36.background,
9711
+ selectedOptionBackground = _ref36.selectedOptionBackground,
9712
+ selectedOptionColor = _ref36.selectedOptionColor,
9713
+ menuBackground = _ref36.menuBackground,
9714
+ optionsBorderRadius = _ref36.optionsBorderRadius,
9715
+ borderRadius = _ref36.borderRadius,
9716
+ removeIconBackground = _ref36.removeIconBackground,
9717
+ handleSelectChange = _ref36.handleSelectChange,
9718
+ selectedOptions = _ref36.selectedOptions,
9719
+ placeholderColor = _ref36.placeholderColor,
9720
+ optionBorder = _ref36.optionBorder,
9721
+ optionColor = _ref36.optionColor,
9722
+ searchIcon = _ref36.searchIcon,
9723
+ searchbarTextColor = _ref36.searchbarTextColor,
9724
+ searchBoxBackground = _ref36.searchBoxBackground,
9725
+ searchBoxBorder = _ref36.searchBoxBorder,
9726
+ searchBoxBorderRadius = _ref36.searchBoxBorderRadius,
9727
+ size = _ref36.size,
9728
+ removeIcon = _ref36.removeIcon,
9729
+ type = _ref36.type,
9730
+ icon = _ref36.icon,
9731
+ _ref36$disabled = _ref36.disabled,
9732
+ disabled = _ref36$disabled === void 0 ? false : _ref36$disabled,
9733
+ _ref36$required = _ref36.required,
9734
+ required = _ref36$required === void 0 ? false : _ref36$required,
9735
+ _ref36$searchBox = _ref36.searchBox,
9736
+ searchBox = _ref36$searchBox === void 0 ? true : _ref36$searchBox,
9737
+ _ref36$searchBoxTextL = _ref36.searchBoxTextLength,
9738
+ searchBoxTextLength = _ref36$searchBoxTextL === void 0 ? 50 : _ref36$searchBoxTextL,
9739
+ _ref36$NoOptionsText = _ref36.NoOptionsText,
9740
+ NoOptionsText = _ref36$NoOptionsText === void 0 ? 'No Options Available' : _ref36$NoOptionsText,
9741
+ _ref36$selectAllOptio = _ref36.selectAllOption,
9742
+ selectAllOption = _ref36$selectAllOptio === void 0 ? false : _ref36$selectAllOptio,
9743
+ _ref36$selectAllLabel = _ref36.selectAllLabel,
9744
+ selectAllLabel = _ref36$selectAllLabel === void 0 ? 'Select All' : _ref36$selectAllLabel,
9745
+ selectAllChecked = _ref36.selectAllChecked,
9746
+ dropdownPosition = _ref36.dropdownPosition,
9747
+ _ref36$showAllSelecte = _ref36.showAllSelected,
9748
+ showAllSelected = _ref36$showAllSelecte === void 0 ? false : _ref36$showAllSelecte;
9745
9749
  var themeColors = useTheme();
9746
9750
  var _useState = React.useState(false),
9747
9751
  dropUp = _useState[0],