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