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.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 $
|
|
9432
|
-
|
|
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 $
|
|
9435
|
-
return $
|
|
9435
|
+
var $width = _ref8.$width;
|
|
9436
|
+
return $width ? $width : '100%';
|
|
9436
9437
|
}, function (_ref9) {
|
|
9437
|
-
var $
|
|
9438
|
-
|
|
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 $
|
|
9443
|
-
|
|
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 $
|
|
9446
|
-
return $
|
|
9446
|
+
var $borderRadius = _ref11.$borderRadius;
|
|
9447
|
+
return $borderRadius || '8px';
|
|
9447
9448
|
}, function (_ref12) {
|
|
9448
|
-
var $
|
|
9449
|
-
|
|
9450
|
-
|
|
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 $
|
|
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 (
|
|
9486
|
-
var $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 (
|
|
9497
|
-
var $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 $
|
|
9509
|
-
|
|
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 (
|
|
9533
|
-
var $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 (
|
|
9536
|
-
var $labelColor =
|
|
9537
|
-
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 (
|
|
9541
|
-
var 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 $
|
|
9548
|
-
return $
|
|
9548
|
+
var $optionsBorderRadius = _ref24.$optionsBorderRadius;
|
|
9549
|
+
return $optionsBorderRadius || '8px';
|
|
9549
9550
|
}, function (_ref25) {
|
|
9550
|
-
var $
|
|
9551
|
-
|
|
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 $
|
|
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 (
|
|
9574
|
-
var $selectedOptionBackground =
|
|
9575
|
-
$disabled =
|
|
9576
|
-
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 (
|
|
9598
|
-
var $selectedOptionColor =
|
|
9599
|
-
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 (
|
|
9622
|
-
var $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
|
|
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 (
|
|
9638
|
-
var $selectedOptionBackground =
|
|
9639
|
-
$disabled =
|
|
9640
|
-
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 (
|
|
9662
|
-
var $selectedOptionColor =
|
|
9663
|
-
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 (
|
|
9686
|
-
var 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(
|
|
9690
|
-
var title =
|
|
9691
|
-
titleWeight =
|
|
9692
|
-
titleSize =
|
|
9693
|
-
titleColor =
|
|
9694
|
-
|
|
9695
|
-
labelText =
|
|
9696
|
-
labelStyle =
|
|
9697
|
-
labelColor =
|
|
9698
|
-
|
|
9699
|
-
replaceLabel =
|
|
9700
|
-
options =
|
|
9701
|
-
width =
|
|
9702
|
-
optionWidth =
|
|
9703
|
-
height =
|
|
9704
|
-
placeholder =
|
|
9705
|
-
border =
|
|
9706
|
-
background =
|
|
9707
|
-
selectedOptionBackground =
|
|
9708
|
-
selectedOptionColor =
|
|
9709
|
-
menuBackground =
|
|
9710
|
-
optionsBorderRadius =
|
|
9711
|
-
borderRadius =
|
|
9712
|
-
removeIconBackground =
|
|
9713
|
-
handleSelectChange =
|
|
9714
|
-
selectedOptions =
|
|
9715
|
-
placeholderColor =
|
|
9716
|
-
optionBorder =
|
|
9717
|
-
optionColor =
|
|
9718
|
-
searchIcon =
|
|
9719
|
-
searchbarTextColor =
|
|
9720
|
-
searchBoxBackground =
|
|
9721
|
-
searchBoxBorder =
|
|
9722
|
-
searchBoxBorderRadius =
|
|
9723
|
-
size =
|
|
9724
|
-
removeIcon =
|
|
9725
|
-
type =
|
|
9726
|
-
icon =
|
|
9727
|
-
|
|
9728
|
-
disabled =
|
|
9729
|
-
|
|
9730
|
-
required =
|
|
9731
|
-
|
|
9732
|
-
searchBox =
|
|
9733
|
-
|
|
9734
|
-
searchBoxTextLength =
|
|
9735
|
-
|
|
9736
|
-
NoOptionsText =
|
|
9737
|
-
|
|
9738
|
-
selectAllOption =
|
|
9739
|
-
|
|
9740
|
-
selectAllLabel =
|
|
9741
|
-
selectAllChecked =
|
|
9742
|
-
dropdownPosition =
|
|
9743
|
-
|
|
9744
|
-
showAllSelected =
|
|
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],
|