labsense-ui-kit 1.1.27 → 1.1.28
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/Dropdown/SelectOption.d.ts +4 -0
- package/dist/index.js +1909 -534
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1909 -534
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -4796,7 +4796,8 @@ var SelectOption = function SelectOption(_ref32) {
|
|
|
4796
4796
|
_ref32$iconSize = _ref32.iconSize,
|
|
4797
4797
|
iconSize = _ref32$iconSize === void 0 ? 16 : _ref32$iconSize,
|
|
4798
4798
|
_ref32$allowDeselect = _ref32.allowDeselect,
|
|
4799
|
-
allowDeselect = _ref32$allowDeselect === void 0 ? true : _ref32$allowDeselect
|
|
4799
|
+
allowDeselect = _ref32$allowDeselect === void 0 ? true : _ref32$allowDeselect,
|
|
4800
|
+
titleRightNode = _ref32.titleRightNode;
|
|
4800
4801
|
var _useState = useState(false),
|
|
4801
4802
|
dropUp = _useState[0],
|
|
4802
4803
|
setDropUp = _useState[1];
|
|
@@ -4878,12 +4879,14 @@ var SelectOption = function SelectOption(_ref32) {
|
|
|
4878
4879
|
"$width": '100%',
|
|
4879
4880
|
"$gap": '8px',
|
|
4880
4881
|
"$overflow": 'visible'
|
|
4882
|
+
}, (title || titleRightNode) && React.createElement(Container, {
|
|
4883
|
+
"$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap
|
|
4881
4884
|
}, title && React.createElement(TitleText$1, {
|
|
4882
4885
|
"$size": size,
|
|
4883
4886
|
htmlFor: title,
|
|
4884
4887
|
"$titlecolor": titlecolor,
|
|
4885
4888
|
"$titleWeight": titleWeight
|
|
4886
|
-
}, title, required && React.createElement(Asterisk, null, "*")), React.createElement(DropdownContainer$1, {
|
|
4889
|
+
}, title, required && React.createElement(Asterisk, null, "*")), titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.node), React.createElement(DropdownContainer$1, {
|
|
4887
4890
|
ref: dropdownRef,
|
|
4888
4891
|
"$width": width
|
|
4889
4892
|
}, React.createElement(DropdownButton$1, {
|
|
@@ -10272,7 +10275,7 @@ var Container$2$1$1$1 = styled.div(_templateObject4$3$1$1$1 || (_templateObject4
|
|
|
10272
10275
|
var LabelText$2$1$1 = styled.div(_templateObject5$3$1$1$1 || (_templateObject5$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref18) {
|
|
10273
10276
|
var $labelStyle = _ref18.$labelStyle;
|
|
10274
10277
|
return $labelStyle;
|
|
10275
|
-
}, colorVariables$1$1$1.text.
|
|
10278
|
+
}, colorVariables$1$1$1.text.medium);
|
|
10276
10279
|
var DropdownMenu$2$1$1 = styled.div(_templateObject6$3$1$1$1 || (_templateObject6$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: 1px solid ", ";\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"])), colorVariables$1$1$1.border.light, function (_ref19) {
|
|
10277
10280
|
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
10278
10281
|
return $optionsBorderRadius || '8px';
|
|
@@ -10402,7 +10405,7 @@ var DropdownContainer$1$1$1$1 = styled.div(_templateObject2$8$1$1$1 || (_templat
|
|
|
10402
10405
|
var $width = _ref4.$width;
|
|
10403
10406
|
return $width || '100%';
|
|
10404
10407
|
});
|
|
10405
|
-
var DropdownButton$1$1$1$1 = styled.div(_templateObject3$6$1$1$1 || (_templateObject3$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
10408
|
+
var DropdownButton$1$1$1$1 = styled.div(_templateObject3$6$1$1$1 || (_templateObject3$6$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n transition: all 0.3s ease;\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
10406
10409
|
var $disabled = _ref5.$disabled;
|
|
10407
10410
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10408
10411
|
}, function (_ref6) {
|
|
@@ -10415,8 +10418,9 @@ var DropdownButton$1$1$1$1 = styled.div(_templateObject3$6$1$1$1 || (_templateOb
|
|
|
10415
10418
|
var $borderRadius = _ref8.$borderRadius;
|
|
10416
10419
|
return $borderRadius || '8px';
|
|
10417
10420
|
}, function (_ref9) {
|
|
10418
|
-
var $border = _ref9.$border
|
|
10419
|
-
|
|
10421
|
+
var $border = _ref9.$border,
|
|
10422
|
+
$isOpen = _ref9.$isOpen;
|
|
10423
|
+
return $isOpen ? "1px solid " + colorVariables$1$1$1.text.dark : $border || "1px solid " + colorVariables$1$1$1.border.light;
|
|
10420
10424
|
}, function (_ref10) {
|
|
10421
10425
|
var $size = _ref10.$size;
|
|
10422
10426
|
switch ($size) {
|
|
@@ -10536,180 +10540,1618 @@ var ModalContainer$1$1$1 = styled.div(_templateObject2$9$1$1$1 || (_templateObje
|
|
|
10536
10540
|
var $maxWidth = _ref.$maxWidth;
|
|
10537
10541
|
return $maxWidth ? $maxWidth : '400px';
|
|
10538
10542
|
});
|
|
10539
|
-
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
}
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
|
|
10561
|
-
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
|
|
10567
|
-
|
|
10568
|
-
|
|
10569
|
-
|
|
10570
|
-
|
|
10571
|
-
|
|
10543
|
+
function _taggedTemplateLiteralLoose$1$1$1$1(e, t) {
|
|
10544
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
10545
|
+
}
|
|
10546
|
+
var colorVariables$1$1$1$1 = {
|
|
10547
|
+
brand: {
|
|
10548
|
+
primary: '#4C9EEB',
|
|
10549
|
+
secondary: '#14171A',
|
|
10550
|
+
light: '#FFFFFF'
|
|
10551
|
+
},
|
|
10552
|
+
accent: {
|
|
10553
|
+
light: '#E1E8ED',
|
|
10554
|
+
extraLight: '#F5F8FA',
|
|
10555
|
+
softBlue: '#D4EEFF',
|
|
10556
|
+
extraSoftBlue: '#E4F4FF',
|
|
10557
|
+
boldTransparent: '#5E5E5E80',
|
|
10558
|
+
transparent: '#5E5E5E4D',
|
|
10559
|
+
lightTransparent: '#5E5E5E23'
|
|
10560
|
+
},
|
|
10561
|
+
"default": {
|
|
10562
|
+
primary: '#78B6F0',
|
|
10563
|
+
secondary: '#C2C2C2',
|
|
10564
|
+
tertiary: 'transparent',
|
|
10565
|
+
error: '#F44336',
|
|
10566
|
+
success: '#4CAF50',
|
|
10567
|
+
warning: '#FF9800',
|
|
10568
|
+
info: '#2159F3'
|
|
10569
|
+
},
|
|
10570
|
+
disabled: {
|
|
10571
|
+
primary: '#B9DCF7',
|
|
10572
|
+
secondary: '#DADADA',
|
|
10573
|
+
error: '#FFEBEE',
|
|
10574
|
+
success: '#E8F5E9',
|
|
10575
|
+
warning: '#FFF3E0',
|
|
10576
|
+
info: '#E3F2FD'
|
|
10577
|
+
},
|
|
10578
|
+
hover: {
|
|
10579
|
+
primary: '#4C9EEB',
|
|
10580
|
+
secondary: '#A3A3A3',
|
|
10581
|
+
tertiary: 'transparent',
|
|
10582
|
+
error: '#D32F2F',
|
|
10583
|
+
success: '#388E3C',
|
|
10584
|
+
warning: '#F57C00',
|
|
10585
|
+
info: '#193ED2'
|
|
10586
|
+
},
|
|
10587
|
+
border: {
|
|
10588
|
+
extraBold: '#657786',
|
|
10589
|
+
bold: '#BFBFBF',
|
|
10590
|
+
medium: '#CBCED0',
|
|
10591
|
+
light: '#DCDCDC',
|
|
10592
|
+
extraLight: '#E6E3E3'
|
|
10593
|
+
},
|
|
10594
|
+
text: {
|
|
10595
|
+
dark: '#14171A',
|
|
10596
|
+
medium: '#657786',
|
|
10597
|
+
light: '#98A2AA',
|
|
10598
|
+
white: '#FFFFFF',
|
|
10599
|
+
success: '#1B5E20',
|
|
10600
|
+
error: '#B71C1C',
|
|
10601
|
+
info: '#0D30A1',
|
|
10602
|
+
warning: '#E65100'
|
|
10603
|
+
},
|
|
10604
|
+
badge: {
|
|
10605
|
+
lavender: '#E8DAFF',
|
|
10606
|
+
papayaWhip: '#FFEDD5',
|
|
10607
|
+
water: '#C7E3FF',
|
|
10608
|
+
paleBlue: '#B0F0E4',
|
|
10609
|
+
teaGreen: '#D5F7C2',
|
|
10610
|
+
lightBlue: '#ADD8E6'
|
|
10572
10611
|
}
|
|
10612
|
+
};
|
|
10613
|
+
var _templateObject$d$1$1$1, _templateObject2$a$1$1$1, _templateObject3$7$1$1$1;
|
|
10614
|
+
var wrapperCss$1$1$1$1 = css(_templateObject$d$1$1$1 || (_templateObject$d$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n svg {\n overflow: visible;\n vector-effect: non-scaling-stroke;\n line,\n path,\n circle,\n ellipse,\n foreignObject,\n polygon,\n polyline,\n rect,\n text,\n textPath,\n tspan {\n vector-effect: non-scaling-stroke;\n }\n }\n"])));
|
|
10615
|
+
var IconWrapper$1$1$1$1 = styled.div(_templateObject2$a$1$1$1 || (_templateObject2$a$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
|
|
10616
|
+
var $clickable = _ref.$clickable;
|
|
10617
|
+
return $clickable ? 'pointer' : 'default';
|
|
10618
|
+
}, wrapperCss$1$1$1$1);
|
|
10619
|
+
var IconWrapperForSVG$1$1$1$1 = styled.g(_templateObject3$7$1$1$1 || (_templateObject3$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n ", ";\n"])), wrapperCss$1$1$1$1);
|
|
10620
|
+
var _templateObject$1$1$1$1$1, _templateObject2$1$1$1$1$1;
|
|
10621
|
+
var Container$3$1$1$1 = styled.div(_templateObject$1$1$1$1$1 || (_templateObject$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
10622
|
+
var $flex = _ref.$flex;
|
|
10623
|
+
return $flex;
|
|
10624
|
+
}, function (_ref2) {
|
|
10625
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
10626
|
+
return $flexWrap;
|
|
10573
10627
|
}, function (_ref3) {
|
|
10574
|
-
var $
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
return colorVariables$1$1$1.text.medium;
|
|
10580
|
-
case 'light':
|
|
10581
|
-
return colorVariables$1$1$1.text.light;
|
|
10582
|
-
case 'white':
|
|
10583
|
-
return colorVariables$1$1$1.text.white;
|
|
10584
|
-
case 'warning':
|
|
10585
|
-
return colorVariables$1$1$1["default"].warning;
|
|
10586
|
-
case 'info':
|
|
10587
|
-
return colorVariables$1$1$1["default"].info;
|
|
10588
|
-
case 'success':
|
|
10589
|
-
return colorVariables$1$1$1["default"].success;
|
|
10590
|
-
case 'error':
|
|
10591
|
-
return colorVariables$1$1$1["default"].error;
|
|
10592
|
-
default:
|
|
10593
|
-
return $titlecolor;
|
|
10594
|
-
}
|
|
10595
|
-
});
|
|
10596
|
-
var Input = styled.input(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1.border.light, function (_ref4) {
|
|
10597
|
-
var $disabled = _ref4.$disabled;
|
|
10598
|
-
return $disabled ? 'not-allowed' : 'auto';
|
|
10628
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
10629
|
+
return $flexDirection;
|
|
10630
|
+
}, function (_ref4) {
|
|
10631
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
10632
|
+
return $justifyContent;
|
|
10599
10633
|
}, function (_ref5) {
|
|
10600
|
-
var $
|
|
10601
|
-
|
|
10602
|
-
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10634
|
+
var $alignItems = _ref5.$alignItems;
|
|
10635
|
+
return $alignItems;
|
|
10603
10636
|
}, function (_ref6) {
|
|
10604
|
-
var $
|
|
10605
|
-
return $
|
|
10637
|
+
var $gap = _ref6.$gap;
|
|
10638
|
+
return $gap;
|
|
10606
10639
|
}, function (_ref7) {
|
|
10607
|
-
var $
|
|
10608
|
-
return $
|
|
10640
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
10641
|
+
return $fontWeight;
|
|
10609
10642
|
}, function (_ref8) {
|
|
10610
|
-
var $
|
|
10611
|
-
|
|
10612
|
-
switch ($size) {
|
|
10613
|
-
case 'small':
|
|
10614
|
-
return "\n font-size: 12px;\n padding: " + ($type === 'password' ? '5px 38px 5px 10px' : '5px 10px') + ";\n ";
|
|
10615
|
-
case 'medium':
|
|
10616
|
-
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '9.5px 38px 9.5px 12px' : '9.5px 12px') + ";\n ";
|
|
10617
|
-
case 'large':
|
|
10618
|
-
return "\n font-size: 16px;\n padding: " + ($type === 'password' ? '9px 38px 9px 14px' : '9px 14px') + ";\n ";
|
|
10619
|
-
default:
|
|
10620
|
-
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '7px 38px 7px 12px' : '7px 12px') + ";\n ";
|
|
10621
|
-
}
|
|
10643
|
+
var $height = _ref8.$height;
|
|
10644
|
+
return $height;
|
|
10622
10645
|
}, function (_ref9) {
|
|
10623
|
-
var $
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
10629
|
-
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
case 'error':
|
|
10640
|
-
return colorVariables$1$1$1["default"].error;
|
|
10641
|
-
default:
|
|
10642
|
-
return $color;
|
|
10643
|
-
}
|
|
10644
|
-
}, colorVariables$1$1$1.text.light);
|
|
10645
|
-
var InputWrapper$1$1$1$1 = styled.div(_templateObject3$7$1$1$1 || (_templateObject3$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
10646
|
-
var IconWrapper$1$1$1$1 = styled.div(_templateObject4$5$1$1$1 || (_templateObject4$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
10647
|
-
var $disabled = _ref10.$disabled;
|
|
10648
|
-
return $disabled ? 'not-allowed' : 'pointer';
|
|
10649
|
-
});
|
|
10650
|
-
var Asterisk$1$1$1$1 = styled.span(_templateObject5$5$1$1$1 || (_templateObject5$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1$1["default"].error);
|
|
10651
|
-
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
10652
|
-
var Container$3$1$1$1 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10653
|
-
var $padding = _ref.$padding;
|
|
10646
|
+
var $minHeight = _ref9.$minHeight;
|
|
10647
|
+
return $minHeight;
|
|
10648
|
+
}, function (_ref10) {
|
|
10649
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
10650
|
+
return $maxHeight;
|
|
10651
|
+
}, function (_ref11) {
|
|
10652
|
+
var $width = _ref11.$width;
|
|
10653
|
+
return $width;
|
|
10654
|
+
}, function (_ref12) {
|
|
10655
|
+
var $minWidth = _ref12.$minWidth;
|
|
10656
|
+
return $minWidth;
|
|
10657
|
+
}, function (_ref13) {
|
|
10658
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
10659
|
+
return $maxWidth;
|
|
10660
|
+
}, function (_ref14) {
|
|
10661
|
+
var $padding = _ref14.$padding;
|
|
10654
10662
|
return $padding;
|
|
10655
|
-
})
|
|
10656
|
-
var
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
return $
|
|
10682
|
-
}, function (
|
|
10683
|
-
var $
|
|
10684
|
-
return $
|
|
10685
|
-
}, function (
|
|
10686
|
-
var $
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
}, function (
|
|
10698
|
-
var $
|
|
10699
|
-
return $
|
|
10700
|
-
},
|
|
10701
|
-
var
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
var $
|
|
10705
|
-
return $
|
|
10706
|
-
}, function (
|
|
10663
|
+
}, function (_ref15) {
|
|
10664
|
+
var $background = _ref15.$background;
|
|
10665
|
+
return $background;
|
|
10666
|
+
}, function (_ref16) {
|
|
10667
|
+
var $objectfit = _ref16.$objectfit;
|
|
10668
|
+
return $objectfit;
|
|
10669
|
+
}, function (_ref17) {
|
|
10670
|
+
var $margin = _ref17.$margin;
|
|
10671
|
+
return $margin;
|
|
10672
|
+
}, function (_ref18) {
|
|
10673
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
10674
|
+
return $borderRadius;
|
|
10675
|
+
}, function (_ref19) {
|
|
10676
|
+
var $borderTopLeftRadius = _ref19.$borderTopLeftRadius;
|
|
10677
|
+
return $borderTopLeftRadius;
|
|
10678
|
+
}, function (_ref20) {
|
|
10679
|
+
var $borderTopRightRadius = _ref20.$borderTopRightRadius;
|
|
10680
|
+
return $borderTopRightRadius;
|
|
10681
|
+
}, function (_ref21) {
|
|
10682
|
+
var $cursor = _ref21.$cursor;
|
|
10683
|
+
return $cursor;
|
|
10684
|
+
}, function (_ref22) {
|
|
10685
|
+
var $fontSize = _ref22.$fontSize;
|
|
10686
|
+
return $fontSize;
|
|
10687
|
+
}, function (_ref23) {
|
|
10688
|
+
var $opacity = _ref23.$opacity;
|
|
10689
|
+
return $opacity;
|
|
10690
|
+
}, function (_ref24) {
|
|
10691
|
+
var $pointerEvents = _ref24.$pointerEvents;
|
|
10692
|
+
return $pointerEvents;
|
|
10693
|
+
}, function (_ref25) {
|
|
10694
|
+
var $position = _ref25.$position;
|
|
10695
|
+
return $position;
|
|
10696
|
+
}, function (_ref26) {
|
|
10697
|
+
var $top = _ref26.$top;
|
|
10698
|
+
return $top;
|
|
10699
|
+
}, function (_ref27) {
|
|
10700
|
+
var $bottom = _ref27.$bottom;
|
|
10701
|
+
return $bottom;
|
|
10702
|
+
}, function (_ref28) {
|
|
10703
|
+
var $left = _ref28.$left;
|
|
10704
|
+
return $left;
|
|
10705
|
+
}, function (_ref29) {
|
|
10706
|
+
var $right = _ref29.$right;
|
|
10707
|
+
return $right;
|
|
10708
|
+
}, function (_ref30) {
|
|
10709
|
+
var $textAlign = _ref30.$textAlign;
|
|
10710
|
+
return $textAlign;
|
|
10711
|
+
}, function (_ref31) {
|
|
10712
|
+
var $color = _ref31.$color;
|
|
10713
|
+
return $color;
|
|
10714
|
+
}, function (_ref32) {
|
|
10715
|
+
var $overflow = _ref32.$overflow;
|
|
10716
|
+
return $overflow || 'visible';
|
|
10717
|
+
}, function (_ref33) {
|
|
10718
|
+
var $overflowY = _ref33.$overflowY;
|
|
10719
|
+
return $overflowY;
|
|
10720
|
+
}, function (_ref34) {
|
|
10721
|
+
var $zIndex = _ref34.$zIndex;
|
|
10722
|
+
return $zIndex;
|
|
10723
|
+
}, function (_ref35) {
|
|
10724
|
+
var $scrollbarWidth = _ref35.$scrollbarWidth;
|
|
10725
|
+
return $scrollbarWidth;
|
|
10726
|
+
}, function (_ref36) {
|
|
10727
|
+
var $border = _ref36.$border;
|
|
10728
|
+
return $border;
|
|
10729
|
+
}, function (_ref37) {
|
|
10730
|
+
var $borderTop = _ref37.$borderTop;
|
|
10731
|
+
return $borderTop;
|
|
10732
|
+
}, function (_ref38) {
|
|
10733
|
+
var $borderBottom = _ref38.$borderBottom;
|
|
10734
|
+
return $borderBottom;
|
|
10735
|
+
}, function (_ref39) {
|
|
10736
|
+
var $borderLeft = _ref39.$borderLeft;
|
|
10737
|
+
return $borderLeft;
|
|
10738
|
+
}, function (_ref40) {
|
|
10739
|
+
var $transition = _ref40.$transition;
|
|
10740
|
+
return $transition;
|
|
10741
|
+
}, function (_ref41) {
|
|
10742
|
+
var $boxShadow = _ref41.$boxShadow;
|
|
10743
|
+
return $boxShadow;
|
|
10744
|
+
}, function (_ref42) {
|
|
10745
|
+
var $hoverBackground = _ref42.$hoverBackground;
|
|
10746
|
+
return $hoverBackground;
|
|
10747
|
+
}, function (_ref43) {
|
|
10748
|
+
var $hoverColor = _ref43.$hoverColor;
|
|
10749
|
+
return $hoverColor;
|
|
10750
|
+
});
|
|
10751
|
+
var Span$1$1$1$1 = styled.span(_templateObject2$1$1$1$1$1 || (_templateObject2$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref44) {
|
|
10752
|
+
var $fontFamily = _ref44.$fontFamily;
|
|
10753
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
10754
|
+
}, function (_ref45) {
|
|
10755
|
+
var $fontWeight = _ref45.$fontWeight;
|
|
10756
|
+
return $fontWeight ? $fontWeight : '500';
|
|
10757
|
+
}, function (_ref46) {
|
|
10758
|
+
var $fontSize = _ref46.$fontSize;
|
|
10759
|
+
return $fontSize ? $fontSize : '16px';
|
|
10760
|
+
}, function (_ref47) {
|
|
10761
|
+
var $color = _ref47.$color;
|
|
10762
|
+
return $color ? $color : colorVariables$1$1$1$1.text.medium;
|
|
10763
|
+
}, function (_ref48) {
|
|
10764
|
+
var $lineHeight = _ref48.$lineHeight;
|
|
10765
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
10766
|
+
}, function (_ref49) {
|
|
10767
|
+
var $textAlign = _ref49.$textAlign;
|
|
10768
|
+
return $textAlign ? $textAlign : 'center';
|
|
10769
|
+
}, function (_ref50) {
|
|
10770
|
+
var $minWidth = _ref50.$minWidth;
|
|
10771
|
+
return $minWidth;
|
|
10772
|
+
}, function (_ref51) {
|
|
10773
|
+
var $width = _ref51.$width;
|
|
10774
|
+
return $width;
|
|
10775
|
+
}, function (_ref52) {
|
|
10776
|
+
var $overflowWrap = _ref52.$overflowWrap;
|
|
10777
|
+
return $overflowWrap;
|
|
10778
|
+
});
|
|
10779
|
+
var _templateObject$2$1$1$1$1, _templateObject2$2$1$1$1$1;
|
|
10780
|
+
var TooltipWrapper$1$1$1$1 = styled.div(_templateObject$2$1$1$1$1 || (_templateObject$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n svg {\n cursor: pointer;\n } \n"])));
|
|
10781
|
+
var TooltipText$1$1$1$1 = styled.span(_templateObject2$2$1$1$1$1 || (_templateObject2$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n visibility: ", ";\n opacity: ", ";\n width: max-content;\n max-width: 300px;\n background-color: ", ";\n color: ", ";\n text-align: start;\n border-radius: 8px;\n padding:8px 16px;\n transition: opacity 0.2s ease-in-out;\n font-size: 12px;\n\n // position: absolute;\n // left: 0;\n // bottom: 150%;\n // white-space: pre-line;\n // position: fixed;\n // z-index: 99999;\n // transition: opacity 0.2s ease-in-out;\n // font-size: 12px;\n // pointer-events: auto;\n"])), function (_ref) {
|
|
10782
|
+
var $visible = _ref.$visible;
|
|
10783
|
+
return $visible ? 'visible' : 'hidden';
|
|
10784
|
+
}, function (_ref2) {
|
|
10785
|
+
var $visible = _ref2.$visible;
|
|
10786
|
+
return $visible ? 1 : 0;
|
|
10787
|
+
}, function (_ref3) {
|
|
10788
|
+
var $bgColor = _ref3.$bgColor;
|
|
10789
|
+
return $bgColor || colorVariables$1$1$1$1.brand.light;
|
|
10790
|
+
}, colorVariables$1$1$1$1.text.medium);
|
|
10791
|
+
var _templateObject$3$1$1$1$1;
|
|
10792
|
+
var BreadCrum$1$1$1$1 = styled.span(_templateObject$3$1$1$1$1 || (_templateObject$3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n line-height: 100%;\n text-align: center;\n opacity: ", ";\n \n &:hover {\n text-decoration: ", ";\n cursor: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
10793
|
+
var $color = _ref.$color;
|
|
10794
|
+
return $color ? $color : colorVariables$1$1$1$1.text.medium;
|
|
10795
|
+
}, function (_ref2) {
|
|
10796
|
+
var $disabled = _ref2.$disabled;
|
|
10797
|
+
return $disabled ? '0.6' : '1';
|
|
10798
|
+
}, function (_ref3) {
|
|
10799
|
+
var $hover = _ref3.$hover,
|
|
10800
|
+
$disabled = _ref3.$disabled;
|
|
10801
|
+
return $hover && !$disabled && 'underline';
|
|
10802
|
+
}, function (_ref4) {
|
|
10803
|
+
var $hover = _ref4.$hover,
|
|
10804
|
+
$disabled = _ref4.$disabled;
|
|
10805
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
10806
|
+
}, function (_ref5) {
|
|
10807
|
+
var $hover = _ref5.$hover,
|
|
10808
|
+
$disabled = _ref5.$disabled;
|
|
10809
|
+
return $hover && !$disabled && colorVariables$1$1$1$1["default"].primary;
|
|
10810
|
+
});
|
|
10811
|
+
var _templateObject$4$1$1$1$1;
|
|
10812
|
+
var fontFaces$1$1$1$1 = css(_templateObject$4$1$1$1$1 || (_templateObject$4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n @font-face {\n font-family: 'NotoSans';\n font-weight: 200;\n font-style: normal;\n src: url('./NotoSans-ExtraLight.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 300;\n font-style: normal;\n src: url('./NotoSans-Light.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 400;\n font-style: normal;\n src: url('./NotoSans-Regular.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 400;\n font-style: italic;\n src: url('./NotoSans-italic.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 500;\n font-style: normal;\n src: url('./NotoSans-Medium.woff') format('woff');\n font-display: fallback;\n }\n\n @font-face {\n font-family: 'NotoSans';\n font-weight: 600;\n font-style: normal;\n src: url('./NotoSans-SemiBold.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 700;\n font-style: normal;\n src: url('./NotoSans-Bold.woff') format('woff');\n font-display: fallback;\n }\n @font-face {\n font-family: 'NotoSans';\n font-weight: 800;\n font-style: normal;\n src: url('./NotoSans-ExtraBold.woff') format('woff');\n font-display: fallback;\n }\n"])));
|
|
10813
|
+
var GlobalFonts$1$1$1$1 = {
|
|
10814
|
+
bold: 'NotoSans, sans-serif',
|
|
10815
|
+
regular: 'NotoSans, sans-serif',
|
|
10816
|
+
light: 'NotoSans, sans-serif'
|
|
10817
|
+
};
|
|
10818
|
+
var _templateObject$5$1$1$1$1, _templateObject2$3$1$1$1$1, _templateObject3$1$1$1$1$1, _templateObject4$5$1$1$1, _templateObject5$5$1$1$1, _templateObject6$5$1$1$1;
|
|
10819
|
+
var spin$1$1$1$1 = keyframes(_templateObject$5$1$1$1$1 || (_templateObject$5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10820
|
+
var Spinner$1$1$1$1 = styled.div(_templateObject2$3$1$1$1$1 || (_templateObject2$3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: ", "px;\n height: ", "px;\n border: ", "px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: fadeIn 0.3s ease-in-out forwards, ", " 1s linear infinite;\n"])), function (_ref) {
|
|
10821
|
+
var $size = _ref.$size;
|
|
10822
|
+
return $size;
|
|
10823
|
+
}, function (_ref2) {
|
|
10824
|
+
var $size = _ref2.$size;
|
|
10825
|
+
return $size;
|
|
10826
|
+
}, function (_ref3) {
|
|
10827
|
+
var $size = _ref3.$size;
|
|
10828
|
+
return $size / 4;
|
|
10829
|
+
}, function (_ref4) {
|
|
10830
|
+
var $color = _ref4.$color;
|
|
10831
|
+
return $color;
|
|
10832
|
+
}, spin$1$1$1$1);
|
|
10833
|
+
var LoaderWrapper$1$1$1$1 = styled.div(_templateObject3$1$1$1$1$1 || (_templateObject3$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n margin-left: ", ";\n margin-right: ", ";\n transition: opacity 0.3s ease-in-out;\n"])), function (_ref5) {
|
|
10834
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
10835
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
10836
|
+
}, function (_ref6) {
|
|
10837
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
10838
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
10839
|
+
});
|
|
10840
|
+
var Container$1$1$1$1$1 = styled.div(_templateObject4$5$1$1$1 || (_templateObject4$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
|
|
10841
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
10842
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
10843
|
+
}, function (_ref8) {
|
|
10844
|
+
var gap = _ref8.gap;
|
|
10845
|
+
return gap || '4px';
|
|
10846
|
+
}, function (_ref9) {
|
|
10847
|
+
var cursor = _ref9.cursor;
|
|
10848
|
+
return cursor;
|
|
10849
|
+
});
|
|
10850
|
+
var StyledButton$1$1$1$1 = styled.button(_templateObject5$5$1$1$1 || (_templateObject5$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n pointer-events: ", ";\n cursor: ", ";\n height: max-content;\n min-height: max-content;\n width: max-content;\n box-sizing: border-box;\n border-radius: ", ";\n outline: none;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding: ", ";\n\n &:focus {\n outline: none;\n }\n\n ", "\n color: ", "; \n"])), function (_ref10) {
|
|
10851
|
+
var $disabled = _ref10.$disabled;
|
|
10852
|
+
return $disabled ? 'none' : 'auto';
|
|
10853
|
+
}, function (_ref11) {
|
|
10854
|
+
var $disabled = _ref11.$disabled;
|
|
10855
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10856
|
+
}, function (_ref12) {
|
|
10857
|
+
var $borderRadius = _ref12.$borderRadius;
|
|
10858
|
+
return $borderRadius || '8px';
|
|
10859
|
+
}, function (_ref13) {
|
|
10860
|
+
var $size = _ref13.$size,
|
|
10861
|
+
$padding = _ref13.$padding;
|
|
10862
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
10863
|
+
}, function (_ref14) {
|
|
10864
|
+
var _$borderHover$match;
|
|
10865
|
+
var $variant = _ref14.$variant,
|
|
10866
|
+
$disabled = _ref14.$disabled,
|
|
10867
|
+
$borderHover = _ref14.$borderHover,
|
|
10868
|
+
$borderDefault = _ref14.$borderDefault,
|
|
10869
|
+
$background = _ref14.$background,
|
|
10870
|
+
$color = _ref14.$color,
|
|
10871
|
+
$colorHover = _ref14.$colorHover;
|
|
10872
|
+
switch ($variant) {
|
|
10873
|
+
case 'primary':
|
|
10874
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1$1.disabled.primary : colorVariables$1$1$1$1["default"].primary) + ";\n color: " + colorVariables$1$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1$1.disabled.primary : "1px solid " + colorVariables$1$1$1$1["default"].primary) + ";\n &:hover {\n background: " + colorVariables$1$1$1$1.hover.primary + ";\n border: 1px solid " + colorVariables$1$1$1$1.hover.primary + ";\n }\n ";
|
|
10875
|
+
case 'secondary':
|
|
10876
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1["default"].secondary) + "; \n color: " + colorVariables$1$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1$1.disabled.secondary : "1px solid " + colorVariables$1$1$1$1["default"].secondary) + ";\n &:hover{\n background: " + colorVariables$1$1$1$1.hover.secondary + ";\n border: 1px solid " + colorVariables$1$1$1$1.hover.secondary + ";\n }\n ";
|
|
10877
|
+
case 'tertiary':
|
|
10878
|
+
return "\n background: " + colorVariables$1$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1$1.disabled.primary : colorVariables$1$1$1$1["default"].primary) + ";\n border: " + ($borderDefault ? "" + $borderDefault : "1px solid " + colorVariables$1$1$1$1["default"].tertiary) + ";\n &:hover {\n color: " + (!$disabled && $borderHover ? (_$borderHover$match = $borderHover.match(/#\w+/)) === null || _$borderHover$match === void 0 ? void 0 : _$borderHover$match[0] : colorVariables$1$1$1$1.hover.primary) + ";\n border: " + ($borderHover ? $borderHover : "1px solid " + colorVariables$1$1$1$1.hover.primary) + ";\n }\n ";
|
|
10879
|
+
case 'error':
|
|
10880
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1$1.disabled.error : colorVariables$1$1$1$1["default"].error) + "; \n color: " + colorVariables$1$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1$1.disabled.error : "1px solid " + colorVariables$1$1$1$1["default"].error) + ";\n &:hover{\n background: " + colorVariables$1$1$1$1.hover.error + ";\n border: 1px solid " + colorVariables$1$1$1$1.hover.error + ";\n }\n ";
|
|
10881
|
+
case 'outline-primary':
|
|
10882
|
+
return "\n background: " + colorVariables$1$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1$1.disabled.primary : colorVariables$1$1$1$1["default"].primary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1$1.disabled.primary : "1px solid " + colorVariables$1$1$1$1["default"].primary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1$1.hover.primary + ";\n color: " + colorVariables$1$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1$1.hover.primary + ";\n }\n ";
|
|
10883
|
+
case 'outline-secondary':
|
|
10884
|
+
return "\n background: " + colorVariables$1$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1["default"].secondary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1$1.disabled.secondary : "1px solid " + colorVariables$1$1$1$1["default"].secondary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1$1.hover.secondary + ";\n color: " + colorVariables$1$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1$1.hover.secondary + ";\n }\n ";
|
|
10885
|
+
case 'outline-error':
|
|
10886
|
+
return "\n background: " + colorVariables$1$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1$1.disabled.error : colorVariables$1$1$1$1["default"].error) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1$1.disabled.error : "1px solid " + colorVariables$1$1$1$1["default"].error) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1$1.hover.error + ";\n color: " + colorVariables$1$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1$1.hover.error + ";\n }\n ";
|
|
10887
|
+
case 'custom':
|
|
10888
|
+
return "\n background: " + $background + ";\n color: " + $color + ";\n border: " + ("1px solid " + $borderDefault) + ";\n &:hover{\n border: 1px solid " + $borderHover + ";\n color: " + $colorHover + ";\n background: " + $borderHover + ";\n }\n ";
|
|
10889
|
+
default:
|
|
10890
|
+
return '';
|
|
10891
|
+
}
|
|
10892
|
+
}, function (_ref15) {
|
|
10893
|
+
var color = _ref15.color;
|
|
10894
|
+
return color;
|
|
10895
|
+
});
|
|
10896
|
+
var ButtonText$1$1$1$1 = styled.span(_templateObject6$5$1$1$1 || (_templateObject6$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref16) {
|
|
10897
|
+
var $fontFamily = _ref16.$fontFamily;
|
|
10898
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1$1$1.bold;
|
|
10899
|
+
}, function (_ref17) {
|
|
10900
|
+
var $size = _ref17.$size,
|
|
10901
|
+
$fontSize = _ref17.$fontSize;
|
|
10902
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
10903
|
+
}, function (_ref18) {
|
|
10904
|
+
var $fontWeight = _ref18.$fontWeight,
|
|
10905
|
+
$size = _ref18.$size;
|
|
10906
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
10907
|
+
}, function (_ref19) {
|
|
10908
|
+
var $size = _ref19.$size,
|
|
10909
|
+
$fontSize = _ref19.$fontSize;
|
|
10910
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
10911
|
+
});
|
|
10912
|
+
var _templateObject$6$1$1$1$1;
|
|
10913
|
+
var InnerContent$1$1$1$1 = styled.div(_templateObject$6$1$1$1$1 || (_templateObject$6$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n gap: 12px;\n overflow-x: auto;\n scroll-behavior: smooth;\n scrollbar-width: none;\n ms-overflow-style: none;\n white-space: nowrap;\n padding: ", "; \n margin: 0 10px;\n"])), function (_ref) {
|
|
10914
|
+
var $isScrollable = _ref.$isScrollable;
|
|
10915
|
+
return $isScrollable ? '0 12px' : '0';
|
|
10916
|
+
});
|
|
10917
|
+
var _templateObject$7$1$1$1$1, _templateObject2$4$1$1$1$1, _templateObject3$2$1$1$1$1, _templateObject4$1$1$1$1$1, _templateObject5$1$1$1$1$1, _templateObject6$1$1$1$1$1, _templateObject7$3$1$1$1, _templateObject8$3$1$1$1, _templateObject9$3$1$1$1, _templateObject10$3$1$1$1, _templateObject11$2$1$1$1, _templateObject12$1$1$1$1, _templateObject13$1$1$1$1, _templateObject14$1$1$1$1, _templateObject15$1$1$1$1, _templateObject16$1$1$1$1, _templateObject17$1$1$1$1, _templateObject18$1$1$1$1, _templateObject19$1$1$1$1, _templateObject20$1$1$1$1, _templateObject21$1$1$1$1;
|
|
10918
|
+
var DatePickerContainer$1$1$1$1 = styled.div(_templateObject$7$1$1$1$1 || (_templateObject$7$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n"])));
|
|
10919
|
+
var CalendarContainer$1$1$1$1 = styled.div(_templateObject2$4$1$1$1$1 || (_templateObject2$4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n overflow: auto;\n display: flex;\n flex-direction: row;\n background: rgba(245, 248, 250, .95); \n position: absolute;\n border: 1px solid ", ";\n height: auto;\n width: auto;\n border-radius: 10px;\n z-index: 10;\n padding: 10px;\n top: 0px;\n right: 0px;\n gap: 16px;\n"])), colorVariables$1$1$1$1.border.medium);
|
|
10920
|
+
var Calendar$1$1$1$1$1 = styled.div(_templateObject3$2$1$1$1$1 || (_templateObject3$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1([""])));
|
|
10921
|
+
var CalendarTime$1$1$1$1 = styled.div(_templateObject4$1$1$1$1$1 || (_templateObject4$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n border: 1px solid ", ";\n border-radius: 4px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 8px;\n"])), colorVariables$1$1$1$1.border.medium);
|
|
10922
|
+
var StartDate$1$1$1$1 = styled.div(_templateObject5$1$1$1$1$1 || (_templateObject5$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding-bottom: 4px;\n"])));
|
|
10923
|
+
var SelectedStart$1$1$1$1 = styled.div(_templateObject6$1$1$1$1$1 || (_templateObject6$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 4px;\n color: ", ";\n"])), colorVariables$1$1$1$1.text.medium);
|
|
10924
|
+
var CurrentDate$1$1$1$1 = styled.p(_templateObject7$3$1$1$1 || (_templateObject7$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 12px;\n"])));
|
|
10925
|
+
var CurrentTime$1$1$1$1 = styled.div(_templateObject8$3$1$1$1 || (_templateObject8$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n color: ", ";\n"])), colorVariables$1$1$1$1.text.medium);
|
|
10926
|
+
var Selectedtime$1$1$1$1 = styled.div(_templateObject9$3$1$1$1 || (_templateObject9$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n color: ", ";\n gap: 8px;\n"])), colorVariables$1$1$1$1.text.medium);
|
|
10927
|
+
var Line$1$1$1$1 = styled.div(_templateObject10$3$1$1$1 || (_templateObject10$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
10928
|
+
var Zones$1$1$1$1 = styled.div(_templateObject11$2$1$1$1 || (_templateObject11$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
10929
|
+
var CalendarHeader$1$1$1$1 = styled.div(_templateObject12$1$1$1$1 || (_templateObject12$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n"])));
|
|
10930
|
+
var CalendarMonthYear$1$1$1$1 = styled.span(_templateObject13$1$1$1$1 || (_templateObject13$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: column;\n color: ", ";\n justify-content: center;\n align-items: center;\n"])), colorVariables$1$1$1$1.text.medium);
|
|
10931
|
+
var CalendarContent$1$1$1$1 = styled.div(_templateObject14$1$1$1$1 || (_templateObject14$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 5px;\n padding: 10px;\n"])));
|
|
10932
|
+
var Button$1$1$1$1 = styled.div(_templateObject15$1$1$1$1 || (_templateObject15$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n background:", ";\n color: ", ";\n border: none;\n border-radius: 5px;\n padding: 5px 10px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n\n svg {\n cursor: pointer;\n }\n"])), colorVariables$1$1$1$1["default"].secondary, colorVariables$1$1$1$1.text.white, function (_ref) {
|
|
10933
|
+
var $size = _ref.$size;
|
|
10934
|
+
return $size ? $size + "px" : '30px';
|
|
10935
|
+
}, function (_ref2) {
|
|
10936
|
+
var $size = _ref2.$size;
|
|
10937
|
+
return $size ? $size + "px" : '30px';
|
|
10938
|
+
});
|
|
10939
|
+
var CalendarDates$1$1$1$1 = styled.div(_templateObject16$1$1$1$1 || (_templateObject16$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: ", ";\n height: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n cursor: ", "; \n font-size: 12px;\n opacity: ", "; \n\n background-color: ", ";\n\n color: ", ";\n\n &:hover {\n background-color: ", ";\n }\n"])), function (_ref3) {
|
|
10940
|
+
var $size = _ref3.$size;
|
|
10941
|
+
return $size ? $size + "px" : '30px';
|
|
10942
|
+
}, function (_ref4) {
|
|
10943
|
+
var $size = _ref4.$size;
|
|
10944
|
+
return $size ? $size + "px" : '30px';
|
|
10945
|
+
}, function (_ref5) {
|
|
10946
|
+
var $isFuture = _ref5.$isFuture,
|
|
10947
|
+
$futureDateTime = _ref5.$futureDateTime;
|
|
10948
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
10949
|
+
}, function (_ref6) {
|
|
10950
|
+
var $isFuture = _ref6.$isFuture,
|
|
10951
|
+
$futureDateTime = _ref6.$futureDateTime;
|
|
10952
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
10953
|
+
}, function (_ref7) {
|
|
10954
|
+
var $selected = _ref7.$selected,
|
|
10955
|
+
$inRange = _ref7.$inRange;
|
|
10956
|
+
return $selected ? colorVariables$1$1$1$1["default"].primary : $inRange ? colorVariables$1$1$1$1["default"].primary : colorVariables$1$1$1$1["default"].tertiary;
|
|
10957
|
+
}, function (_ref8) {
|
|
10958
|
+
var $selected = _ref8.$selected,
|
|
10959
|
+
$inRange = _ref8.$inRange;
|
|
10960
|
+
return $selected ? colorVariables$1$1$1$1.text.white : $inRange ? colorVariables$1$1$1$1.text.white : colorVariables$1$1$1$1.text.medium;
|
|
10961
|
+
}, function (_ref9) {
|
|
10962
|
+
var $selected = _ref9.$selected,
|
|
10963
|
+
$inRange = _ref9.$inRange,
|
|
10964
|
+
$isFuture = _ref9.$isFuture,
|
|
10965
|
+
$futureDateTime = _ref9.$futureDateTime;
|
|
10966
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? colorVariables$1$1$1$1.disabled.primary : $inRange ? colorVariables$1$1$1$1.disabled.primary : colorVariables$1$1$1$1.disabled.primary;
|
|
10967
|
+
});
|
|
10968
|
+
var Year$1$1$1$1 = styled.div(_templateObject17$1$1$1$1 || (_templateObject17$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 12px;\n"])));
|
|
10969
|
+
var Month$1$1$1$1 = styled.div(_templateObject18$1$1$1$1 || (_templateObject18$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 600;\n font-size: 14px;\n"])));
|
|
10970
|
+
var InputWrapper$1$1$1$1 = styled.div(_templateObject19$1$1$1$1 || (_templateObject19$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
10971
|
+
var TimeInputWrapper$1$1$1$1 = styled.div(_templateObject20$1$1$1$1 || (_templateObject20$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
10972
|
+
var StyledInput$1$1$1$1 = styled.input(_templateObject21$1$1$1$1 || (_templateObject21$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n outline: none;\n width: 60px;\n height: 30px;\n text-align: center;\n font-size: 16px;\n border-radius: 5px;\n background: white;\n border: 1px solid ", ";\n color: ", ";\n"])), colorVariables$1$1$1$1.border.extraBold, colorVariables$1$1$1$1.text.dark);
|
|
10973
|
+
var _templateObject$8$1$1$1$1, _templateObject2$5$1$1$1$1, _templateObject3$3$1$1$1$1, _templateObject4$2$1$1$1$1, _templateObject5$2$1$1$1$1, _templateObject6$2$1$1$1$1;
|
|
10974
|
+
var OptionContainer$1$1$1$1 = styled.div(_templateObject$8$1$1$1$1 || (_templateObject$8$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1([""])));
|
|
10975
|
+
var OptionItem$1$1$1$1 = styled.div(_templateObject2$5$1$1$1$1 || (_templateObject2$5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
10976
|
+
var $optionBorder = _ref.$optionBorder,
|
|
10977
|
+
$isborder = _ref.$isborder;
|
|
10978
|
+
return $isborder ? $optionBorder || "1px solid " + colorVariables$1$1$1$1.border.extraLight : '';
|
|
10979
|
+
});
|
|
10980
|
+
var OptionLabel$1$1$1$1 = styled.label(_templateObject3$3$1$1$1$1 || (_templateObject3$3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n cursor: pointer;\n display: flex;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n color: ", ";\n"])), function (_ref2) {
|
|
10981
|
+
var $optionColor = _ref2.$optionColor;
|
|
10982
|
+
switch ($optionColor) {
|
|
10983
|
+
case 'dark':
|
|
10984
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
10985
|
+
case 'medium':
|
|
10986
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
10987
|
+
case 'light':
|
|
10988
|
+
return colorVariables$1$1$1$1.text.light;
|
|
10989
|
+
case 'white':
|
|
10990
|
+
return colorVariables$1$1$1$1.text.white;
|
|
10991
|
+
case 'warning':
|
|
10992
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
10993
|
+
case 'info':
|
|
10994
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
10995
|
+
case 'success':
|
|
10996
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
10997
|
+
case 'error':
|
|
10998
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
10999
|
+
default:
|
|
11000
|
+
return $optionColor || colorVariables$1$1$1$1.text.medium;
|
|
11001
|
+
}
|
|
11002
|
+
});
|
|
11003
|
+
var SearchContainer$2$1$1$1 = styled.div(_templateObject4$2$1$1$1$1 || (_templateObject4$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border-bottom: ", ";\n border-radius: ", ";\n padding: 8px 8px;\n display: flex;\n align-items: center;\n gap: 8px;\n"])), function (_ref3) {
|
|
11004
|
+
var $background = _ref3.$background;
|
|
11005
|
+
switch ($background) {
|
|
11006
|
+
case 'dark':
|
|
11007
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11008
|
+
case 'medium':
|
|
11009
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11010
|
+
case 'light':
|
|
11011
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11012
|
+
case 'white':
|
|
11013
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11014
|
+
case 'warning':
|
|
11015
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11016
|
+
case 'info':
|
|
11017
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11018
|
+
case 'success':
|
|
11019
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11020
|
+
case 'error':
|
|
11021
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11022
|
+
default:
|
|
11023
|
+
return $background;
|
|
11024
|
+
}
|
|
11025
|
+
}, function (_ref4) {
|
|
11026
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
11027
|
+
return $borderBottom || 'none';
|
|
11028
|
+
}, function (_ref5) {
|
|
11029
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
11030
|
+
return $borderRadius || '8px';
|
|
11031
|
+
});
|
|
11032
|
+
var SearchBar$2$1$1$1 = styled.input(_templateObject5$2$1$1$1$1 || (_templateObject5$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 14px;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), colorVariables$1$1$1$1["default"].tertiary, function (_ref6) {
|
|
11033
|
+
var $inputColor = _ref6.$inputColor;
|
|
11034
|
+
switch ($inputColor) {
|
|
11035
|
+
case 'dark':
|
|
11036
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11037
|
+
case 'medium':
|
|
11038
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11039
|
+
case 'light':
|
|
11040
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11041
|
+
case 'white':
|
|
11042
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11043
|
+
case 'warning':
|
|
11044
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11045
|
+
case 'info':
|
|
11046
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11047
|
+
case 'success':
|
|
11048
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11049
|
+
case 'error':
|
|
11050
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11051
|
+
default:
|
|
11052
|
+
return $inputColor;
|
|
11053
|
+
}
|
|
11054
|
+
}, function (_ref7) {
|
|
11055
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
11056
|
+
switch ($placeholderColor) {
|
|
11057
|
+
case 'dark':
|
|
11058
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11059
|
+
case 'medium':
|
|
11060
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11061
|
+
case 'light':
|
|
11062
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11063
|
+
case 'white':
|
|
11064
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11065
|
+
case 'warning':
|
|
11066
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11067
|
+
case 'info':
|
|
11068
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11069
|
+
case 'success':
|
|
11070
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11071
|
+
case 'error':
|
|
11072
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11073
|
+
default:
|
|
11074
|
+
return $placeholderColor;
|
|
11075
|
+
}
|
|
11076
|
+
});
|
|
11077
|
+
var Text$1$1$1$1 = styled.span(_templateObject6$2$1$1$1$1 || (_templateObject6$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n word-break: break-word;\n"])));
|
|
11078
|
+
var _templateObject$9$1$1$1$1, _templateObject2$6$1$1$1$1, _templateObject3$4$1$1$1$1, _templateObject4$3$1$1$1$1, _templateObject5$3$1$1$1$1, _templateObject6$3$1$1$1$1, _templateObject7$1$1$1$1$1, _templateObject8$1$1$1$1$1, _templateObject9$1$1$1$1$1, _templateObject10$1$1$1$1$1, _templateObject11$1$1$1$1$1;
|
|
11079
|
+
var DropdownContainer$2$1$1$1 = styled.div(_templateObject$9$1$1$1$1 || (_templateObject$9$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
11080
|
+
var $width = _ref.$width;
|
|
11081
|
+
return $width || '100%';
|
|
11082
|
+
}, function (_ref2) {
|
|
11083
|
+
var $height = _ref2.$height;
|
|
11084
|
+
return $height || '100%';
|
|
11085
|
+
}, function (_ref3) {
|
|
11086
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
11087
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
11088
|
+
});
|
|
11089
|
+
var DropdownButton$2$1$1$1 = styled.div(_templateObject2$6$1$1$1$1 || (_templateObject2$6$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n overflow: ", ";\n padding: ", ";\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-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref4) {
|
|
11090
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
11091
|
+
return $replaceLabel ? 'auto' : '';
|
|
11092
|
+
}, function (_ref5) {
|
|
11093
|
+
var $size = _ref5.$size;
|
|
11094
|
+
switch ($size) {
|
|
11095
|
+
case 'small':
|
|
11096
|
+
return '9px 12px';
|
|
11097
|
+
case 'large':
|
|
11098
|
+
return '24px 12px';
|
|
11099
|
+
default:
|
|
11100
|
+
return '14px 12px';
|
|
11101
|
+
}
|
|
11102
|
+
}, function (_ref6) {
|
|
11103
|
+
var $width = _ref6.$width;
|
|
11104
|
+
return $width ? $width : '100%';
|
|
11105
|
+
}, function (_ref7) {
|
|
11106
|
+
var $height = _ref7.$height;
|
|
11107
|
+
return $height || '100%';
|
|
11108
|
+
}, function (_ref8) {
|
|
11109
|
+
var $border = _ref8.$border,
|
|
11110
|
+
$isOpen = _ref8.$isOpen;
|
|
11111
|
+
return $isOpen ? "1px solid " + colorVariables$1$1$1$1.text.dark : $border || "1px solid " + colorVariables$1$1$1$1.border.light;
|
|
11112
|
+
}, function (_ref9) {
|
|
11113
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
11114
|
+
return $borderRadius || '8px';
|
|
11115
|
+
}, function (_ref10) {
|
|
11116
|
+
var $disabled = _ref10.$disabled;
|
|
11117
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11118
|
+
}, function (_ref11) {
|
|
11119
|
+
var $background = _ref11.$background,
|
|
11120
|
+
$disabled = _ref11.$disabled;
|
|
11121
|
+
switch ($background) {
|
|
11122
|
+
case 'dark':
|
|
11123
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1.text.dark;
|
|
11124
|
+
case 'medium':
|
|
11125
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1.text.medium;
|
|
11126
|
+
case 'light':
|
|
11127
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1.text.light;
|
|
11128
|
+
case 'white':
|
|
11129
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1.text.white;
|
|
11130
|
+
case 'warning':
|
|
11131
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1["default"].warning;
|
|
11132
|
+
case 'info':
|
|
11133
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1["default"].info;
|
|
11134
|
+
case 'success':
|
|
11135
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1["default"].success;
|
|
11136
|
+
case 'error':
|
|
11137
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : colorVariables$1$1$1$1["default"].error;
|
|
11138
|
+
default:
|
|
11139
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : $background;
|
|
11140
|
+
}
|
|
11141
|
+
}, function (_ref12) {
|
|
11142
|
+
var $color = _ref12.$color;
|
|
11143
|
+
return $color || colorVariables$1$1$1$1.text.medium;
|
|
11144
|
+
}, function (_ref13) {
|
|
11145
|
+
var $size = _ref13.$size;
|
|
11146
|
+
switch ($size) {
|
|
11147
|
+
case 'small':
|
|
11148
|
+
return '12px';
|
|
11149
|
+
case 'large':
|
|
11150
|
+
return '16px';
|
|
11151
|
+
default:
|
|
11152
|
+
return '14px';
|
|
11153
|
+
}
|
|
11154
|
+
}, function (_ref14) {
|
|
11155
|
+
var $size = _ref14.$size;
|
|
11156
|
+
switch ($size) {
|
|
11157
|
+
case 'small':
|
|
11158
|
+
return '12px';
|
|
11159
|
+
case 'large':
|
|
11160
|
+
return '16px';
|
|
11161
|
+
default:
|
|
11162
|
+
return '14px';
|
|
11163
|
+
}
|
|
11164
|
+
});
|
|
11165
|
+
var TitleText$2$1$1$1 = styled.div(_templateObject3$4$1$1$1$1 || (_templateObject3$4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: max-content;\n position: relative;\n font-weight: 500;\n font-size: ", ";\n line-height: ", ";\n\n color: ", ";\n"])), function (_ref15) {
|
|
11166
|
+
var $titleSize = _ref15.$titleSize,
|
|
11167
|
+
$size = _ref15.$size;
|
|
11168
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
11169
|
+
}, function (_ref16) {
|
|
11170
|
+
var $titleSize = _ref16.$titleSize,
|
|
11171
|
+
$size = _ref16.$size;
|
|
11172
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
11173
|
+
}, function (_ref17) {
|
|
11174
|
+
var $titleColor = _ref17.$titleColor;
|
|
11175
|
+
switch ($titleColor) {
|
|
11176
|
+
case 'dark':
|
|
11177
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11178
|
+
case 'medium':
|
|
11179
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11180
|
+
case 'light':
|
|
11181
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11182
|
+
case 'white':
|
|
11183
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11184
|
+
case 'warning':
|
|
11185
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11186
|
+
case 'info':
|
|
11187
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11188
|
+
case 'success':
|
|
11189
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11190
|
+
case 'error':
|
|
11191
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11192
|
+
default:
|
|
11193
|
+
return $titleColor;
|
|
11194
|
+
}
|
|
11195
|
+
});
|
|
11196
|
+
var Container$2$1$1$1$1 = styled.div(_templateObject4$3$1$1$1$1 || (_templateObject4$3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
11197
|
+
var LabelText$2$1$1$1 = styled.div(_templateObject5$3$1$1$1$1 || (_templateObject5$3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref18) {
|
|
11198
|
+
var $labelStyle = _ref18.$labelStyle;
|
|
11199
|
+
return $labelStyle;
|
|
11200
|
+
}, colorVariables$1$1$1$1.text.light);
|
|
11201
|
+
var DropdownMenu$2$1$1$1 = styled.div(_templateObject6$3$1$1$1$1 || (_templateObject6$3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: 1px solid ", ";\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"])), colorVariables$1$1$1$1.border.light, function (_ref19) {
|
|
11202
|
+
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
11203
|
+
return $optionsBorderRadius || '8px';
|
|
11204
|
+
}, function (_ref20) {
|
|
11205
|
+
var $width = _ref20.$width;
|
|
11206
|
+
return $width ? $width : 'max-content';
|
|
11207
|
+
}, function (_ref21) {
|
|
11208
|
+
var $menuBackground = _ref21.$menuBackground;
|
|
11209
|
+
return $menuBackground || colorVariables$1$1$1$1.accent.extraLight;
|
|
11210
|
+
});
|
|
11211
|
+
var SelectedOptionsWrapper$2$1$1$1 = styled.div(_templateObject7$1$1$1$1$1 || (_templateObject7$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
11212
|
+
var SelectedOptionDiv$2$1$1$1 = styled.div(_templateObject8$1$1$1$1$1 || (_templateObject8$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref22) {
|
|
11213
|
+
var $selectedOptionBackground = _ref22.$selectedOptionBackground,
|
|
11214
|
+
$disabled = _ref22.$disabled;
|
|
11215
|
+
switch ($selectedOptionBackground) {
|
|
11216
|
+
case 'dark':
|
|
11217
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11218
|
+
case 'medium':
|
|
11219
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11220
|
+
case 'light':
|
|
11221
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11222
|
+
case 'white':
|
|
11223
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11224
|
+
case 'warning':
|
|
11225
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.warning : colorVariables$1$1$1$1["default"].warning;
|
|
11226
|
+
case 'info':
|
|
11227
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.info : colorVariables$1$1$1$1["default"].info;
|
|
11228
|
+
case 'success':
|
|
11229
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.success : colorVariables$1$1$1$1["default"].success;
|
|
11230
|
+
case 'error':
|
|
11231
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.error : colorVariables$1$1$1$1["default"].error;
|
|
11232
|
+
default:
|
|
11233
|
+
return $selectedOptionBackground || colorVariables$1$1$1$1.accent.extraLight;
|
|
11234
|
+
}
|
|
11235
|
+
}, function (_ref23) {
|
|
11236
|
+
var $selectedOptionColor = _ref23.$selectedOptionColor;
|
|
11237
|
+
switch ($selectedOptionColor) {
|
|
11238
|
+
case 'dark':
|
|
11239
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11240
|
+
case 'medium':
|
|
11241
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11242
|
+
case 'light':
|
|
11243
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11244
|
+
case 'white':
|
|
11245
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11246
|
+
case 'warning':
|
|
11247
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11248
|
+
case 'info':
|
|
11249
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11250
|
+
case 'success':
|
|
11251
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11252
|
+
case 'error':
|
|
11253
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11254
|
+
default:
|
|
11255
|
+
return $selectedOptionColor;
|
|
11256
|
+
}
|
|
11257
|
+
});
|
|
11258
|
+
var RemoveIcon$2$1$1$1 = styled.div(_templateObject9$1$1$1$1$1 || (_templateObject9$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\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 (_ref24) {
|
|
11259
|
+
var $disabled = _ref24.$disabled;
|
|
11260
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11261
|
+
}, function (_ref25) {
|
|
11262
|
+
var removeIconBackground = _ref25.removeIconBackground,
|
|
11263
|
+
$type = _ref25.$type;
|
|
11264
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1$1.disabled.primary;
|
|
11265
|
+
}, function (_ref26) {
|
|
11266
|
+
var $disabled = _ref26.$disabled;
|
|
11267
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11268
|
+
});
|
|
11269
|
+
var TextWrapper$1$1$1$1 = styled.div(_templateObject10$1$1$1$1$1 || (_templateObject10$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
11270
|
+
var Asterisk$1$1$1$1 = styled.span(_templateObject11$1$1$1$1$1 || (_templateObject11$1$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1$1$1["default"].error);
|
|
11271
|
+
var _templateObject$a$1$1$1$1, _templateObject2$7$1$1$1$1, _templateObject3$5$1$1$1$1;
|
|
11272
|
+
var SelectedOptionsWrapper$1$1$1$1$1 = styled.div(_templateObject$a$1$1$1$1 || (_templateObject$a$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
11273
|
+
var SelectedOptionDiv$1$1$1$1$1 = styled.div(_templateObject2$7$1$1$1$1 || (_templateObject2$7$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n background: ", ";\n border-radius: 4px;\n padding: 6px 8px;\n box-sizing: border-box;\n gap: 6px;\n font-family: NotoSans, sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 12px;\n color: ", ";\n"])), function (_ref) {
|
|
11274
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
11275
|
+
$type = _ref.$type;
|
|
11276
|
+
return $selectedOptionBackground || $type === 'remove' ? colorVariables$1$1$1$1.disabled.error : colorVariables$1$1$1$1.accent.softBlue;
|
|
11277
|
+
}, function (_ref2) {
|
|
11278
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
11279
|
+
$type = _ref2.$type;
|
|
11280
|
+
return $selectedOptionColor || $type === 'remove' ? colorVariables$1$1$1$1["default"].error : colorVariables$1$1$1$1.brand.primary;
|
|
11281
|
+
});
|
|
11282
|
+
var RemoveIcon$1$1$1$1$1 = styled.div(_templateObject3$5$1$1$1$1 || (_templateObject3$5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 14px;\n height: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border-radius: 50%;\n box-sizing: border-box;\n background: ", ";\n"])), function (_ref3) {
|
|
11283
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
11284
|
+
$type = _ref3.$type;
|
|
11285
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1$1.disabled.primary;
|
|
11286
|
+
});
|
|
11287
|
+
var _templateObject$b$1$1$1$1, _templateObject2$8$1$1$1$1, _templateObject3$6$1$1$1$1, _templateObject4$4$1$1$1$1, _templateObject5$4$1$1$1$1, _templateObject6$4$1$1$1$1, _templateObject7$2$1$1$1$1, _templateObject8$2$1$1$1$1, _templateObject9$2$1$1$1$1, _templateObject10$2$1$1$1$1;
|
|
11288
|
+
var TitleText$1$1$1$1$1 = styled.label(_templateObject$b$1$1$1$1 || (_templateObject$b$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n position: relative;\n width: max-content;\n font-weight: ", ";\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11289
|
+
var $titleWeight = _ref.$titleWeight;
|
|
11290
|
+
return $titleWeight || 500;
|
|
11291
|
+
}, function (_ref2) {
|
|
11292
|
+
var $size = _ref2.$size;
|
|
11293
|
+
switch ($size) {
|
|
11294
|
+
case 'small':
|
|
11295
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
11296
|
+
case 'medium':
|
|
11297
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11298
|
+
case 'large':
|
|
11299
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
11300
|
+
default:
|
|
11301
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11302
|
+
}
|
|
11303
|
+
}, function (_ref3) {
|
|
11304
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
11305
|
+
switch ($titlecolor) {
|
|
11306
|
+
case 'dark':
|
|
11307
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11308
|
+
case 'medium':
|
|
11309
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11310
|
+
case 'light':
|
|
11311
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11312
|
+
case 'white':
|
|
11313
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11314
|
+
case 'warning':
|
|
11315
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11316
|
+
case 'info':
|
|
11317
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11318
|
+
case 'success':
|
|
11319
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11320
|
+
case 'error':
|
|
11321
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11322
|
+
default:
|
|
11323
|
+
return $titlecolor;
|
|
11324
|
+
}
|
|
11325
|
+
});
|
|
11326
|
+
var DropdownContainer$1$1$1$1$1 = styled.div(_templateObject2$8$1$1$1$1 || (_templateObject2$8$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: ", ";\n max-width: 100%;\n position: relative;\n gap: 8px;\n display: flex;\n"])), function (_ref4) {
|
|
11327
|
+
var $width = _ref4.$width;
|
|
11328
|
+
return $width || '100%';
|
|
11329
|
+
});
|
|
11330
|
+
var DropdownButton$1$1$1$1$1 = styled.div(_templateObject3$6$1$1$1$1 || (_templateObject3$6$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: ", ";\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n border: ", ";\n gap: 6px;\n padding: ", ";\n background: ", ";\n font-size: ", ";\n line-height: ", ";\n"])), function (_ref5) {
|
|
11331
|
+
var $disabled = _ref5.$disabled;
|
|
11332
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11333
|
+
}, function (_ref6) {
|
|
11334
|
+
var $width = _ref6.$width;
|
|
11335
|
+
return $width ? $width : '100%';
|
|
11336
|
+
}, function (_ref7) {
|
|
11337
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
11338
|
+
return $selectHeight || 'auto';
|
|
11339
|
+
}, function (_ref8) {
|
|
11340
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
11341
|
+
return $borderRadius || '8px';
|
|
11342
|
+
}, function (_ref9) {
|
|
11343
|
+
var $border = _ref9.$border;
|
|
11344
|
+
return $border || "1px solid " + colorVariables$1$1$1$1.border.light;
|
|
11345
|
+
}, function (_ref10) {
|
|
11346
|
+
var $size = _ref10.$size;
|
|
11347
|
+
switch ($size) {
|
|
11348
|
+
case 'small':
|
|
11349
|
+
return '9px 12px';
|
|
11350
|
+
case 'large':
|
|
11351
|
+
return '24px 12px';
|
|
11352
|
+
default:
|
|
11353
|
+
return '13px 12px';
|
|
11354
|
+
}
|
|
11355
|
+
}, function (_ref11) {
|
|
11356
|
+
var $background = _ref11.$background,
|
|
11357
|
+
$disabled = _ref11.$disabled;
|
|
11358
|
+
return $disabled ? colorVariables$1$1$1$1.border.light : $background || colorVariables$1$1$1$1.accent.extraLight;
|
|
11359
|
+
}, function (_ref12) {
|
|
11360
|
+
var $size = _ref12.$size;
|
|
11361
|
+
switch ($size) {
|
|
11362
|
+
case 'small':
|
|
11363
|
+
return '12px';
|
|
11364
|
+
case 'large':
|
|
11365
|
+
return '16px';
|
|
11366
|
+
default:
|
|
11367
|
+
return '14px';
|
|
11368
|
+
}
|
|
11369
|
+
}, function (_ref13) {
|
|
11370
|
+
var $size = _ref13.$size;
|
|
11371
|
+
switch ($size) {
|
|
11372
|
+
case 'small':
|
|
11373
|
+
return '12px';
|
|
11374
|
+
case 'large':
|
|
11375
|
+
return '16px';
|
|
11376
|
+
default:
|
|
11377
|
+
return '14px';
|
|
11378
|
+
}
|
|
11379
|
+
});
|
|
11380
|
+
var Options$1$1$1$1 = styled.div(_templateObject4$4$1$1$1$1 || (_templateObject4$4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n color: ", ";\n padding: 5px 10px;\n width: 100%;\n font-size: ", ";\n font-weight: ", ";\n background-color: ", ";\n\n \n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n\n }\n\n"])), function (_ref14) {
|
|
11381
|
+
var $optionColor = _ref14.$optionColor,
|
|
11382
|
+
$optionSelected = _ref14.$optionSelected;
|
|
11383
|
+
return $optionSelected ? colorVariables$1$1$1$1.text.white : $optionColor || colorVariables$1$1$1$1.text.medium;
|
|
11384
|
+
}, function (_ref15) {
|
|
11385
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
11386
|
+
return $optionFontSize || '14px';
|
|
11387
|
+
}, function (_ref16) {
|
|
11388
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
11389
|
+
return $optionFontWeight || 400;
|
|
11390
|
+
}, function (_ref17) {
|
|
11391
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
11392
|
+
$optionSelected = _ref17.$optionSelected;
|
|
11393
|
+
return $optionSelected ? colorVariables$1$1$1$1["default"].primary : $optionBackgroundColor || colorVariables$1$1$1$1["default"].tertiary;
|
|
11394
|
+
}, colorVariables$1$1$1$1.hover.primary, colorVariables$1$1$1$1.text.white);
|
|
11395
|
+
var LabelText$1$1$1$1$1 = styled.div(_templateObject5$4$1$1$1$1 || (_templateObject5$4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref18) {
|
|
11396
|
+
var $size = _ref18.$size;
|
|
11397
|
+
switch ($size) {
|
|
11398
|
+
case 'small':
|
|
11399
|
+
return '14px';
|
|
11400
|
+
case 'large':
|
|
11401
|
+
return '16px';
|
|
11402
|
+
default:
|
|
11403
|
+
return '14px';
|
|
11404
|
+
}
|
|
11405
|
+
}, function (_ref19) {
|
|
11406
|
+
var $size = _ref19.$size;
|
|
11407
|
+
switch ($size) {
|
|
11408
|
+
case 'small':
|
|
11409
|
+
return '12px';
|
|
11410
|
+
case 'large':
|
|
11411
|
+
return '16px';
|
|
11412
|
+
default:
|
|
11413
|
+
return '14px';
|
|
11414
|
+
}
|
|
11415
|
+
}, function (_ref20) {
|
|
11416
|
+
var $fontStyle = _ref20.$fontStyle;
|
|
11417
|
+
return $fontStyle || '';
|
|
11418
|
+
}, function (_ref21) {
|
|
11419
|
+
var $color = _ref21.$color,
|
|
11420
|
+
$disabled = _ref21.$disabled;
|
|
11421
|
+
return $disabled ? colorVariables$1$1$1$1.text.medium : $color || colorVariables$1$1$1$1.text.medium;
|
|
11422
|
+
});
|
|
11423
|
+
var NoOptions$1$1$1$1 = styled(Span$1$1$1$1)(_templateObject6$4$1$1$1$1 || (_templateObject6$4$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
11424
|
+
var DropdownMenu$1$1$1$1$1 = styled.div(_templateObject7$2$1$1$1$1 || (_templateObject7$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n height: auto;\n max-height: 170px;\n border: 1px solid ", ";\n border-radius: ", ";\n min-width: 100%;\n width: ", ";\n background: ", ";\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n overflow: hidden; \n position: absolute;\n z-index: 1;\n ", "\n ", "\n \n"])), colorVariables$1$1$1$1.border.light, function (_ref22) {
|
|
11425
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
11426
|
+
return $optionsBorderRadius || '8px';
|
|
11427
|
+
}, function (_ref23) {
|
|
11428
|
+
var $width = _ref23.$width;
|
|
11429
|
+
return $width ? $width : 'max-content';
|
|
11430
|
+
}, function (_ref24) {
|
|
11431
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
11432
|
+
return $menuBackground || colorVariables$1$1$1$1.accent.extraLight;
|
|
11433
|
+
}, function (_ref25) {
|
|
11434
|
+
var $top = _ref25.$top;
|
|
11435
|
+
return $top && "top: " + $top + ";";
|
|
11436
|
+
}, function (_ref26) {
|
|
11437
|
+
var $bottom = _ref26.$bottom;
|
|
11438
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
11439
|
+
});
|
|
11440
|
+
var OptionsWrapper$1$1$1$1 = styled.div(_templateObject8$2$1$1$1$1 || (_templateObject8$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
11441
|
+
var SearchContainer$1$1$1$1$1 = styled.div(_templateObject9$2$1$1$1$1 || (_templateObject9$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n background: ", ";\n border: ", ";\n border-bottom: 1px solid ", ";\n border-radius: ", ";\n padding: 10px 12px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n position: sticky;\n top: 0;\n z-index: 10; \n"])), function (_ref27) {
|
|
11442
|
+
var $background = _ref27.$background;
|
|
11443
|
+
return $background || colorVariables$1$1$1$1.accent.extraLight;
|
|
11444
|
+
}, function (_ref28) {
|
|
11445
|
+
var $border = _ref28.$border;
|
|
11446
|
+
return $border || 'none';
|
|
11447
|
+
}, colorVariables$1$1$1$1.border.light, function (_ref29) {
|
|
11448
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
11449
|
+
return $borderRadius || '8px 8px 0 0';
|
|
11450
|
+
});
|
|
11451
|
+
var SearchBar$1$1$1$1$1 = styled.input(_templateObject10$2$1$1$1$1 || (_templateObject10$2$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref30) {
|
|
11452
|
+
var $inputColor = _ref30.$inputColor;
|
|
11453
|
+
return $inputColor || colorVariables$1$1$1$1.text.medium;
|
|
11454
|
+
}, function (_ref31) {
|
|
11455
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
11456
|
+
return $placeholderColor || colorVariables$1$1$1$1.text.light;
|
|
11457
|
+
});
|
|
11458
|
+
var _templateObject$c$1$1$1$1, _templateObject2$9$1$1$1$1;
|
|
11459
|
+
var ModalOverlay$1$1$1$1 = styled.div(_templateObject$c$1$1$1$1 || (_templateObject$c$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: NotoSans, sans-serif;\n z-index: 9999;\n backdrop-filter: blur(4px);\n"])));
|
|
11460
|
+
var ModalContainer$1$1$1$1 = styled.div(_templateObject2$9$1$1$1$1 || (_templateObject2$9$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-height: 100vh;\n max-width: ", ";\n overflow: visible;\n"])), colorVariables$1$1$1$1.accent.light, function (_ref) {
|
|
11461
|
+
var $maxWidth = _ref.$maxWidth;
|
|
11462
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
11463
|
+
});
|
|
11464
|
+
var _templateObject$d$1$1$1$1, _templateObject2$a$1$1$1$1;
|
|
11465
|
+
var SearchContainer$2$1$1$1$1 = styled.div(_templateObject$d$1$1$1$1 || (_templateObject$d$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n"])), function (_ref) {
|
|
11466
|
+
var $background = _ref.$background;
|
|
11467
|
+
return $background || colorVariables$1$1$1$1["default"].tertiary;
|
|
11468
|
+
}, function (_ref2) {
|
|
11469
|
+
var $border = _ref2.$border;
|
|
11470
|
+
return $border || 'none';
|
|
11471
|
+
}, function (_ref3) {
|
|
11472
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
11473
|
+
return $borderRadius || '8px';
|
|
11474
|
+
});
|
|
11475
|
+
var SearchBar$2$1$1$1$1 = styled.input(_templateObject2$a$1$1$1$1 || (_templateObject2$a$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$1$1$1$1["default"].tertiary, function (_ref4) {
|
|
11476
|
+
var $inputColor = _ref4.$inputColor;
|
|
11477
|
+
return $inputColor || colorVariables$1$1$1$1.text.medium;
|
|
11478
|
+
}, function (_ref5) {
|
|
11479
|
+
var $placeholderColor = _ref5.$placeholderColor;
|
|
11480
|
+
return $placeholderColor || colorVariables$1$1$1$1.text.light;
|
|
11481
|
+
});
|
|
11482
|
+
var _templateObject$e, _templateObject2$b, _templateObject3$7$1$1$1$1, _templateObject4$5$1$1$1$1, _templateObject5$5$1$1$1$1;
|
|
11483
|
+
var Label = styled.label(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose$1$1$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11484
|
+
var $fontWeight = _ref.$fontWeight;
|
|
11485
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
11486
|
+
}, function (_ref2) {
|
|
11487
|
+
var $size = _ref2.$size;
|
|
11488
|
+
switch ($size) {
|
|
11489
|
+
case 'small':
|
|
11490
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
11491
|
+
case 'medium':
|
|
11492
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11493
|
+
case 'large':
|
|
11494
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
11495
|
+
default:
|
|
11496
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11497
|
+
}
|
|
11498
|
+
}, function (_ref3) {
|
|
11499
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
11500
|
+
switch ($titlecolor) {
|
|
11501
|
+
case 'dark':
|
|
11502
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11503
|
+
case 'medium':
|
|
11504
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11505
|
+
case 'light':
|
|
11506
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11507
|
+
case 'white':
|
|
11508
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11509
|
+
case 'warning':
|
|
11510
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11511
|
+
case 'info':
|
|
11512
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11513
|
+
case 'success':
|
|
11514
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11515
|
+
case 'error':
|
|
11516
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11517
|
+
default:
|
|
11518
|
+
return $titlecolor;
|
|
11519
|
+
}
|
|
11520
|
+
});
|
|
11521
|
+
var Input = styled.input(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1$1.border.light, function (_ref4) {
|
|
11522
|
+
var $disabled = _ref4.$disabled;
|
|
11523
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
11524
|
+
}, function (_ref5) {
|
|
11525
|
+
var $disabled = _ref5.$disabled,
|
|
11526
|
+
$background = _ref5.$background;
|
|
11527
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : $background;
|
|
11528
|
+
}, function (_ref6) {
|
|
11529
|
+
var $color = _ref6.$color;
|
|
11530
|
+
return $color;
|
|
11531
|
+
}, function (_ref7) {
|
|
11532
|
+
var $disabled = _ref7.$disabled;
|
|
11533
|
+
return $disabled ? 'none' : 'auto';
|
|
11534
|
+
}, function (_ref8) {
|
|
11535
|
+
var $size = _ref8.$size,
|
|
11536
|
+
$type = _ref8.$type;
|
|
11537
|
+
switch ($size) {
|
|
11538
|
+
case 'small':
|
|
11539
|
+
return "\n font-size: 12px;\n padding: " + ($type === 'password' ? '5px 38px 5px 10px' : '5px 10px') + ";\n ";
|
|
11540
|
+
case 'medium':
|
|
11541
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '9.5px 38px 9.5px 12px' : '9.5px 12px') + ";\n ";
|
|
11542
|
+
case 'large':
|
|
11543
|
+
return "\n font-size: 16px;\n padding: " + ($type === 'password' ? '9px 38px 9px 14px' : '9px 14px') + ";\n ";
|
|
11544
|
+
default:
|
|
11545
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '7px 38px 7px 12px' : '7px 12px') + ";\n ";
|
|
11546
|
+
}
|
|
11547
|
+
}, function (_ref9) {
|
|
11548
|
+
var $color = _ref9.$color;
|
|
11549
|
+
switch ($color) {
|
|
11550
|
+
case 'dark':
|
|
11551
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11552
|
+
case 'medium':
|
|
11553
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11554
|
+
case 'light':
|
|
11555
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11556
|
+
case 'white':
|
|
11557
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11558
|
+
case 'warning':
|
|
11559
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11560
|
+
case 'info':
|
|
11561
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11562
|
+
case 'success':
|
|
11563
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11564
|
+
case 'error':
|
|
11565
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11566
|
+
default:
|
|
11567
|
+
return $color;
|
|
11568
|
+
}
|
|
11569
|
+
}, colorVariables$1$1$1$1.text.light);
|
|
11570
|
+
var InputWrapper$1$1$1$1$1 = styled.div(_templateObject3$7$1$1$1$1 || (_templateObject3$7$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
11571
|
+
var IconWrapper$1$1$1$1$1 = styled.div(_templateObject4$5$1$1$1$1 || (_templateObject4$5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
11572
|
+
var $disabled = _ref10.$disabled;
|
|
11573
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11574
|
+
});
|
|
11575
|
+
var Asterisk$1$1$1$1$1 = styled.span(_templateObject5$5$1$1$1$1 || (_templateObject5$5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1$1$1["default"].error);
|
|
11576
|
+
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
11577
|
+
var Container$3$1$1$1$1 = styled.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
11578
|
+
var $padding = _ref.$padding;
|
|
11579
|
+
return $padding;
|
|
11580
|
+
});
|
|
11581
|
+
var Label$1 = styled.label(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose$1$1$1$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
11582
|
+
var $fontWeight = _ref2.$fontWeight;
|
|
11583
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
11584
|
+
}, function (_ref3) {
|
|
11585
|
+
var $size = _ref3.$size;
|
|
11586
|
+
switch ($size) {
|
|
11587
|
+
case 'small':
|
|
11588
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
11589
|
+
case 'medium':
|
|
11590
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
11591
|
+
case 'large':
|
|
11592
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
11593
|
+
default:
|
|
11594
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
11595
|
+
}
|
|
11596
|
+
}, function (_ref4) {
|
|
11597
|
+
var $titlecolor = _ref4.$titlecolor;
|
|
11598
|
+
return $titlecolor || colorVariables$1$1$1$1.text.dark;
|
|
11599
|
+
});
|
|
11600
|
+
var TextAreaComponent = styled.textarea(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1$1.border.light, function (_ref5) {
|
|
11601
|
+
var $disabled = _ref5.$disabled;
|
|
11602
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
11603
|
+
}, function (_ref6) {
|
|
11604
|
+
var $disabled = _ref6.$disabled,
|
|
11605
|
+
$background = _ref6.$background;
|
|
11606
|
+
return $disabled ? colorVariables$1$1$1$1.disabled.secondary : $background;
|
|
11607
|
+
}, function (_ref7) {
|
|
11608
|
+
var $color = _ref7.$color;
|
|
11609
|
+
return $color;
|
|
11610
|
+
}, function (_ref8) {
|
|
11611
|
+
var $size = _ref8.$size;
|
|
11612
|
+
switch ($size) {
|
|
11613
|
+
case 'small':
|
|
11614
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
11615
|
+
case 'medium':
|
|
11616
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
11617
|
+
case 'large':
|
|
11618
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
11619
|
+
default:
|
|
11620
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
11621
|
+
}
|
|
11622
|
+
}, function (_ref9) {
|
|
11623
|
+
var $color = _ref9.$color;
|
|
11624
|
+
return $color || colorVariables$1$1$1$1.text.dark;
|
|
11625
|
+
}, colorVariables$1$1$1$1.text.light);
|
|
11626
|
+
var _templateObject$g, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$6, _templateObject6$5$1$1$1$1, _templateObject7$3$1$1$1$1;
|
|
11627
|
+
var OptionContainer$1$1$1$1$1 = styled.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose$1$1$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1$1$1$1.text.white);
|
|
11628
|
+
var OptionItem$1$1$1$1$1 = styled.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose$1$1$1$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
11629
|
+
var $optionSelected = _ref.$optionSelected;
|
|
11630
|
+
return $optionSelected ? colorVariables$1$1$1$1.text.white : colorVariables$1$1$1$1.text.medium;
|
|
11631
|
+
}, function (_ref2) {
|
|
11632
|
+
var $optionSelected = _ref2.$optionSelected;
|
|
11633
|
+
return $optionSelected ? colorVariables$1$1$1$1["default"].primary : colorVariables$1$1$1$1.text.white;
|
|
11634
|
+
}, colorVariables$1$1$1$1.hover.primary, colorVariables$1$1$1$1.text.white);
|
|
11635
|
+
var TotalOptionsHeader = styled.div(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables$1$1$1$1.text.white, colorVariables$1$1$1$1.text.light, colorVariables$1$1$1$1.text.light);
|
|
11636
|
+
var OptionLabel$1$1$1$1$1 = styled.label(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose$1$1$1$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
11637
|
+
var SearchContainer$3 = styled.div(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
11638
|
+
var $background = _ref3.$background;
|
|
11639
|
+
switch ($background) {
|
|
11640
|
+
case 'dark':
|
|
11641
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11642
|
+
case 'medium':
|
|
11643
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11644
|
+
case 'light':
|
|
11645
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11646
|
+
case 'white':
|
|
11647
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11648
|
+
case 'warning':
|
|
11649
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11650
|
+
case 'info':
|
|
11651
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11652
|
+
case 'success':
|
|
11653
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11654
|
+
case 'error':
|
|
11655
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11656
|
+
default:
|
|
11657
|
+
return $background;
|
|
11658
|
+
}
|
|
11659
|
+
}, function (_ref4) {
|
|
11660
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
11661
|
+
return $borderBottom || 'none';
|
|
11662
|
+
}, function (_ref5) {
|
|
11663
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
11664
|
+
return $borderRadius || '8px';
|
|
11665
|
+
});
|
|
11666
|
+
var SearchBar$3 = styled.input(_templateObject6$5$1$1$1$1 || (_templateObject6$5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1$1$1$1["default"].tertiary, function (_ref6) {
|
|
11667
|
+
var $inputColor = _ref6.$inputColor;
|
|
11668
|
+
switch ($inputColor) {
|
|
11669
|
+
case 'dark':
|
|
11670
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11671
|
+
case 'medium':
|
|
11672
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11673
|
+
case 'light':
|
|
11674
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11675
|
+
case 'white':
|
|
11676
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11677
|
+
case 'warning':
|
|
11678
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11679
|
+
case 'info':
|
|
11680
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11681
|
+
case 'success':
|
|
11682
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11683
|
+
case 'error':
|
|
11684
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11685
|
+
default:
|
|
11686
|
+
return $inputColor;
|
|
11687
|
+
}
|
|
11688
|
+
}, function (_ref7) {
|
|
11689
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
11690
|
+
switch ($placeholderColor) {
|
|
11691
|
+
case 'dark':
|
|
11692
|
+
return colorVariables$1$1$1$1.text.dark;
|
|
11693
|
+
case 'medium':
|
|
11694
|
+
return colorVariables$1$1$1$1.text.medium;
|
|
11695
|
+
case 'light':
|
|
11696
|
+
return colorVariables$1$1$1$1.text.light;
|
|
11697
|
+
case 'white':
|
|
11698
|
+
return colorVariables$1$1$1$1.text.white;
|
|
11699
|
+
case 'warning':
|
|
11700
|
+
return colorVariables$1$1$1$1["default"].warning;
|
|
11701
|
+
case 'info':
|
|
11702
|
+
return colorVariables$1$1$1$1["default"].info;
|
|
11703
|
+
case 'success':
|
|
11704
|
+
return colorVariables$1$1$1$1["default"].success;
|
|
11705
|
+
case 'error':
|
|
11706
|
+
return colorVariables$1$1$1$1["default"].error;
|
|
11707
|
+
default:
|
|
11708
|
+
return $placeholderColor;
|
|
11709
|
+
}
|
|
11710
|
+
});
|
|
11711
|
+
var OptionsWrapper$1$1$1$1$1 = styled.div(_templateObject7$3$1$1$1$1 || (_templateObject7$3$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1$1$1$1.text.white);
|
|
11712
|
+
var _templateObject$h, _templateObject2$e;
|
|
11713
|
+
var StyledInput$1$1$1$1$1 = styled.input(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: solid ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
11714
|
+
var $checkboxSize = _ref.$checkboxSize;
|
|
11715
|
+
return $checkboxSize + "px";
|
|
11716
|
+
}, function (_ref2) {
|
|
11717
|
+
var $checkboxSize = _ref2.$checkboxSize;
|
|
11718
|
+
return $checkboxSize + "px";
|
|
11719
|
+
}, function (_ref3) {
|
|
11720
|
+
var $checked = _ref3.$checked,
|
|
11721
|
+
$borderSize = _ref3.$borderSize;
|
|
11722
|
+
return $checked ? $borderSize + "px solid " + colorVariables$1$1$1$1["default"].primary : $borderSize + "px solid " + colorVariables$1$1$1$1.border.extraBold;
|
|
11723
|
+
}, function (_ref4) {
|
|
11724
|
+
var $checked = _ref4.$checked;
|
|
11725
|
+
return $checked ? colorVariables$1$1$1$1["default"].primary : colorVariables$1$1$1$1.text.white;
|
|
11726
|
+
}, function (_ref5) {
|
|
11727
|
+
var $checkboxSize = _ref5.$checkboxSize;
|
|
11728
|
+
return $checkboxSize / 1.4 + "px";
|
|
11729
|
+
}, function (_ref6) {
|
|
11730
|
+
var $checkboxSize = _ref6.$checkboxSize;
|
|
11731
|
+
return "calc(100% - " + $checkboxSize / 1.4 + "px)";
|
|
11732
|
+
}, function (_ref7) {
|
|
11733
|
+
var $checkboxSize = _ref7.$checkboxSize;
|
|
11734
|
+
return "calc(100% - " + $checkboxSize / 1.8 + "px)";
|
|
11735
|
+
}, function (_ref8) {
|
|
11736
|
+
var $checkboxSize = _ref8.$checkboxSize;
|
|
11737
|
+
return $checkboxSize / 5 + "px";
|
|
11738
|
+
}, function (_ref9) {
|
|
11739
|
+
var $checkboxSize = _ref9.$checkboxSize;
|
|
11740
|
+
return $checkboxSize / 2.4 + "px";
|
|
11741
|
+
}, colorVariables$1$1$1$1.text.white);
|
|
11742
|
+
var LabelSpan = styled(Span$1$1$1$1)(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
11743
|
+
var _templateObject$i, _templateObject2$f, _templateObject3$a, _templateObject4$7;
|
|
11744
|
+
var spin$1$1$1$1$1 = keyframes(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose$1$1$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11745
|
+
var getDotPosition = function getDotPosition(index, size) {
|
|
11746
|
+
var angle = index * 360 / 8;
|
|
11747
|
+
var radius = size / 2.5;
|
|
11748
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
11749
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
11750
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
11751
|
+
};
|
|
11752
|
+
var SpinnerContainer = styled.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose$1$1$1$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
11753
|
+
var $size = _ref.$size;
|
|
11754
|
+
return $size;
|
|
11755
|
+
}, function (_ref2) {
|
|
11756
|
+
var $size = _ref2.$size;
|
|
11757
|
+
return $size;
|
|
11758
|
+
});
|
|
11759
|
+
var Dot = styled.div.attrs(function (_ref3) {
|
|
11760
|
+
var $index = _ref3.$index,
|
|
11761
|
+
$size = _ref3.$size;
|
|
11762
|
+
return {
|
|
11763
|
+
style: {
|
|
11764
|
+
transform: getDotPosition($index, $size)
|
|
11765
|
+
}
|
|
11766
|
+
};
|
|
11767
|
+
})(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose$1$1$1$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
11768
|
+
var $dotSize = _ref4.$dotSize;
|
|
11769
|
+
return $dotSize;
|
|
11770
|
+
}, function (_ref5) {
|
|
11771
|
+
var $dotSize = _ref5.$dotSize;
|
|
11772
|
+
return $dotSize;
|
|
11773
|
+
}, function (_ref6) {
|
|
11774
|
+
var $color = _ref6.$color;
|
|
11775
|
+
return $color;
|
|
11776
|
+
}, spin$1$1$1$1$1, function (_ref7) {
|
|
11777
|
+
var $speed = _ref7.$speed;
|
|
11778
|
+
return $speed;
|
|
11779
|
+
}, function (_ref8) {
|
|
11780
|
+
var $index = _ref8.$index,
|
|
11781
|
+
$speed = _ref8.$speed;
|
|
11782
|
+
return $index * $speed / 8;
|
|
11783
|
+
});
|
|
11784
|
+
var SpinnerWrapper = styled.div(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
11785
|
+
var _templateObject$j, _templateObject2$g;
|
|
11786
|
+
var spin$2 = keyframes(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose$1$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11787
|
+
var Spinner$1$1$1$1$1 = styled.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
11788
|
+
var $size = _ref.$size;
|
|
11789
|
+
return $size;
|
|
11790
|
+
}, function (_ref2) {
|
|
11791
|
+
var $size = _ref2.$size;
|
|
11792
|
+
return $size;
|
|
11793
|
+
}, function (_ref3) {
|
|
11794
|
+
var $color = _ref3.$color;
|
|
11795
|
+
return $color;
|
|
11796
|
+
}, spin$2);
|
|
11797
|
+
var _templateObject$k;
|
|
11798
|
+
var PageInput = styled.input(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables$1$1$1$1.accent.extraLight, colorVariables$1$1$1$1.border.light, colorVariables$1$1$1$1.text.dark);
|
|
11799
|
+
var _templateObject$l, _templateObject2$h, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6;
|
|
11800
|
+
var SidebarContainer = styled.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
11801
|
+
var $isExpanded = _ref.$isExpanded;
|
|
11802
|
+
return $isExpanded ? '225px' : '68px';
|
|
11803
|
+
}, function (_ref2) {
|
|
11804
|
+
var $background = _ref2.$background;
|
|
11805
|
+
return $background ? $background : colorVariables$1$1$1$1.accent.softBlue;
|
|
11806
|
+
});
|
|
11807
|
+
var SidebarItem = styled(NavLink)(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables$1$1$1$1.text.medium, colorVariables$1$1$1$1["default"].primary);
|
|
11808
|
+
var ContentWrapper = styled.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
11809
|
+
var IconWrapper$2 = styled.div(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose$1$1$1$1(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
11810
|
+
var $selected = _ref3.$selected;
|
|
11811
|
+
return $selected ? colorVariables$1$1$1$1["default"].primary : colorVariables$1$1$1$1["default"].tertiary;
|
|
11812
|
+
});
|
|
11813
|
+
var Logo = styled.div(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
11814
|
+
var TextContainer = styled.span(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
11815
|
+
var $padding = _ref4.$padding;
|
|
11816
|
+
return $padding;
|
|
11817
|
+
}, function (_ref5) {
|
|
11818
|
+
var $fontSize = _ref5.$fontSize;
|
|
11819
|
+
return $fontSize ? $fontSize : '20px';
|
|
11820
|
+
}, function (_ref6) {
|
|
11821
|
+
var $fontWeight = _ref6.$fontWeight;
|
|
11822
|
+
return $fontWeight ? $fontWeight : '500';
|
|
11823
|
+
}, function (_ref7) {
|
|
11824
|
+
var $color = _ref7.$color;
|
|
11825
|
+
return $color ? $color : colorVariables$1$1$1$1["default"].primary;
|
|
11826
|
+
}, function (_ref8) {
|
|
11827
|
+
var $isExpanded = _ref8.$isExpanded;
|
|
11828
|
+
return $isExpanded ? 1 : 0;
|
|
11829
|
+
}, function (_ref9) {
|
|
11830
|
+
var $isExpanded = _ref9.$isExpanded;
|
|
11831
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
11832
|
+
});
|
|
11833
|
+
var _templateObject$m, _templateObject2$i, _templateObject3$c, _templateObject4$9;
|
|
11834
|
+
var ContainerWrapper = styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose$1$1$1$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
11835
|
+
return props.$width || 'auto';
|
|
11836
|
+
}, function (_ref) {
|
|
11837
|
+
var $minHeight = _ref.$minHeight;
|
|
11838
|
+
return $minHeight;
|
|
11839
|
+
});
|
|
11840
|
+
var CellContainer = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose$1$1$1$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
11841
|
+
return props.$align;
|
|
11842
|
+
}, function (props) {
|
|
11843
|
+
return props.$width || 'auto';
|
|
11844
|
+
}, function (props) {
|
|
11845
|
+
return props.$minWidth;
|
|
11846
|
+
}, function (props) {
|
|
11847
|
+
return props.$background || 'inherit';
|
|
11848
|
+
}, function (props) {
|
|
11849
|
+
return props.$padding;
|
|
11850
|
+
});
|
|
11851
|
+
var MainText = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose$1$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11852
|
+
return props.$mtc;
|
|
11853
|
+
}, function (props) {
|
|
11854
|
+
return props.$mtfs;
|
|
11855
|
+
}, function (props) {
|
|
11856
|
+
return props.$mtw;
|
|
11857
|
+
});
|
|
11858
|
+
var SubText = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose$1$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11859
|
+
return props.$stc;
|
|
11860
|
+
}, function (props) {
|
|
11861
|
+
return props.$stfs;
|
|
11862
|
+
}, function (props) {
|
|
11863
|
+
return props.$stw;
|
|
11864
|
+
});
|
|
11865
|
+
var _templateObject$n;
|
|
11866
|
+
var TableRowContainer = styled$1.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11867
|
+
var _templateObject$o, _templateObject2$j, _templateObject3$d, _templateObject4$a, _templateObject5$8;
|
|
11868
|
+
var TableContainer = styled.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose$1$1$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1$1$1.brand.light);
|
|
11869
|
+
var TableHeader = styled.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose$1$1$1$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
11870
|
+
return props.$hbcolor || 'transparent';
|
|
11871
|
+
}, function (props) {
|
|
11872
|
+
return props.$tcolor || 'white';
|
|
11873
|
+
});
|
|
11874
|
+
var TableContent = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11875
|
+
var TableData = styled.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose$1$1$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
11876
|
+
var Divider = styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose$1$1$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1$1$1.border.extraLight);
|
|
11877
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$9;
|
|
11878
|
+
var Container$4 = styled.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
11879
|
+
var $gap = _ref.$gap;
|
|
11880
|
+
return $gap;
|
|
11881
|
+
}, function (_ref2) {
|
|
11882
|
+
var $border = _ref2.$border;
|
|
11883
|
+
return $border;
|
|
11884
|
+
});
|
|
11885
|
+
var FirstContainer = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables$1$1$1$1.border.light, function (_ref3) {
|
|
11886
|
+
var $headerPadding = _ref3.$headerPadding;
|
|
11887
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
11888
|
+
});
|
|
11889
|
+
var TabContainer = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose$1$1$1$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref4) {
|
|
11890
|
+
var $disabled = _ref4.$disabled;
|
|
11891
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11892
|
+
}, function (_ref5) {
|
|
11893
|
+
var $disabled = _ref5.$disabled;
|
|
11894
|
+
return $disabled ? '0.6' : '1';
|
|
11895
|
+
}, colorVariables$1$1$1$1.text.medium, function (_ref6) {
|
|
11896
|
+
var $headerHeight = _ref6.$headerHeight;
|
|
11897
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
11898
|
+
}, function (_ref7) {
|
|
11899
|
+
var $disabled = _ref7.$disabled;
|
|
11900
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11901
|
+
});
|
|
11902
|
+
var TabItemContainer = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose$1$1$1$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref8) {
|
|
11903
|
+
var $headerHeight = _ref8.$headerHeight;
|
|
11904
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
11905
|
+
}, function (props) {
|
|
11906
|
+
return props.$active ? 'block' : 'none';
|
|
11907
|
+
}, colorVariables$1$1$1$1["default"].primary);
|
|
11908
|
+
var DetailsFirstContainer = styled.div(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose$1$1$1$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
11909
|
+
return props.$active ? colorVariables$1$1$1$1["default"].primary : colorVariables$1$1$1$1.text.medium;
|
|
11910
|
+
});
|
|
11911
|
+
var colorVariables$1$1$1$1$1 = {
|
|
11912
|
+
brand: {
|
|
11913
|
+
primary: 'var(--brand-primary)',
|
|
11914
|
+
secondary: 'var(--brand-secondary)',
|
|
11915
|
+
light: 'var(--brand-light)'
|
|
11916
|
+
},
|
|
11917
|
+
accent: {
|
|
11918
|
+
light: 'var(--accent-light)',
|
|
11919
|
+
extraLight: 'var(--accent-extraLight)',
|
|
11920
|
+
softBlue: 'var(--accent-softBlue)',
|
|
11921
|
+
extraSoftBlue: 'var(--accent-extraSoftBlue)',
|
|
11922
|
+
boldTransparent: 'var(--accent-boldTransparent)',
|
|
11923
|
+
transparent: 'var(--accent-transparent)',
|
|
11924
|
+
lightTransparent: 'var(--accent-lightTransparent)'
|
|
11925
|
+
},
|
|
11926
|
+
"default": {
|
|
11927
|
+
primary: 'var(--default-primary)',
|
|
11928
|
+
secondary: 'var(--default-secondary)',
|
|
11929
|
+
tertiary: 'var(--default-tertiary)',
|
|
11930
|
+
error: 'var(--default-error)',
|
|
11931
|
+
success: 'var(--default-success)',
|
|
11932
|
+
warning: 'var(--default-warning)',
|
|
11933
|
+
info: 'var(--default-info)'
|
|
11934
|
+
},
|
|
11935
|
+
disabled: {
|
|
11936
|
+
primary: 'var(--disabled-primary)',
|
|
11937
|
+
secondary: 'var(--disabled-secondary)',
|
|
11938
|
+
error: 'var(--disabled-error)',
|
|
11939
|
+
success: 'var(--disabled-success)',
|
|
11940
|
+
warning: 'var(--disabled-warning)',
|
|
11941
|
+
info: 'var(--disabled-info)'
|
|
11942
|
+
},
|
|
11943
|
+
hover: {
|
|
11944
|
+
primary: 'var(--hover-primary)',
|
|
11945
|
+
secondary: 'var(--hover-secondary)',
|
|
11946
|
+
tertiary: 'var(--hover-tertiary)',
|
|
11947
|
+
error: 'var(--hover-error)',
|
|
11948
|
+
success: 'var(--hover-success)',
|
|
11949
|
+
warning: 'var(--hover-warning)',
|
|
11950
|
+
info: 'var(--hover-info)'
|
|
11951
|
+
},
|
|
11952
|
+
border: {
|
|
11953
|
+
extraBold: 'var(--border-extraBold)',
|
|
11954
|
+
bold: 'var(--border-bold)',
|
|
11955
|
+
medium: 'var(--border-medium)',
|
|
11956
|
+
light: 'var(--border-light)',
|
|
11957
|
+
extraLight: 'var(--border-extraLight)'
|
|
11958
|
+
},
|
|
11959
|
+
text: {
|
|
11960
|
+
dark: 'var(--text-dark)',
|
|
11961
|
+
medium: 'var(--text-medium)',
|
|
11962
|
+
light: 'var(--text-light)',
|
|
11963
|
+
white: 'var(--text-white)',
|
|
11964
|
+
success: 'var(--text-success)',
|
|
11965
|
+
error: 'var(--text-error)',
|
|
11966
|
+
info: 'var(--text-info)',
|
|
11967
|
+
warning: 'var(--text-warning)'
|
|
11968
|
+
},
|
|
11969
|
+
badge: {
|
|
11970
|
+
lavender: 'var(--badge-lavender)',
|
|
11971
|
+
papayaWhip: 'var(--badge-papayaWhip)',
|
|
11972
|
+
water: 'var(--badge-water)',
|
|
11973
|
+
paleBlue: 'var(--badge-paleBlue)',
|
|
11974
|
+
teaGreen: 'var(--badge-teaGreen)',
|
|
11975
|
+
lightBlue: 'var(--badge-lightBlue)'
|
|
11976
|
+
}
|
|
11977
|
+
};
|
|
11978
|
+
var _templateObject$q, _templateObject2$l;
|
|
11979
|
+
var SearchContainer$4 = styled.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
|
|
11980
|
+
var $background = _ref.$background;
|
|
11981
|
+
return $background || colorVariables$1$1$1$1$1["default"].tertiary;
|
|
11982
|
+
}, function (_ref2) {
|
|
11983
|
+
var $border = _ref2.$border;
|
|
11984
|
+
return $border || "1px solid " + colorVariables$1$1$1$1$1.border.light;
|
|
11985
|
+
}, function (_ref3) {
|
|
11986
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
11987
|
+
return $borderRadius || '8px';
|
|
11988
|
+
}, function (_ref4) {
|
|
11989
|
+
var $disabled = _ref4.$disabled;
|
|
11990
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11991
|
+
}, colorVariables$1$1$1$1$1.text.dark);
|
|
11992
|
+
var SearchBar$4 = styled.input(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$1$1$1$1$1["default"].tertiary, function (_ref5) {
|
|
11993
|
+
var $inputColor = _ref5.$inputColor;
|
|
11994
|
+
return $inputColor || colorVariables$1$1$1$1$1.text.medium;
|
|
11995
|
+
}, function (_ref6) {
|
|
11996
|
+
var $placeholderColor = _ref6.$placeholderColor;
|
|
11997
|
+
return $placeholderColor || colorVariables$1$1$1$1$1.text.light;
|
|
11998
|
+
});
|
|
11999
|
+
var _templateObject$r, _templateObject2$m, _templateObject3$f, _templateObject4$c, _templateObject5$a;
|
|
12000
|
+
var Label$2 = styled.label(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
12001
|
+
var $fontWeight = _ref.$fontWeight;
|
|
12002
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
12003
|
+
}, function (_ref2) {
|
|
12004
|
+
var $size = _ref2.$size;
|
|
12005
|
+
switch ($size) {
|
|
12006
|
+
case 'small':
|
|
12007
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
12008
|
+
case 'medium':
|
|
12009
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
12010
|
+
case 'large':
|
|
12011
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
12012
|
+
default:
|
|
12013
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
12014
|
+
}
|
|
12015
|
+
}, function (_ref3) {
|
|
12016
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
12017
|
+
switch ($titlecolor) {
|
|
12018
|
+
case 'dark':
|
|
12019
|
+
return colorVariables$1$1$1.text.dark;
|
|
12020
|
+
case 'medium':
|
|
12021
|
+
return colorVariables$1$1$1.text.medium;
|
|
12022
|
+
case 'light':
|
|
12023
|
+
return colorVariables$1$1$1.text.light;
|
|
12024
|
+
case 'white':
|
|
12025
|
+
return colorVariables$1$1$1.text.white;
|
|
12026
|
+
case 'warning':
|
|
12027
|
+
return colorVariables$1$1$1["default"].warning;
|
|
12028
|
+
case 'info':
|
|
12029
|
+
return colorVariables$1$1$1["default"].info;
|
|
12030
|
+
case 'success':
|
|
12031
|
+
return colorVariables$1$1$1["default"].success;
|
|
12032
|
+
case 'error':
|
|
12033
|
+
return colorVariables$1$1$1["default"].error;
|
|
12034
|
+
default:
|
|
12035
|
+
return $titlecolor;
|
|
12036
|
+
}
|
|
12037
|
+
});
|
|
12038
|
+
var Input$1 = styled.input(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1.border.light, function (_ref4) {
|
|
12039
|
+
var $disabled = _ref4.$disabled;
|
|
12040
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
12041
|
+
}, function (_ref5) {
|
|
12042
|
+
var $disabled = _ref5.$disabled,
|
|
12043
|
+
$background = _ref5.$background;
|
|
12044
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
12045
|
+
}, function (_ref6) {
|
|
12046
|
+
var $color = _ref6.$color;
|
|
12047
|
+
return $color;
|
|
12048
|
+
}, function (_ref7) {
|
|
12049
|
+
var $disabled = _ref7.$disabled;
|
|
12050
|
+
return $disabled ? 'none' : 'auto';
|
|
12051
|
+
}, function (_ref8) {
|
|
12052
|
+
var $size = _ref8.$size,
|
|
12053
|
+
$type = _ref8.$type;
|
|
12054
|
+
switch ($size) {
|
|
12055
|
+
case 'small':
|
|
12056
|
+
return "\n font-size: 12px;\n padding: " + ($type === 'password' ? '5px 38px 5px 10px' : '5px 10px') + ";\n ";
|
|
12057
|
+
case 'medium':
|
|
12058
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '9.5px 38px 9.5px 12px' : '9.5px 12px') + ";\n ";
|
|
12059
|
+
case 'large':
|
|
12060
|
+
return "\n font-size: 16px;\n padding: " + ($type === 'password' ? '9px 38px 9px 14px' : '9px 14px') + ";\n ";
|
|
12061
|
+
default:
|
|
12062
|
+
return "\n font-size: 14px;\n padding: " + ($type === 'password' ? '7px 38px 7px 12px' : '7px 12px') + ";\n ";
|
|
12063
|
+
}
|
|
12064
|
+
}, function (_ref9) {
|
|
12065
|
+
var $color = _ref9.$color;
|
|
12066
|
+
switch ($color) {
|
|
12067
|
+
case 'dark':
|
|
12068
|
+
return colorVariables$1$1$1.text.dark;
|
|
12069
|
+
case 'medium':
|
|
12070
|
+
return colorVariables$1$1$1.text.medium;
|
|
12071
|
+
case 'light':
|
|
12072
|
+
return colorVariables$1$1$1.text.light;
|
|
12073
|
+
case 'white':
|
|
12074
|
+
return colorVariables$1$1$1.text.white;
|
|
12075
|
+
case 'warning':
|
|
12076
|
+
return colorVariables$1$1$1["default"].warning;
|
|
12077
|
+
case 'info':
|
|
12078
|
+
return colorVariables$1$1$1["default"].info;
|
|
12079
|
+
case 'success':
|
|
12080
|
+
return colorVariables$1$1$1["default"].success;
|
|
12081
|
+
case 'error':
|
|
12082
|
+
return colorVariables$1$1$1["default"].error;
|
|
12083
|
+
default:
|
|
12084
|
+
return $color;
|
|
12085
|
+
}
|
|
12086
|
+
}, colorVariables$1$1$1.text.light);
|
|
12087
|
+
var InputWrapper$2 = styled.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
12088
|
+
var IconWrapper$3 = styled.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
12089
|
+
var $disabled = _ref10.$disabled;
|
|
12090
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
12091
|
+
});
|
|
12092
|
+
var Asterisk$2 = styled.span(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1$1["default"].error);
|
|
12093
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$g;
|
|
12094
|
+
var Container$5 = styled.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
12095
|
+
var $padding = _ref.$padding;
|
|
12096
|
+
return $padding;
|
|
12097
|
+
});
|
|
12098
|
+
var Label$3 = styled.label(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
12099
|
+
var $fontWeight = _ref2.$fontWeight;
|
|
12100
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
12101
|
+
}, function (_ref3) {
|
|
12102
|
+
var $size = _ref3.$size;
|
|
12103
|
+
switch ($size) {
|
|
12104
|
+
case 'small':
|
|
12105
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
12106
|
+
case 'medium':
|
|
12107
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
12108
|
+
case 'large':
|
|
12109
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
12110
|
+
default:
|
|
12111
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
12112
|
+
}
|
|
12113
|
+
}, function (_ref4) {
|
|
12114
|
+
var $titlecolor = _ref4.$titlecolor;
|
|
12115
|
+
return $titlecolor || colorVariables$1$1$1.text.dark;
|
|
12116
|
+
});
|
|
12117
|
+
var TextAreaComponent$1 = styled.textarea(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1$1.border.light, function (_ref5) {
|
|
12118
|
+
var $disabled = _ref5.$disabled;
|
|
12119
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
12120
|
+
}, function (_ref6) {
|
|
12121
|
+
var $disabled = _ref6.$disabled,
|
|
12122
|
+
$background = _ref6.$background;
|
|
12123
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
12124
|
+
}, function (_ref7) {
|
|
12125
|
+
var $color = _ref7.$color;
|
|
12126
|
+
return $color;
|
|
12127
|
+
}, function (_ref8) {
|
|
12128
|
+
var $size = _ref8.$size;
|
|
12129
|
+
switch ($size) {
|
|
12130
|
+
case 'small':
|
|
12131
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
12132
|
+
case 'medium':
|
|
12133
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
12134
|
+
case 'large':
|
|
12135
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
12136
|
+
default:
|
|
12137
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
12138
|
+
}
|
|
12139
|
+
}, function (_ref9) {
|
|
12140
|
+
var $color = _ref9.$color;
|
|
12141
|
+
return $color || colorVariables$1$1$1.text.dark;
|
|
12142
|
+
}, colorVariables$1$1$1.text.light);
|
|
12143
|
+
var _templateObject$t, _templateObject2$o, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$7, _templateObject7$4;
|
|
12144
|
+
var OptionContainer$2 = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose$1$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1$1$1.text.white);
|
|
12145
|
+
var OptionItem$2 = styled.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
12146
|
+
var $optionSelected = _ref.$optionSelected;
|
|
12147
|
+
return $optionSelected ? colorVariables$1$1$1.text.white : colorVariables$1$1$1.text.medium;
|
|
12148
|
+
}, function (_ref2) {
|
|
10707
12149
|
var $optionSelected = _ref2.$optionSelected;
|
|
10708
12150
|
return $optionSelected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.white;
|
|
10709
12151
|
}, colorVariables$1$1$1.hover.primary, colorVariables$1$1$1.text.white);
|
|
10710
|
-
var TotalOptionsHeader = styled.div(_templateObject3$
|
|
10711
|
-
var OptionLabel$
|
|
10712
|
-
var SearchContainer$
|
|
12152
|
+
var TotalOptionsHeader$1 = styled.div(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables$1$1$1.text.white, colorVariables$1$1$1.text.light, colorVariables$1$1$1.text.light);
|
|
12153
|
+
var OptionLabel$2 = styled.label(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
12154
|
+
var SearchContainer$5 = styled.div(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
10713
12155
|
var $background = _ref3.$background;
|
|
10714
12156
|
switch ($background) {
|
|
10715
12157
|
case 'dark':
|
|
@@ -10738,7 +12180,7 @@ var SearchContainer$3 = styled.div(_templateObject5$6 || (_templateObject5$6 = _
|
|
|
10738
12180
|
var $borderRadius = _ref5.$borderRadius;
|
|
10739
12181
|
return $borderRadius || '8px';
|
|
10740
12182
|
});
|
|
10741
|
-
var SearchBar$
|
|
12183
|
+
var SearchBar$5 = styled.input(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose$1$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1$1$1["default"].tertiary, function (_ref6) {
|
|
10742
12184
|
var $inputColor = _ref6.$inputColor;
|
|
10743
12185
|
switch ($inputColor) {
|
|
10744
12186
|
case 'dark':
|
|
@@ -10783,9 +12225,9 @@ var SearchBar$3 = styled.input(_templateObject6$5$1$1$1 || (_templateObject6$5$1
|
|
|
10783
12225
|
return $placeholderColor;
|
|
10784
12226
|
}
|
|
10785
12227
|
});
|
|
10786
|
-
var OptionsWrapper$
|
|
10787
|
-
var _templateObject$
|
|
10788
|
-
var StyledInput$
|
|
12228
|
+
var OptionsWrapper$2 = styled.div(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteralLoose$1$1$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1$1$1.text.white);
|
|
12229
|
+
var _templateObject$u, _templateObject2$p;
|
|
12230
|
+
var StyledInput$2 = styled.input(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: solid ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
10789
12231
|
var $checkboxSize = _ref.$checkboxSize;
|
|
10790
12232
|
return $checkboxSize + "px";
|
|
10791
12233
|
}, function (_ref2) {
|
|
@@ -10814,32 +12256,32 @@ var StyledInput$1$1$1$1 = styled.input(_templateObject$h || (_templateObject$h =
|
|
|
10814
12256
|
var $checkboxSize = _ref9.$checkboxSize;
|
|
10815
12257
|
return $checkboxSize / 2.4 + "px";
|
|
10816
12258
|
}, colorVariables$1$1$1.text.white);
|
|
10817
|
-
var LabelSpan = styled(Span$1$1$1)(_templateObject2$
|
|
10818
|
-
var _templateObject$
|
|
10819
|
-
var spin$
|
|
10820
|
-
var getDotPosition = function getDotPosition(index, size) {
|
|
12259
|
+
var LabelSpan$1 = styled(Span$1$1$1)(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose$1$1$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
12260
|
+
var _templateObject$v, _templateObject2$q, _templateObject3$i, _templateObject4$e;
|
|
12261
|
+
var spin$3 = keyframes(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose$1$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
12262
|
+
var getDotPosition$1 = function getDotPosition(index, size) {
|
|
10821
12263
|
var angle = index * 360 / 8;
|
|
10822
12264
|
var radius = size / 2.5;
|
|
10823
12265
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10824
12266
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10825
12267
|
return "translate(" + x + "px, " + y + "px)";
|
|
10826
12268
|
};
|
|
10827
|
-
var SpinnerContainer = styled.div(_templateObject2$
|
|
12269
|
+
var SpinnerContainer$1 = styled.div(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
10828
12270
|
var $size = _ref.$size;
|
|
10829
12271
|
return $size;
|
|
10830
12272
|
}, function (_ref2) {
|
|
10831
12273
|
var $size = _ref2.$size;
|
|
10832
12274
|
return $size;
|
|
10833
12275
|
});
|
|
10834
|
-
var Dot = styled.div.attrs(function (_ref3) {
|
|
12276
|
+
var Dot$1 = styled.div.attrs(function (_ref3) {
|
|
10835
12277
|
var $index = _ref3.$index,
|
|
10836
12278
|
$size = _ref3.$size;
|
|
10837
12279
|
return {
|
|
10838
12280
|
style: {
|
|
10839
|
-
transform: getDotPosition($index, $size)
|
|
12281
|
+
transform: getDotPosition$1($index, $size)
|
|
10840
12282
|
}
|
|
10841
12283
|
};
|
|
10842
|
-
})(_templateObject3$
|
|
12284
|
+
})(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose$1$1$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
10843
12285
|
var $dotSize = _ref4.$dotSize;
|
|
10844
12286
|
return $dotSize;
|
|
10845
12287
|
}, function (_ref5) {
|
|
@@ -10848,7 +12290,7 @@ var Dot = styled.div.attrs(function (_ref3) {
|
|
|
10848
12290
|
}, function (_ref6) {
|
|
10849
12291
|
var $color = _ref6.$color;
|
|
10850
12292
|
return $color;
|
|
10851
|
-
}, spin$
|
|
12293
|
+
}, spin$3, function (_ref7) {
|
|
10852
12294
|
var $speed = _ref7.$speed;
|
|
10853
12295
|
return $speed;
|
|
10854
12296
|
}, function (_ref8) {
|
|
@@ -10856,10 +12298,10 @@ var Dot = styled.div.attrs(function (_ref3) {
|
|
|
10856
12298
|
$speed = _ref8.$speed;
|
|
10857
12299
|
return $index * $speed / 8;
|
|
10858
12300
|
});
|
|
10859
|
-
var SpinnerWrapper = styled.div(_templateObject4$
|
|
10860
|
-
var _templateObject$
|
|
10861
|
-
var spin$
|
|
10862
|
-
var Spinner$
|
|
12301
|
+
var SpinnerWrapper$1 = styled.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose$1$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
12302
|
+
var _templateObject$w, _templateObject2$r;
|
|
12303
|
+
var spin$4 = keyframes(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
12304
|
+
var Spinner$2 = styled.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
10863
12305
|
var $size = _ref.$size;
|
|
10864
12306
|
return $size;
|
|
10865
12307
|
}, function (_ref2) {
|
|
@@ -10868,25 +12310,25 @@ var Spinner$1$1$1$1 = styled.div(_templateObject2$g || (_templateObject2$g = _ta
|
|
|
10868
12310
|
}, function (_ref3) {
|
|
10869
12311
|
var $color = _ref3.$color;
|
|
10870
12312
|
return $color;
|
|
10871
|
-
}, spin$
|
|
10872
|
-
var _templateObject$
|
|
10873
|
-
var PageInput = styled.input(_templateObject$
|
|
10874
|
-
var _templateObject$
|
|
10875
|
-
var SidebarContainer = styled.div(_templateObject$
|
|
12313
|
+
}, spin$4);
|
|
12314
|
+
var _templateObject$x;
|
|
12315
|
+
var PageInput$1 = styled.input(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose$1$1$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables$1$1$1.accent.extraLight, colorVariables$1$1$1.border.light, colorVariables$1$1$1.text.dark);
|
|
12316
|
+
var _templateObject$y, _templateObject2$s, _templateObject3$j, _templateObject4$f, _templateObject5$c, _templateObject6$8;
|
|
12317
|
+
var SidebarContainer$1 = styled.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
10876
12318
|
var $isExpanded = _ref.$isExpanded;
|
|
10877
12319
|
return $isExpanded ? '225px' : '68px';
|
|
10878
12320
|
}, function (_ref2) {
|
|
10879
12321
|
var $background = _ref2.$background;
|
|
10880
12322
|
return $background ? $background : colorVariables$1$1$1.accent.softBlue;
|
|
10881
12323
|
});
|
|
10882
|
-
var SidebarItem = styled(NavLink)(_templateObject2$
|
|
10883
|
-
var ContentWrapper = styled.div(_templateObject3$
|
|
10884
|
-
var IconWrapper$
|
|
12324
|
+
var SidebarItem$1 = styled(NavLink)(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables$1$1$1.text.medium, colorVariables$1$1$1["default"].primary);
|
|
12325
|
+
var ContentWrapper$1 = styled.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
12326
|
+
var IconWrapper$4 = styled.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
10885
12327
|
var $selected = _ref3.$selected;
|
|
10886
12328
|
return $selected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1["default"].tertiary;
|
|
10887
12329
|
});
|
|
10888
|
-
var Logo = styled.div(_templateObject5$
|
|
10889
|
-
var TextContainer = styled.span(_templateObject6$
|
|
12330
|
+
var Logo$1 = styled.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
12331
|
+
var TextContainer$1 = styled.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
10890
12332
|
var $padding = _ref4.$padding;
|
|
10891
12333
|
return $padding;
|
|
10892
12334
|
}, function (_ref5) {
|
|
@@ -10905,14 +12347,14 @@ var TextContainer = styled.span(_templateObject6$6 || (_templateObject6$6 = _tag
|
|
|
10905
12347
|
var $isExpanded = _ref9.$isExpanded;
|
|
10906
12348
|
return $isExpanded ? 'visible' : 'hidden';
|
|
10907
12349
|
});
|
|
10908
|
-
var _templateObject$
|
|
10909
|
-
var ContainerWrapper = styled.div(_templateObject$
|
|
12350
|
+
var _templateObject$z, _templateObject2$t, _templateObject3$k, _templateObject4$g;
|
|
12351
|
+
var ContainerWrapper$1 = styled.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose$1$1$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
10910
12352
|
return props.$width || 'auto';
|
|
10911
12353
|
}, function (_ref) {
|
|
10912
12354
|
var $minHeight = _ref.$minHeight;
|
|
10913
12355
|
return $minHeight;
|
|
10914
12356
|
});
|
|
10915
|
-
var CellContainer = styled.div(_templateObject2$
|
|
12357
|
+
var CellContainer$1 = styled.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose$1$1$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
10916
12358
|
return props.$align;
|
|
10917
12359
|
}, function (props) {
|
|
10918
12360
|
return props.$width || 'auto';
|
|
@@ -10923,45 +12365,45 @@ var CellContainer = styled.div(_templateObject2$i || (_templateObject2$i = _tagg
|
|
|
10923
12365
|
}, function (props) {
|
|
10924
12366
|
return props.$padding;
|
|
10925
12367
|
});
|
|
10926
|
-
var MainText = styled.div(_templateObject3$
|
|
12368
|
+
var MainText$1 = styled.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10927
12369
|
return props.$mtc;
|
|
10928
12370
|
}, function (props) {
|
|
10929
12371
|
return props.$mtfs;
|
|
10930
12372
|
}, function (props) {
|
|
10931
12373
|
return props.$mtw;
|
|
10932
12374
|
});
|
|
10933
|
-
var SubText = styled.div(_templateObject4$
|
|
12375
|
+
var SubText$1 = styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10934
12376
|
return props.$stc;
|
|
10935
12377
|
}, function (props) {
|
|
10936
12378
|
return props.$stfs;
|
|
10937
12379
|
}, function (props) {
|
|
10938
12380
|
return props.$stw;
|
|
10939
12381
|
});
|
|
10940
|
-
var _templateObject$
|
|
10941
|
-
var TableRowContainer = styled$1.div(_templateObject$
|
|
10942
|
-
var _templateObject$
|
|
10943
|
-
var TableContainer = styled.div(_templateObject$
|
|
10944
|
-
var TableHeader = styled.div(_templateObject2$
|
|
12382
|
+
var _templateObject$A;
|
|
12383
|
+
var TableRowContainer$1 = styled$1.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
12384
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$l, _templateObject4$h, _templateObject5$d;
|
|
12385
|
+
var TableContainer$1 = styled.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose$1$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1$1.brand.light);
|
|
12386
|
+
var TableHeader$1 = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
10945
12387
|
return props.$hbcolor || 'transparent';
|
|
10946
12388
|
}, function (props) {
|
|
10947
12389
|
return props.$tcolor || 'white';
|
|
10948
12390
|
});
|
|
10949
|
-
var TableContent = styled.div(_templateObject3$
|
|
10950
|
-
var TableData = styled.div(_templateObject4$
|
|
10951
|
-
var Divider = styled.div(_templateObject5$
|
|
10952
|
-
var _templateObject$
|
|
10953
|
-
var Container$
|
|
12391
|
+
var TableContent$1 = styled.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
12392
|
+
var TableData$1 = styled.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
12393
|
+
var Divider$1 = styled.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose$1$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1$1.border.extraLight);
|
|
12394
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$m, _templateObject4$i, _templateObject5$e;
|
|
12395
|
+
var Container$6 = styled.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
10954
12396
|
var $gap = _ref.$gap;
|
|
10955
12397
|
return $gap;
|
|
10956
12398
|
}, function (_ref2) {
|
|
10957
12399
|
var $border = _ref2.$border;
|
|
10958
12400
|
return $border;
|
|
10959
12401
|
});
|
|
10960
|
-
var FirstContainer = styled.div(_templateObject2$
|
|
12402
|
+
var FirstContainer$1 = styled.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables$1$1$1.border.light, function (_ref3) {
|
|
10961
12403
|
var $headerPadding = _ref3.$headerPadding;
|
|
10962
12404
|
return $headerPadding ? $headerPadding : '0px';
|
|
10963
12405
|
});
|
|
10964
|
-
var TabContainer = styled.div(_templateObject3$
|
|
12406
|
+
var TabContainer$1 = styled.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose$1$1$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref4) {
|
|
10965
12407
|
var $disabled = _ref4.$disabled;
|
|
10966
12408
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10967
12409
|
}, function (_ref5) {
|
|
@@ -10974,16 +12416,16 @@ var TabContainer = styled.div(_templateObject3$e || (_templateObject3$e = _tagge
|
|
|
10974
12416
|
var $disabled = _ref7.$disabled;
|
|
10975
12417
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10976
12418
|
});
|
|
10977
|
-
var TabItemContainer = styled.div(_templateObject4$
|
|
12419
|
+
var TabItemContainer$1 = styled.div(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref8) {
|
|
10978
12420
|
var $headerHeight = _ref8.$headerHeight;
|
|
10979
12421
|
return $headerHeight ? $headerHeight : '34px';
|
|
10980
12422
|
}, function (props) {
|
|
10981
12423
|
return props.$active ? 'block' : 'none';
|
|
10982
12424
|
}, colorVariables$1$1$1["default"].primary);
|
|
10983
|
-
var DetailsFirstContainer = styled.div(_templateObject5$
|
|
12425
|
+
var DetailsFirstContainer$1 = styled.div(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose$1$1$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
10984
12426
|
return props.$active ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.medium;
|
|
10985
12427
|
});
|
|
10986
|
-
var colorVariables$
|
|
12428
|
+
var colorVariables$2 = {
|
|
10987
12429
|
brand: {
|
|
10988
12430
|
primary: 'var(--brand-primary)',
|
|
10989
12431
|
secondary: 'var(--brand-secondary)',
|
|
@@ -11050,29 +12492,29 @@ var colorVariables$1$1$1$1 = {
|
|
|
11050
12492
|
lightBlue: 'var(--badge-lightBlue)'
|
|
11051
12493
|
}
|
|
11052
12494
|
};
|
|
11053
|
-
var _templateObject$
|
|
11054
|
-
var SearchContainer$
|
|
12495
|
+
var _templateObject$D, _templateObject2$w;
|
|
12496
|
+
var SearchContainer$6 = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
|
|
11055
12497
|
var $background = _ref.$background;
|
|
11056
|
-
return $background || colorVariables$
|
|
12498
|
+
return $background || colorVariables$2["default"].tertiary;
|
|
11057
12499
|
}, function (_ref2) {
|
|
11058
12500
|
var $border = _ref2.$border;
|
|
11059
|
-
return $border || "1px solid " + colorVariables$
|
|
12501
|
+
return $border || "1px solid " + colorVariables$2.border.light;
|
|
11060
12502
|
}, function (_ref3) {
|
|
11061
12503
|
var $borderRadius = _ref3.$borderRadius;
|
|
11062
12504
|
return $borderRadius || '8px';
|
|
11063
12505
|
}, function (_ref4) {
|
|
11064
12506
|
var $disabled = _ref4.$disabled;
|
|
11065
12507
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11066
|
-
}, colorVariables$
|
|
11067
|
-
var SearchBar$
|
|
12508
|
+
}, colorVariables$2.text.dark);
|
|
12509
|
+
var SearchBar$6 = styled.input(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose$1$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$2["default"].tertiary, function (_ref5) {
|
|
11068
12510
|
var $inputColor = _ref5.$inputColor;
|
|
11069
|
-
return $inputColor || colorVariables$
|
|
12511
|
+
return $inputColor || colorVariables$2.text.medium;
|
|
11070
12512
|
}, function (_ref6) {
|
|
11071
12513
|
var $placeholderColor = _ref6.$placeholderColor;
|
|
11072
|
-
return $placeholderColor || colorVariables$
|
|
12514
|
+
return $placeholderColor || colorVariables$2.text.light;
|
|
11073
12515
|
});
|
|
11074
|
-
var _templateObject$
|
|
11075
|
-
var Label$
|
|
12516
|
+
var _templateObject$E, _templateObject2$x, _templateObject3$n, _templateObject4$j, _templateObject5$f;
|
|
12517
|
+
var Label$4 = styled.label(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11076
12518
|
var $fontWeight = _ref.$fontWeight;
|
|
11077
12519
|
return $fontWeight != null ? $fontWeight : '500';
|
|
11078
12520
|
}, function (_ref2) {
|
|
@@ -11110,7 +12552,7 @@ var Label$2 = styled.label(_templateObject$r || (_templateObject$r = _taggedTemp
|
|
|
11110
12552
|
return $titlecolor;
|
|
11111
12553
|
}
|
|
11112
12554
|
});
|
|
11113
|
-
var Input$
|
|
12555
|
+
var Input$2 = styled.input(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1.border.light, function (_ref4) {
|
|
11114
12556
|
var $disabled = _ref4.$disabled;
|
|
11115
12557
|
return $disabled ? 'not-allowed' : 'auto';
|
|
11116
12558
|
}, function (_ref5) {
|
|
@@ -11159,18 +12601,18 @@ var Input$1 = styled.input(_templateObject2$m || (_templateObject2$m = _taggedTe
|
|
|
11159
12601
|
return $color;
|
|
11160
12602
|
}
|
|
11161
12603
|
}, colorVariables$1$1.text.light);
|
|
11162
|
-
var InputWrapper$
|
|
11163
|
-
var IconWrapper$
|
|
12604
|
+
var InputWrapper$3 = styled.div(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
12605
|
+
var IconWrapper$5 = styled.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
11164
12606
|
var $disabled = _ref10.$disabled;
|
|
11165
12607
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11166
12608
|
});
|
|
11167
|
-
var Asterisk$
|
|
11168
|
-
var _templateObject$
|
|
11169
|
-
var Container$
|
|
12609
|
+
var Asterisk$3 = styled.span(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1$1["default"].error);
|
|
12610
|
+
var _templateObject$F, _templateObject2$y, _templateObject3$o;
|
|
12611
|
+
var Container$7 = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
11170
12612
|
var $padding = _ref.$padding;
|
|
11171
12613
|
return $padding;
|
|
11172
12614
|
});
|
|
11173
|
-
var Label$
|
|
12615
|
+
var Label$5 = styled.label(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
11174
12616
|
var $fontWeight = _ref2.$fontWeight;
|
|
11175
12617
|
return $fontWeight != null ? $fontWeight : '500';
|
|
11176
12618
|
}, function (_ref3) {
|
|
@@ -11189,7 +12631,7 @@ var Label$3 = styled.label(_templateObject2$n || (_templateObject2$n = _taggedTe
|
|
|
11189
12631
|
var $titlecolor = _ref4.$titlecolor;
|
|
11190
12632
|
return $titlecolor || colorVariables$1$1.text.dark;
|
|
11191
12633
|
});
|
|
11192
|
-
var TextAreaComponent$
|
|
12634
|
+
var TextAreaComponent$2 = styled.textarea(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1$1.border.light, function (_ref5) {
|
|
11193
12635
|
var $disabled = _ref5.$disabled;
|
|
11194
12636
|
return $disabled ? 'not-allowed' : 'auto';
|
|
11195
12637
|
}, function (_ref6) {
|
|
@@ -11215,18 +12657,18 @@ var TextAreaComponent$1 = styled.textarea(_templateObject3$g || (_templateObject
|
|
|
11215
12657
|
var $color = _ref9.$color;
|
|
11216
12658
|
return $color || colorVariables$1$1.text.dark;
|
|
11217
12659
|
}, colorVariables$1$1.text.light);
|
|
11218
|
-
var _templateObject$
|
|
11219
|
-
var OptionContainer$
|
|
11220
|
-
var OptionItem$
|
|
12660
|
+
var _templateObject$G, _templateObject2$z, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$9, _templateObject7$5;
|
|
12661
|
+
var OptionContainer$3 = styled.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1$1.text.white);
|
|
12662
|
+
var OptionItem$3 = styled.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
11221
12663
|
var $optionSelected = _ref.$optionSelected;
|
|
11222
12664
|
return $optionSelected ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
11223
12665
|
}, function (_ref2) {
|
|
11224
12666
|
var $optionSelected = _ref2.$optionSelected;
|
|
11225
12667
|
return $optionSelected ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.white;
|
|
11226
12668
|
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
11227
|
-
var TotalOptionsHeader$
|
|
11228
|
-
var OptionLabel$
|
|
11229
|
-
var SearchContainer$
|
|
12669
|
+
var TotalOptionsHeader$2 = styled.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables$1$1.text.white, colorVariables$1$1.text.light, colorVariables$1$1.text.light);
|
|
12670
|
+
var OptionLabel$3 = styled.label(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose$1$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
12671
|
+
var SearchContainer$7 = styled.div(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
11230
12672
|
var $background = _ref3.$background;
|
|
11231
12673
|
switch ($background) {
|
|
11232
12674
|
case 'dark':
|
|
@@ -11255,7 +12697,7 @@ var SearchContainer$5 = styled.div(_templateObject5$b || (_templateObject5$b = _
|
|
|
11255
12697
|
var $borderRadius = _ref5.$borderRadius;
|
|
11256
12698
|
return $borderRadius || '8px';
|
|
11257
12699
|
});
|
|
11258
|
-
var SearchBar$
|
|
12700
|
+
var SearchBar$7 = styled.input(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1$1["default"].tertiary, function (_ref6) {
|
|
11259
12701
|
var $inputColor = _ref6.$inputColor;
|
|
11260
12702
|
switch ($inputColor) {
|
|
11261
12703
|
case 'dark':
|
|
@@ -11300,9 +12742,9 @@ var SearchBar$5 = styled.input(_templateObject6$7 || (_templateObject6$7 = _tagg
|
|
|
11300
12742
|
return $placeholderColor;
|
|
11301
12743
|
}
|
|
11302
12744
|
});
|
|
11303
|
-
var OptionsWrapper$
|
|
11304
|
-
var _templateObject$
|
|
11305
|
-
var StyledInput$
|
|
12745
|
+
var OptionsWrapper$3 = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose$1$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1$1.text.white);
|
|
12746
|
+
var _templateObject$H, _templateObject2$A;
|
|
12747
|
+
var StyledInput$3 = styled.input(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: solid ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
11306
12748
|
var $checkboxSize = _ref.$checkboxSize;
|
|
11307
12749
|
return $checkboxSize + "px";
|
|
11308
12750
|
}, function (_ref2) {
|
|
@@ -11331,32 +12773,32 @@ var StyledInput$2 = styled.input(_templateObject$u || (_templateObject$u = _tagg
|
|
|
11331
12773
|
var $checkboxSize = _ref9.$checkboxSize;
|
|
11332
12774
|
return $checkboxSize / 2.4 + "px";
|
|
11333
12775
|
}, colorVariables$1$1.text.white);
|
|
11334
|
-
var LabelSpan$
|
|
11335
|
-
var _templateObject$
|
|
11336
|
-
var spin$
|
|
11337
|
-
var getDotPosition$
|
|
12776
|
+
var LabelSpan$2 = styled(Span$1$1)(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose$1$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
12777
|
+
var _templateObject$I, _templateObject2$B, _templateObject3$q, _templateObject4$l;
|
|
12778
|
+
var spin$5 = keyframes(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
12779
|
+
var getDotPosition$2 = function getDotPosition(index, size) {
|
|
11338
12780
|
var angle = index * 360 / 8;
|
|
11339
12781
|
var radius = size / 2.5;
|
|
11340
12782
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
11341
12783
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
11342
12784
|
return "translate(" + x + "px, " + y + "px)";
|
|
11343
12785
|
};
|
|
11344
|
-
var SpinnerContainer$
|
|
12786
|
+
var SpinnerContainer$2 = styled.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
11345
12787
|
var $size = _ref.$size;
|
|
11346
12788
|
return $size;
|
|
11347
12789
|
}, function (_ref2) {
|
|
11348
12790
|
var $size = _ref2.$size;
|
|
11349
12791
|
return $size;
|
|
11350
12792
|
});
|
|
11351
|
-
var Dot$
|
|
12793
|
+
var Dot$2 = styled.div.attrs(function (_ref3) {
|
|
11352
12794
|
var $index = _ref3.$index,
|
|
11353
12795
|
$size = _ref3.$size;
|
|
11354
12796
|
return {
|
|
11355
12797
|
style: {
|
|
11356
|
-
transform: getDotPosition$
|
|
12798
|
+
transform: getDotPosition$2($index, $size)
|
|
11357
12799
|
}
|
|
11358
12800
|
};
|
|
11359
|
-
})(_templateObject3$
|
|
12801
|
+
})(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
11360
12802
|
var $dotSize = _ref4.$dotSize;
|
|
11361
12803
|
return $dotSize;
|
|
11362
12804
|
}, function (_ref5) {
|
|
@@ -11365,7 +12807,7 @@ var Dot$1 = styled.div.attrs(function (_ref3) {
|
|
|
11365
12807
|
}, function (_ref6) {
|
|
11366
12808
|
var $color = _ref6.$color;
|
|
11367
12809
|
return $color;
|
|
11368
|
-
}, spin$
|
|
12810
|
+
}, spin$5, function (_ref7) {
|
|
11369
12811
|
var $speed = _ref7.$speed;
|
|
11370
12812
|
return $speed;
|
|
11371
12813
|
}, function (_ref8) {
|
|
@@ -11373,10 +12815,10 @@ var Dot$1 = styled.div.attrs(function (_ref3) {
|
|
|
11373
12815
|
$speed = _ref8.$speed;
|
|
11374
12816
|
return $index * $speed / 8;
|
|
11375
12817
|
});
|
|
11376
|
-
var SpinnerWrapper$
|
|
11377
|
-
var _templateObject$
|
|
11378
|
-
var spin$
|
|
11379
|
-
var Spinner$
|
|
12818
|
+
var SpinnerWrapper$2 = styled.div(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
12819
|
+
var _templateObject$J, _templateObject2$C;
|
|
12820
|
+
var spin$6 = keyframes(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
12821
|
+
var Spinner$3 = styled.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose$1$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
11380
12822
|
var $size = _ref.$size;
|
|
11381
12823
|
return $size;
|
|
11382
12824
|
}, function (_ref2) {
|
|
@@ -11385,25 +12827,25 @@ var Spinner$2 = styled.div(_templateObject2$r || (_templateObject2$r = _taggedTe
|
|
|
11385
12827
|
}, function (_ref3) {
|
|
11386
12828
|
var $color = _ref3.$color;
|
|
11387
12829
|
return $color;
|
|
11388
|
-
}, spin$
|
|
11389
|
-
var _templateObject$
|
|
11390
|
-
var PageInput$
|
|
11391
|
-
var _templateObject$
|
|
11392
|
-
var SidebarContainer$
|
|
12830
|
+
}, spin$6);
|
|
12831
|
+
var _templateObject$K;
|
|
12832
|
+
var PageInput$2 = styled.input(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose$1$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables$1$1.accent.extraLight, colorVariables$1$1.border.light, colorVariables$1$1.text.dark);
|
|
12833
|
+
var _templateObject$L, _templateObject2$D, _templateObject3$r, _templateObject4$m, _templateObject5$h, _templateObject6$a;
|
|
12834
|
+
var SidebarContainer$2 = styled.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
11393
12835
|
var $isExpanded = _ref.$isExpanded;
|
|
11394
12836
|
return $isExpanded ? '225px' : '68px';
|
|
11395
12837
|
}, function (_ref2) {
|
|
11396
12838
|
var $background = _ref2.$background;
|
|
11397
12839
|
return $background ? $background : colorVariables$1$1.accent.softBlue;
|
|
11398
12840
|
});
|
|
11399
|
-
var SidebarItem$
|
|
11400
|
-
var ContentWrapper$
|
|
11401
|
-
var IconWrapper$
|
|
12841
|
+
var SidebarItem$2 = styled(NavLink)(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables$1$1.text.medium, colorVariables$1$1["default"].primary);
|
|
12842
|
+
var ContentWrapper$2 = styled.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
12843
|
+
var IconWrapper$6 = styled.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose$1$1(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
11402
12844
|
var $selected = _ref3.$selected;
|
|
11403
12845
|
return $selected ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
11404
12846
|
});
|
|
11405
|
-
var Logo$
|
|
11406
|
-
var TextContainer$
|
|
12847
|
+
var Logo$2 = styled.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
12848
|
+
var TextContainer$2 = styled.span(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
11407
12849
|
var $padding = _ref4.$padding;
|
|
11408
12850
|
return $padding;
|
|
11409
12851
|
}, function (_ref5) {
|
|
@@ -11422,14 +12864,14 @@ var TextContainer$1 = styled.span(_templateObject6$8 || (_templateObject6$8 = _t
|
|
|
11422
12864
|
var $isExpanded = _ref9.$isExpanded;
|
|
11423
12865
|
return $isExpanded ? 'visible' : 'hidden';
|
|
11424
12866
|
});
|
|
11425
|
-
var _templateObject$
|
|
11426
|
-
var ContainerWrapper$
|
|
12867
|
+
var _templateObject$M, _templateObject2$E, _templateObject3$s, _templateObject4$n;
|
|
12868
|
+
var ContainerWrapper$2 = styled.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose$1$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
11427
12869
|
return props.$width || 'auto';
|
|
11428
12870
|
}, function (_ref) {
|
|
11429
12871
|
var $minHeight = _ref.$minHeight;
|
|
11430
12872
|
return $minHeight;
|
|
11431
12873
|
});
|
|
11432
|
-
var CellContainer$
|
|
12874
|
+
var CellContainer$2 = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose$1$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
11433
12875
|
return props.$align;
|
|
11434
12876
|
}, function (props) {
|
|
11435
12877
|
return props.$width || 'auto';
|
|
@@ -11440,45 +12882,45 @@ var CellContainer$1 = styled.div(_templateObject2$t || (_templateObject2$t = _ta
|
|
|
11440
12882
|
}, function (props) {
|
|
11441
12883
|
return props.$padding;
|
|
11442
12884
|
});
|
|
11443
|
-
var MainText$
|
|
12885
|
+
var MainText$2 = styled.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11444
12886
|
return props.$mtc;
|
|
11445
12887
|
}, function (props) {
|
|
11446
12888
|
return props.$mtfs;
|
|
11447
12889
|
}, function (props) {
|
|
11448
12890
|
return props.$mtw;
|
|
11449
12891
|
});
|
|
11450
|
-
var SubText$
|
|
12892
|
+
var SubText$2 = styled.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11451
12893
|
return props.$stc;
|
|
11452
12894
|
}, function (props) {
|
|
11453
12895
|
return props.$stfs;
|
|
11454
12896
|
}, function (props) {
|
|
11455
12897
|
return props.$stw;
|
|
11456
12898
|
});
|
|
11457
|
-
var _templateObject$
|
|
11458
|
-
var TableRowContainer$
|
|
11459
|
-
var _templateObject$
|
|
11460
|
-
var TableContainer$
|
|
11461
|
-
var TableHeader$
|
|
12899
|
+
var _templateObject$N;
|
|
12900
|
+
var TableRowContainer$2 = styled$1.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
12901
|
+
var _templateObject$O, _templateObject2$F, _templateObject3$t, _templateObject4$o, _templateObject5$i;
|
|
12902
|
+
var TableContainer$2 = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1.brand.light);
|
|
12903
|
+
var TableHeader$2 = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose$1$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
11462
12904
|
return props.$hbcolor || 'transparent';
|
|
11463
12905
|
}, function (props) {
|
|
11464
12906
|
return props.$tcolor || 'white';
|
|
11465
12907
|
});
|
|
11466
|
-
var TableContent$
|
|
11467
|
-
var TableData$
|
|
11468
|
-
var Divider$
|
|
11469
|
-
var _templateObject$
|
|
11470
|
-
var Container$
|
|
12908
|
+
var TableContent$2 = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
12909
|
+
var TableData$2 = styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
12910
|
+
var Divider$2 = styled.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1.border.extraLight);
|
|
12911
|
+
var _templateObject$P, _templateObject2$G, _templateObject3$u, _templateObject4$p, _templateObject5$j;
|
|
12912
|
+
var Container$8 = styled.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
11471
12913
|
var $gap = _ref.$gap;
|
|
11472
12914
|
return $gap;
|
|
11473
12915
|
}, function (_ref2) {
|
|
11474
12916
|
var $border = _ref2.$border;
|
|
11475
12917
|
return $border;
|
|
11476
12918
|
});
|
|
11477
|
-
var FirstContainer$
|
|
12919
|
+
var FirstContainer$2 = styled.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables$1$1.border.light, function (_ref3) {
|
|
11478
12920
|
var $headerPadding = _ref3.$headerPadding;
|
|
11479
12921
|
return $headerPadding ? $headerPadding : '0px';
|
|
11480
12922
|
});
|
|
11481
|
-
var TabContainer$
|
|
12923
|
+
var TabContainer$2 = styled.div(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose$1$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref4) {
|
|
11482
12924
|
var $disabled = _ref4.$disabled;
|
|
11483
12925
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11484
12926
|
}, function (_ref5) {
|
|
@@ -11491,105 +12933,38 @@ var TabContainer$1 = styled.div(_templateObject3$m || (_templateObject3$m = _tag
|
|
|
11491
12933
|
var $disabled = _ref7.$disabled;
|
|
11492
12934
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11493
12935
|
});
|
|
11494
|
-
var TabItemContainer$
|
|
12936
|
+
var TabItemContainer$2 = styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref8) {
|
|
11495
12937
|
var $headerHeight = _ref8.$headerHeight;
|
|
11496
12938
|
return $headerHeight ? $headerHeight : '34px';
|
|
11497
12939
|
}, function (props) {
|
|
11498
12940
|
return props.$active ? 'block' : 'none';
|
|
11499
12941
|
}, colorVariables$1$1["default"].primary);
|
|
11500
|
-
var DetailsFirstContainer$
|
|
12942
|
+
var DetailsFirstContainer$2 = styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose$1$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
11501
12943
|
return props.$active ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.medium;
|
|
11502
12944
|
});
|
|
11503
|
-
var
|
|
11504
|
-
|
|
11505
|
-
primary: 'var(--brand-primary)',
|
|
11506
|
-
secondary: 'var(--brand-secondary)',
|
|
11507
|
-
light: 'var(--brand-light)'
|
|
11508
|
-
},
|
|
11509
|
-
accent: {
|
|
11510
|
-
light: 'var(--accent-light)',
|
|
11511
|
-
extraLight: 'var(--accent-extraLight)',
|
|
11512
|
-
softBlue: 'var(--accent-softBlue)',
|
|
11513
|
-
extraSoftBlue: 'var(--accent-extraSoftBlue)',
|
|
11514
|
-
boldTransparent: 'var(--accent-boldTransparent)',
|
|
11515
|
-
transparent: 'var(--accent-transparent)',
|
|
11516
|
-
lightTransparent: 'var(--accent-lightTransparent)'
|
|
11517
|
-
},
|
|
11518
|
-
"default": {
|
|
11519
|
-
primary: 'var(--default-primary)',
|
|
11520
|
-
secondary: 'var(--default-secondary)',
|
|
11521
|
-
tertiary: 'var(--default-tertiary)',
|
|
11522
|
-
error: 'var(--default-error)',
|
|
11523
|
-
success: 'var(--default-success)',
|
|
11524
|
-
warning: 'var(--default-warning)',
|
|
11525
|
-
info: 'var(--default-info)'
|
|
11526
|
-
},
|
|
11527
|
-
disabled: {
|
|
11528
|
-
primary: 'var(--disabled-primary)',
|
|
11529
|
-
secondary: 'var(--disabled-secondary)',
|
|
11530
|
-
error: 'var(--disabled-error)',
|
|
11531
|
-
success: 'var(--disabled-success)',
|
|
11532
|
-
warning: 'var(--disabled-warning)',
|
|
11533
|
-
info: 'var(--disabled-info)'
|
|
11534
|
-
},
|
|
11535
|
-
hover: {
|
|
11536
|
-
primary: 'var(--hover-primary)',
|
|
11537
|
-
secondary: 'var(--hover-secondary)',
|
|
11538
|
-
tertiary: 'var(--hover-tertiary)',
|
|
11539
|
-
error: 'var(--hover-error)',
|
|
11540
|
-
success: 'var(--hover-success)',
|
|
11541
|
-
warning: 'var(--hover-warning)',
|
|
11542
|
-
info: 'var(--hover-info)'
|
|
11543
|
-
},
|
|
11544
|
-
border: {
|
|
11545
|
-
extraBold: 'var(--border-extraBold)',
|
|
11546
|
-
bold: 'var(--border-bold)',
|
|
11547
|
-
medium: 'var(--border-medium)',
|
|
11548
|
-
light: 'var(--border-light)',
|
|
11549
|
-
extraLight: 'var(--border-extraLight)'
|
|
11550
|
-
},
|
|
11551
|
-
text: {
|
|
11552
|
-
dark: 'var(--text-dark)',
|
|
11553
|
-
medium: 'var(--text-medium)',
|
|
11554
|
-
light: 'var(--text-light)',
|
|
11555
|
-
white: 'var(--text-white)',
|
|
11556
|
-
success: 'var(--text-success)',
|
|
11557
|
-
error: 'var(--text-error)',
|
|
11558
|
-
info: 'var(--text-info)',
|
|
11559
|
-
warning: 'var(--text-warning)'
|
|
11560
|
-
},
|
|
11561
|
-
badge: {
|
|
11562
|
-
lavender: 'var(--badge-lavender)',
|
|
11563
|
-
papayaWhip: 'var(--badge-papayaWhip)',
|
|
11564
|
-
water: 'var(--badge-water)',
|
|
11565
|
-
paleBlue: 'var(--badge-paleBlue)',
|
|
11566
|
-
teaGreen: 'var(--badge-teaGreen)',
|
|
11567
|
-
lightBlue: 'var(--badge-lightBlue)'
|
|
11568
|
-
}
|
|
11569
|
-
};
|
|
11570
|
-
var _templateObject$D, _templateObject2$w;
|
|
11571
|
-
var SearchContainer$6 = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
|
|
12945
|
+
var _templateObject$Q, _templateObject2$H;
|
|
12946
|
+
var SearchContainer$8 = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
|
|
11572
12947
|
var $background = _ref.$background;
|
|
11573
|
-
return $background || colorVariables$
|
|
12948
|
+
return $background || colorVariables$1$1["default"].tertiary;
|
|
11574
12949
|
}, function (_ref2) {
|
|
11575
12950
|
var $border = _ref2.$border;
|
|
11576
|
-
return $border || "1px solid " + colorVariables$
|
|
12951
|
+
return $border || "1px solid " + colorVariables$1$1.border.light;
|
|
11577
12952
|
}, function (_ref3) {
|
|
11578
12953
|
var $borderRadius = _ref3.$borderRadius;
|
|
11579
12954
|
return $borderRadius || '8px';
|
|
11580
12955
|
}, function (_ref4) {
|
|
11581
12956
|
var $disabled = _ref4.$disabled;
|
|
11582
12957
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11583
|
-
}, colorVariables$
|
|
11584
|
-
var SearchBar$
|
|
12958
|
+
}, colorVariables$1$1.text.dark);
|
|
12959
|
+
var SearchBar$8 = styled.input(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose$1(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$1$1["default"].tertiary, function (_ref5) {
|
|
11585
12960
|
var $inputColor = _ref5.$inputColor;
|
|
11586
|
-
return $inputColor || colorVariables$
|
|
12961
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
11587
12962
|
}, function (_ref6) {
|
|
11588
12963
|
var $placeholderColor = _ref6.$placeholderColor;
|
|
11589
|
-
return $placeholderColor || colorVariables$
|
|
12964
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
11590
12965
|
});
|
|
11591
|
-
var _templateObject$
|
|
11592
|
-
var Label$
|
|
12966
|
+
var _templateObject$R, _templateObject2$I, _templateObject3$v, _templateObject4$q, _templateObject5$k;
|
|
12967
|
+
var Label$6 = styled.label(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11593
12968
|
var $fontWeight = _ref.$fontWeight;
|
|
11594
12969
|
return $fontWeight != null ? $fontWeight : '500';
|
|
11595
12970
|
}, function (_ref2) {
|
|
@@ -11627,7 +13002,7 @@ var Label$4 = styled.label(_templateObject$E || (_templateObject$E = _taggedTemp
|
|
|
11627
13002
|
return $titlecolor;
|
|
11628
13003
|
}
|
|
11629
13004
|
});
|
|
11630
|
-
var Input$
|
|
13005
|
+
var Input$3 = styled.input(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1.border.light, function (_ref4) {
|
|
11631
13006
|
var $disabled = _ref4.$disabled;
|
|
11632
13007
|
return $disabled ? 'not-allowed' : 'auto';
|
|
11633
13008
|
}, function (_ref5) {
|
|
@@ -11676,18 +13051,18 @@ var Input$2 = styled.input(_templateObject2$x || (_templateObject2$x = _taggedTe
|
|
|
11676
13051
|
return $color;
|
|
11677
13052
|
}
|
|
11678
13053
|
}, colorVariables$1.text.light);
|
|
11679
|
-
var InputWrapper$
|
|
11680
|
-
var IconWrapper$
|
|
13054
|
+
var InputWrapper$4 = styled.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
13055
|
+
var IconWrapper$7 = styled.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
11681
13056
|
var $disabled = _ref10.$disabled;
|
|
11682
13057
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11683
13058
|
});
|
|
11684
|
-
var Asterisk$
|
|
11685
|
-
var _templateObject$
|
|
11686
|
-
var Container$
|
|
13059
|
+
var Asterisk$4 = styled.span(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables$1["default"].error);
|
|
13060
|
+
var _templateObject$S, _templateObject2$J, _templateObject3$w;
|
|
13061
|
+
var Container$9 = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
11687
13062
|
var $padding = _ref.$padding;
|
|
11688
13063
|
return $padding;
|
|
11689
13064
|
});
|
|
11690
|
-
var Label$
|
|
13065
|
+
var Label$7 = styled.label(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
11691
13066
|
var $fontWeight = _ref2.$fontWeight;
|
|
11692
13067
|
return $fontWeight != null ? $fontWeight : '500';
|
|
11693
13068
|
}, function (_ref3) {
|
|
@@ -11706,7 +13081,7 @@ var Label$5 = styled.label(_templateObject2$y || (_templateObject2$y = _taggedTe
|
|
|
11706
13081
|
var $titlecolor = _ref4.$titlecolor;
|
|
11707
13082
|
return $titlecolor || colorVariables$1.text.dark;
|
|
11708
13083
|
});
|
|
11709
|
-
var TextAreaComponent$
|
|
13084
|
+
var TextAreaComponent$3 = styled.textarea(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables$1.border.light, function (_ref5) {
|
|
11710
13085
|
var $disabled = _ref5.$disabled;
|
|
11711
13086
|
return $disabled ? 'not-allowed' : 'auto';
|
|
11712
13087
|
}, function (_ref6) {
|
|
@@ -11732,18 +13107,18 @@ var TextAreaComponent$2 = styled.textarea(_templateObject3$o || (_templateObject
|
|
|
11732
13107
|
var $color = _ref9.$color;
|
|
11733
13108
|
return $color || colorVariables$1.text.dark;
|
|
11734
13109
|
}, colorVariables$1.text.light);
|
|
11735
|
-
var _templateObject$
|
|
11736
|
-
var OptionContainer$
|
|
11737
|
-
var OptionItem$
|
|
13110
|
+
var _templateObject$T, _templateObject2$K, _templateObject3$x, _templateObject4$r, _templateObject5$l, _templateObject6$b, _templateObject7$6;
|
|
13111
|
+
var OptionContainer$4 = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1.text.white);
|
|
13112
|
+
var OptionItem$4 = styled.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
11738
13113
|
var $optionSelected = _ref.$optionSelected;
|
|
11739
13114
|
return $optionSelected ? colorVariables$1.text.white : colorVariables$1.text.medium;
|
|
11740
13115
|
}, function (_ref2) {
|
|
11741
13116
|
var $optionSelected = _ref2.$optionSelected;
|
|
11742
13117
|
return $optionSelected ? colorVariables$1["default"].primary : colorVariables$1.text.white;
|
|
11743
13118
|
}, colorVariables$1.hover.primary, colorVariables$1.text.white);
|
|
11744
|
-
var TotalOptionsHeader$
|
|
11745
|
-
var OptionLabel$
|
|
11746
|
-
var SearchContainer$
|
|
13119
|
+
var TotalOptionsHeader$3 = styled.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables$1.text.white, colorVariables$1.text.light, colorVariables$1.text.light);
|
|
13120
|
+
var OptionLabel$4 = styled.label(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose$1(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
13121
|
+
var SearchContainer$9 = styled.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
11747
13122
|
var $background = _ref3.$background;
|
|
11748
13123
|
switch ($background) {
|
|
11749
13124
|
case 'dark':
|
|
@@ -11772,7 +13147,7 @@ var SearchContainer$7 = styled.div(_templateObject5$g || (_templateObject5$g = _
|
|
|
11772
13147
|
var $borderRadius = _ref5.$borderRadius;
|
|
11773
13148
|
return $borderRadius || '8px';
|
|
11774
13149
|
});
|
|
11775
|
-
var SearchBar$
|
|
13150
|
+
var SearchBar$9 = styled.input(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1["default"].tertiary, function (_ref6) {
|
|
11776
13151
|
var $inputColor = _ref6.$inputColor;
|
|
11777
13152
|
switch ($inputColor) {
|
|
11778
13153
|
case 'dark':
|
|
@@ -11817,9 +13192,9 @@ var SearchBar$7 = styled.input(_templateObject6$9 || (_templateObject6$9 = _tagg
|
|
|
11817
13192
|
return $placeholderColor;
|
|
11818
13193
|
}
|
|
11819
13194
|
});
|
|
11820
|
-
var OptionsWrapper$
|
|
11821
|
-
var _templateObject$
|
|
11822
|
-
var StyledInput$
|
|
13195
|
+
var OptionsWrapper$4 = styled.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1.text.white);
|
|
13196
|
+
var _templateObject$U, _templateObject2$L;
|
|
13197
|
+
var StyledInput$4 = styled.input(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: solid ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
11823
13198
|
var $checkboxSize = _ref.$checkboxSize;
|
|
11824
13199
|
return $checkboxSize + "px";
|
|
11825
13200
|
}, function (_ref2) {
|
|
@@ -11848,32 +13223,32 @@ var StyledInput$3 = styled.input(_templateObject$H || (_templateObject$H = _tagg
|
|
|
11848
13223
|
var $checkboxSize = _ref9.$checkboxSize;
|
|
11849
13224
|
return $checkboxSize / 2.4 + "px";
|
|
11850
13225
|
}, colorVariables$1.text.white);
|
|
11851
|
-
var LabelSpan$
|
|
11852
|
-
var _templateObject$
|
|
11853
|
-
var spin$
|
|
11854
|
-
var getDotPosition$
|
|
13226
|
+
var LabelSpan$3 = styled(Span$1)(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
13227
|
+
var _templateObject$V, _templateObject2$M, _templateObject3$y, _templateObject4$s;
|
|
13228
|
+
var spin$7 = keyframes(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
13229
|
+
var getDotPosition$3 = function getDotPosition(index, size) {
|
|
11855
13230
|
var angle = index * 360 / 8;
|
|
11856
13231
|
var radius = size / 2.5;
|
|
11857
13232
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
11858
13233
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
11859
13234
|
return "translate(" + x + "px, " + y + "px)";
|
|
11860
13235
|
};
|
|
11861
|
-
var SpinnerContainer$
|
|
13236
|
+
var SpinnerContainer$3 = styled.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose$1(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
11862
13237
|
var $size = _ref.$size;
|
|
11863
13238
|
return $size;
|
|
11864
13239
|
}, function (_ref2) {
|
|
11865
13240
|
var $size = _ref2.$size;
|
|
11866
13241
|
return $size;
|
|
11867
13242
|
});
|
|
11868
|
-
var Dot$
|
|
13243
|
+
var Dot$3 = styled.div.attrs(function (_ref3) {
|
|
11869
13244
|
var $index = _ref3.$index,
|
|
11870
13245
|
$size = _ref3.$size;
|
|
11871
13246
|
return {
|
|
11872
13247
|
style: {
|
|
11873
|
-
transform: getDotPosition$
|
|
13248
|
+
transform: getDotPosition$3($index, $size)
|
|
11874
13249
|
}
|
|
11875
13250
|
};
|
|
11876
|
-
})(_templateObject3$
|
|
13251
|
+
})(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
11877
13252
|
var $dotSize = _ref4.$dotSize;
|
|
11878
13253
|
return $dotSize;
|
|
11879
13254
|
}, function (_ref5) {
|
|
@@ -11882,7 +13257,7 @@ var Dot$2 = styled.div.attrs(function (_ref3) {
|
|
|
11882
13257
|
}, function (_ref6) {
|
|
11883
13258
|
var $color = _ref6.$color;
|
|
11884
13259
|
return $color;
|
|
11885
|
-
}, spin$
|
|
13260
|
+
}, spin$7, function (_ref7) {
|
|
11886
13261
|
var $speed = _ref7.$speed;
|
|
11887
13262
|
return $speed;
|
|
11888
13263
|
}, function (_ref8) {
|
|
@@ -11890,10 +13265,10 @@ var Dot$2 = styled.div.attrs(function (_ref3) {
|
|
|
11890
13265
|
$speed = _ref8.$speed;
|
|
11891
13266
|
return $index * $speed / 8;
|
|
11892
13267
|
});
|
|
11893
|
-
var SpinnerWrapper$
|
|
11894
|
-
var _templateObject$
|
|
11895
|
-
var spin$
|
|
11896
|
-
var Spinner$
|
|
13268
|
+
var SpinnerWrapper$3 = styled.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
13269
|
+
var _templateObject$W, _templateObject2$N;
|
|
13270
|
+
var spin$8 = keyframes(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
13271
|
+
var Spinner$4 = styled.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose$1(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
11897
13272
|
var $size = _ref.$size;
|
|
11898
13273
|
return $size;
|
|
11899
13274
|
}, function (_ref2) {
|
|
@@ -11902,25 +13277,25 @@ var Spinner$3 = styled.div(_templateObject2$C || (_templateObject2$C = _taggedTe
|
|
|
11902
13277
|
}, function (_ref3) {
|
|
11903
13278
|
var $color = _ref3.$color;
|
|
11904
13279
|
return $color;
|
|
11905
|
-
}, spin$
|
|
11906
|
-
var _templateObject$
|
|
11907
|
-
var PageInput$
|
|
11908
|
-
var _templateObject$
|
|
11909
|
-
var SidebarContainer$
|
|
13280
|
+
}, spin$8);
|
|
13281
|
+
var _templateObject$X;
|
|
13282
|
+
var PageInput$3 = styled.input(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose$1(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables$1.accent.extraLight, colorVariables$1.border.light, colorVariables$1.text.dark);
|
|
13283
|
+
var _templateObject$Y, _templateObject2$O, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$c;
|
|
13284
|
+
var SidebarContainer$3 = styled.div(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose$1(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
11910
13285
|
var $isExpanded = _ref.$isExpanded;
|
|
11911
13286
|
return $isExpanded ? '225px' : '68px';
|
|
11912
13287
|
}, function (_ref2) {
|
|
11913
13288
|
var $background = _ref2.$background;
|
|
11914
13289
|
return $background ? $background : colorVariables$1.accent.softBlue;
|
|
11915
13290
|
});
|
|
11916
|
-
var SidebarItem$
|
|
11917
|
-
var ContentWrapper$
|
|
11918
|
-
var IconWrapper$
|
|
13291
|
+
var SidebarItem$3 = styled(NavLink)(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables$1.text.medium, colorVariables$1["default"].primary);
|
|
13292
|
+
var ContentWrapper$3 = styled.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
13293
|
+
var IconWrapper$8 = styled.div(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose$1(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
11919
13294
|
var $selected = _ref3.$selected;
|
|
11920
13295
|
return $selected ? colorVariables$1["default"].primary : colorVariables$1["default"].tertiary;
|
|
11921
13296
|
});
|
|
11922
|
-
var Logo$
|
|
11923
|
-
var TextContainer$
|
|
13297
|
+
var Logo$3 = styled.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose$1(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
13298
|
+
var TextContainer$3 = styled.span(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
11924
13299
|
var $padding = _ref4.$padding;
|
|
11925
13300
|
return $padding;
|
|
11926
13301
|
}, function (_ref5) {
|
|
@@ -11939,14 +13314,14 @@ var TextContainer$2 = styled.span(_templateObject6$a || (_templateObject6$a = _t
|
|
|
11939
13314
|
var $isExpanded = _ref9.$isExpanded;
|
|
11940
13315
|
return $isExpanded ? 'visible' : 'hidden';
|
|
11941
13316
|
});
|
|
11942
|
-
var _templateObject$
|
|
11943
|
-
var ContainerWrapper$
|
|
13317
|
+
var _templateObject$Z, _templateObject2$P, _templateObject3$A, _templateObject4$u;
|
|
13318
|
+
var ContainerWrapper$3 = styled.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose$1(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
11944
13319
|
return props.$width || 'auto';
|
|
11945
13320
|
}, function (_ref) {
|
|
11946
13321
|
var $minHeight = _ref.$minHeight;
|
|
11947
13322
|
return $minHeight;
|
|
11948
13323
|
});
|
|
11949
|
-
var CellContainer$
|
|
13324
|
+
var CellContainer$3 = styled.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose$1(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
11950
13325
|
return props.$align;
|
|
11951
13326
|
}, function (props) {
|
|
11952
13327
|
return props.$width || 'auto';
|
|
@@ -11957,45 +13332,45 @@ var CellContainer$2 = styled.div(_templateObject2$E || (_templateObject2$E = _ta
|
|
|
11957
13332
|
}, function (props) {
|
|
11958
13333
|
return props.$padding;
|
|
11959
13334
|
});
|
|
11960
|
-
var MainText$
|
|
13335
|
+
var MainText$3 = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11961
13336
|
return props.$mtc;
|
|
11962
13337
|
}, function (props) {
|
|
11963
13338
|
return props.$mtfs;
|
|
11964
13339
|
}, function (props) {
|
|
11965
13340
|
return props.$mtw;
|
|
11966
13341
|
});
|
|
11967
|
-
var SubText$
|
|
13342
|
+
var SubText$3 = styled.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11968
13343
|
return props.$stc;
|
|
11969
13344
|
}, function (props) {
|
|
11970
13345
|
return props.$stfs;
|
|
11971
13346
|
}, function (props) {
|
|
11972
13347
|
return props.$stw;
|
|
11973
13348
|
});
|
|
11974
|
-
var _templateObject$
|
|
11975
|
-
var TableRowContainer$
|
|
11976
|
-
var _templateObject
|
|
11977
|
-
var TableContainer$
|
|
11978
|
-
var TableHeader$
|
|
13349
|
+
var _templateObject$_;
|
|
13350
|
+
var TableRowContainer$3 = styled$1.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
13351
|
+
var _templateObject$$, _templateObject2$Q, _templateObject3$B, _templateObject4$v, _templateObject5$n;
|
|
13352
|
+
var TableContainer$3 = styled.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1.brand.light);
|
|
13353
|
+
var TableHeader$3 = styled.div(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose$1(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
11979
13354
|
return props.$hbcolor || 'transparent';
|
|
11980
13355
|
}, function (props) {
|
|
11981
13356
|
return props.$tcolor || 'white';
|
|
11982
13357
|
});
|
|
11983
|
-
var TableContent$
|
|
11984
|
-
var TableData$
|
|
11985
|
-
var Divider$
|
|
11986
|
-
var _templateObject$
|
|
11987
|
-
var Container$
|
|
13358
|
+
var TableContent$3 = styled.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
13359
|
+
var TableData$3 = styled.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
13360
|
+
var Divider$3 = styled.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1.border.extraLight);
|
|
13361
|
+
var _templateObject$10, _templateObject2$R, _templateObject3$C, _templateObject4$w, _templateObject5$o;
|
|
13362
|
+
var Container$a = styled.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
11988
13363
|
var $gap = _ref.$gap;
|
|
11989
13364
|
return $gap;
|
|
11990
13365
|
}, function (_ref2) {
|
|
11991
13366
|
var $border = _ref2.$border;
|
|
11992
13367
|
return $border;
|
|
11993
13368
|
});
|
|
11994
|
-
var FirstContainer$
|
|
13369
|
+
var FirstContainer$3 = styled.div(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables$1.border.light, function (_ref3) {
|
|
11995
13370
|
var $headerPadding = _ref3.$headerPadding;
|
|
11996
13371
|
return $headerPadding ? $headerPadding : '0px';
|
|
11997
13372
|
});
|
|
11998
|
-
var TabContainer$
|
|
13373
|
+
var TabContainer$3 = styled.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose$1(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref4) {
|
|
11999
13374
|
var $disabled = _ref4.$disabled;
|
|
12000
13375
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
12001
13376
|
}, function (_ref5) {
|
|
@@ -12008,18 +13383,18 @@ var TabContainer$2 = styled.div(_templateObject3$u || (_templateObject3$u = _tag
|
|
|
12008
13383
|
var $disabled = _ref7.$disabled;
|
|
12009
13384
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
12010
13385
|
});
|
|
12011
|
-
var TabItemContainer$
|
|
13386
|
+
var TabItemContainer$3 = styled.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose$1(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref8) {
|
|
12012
13387
|
var $headerHeight = _ref8.$headerHeight;
|
|
12013
13388
|
return $headerHeight ? $headerHeight : '34px';
|
|
12014
13389
|
}, function (props) {
|
|
12015
13390
|
return props.$active ? 'block' : 'none';
|
|
12016
13391
|
}, colorVariables$1["default"].primary);
|
|
12017
|
-
var DetailsFirstContainer$
|
|
13392
|
+
var DetailsFirstContainer$3 = styled.div(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose$1(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
12018
13393
|
return props.$active ? colorVariables$1["default"].primary : colorVariables$1.text.medium;
|
|
12019
13394
|
});
|
|
12020
13395
|
|
|
12021
|
-
var _templateObject$
|
|
12022
|
-
var SearchContainer$
|
|
13396
|
+
var _templateObject$11, _templateObject2$S;
|
|
13397
|
+
var SearchContainer$a = styled.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 5.5px 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: ", ";\n transition: all 0.3s ease;\n\n &:focus-within {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
|
|
12023
13398
|
var $background = _ref.$background;
|
|
12024
13399
|
return $background || colorVariables$1["default"].tertiary;
|
|
12025
13400
|
}, function (_ref2) {
|
|
@@ -12032,7 +13407,7 @@ var SearchContainer$8 = styled.div(_templateObject$Q || (_templateObject$Q = _ta
|
|
|
12032
13407
|
var $disabled = _ref4.$disabled;
|
|
12033
13408
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
12034
13409
|
}, colorVariables$1.text.dark);
|
|
12035
|
-
var SearchBar$
|
|
13410
|
+
var SearchBar$a = styled.input(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 14px;\n line-height: normal;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$1["default"].tertiary, function (_ref5) {
|
|
12036
13411
|
var $inputColor = _ref5.$inputColor;
|
|
12037
13412
|
return $inputColor || colorVariables$1.text.medium;
|
|
12038
13413
|
}, function (_ref6) {
|
|
@@ -12056,7 +13431,7 @@ var SearchBox = function SearchBox(_ref7) {
|
|
|
12056
13431
|
var _useState = useState(false),
|
|
12057
13432
|
isFocused = _useState[0],
|
|
12058
13433
|
setIsFocused = _useState[1];
|
|
12059
|
-
return React.createElement(SearchContainer$
|
|
13434
|
+
return React.createElement(SearchContainer$a, {
|
|
12060
13435
|
className: isFocused ? 'active' : '',
|
|
12061
13436
|
"$border": border,
|
|
12062
13437
|
"$background": background,
|
|
@@ -12066,7 +13441,7 @@ var SearchBox = function SearchBox(_ref7) {
|
|
|
12066
13441
|
size: iconSize,
|
|
12067
13442
|
color: iconColor,
|
|
12068
13443
|
weight: '0px'
|
|
12069
|
-
}), React.createElement(SearchBar$
|
|
13444
|
+
}), React.createElement(SearchBar$a, {
|
|
12070
13445
|
type: 'text',
|
|
12071
13446
|
placeholder: placeholder,
|
|
12072
13447
|
value: value,
|
|
@@ -12082,8 +13457,8 @@ var SearchBox = function SearchBox(_ref7) {
|
|
|
12082
13457
|
}));
|
|
12083
13458
|
};
|
|
12084
13459
|
|
|
12085
|
-
var _templateObject$
|
|
12086
|
-
var Label$
|
|
13460
|
+
var _templateObject$12, _templateObject2$T, _templateObject3$D, _templateObject4$x, _templateObject5$p;
|
|
13461
|
+
var Label$8 = styled.label(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n cursor: auto;\n width: 100%;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
12087
13462
|
var $fontWeight = _ref.$fontWeight;
|
|
12088
13463
|
return $fontWeight != null ? $fontWeight : '500';
|
|
12089
13464
|
}, function (_ref2) {
|
|
@@ -12121,7 +13496,7 @@ var Label$6 = styled.label(_templateObject$R || (_templateObject$R = _taggedTemp
|
|
|
12121
13496
|
return $titlecolor;
|
|
12122
13497
|
}
|
|
12123
13498
|
});
|
|
12124
|
-
var Input$
|
|
13499
|
+
var Input$4 = styled.input(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n pointer-events: ", ";\n\n ", "\n\n &:focus {\n border: 1px solid\n ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables.border.light, function (_ref4) {
|
|
12125
13500
|
var $disabled = _ref4.$disabled;
|
|
12126
13501
|
return $disabled ? 'not-allowed' : 'auto';
|
|
12127
13502
|
}, function (_ref5) {
|
|
@@ -12170,12 +13545,12 @@ var Input$3 = styled.input(_templateObject2$I || (_templateObject2$I = _taggedTe
|
|
|
12170
13545
|
return $color;
|
|
12171
13546
|
}
|
|
12172
13547
|
}, colorVariables.text.light);
|
|
12173
|
-
var InputWrapper$
|
|
12174
|
-
var IconWrapper$
|
|
13548
|
+
var InputWrapper$5 = styled.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
13549
|
+
var IconWrapper$9 = styled.div(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
12175
13550
|
var $disabled = _ref10.$disabled;
|
|
12176
13551
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
12177
13552
|
});
|
|
12178
|
-
var Asterisk$
|
|
13553
|
+
var Asterisk$5 = styled.span(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables["default"].error);
|
|
12179
13554
|
var TextField = function TextField(_ref11) {
|
|
12180
13555
|
var _ref11$type = _ref11.type,
|
|
12181
13556
|
type = _ref11$type === void 0 ? 'text' : _ref11$type,
|
|
@@ -12231,12 +13606,12 @@ var TextField = function TextField(_ref11) {
|
|
|
12231
13606
|
"$padding": padding
|
|
12232
13607
|
}, (title || titleRightNode) && React.createElement(Container, {
|
|
12233
13608
|
"$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap
|
|
12234
|
-
}, title && React.createElement(Label$
|
|
13609
|
+
}, title && React.createElement(Label$8, {
|
|
12235
13610
|
"$size": size,
|
|
12236
13611
|
"$fontWeight": titleWeight,
|
|
12237
13612
|
htmlFor: title,
|
|
12238
13613
|
"$titlecolor": titlecolor
|
|
12239
|
-
}, title, required && React.createElement(Asterisk$
|
|
13614
|
+
}, title, required && React.createElement(Asterisk$5, null, "*")), titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.node), React.createElement(InputWrapper$5, null, React.createElement(Input$4, {
|
|
12240
13615
|
type: inputType || 'text',
|
|
12241
13616
|
"$type": type,
|
|
12242
13617
|
name: title,
|
|
@@ -12254,7 +13629,7 @@ var TextField = function TextField(_ref11) {
|
|
|
12254
13629
|
if (onEnter) onEnter();
|
|
12255
13630
|
}
|
|
12256
13631
|
}
|
|
12257
|
-
}), type === 'password' && inputValue && React.createElement(IconWrapper$
|
|
13632
|
+
}), type === 'password' && inputValue && React.createElement(IconWrapper$9, {
|
|
12258
13633
|
"$disabled": disabled,
|
|
12259
13634
|
onClick: function onClick() {
|
|
12260
13635
|
if (!disabled) handleShowPassword();
|
|
@@ -12264,7 +13639,7 @@ var TextField = function TextField(_ref11) {
|
|
|
12264
13639
|
size: iconsize,
|
|
12265
13640
|
weight: iconweight,
|
|
12266
13641
|
color: iconcolor || colorVariables["default"].primary
|
|
12267
|
-
})), icon && type !== 'password' && React.createElement(IconWrapper$
|
|
13642
|
+
})), icon && type !== 'password' && React.createElement(IconWrapper$9, {
|
|
12268
13643
|
onClick: handleToggleDisabled
|
|
12269
13644
|
}, React.createElement(Icon, {
|
|
12270
13645
|
icon: icon,
|
|
@@ -12274,12 +13649,12 @@ var TextField = function TextField(_ref11) {
|
|
|
12274
13649
|
}))));
|
|
12275
13650
|
};
|
|
12276
13651
|
|
|
12277
|
-
var _templateObject$
|
|
12278
|
-
var Container$
|
|
13652
|
+
var _templateObject$13, _templateObject2$U, _templateObject3$E;
|
|
13653
|
+
var Container$b = styled.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
12279
13654
|
var $padding = _ref.$padding;
|
|
12280
13655
|
return $padding;
|
|
12281
13656
|
});
|
|
12282
|
-
var Label$
|
|
13657
|
+
var Label$9 = styled.label(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
12283
13658
|
var $fontWeight = _ref2.$fontWeight;
|
|
12284
13659
|
return $fontWeight != null ? $fontWeight : '500';
|
|
12285
13660
|
}, function (_ref3) {
|
|
@@ -12298,7 +13673,7 @@ var Label$7 = styled.label(_templateObject2$J || (_templateObject2$J = _taggedTe
|
|
|
12298
13673
|
var $titlecolor = _ref4.$titlecolor;
|
|
12299
13674
|
return $titlecolor || colorVariables.text.dark;
|
|
12300
13675
|
});
|
|
12301
|
-
var TextAreaComponent$
|
|
13676
|
+
var TextAreaComponent$4 = styled.textarea(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-family: NotoSans, sans-serif;\n }\n"])), colorVariables.border.light, function (_ref5) {
|
|
12302
13677
|
var $disabled = _ref5.$disabled;
|
|
12303
13678
|
return $disabled ? 'not-allowed' : 'auto';
|
|
12304
13679
|
}, function (_ref6) {
|
|
@@ -12350,14 +13725,14 @@ var TextArea = function TextArea(_ref10) {
|
|
|
12350
13725
|
useEffect(function () {
|
|
12351
13726
|
setIsDisabled(disabled);
|
|
12352
13727
|
}, [disabled]);
|
|
12353
|
-
return React.createElement(Container$
|
|
13728
|
+
return React.createElement(Container$b, {
|
|
12354
13729
|
"$padding": padding
|
|
12355
|
-
}, title && React.createElement(Label$
|
|
13730
|
+
}, title && React.createElement(Label$9, {
|
|
12356
13731
|
"$size": size,
|
|
12357
13732
|
"$fontWeight": titleWeight,
|
|
12358
13733
|
htmlFor: title,
|
|
12359
13734
|
"$titlecolor": titlecolor
|
|
12360
|
-
}, title, required && React.createElement(Asterisk$
|
|
13735
|
+
}, title, required && React.createElement(Asterisk$5, null, "*")), React.createElement(TextAreaComponent$4, {
|
|
12361
13736
|
name: title,
|
|
12362
13737
|
id: title,
|
|
12363
13738
|
value: inputValue,
|
|
@@ -12370,18 +13745,18 @@ var TextArea = function TextArea(_ref10) {
|
|
|
12370
13745
|
}));
|
|
12371
13746
|
};
|
|
12372
13747
|
|
|
12373
|
-
var _templateObject$
|
|
12374
|
-
var OptionContainer$
|
|
12375
|
-
var OptionItem$
|
|
13748
|
+
var _templateObject$14, _templateObject2$V, _templateObject3$F, _templateObject4$y, _templateObject5$q, _templateObject6$d, _templateObject7$7;
|
|
13749
|
+
var OptionContainer$5 = styled.div(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables.text.white);
|
|
13750
|
+
var OptionItem$5 = styled.div(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
12376
13751
|
var $optionSelected = _ref.$optionSelected;
|
|
12377
13752
|
return $optionSelected ? colorVariables.text.white : colorVariables.text.medium;
|
|
12378
13753
|
}, function (_ref2) {
|
|
12379
13754
|
var $optionSelected = _ref2.$optionSelected;
|
|
12380
13755
|
return $optionSelected ? colorVariables["default"].primary : colorVariables.text.white;
|
|
12381
13756
|
}, colorVariables.hover.primary, colorVariables.text.white);
|
|
12382
|
-
var TotalOptionsHeader$
|
|
12383
|
-
var OptionLabel$
|
|
12384
|
-
var SearchContainer$
|
|
13757
|
+
var TotalOptionsHeader$4 = styled.div(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n z-index: 2;\n background: ", ";\n color: ", ";\n height: max-content;\n padding: 8px 4px;\n gap: 4px;\n border-bottom: 1px solid ", ";\n font-size:12px;\n"])), colorVariables.text.white, colorVariables.text.light, colorVariables.text.light);
|
|
13758
|
+
var OptionLabel$5 = styled.label(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n height: max-content;\n gap: 8px;\n padding: 8px 12px;\n word-break: break-word;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-family: NotoSans;\n font-weight: 500;\n font-size: 14px;\n line-height: 14px;\n"])));
|
|
13759
|
+
var SearchContainer$b = styled.div(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: auto;\n background: ", ";\n border: ", ";\n border-radius: ", ";\n padding: 6.5px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n"])), function (_ref3) {
|
|
12385
13760
|
var $background = _ref3.$background;
|
|
12386
13761
|
switch ($background) {
|
|
12387
13762
|
case 'dark':
|
|
@@ -12410,7 +13785,7 @@ var SearchContainer$9 = styled.div(_templateObject5$l || (_templateObject5$l = _
|
|
|
12410
13785
|
var $borderRadius = _ref5.$borderRadius;
|
|
12411
13786
|
return $borderRadius || '8px';
|
|
12412
13787
|
});
|
|
12413
|
-
var SearchBar$
|
|
13788
|
+
var SearchBar$b = styled.input(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteralLoose(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables["default"].tertiary, function (_ref6) {
|
|
12414
13789
|
var $inputColor = _ref6.$inputColor;
|
|
12415
13790
|
switch ($inputColor) {
|
|
12416
13791
|
case 'dark':
|
|
@@ -12455,7 +13830,7 @@ var SearchBar$9 = styled.input(_templateObject6$b || (_templateObject6$b = _tagg
|
|
|
12455
13830
|
return $placeholderColor;
|
|
12456
13831
|
}
|
|
12457
13832
|
});
|
|
12458
|
-
var OptionsWrapper$
|
|
13833
|
+
var OptionsWrapper$5 = styled.div(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteralLoose(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables.text.white);
|
|
12459
13834
|
var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
12460
13835
|
var options = _ref8.options,
|
|
12461
13836
|
selectedOption = _ref8.selectedOption,
|
|
@@ -12504,7 +13879,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
12504
13879
|
"$gap": '8px',
|
|
12505
13880
|
"$width": '100%',
|
|
12506
13881
|
"$position": 'relative'
|
|
12507
|
-
}, searchBox && React.createElement(SearchContainer$
|
|
13882
|
+
}, searchBox && React.createElement(SearchContainer$b, {
|
|
12508
13883
|
"$borderBottom": searchBoxBorder,
|
|
12509
13884
|
"$background": isSearchBarEnabled ? colorVariables.text.white : colorVariables.accent.light,
|
|
12510
13885
|
"$borderRadius": searchBoxBorderRadius,
|
|
@@ -12520,7 +13895,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
12520
13895
|
onClick: function onClick() {
|
|
12521
13896
|
return setIsSearchBarEnabled(true);
|
|
12522
13897
|
}
|
|
12523
|
-
}, React.createElement(SearchBar$
|
|
13898
|
+
}, React.createElement(SearchBar$b, {
|
|
12524
13899
|
type: 'text',
|
|
12525
13900
|
placeholder: placeholder,
|
|
12526
13901
|
value: internalSearchQuery,
|
|
@@ -12537,18 +13912,18 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
12537
13912
|
setInternalSearchQuery('');
|
|
12538
13913
|
setSearchQuery('');
|
|
12539
13914
|
}
|
|
12540
|
-
}), isSearchBarEnabled && React.createElement(OptionContainer$
|
|
13915
|
+
}), isSearchBarEnabled && React.createElement(OptionContainer$5, null, options.length > 0 ? React.createElement(Container, {
|
|
12541
13916
|
"$flexDirection": 'column',
|
|
12542
13917
|
"$overflow": 'auto'
|
|
12543
|
-
}, React.createElement(TotalOptionsHeader$
|
|
13918
|
+
}, React.createElement(TotalOptionsHeader$4, null, React.createElement(Span, {
|
|
12544
13919
|
"$fontSize": '12px',
|
|
12545
13920
|
"$fontWeight": '400',
|
|
12546
13921
|
"$color": colorVariables.text.light
|
|
12547
|
-
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React.createElement(OptionsWrapper$
|
|
12548
|
-
return React.createElement(OptionItem$
|
|
13922
|
+
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React.createElement(OptionsWrapper$5, null, filteredArray.length > 0 ? filteredArray.map(function (option) {
|
|
13923
|
+
return React.createElement(OptionItem$5, {
|
|
12549
13924
|
key: option.value,
|
|
12550
13925
|
"$optionSelected": option.value === selectedOption
|
|
12551
|
-
}, React.createElement(OptionLabel$
|
|
13926
|
+
}, React.createElement(OptionLabel$5, {
|
|
12552
13927
|
htmlFor: option.value,
|
|
12553
13928
|
onClick: function onClick() {
|
|
12554
13929
|
setInternalSearchQuery(option.labelText);
|
|
@@ -12570,8 +13945,8 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
12570
13945
|
}, NoOptionsText)))));
|
|
12571
13946
|
};
|
|
12572
13947
|
|
|
12573
|
-
var _templateObject$
|
|
12574
|
-
var StyledInput$
|
|
13948
|
+
var _templateObject$15, _templateObject2$W;
|
|
13949
|
+
var StyledInput$5 = styled.input(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n appearance: none;\n border: ", ";\n border-radius: 4px;\n background-color: ", ";\n cursor: pointer;\n display: inline-block;\n position: relative;\n transition: all 0.2s ease;\n font-size: ", "; // for em units\n\n &:checked::after {\n content: '';\n position: absolute;\n top: ", ";\n right: ", ";\n width: ", ";\n height: ", ";\n border: solid ", ";\n border-width: 0 0.2em 0.2em 0;\n transform: rotate(45deg);\n }\n\n &:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n"])), function (_ref) {
|
|
12575
13950
|
var $checkboxSize = _ref.$checkboxSize;
|
|
12576
13951
|
return $checkboxSize + "px";
|
|
12577
13952
|
}, function (_ref2) {
|
|
@@ -12600,7 +13975,7 @@ var StyledInput$4 = styled.input(_templateObject$U || (_templateObject$U = _tagg
|
|
|
12600
13975
|
var $checkboxSize = _ref9.$checkboxSize;
|
|
12601
13976
|
return $checkboxSize / 2.4 + "px";
|
|
12602
13977
|
}, colorVariables.text.white);
|
|
12603
|
-
var LabelSpan$
|
|
13978
|
+
var LabelSpan$4 = styled(Span)(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteralLoose(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
12604
13979
|
var CheckBox = function CheckBox(_ref10) {
|
|
12605
13980
|
var label = _ref10.label,
|
|
12606
13981
|
_ref10$labelSide = _ref10.labelSide,
|
|
@@ -12634,7 +14009,7 @@ var CheckBox = function CheckBox(_ref10) {
|
|
|
12634
14009
|
height: checkboxSize,
|
|
12635
14010
|
display: 'flex'
|
|
12636
14011
|
}
|
|
12637
|
-
}, React.createElement(StyledInput$
|
|
14012
|
+
}, React.createElement(StyledInput$5, {
|
|
12638
14013
|
type: 'checkbox',
|
|
12639
14014
|
id: safeId,
|
|
12640
14015
|
"$checkboxSize": checkboxSize,
|
|
@@ -12645,7 +14020,7 @@ var CheckBox = function CheckBox(_ref10) {
|
|
|
12645
14020
|
},
|
|
12646
14021
|
disabled: disabled,
|
|
12647
14022
|
"$borderSize": borderSize
|
|
12648
|
-
})), label && React.createElement(LabelSpan$
|
|
14023
|
+
})), label && React.createElement(LabelSpan$4, {
|
|
12649
14024
|
"$fontSize": fontSize,
|
|
12650
14025
|
"$color": color,
|
|
12651
14026
|
"$fontWeight": fontWeight,
|
|
@@ -12655,31 +14030,31 @@ var CheckBox = function CheckBox(_ref10) {
|
|
|
12655
14030
|
}, label));
|
|
12656
14031
|
};
|
|
12657
14032
|
|
|
12658
|
-
var _templateObject$
|
|
12659
|
-
var spin$
|
|
12660
|
-
var getDotPosition$
|
|
14033
|
+
var _templateObject$16, _templateObject2$X, _templateObject3$G, _templateObject4$z;
|
|
14034
|
+
var spin$9 = keyframes(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteralLoose(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
14035
|
+
var getDotPosition$4 = function getDotPosition(index, size) {
|
|
12661
14036
|
var angle = index * 360 / 8;
|
|
12662
14037
|
var radius = size / 2.5;
|
|
12663
14038
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
12664
14039
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
12665
14040
|
return "translate(" + x + "px, " + y + "px)";
|
|
12666
14041
|
};
|
|
12667
|
-
var SpinnerContainer$
|
|
14042
|
+
var SpinnerContainer$4 = styled.div(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteralLoose(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
12668
14043
|
var $size = _ref.$size;
|
|
12669
14044
|
return $size;
|
|
12670
14045
|
}, function (_ref2) {
|
|
12671
14046
|
var $size = _ref2.$size;
|
|
12672
14047
|
return $size;
|
|
12673
14048
|
});
|
|
12674
|
-
var Dot$
|
|
14049
|
+
var Dot$4 = styled.div.attrs(function (_ref3) {
|
|
12675
14050
|
var $index = _ref3.$index,
|
|
12676
14051
|
$size = _ref3.$size;
|
|
12677
14052
|
return {
|
|
12678
14053
|
style: {
|
|
12679
|
-
transform: getDotPosition$
|
|
14054
|
+
transform: getDotPosition$4($index, $size)
|
|
12680
14055
|
}
|
|
12681
14056
|
};
|
|
12682
|
-
})(_templateObject3$
|
|
14057
|
+
})(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: ", "px;\n height: ", "px;\n background-color: ", ";\n border-radius: 50%;\n animation: ", " ", "s linear infinite;\n animation-delay: ", "s;\n"])), function (_ref4) {
|
|
12683
14058
|
var $dotSize = _ref4.$dotSize;
|
|
12684
14059
|
return $dotSize;
|
|
12685
14060
|
}, function (_ref5) {
|
|
@@ -12688,7 +14063,7 @@ var Dot$3 = styled.div.attrs(function (_ref3) {
|
|
|
12688
14063
|
}, function (_ref6) {
|
|
12689
14064
|
var $color = _ref6.$color;
|
|
12690
14065
|
return $color;
|
|
12691
|
-
}, spin$
|
|
14066
|
+
}, spin$9, function (_ref7) {
|
|
12692
14067
|
var $speed = _ref7.$speed;
|
|
12693
14068
|
return $speed;
|
|
12694
14069
|
}, function (_ref8) {
|
|
@@ -12696,7 +14071,7 @@ var Dot$3 = styled.div.attrs(function (_ref3) {
|
|
|
12696
14071
|
$speed = _ref8.$speed;
|
|
12697
14072
|
return $index * $speed / 8;
|
|
12698
14073
|
});
|
|
12699
|
-
var SpinnerWrapper$
|
|
14074
|
+
var SpinnerWrapper$4 = styled.div(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
12700
14075
|
var sizeMap = {
|
|
12701
14076
|
small: {
|
|
12702
14077
|
size: 32
|
|
@@ -12720,13 +14095,13 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
12720
14095
|
text = _ref9.text,
|
|
12721
14096
|
customSize = _ref9.customSize;
|
|
12722
14097
|
var spinnerSize = customSize != null ? customSize : sizeMap[size].size;
|
|
12723
|
-
return React.createElement(SpinnerWrapper$
|
|
14098
|
+
return React.createElement(SpinnerWrapper$4, null, React.createElement(SpinnerContainer$4, {
|
|
12724
14099
|
"$size": spinnerSize,
|
|
12725
14100
|
"aria-label": "Loading animation"
|
|
12726
14101
|
}, Array.from({
|
|
12727
14102
|
length: 8
|
|
12728
14103
|
}).map(function (_, i) {
|
|
12729
|
-
return React.createElement(Dot$
|
|
14104
|
+
return React.createElement(Dot$4, {
|
|
12730
14105
|
key: i,
|
|
12731
14106
|
"$index": i,
|
|
12732
14107
|
"$size": spinnerSize,
|
|
@@ -12737,9 +14112,9 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
12737
14112
|
})), text && React.createElement(React.Fragment, null, text));
|
|
12738
14113
|
};
|
|
12739
14114
|
|
|
12740
|
-
var _templateObject$
|
|
12741
|
-
var spin$
|
|
12742
|
-
var Spinner$
|
|
14115
|
+
var _templateObject$17, _templateObject2$Y;
|
|
14116
|
+
var spin$a = keyframes(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteralLoose(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
14117
|
+
var Spinner$5 = styled.div(_templateObject2$Y || (_templateObject2$Y = _taggedTemplateLiteralLoose(["\n width: ", "px;\n height: ", "px;\n border: 5px solid #ddd;\n border-top-color: ", ";\n border-radius: 50%;\n animation: ", " 1s linear infinite;\n"])), function (_ref) {
|
|
12743
14118
|
var $size = _ref.$size;
|
|
12744
14119
|
return $size;
|
|
12745
14120
|
}, function (_ref2) {
|
|
@@ -12748,7 +14123,7 @@ var Spinner$4 = styled.div(_templateObject2$N || (_templateObject2$N = _taggedTe
|
|
|
12748
14123
|
}, function (_ref3) {
|
|
12749
14124
|
var $color = _ref3.$color;
|
|
12750
14125
|
return $color;
|
|
12751
|
-
}, spin$
|
|
14126
|
+
}, spin$a);
|
|
12752
14127
|
var Loader = function Loader(_ref4) {
|
|
12753
14128
|
var title = _ref4.title,
|
|
12754
14129
|
_ref4$size = _ref4.size,
|
|
@@ -12764,7 +14139,7 @@ var Loader = function Loader(_ref4) {
|
|
|
12764
14139
|
"$height": '100%',
|
|
12765
14140
|
"$flexDirection": 'column',
|
|
12766
14141
|
"$gap": '12px'
|
|
12767
|
-
}, React.createElement(Container, null, React.createElement(Spinner$
|
|
14142
|
+
}, React.createElement(Container, null, React.createElement(Spinner$5, {
|
|
12768
14143
|
"$size": size,
|
|
12769
14144
|
"$color": color
|
|
12770
14145
|
})), title && React.createElement(Container, {
|
|
@@ -12780,8 +14155,8 @@ var Loader = function Loader(_ref4) {
|
|
|
12780
14155
|
}, title))));
|
|
12781
14156
|
};
|
|
12782
14157
|
|
|
12783
|
-
var _templateObject$
|
|
12784
|
-
var PageInput$
|
|
14158
|
+
var _templateObject$18;
|
|
14159
|
+
var PageInput$4 = styled.input(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteralLoose(["\n width: 40px;\n height: 32px;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 8px;\n padding: 4px;\n color: ", ";\n text-align: center;\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), colorVariables.accent.extraLight, colorVariables.border.light, colorVariables.text.dark);
|
|
12785
14160
|
var Pagination = function Pagination(_ref) {
|
|
12786
14161
|
var totalPages = _ref.totalPages,
|
|
12787
14162
|
currentPage = _ref.currentPage,
|
|
@@ -12839,7 +14214,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
12839
14214
|
}, React.createElement(Container, {
|
|
12840
14215
|
"$gap": '4px',
|
|
12841
14216
|
"$alignItems": 'center'
|
|
12842
|
-
}, React.createElement(PageInput$
|
|
14217
|
+
}, React.createElement(PageInput$4, {
|
|
12843
14218
|
type: 'number',
|
|
12844
14219
|
value: inputPage,
|
|
12845
14220
|
onChange: handleInputChange,
|
|
@@ -12965,22 +14340,22 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
12965
14340
|
})));
|
|
12966
14341
|
};
|
|
12967
14342
|
|
|
12968
|
-
var _templateObject$
|
|
12969
|
-
var SidebarContainer$
|
|
14343
|
+
var _templateObject$19, _templateObject2$Z, _templateObject3$H, _templateObject4$A, _templateObject5$r, _templateObject6$e;
|
|
14344
|
+
var SidebarContainer$4 = styled.div(_templateObject$19 || (_templateObject$19 = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: 100vh;\n background: ", "; \n transition: width 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: start;\n padding: 20px;\n position: fixed;\n left: 0;\n top: 0;\n overflow: hidden;\n z-index: 10;\n justify-content: space-between;\n"])), function (_ref) {
|
|
12970
14345
|
var $isExpanded = _ref.$isExpanded;
|
|
12971
14346
|
return $isExpanded ? '225px' : '68px';
|
|
12972
14347
|
}, function (_ref2) {
|
|
12973
14348
|
var $background = _ref2.$background;
|
|
12974
14349
|
return $background ? $background : colorVariables.accent.softBlue;
|
|
12975
14350
|
});
|
|
12976
|
-
var SidebarItem$
|
|
12977
|
-
var ContentWrapper$
|
|
12978
|
-
var IconWrapper$
|
|
14351
|
+
var SidebarItem$4 = styled(NavLink)(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables.text.medium, colorVariables["default"].primary);
|
|
14352
|
+
var ContentWrapper$4 = styled.div(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
14353
|
+
var IconWrapper$a = styled.div(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n background: ", "; \n font-weight: bold;\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n > div:first-child {\n cursor: pointer;\n }\n"])), function (_ref3) {
|
|
12979
14354
|
var $selected = _ref3.$selected;
|
|
12980
14355
|
return $selected ? colorVariables["default"].primary : colorVariables["default"].tertiary;
|
|
12981
14356
|
});
|
|
12982
|
-
var Logo$
|
|
12983
|
-
var TextContainer$
|
|
14357
|
+
var Logo$4 = styled.div(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
|
|
14358
|
+
var TextContainer$4 = styled.span(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
12984
14359
|
var $padding = _ref4.$padding;
|
|
12985
14360
|
return $padding;
|
|
12986
14361
|
}, function (_ref5) {
|
|
@@ -13017,7 +14392,7 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
13017
14392
|
return parts.length > 0 ? "/" + parts[0] + "/" : '/';
|
|
13018
14393
|
};
|
|
13019
14394
|
var topLevelPath = getTopLevelPathWithSlash(location.pathname) || getTopLevelPath(location.pathname);
|
|
13020
|
-
return React.createElement(SidebarContainer$
|
|
14395
|
+
return React.createElement(SidebarContainer$4, {
|
|
13021
14396
|
"$background": background,
|
|
13022
14397
|
"$isExpanded": isExpanded,
|
|
13023
14398
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -13026,24 +14401,24 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
13026
14401
|
onMouseLeave: function onMouseLeave() {
|
|
13027
14402
|
return setIsExpanded(false);
|
|
13028
14403
|
}
|
|
13029
|
-
}, logo && React.createElement(Logo$
|
|
14404
|
+
}, logo && React.createElement(Logo$4, null, React.createElement(Icon, {
|
|
13030
14405
|
icon: logo.icon
|
|
13031
|
-
}), React.createElement(TextContainer$
|
|
14406
|
+
}), React.createElement(TextContainer$4, {
|
|
13032
14407
|
"$isExpanded": isExpanded,
|
|
13033
14408
|
"$fontWeight": "700"
|
|
13034
|
-
}, logo.name)), React.createElement(ContentWrapper$
|
|
14409
|
+
}, logo.name)), React.createElement(ContentWrapper$4, null, content.map(function (item) {
|
|
13035
14410
|
var isActive = item.url.includes(topLevelPath);
|
|
13036
|
-
return React.createElement(SidebarItem$
|
|
14411
|
+
return React.createElement(SidebarItem$4, {
|
|
13037
14412
|
to: item.url,
|
|
13038
14413
|
key: item.id
|
|
13039
|
-
}, React.createElement(IconWrapper$
|
|
14414
|
+
}, React.createElement(IconWrapper$a, {
|
|
13040
14415
|
"$selected": isActive
|
|
13041
14416
|
}, React.createElement(Icon, {
|
|
13042
14417
|
icon: item.icon,
|
|
13043
14418
|
size: 20,
|
|
13044
14419
|
weight: item.iconWeight,
|
|
13045
14420
|
color: isActive ? colorVariables.text.white : colorVariables.text.medium
|
|
13046
|
-
})), React.createElement(TextContainer$
|
|
14421
|
+
})), React.createElement(TextContainer$4, {
|
|
13047
14422
|
"$isExpanded": isExpanded,
|
|
13048
14423
|
"$fontSize": "14px",
|
|
13049
14424
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -13052,14 +14427,14 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
13052
14427
|
})), ProfileContent);
|
|
13053
14428
|
};
|
|
13054
14429
|
|
|
13055
|
-
var _templateObject$
|
|
13056
|
-
var ContainerWrapper$
|
|
14430
|
+
var _templateObject$1a, _templateObject2$_, _templateObject3$I, _templateObject4$B;
|
|
14431
|
+
var ContainerWrapper$4 = styled.div(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteralLoose(["\n height: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n min-height: ", ";\n word-break: break-word;\n"])), function (props) {
|
|
13057
14432
|
return props.$width || 'auto';
|
|
13058
14433
|
}, function (_ref) {
|
|
13059
14434
|
var $minHeight = _ref.$minHeight;
|
|
13060
14435
|
return $minHeight;
|
|
13061
14436
|
});
|
|
13062
|
-
var CellContainer$
|
|
14437
|
+
var CellContainer$4 = styled.div(_templateObject2$_ || (_templateObject2$_ = _taggedTemplateLiteralLoose(["\n align-items:", ";\n justify-content: center;\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n background: ", ";\n padding: ", ";\n gap: 4px;\n height: 100%\n"])), function (props) {
|
|
13063
14438
|
return props.$align;
|
|
13064
14439
|
}, function (props) {
|
|
13065
14440
|
return props.$width || 'auto';
|
|
@@ -13070,14 +14445,14 @@ var CellContainer$3 = styled.div(_templateObject2$P || (_templateObject2$P = _ta
|
|
|
13070
14445
|
}, function (props) {
|
|
13071
14446
|
return props.$padding;
|
|
13072
14447
|
});
|
|
13073
|
-
var MainText$
|
|
14448
|
+
var MainText$4 = styled.div(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
13074
14449
|
return props.$mtc;
|
|
13075
14450
|
}, function (props) {
|
|
13076
14451
|
return props.$mtfs;
|
|
13077
14452
|
}, function (props) {
|
|
13078
14453
|
return props.$mtw;
|
|
13079
14454
|
});
|
|
13080
|
-
var SubText$
|
|
14455
|
+
var SubText$4 = styled.div(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
13081
14456
|
return props.$stc;
|
|
13082
14457
|
}, function (props) {
|
|
13083
14458
|
return props.$stfs;
|
|
@@ -13106,31 +14481,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
13106
14481
|
CustomFunction = _ref2.CustomFunction,
|
|
13107
14482
|
padding = _ref2.padding,
|
|
13108
14483
|
minHeight = _ref2.minHeight;
|
|
13109
|
-
return React.createElement(ContainerWrapper$
|
|
14484
|
+
return React.createElement(ContainerWrapper$4, {
|
|
13110
14485
|
"$width": width,
|
|
13111
14486
|
"$minHeight": minHeight
|
|
13112
|
-
}, CustomFunction ? React.createElement(CellContainer$
|
|
14487
|
+
}, CustomFunction ? React.createElement(CellContainer$4, {
|
|
13113
14488
|
"$align": alignment,
|
|
13114
14489
|
"$width": width,
|
|
13115
14490
|
"$minWidth": minWidth
|
|
13116
|
-
}, CustomFunction) : React.createElement(CellContainer$
|
|
14491
|
+
}, CustomFunction) : React.createElement(CellContainer$4, {
|
|
13117
14492
|
"$align": alignment,
|
|
13118
14493
|
"$width": width,
|
|
13119
14494
|
"$minWidth": minWidth,
|
|
13120
14495
|
"$padding": padding
|
|
13121
|
-
}, React.createElement(MainText$
|
|
14496
|
+
}, React.createElement(MainText$4, {
|
|
13122
14497
|
"$mtc": maintextcolor,
|
|
13123
14498
|
"$mtfs": maintextfontsize,
|
|
13124
14499
|
"$mtw": maintextweight
|
|
13125
|
-
}, maintext), subtext && React.createElement(SubText$
|
|
14500
|
+
}, maintext), subtext && React.createElement(SubText$4, {
|
|
13126
14501
|
"$stc": subtextcolor,
|
|
13127
14502
|
"$stfs": subtextfontsize,
|
|
13128
14503
|
"$stw": subtextweight
|
|
13129
14504
|
}, subtext)));
|
|
13130
14505
|
};
|
|
13131
14506
|
|
|
13132
|
-
var _templateObject$
|
|
13133
|
-
var TableRowContainer$
|
|
14507
|
+
var _templateObject$1b;
|
|
14508
|
+
var TableRowContainer$4 = styled$1.div(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
13134
14509
|
var TableRow = function TableRow(_ref) {
|
|
13135
14510
|
var rowconfig = _ref.rowconfig,
|
|
13136
14511
|
tableheaderconfig = _ref.tableheaderconfig;
|
|
@@ -13139,7 +14514,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
13139
14514
|
};
|
|
13140
14515
|
return React.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
13141
14516
|
var _rowconfig$Index;
|
|
13142
|
-
return React.createElement(TableRowContainer$
|
|
14517
|
+
return React.createElement(TableRowContainer$4, {
|
|
13143
14518
|
key: Index
|
|
13144
14519
|
}, tableheaderconfig.isAllSelectable && React.createElement(Container, {
|
|
13145
14520
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -13173,16 +14548,16 @@ var TableRow = function TableRow(_ref) {
|
|
|
13173
14548
|
}));
|
|
13174
14549
|
};
|
|
13175
14550
|
|
|
13176
|
-
var _templateObject
|
|
13177
|
-
var TableContainer$
|
|
13178
|
-
var TableHeader$
|
|
14551
|
+
var _templateObject$1c, _templateObject2$$, _templateObject3$J, _templateObject4$C, _templateObject5$s;
|
|
14552
|
+
var TableContainer$4 = styled.div(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteralLoose(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables.brand.light);
|
|
14553
|
+
var TableHeader$4 = styled.div(_templateObject2$$ || (_templateObject2$$ = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n display: flex;\n background: ", ";\n color: ", ";\n min-height: 36px;\n align-items: center;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n padding: 9px 12px;\n"])), function (props) {
|
|
13179
14554
|
return props.$hbcolor || 'transparent';
|
|
13180
14555
|
}, function (props) {
|
|
13181
14556
|
return props.$tcolor || 'white';
|
|
13182
14557
|
});
|
|
13183
|
-
var TableContent$
|
|
13184
|
-
var TableData$
|
|
13185
|
-
var Divider$
|
|
14558
|
+
var TableContent$4 = styled.div(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
14559
|
+
var TableData$4 = styled.div(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
14560
|
+
var Divider$4 = styled.div(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
|
|
13186
14561
|
var Table = function Table(_ref) {
|
|
13187
14562
|
var tableObject = _ref.tableObject,
|
|
13188
14563
|
_ref$filter = _ref.filter,
|
|
@@ -13232,7 +14607,7 @@ var Table = function Table(_ref) {
|
|
|
13232
14607
|
useEffect(function () {
|
|
13233
14608
|
setIsAllSelected(false);
|
|
13234
14609
|
}, [rowconfig]);
|
|
13235
|
-
return React.createElement(TableContainer$
|
|
14610
|
+
return React.createElement(TableContainer$4, null, React.createElement(TableContent$4, null, React.createElement(TableHeader$4, {
|
|
13236
14611
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
13237
14612
|
"$tcolor": tableheaderconfig.textcolor
|
|
13238
14613
|
}, tableheaderconfig.isAllSelectable && React.createElement(Container, {
|
|
@@ -13262,7 +14637,7 @@ var Table = function Table(_ref) {
|
|
|
13262
14637
|
"$alignItems": 'center',
|
|
13263
14638
|
"$padding": '24px 24px',
|
|
13264
14639
|
"$justifyContent": 'center'
|
|
13265
|
-
}, React.createElement(Span, null, noDataText)) : filter ? React.createElement(TableData$
|
|
14640
|
+
}, React.createElement(Span, null, noDataText)) : filter ? React.createElement(TableData$4, null, Object.entries(roleGroups).map(function (_ref2) {
|
|
13266
14641
|
var role = _ref2[0],
|
|
13267
14642
|
rows = _ref2[1];
|
|
13268
14643
|
return React.createElement(React.Fragment, {
|
|
@@ -13292,31 +14667,31 @@ var Table = function Table(_ref) {
|
|
|
13292
14667
|
}, React.createElement(TableRow, {
|
|
13293
14668
|
rowconfig: [row],
|
|
13294
14669
|
tableheaderconfig: tableheaderconfig
|
|
13295
|
-
}), rows.length > 1 && index < rows.length - 1 && React.createElement(Divider$
|
|
14670
|
+
}), rows.length > 1 && index < rows.length - 1 && React.createElement(Divider$4, null));
|
|
13296
14671
|
}));
|
|
13297
|
-
})) : React.createElement(TableData$
|
|
14672
|
+
})) : React.createElement(TableData$4, null, filteredRows.map(function (row, index) {
|
|
13298
14673
|
return React.createElement(React.Fragment, {
|
|
13299
14674
|
key: index
|
|
13300
14675
|
}, React.createElement(TableRow, {
|
|
13301
14676
|
rowconfig: [row],
|
|
13302
14677
|
tableheaderconfig: tableheaderconfig
|
|
13303
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React.createElement(Divider$
|
|
14678
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React.createElement(Divider$4, null));
|
|
13304
14679
|
}))));
|
|
13305
14680
|
};
|
|
13306
14681
|
|
|
13307
|
-
var _templateObject$
|
|
13308
|
-
var Container$
|
|
14682
|
+
var _templateObject$1d, _templateObject2$10, _templateObject3$K, _templateObject4$D, _templateObject5$t;
|
|
14683
|
+
var Container$c = styled.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
13309
14684
|
var $gap = _ref.$gap;
|
|
13310
14685
|
return $gap;
|
|
13311
14686
|
}, function (_ref2) {
|
|
13312
14687
|
var $border = _ref2.$border;
|
|
13313
14688
|
return $border;
|
|
13314
14689
|
});
|
|
13315
|
-
var FirstContainer$
|
|
14690
|
+
var FirstContainer$4 = styled.div(_templateObject2$10 || (_templateObject2$10 = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables.border.light, function (_ref3) {
|
|
13316
14691
|
var $headerPadding = _ref3.$headerPadding;
|
|
13317
14692
|
return $headerPadding ? $headerPadding : '0px';
|
|
13318
14693
|
});
|
|
13319
|
-
var TabContainer$
|
|
14694
|
+
var TabContainer$4 = styled.div(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref4) {
|
|
13320
14695
|
var $disabled = _ref4.$disabled;
|
|
13321
14696
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
13322
14697
|
}, function (_ref5) {
|
|
@@ -13329,13 +14704,13 @@ var TabContainer$3 = styled.div(_templateObject3$C || (_templateObject3$C = _tag
|
|
|
13329
14704
|
var $disabled = _ref7.$disabled;
|
|
13330
14705
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
13331
14706
|
});
|
|
13332
|
-
var TabItemContainer$
|
|
14707
|
+
var TabItemContainer$4 = styled.div(_templateObject4$D || (_templateObject4$D = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref8) {
|
|
13333
14708
|
var $headerHeight = _ref8.$headerHeight;
|
|
13334
14709
|
return $headerHeight ? $headerHeight : '34px';
|
|
13335
14710
|
}, function (props) {
|
|
13336
14711
|
return props.$active ? 'block' : 'none';
|
|
13337
14712
|
}, colorVariables["default"].primary);
|
|
13338
|
-
var DetailsFirstContainer$
|
|
14713
|
+
var DetailsFirstContainer$4 = styled.div(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
|
|
13339
14714
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
13340
14715
|
});
|
|
13341
14716
|
var Tabs = function Tabs(_ref9) {
|
|
@@ -13348,20 +14723,20 @@ var Tabs = function Tabs(_ref9) {
|
|
|
13348
14723
|
border = _ref9.border,
|
|
13349
14724
|
_ref9$gap = _ref9.gap,
|
|
13350
14725
|
gap = _ref9$gap === void 0 ? '24px' : _ref9$gap;
|
|
13351
|
-
return React.createElement(Container$
|
|
14726
|
+
return React.createElement(Container$c, {
|
|
13352
14727
|
"$gap": gap,
|
|
13353
14728
|
"$border": border
|
|
13354
|
-
}, React.createElement(FirstContainer$
|
|
14729
|
+
}, React.createElement(FirstContainer$4, {
|
|
13355
14730
|
"$headerPadding": headerPadding
|
|
13356
14731
|
}, tabItems.map(function (tab, index) {
|
|
13357
|
-
return React.createElement(TabContainer$
|
|
14732
|
+
return React.createElement(TabContainer$4, {
|
|
13358
14733
|
key: index,
|
|
13359
14734
|
onClick: function onClick() {
|
|
13360
14735
|
if (!disabled && tab.onClick) tab.onClick();
|
|
13361
14736
|
},
|
|
13362
14737
|
"$disabled": disabled,
|
|
13363
14738
|
"$headerHeight": headerHeight
|
|
13364
|
-
}, React.createElement(TabItemContainer$
|
|
14739
|
+
}, React.createElement(TabItemContainer$4, {
|
|
13365
14740
|
"$active": activeTab === tab.title,
|
|
13366
14741
|
"$headerHeight": headerHeight
|
|
13367
14742
|
}, tab.icon && React.createElement(Icon, {
|
|
@@ -13369,11 +14744,11 @@ var Tabs = function Tabs(_ref9) {
|
|
|
13369
14744
|
icon: tab.icon,
|
|
13370
14745
|
size: tab.iconSize,
|
|
13371
14746
|
weight: tab.iconWeight
|
|
13372
|
-
}), React.createElement(DetailsFirstContainer$
|
|
14747
|
+
}), React.createElement(DetailsFirstContainer$4, {
|
|
13373
14748
|
"$active": activeTab === tab.title
|
|
13374
14749
|
}, tab.title)));
|
|
13375
14750
|
})), tabItems.map(function (tab, index) {
|
|
13376
|
-
return activeTab === tab.title && React.createElement(Container$
|
|
14751
|
+
return activeTab === tab.title && React.createElement(Container$c, {
|
|
13377
14752
|
key: index
|
|
13378
14753
|
}, tab.content);
|
|
13379
14754
|
}));
|