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 +131 -127
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +131 -127
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -9408,7 +9408,7 @@ var DropdownContainer = styled.div(_templateObject$b || (_templateObject$b = _ta
|
|
|
9408
9408
|
var $hasTitle = _ref4.$hasTitle;
|
|
9409
9409
|
return $hasTitle ? 'calc(100% - 22px)' : '100%';
|
|
9410
9410
|
});
|
|
9411
|
-
var DropdownButton = styled.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) {
|
|
9411
|
+
var DropdownButton = styled.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) {
|
|
9412
9412
|
var $replaceLabel = _ref5.$replaceLabel,
|
|
9413
9413
|
$showAllSelected = _ref5.$showAllSelected;
|
|
9414
9414
|
return $replaceLabel ? $showAllSelected ? 'auto' : 'hidden' : '';
|
|
@@ -9423,26 +9423,30 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
|
|
|
9423
9423
|
return '14px 12px';
|
|
9424
9424
|
}
|
|
9425
9425
|
}, function (_ref7) {
|
|
9426
|
-
var $
|
|
9427
|
-
|
|
9426
|
+
var $replaceLabel = _ref7.$replaceLabel,
|
|
9427
|
+
$size = _ref7.$size;
|
|
9428
|
+
return !$replaceLabel ? '100%' : $size === 'small' ? '46px' : $size === 'large' ? '76px' : '56px';
|
|
9428
9429
|
}, function (_ref8) {
|
|
9429
|
-
var $
|
|
9430
|
-
return $
|
|
9430
|
+
var $width = _ref8.$width;
|
|
9431
|
+
return $width ? $width : '100%';
|
|
9431
9432
|
}, function (_ref9) {
|
|
9432
|
-
var $
|
|
9433
|
-
|
|
9434
|
-
theme = _ref9.theme;
|
|
9435
|
-
return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
|
|
9433
|
+
var $height = _ref9.$height;
|
|
9434
|
+
return $height || '100%';
|
|
9436
9435
|
}, function (_ref10) {
|
|
9437
|
-
var $
|
|
9438
|
-
|
|
9436
|
+
var $border = _ref10.$border,
|
|
9437
|
+
$isOpen = _ref10.$isOpen,
|
|
9438
|
+
theme = _ref10.theme;
|
|
9439
|
+
return $isOpen ? "1px solid " + theme.vms.text.dark : $border || "1px solid " + theme.vms.border.light;
|
|
9439
9440
|
}, function (_ref11) {
|
|
9440
|
-
var $
|
|
9441
|
-
return $
|
|
9441
|
+
var $borderRadius = _ref11.$borderRadius;
|
|
9442
|
+
return $borderRadius || '8px';
|
|
9442
9443
|
}, function (_ref12) {
|
|
9443
|
-
var $
|
|
9444
|
-
|
|
9445
|
-
|
|
9444
|
+
var $disabled = _ref12.$disabled;
|
|
9445
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9446
|
+
}, function (_ref13) {
|
|
9447
|
+
var $background = _ref13.$background,
|
|
9448
|
+
$disabled = _ref13.$disabled,
|
|
9449
|
+
theme = _ref13.theme;
|
|
9446
9450
|
switch ($background) {
|
|
9447
9451
|
case 'dark':
|
|
9448
9452
|
return $disabled ? theme.vms.disabled.secondary : theme.vms.text.dark;
|
|
@@ -9463,12 +9467,12 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
|
|
|
9463
9467
|
default:
|
|
9464
9468
|
return $disabled ? theme.vms.disabled.secondary : $background;
|
|
9465
9469
|
}
|
|
9466
|
-
}, function (_ref13) {
|
|
9467
|
-
var $color = _ref13.$color,
|
|
9468
|
-
theme = _ref13.theme;
|
|
9469
|
-
return $color || theme.vms.text.medium;
|
|
9470
9470
|
}, function (_ref14) {
|
|
9471
|
-
var $
|
|
9471
|
+
var $color = _ref14.$color,
|
|
9472
|
+
theme = _ref14.theme;
|
|
9473
|
+
return $color || theme.vms.text.medium;
|
|
9474
|
+
}, function (_ref15) {
|
|
9475
|
+
var $size = _ref15.$size;
|
|
9472
9476
|
switch ($size) {
|
|
9473
9477
|
case 'small':
|
|
9474
9478
|
return '12px';
|
|
@@ -9477,8 +9481,8 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
|
|
|
9477
9481
|
default:
|
|
9478
9482
|
return '14px';
|
|
9479
9483
|
}
|
|
9480
|
-
}, function (
|
|
9481
|
-
var $size =
|
|
9484
|
+
}, function (_ref16) {
|
|
9485
|
+
var $size = _ref16.$size;
|
|
9482
9486
|
switch ($size) {
|
|
9483
9487
|
case 'small':
|
|
9484
9488
|
return '12px';
|
|
@@ -9488,20 +9492,20 @@ var DropdownButton = styled.div(_templateObject2$8 || (_templateObject2$8 = _tag
|
|
|
9488
9492
|
return '14px';
|
|
9489
9493
|
}
|
|
9490
9494
|
});
|
|
9491
|
-
var TitleText = styled.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 (
|
|
9492
|
-
var $titleWeight =
|
|
9495
|
+
var TitleText = styled.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) {
|
|
9496
|
+
var $titleWeight = _ref17.$titleWeight;
|
|
9493
9497
|
return $titleWeight != null ? $titleWeight : '500';
|
|
9494
|
-
}, function (_ref17) {
|
|
9495
|
-
var $titleSize = _ref17.$titleSize,
|
|
9496
|
-
$size = _ref17.$size;
|
|
9497
|
-
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9498
9498
|
}, function (_ref18) {
|
|
9499
9499
|
var $titleSize = _ref18.$titleSize,
|
|
9500
9500
|
$size = _ref18.$size;
|
|
9501
9501
|
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9502
9502
|
}, function (_ref19) {
|
|
9503
|
-
var $
|
|
9504
|
-
|
|
9503
|
+
var $titleSize = _ref19.$titleSize,
|
|
9504
|
+
$size = _ref19.$size;
|
|
9505
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9506
|
+
}, function (_ref20) {
|
|
9507
|
+
var $titleColor = _ref20.$titleColor,
|
|
9508
|
+
theme = _ref20.theme;
|
|
9505
9509
|
switch ($titleColor) {
|
|
9506
9510
|
case 'dark':
|
|
9507
9511
|
return theme.vms.text.dark;
|
|
@@ -9524,29 +9528,29 @@ var TitleText = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTe
|
|
|
9524
9528
|
}
|
|
9525
9529
|
});
|
|
9526
9530
|
var Container$2 = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n height: 100%;\n"])));
|
|
9527
|
-
var LabelText = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (
|
|
9528
|
-
var $labelStyle =
|
|
9531
|
+
var LabelText = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref21) {
|
|
9532
|
+
var $labelStyle = _ref21.$labelStyle;
|
|
9529
9533
|
return $labelStyle;
|
|
9530
|
-
}, function (
|
|
9531
|
-
var $labelColor =
|
|
9532
|
-
theme =
|
|
9534
|
+
}, function (_ref22) {
|
|
9535
|
+
var $labelColor = _ref22.$labelColor,
|
|
9536
|
+
theme = _ref22.theme;
|
|
9533
9537
|
return $labelColor || theme.vms.text.medium;
|
|
9534
9538
|
});
|
|
9535
|
-
var DropdownMenu = styled.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 (
|
|
9536
|
-
var theme =
|
|
9539
|
+
var DropdownMenu = styled.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) {
|
|
9540
|
+
var theme = _ref23.theme;
|
|
9537
9541
|
return "1px solid " + theme.vms.border.light;
|
|
9538
|
-
}, function (_ref23) {
|
|
9539
|
-
var $optionsBorderRadius = _ref23.$optionsBorderRadius;
|
|
9540
|
-
return $optionsBorderRadius || '8px';
|
|
9541
9542
|
}, function (_ref24) {
|
|
9542
|
-
var $
|
|
9543
|
-
return $
|
|
9543
|
+
var $optionsBorderRadius = _ref24.$optionsBorderRadius;
|
|
9544
|
+
return $optionsBorderRadius || '8px';
|
|
9544
9545
|
}, function (_ref25) {
|
|
9545
|
-
var $
|
|
9546
|
-
|
|
9547
|
-
return $menuBackground || theme.vms.accent.light_2;
|
|
9546
|
+
var $width = _ref25.$width;
|
|
9547
|
+
return $width ? $width : 'max-content';
|
|
9548
9548
|
}, function (_ref26) {
|
|
9549
|
-
var $
|
|
9549
|
+
var $menuBackground = _ref26.$menuBackground,
|
|
9550
|
+
theme = _ref26.theme;
|
|
9551
|
+
return $menuBackground || theme.vms.accent.light_2;
|
|
9552
|
+
}, function (_ref27) {
|
|
9553
|
+
var $position = _ref27.$position;
|
|
9550
9554
|
switch ($position) {
|
|
9551
9555
|
case 'topLeft':
|
|
9552
9556
|
return "\n bottom: calc(100% + 8px);\n left: 0;\n top: auto;\n ";
|
|
@@ -9565,10 +9569,10 @@ var DropdownMenu = styled.div(_templateObject6$4 || (_templateObject6$4 = _tagge
|
|
|
9565
9569
|
}
|
|
9566
9570
|
});
|
|
9567
9571
|
var SelectedOptionsWrapper = styled.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
9568
|
-
var SelectedOptionDiv = styled.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 (
|
|
9569
|
-
var $selectedOptionBackground =
|
|
9570
|
-
$disabled =
|
|
9571
|
-
theme =
|
|
9572
|
+
var SelectedOptionDiv = styled.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) {
|
|
9573
|
+
var $selectedOptionBackground = _ref28.$selectedOptionBackground,
|
|
9574
|
+
$disabled = _ref28.$disabled,
|
|
9575
|
+
theme = _ref28.theme;
|
|
9572
9576
|
switch ($selectedOptionBackground) {
|
|
9573
9577
|
case 'dark':
|
|
9574
9578
|
return theme.vms.text.dark;
|
|
@@ -9589,9 +9593,9 @@ var SelectedOptionDiv = styled.div(_templateObject8$2 || (_templateObject8$2 = _
|
|
|
9589
9593
|
default:
|
|
9590
9594
|
return $selectedOptionBackground || theme.vms.accent.light_2;
|
|
9591
9595
|
}
|
|
9592
|
-
}, function (
|
|
9593
|
-
var $selectedOptionColor =
|
|
9594
|
-
theme =
|
|
9596
|
+
}, function (_ref29) {
|
|
9597
|
+
var $selectedOptionColor = _ref29.$selectedOptionColor,
|
|
9598
|
+
theme = _ref29.theme;
|
|
9595
9599
|
switch ($selectedOptionColor) {
|
|
9596
9600
|
case 'dark':
|
|
9597
9601
|
return theme.vms.text.dark;
|
|
@@ -9613,26 +9617,26 @@ var SelectedOptionDiv = styled.div(_templateObject8$2 || (_templateObject8$2 = _
|
|
|
9613
9617
|
return $selectedOptionColor;
|
|
9614
9618
|
}
|
|
9615
9619
|
});
|
|
9616
|
-
var RemoveIcon = styled.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 (
|
|
9617
|
-
var $disabled =
|
|
9620
|
+
var RemoveIcon = styled.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) {
|
|
9621
|
+
var $disabled = _ref30.$disabled;
|
|
9618
9622
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9619
|
-
}, function (_ref30) {
|
|
9620
|
-
var removeIconBackground = _ref30.removeIconBackground,
|
|
9621
|
-
$type = _ref30.$type,
|
|
9622
|
-
theme = _ref30.theme;
|
|
9623
|
-
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
|
|
9624
9623
|
}, function (_ref31) {
|
|
9625
|
-
var
|
|
9624
|
+
var removeIconBackground = _ref31.removeIconBackground,
|
|
9625
|
+
$type = _ref31.$type,
|
|
9626
|
+
theme = _ref31.theme;
|
|
9627
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : theme.vms.disabled.primary;
|
|
9628
|
+
}, function (_ref32) {
|
|
9629
|
+
var $disabled = _ref32.$disabled;
|
|
9626
9630
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9627
9631
|
});
|
|
9628
9632
|
var TextWrapper = styled.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
9629
9633
|
var ChipArea = styled.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"])));
|
|
9630
9634
|
var MeasureLayer = styled.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"])));
|
|
9631
9635
|
var SingleLineRow = styled.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"])));
|
|
9632
|
-
var OverflowCountBadge = styled.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 (
|
|
9633
|
-
var $selectedOptionBackground =
|
|
9634
|
-
$disabled =
|
|
9635
|
-
theme =
|
|
9636
|
+
var OverflowCountBadge = styled.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) {
|
|
9637
|
+
var $selectedOptionBackground = _ref33.$selectedOptionBackground,
|
|
9638
|
+
$disabled = _ref33.$disabled,
|
|
9639
|
+
theme = _ref33.theme;
|
|
9636
9640
|
switch ($selectedOptionBackground) {
|
|
9637
9641
|
case 'dark':
|
|
9638
9642
|
return theme.vms.text.dark;
|
|
@@ -9653,9 +9657,9 @@ var OverflowCountBadge = styled.div(_templateObject14$1 || (_templateObject14$1
|
|
|
9653
9657
|
default:
|
|
9654
9658
|
return $selectedOptionBackground || theme.vms.accent.light_2;
|
|
9655
9659
|
}
|
|
9656
|
-
}, function (
|
|
9657
|
-
var $selectedOptionColor =
|
|
9658
|
-
theme =
|
|
9660
|
+
}, function (_ref34) {
|
|
9661
|
+
var $selectedOptionColor = _ref34.$selectedOptionColor,
|
|
9662
|
+
theme = _ref34.theme;
|
|
9659
9663
|
switch ($selectedOptionColor) {
|
|
9660
9664
|
case 'dark':
|
|
9661
9665
|
return theme.vms.text.dark;
|
|
@@ -9677,66 +9681,66 @@ var OverflowCountBadge = styled.div(_templateObject14$1 || (_templateObject14$1
|
|
|
9677
9681
|
return $selectedOptionColor || theme.vms.text.medium;
|
|
9678
9682
|
}
|
|
9679
9683
|
});
|
|
9680
|
-
var Asterisk = styled.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 (
|
|
9681
|
-
var theme =
|
|
9684
|
+
var Asterisk = styled.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) {
|
|
9685
|
+
var theme = _ref35.theme;
|
|
9682
9686
|
return theme.vms["default"].error;
|
|
9683
9687
|
});
|
|
9684
|
-
var MultiSelectDropdown = function MultiSelectDropdown(
|
|
9685
|
-
var title =
|
|
9686
|
-
titleWeight =
|
|
9687
|
-
titleSize =
|
|
9688
|
-
titleColor =
|
|
9689
|
-
|
|
9690
|
-
labelText =
|
|
9691
|
-
labelStyle =
|
|
9692
|
-
labelColor =
|
|
9693
|
-
|
|
9694
|
-
replaceLabel =
|
|
9695
|
-
options =
|
|
9696
|
-
width =
|
|
9697
|
-
optionWidth =
|
|
9698
|
-
height =
|
|
9699
|
-
placeholder =
|
|
9700
|
-
border =
|
|
9701
|
-
background =
|
|
9702
|
-
selectedOptionBackground =
|
|
9703
|
-
selectedOptionColor =
|
|
9704
|
-
menuBackground =
|
|
9705
|
-
optionsBorderRadius =
|
|
9706
|
-
borderRadius =
|
|
9707
|
-
removeIconBackground =
|
|
9708
|
-
handleSelectChange =
|
|
9709
|
-
selectedOptions =
|
|
9710
|
-
placeholderColor =
|
|
9711
|
-
optionBorder =
|
|
9712
|
-
optionColor =
|
|
9713
|
-
searchIcon =
|
|
9714
|
-
searchbarTextColor =
|
|
9715
|
-
searchBoxBackground =
|
|
9716
|
-
searchBoxBorder =
|
|
9717
|
-
searchBoxBorderRadius =
|
|
9718
|
-
size =
|
|
9719
|
-
removeIcon =
|
|
9720
|
-
type =
|
|
9721
|
-
icon =
|
|
9722
|
-
|
|
9723
|
-
disabled =
|
|
9724
|
-
|
|
9725
|
-
required =
|
|
9726
|
-
|
|
9727
|
-
searchBox =
|
|
9728
|
-
|
|
9729
|
-
searchBoxTextLength =
|
|
9730
|
-
|
|
9731
|
-
NoOptionsText =
|
|
9732
|
-
|
|
9733
|
-
selectAllOption =
|
|
9734
|
-
|
|
9735
|
-
selectAllLabel =
|
|
9736
|
-
selectAllChecked =
|
|
9737
|
-
dropdownPosition =
|
|
9738
|
-
|
|
9739
|
-
showAllSelected =
|
|
9688
|
+
var MultiSelectDropdown = function MultiSelectDropdown(_ref36) {
|
|
9689
|
+
var title = _ref36.title,
|
|
9690
|
+
titleWeight = _ref36.titleWeight,
|
|
9691
|
+
titleSize = _ref36.titleSize,
|
|
9692
|
+
titleColor = _ref36.titleColor,
|
|
9693
|
+
_ref36$labelText = _ref36.labelText,
|
|
9694
|
+
labelText = _ref36$labelText === void 0 ? 'Select Cameras' : _ref36$labelText,
|
|
9695
|
+
labelStyle = _ref36.labelStyle,
|
|
9696
|
+
labelColor = _ref36.labelColor,
|
|
9697
|
+
_ref36$replaceLabel = _ref36.replaceLabel,
|
|
9698
|
+
replaceLabel = _ref36$replaceLabel === void 0 ? true : _ref36$replaceLabel,
|
|
9699
|
+
options = _ref36.options,
|
|
9700
|
+
width = _ref36.width,
|
|
9701
|
+
optionWidth = _ref36.optionWidth,
|
|
9702
|
+
height = _ref36.height,
|
|
9703
|
+
placeholder = _ref36.placeholder,
|
|
9704
|
+
border = _ref36.border,
|
|
9705
|
+
background = _ref36.background,
|
|
9706
|
+
selectedOptionBackground = _ref36.selectedOptionBackground,
|
|
9707
|
+
selectedOptionColor = _ref36.selectedOptionColor,
|
|
9708
|
+
menuBackground = _ref36.menuBackground,
|
|
9709
|
+
optionsBorderRadius = _ref36.optionsBorderRadius,
|
|
9710
|
+
borderRadius = _ref36.borderRadius,
|
|
9711
|
+
removeIconBackground = _ref36.removeIconBackground,
|
|
9712
|
+
handleSelectChange = _ref36.handleSelectChange,
|
|
9713
|
+
selectedOptions = _ref36.selectedOptions,
|
|
9714
|
+
placeholderColor = _ref36.placeholderColor,
|
|
9715
|
+
optionBorder = _ref36.optionBorder,
|
|
9716
|
+
optionColor = _ref36.optionColor,
|
|
9717
|
+
searchIcon = _ref36.searchIcon,
|
|
9718
|
+
searchbarTextColor = _ref36.searchbarTextColor,
|
|
9719
|
+
searchBoxBackground = _ref36.searchBoxBackground,
|
|
9720
|
+
searchBoxBorder = _ref36.searchBoxBorder,
|
|
9721
|
+
searchBoxBorderRadius = _ref36.searchBoxBorderRadius,
|
|
9722
|
+
size = _ref36.size,
|
|
9723
|
+
removeIcon = _ref36.removeIcon,
|
|
9724
|
+
type = _ref36.type,
|
|
9725
|
+
icon = _ref36.icon,
|
|
9726
|
+
_ref36$disabled = _ref36.disabled,
|
|
9727
|
+
disabled = _ref36$disabled === void 0 ? false : _ref36$disabled,
|
|
9728
|
+
_ref36$required = _ref36.required,
|
|
9729
|
+
required = _ref36$required === void 0 ? false : _ref36$required,
|
|
9730
|
+
_ref36$searchBox = _ref36.searchBox,
|
|
9731
|
+
searchBox = _ref36$searchBox === void 0 ? true : _ref36$searchBox,
|
|
9732
|
+
_ref36$searchBoxTextL = _ref36.searchBoxTextLength,
|
|
9733
|
+
searchBoxTextLength = _ref36$searchBoxTextL === void 0 ? 50 : _ref36$searchBoxTextL,
|
|
9734
|
+
_ref36$NoOptionsText = _ref36.NoOptionsText,
|
|
9735
|
+
NoOptionsText = _ref36$NoOptionsText === void 0 ? 'No Options Available' : _ref36$NoOptionsText,
|
|
9736
|
+
_ref36$selectAllOptio = _ref36.selectAllOption,
|
|
9737
|
+
selectAllOption = _ref36$selectAllOptio === void 0 ? false : _ref36$selectAllOptio,
|
|
9738
|
+
_ref36$selectAllLabel = _ref36.selectAllLabel,
|
|
9739
|
+
selectAllLabel = _ref36$selectAllLabel === void 0 ? 'Select All' : _ref36$selectAllLabel,
|
|
9740
|
+
selectAllChecked = _ref36.selectAllChecked,
|
|
9741
|
+
dropdownPosition = _ref36.dropdownPosition,
|
|
9742
|
+
_ref36$showAllSelecte = _ref36.showAllSelected,
|
|
9743
|
+
showAllSelected = _ref36$showAllSelecte === void 0 ? false : _ref36$showAllSelecte;
|
|
9740
9744
|
var themeColors = useTheme();
|
|
9741
9745
|
var _useState = useState(false),
|
|
9742
9746
|
dropUp = _useState[0],
|