labsense-ui-kit 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1753 -412
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1754 -412
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9354,7 +9354,7 @@ var Container$2$1$1 = styled__default.div(_templateObject4$3$1$1 || (_templateOb
|
|
|
9354
9354
|
var LabelText$2$1 = styled__default.div(_templateObject5$3$1$1 || (_templateObject5$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-size: 14px;\n font-weight: 400;\n font-style:", ";\n color: ", ";\n"])), function (_ref18) {
|
|
9355
9355
|
var $labelStyle = _ref18.$labelStyle;
|
|
9356
9356
|
return $labelStyle;
|
|
9357
|
-
}, colorVariables$1$1.text.
|
|
9357
|
+
}, colorVariables$1$1.text.medium);
|
|
9358
9358
|
var DropdownMenu$2$1 = styled__default.div(_templateObject6$3$1$1 || (_templateObject6$3$1$1 = _taggedTemplateLiteralLoose$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.border.light, function (_ref19) {
|
|
9359
9359
|
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
9360
9360
|
return $optionsBorderRadius || '8px';
|
|
@@ -9484,7 +9484,7 @@ var DropdownContainer$1$1$1 = styled__default.div(_templateObject2$8$1$1 || (_te
|
|
|
9484
9484
|
var $width = _ref4.$width;
|
|
9485
9485
|
return $width || '100%';
|
|
9486
9486
|
});
|
|
9487
|
-
var DropdownButton$1$1$1 = styled__default.div(_templateObject3$6$1$1 || (_templateObject3$6$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9487
|
+
var DropdownButton$1$1$1 = styled__default.div(_templateObject3$6$1$1 || (_templateObject3$6$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9488
9488
|
var $disabled = _ref5.$disabled;
|
|
9489
9489
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9490
9490
|
}, function (_ref6) {
|
|
@@ -9497,8 +9497,9 @@ var DropdownButton$1$1$1 = styled__default.div(_templateObject3$6$1$1 || (_templ
|
|
|
9497
9497
|
var $borderRadius = _ref8.$borderRadius;
|
|
9498
9498
|
return $borderRadius || '8px';
|
|
9499
9499
|
}, function (_ref9) {
|
|
9500
|
-
var $border = _ref9.$border
|
|
9501
|
-
|
|
9500
|
+
var $border = _ref9.$border,
|
|
9501
|
+
$isOpen = _ref9.$isOpen;
|
|
9502
|
+
return $isOpen ? "1px solid " + colorVariables$1$1.text.dark : $border || "1px solid " + colorVariables$1$1.border.light;
|
|
9502
9503
|
}, function (_ref10) {
|
|
9503
9504
|
var $size = _ref10.$size;
|
|
9504
9505
|
switch ($size) {
|
|
@@ -9569,75 +9570,1513 @@ var LabelText$1$1$1 = styled__default.div(_templateObject5$4$1$1 || (_templateOb
|
|
|
9569
9570
|
default:
|
|
9570
9571
|
return '14px';
|
|
9571
9572
|
}
|
|
9572
|
-
}, function (_ref20) {
|
|
9573
|
-
var $fontStyle = _ref20.$fontStyle;
|
|
9574
|
-
return $fontStyle || '';
|
|
9575
|
-
}, function (_ref21) {
|
|
9576
|
-
var $color = _ref21.$color,
|
|
9577
|
-
$disabled = _ref21.$disabled;
|
|
9578
|
-
return $disabled ? colorVariables$1$1.text.medium : $color || colorVariables$1$1.text.medium;
|
|
9579
|
-
});
|
|
9580
|
-
var NoOptions$1$1 = styled__default(Span$1$1)(_templateObject6$4$1$1 || (_templateObject6$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
9581
|
-
var DropdownMenu$1$1$1 = styled__default.div(_templateObject7$2$1$1 || (_templateObject7$2$1$1 = _taggedTemplateLiteralLoose$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.border.light, function (_ref22) {
|
|
9582
|
-
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
9583
|
-
return $optionsBorderRadius || '8px';
|
|
9584
|
-
}, function (_ref23) {
|
|
9585
|
-
var $width = _ref23.$width;
|
|
9586
|
-
return $width ? $width : 'max-content';
|
|
9587
|
-
}, function (_ref24) {
|
|
9588
|
-
var $menuBackground = _ref24.$menuBackground;
|
|
9589
|
-
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9590
|
-
}, function (_ref25) {
|
|
9591
|
-
var $top = _ref25.$top;
|
|
9592
|
-
return $top && "top: " + $top + ";";
|
|
9593
|
-
}, function (_ref26) {
|
|
9594
|
-
var $bottom = _ref26.$bottom;
|
|
9595
|
-
return $bottom && "bottom: " + $bottom + ";";
|
|
9596
|
-
});
|
|
9597
|
-
var OptionsWrapper$1$1 = styled__default.div(_templateObject8$2$1$1 || (_templateObject8$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
9598
|
-
var SearchContainer$1$1$1 = styled__default.div(_templateObject9$2$1$1 || (_templateObject9$2$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9599
|
-
var $background = _ref27.$background;
|
|
9600
|
-
return $background || colorVariables$1$1.accent.extraLight;
|
|
9601
|
-
}, function (_ref28) {
|
|
9602
|
-
var $border = _ref28.$border;
|
|
9603
|
-
return $border || 'none';
|
|
9604
|
-
}, colorVariables$1$1.border.light, function (_ref29) {
|
|
9605
|
-
var $borderRadius = _ref29.$borderRadius;
|
|
9606
|
-
return $borderRadius || '8px 8px 0 0';
|
|
9607
|
-
});
|
|
9608
|
-
var SearchBar$1$1$1 = styled__default.input(_templateObject10$2$1$1 || (_templateObject10$2$1$1 = _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: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref30) {
|
|
9609
|
-
var $inputColor = _ref30.$inputColor;
|
|
9610
|
-
return $inputColor || colorVariables$1$1.text.medium;
|
|
9611
|
-
}, function (_ref31) {
|
|
9612
|
-
var $placeholderColor = _ref31.$placeholderColor;
|
|
9613
|
-
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9614
|
-
});
|
|
9615
|
-
var _templateObject$c$1$1, _templateObject2$9$1$1;
|
|
9616
|
-
var ModalOverlay$1$1 = styled__default.div(_templateObject$c$1$1 || (_templateObject$c$1$1 = _taggedTemplateLiteralLoose$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"])));
|
|
9617
|
-
var ModalContainer$1$1 = styled__default.div(_templateObject2$9$1$1 || (_templateObject2$9$1$1 = _taggedTemplateLiteralLoose$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.accent.light, function (_ref) {
|
|
9618
|
-
var $maxWidth = _ref.$maxWidth;
|
|
9619
|
-
return $maxWidth ? $maxWidth : '400px';
|
|
9620
|
-
});
|
|
9621
|
-
|
|
9622
|
-
|
|
9573
|
+
}, function (_ref20) {
|
|
9574
|
+
var $fontStyle = _ref20.$fontStyle;
|
|
9575
|
+
return $fontStyle || '';
|
|
9576
|
+
}, function (_ref21) {
|
|
9577
|
+
var $color = _ref21.$color,
|
|
9578
|
+
$disabled = _ref21.$disabled;
|
|
9579
|
+
return $disabled ? colorVariables$1$1.text.medium : $color || colorVariables$1$1.text.medium;
|
|
9580
|
+
});
|
|
9581
|
+
var NoOptions$1$1 = styled__default(Span$1$1)(_templateObject6$4$1$1 || (_templateObject6$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n height: 100%;\n padding: 12px;\n font-size: 14px;\n font-weight: 400;\n"])));
|
|
9582
|
+
var DropdownMenu$1$1$1 = styled__default.div(_templateObject7$2$1$1 || (_templateObject7$2$1$1 = _taggedTemplateLiteralLoose$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.border.light, function (_ref22) {
|
|
9583
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
9584
|
+
return $optionsBorderRadius || '8px';
|
|
9585
|
+
}, function (_ref23) {
|
|
9586
|
+
var $width = _ref23.$width;
|
|
9587
|
+
return $width ? $width : 'max-content';
|
|
9588
|
+
}, function (_ref24) {
|
|
9589
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
9590
|
+
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9591
|
+
}, function (_ref25) {
|
|
9592
|
+
var $top = _ref25.$top;
|
|
9593
|
+
return $top && "top: " + $top + ";";
|
|
9594
|
+
}, function (_ref26) {
|
|
9595
|
+
var $bottom = _ref26.$bottom;
|
|
9596
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
9597
|
+
});
|
|
9598
|
+
var OptionsWrapper$1$1 = styled__default.div(_templateObject8$2$1$1 || (_templateObject8$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
9599
|
+
var SearchContainer$1$1$1 = styled__default.div(_templateObject9$2$1$1 || (_templateObject9$2$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9600
|
+
var $background = _ref27.$background;
|
|
9601
|
+
return $background || colorVariables$1$1.accent.extraLight;
|
|
9602
|
+
}, function (_ref28) {
|
|
9603
|
+
var $border = _ref28.$border;
|
|
9604
|
+
return $border || 'none';
|
|
9605
|
+
}, colorVariables$1$1.border.light, function (_ref29) {
|
|
9606
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
9607
|
+
return $borderRadius || '8px 8px 0 0';
|
|
9608
|
+
});
|
|
9609
|
+
var SearchBar$1$1$1 = styled__default.input(_templateObject10$2$1$1 || (_templateObject10$2$1$1 = _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: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref30) {
|
|
9610
|
+
var $inputColor = _ref30.$inputColor;
|
|
9611
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
9612
|
+
}, function (_ref31) {
|
|
9613
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
9614
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9615
|
+
});
|
|
9616
|
+
var _templateObject$c$1$1, _templateObject2$9$1$1;
|
|
9617
|
+
var ModalOverlay$1$1 = styled__default.div(_templateObject$c$1$1 || (_templateObject$c$1$1 = _taggedTemplateLiteralLoose$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"])));
|
|
9618
|
+
var ModalContainer$1$1 = styled__default.div(_templateObject2$9$1$1 || (_templateObject2$9$1$1 = _taggedTemplateLiteralLoose$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.accent.light, function (_ref) {
|
|
9619
|
+
var $maxWidth = _ref.$maxWidth;
|
|
9620
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
9621
|
+
});
|
|
9622
|
+
function _taggedTemplateLiteralLoose$1$1$1(e, t) {
|
|
9623
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
9624
|
+
}
|
|
9625
|
+
var colorVariables$1$1$1 = {
|
|
9626
|
+
brand: {
|
|
9627
|
+
primary: '#4C9EEB',
|
|
9628
|
+
secondary: '#14171A',
|
|
9629
|
+
light: '#FFFFFF'
|
|
9630
|
+
},
|
|
9631
|
+
accent: {
|
|
9632
|
+
light: '#E1E8ED',
|
|
9633
|
+
extraLight: '#F5F8FA',
|
|
9634
|
+
softBlue: '#D4EEFF',
|
|
9635
|
+
extraSoftBlue: '#E4F4FF',
|
|
9636
|
+
boldTransparent: '#5E5E5E80',
|
|
9637
|
+
transparent: '#5E5E5E4D',
|
|
9638
|
+
lightTransparent: '#5E5E5E23'
|
|
9639
|
+
},
|
|
9640
|
+
"default": {
|
|
9641
|
+
primary: '#78B6F0',
|
|
9642
|
+
secondary: '#C2C2C2',
|
|
9643
|
+
tertiary: 'transparent',
|
|
9644
|
+
error: '#F44336',
|
|
9645
|
+
success: '#4CAF50',
|
|
9646
|
+
warning: '#FF9800',
|
|
9647
|
+
info: '#2159F3'
|
|
9648
|
+
},
|
|
9649
|
+
disabled: {
|
|
9650
|
+
primary: '#B9DCF7',
|
|
9651
|
+
secondary: '#DADADA',
|
|
9652
|
+
error: '#FFEBEE',
|
|
9653
|
+
success: '#E8F5E9',
|
|
9654
|
+
warning: '#FFF3E0',
|
|
9655
|
+
info: '#E3F2FD'
|
|
9656
|
+
},
|
|
9657
|
+
hover: {
|
|
9658
|
+
primary: '#4C9EEB',
|
|
9659
|
+
secondary: '#A3A3A3',
|
|
9660
|
+
tertiary: 'transparent',
|
|
9661
|
+
error: '#D32F2F',
|
|
9662
|
+
success: '#388E3C',
|
|
9663
|
+
warning: '#F57C00',
|
|
9664
|
+
info: '#193ED2'
|
|
9665
|
+
},
|
|
9666
|
+
border: {
|
|
9667
|
+
extraBold: '#657786',
|
|
9668
|
+
bold: '#BFBFBF',
|
|
9669
|
+
medium: '#CBCED0',
|
|
9670
|
+
light: '#DCDCDC',
|
|
9671
|
+
extraLight: '#E6E3E3'
|
|
9672
|
+
},
|
|
9673
|
+
text: {
|
|
9674
|
+
dark: '#14171A',
|
|
9675
|
+
medium: '#657786',
|
|
9676
|
+
light: '#98A2AA',
|
|
9677
|
+
white: '#FFFFFF',
|
|
9678
|
+
success: '#1B5E20',
|
|
9679
|
+
error: '#B71C1C',
|
|
9680
|
+
info: '#0D30A1',
|
|
9681
|
+
warning: '#E65100'
|
|
9682
|
+
},
|
|
9683
|
+
badge: {
|
|
9684
|
+
lavender: '#E8DAFF',
|
|
9685
|
+
papayaWhip: '#FFEDD5',
|
|
9686
|
+
water: '#C7E3FF',
|
|
9687
|
+
paleBlue: '#B0F0E4',
|
|
9688
|
+
teaGreen: '#D5F7C2',
|
|
9689
|
+
lightBlue: '#ADD8E6'
|
|
9690
|
+
}
|
|
9691
|
+
};
|
|
9692
|
+
var _templateObject$d$1$1, _templateObject2$a$1$1, _templateObject3$7$1$1;
|
|
9693
|
+
var wrapperCss$1$1$1 = styled.css(_templateObject$d$1$1 || (_templateObject$d$1$1 = _taggedTemplateLiteralLoose$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"])));
|
|
9694
|
+
var IconWrapper$1$1$1 = styled__default.div(_templateObject2$a$1$1 || (_templateObject2$a$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
|
|
9695
|
+
var $clickable = _ref.$clickable;
|
|
9696
|
+
return $clickable ? 'pointer' : 'default';
|
|
9697
|
+
}, wrapperCss$1$1$1);
|
|
9698
|
+
var IconWrapperForSVG$1$1$1 = styled__default.g(_templateObject3$7$1$1 || (_templateObject3$7$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n ", ";\n"])), wrapperCss$1$1$1);
|
|
9699
|
+
var _templateObject$1$1$1$1, _templateObject2$1$1$1$1;
|
|
9700
|
+
var Container$3$1$1 = styled__default.div(_templateObject$1$1$1$1 || (_templateObject$1$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9701
|
+
var $flex = _ref.$flex;
|
|
9702
|
+
return $flex;
|
|
9703
|
+
}, function (_ref2) {
|
|
9704
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
9705
|
+
return $flexWrap;
|
|
9706
|
+
}, function (_ref3) {
|
|
9707
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
9708
|
+
return $flexDirection;
|
|
9709
|
+
}, function (_ref4) {
|
|
9710
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
9711
|
+
return $justifyContent;
|
|
9712
|
+
}, function (_ref5) {
|
|
9713
|
+
var $alignItems = _ref5.$alignItems;
|
|
9714
|
+
return $alignItems;
|
|
9715
|
+
}, function (_ref6) {
|
|
9716
|
+
var $gap = _ref6.$gap;
|
|
9717
|
+
return $gap;
|
|
9718
|
+
}, function (_ref7) {
|
|
9719
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
9720
|
+
return $fontWeight;
|
|
9721
|
+
}, function (_ref8) {
|
|
9722
|
+
var $height = _ref8.$height;
|
|
9723
|
+
return $height;
|
|
9724
|
+
}, function (_ref9) {
|
|
9725
|
+
var $minHeight = _ref9.$minHeight;
|
|
9726
|
+
return $minHeight;
|
|
9727
|
+
}, function (_ref10) {
|
|
9728
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
9729
|
+
return $maxHeight;
|
|
9730
|
+
}, function (_ref11) {
|
|
9731
|
+
var $width = _ref11.$width;
|
|
9732
|
+
return $width;
|
|
9733
|
+
}, function (_ref12) {
|
|
9734
|
+
var $minWidth = _ref12.$minWidth;
|
|
9735
|
+
return $minWidth;
|
|
9736
|
+
}, function (_ref13) {
|
|
9737
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
9738
|
+
return $maxWidth;
|
|
9739
|
+
}, function (_ref14) {
|
|
9740
|
+
var $padding = _ref14.$padding;
|
|
9741
|
+
return $padding;
|
|
9742
|
+
}, function (_ref15) {
|
|
9743
|
+
var $background = _ref15.$background;
|
|
9744
|
+
return $background;
|
|
9745
|
+
}, function (_ref16) {
|
|
9746
|
+
var $objectfit = _ref16.$objectfit;
|
|
9747
|
+
return $objectfit;
|
|
9748
|
+
}, function (_ref17) {
|
|
9749
|
+
var $margin = _ref17.$margin;
|
|
9750
|
+
return $margin;
|
|
9751
|
+
}, function (_ref18) {
|
|
9752
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
9753
|
+
return $borderRadius;
|
|
9754
|
+
}, function (_ref19) {
|
|
9755
|
+
var $borderTopLeftRadius = _ref19.$borderTopLeftRadius;
|
|
9756
|
+
return $borderTopLeftRadius;
|
|
9757
|
+
}, function (_ref20) {
|
|
9758
|
+
var $borderTopRightRadius = _ref20.$borderTopRightRadius;
|
|
9759
|
+
return $borderTopRightRadius;
|
|
9760
|
+
}, function (_ref21) {
|
|
9761
|
+
var $cursor = _ref21.$cursor;
|
|
9762
|
+
return $cursor;
|
|
9763
|
+
}, function (_ref22) {
|
|
9764
|
+
var $fontSize = _ref22.$fontSize;
|
|
9765
|
+
return $fontSize;
|
|
9766
|
+
}, function (_ref23) {
|
|
9767
|
+
var $opacity = _ref23.$opacity;
|
|
9768
|
+
return $opacity;
|
|
9769
|
+
}, function (_ref24) {
|
|
9770
|
+
var $pointerEvents = _ref24.$pointerEvents;
|
|
9771
|
+
return $pointerEvents;
|
|
9772
|
+
}, function (_ref25) {
|
|
9773
|
+
var $position = _ref25.$position;
|
|
9774
|
+
return $position;
|
|
9775
|
+
}, function (_ref26) {
|
|
9776
|
+
var $top = _ref26.$top;
|
|
9777
|
+
return $top;
|
|
9778
|
+
}, function (_ref27) {
|
|
9779
|
+
var $bottom = _ref27.$bottom;
|
|
9780
|
+
return $bottom;
|
|
9781
|
+
}, function (_ref28) {
|
|
9782
|
+
var $left = _ref28.$left;
|
|
9783
|
+
return $left;
|
|
9784
|
+
}, function (_ref29) {
|
|
9785
|
+
var $right = _ref29.$right;
|
|
9786
|
+
return $right;
|
|
9787
|
+
}, function (_ref30) {
|
|
9788
|
+
var $textAlign = _ref30.$textAlign;
|
|
9789
|
+
return $textAlign;
|
|
9790
|
+
}, function (_ref31) {
|
|
9791
|
+
var $color = _ref31.$color;
|
|
9792
|
+
return $color;
|
|
9793
|
+
}, function (_ref32) {
|
|
9794
|
+
var $overflow = _ref32.$overflow;
|
|
9795
|
+
return $overflow || 'visible';
|
|
9796
|
+
}, function (_ref33) {
|
|
9797
|
+
var $overflowY = _ref33.$overflowY;
|
|
9798
|
+
return $overflowY;
|
|
9799
|
+
}, function (_ref34) {
|
|
9800
|
+
var $zIndex = _ref34.$zIndex;
|
|
9801
|
+
return $zIndex;
|
|
9802
|
+
}, function (_ref35) {
|
|
9803
|
+
var $scrollbarWidth = _ref35.$scrollbarWidth;
|
|
9804
|
+
return $scrollbarWidth;
|
|
9805
|
+
}, function (_ref36) {
|
|
9806
|
+
var $border = _ref36.$border;
|
|
9807
|
+
return $border;
|
|
9808
|
+
}, function (_ref37) {
|
|
9809
|
+
var $borderTop = _ref37.$borderTop;
|
|
9810
|
+
return $borderTop;
|
|
9811
|
+
}, function (_ref38) {
|
|
9812
|
+
var $borderBottom = _ref38.$borderBottom;
|
|
9813
|
+
return $borderBottom;
|
|
9814
|
+
}, function (_ref39) {
|
|
9815
|
+
var $borderLeft = _ref39.$borderLeft;
|
|
9816
|
+
return $borderLeft;
|
|
9817
|
+
}, function (_ref40) {
|
|
9818
|
+
var $transition = _ref40.$transition;
|
|
9819
|
+
return $transition;
|
|
9820
|
+
}, function (_ref41) {
|
|
9821
|
+
var $boxShadow = _ref41.$boxShadow;
|
|
9822
|
+
return $boxShadow;
|
|
9823
|
+
}, function (_ref42) {
|
|
9824
|
+
var $hoverBackground = _ref42.$hoverBackground;
|
|
9825
|
+
return $hoverBackground;
|
|
9826
|
+
}, function (_ref43) {
|
|
9827
|
+
var $hoverColor = _ref43.$hoverColor;
|
|
9828
|
+
return $hoverColor;
|
|
9829
|
+
});
|
|
9830
|
+
var Span$1$1$1 = styled__default.span(_templateObject2$1$1$1$1 || (_templateObject2$1$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9831
|
+
var $fontFamily = _ref44.$fontFamily;
|
|
9832
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
9833
|
+
}, function (_ref45) {
|
|
9834
|
+
var $fontWeight = _ref45.$fontWeight;
|
|
9835
|
+
return $fontWeight ? $fontWeight : '500';
|
|
9836
|
+
}, function (_ref46) {
|
|
9837
|
+
var $fontSize = _ref46.$fontSize;
|
|
9838
|
+
return $fontSize ? $fontSize : '16px';
|
|
9839
|
+
}, function (_ref47) {
|
|
9840
|
+
var $color = _ref47.$color;
|
|
9841
|
+
return $color ? $color : colorVariables$1$1$1.text.medium;
|
|
9842
|
+
}, function (_ref48) {
|
|
9843
|
+
var $lineHeight = _ref48.$lineHeight;
|
|
9844
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
9845
|
+
}, function (_ref49) {
|
|
9846
|
+
var $textAlign = _ref49.$textAlign;
|
|
9847
|
+
return $textAlign ? $textAlign : 'center';
|
|
9848
|
+
}, function (_ref50) {
|
|
9849
|
+
var $minWidth = _ref50.$minWidth;
|
|
9850
|
+
return $minWidth;
|
|
9851
|
+
}, function (_ref51) {
|
|
9852
|
+
var $width = _ref51.$width;
|
|
9853
|
+
return $width;
|
|
9854
|
+
}, function (_ref52) {
|
|
9855
|
+
var $overflowWrap = _ref52.$overflowWrap;
|
|
9856
|
+
return $overflowWrap;
|
|
9857
|
+
});
|
|
9858
|
+
var _templateObject$2$1$1$1, _templateObject2$2$1$1$1;
|
|
9859
|
+
var TooltipWrapper$1$1$1 = styled__default.div(_templateObject$2$1$1$1 || (_templateObject$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n svg {\n cursor: pointer;\n } \n"])));
|
|
9860
|
+
var TooltipText$1$1$1 = styled__default.span(_templateObject2$2$1$1$1 || (_templateObject2$2$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9861
|
+
var $visible = _ref.$visible;
|
|
9862
|
+
return $visible ? 'visible' : 'hidden';
|
|
9863
|
+
}, function (_ref2) {
|
|
9864
|
+
var $visible = _ref2.$visible;
|
|
9865
|
+
return $visible ? 1 : 0;
|
|
9866
|
+
}, function (_ref3) {
|
|
9867
|
+
var $bgColor = _ref3.$bgColor;
|
|
9868
|
+
return $bgColor || colorVariables$1$1$1.brand.light;
|
|
9869
|
+
}, colorVariables$1$1$1.text.medium);
|
|
9870
|
+
var _templateObject$3$1$1$1;
|
|
9871
|
+
var BreadCrum$1$1$1 = styled__default.span(_templateObject$3$1$1$1 || (_templateObject$3$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9872
|
+
var $color = _ref.$color;
|
|
9873
|
+
return $color ? $color : colorVariables$1$1$1.text.medium;
|
|
9874
|
+
}, function (_ref2) {
|
|
9875
|
+
var $disabled = _ref2.$disabled;
|
|
9876
|
+
return $disabled ? '0.6' : '1';
|
|
9877
|
+
}, function (_ref3) {
|
|
9878
|
+
var $hover = _ref3.$hover,
|
|
9879
|
+
$disabled = _ref3.$disabled;
|
|
9880
|
+
return $hover && !$disabled && 'underline';
|
|
9881
|
+
}, function (_ref4) {
|
|
9882
|
+
var $hover = _ref4.$hover,
|
|
9883
|
+
$disabled = _ref4.$disabled;
|
|
9884
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
9885
|
+
}, function (_ref5) {
|
|
9886
|
+
var $hover = _ref5.$hover,
|
|
9887
|
+
$disabled = _ref5.$disabled;
|
|
9888
|
+
return $hover && !$disabled && colorVariables$1$1$1["default"].primary;
|
|
9889
|
+
});
|
|
9890
|
+
var _templateObject$4$1$1$1;
|
|
9891
|
+
var fontFaces$1$1$1 = styled.css(_templateObject$4$1$1$1 || (_templateObject$4$1$1$1 = _taggedTemplateLiteralLoose$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"])));
|
|
9892
|
+
var GlobalFonts$1$1$1 = {
|
|
9893
|
+
bold: 'NotoSans, sans-serif',
|
|
9894
|
+
regular: 'NotoSans, sans-serif',
|
|
9895
|
+
light: 'NotoSans, sans-serif'
|
|
9896
|
+
};
|
|
9897
|
+
var _templateObject$5$1$1$1, _templateObject2$3$1$1$1, _templateObject3$1$1$1$1, _templateObject4$5$1$1, _templateObject5$5$1$1, _templateObject6$5$1$1;
|
|
9898
|
+
var spin$1$1$1 = styled.keyframes(_templateObject$5$1$1$1 || (_templateObject$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
9899
|
+
var Spinner$1$1$1 = styled__default.div(_templateObject2$3$1$1$1 || (_templateObject2$3$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9900
|
+
var $size = _ref.$size;
|
|
9901
|
+
return $size;
|
|
9902
|
+
}, function (_ref2) {
|
|
9903
|
+
var $size = _ref2.$size;
|
|
9904
|
+
return $size;
|
|
9905
|
+
}, function (_ref3) {
|
|
9906
|
+
var $size = _ref3.$size;
|
|
9907
|
+
return $size / 4;
|
|
9908
|
+
}, function (_ref4) {
|
|
9909
|
+
var $color = _ref4.$color;
|
|
9910
|
+
return $color;
|
|
9911
|
+
}, spin$1$1$1);
|
|
9912
|
+
var LoaderWrapper$1$1$1 = styled__default.div(_templateObject3$1$1$1$1 || (_templateObject3$1$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9913
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
9914
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
9915
|
+
}, function (_ref6) {
|
|
9916
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
9917
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
9918
|
+
});
|
|
9919
|
+
var Container$1$1$1$1 = styled__default.div(_templateObject4$5$1$1 || (_templateObject4$5$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
|
|
9920
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
9921
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
9922
|
+
}, function (_ref8) {
|
|
9923
|
+
var gap = _ref8.gap;
|
|
9924
|
+
return gap || '4px';
|
|
9925
|
+
}, function (_ref9) {
|
|
9926
|
+
var cursor = _ref9.cursor;
|
|
9927
|
+
return cursor;
|
|
9928
|
+
});
|
|
9929
|
+
var StyledButton$1$1$1 = styled__default.button(_templateObject5$5$1$1 || (_templateObject5$5$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9930
|
+
var $disabled = _ref10.$disabled;
|
|
9931
|
+
return $disabled ? 'none' : 'auto';
|
|
9932
|
+
}, function (_ref11) {
|
|
9933
|
+
var $disabled = _ref11.$disabled;
|
|
9934
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9935
|
+
}, function (_ref12) {
|
|
9936
|
+
var $borderRadius = _ref12.$borderRadius;
|
|
9937
|
+
return $borderRadius || '8px';
|
|
9938
|
+
}, function (_ref13) {
|
|
9939
|
+
var $size = _ref13.$size,
|
|
9940
|
+
$padding = _ref13.$padding;
|
|
9941
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
9942
|
+
}, function (_ref14) {
|
|
9943
|
+
var _$borderHover$match;
|
|
9944
|
+
var $variant = _ref14.$variant,
|
|
9945
|
+
$disabled = _ref14.$disabled,
|
|
9946
|
+
$borderHover = _ref14.$borderHover,
|
|
9947
|
+
$borderDefault = _ref14.$borderDefault,
|
|
9948
|
+
$background = _ref14.$background,
|
|
9949
|
+
$color = _ref14.$color,
|
|
9950
|
+
$colorHover = _ref14.$colorHover;
|
|
9951
|
+
switch ($variant) {
|
|
9952
|
+
case 'primary':
|
|
9953
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1["default"].primary) + ";\n color: " + colorVariables$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.primary : "1px solid " + colorVariables$1$1$1["default"].primary) + ";\n &:hover {\n background: " + colorVariables$1$1$1.hover.primary + ";\n border: 1px solid " + colorVariables$1$1$1.hover.primary + ";\n }\n ";
|
|
9954
|
+
case 'secondary':
|
|
9955
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].secondary) + "; \n color: " + colorVariables$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.secondary : "1px solid " + colorVariables$1$1$1["default"].secondary) + ";\n &:hover{\n background: " + colorVariables$1$1$1.hover.secondary + ";\n border: 1px solid " + colorVariables$1$1$1.hover.secondary + ";\n }\n ";
|
|
9956
|
+
case 'tertiary':
|
|
9957
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1["default"].primary) + ";\n border: " + ($borderDefault ? "" + $borderDefault : "1px solid " + colorVariables$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.hover.primary) + ";\n border: " + ($borderHover ? $borderHover : "1px solid " + colorVariables$1$1$1.hover.primary) + ";\n }\n ";
|
|
9958
|
+
case 'error':
|
|
9959
|
+
return "\n background: " + ($disabled ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1["default"].error) + "; \n color: " + colorVariables$1$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.error : "1px solid " + colorVariables$1$1$1["default"].error) + ";\n &:hover{\n background: " + colorVariables$1$1$1.hover.error + ";\n border: 1px solid " + colorVariables$1$1$1.hover.error + ";\n }\n ";
|
|
9960
|
+
case 'outline-primary':
|
|
9961
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1["default"].primary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.primary : "1px solid " + colorVariables$1$1$1["default"].primary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1.hover.primary + ";\n color: " + colorVariables$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1.hover.primary + ";\n }\n ";
|
|
9962
|
+
case 'outline-secondary':
|
|
9963
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].secondary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.secondary : "1px solid " + colorVariables$1$1$1["default"].secondary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1.hover.secondary + ";\n color: " + colorVariables$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1.hover.secondary + ";\n }\n ";
|
|
9964
|
+
case 'outline-error':
|
|
9965
|
+
return "\n background: " + colorVariables$1$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1["default"].error) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1$1.disabled.error : "1px solid " + colorVariables$1$1$1["default"].error) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1$1.hover.error + ";\n color: " + colorVariables$1$1$1.text.white + ";\n background: " + colorVariables$1$1$1.hover.error + ";\n }\n ";
|
|
9966
|
+
case 'custom':
|
|
9967
|
+
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 ";
|
|
9968
|
+
default:
|
|
9969
|
+
return '';
|
|
9970
|
+
}
|
|
9971
|
+
}, function (_ref15) {
|
|
9972
|
+
var color = _ref15.color;
|
|
9973
|
+
return color;
|
|
9974
|
+
});
|
|
9975
|
+
var ButtonText$1$1$1 = styled__default.span(_templateObject6$5$1$1 || (_templateObject6$5$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref16) {
|
|
9976
|
+
var $fontFamily = _ref16.$fontFamily;
|
|
9977
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1$1.bold;
|
|
9978
|
+
}, function (_ref17) {
|
|
9979
|
+
var $size = _ref17.$size,
|
|
9980
|
+
$fontSize = _ref17.$fontSize;
|
|
9981
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9982
|
+
}, function (_ref18) {
|
|
9983
|
+
var $fontWeight = _ref18.$fontWeight,
|
|
9984
|
+
$size = _ref18.$size;
|
|
9985
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
9986
|
+
}, function (_ref19) {
|
|
9987
|
+
var $size = _ref19.$size,
|
|
9988
|
+
$fontSize = _ref19.$fontSize;
|
|
9989
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9990
|
+
});
|
|
9991
|
+
var _templateObject$6$1$1$1;
|
|
9992
|
+
var InnerContent$1$1$1 = styled__default.div(_templateObject$6$1$1$1 || (_templateObject$6$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9993
|
+
var $isScrollable = _ref.$isScrollable;
|
|
9994
|
+
return $isScrollable ? '0 12px' : '0';
|
|
9995
|
+
});
|
|
9996
|
+
var _templateObject$7$1$1$1, _templateObject2$4$1$1$1, _templateObject3$2$1$1$1, _templateObject4$1$1$1$1, _templateObject5$1$1$1$1, _templateObject6$1$1$1$1, _templateObject7$3$1$1, _templateObject8$3$1$1, _templateObject9$3$1$1, _templateObject10$3$1$1, _templateObject11$2$1$1, _templateObject12$1$1$1, _templateObject13$1$1$1, _templateObject14$1$1$1, _templateObject15$1$1$1, _templateObject16$1$1$1, _templateObject17$1$1$1, _templateObject18$1$1$1, _templateObject19$1$1$1, _templateObject20$1$1$1, _templateObject21$1$1$1;
|
|
9997
|
+
var DatePickerContainer$1$1$1 = styled__default.div(_templateObject$7$1$1$1 || (_templateObject$7$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n"])));
|
|
9998
|
+
var CalendarContainer$1$1$1 = styled__default.div(_templateObject2$4$1$1$1 || (_templateObject2$4$1$1$1 = _taggedTemplateLiteralLoose$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.border.medium);
|
|
9999
|
+
var Calendar$1$1$1$1 = styled__default.div(_templateObject3$2$1$1$1 || (_templateObject3$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
10000
|
+
var CalendarTime$1$1$1 = styled__default.div(_templateObject4$1$1$1$1 || (_templateObject4$1$1$1$1 = _taggedTemplateLiteralLoose$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.border.medium);
|
|
10001
|
+
var StartDate$1$1$1 = styled__default.div(_templateObject5$1$1$1$1 || (_templateObject5$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding-bottom: 4px;\n"])));
|
|
10002
|
+
var SelectedStart$1$1$1 = styled__default.div(_templateObject6$1$1$1$1 || (_templateObject6$1$1$1$1 = _taggedTemplateLiteralLoose$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.text.medium);
|
|
10003
|
+
var CurrentDate$1$1$1 = styled__default.p(_templateObject7$3$1$1 || (_templateObject7$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 12px;\n"])));
|
|
10004
|
+
var CurrentTime$1$1$1 = styled__default.div(_templateObject8$3$1$1 || (_templateObject8$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n color: ", ";\n"])), colorVariables$1$1$1.text.medium);
|
|
10005
|
+
var Selectedtime$1$1$1 = styled__default.div(_templateObject9$3$1$1 || (_templateObject9$3$1$1 = _taggedTemplateLiteralLoose$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.text.medium);
|
|
10006
|
+
var Line$1$1$1 = styled__default.div(_templateObject10$3$1$1 || (_templateObject10$3$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
10007
|
+
var Zones$1$1$1 = styled__default.div(_templateObject11$2$1$1 || (_templateObject11$2$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
10008
|
+
var CalendarHeader$1$1$1 = styled__default.div(_templateObject12$1$1$1 || (_templateObject12$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n"])));
|
|
10009
|
+
var CalendarMonthYear$1$1$1 = styled__default.span(_templateObject13$1$1$1 || (_templateObject13$1$1$1 = _taggedTemplateLiteralLoose$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.text.medium);
|
|
10010
|
+
var CalendarContent$1$1$1 = styled__default.div(_templateObject14$1$1$1 || (_templateObject14$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 5px;\n padding: 10px;\n"])));
|
|
10011
|
+
var Button$1$1$1 = styled__default.div(_templateObject15$1$1$1 || (_templateObject15$1$1$1 = _taggedTemplateLiteralLoose$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["default"].secondary, colorVariables$1$1$1.text.white, function (_ref) {
|
|
10012
|
+
var $size = _ref.$size;
|
|
10013
|
+
return $size ? $size + "px" : '30px';
|
|
10014
|
+
}, function (_ref2) {
|
|
10015
|
+
var $size = _ref2.$size;
|
|
10016
|
+
return $size ? $size + "px" : '30px';
|
|
10017
|
+
});
|
|
10018
|
+
var CalendarDates$1$1$1 = styled__default.div(_templateObject16$1$1$1 || (_templateObject16$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10019
|
+
var $size = _ref3.$size;
|
|
10020
|
+
return $size ? $size + "px" : '30px';
|
|
10021
|
+
}, function (_ref4) {
|
|
10022
|
+
var $size = _ref4.$size;
|
|
10023
|
+
return $size ? $size + "px" : '30px';
|
|
10024
|
+
}, function (_ref5) {
|
|
10025
|
+
var $isFuture = _ref5.$isFuture,
|
|
10026
|
+
$futureDateTime = _ref5.$futureDateTime;
|
|
10027
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
10028
|
+
}, function (_ref6) {
|
|
10029
|
+
var $isFuture = _ref6.$isFuture,
|
|
10030
|
+
$futureDateTime = _ref6.$futureDateTime;
|
|
10031
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
10032
|
+
}, function (_ref7) {
|
|
10033
|
+
var $selected = _ref7.$selected,
|
|
10034
|
+
$inRange = _ref7.$inRange;
|
|
10035
|
+
return $selected ? colorVariables$1$1$1["default"].primary : $inRange ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1["default"].tertiary;
|
|
10036
|
+
}, function (_ref8) {
|
|
10037
|
+
var $selected = _ref8.$selected,
|
|
10038
|
+
$inRange = _ref8.$inRange;
|
|
10039
|
+
return $selected ? colorVariables$1$1$1.text.white : $inRange ? colorVariables$1$1$1.text.white : colorVariables$1$1$1.text.medium;
|
|
10040
|
+
}, function (_ref9) {
|
|
10041
|
+
var $selected = _ref9.$selected,
|
|
10042
|
+
$inRange = _ref9.$inRange,
|
|
10043
|
+
$isFuture = _ref9.$isFuture,
|
|
10044
|
+
$futureDateTime = _ref9.$futureDateTime;
|
|
10045
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? colorVariables$1$1$1.disabled.primary : $inRange ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1.disabled.primary;
|
|
10046
|
+
});
|
|
10047
|
+
var Year$1$1$1 = styled__default.div(_templateObject17$1$1$1 || (_templateObject17$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 12px;\n"])));
|
|
10048
|
+
var Month$1$1$1 = styled__default.div(_templateObject18$1$1$1 || (_templateObject18$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 600;\n font-size: 14px;\n"])));
|
|
10049
|
+
var InputWrapper$1$1$1 = styled__default.div(_templateObject19$1$1$1 || (_templateObject19$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
10050
|
+
var TimeInputWrapper$1$1$1 = styled__default.div(_templateObject20$1$1$1 || (_templateObject20$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
10051
|
+
var StyledInput$1$1$1 = styled__default.input(_templateObject21$1$1$1 || (_templateObject21$1$1$1 = _taggedTemplateLiteralLoose$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.border.extraBold, colorVariables$1$1$1.text.dark);
|
|
10052
|
+
var _templateObject$8$1$1$1, _templateObject2$5$1$1$1, _templateObject3$3$1$1$1, _templateObject4$2$1$1$1, _templateObject5$2$1$1$1, _templateObject6$2$1$1$1;
|
|
10053
|
+
var OptionContainer$1$1$1 = styled__default.div(_templateObject$8$1$1$1 || (_templateObject$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
10054
|
+
var OptionItem$1$1$1 = styled__default.div(_templateObject2$5$1$1$1 || (_templateObject2$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
10055
|
+
var $optionBorder = _ref.$optionBorder,
|
|
10056
|
+
$isborder = _ref.$isborder;
|
|
10057
|
+
return $isborder ? $optionBorder || "1px solid " + colorVariables$1$1$1.border.extraLight : '';
|
|
10058
|
+
});
|
|
10059
|
+
var OptionLabel$1$1$1 = styled__default.label(_templateObject3$3$1$1$1 || (_templateObject3$3$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10060
|
+
var $optionColor = _ref2.$optionColor;
|
|
10061
|
+
switch ($optionColor) {
|
|
10062
|
+
case 'dark':
|
|
10063
|
+
return colorVariables$1$1$1.text.dark;
|
|
10064
|
+
case 'medium':
|
|
10065
|
+
return colorVariables$1$1$1.text.medium;
|
|
10066
|
+
case 'light':
|
|
10067
|
+
return colorVariables$1$1$1.text.light;
|
|
10068
|
+
case 'white':
|
|
10069
|
+
return colorVariables$1$1$1.text.white;
|
|
10070
|
+
case 'warning':
|
|
10071
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10072
|
+
case 'info':
|
|
10073
|
+
return colorVariables$1$1$1["default"].info;
|
|
10074
|
+
case 'success':
|
|
10075
|
+
return colorVariables$1$1$1["default"].success;
|
|
10076
|
+
case 'error':
|
|
10077
|
+
return colorVariables$1$1$1["default"].error;
|
|
10078
|
+
default:
|
|
10079
|
+
return $optionColor || colorVariables$1$1$1.text.medium;
|
|
10080
|
+
}
|
|
10081
|
+
});
|
|
10082
|
+
var SearchContainer$2$1$1 = styled__default.div(_templateObject4$2$1$1$1 || (_templateObject4$2$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10083
|
+
var $background = _ref3.$background;
|
|
10084
|
+
switch ($background) {
|
|
10085
|
+
case 'dark':
|
|
10086
|
+
return colorVariables$1$1$1.text.dark;
|
|
10087
|
+
case 'medium':
|
|
10088
|
+
return colorVariables$1$1$1.text.medium;
|
|
10089
|
+
case 'light':
|
|
10090
|
+
return colorVariables$1$1$1.text.light;
|
|
10091
|
+
case 'white':
|
|
10092
|
+
return colorVariables$1$1$1.text.white;
|
|
10093
|
+
case 'warning':
|
|
10094
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10095
|
+
case 'info':
|
|
10096
|
+
return colorVariables$1$1$1["default"].info;
|
|
10097
|
+
case 'success':
|
|
10098
|
+
return colorVariables$1$1$1["default"].success;
|
|
10099
|
+
case 'error':
|
|
10100
|
+
return colorVariables$1$1$1["default"].error;
|
|
10101
|
+
default:
|
|
10102
|
+
return $background;
|
|
10103
|
+
}
|
|
10104
|
+
}, function (_ref4) {
|
|
10105
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
10106
|
+
return $borderBottom || 'none';
|
|
10107
|
+
}, function (_ref5) {
|
|
10108
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
10109
|
+
return $borderRadius || '8px';
|
|
10110
|
+
});
|
|
10111
|
+
var SearchBar$2$1$1 = styled__default.input(_templateObject5$2$1$1$1 || (_templateObject5$2$1$1$1 = _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: 14px;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), colorVariables$1$1$1["default"].tertiary, function (_ref6) {
|
|
10112
|
+
var $inputColor = _ref6.$inputColor;
|
|
10113
|
+
switch ($inputColor) {
|
|
10114
|
+
case 'dark':
|
|
10115
|
+
return colorVariables$1$1$1.text.dark;
|
|
10116
|
+
case 'medium':
|
|
10117
|
+
return colorVariables$1$1$1.text.medium;
|
|
10118
|
+
case 'light':
|
|
10119
|
+
return colorVariables$1$1$1.text.light;
|
|
10120
|
+
case 'white':
|
|
10121
|
+
return colorVariables$1$1$1.text.white;
|
|
10122
|
+
case 'warning':
|
|
10123
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10124
|
+
case 'info':
|
|
10125
|
+
return colorVariables$1$1$1["default"].info;
|
|
10126
|
+
case 'success':
|
|
10127
|
+
return colorVariables$1$1$1["default"].success;
|
|
10128
|
+
case 'error':
|
|
10129
|
+
return colorVariables$1$1$1["default"].error;
|
|
10130
|
+
default:
|
|
10131
|
+
return $inputColor;
|
|
10132
|
+
}
|
|
10133
|
+
}, function (_ref7) {
|
|
10134
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
10135
|
+
switch ($placeholderColor) {
|
|
10136
|
+
case 'dark':
|
|
10137
|
+
return colorVariables$1$1$1.text.dark;
|
|
10138
|
+
case 'medium':
|
|
10139
|
+
return colorVariables$1$1$1.text.medium;
|
|
10140
|
+
case 'light':
|
|
10141
|
+
return colorVariables$1$1$1.text.light;
|
|
10142
|
+
case 'white':
|
|
10143
|
+
return colorVariables$1$1$1.text.white;
|
|
10144
|
+
case 'warning':
|
|
10145
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10146
|
+
case 'info':
|
|
10147
|
+
return colorVariables$1$1$1["default"].info;
|
|
10148
|
+
case 'success':
|
|
10149
|
+
return colorVariables$1$1$1["default"].success;
|
|
10150
|
+
case 'error':
|
|
10151
|
+
return colorVariables$1$1$1["default"].error;
|
|
10152
|
+
default:
|
|
10153
|
+
return $placeholderColor;
|
|
10154
|
+
}
|
|
10155
|
+
});
|
|
10156
|
+
var Text$1$1$1 = styled__default.span(_templateObject6$2$1$1$1 || (_templateObject6$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n word-break: break-word;\n"])));
|
|
10157
|
+
var _templateObject$9$1$1$1, _templateObject2$6$1$1$1, _templateObject3$4$1$1$1, _templateObject4$3$1$1$1, _templateObject5$3$1$1$1, _templateObject6$3$1$1$1, _templateObject7$1$1$1$1, _templateObject8$1$1$1$1, _templateObject9$1$1$1$1, _templateObject10$1$1$1$1, _templateObject11$1$1$1$1;
|
|
10158
|
+
var DropdownContainer$2$1$1 = styled__default.div(_templateObject$9$1$1$1 || (_templateObject$9$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
10159
|
+
var $width = _ref.$width;
|
|
10160
|
+
return $width || '100%';
|
|
10161
|
+
}, function (_ref2) {
|
|
10162
|
+
var $height = _ref2.$height;
|
|
10163
|
+
return $height || '100%';
|
|
10164
|
+
}, function (_ref3) {
|
|
10165
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
10166
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
10167
|
+
});
|
|
10168
|
+
var DropdownButton$2$1$1 = styled__default.div(_templateObject2$6$1$1$1 || (_templateObject2$6$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10169
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
10170
|
+
return $replaceLabel ? 'auto' : '';
|
|
10171
|
+
}, function (_ref5) {
|
|
10172
|
+
var $size = _ref5.$size;
|
|
10173
|
+
switch ($size) {
|
|
10174
|
+
case 'small':
|
|
10175
|
+
return '9px 12px';
|
|
10176
|
+
case 'large':
|
|
10177
|
+
return '24px 12px';
|
|
10178
|
+
default:
|
|
10179
|
+
return '14px 12px';
|
|
10180
|
+
}
|
|
10181
|
+
}, function (_ref6) {
|
|
10182
|
+
var $width = _ref6.$width;
|
|
10183
|
+
return $width ? $width : '100%';
|
|
10184
|
+
}, function (_ref7) {
|
|
10185
|
+
var $height = _ref7.$height;
|
|
10186
|
+
return $height || '100%';
|
|
10187
|
+
}, function (_ref8) {
|
|
10188
|
+
var $border = _ref8.$border,
|
|
10189
|
+
$isOpen = _ref8.$isOpen;
|
|
10190
|
+
return $isOpen ? "1px solid " + colorVariables$1$1$1.text.dark : $border || "1px solid " + colorVariables$1$1$1.border.light;
|
|
10191
|
+
}, function (_ref9) {
|
|
10192
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
10193
|
+
return $borderRadius || '8px';
|
|
10194
|
+
}, function (_ref10) {
|
|
10195
|
+
var $disabled = _ref10.$disabled;
|
|
10196
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10197
|
+
}, function (_ref11) {
|
|
10198
|
+
var $background = _ref11.$background,
|
|
10199
|
+
$disabled = _ref11.$disabled;
|
|
10200
|
+
switch ($background) {
|
|
10201
|
+
case 'dark':
|
|
10202
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.dark;
|
|
10203
|
+
case 'medium':
|
|
10204
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.medium;
|
|
10205
|
+
case 'light':
|
|
10206
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.light;
|
|
10207
|
+
case 'white':
|
|
10208
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.white;
|
|
10209
|
+
case 'warning':
|
|
10210
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].warning;
|
|
10211
|
+
case 'info':
|
|
10212
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].info;
|
|
10213
|
+
case 'success':
|
|
10214
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].success;
|
|
10215
|
+
case 'error':
|
|
10216
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].error;
|
|
10217
|
+
default:
|
|
10218
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10219
|
+
}
|
|
10220
|
+
}, function (_ref12) {
|
|
10221
|
+
var $color = _ref12.$color;
|
|
10222
|
+
return $color || colorVariables$1$1$1.text.medium;
|
|
10223
|
+
}, function (_ref13) {
|
|
10224
|
+
var $size = _ref13.$size;
|
|
10225
|
+
switch ($size) {
|
|
10226
|
+
case 'small':
|
|
10227
|
+
return '12px';
|
|
10228
|
+
case 'large':
|
|
10229
|
+
return '16px';
|
|
10230
|
+
default:
|
|
10231
|
+
return '14px';
|
|
10232
|
+
}
|
|
10233
|
+
}, function (_ref14) {
|
|
10234
|
+
var $size = _ref14.$size;
|
|
10235
|
+
switch ($size) {
|
|
10236
|
+
case 'small':
|
|
10237
|
+
return '12px';
|
|
10238
|
+
case 'large':
|
|
10239
|
+
return '16px';
|
|
10240
|
+
default:
|
|
10241
|
+
return '14px';
|
|
10242
|
+
}
|
|
10243
|
+
});
|
|
10244
|
+
var TitleText$2$1$1 = styled__default.div(_templateObject3$4$1$1$1 || (_templateObject3$4$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10245
|
+
var $titleSize = _ref15.$titleSize,
|
|
10246
|
+
$size = _ref15.$size;
|
|
10247
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
10248
|
+
}, function (_ref16) {
|
|
10249
|
+
var $titleSize = _ref16.$titleSize,
|
|
10250
|
+
$size = _ref16.$size;
|
|
10251
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
10252
|
+
}, function (_ref17) {
|
|
10253
|
+
var $titleColor = _ref17.$titleColor;
|
|
10254
|
+
switch ($titleColor) {
|
|
10255
|
+
case 'dark':
|
|
10256
|
+
return colorVariables$1$1$1.text.dark;
|
|
10257
|
+
case 'medium':
|
|
10258
|
+
return colorVariables$1$1$1.text.medium;
|
|
10259
|
+
case 'light':
|
|
10260
|
+
return colorVariables$1$1$1.text.light;
|
|
10261
|
+
case 'white':
|
|
10262
|
+
return colorVariables$1$1$1.text.white;
|
|
10263
|
+
case 'warning':
|
|
10264
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10265
|
+
case 'info':
|
|
10266
|
+
return colorVariables$1$1$1["default"].info;
|
|
10267
|
+
case 'success':
|
|
10268
|
+
return colorVariables$1$1$1["default"].success;
|
|
10269
|
+
case 'error':
|
|
10270
|
+
return colorVariables$1$1$1["default"].error;
|
|
10271
|
+
default:
|
|
10272
|
+
return $titleColor;
|
|
10273
|
+
}
|
|
10274
|
+
});
|
|
10275
|
+
var Container$2$1$1$1 = styled__default.div(_templateObject4$3$1$1$1 || (_templateObject4$3$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
10276
|
+
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
|
+
var $labelStyle = _ref18.$labelStyle;
|
|
10278
|
+
return $labelStyle;
|
|
10279
|
+
}, colorVariables$1$1$1.text.light);
|
|
10280
|
+
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
|
+
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
10282
|
+
return $optionsBorderRadius || '8px';
|
|
10283
|
+
}, function (_ref20) {
|
|
10284
|
+
var $width = _ref20.$width;
|
|
10285
|
+
return $width ? $width : 'max-content';
|
|
10286
|
+
}, function (_ref21) {
|
|
10287
|
+
var $menuBackground = _ref21.$menuBackground;
|
|
10288
|
+
return $menuBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10289
|
+
});
|
|
10290
|
+
var SelectedOptionsWrapper$2$1$1 = styled__default.div(_templateObject7$1$1$1$1 || (_templateObject7$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
10291
|
+
var SelectedOptionDiv$2$1$1 = styled__default.div(_templateObject8$1$1$1$1 || (_templateObject8$1$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10292
|
+
var $selectedOptionBackground = _ref22.$selectedOptionBackground,
|
|
10293
|
+
$disabled = _ref22.$disabled;
|
|
10294
|
+
switch ($selectedOptionBackground) {
|
|
10295
|
+
case 'dark':
|
|
10296
|
+
return colorVariables$1$1$1.text.dark;
|
|
10297
|
+
case 'medium':
|
|
10298
|
+
return colorVariables$1$1$1.text.medium;
|
|
10299
|
+
case 'light':
|
|
10300
|
+
return colorVariables$1$1$1.text.light;
|
|
10301
|
+
case 'white':
|
|
10302
|
+
return colorVariables$1$1$1.text.white;
|
|
10303
|
+
case 'warning':
|
|
10304
|
+
return $disabled ? colorVariables$1$1$1.disabled.warning : colorVariables$1$1$1["default"].warning;
|
|
10305
|
+
case 'info':
|
|
10306
|
+
return $disabled ? colorVariables$1$1$1.disabled.info : colorVariables$1$1$1["default"].info;
|
|
10307
|
+
case 'success':
|
|
10308
|
+
return $disabled ? colorVariables$1$1$1.disabled.success : colorVariables$1$1$1["default"].success;
|
|
10309
|
+
case 'error':
|
|
10310
|
+
return $disabled ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1["default"].error;
|
|
10311
|
+
default:
|
|
10312
|
+
return $selectedOptionBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10313
|
+
}
|
|
10314
|
+
}, function (_ref23) {
|
|
10315
|
+
var $selectedOptionColor = _ref23.$selectedOptionColor;
|
|
10316
|
+
switch ($selectedOptionColor) {
|
|
10317
|
+
case 'dark':
|
|
10318
|
+
return colorVariables$1$1$1.text.dark;
|
|
10319
|
+
case 'medium':
|
|
10320
|
+
return colorVariables$1$1$1.text.medium;
|
|
10321
|
+
case 'light':
|
|
10322
|
+
return colorVariables$1$1$1.text.light;
|
|
10323
|
+
case 'white':
|
|
10324
|
+
return colorVariables$1$1$1.text.white;
|
|
10325
|
+
case 'warning':
|
|
10326
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10327
|
+
case 'info':
|
|
10328
|
+
return colorVariables$1$1$1["default"].info;
|
|
10329
|
+
case 'success':
|
|
10330
|
+
return colorVariables$1$1$1["default"].success;
|
|
10331
|
+
case 'error':
|
|
10332
|
+
return colorVariables$1$1$1["default"].error;
|
|
10333
|
+
default:
|
|
10334
|
+
return $selectedOptionColor;
|
|
10335
|
+
}
|
|
10336
|
+
});
|
|
10337
|
+
var RemoveIcon$2$1$1 = styled__default.div(_templateObject9$1$1$1$1 || (_templateObject9$1$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10338
|
+
var $disabled = _ref24.$disabled;
|
|
10339
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10340
|
+
}, function (_ref25) {
|
|
10341
|
+
var removeIconBackground = _ref25.removeIconBackground,
|
|
10342
|
+
$type = _ref25.$type;
|
|
10343
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1.disabled.primary;
|
|
10344
|
+
}, function (_ref26) {
|
|
10345
|
+
var $disabled = _ref26.$disabled;
|
|
10346
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10347
|
+
});
|
|
10348
|
+
var TextWrapper$1$1$1 = styled__default.div(_templateObject10$1$1$1$1 || (_templateObject10$1$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
10349
|
+
var Asterisk$1$1$1 = styled__default.span(_templateObject11$1$1$1$1 || (_templateObject11$1$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);
|
|
10350
|
+
var _templateObject$a$1$1$1, _templateObject2$7$1$1$1, _templateObject3$5$1$1$1;
|
|
10351
|
+
var SelectedOptionsWrapper$1$1$1$1 = styled__default.div(_templateObject$a$1$1$1 || (_templateObject$a$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
10352
|
+
var SelectedOptionDiv$1$1$1$1 = styled__default.div(_templateObject2$7$1$1$1 || (_templateObject2$7$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10353
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
10354
|
+
$type = _ref.$type;
|
|
10355
|
+
return $selectedOptionBackground || $type === 'remove' ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1.accent.softBlue;
|
|
10356
|
+
}, function (_ref2) {
|
|
10357
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
10358
|
+
$type = _ref2.$type;
|
|
10359
|
+
return $selectedOptionColor || $type === 'remove' ? colorVariables$1$1$1["default"].error : colorVariables$1$1$1.brand.primary;
|
|
10360
|
+
});
|
|
10361
|
+
var RemoveIcon$1$1$1$1 = styled__default.div(_templateObject3$5$1$1$1 || (_templateObject3$5$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10362
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
10363
|
+
$type = _ref3.$type;
|
|
10364
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1.disabled.primary;
|
|
10365
|
+
});
|
|
10366
|
+
var _templateObject$b$1$1$1, _templateObject2$8$1$1$1, _templateObject3$6$1$1$1, _templateObject4$4$1$1$1, _templateObject5$4$1$1$1, _templateObject6$4$1$1$1, _templateObject7$2$1$1$1, _templateObject8$2$1$1$1, _templateObject9$2$1$1$1, _templateObject10$2$1$1$1;
|
|
10367
|
+
var TitleText$1$1$1$1 = styled__default.label(_templateObject$b$1$1$1 || (_templateObject$b$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n width: max-content;\n font-weight: ", ";\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
10368
|
+
var $titleWeight = _ref.$titleWeight;
|
|
10369
|
+
return $titleWeight || 500;
|
|
10370
|
+
}, function (_ref2) {
|
|
10371
|
+
var $size = _ref2.$size;
|
|
10372
|
+
switch ($size) {
|
|
10373
|
+
case 'small':
|
|
10374
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
10375
|
+
case 'medium':
|
|
10376
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10377
|
+
case 'large':
|
|
10378
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
10379
|
+
default:
|
|
10380
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10381
|
+
}
|
|
10382
|
+
}, function (_ref3) {
|
|
10383
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10384
|
+
switch ($titlecolor) {
|
|
10385
|
+
case 'dark':
|
|
10386
|
+
return colorVariables$1$1$1.text.dark;
|
|
10387
|
+
case 'medium':
|
|
10388
|
+
return colorVariables$1$1$1.text.medium;
|
|
10389
|
+
case 'light':
|
|
10390
|
+
return colorVariables$1$1$1.text.light;
|
|
10391
|
+
case 'white':
|
|
10392
|
+
return colorVariables$1$1$1.text.white;
|
|
10393
|
+
case 'warning':
|
|
10394
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10395
|
+
case 'info':
|
|
10396
|
+
return colorVariables$1$1$1["default"].info;
|
|
10397
|
+
case 'success':
|
|
10398
|
+
return colorVariables$1$1$1["default"].success;
|
|
10399
|
+
case 'error':
|
|
10400
|
+
return colorVariables$1$1$1["default"].error;
|
|
10401
|
+
default:
|
|
10402
|
+
return $titlecolor;
|
|
10403
|
+
}
|
|
10404
|
+
});
|
|
10405
|
+
var DropdownContainer$1$1$1$1 = styled__default.div(_templateObject2$8$1$1$1 || (_templateObject2$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n width: ", ";\n max-width: 100%;\n position: relative;\n gap: 8px;\n display: flex;\n"])), function (_ref4) {
|
|
10406
|
+
var $width = _ref4.$width;
|
|
10407
|
+
return $width || '100%';
|
|
10408
|
+
});
|
|
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) {
|
|
10410
|
+
var $disabled = _ref5.$disabled;
|
|
10411
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10412
|
+
}, function (_ref6) {
|
|
10413
|
+
var $width = _ref6.$width;
|
|
10414
|
+
return $width ? $width : '100%';
|
|
10415
|
+
}, function (_ref7) {
|
|
10416
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
10417
|
+
return $selectHeight || 'auto';
|
|
10418
|
+
}, function (_ref8) {
|
|
10419
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
10420
|
+
return $borderRadius || '8px';
|
|
10421
|
+
}, function (_ref9) {
|
|
10422
|
+
var $border = _ref9.$border;
|
|
10423
|
+
return $border || "1px solid " + colorVariables$1$1$1.border.light;
|
|
10424
|
+
}, function (_ref10) {
|
|
10425
|
+
var $size = _ref10.$size;
|
|
10426
|
+
switch ($size) {
|
|
10427
|
+
case 'small':
|
|
10428
|
+
return '9px 12px';
|
|
10429
|
+
case 'large':
|
|
10430
|
+
return '24px 12px';
|
|
10431
|
+
default:
|
|
10432
|
+
return '13px 12px';
|
|
10433
|
+
}
|
|
10434
|
+
}, function (_ref11) {
|
|
10435
|
+
var $background = _ref11.$background,
|
|
10436
|
+
$disabled = _ref11.$disabled;
|
|
10437
|
+
return $disabled ? colorVariables$1$1$1.border.light : $background || colorVariables$1$1$1.accent.extraLight;
|
|
10438
|
+
}, function (_ref12) {
|
|
10439
|
+
var $size = _ref12.$size;
|
|
10440
|
+
switch ($size) {
|
|
10441
|
+
case 'small':
|
|
10442
|
+
return '12px';
|
|
10443
|
+
case 'large':
|
|
10444
|
+
return '16px';
|
|
10445
|
+
default:
|
|
10446
|
+
return '14px';
|
|
10447
|
+
}
|
|
10448
|
+
}, function (_ref13) {
|
|
10449
|
+
var $size = _ref13.$size;
|
|
10450
|
+
switch ($size) {
|
|
10451
|
+
case 'small':
|
|
10452
|
+
return '12px';
|
|
10453
|
+
case 'large':
|
|
10454
|
+
return '16px';
|
|
10455
|
+
default:
|
|
10456
|
+
return '14px';
|
|
10457
|
+
}
|
|
10458
|
+
});
|
|
10459
|
+
var Options$1$1$1 = styled__default.div(_templateObject4$4$1$1$1 || (_templateObject4$4$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10460
|
+
var $optionColor = _ref14.$optionColor,
|
|
10461
|
+
$optionSelected = _ref14.$optionSelected;
|
|
10462
|
+
return $optionSelected ? colorVariables$1$1$1.text.white : $optionColor || colorVariables$1$1$1.text.medium;
|
|
10463
|
+
}, function (_ref15) {
|
|
10464
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
10465
|
+
return $optionFontSize || '14px';
|
|
10466
|
+
}, function (_ref16) {
|
|
10467
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
10468
|
+
return $optionFontWeight || 400;
|
|
10469
|
+
}, function (_ref17) {
|
|
10470
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
10471
|
+
$optionSelected = _ref17.$optionSelected;
|
|
10472
|
+
return $optionSelected ? colorVariables$1$1$1["default"].primary : $optionBackgroundColor || colorVariables$1$1$1["default"].tertiary;
|
|
10473
|
+
}, colorVariables$1$1$1.hover.primary, colorVariables$1$1$1.text.white);
|
|
10474
|
+
var LabelText$1$1$1$1 = styled__default.div(_templateObject5$4$1$1$1 || (_templateObject5$4$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref18) {
|
|
10475
|
+
var $size = _ref18.$size;
|
|
10476
|
+
switch ($size) {
|
|
10477
|
+
case 'small':
|
|
10478
|
+
return '14px';
|
|
10479
|
+
case 'large':
|
|
10480
|
+
return '16px';
|
|
10481
|
+
default:
|
|
10482
|
+
return '14px';
|
|
10483
|
+
}
|
|
10484
|
+
}, function (_ref19) {
|
|
10485
|
+
var $size = _ref19.$size;
|
|
10486
|
+
switch ($size) {
|
|
10487
|
+
case 'small':
|
|
10488
|
+
return '12px';
|
|
10489
|
+
case 'large':
|
|
10490
|
+
return '16px';
|
|
10491
|
+
default:
|
|
10492
|
+
return '14px';
|
|
10493
|
+
}
|
|
10494
|
+
}, function (_ref20) {
|
|
10495
|
+
var $fontStyle = _ref20.$fontStyle;
|
|
10496
|
+
return $fontStyle || '';
|
|
10497
|
+
}, function (_ref21) {
|
|
10498
|
+
var $color = _ref21.$color,
|
|
10499
|
+
$disabled = _ref21.$disabled;
|
|
10500
|
+
return $disabled ? colorVariables$1$1$1.text.medium : $color || colorVariables$1$1$1.text.medium;
|
|
10501
|
+
});
|
|
10502
|
+
var NoOptions$1$1$1 = styled__default(Span$1$1$1)(_templateObject6$4$1$1$1 || (_templateObject6$4$1$1$1 = _taggedTemplateLiteralLoose$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"])));
|
|
10503
|
+
var DropdownMenu$1$1$1$1 = styled__default.div(_templateObject7$2$1$1$1 || (_templateObject7$2$1$1$1 = _taggedTemplateLiteralLoose$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.border.light, function (_ref22) {
|
|
10504
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
10505
|
+
return $optionsBorderRadius || '8px';
|
|
10506
|
+
}, function (_ref23) {
|
|
10507
|
+
var $width = _ref23.$width;
|
|
10508
|
+
return $width ? $width : 'max-content';
|
|
10509
|
+
}, function (_ref24) {
|
|
10510
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
10511
|
+
return $menuBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10512
|
+
}, function (_ref25) {
|
|
10513
|
+
var $top = _ref25.$top;
|
|
10514
|
+
return $top && "top: " + $top + ";";
|
|
10515
|
+
}, function (_ref26) {
|
|
10516
|
+
var $bottom = _ref26.$bottom;
|
|
10517
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
10518
|
+
});
|
|
10519
|
+
var OptionsWrapper$1$1$1 = styled__default.div(_templateObject8$2$1$1$1 || (_templateObject8$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n max-height: 150px; \n overflow-y: auto;\n scrollbar-width: thin;\n width: 100%;\n"])));
|
|
10520
|
+
var SearchContainer$1$1$1$1 = styled__default.div(_templateObject9$2$1$1$1 || (_templateObject9$2$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
10521
|
+
var $background = _ref27.$background;
|
|
10522
|
+
return $background || colorVariables$1$1$1.accent.extraLight;
|
|
10523
|
+
}, function (_ref28) {
|
|
10524
|
+
var $border = _ref28.$border;
|
|
10525
|
+
return $border || 'none';
|
|
10526
|
+
}, colorVariables$1$1$1.border.light, function (_ref29) {
|
|
10527
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
10528
|
+
return $borderRadius || '8px 8px 0 0';
|
|
10529
|
+
});
|
|
10530
|
+
var SearchBar$1$1$1$1 = styled__default.input(_templateObject10$2$1$1$1 || (_templateObject10$2$1$1$1 = _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: transparent;\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref30) {
|
|
10531
|
+
var $inputColor = _ref30.$inputColor;
|
|
10532
|
+
return $inputColor || colorVariables$1$1$1.text.medium;
|
|
10533
|
+
}, function (_ref31) {
|
|
10534
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
10535
|
+
return $placeholderColor || colorVariables$1$1$1.text.light;
|
|
10536
|
+
});
|
|
10537
|
+
var _templateObject$c$1$1$1, _templateObject2$9$1$1$1;
|
|
10538
|
+
var ModalOverlay$1$1$1 = styled__default.div(_templateObject$c$1$1$1 || (_templateObject$c$1$1$1 = _taggedTemplateLiteralLoose$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"])));
|
|
10539
|
+
var ModalContainer$1$1$1 = styled__default.div(_templateObject2$9$1$1$1 || (_templateObject2$9$1$1$1 = _taggedTemplateLiteralLoose$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.accent.light, function (_ref) {
|
|
10540
|
+
var $maxWidth = _ref.$maxWidth;
|
|
10541
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
10542
|
+
});
|
|
10543
|
+
var _templateObject$d$1$1$1, _templateObject2$a$1$1$1;
|
|
10544
|
+
var SearchContainer$2$1$1$1 = styled__default.div(_templateObject$d$1$1$1 || (_templateObject$d$1$1$1 = _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"])), function (_ref) {
|
|
10545
|
+
var $background = _ref.$background;
|
|
10546
|
+
return $background || colorVariables$1$1$1["default"].tertiary;
|
|
10547
|
+
}, function (_ref2) {
|
|
10548
|
+
var $border = _ref2.$border;
|
|
10549
|
+
return $border || 'none';
|
|
10550
|
+
}, function (_ref3) {
|
|
10551
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
10552
|
+
return $borderRadius || '8px';
|
|
10553
|
+
});
|
|
10554
|
+
var SearchBar$2$1$1$1 = styled__default.input(_templateObject2$a$1$1$1 || (_templateObject2$a$1$1$1 = _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["default"].tertiary, function (_ref4) {
|
|
10555
|
+
var $inputColor = _ref4.$inputColor;
|
|
10556
|
+
return $inputColor || colorVariables$1$1$1.text.medium;
|
|
10557
|
+
}, function (_ref5) {
|
|
10558
|
+
var $placeholderColor = _ref5.$placeholderColor;
|
|
10559
|
+
return $placeholderColor || colorVariables$1$1$1.text.light;
|
|
10560
|
+
});
|
|
10561
|
+
var _templateObject$e, _templateObject2$b, _templateObject3$7$1$1$1, _templateObject4$5$1$1$1, _templateObject5$5$1$1$1;
|
|
10562
|
+
var Label = styled__default.label(_templateObject$e || (_templateObject$e = _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) {
|
|
10563
|
+
var $fontWeight = _ref.$fontWeight;
|
|
10564
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
10565
|
+
}, function (_ref2) {
|
|
10566
|
+
var $size = _ref2.$size;
|
|
10567
|
+
switch ($size) {
|
|
10568
|
+
case 'small':
|
|
10569
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
10570
|
+
case 'medium':
|
|
10571
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10572
|
+
case 'large':
|
|
10573
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
10574
|
+
default:
|
|
10575
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10576
|
+
}
|
|
10577
|
+
}, function (_ref3) {
|
|
10578
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10579
|
+
switch ($titlecolor) {
|
|
10580
|
+
case 'dark':
|
|
10581
|
+
return colorVariables$1$1$1.text.dark;
|
|
10582
|
+
case 'medium':
|
|
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';
|
|
10603
|
+
}, function (_ref5) {
|
|
10604
|
+
var $disabled = _ref5.$disabled,
|
|
10605
|
+
$background = _ref5.$background;
|
|
10606
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10607
|
+
}, function (_ref6) {
|
|
10608
|
+
var $color = _ref6.$color;
|
|
10609
|
+
return $color;
|
|
10610
|
+
}, function (_ref7) {
|
|
10611
|
+
var $disabled = _ref7.$disabled;
|
|
10612
|
+
return $disabled ? 'none' : 'auto';
|
|
10613
|
+
}, function (_ref8) {
|
|
10614
|
+
var $size = _ref8.$size,
|
|
10615
|
+
$type = _ref8.$type;
|
|
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
|
+
}
|
|
10626
|
+
}, function (_ref9) {
|
|
10627
|
+
var $color = _ref9.$color;
|
|
10628
|
+
switch ($color) {
|
|
10629
|
+
case 'dark':
|
|
10630
|
+
return colorVariables$1$1$1.text.dark;
|
|
10631
|
+
case 'medium':
|
|
10632
|
+
return colorVariables$1$1$1.text.medium;
|
|
10633
|
+
case 'light':
|
|
10634
|
+
return colorVariables$1$1$1.text.light;
|
|
10635
|
+
case 'white':
|
|
10636
|
+
return colorVariables$1$1$1.text.white;
|
|
10637
|
+
case 'warning':
|
|
10638
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10639
|
+
case 'info':
|
|
10640
|
+
return colorVariables$1$1$1["default"].info;
|
|
10641
|
+
case 'success':
|
|
10642
|
+
return colorVariables$1$1$1["default"].success;
|
|
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;
|
|
10658
|
+
return $padding;
|
|
10659
|
+
});
|
|
10660
|
+
var Label$1 = styled__default.label(_templateObject2$c || (_templateObject2$c = _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) {
|
|
10661
|
+
var $fontWeight = _ref2.$fontWeight;
|
|
10662
|
+
return $fontWeight != null ? $fontWeight : '500';
|
|
10663
|
+
}, function (_ref3) {
|
|
10664
|
+
var $size = _ref3.$size;
|
|
10665
|
+
switch ($size) {
|
|
10666
|
+
case 'small':
|
|
10667
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
10668
|
+
case 'medium':
|
|
10669
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10670
|
+
case 'large':
|
|
10671
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
10672
|
+
default:
|
|
10673
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10674
|
+
}
|
|
10675
|
+
}, function (_ref4) {
|
|
10676
|
+
var $titlecolor = _ref4.$titlecolor;
|
|
10677
|
+
return $titlecolor || colorVariables$1$1$1.text.dark;
|
|
10678
|
+
});
|
|
10679
|
+
var TextAreaComponent = styled__default.textarea(_templateObject3$8 || (_templateObject3$8 = _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) {
|
|
10680
|
+
var $disabled = _ref5.$disabled;
|
|
10681
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
10682
|
+
}, function (_ref6) {
|
|
10683
|
+
var $disabled = _ref6.$disabled,
|
|
10684
|
+
$background = _ref6.$background;
|
|
10685
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10686
|
+
}, function (_ref7) {
|
|
10687
|
+
var $color = _ref7.$color;
|
|
10688
|
+
return $color;
|
|
10689
|
+
}, function (_ref8) {
|
|
10690
|
+
var $size = _ref8.$size;
|
|
10691
|
+
switch ($size) {
|
|
10692
|
+
case 'small':
|
|
10693
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
10694
|
+
case 'medium':
|
|
10695
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
10696
|
+
case 'large':
|
|
10697
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
10698
|
+
default:
|
|
10699
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
10700
|
+
}
|
|
10701
|
+
}, function (_ref9) {
|
|
10702
|
+
var $color = _ref9.$color;
|
|
10703
|
+
return $color || colorVariables$1$1$1.text.dark;
|
|
10704
|
+
}, colorVariables$1$1$1.text.light);
|
|
10705
|
+
var _templateObject$g, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$6, _templateObject6$5$1$1$1, _templateObject7$3$1$1$1;
|
|
10706
|
+
var OptionContainer$1$1$1$1 = styled__default.div(_templateObject$g || (_templateObject$g = _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);
|
|
10707
|
+
var OptionItem$1$1$1$1 = styled__default.div(_templateObject2$d || (_templateObject2$d = _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) {
|
|
10708
|
+
var $optionSelected = _ref.$optionSelected;
|
|
10709
|
+
return $optionSelected ? colorVariables$1$1$1.text.white : colorVariables$1$1$1.text.medium;
|
|
10710
|
+
}, function (_ref2) {
|
|
10711
|
+
var $optionSelected = _ref2.$optionSelected;
|
|
10712
|
+
return $optionSelected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.white;
|
|
10713
|
+
}, colorVariables$1$1$1.hover.primary, colorVariables$1$1$1.text.white);
|
|
10714
|
+
var TotalOptionsHeader = styled__default.div(_templateObject3$9 || (_templateObject3$9 = _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);
|
|
10715
|
+
var OptionLabel$1$1$1$1 = styled__default.label(_templateObject4$6 || (_templateObject4$6 = _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"])));
|
|
10716
|
+
var SearchContainer$3 = styled__default.div(_templateObject5$6 || (_templateObject5$6 = _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
|
+
var $background = _ref3.$background;
|
|
10718
|
+
switch ($background) {
|
|
10719
|
+
case 'dark':
|
|
10720
|
+
return colorVariables$1$1$1.text.dark;
|
|
10721
|
+
case 'medium':
|
|
10722
|
+
return colorVariables$1$1$1.text.medium;
|
|
10723
|
+
case 'light':
|
|
10724
|
+
return colorVariables$1$1$1.text.light;
|
|
10725
|
+
case 'white':
|
|
10726
|
+
return colorVariables$1$1$1.text.white;
|
|
10727
|
+
case 'warning':
|
|
10728
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10729
|
+
case 'info':
|
|
10730
|
+
return colorVariables$1$1$1["default"].info;
|
|
10731
|
+
case 'success':
|
|
10732
|
+
return colorVariables$1$1$1["default"].success;
|
|
10733
|
+
case 'error':
|
|
10734
|
+
return colorVariables$1$1$1["default"].error;
|
|
10735
|
+
default:
|
|
10736
|
+
return $background;
|
|
10737
|
+
}
|
|
10738
|
+
}, function (_ref4) {
|
|
10739
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
10740
|
+
return $borderBottom || 'none';
|
|
10741
|
+
}, function (_ref5) {
|
|
10742
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
10743
|
+
return $borderRadius || '8px';
|
|
10744
|
+
});
|
|
10745
|
+
var SearchBar$3 = styled__default.input(_templateObject6$5$1$1$1 || (_templateObject6$5$1$1$1 = _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
|
+
var $inputColor = _ref6.$inputColor;
|
|
10747
|
+
switch ($inputColor) {
|
|
10748
|
+
case 'dark':
|
|
10749
|
+
return colorVariables$1$1$1.text.dark;
|
|
10750
|
+
case 'medium':
|
|
10751
|
+
return colorVariables$1$1$1.text.medium;
|
|
10752
|
+
case 'light':
|
|
10753
|
+
return colorVariables$1$1$1.text.light;
|
|
10754
|
+
case 'white':
|
|
10755
|
+
return colorVariables$1$1$1.text.white;
|
|
10756
|
+
case 'warning':
|
|
10757
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10758
|
+
case 'info':
|
|
10759
|
+
return colorVariables$1$1$1["default"].info;
|
|
10760
|
+
case 'success':
|
|
10761
|
+
return colorVariables$1$1$1["default"].success;
|
|
10762
|
+
case 'error':
|
|
10763
|
+
return colorVariables$1$1$1["default"].error;
|
|
10764
|
+
default:
|
|
10765
|
+
return $inputColor;
|
|
10766
|
+
}
|
|
10767
|
+
}, function (_ref7) {
|
|
10768
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
10769
|
+
switch ($placeholderColor) {
|
|
10770
|
+
case 'dark':
|
|
10771
|
+
return colorVariables$1$1$1.text.dark;
|
|
10772
|
+
case 'medium':
|
|
10773
|
+
return colorVariables$1$1$1.text.medium;
|
|
10774
|
+
case 'light':
|
|
10775
|
+
return colorVariables$1$1$1.text.light;
|
|
10776
|
+
case 'white':
|
|
10777
|
+
return colorVariables$1$1$1.text.white;
|
|
10778
|
+
case 'warning':
|
|
10779
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10780
|
+
case 'info':
|
|
10781
|
+
return colorVariables$1$1$1["default"].info;
|
|
10782
|
+
case 'success':
|
|
10783
|
+
return colorVariables$1$1$1["default"].success;
|
|
10784
|
+
case 'error':
|
|
10785
|
+
return colorVariables$1$1$1["default"].error;
|
|
10786
|
+
default:
|
|
10787
|
+
return $placeholderColor;
|
|
10788
|
+
}
|
|
10789
|
+
});
|
|
10790
|
+
var OptionsWrapper$1$1$1$1 = styled__default.div(_templateObject7$3$1$1$1 || (_templateObject7$3$1$1$1 = _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);
|
|
10791
|
+
var _templateObject$h, _templateObject2$e;
|
|
10792
|
+
var StyledInput$1$1$1$1 = styled__default.input(_templateObject$h || (_templateObject$h = _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
|
+
var $checkboxSize = _ref.$checkboxSize;
|
|
10794
|
+
return $checkboxSize + "px";
|
|
10795
|
+
}, function (_ref2) {
|
|
10796
|
+
var $checkboxSize = _ref2.$checkboxSize;
|
|
10797
|
+
return $checkboxSize + "px";
|
|
10798
|
+
}, function (_ref3) {
|
|
10799
|
+
var $checked = _ref3.$checked,
|
|
10800
|
+
$borderSize = _ref3.$borderSize;
|
|
10801
|
+
return $checked ? $borderSize + "px solid " + colorVariables$1$1$1["default"].primary : $borderSize + "px solid " + colorVariables$1$1$1.border.extraBold;
|
|
10802
|
+
}, function (_ref4) {
|
|
10803
|
+
var $checked = _ref4.$checked;
|
|
10804
|
+
return $checked ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.white;
|
|
10805
|
+
}, function (_ref5) {
|
|
10806
|
+
var $checkboxSize = _ref5.$checkboxSize;
|
|
10807
|
+
return $checkboxSize / 1.4 + "px";
|
|
10808
|
+
}, function (_ref6) {
|
|
10809
|
+
var $checkboxSize = _ref6.$checkboxSize;
|
|
10810
|
+
return "calc(100% - " + $checkboxSize / 1.4 + "px)";
|
|
10811
|
+
}, function (_ref7) {
|
|
10812
|
+
var $checkboxSize = _ref7.$checkboxSize;
|
|
10813
|
+
return "calc(100% - " + $checkboxSize / 1.8 + "px)";
|
|
10814
|
+
}, function (_ref8) {
|
|
10815
|
+
var $checkboxSize = _ref8.$checkboxSize;
|
|
10816
|
+
return $checkboxSize / 5 + "px";
|
|
10817
|
+
}, function (_ref9) {
|
|
10818
|
+
var $checkboxSize = _ref9.$checkboxSize;
|
|
10819
|
+
return $checkboxSize / 2.4 + "px";
|
|
10820
|
+
}, colorVariables$1$1$1.text.white);
|
|
10821
|
+
var LabelSpan = styled__default(Span$1$1$1)(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose$1$1$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
10822
|
+
var _templateObject$i, _templateObject2$f, _templateObject3$a, _templateObject4$7;
|
|
10823
|
+
var spin$1$1$1$1 = styled.keyframes(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose$1$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10824
|
+
var getDotPosition = function getDotPosition(index, size) {
|
|
10825
|
+
var angle = index * 360 / 8;
|
|
10826
|
+
var radius = size / 2.5;
|
|
10827
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10828
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10829
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
10830
|
+
};
|
|
10831
|
+
var SpinnerContainer = styled__default.div(_templateObject2$f || (_templateObject2$f = _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
|
+
var $size = _ref.$size;
|
|
10833
|
+
return $size;
|
|
10834
|
+
}, function (_ref2) {
|
|
10835
|
+
var $size = _ref2.$size;
|
|
10836
|
+
return $size;
|
|
10837
|
+
});
|
|
10838
|
+
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
10839
|
+
var $index = _ref3.$index,
|
|
10840
|
+
$size = _ref3.$size;
|
|
10841
|
+
return {
|
|
10842
|
+
style: {
|
|
10843
|
+
transform: getDotPosition($index, $size)
|
|
10844
|
+
}
|
|
10845
|
+
};
|
|
10846
|
+
})(_templateObject3$a || (_templateObject3$a = _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
|
+
var $dotSize = _ref4.$dotSize;
|
|
10848
|
+
return $dotSize;
|
|
10849
|
+
}, function (_ref5) {
|
|
10850
|
+
var $dotSize = _ref5.$dotSize;
|
|
10851
|
+
return $dotSize;
|
|
10852
|
+
}, function (_ref6) {
|
|
10853
|
+
var $color = _ref6.$color;
|
|
10854
|
+
return $color;
|
|
10855
|
+
}, spin$1$1$1$1, function (_ref7) {
|
|
10856
|
+
var $speed = _ref7.$speed;
|
|
10857
|
+
return $speed;
|
|
10858
|
+
}, function (_ref8) {
|
|
10859
|
+
var $index = _ref8.$index,
|
|
10860
|
+
$speed = _ref8.$speed;
|
|
10861
|
+
return $index * $speed / 8;
|
|
10862
|
+
});
|
|
10863
|
+
var SpinnerWrapper = styled__default.div(_templateObject4$7 || (_templateObject4$7 = _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"])));
|
|
10864
|
+
var _templateObject$j, _templateObject2$g;
|
|
10865
|
+
var spin$2 = styled.keyframes(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10866
|
+
var Spinner$1$1$1$1 = styled__default.div(_templateObject2$g || (_templateObject2$g = _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
|
+
var $size = _ref.$size;
|
|
10868
|
+
return $size;
|
|
10869
|
+
}, function (_ref2) {
|
|
10870
|
+
var $size = _ref2.$size;
|
|
10871
|
+
return $size;
|
|
10872
|
+
}, function (_ref3) {
|
|
10873
|
+
var $color = _ref3.$color;
|
|
10874
|
+
return $color;
|
|
10875
|
+
}, spin$2);
|
|
10876
|
+
var _templateObject$k;
|
|
10877
|
+
var PageInput = styled__default.input(_templateObject$k || (_templateObject$k = _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);
|
|
10878
|
+
var _templateObject$l, _templateObject2$h, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6;
|
|
10879
|
+
var SidebarContainer = styled__default.div(_templateObject$l || (_templateObject$l = _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
|
+
var $isExpanded = _ref.$isExpanded;
|
|
10881
|
+
return $isExpanded ? '225px' : '68px';
|
|
10882
|
+
}, function (_ref2) {
|
|
10883
|
+
var $background = _ref2.$background;
|
|
10884
|
+
return $background ? $background : colorVariables$1$1$1.accent.softBlue;
|
|
10885
|
+
});
|
|
10886
|
+
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$h || (_templateObject2$h = _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);
|
|
10887
|
+
var ContentWrapper = styled__default.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
10888
|
+
var IconWrapper$2 = styled__default.div(_templateObject4$8 || (_templateObject4$8 = _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
|
+
var $selected = _ref3.$selected;
|
|
10890
|
+
return $selected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1["default"].tertiary;
|
|
10891
|
+
});
|
|
10892
|
+
var Logo = styled__default.div(_templateObject5$7 || (_templateObject5$7 = _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"])));
|
|
10893
|
+
var TextContainer = styled__default.span(_templateObject6$6 || (_templateObject6$6 = _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
|
+
var $padding = _ref4.$padding;
|
|
10895
|
+
return $padding;
|
|
10896
|
+
}, function (_ref5) {
|
|
10897
|
+
var $fontSize = _ref5.$fontSize;
|
|
10898
|
+
return $fontSize ? $fontSize : '20px';
|
|
10899
|
+
}, function (_ref6) {
|
|
10900
|
+
var $fontWeight = _ref6.$fontWeight;
|
|
10901
|
+
return $fontWeight ? $fontWeight : '500';
|
|
10902
|
+
}, function (_ref7) {
|
|
10903
|
+
var $color = _ref7.$color;
|
|
10904
|
+
return $color ? $color : colorVariables$1$1$1["default"].primary;
|
|
10905
|
+
}, function (_ref8) {
|
|
10906
|
+
var $isExpanded = _ref8.$isExpanded;
|
|
10907
|
+
return $isExpanded ? 1 : 0;
|
|
10908
|
+
}, function (_ref9) {
|
|
10909
|
+
var $isExpanded = _ref9.$isExpanded;
|
|
10910
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
10911
|
+
});
|
|
10912
|
+
var _templateObject$m, _templateObject2$i, _templateObject3$c, _templateObject4$9;
|
|
10913
|
+
var ContainerWrapper = styled__default.div(_templateObject$m || (_templateObject$m = _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
|
+
return props.$width || 'auto';
|
|
10915
|
+
}, function (_ref) {
|
|
10916
|
+
var $minHeight = _ref.$minHeight;
|
|
10917
|
+
return $minHeight;
|
|
10918
|
+
});
|
|
10919
|
+
var CellContainer = styled__default.div(_templateObject2$i || (_templateObject2$i = _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
|
+
return props.$align;
|
|
10921
|
+
}, function (props) {
|
|
10922
|
+
return props.$width || 'auto';
|
|
10923
|
+
}, function (props) {
|
|
10924
|
+
return props.$minWidth;
|
|
10925
|
+
}, function (props) {
|
|
10926
|
+
return props.$background || 'inherit';
|
|
10927
|
+
}, function (props) {
|
|
10928
|
+
return props.$padding;
|
|
10929
|
+
});
|
|
10930
|
+
var MainText = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10931
|
+
return props.$mtc;
|
|
10932
|
+
}, function (props) {
|
|
10933
|
+
return props.$mtfs;
|
|
10934
|
+
}, function (props) {
|
|
10935
|
+
return props.$mtw;
|
|
10936
|
+
});
|
|
10937
|
+
var SubText = styled__default.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose$1$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10938
|
+
return props.$stc;
|
|
10939
|
+
}, function (props) {
|
|
10940
|
+
return props.$stfs;
|
|
10941
|
+
}, function (props) {
|
|
10942
|
+
return props.$stw;
|
|
10943
|
+
});
|
|
10944
|
+
var _templateObject$n;
|
|
10945
|
+
var TableRowContainer = styled.styled.div(_templateObject$n || (_templateObject$n = _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"])));
|
|
10946
|
+
var _templateObject$o, _templateObject2$j, _templateObject3$d, _templateObject4$a, _templateObject5$8;
|
|
10947
|
+
var TableContainer = styled__default.div(_templateObject$o || (_templateObject$o = _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);
|
|
10948
|
+
var TableHeader = styled__default.div(_templateObject2$j || (_templateObject2$j = _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
|
+
return props.$hbcolor || 'transparent';
|
|
10950
|
+
}, function (props) {
|
|
10951
|
+
return props.$tcolor || 'white';
|
|
10952
|
+
});
|
|
10953
|
+
var TableContent = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
10954
|
+
var TableData = styled__default.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose$1$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
10955
|
+
var Divider = styled__default.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose$1$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1$1.border.extraLight);
|
|
10956
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$9;
|
|
10957
|
+
var Container$4 = styled__default.div(_templateObject$p || (_templateObject$p = _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
|
+
var $gap = _ref.$gap;
|
|
10959
|
+
return $gap;
|
|
10960
|
+
}, function (_ref2) {
|
|
10961
|
+
var $border = _ref2.$border;
|
|
10962
|
+
return $border;
|
|
10963
|
+
});
|
|
10964
|
+
var FirstContainer = styled__default.div(_templateObject2$k || (_templateObject2$k = _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
|
+
var $headerPadding = _ref3.$headerPadding;
|
|
10966
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
10967
|
+
});
|
|
10968
|
+
var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e = _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
|
+
var $disabled = _ref4.$disabled;
|
|
10970
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10971
|
+
}, function (_ref5) {
|
|
10972
|
+
var $disabled = _ref5.$disabled;
|
|
10973
|
+
return $disabled ? '0.6' : '1';
|
|
10974
|
+
}, colorVariables$1$1$1.text.medium, function (_ref6) {
|
|
10975
|
+
var $headerHeight = _ref6.$headerHeight;
|
|
10976
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
10977
|
+
}, function (_ref7) {
|
|
10978
|
+
var $disabled = _ref7.$disabled;
|
|
10979
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10980
|
+
});
|
|
10981
|
+
var TabItemContainer = styled__default.div(_templateObject4$b || (_templateObject4$b = _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
|
+
var $headerHeight = _ref8.$headerHeight;
|
|
10983
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
10984
|
+
}, function (props) {
|
|
10985
|
+
return props.$active ? 'block' : 'none';
|
|
10986
|
+
}, colorVariables$1$1$1["default"].primary);
|
|
10987
|
+
var DetailsFirstContainer = styled__default.div(_templateObject5$9 || (_templateObject5$9 = _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
|
+
return props.$active ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.medium;
|
|
10989
|
+
});
|
|
10990
|
+
var colorVariables$1$1$1$1 = {
|
|
10991
|
+
brand: {
|
|
10992
|
+
primary: 'var(--brand-primary)',
|
|
10993
|
+
secondary: 'var(--brand-secondary)',
|
|
10994
|
+
light: 'var(--brand-light)'
|
|
10995
|
+
},
|
|
10996
|
+
accent: {
|
|
10997
|
+
light: 'var(--accent-light)',
|
|
10998
|
+
extraLight: 'var(--accent-extraLight)',
|
|
10999
|
+
softBlue: 'var(--accent-softBlue)',
|
|
11000
|
+
extraSoftBlue: 'var(--accent-extraSoftBlue)',
|
|
11001
|
+
boldTransparent: 'var(--accent-boldTransparent)',
|
|
11002
|
+
transparent: 'var(--accent-transparent)',
|
|
11003
|
+
lightTransparent: 'var(--accent-lightTransparent)'
|
|
11004
|
+
},
|
|
11005
|
+
"default": {
|
|
11006
|
+
primary: 'var(--default-primary)',
|
|
11007
|
+
secondary: 'var(--default-secondary)',
|
|
11008
|
+
tertiary: 'var(--default-tertiary)',
|
|
11009
|
+
error: 'var(--default-error)',
|
|
11010
|
+
success: 'var(--default-success)',
|
|
11011
|
+
warning: 'var(--default-warning)',
|
|
11012
|
+
info: 'var(--default-info)'
|
|
11013
|
+
},
|
|
11014
|
+
disabled: {
|
|
11015
|
+
primary: 'var(--disabled-primary)',
|
|
11016
|
+
secondary: 'var(--disabled-secondary)',
|
|
11017
|
+
error: 'var(--disabled-error)',
|
|
11018
|
+
success: 'var(--disabled-success)',
|
|
11019
|
+
warning: 'var(--disabled-warning)',
|
|
11020
|
+
info: 'var(--disabled-info)'
|
|
11021
|
+
},
|
|
11022
|
+
hover: {
|
|
11023
|
+
primary: 'var(--hover-primary)',
|
|
11024
|
+
secondary: 'var(--hover-secondary)',
|
|
11025
|
+
tertiary: 'var(--hover-tertiary)',
|
|
11026
|
+
error: 'var(--hover-error)',
|
|
11027
|
+
success: 'var(--hover-success)',
|
|
11028
|
+
warning: 'var(--hover-warning)',
|
|
11029
|
+
info: 'var(--hover-info)'
|
|
11030
|
+
},
|
|
11031
|
+
border: {
|
|
11032
|
+
extraBold: 'var(--border-extraBold)',
|
|
11033
|
+
bold: 'var(--border-bold)',
|
|
11034
|
+
medium: 'var(--border-medium)',
|
|
11035
|
+
light: 'var(--border-light)',
|
|
11036
|
+
extraLight: 'var(--border-extraLight)'
|
|
11037
|
+
},
|
|
11038
|
+
text: {
|
|
11039
|
+
dark: 'var(--text-dark)',
|
|
11040
|
+
medium: 'var(--text-medium)',
|
|
11041
|
+
light: 'var(--text-light)',
|
|
11042
|
+
white: 'var(--text-white)',
|
|
11043
|
+
success: 'var(--text-success)',
|
|
11044
|
+
error: 'var(--text-error)',
|
|
11045
|
+
info: 'var(--text-info)',
|
|
11046
|
+
warning: 'var(--text-warning)'
|
|
11047
|
+
},
|
|
11048
|
+
badge: {
|
|
11049
|
+
lavender: 'var(--badge-lavender)',
|
|
11050
|
+
papayaWhip: 'var(--badge-papayaWhip)',
|
|
11051
|
+
water: 'var(--badge-water)',
|
|
11052
|
+
paleBlue: 'var(--badge-paleBlue)',
|
|
11053
|
+
teaGreen: 'var(--badge-teaGreen)',
|
|
11054
|
+
lightBlue: 'var(--badge-lightBlue)'
|
|
11055
|
+
}
|
|
11056
|
+
};
|
|
11057
|
+
var _templateObject$q, _templateObject2$l;
|
|
11058
|
+
var SearchContainer$4 = styled__default.div(_templateObject$q || (_templateObject$q = _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) {
|
|
9623
11059
|
var $background = _ref.$background;
|
|
9624
|
-
return $background || colorVariables$1$1["default"].tertiary;
|
|
11060
|
+
return $background || colorVariables$1$1$1$1["default"].tertiary;
|
|
9625
11061
|
}, function (_ref2) {
|
|
9626
11062
|
var $border = _ref2.$border;
|
|
9627
|
-
return $border ||
|
|
11063
|
+
return $border || "1px solid " + colorVariables$1$1$1$1.border.light;
|
|
9628
11064
|
}, function (_ref3) {
|
|
9629
11065
|
var $borderRadius = _ref3.$borderRadius;
|
|
9630
11066
|
return $borderRadius || '8px';
|
|
11067
|
+
}, function (_ref4) {
|
|
11068
|
+
var $disabled = _ref4.$disabled;
|
|
11069
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11070
|
+
}, colorVariables$1$1$1$1.text.dark);
|
|
11071
|
+
var SearchBar$4 = styled__default.input(_templateObject2$l || (_templateObject2$l = _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$1$1$1$1["default"].tertiary, function (_ref5) {
|
|
11072
|
+
var $inputColor = _ref5.$inputColor;
|
|
11073
|
+
return $inputColor || colorVariables$1$1$1$1.text.medium;
|
|
11074
|
+
}, function (_ref6) {
|
|
11075
|
+
var $placeholderColor = _ref6.$placeholderColor;
|
|
11076
|
+
return $placeholderColor || colorVariables$1$1$1$1.text.light;
|
|
9631
11077
|
});
|
|
9632
|
-
var
|
|
9633
|
-
|
|
9634
|
-
return $inputColor || colorVariables$1$1.text.medium;
|
|
9635
|
-
}, function (_ref5) {
|
|
9636
|
-
var $placeholderColor = _ref5.$placeholderColor;
|
|
9637
|
-
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9638
|
-
});
|
|
9639
|
-
var _templateObject$e, _templateObject2$b, _templateObject3$7$1$1, _templateObject4$5$1$1, _templateObject5$5$1$1;
|
|
9640
|
-
var Label = 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) {
|
|
11078
|
+
var _templateObject$r, _templateObject2$m, _templateObject3$f, _templateObject4$c, _templateObject5$a;
|
|
11079
|
+
var Label$2 = styled__default.label(_templateObject$r || (_templateObject$r = _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) {
|
|
9641
11080
|
var $fontWeight = _ref.$fontWeight;
|
|
9642
11081
|
return $fontWeight != null ? $fontWeight : '500';
|
|
9643
11082
|
}, function (_ref2) {
|
|
@@ -9675,7 +11114,7 @@ var Label = styled__default.label(_templateObject$e || (_templateObject$e = _tag
|
|
|
9675
11114
|
return $titlecolor;
|
|
9676
11115
|
}
|
|
9677
11116
|
});
|
|
9678
|
-
var Input = styled__default.input(_templateObject2$
|
|
11117
|
+
var Input$1 = styled__default.input(_templateObject2$m || (_templateObject2$m = _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) {
|
|
9679
11118
|
var $disabled = _ref4.$disabled;
|
|
9680
11119
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9681
11120
|
}, function (_ref5) {
|
|
@@ -9724,18 +11163,18 @@ var Input = styled__default.input(_templateObject2$b || (_templateObject2$b = _t
|
|
|
9724
11163
|
return $color;
|
|
9725
11164
|
}
|
|
9726
11165
|
}, colorVariables$1$1.text.light);
|
|
9727
|
-
var InputWrapper$
|
|
9728
|
-
var IconWrapper$
|
|
11166
|
+
var InputWrapper$2 = styled__default.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
11167
|
+
var IconWrapper$3 = styled__default.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
9729
11168
|
var $disabled = _ref10.$disabled;
|
|
9730
11169
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
9731
11170
|
});
|
|
9732
|
-
var Asterisk$
|
|
9733
|
-
var _templateObject$
|
|
9734
|
-
var Container$
|
|
11171
|
+
var Asterisk$2 = styled__default.span(_templateObject5$a || (_templateObject5$a = _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);
|
|
11172
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$g;
|
|
11173
|
+
var Container$5 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9735
11174
|
var $padding = _ref.$padding;
|
|
9736
11175
|
return $padding;
|
|
9737
11176
|
});
|
|
9738
|
-
var Label$
|
|
11177
|
+
var Label$3 = styled__default.label(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9739
11178
|
var $fontWeight = _ref2.$fontWeight;
|
|
9740
11179
|
return $fontWeight != null ? $fontWeight : '500';
|
|
9741
11180
|
}, function (_ref3) {
|
|
@@ -9754,7 +11193,7 @@ var Label$1 = styled__default.label(_templateObject2$c || (_templateObject2$c =
|
|
|
9754
11193
|
var $titlecolor = _ref4.$titlecolor;
|
|
9755
11194
|
return $titlecolor || colorVariables$1$1.text.dark;
|
|
9756
11195
|
});
|
|
9757
|
-
var TextAreaComponent = styled__default.textarea(_templateObject3$
|
|
11196
|
+
var TextAreaComponent$1 = styled__default.textarea(_templateObject3$g || (_templateObject3$g = _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) {
|
|
9758
11197
|
var $disabled = _ref5.$disabled;
|
|
9759
11198
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9760
11199
|
}, function (_ref6) {
|
|
@@ -9780,18 +11219,18 @@ var TextAreaComponent = styled__default.textarea(_templateObject3$8 || (_templat
|
|
|
9780
11219
|
var $color = _ref9.$color;
|
|
9781
11220
|
return $color || colorVariables$1$1.text.dark;
|
|
9782
11221
|
}, colorVariables$1$1.text.light);
|
|
9783
|
-
var _templateObject$
|
|
9784
|
-
var OptionContainer$
|
|
9785
|
-
var OptionItem$
|
|
11222
|
+
var _templateObject$t, _templateObject2$o, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$7, _templateObject7$4;
|
|
11223
|
+
var OptionContainer$2 = styled__default.div(_templateObject$t || (_templateObject$t = _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);
|
|
11224
|
+
var OptionItem$2 = styled__default.div(_templateObject2$o || (_templateObject2$o = _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) {
|
|
9786
11225
|
var $optionSelected = _ref.$optionSelected;
|
|
9787
11226
|
return $optionSelected ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
9788
11227
|
}, function (_ref2) {
|
|
9789
11228
|
var $optionSelected = _ref2.$optionSelected;
|
|
9790
11229
|
return $optionSelected ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.white;
|
|
9791
11230
|
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
9792
|
-
var TotalOptionsHeader = styled__default.div(_templateObject3$
|
|
9793
|
-
var OptionLabel$
|
|
9794
|
-
var SearchContainer$
|
|
11231
|
+
var TotalOptionsHeader$1 = styled__default.div(_templateObject3$h || (_templateObject3$h = _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);
|
|
11232
|
+
var OptionLabel$2 = styled__default.label(_templateObject4$d || (_templateObject4$d = _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"])));
|
|
11233
|
+
var SearchContainer$5 = styled__default.div(_templateObject5$b || (_templateObject5$b = _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) {
|
|
9795
11234
|
var $background = _ref3.$background;
|
|
9796
11235
|
switch ($background) {
|
|
9797
11236
|
case 'dark':
|
|
@@ -9820,7 +11259,7 @@ var SearchContainer$3 = styled__default.div(_templateObject5$6 || (_templateObje
|
|
|
9820
11259
|
var $borderRadius = _ref5.$borderRadius;
|
|
9821
11260
|
return $borderRadius || '8px';
|
|
9822
11261
|
});
|
|
9823
|
-
var SearchBar$
|
|
11262
|
+
var SearchBar$5 = styled__default.input(_templateObject6$7 || (_templateObject6$7 = _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) {
|
|
9824
11263
|
var $inputColor = _ref6.$inputColor;
|
|
9825
11264
|
switch ($inputColor) {
|
|
9826
11265
|
case 'dark':
|
|
@@ -9865,9 +11304,9 @@ var SearchBar$3 = styled__default.input(_templateObject6$5$1$1 || (_templateObje
|
|
|
9865
11304
|
return $placeholderColor;
|
|
9866
11305
|
}
|
|
9867
11306
|
});
|
|
9868
|
-
var OptionsWrapper$
|
|
9869
|
-
var _templateObject$
|
|
9870
|
-
var StyledInput$
|
|
11307
|
+
var OptionsWrapper$2 = styled__default.div(_templateObject7$4 || (_templateObject7$4 = _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);
|
|
11308
|
+
var _templateObject$u, _templateObject2$p;
|
|
11309
|
+
var StyledInput$2 = styled__default.input(_templateObject$u || (_templateObject$u = _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) {
|
|
9871
11310
|
var $checkboxSize = _ref.$checkboxSize;
|
|
9872
11311
|
return $checkboxSize + "px";
|
|
9873
11312
|
}, function (_ref2) {
|
|
@@ -9896,32 +11335,32 @@ var StyledInput$1$1$1 = styled__default.input(_templateObject$h || (_templateObj
|
|
|
9896
11335
|
var $checkboxSize = _ref9.$checkboxSize;
|
|
9897
11336
|
return $checkboxSize / 2.4 + "px";
|
|
9898
11337
|
}, colorVariables$1$1.text.white);
|
|
9899
|
-
var LabelSpan = styled__default(Span$1$1)(_templateObject2$
|
|
9900
|
-
var _templateObject$
|
|
9901
|
-
var spin$
|
|
9902
|
-
var getDotPosition = function getDotPosition(index, size) {
|
|
11338
|
+
var LabelSpan$1 = styled__default(Span$1$1)(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose$1$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
11339
|
+
var _templateObject$v, _templateObject2$q, _templateObject3$i, _templateObject4$e;
|
|
11340
|
+
var spin$3 = styled.keyframes(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11341
|
+
var getDotPosition$1 = function getDotPosition(index, size) {
|
|
9903
11342
|
var angle = index * 360 / 8;
|
|
9904
11343
|
var radius = size / 2.5;
|
|
9905
11344
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
9906
11345
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
9907
11346
|
return "translate(" + x + "px, " + y + "px)";
|
|
9908
11347
|
};
|
|
9909
|
-
var SpinnerContainer = styled__default.div(_templateObject2$
|
|
11348
|
+
var SpinnerContainer$1 = styled__default.div(_templateObject2$q || (_templateObject2$q = _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) {
|
|
9910
11349
|
var $size = _ref.$size;
|
|
9911
11350
|
return $size;
|
|
9912
11351
|
}, function (_ref2) {
|
|
9913
11352
|
var $size = _ref2.$size;
|
|
9914
11353
|
return $size;
|
|
9915
11354
|
});
|
|
9916
|
-
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
11355
|
+
var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
9917
11356
|
var $index = _ref3.$index,
|
|
9918
11357
|
$size = _ref3.$size;
|
|
9919
11358
|
return {
|
|
9920
11359
|
style: {
|
|
9921
|
-
transform: getDotPosition($index, $size)
|
|
11360
|
+
transform: getDotPosition$1($index, $size)
|
|
9922
11361
|
}
|
|
9923
11362
|
};
|
|
9924
|
-
})(_templateObject3$
|
|
11363
|
+
})(_templateObject3$i || (_templateObject3$i = _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) {
|
|
9925
11364
|
var $dotSize = _ref4.$dotSize;
|
|
9926
11365
|
return $dotSize;
|
|
9927
11366
|
}, function (_ref5) {
|
|
@@ -9930,7 +11369,7 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
9930
11369
|
}, function (_ref6) {
|
|
9931
11370
|
var $color = _ref6.$color;
|
|
9932
11371
|
return $color;
|
|
9933
|
-
}, spin$
|
|
11372
|
+
}, spin$3, function (_ref7) {
|
|
9934
11373
|
var $speed = _ref7.$speed;
|
|
9935
11374
|
return $speed;
|
|
9936
11375
|
}, function (_ref8) {
|
|
@@ -9938,10 +11377,10 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
9938
11377
|
$speed = _ref8.$speed;
|
|
9939
11378
|
return $index * $speed / 8;
|
|
9940
11379
|
});
|
|
9941
|
-
var SpinnerWrapper = styled__default.div(_templateObject4$
|
|
9942
|
-
var _templateObject$
|
|
9943
|
-
var spin$
|
|
9944
|
-
var Spinner$
|
|
11380
|
+
var SpinnerWrapper$1 = styled__default.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
11381
|
+
var _templateObject$w, _templateObject2$r;
|
|
11382
|
+
var spin$4 = styled.keyframes(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11383
|
+
var Spinner$2 = styled__default.div(_templateObject2$r || (_templateObject2$r = _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) {
|
|
9945
11384
|
var $size = _ref.$size;
|
|
9946
11385
|
return $size;
|
|
9947
11386
|
}, function (_ref2) {
|
|
@@ -9950,25 +11389,25 @@ var Spinner$1$1$1 = styled__default.div(_templateObject2$g || (_templateObject2$
|
|
|
9950
11389
|
}, function (_ref3) {
|
|
9951
11390
|
var $color = _ref3.$color;
|
|
9952
11391
|
return $color;
|
|
9953
|
-
}, spin$
|
|
9954
|
-
var _templateObject$
|
|
9955
|
-
var PageInput = styled__default.input(_templateObject$
|
|
9956
|
-
var _templateObject$
|
|
9957
|
-
var SidebarContainer = styled__default.div(_templateObject$
|
|
11392
|
+
}, spin$4);
|
|
11393
|
+
var _templateObject$x;
|
|
11394
|
+
var PageInput$1 = styled__default.input(_templateObject$x || (_templateObject$x = _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);
|
|
11395
|
+
var _templateObject$y, _templateObject2$s, _templateObject3$j, _templateObject4$f, _templateObject5$c, _templateObject6$8;
|
|
11396
|
+
var SidebarContainer$1 = styled__default.div(_templateObject$y || (_templateObject$y = _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) {
|
|
9958
11397
|
var $isExpanded = _ref.$isExpanded;
|
|
9959
11398
|
return $isExpanded ? '225px' : '68px';
|
|
9960
11399
|
}, function (_ref2) {
|
|
9961
11400
|
var $background = _ref2.$background;
|
|
9962
11401
|
return $background ? $background : colorVariables$1$1.accent.softBlue;
|
|
9963
11402
|
});
|
|
9964
|
-
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$
|
|
9965
|
-
var ContentWrapper = styled__default.div(_templateObject3$
|
|
9966
|
-
var IconWrapper$
|
|
11403
|
+
var SidebarItem$1 = styled__default(reactRouterDom.NavLink)(_templateObject2$s || (_templateObject2$s = _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);
|
|
11404
|
+
var ContentWrapper$1 = styled__default.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
11405
|
+
var IconWrapper$4 = styled__default.div(_templateObject4$f || (_templateObject4$f = _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) {
|
|
9967
11406
|
var $selected = _ref3.$selected;
|
|
9968
11407
|
return $selected ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
9969
11408
|
});
|
|
9970
|
-
var Logo = styled__default.div(_templateObject5$
|
|
9971
|
-
var TextContainer = styled__default.span(_templateObject6$
|
|
11409
|
+
var Logo$1 = styled__default.div(_templateObject5$c || (_templateObject5$c = _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"])));
|
|
11410
|
+
var TextContainer$1 = styled__default.span(_templateObject6$8 || (_templateObject6$8 = _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) {
|
|
9972
11411
|
var $padding = _ref4.$padding;
|
|
9973
11412
|
return $padding;
|
|
9974
11413
|
}, function (_ref5) {
|
|
@@ -9987,14 +11426,14 @@ var TextContainer = styled__default.span(_templateObject6$6 || (_templateObject6
|
|
|
9987
11426
|
var $isExpanded = _ref9.$isExpanded;
|
|
9988
11427
|
return $isExpanded ? 'visible' : 'hidden';
|
|
9989
11428
|
});
|
|
9990
|
-
var _templateObject$
|
|
9991
|
-
var ContainerWrapper = styled__default.div(_templateObject$
|
|
11429
|
+
var _templateObject$z, _templateObject2$t, _templateObject3$k, _templateObject4$g;
|
|
11430
|
+
var ContainerWrapper$1 = styled__default.div(_templateObject$z || (_templateObject$z = _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) {
|
|
9992
11431
|
return props.$width || 'auto';
|
|
9993
11432
|
}, function (_ref) {
|
|
9994
11433
|
var $minHeight = _ref.$minHeight;
|
|
9995
11434
|
return $minHeight;
|
|
9996
11435
|
});
|
|
9997
|
-
var CellContainer = styled__default.div(_templateObject2$
|
|
11436
|
+
var CellContainer$1 = styled__default.div(_templateObject2$t || (_templateObject2$t = _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) {
|
|
9998
11437
|
return props.$align;
|
|
9999
11438
|
}, function (props) {
|
|
10000
11439
|
return props.$width || 'auto';
|
|
@@ -10005,45 +11444,45 @@ var CellContainer = styled__default.div(_templateObject2$i || (_templateObject2$
|
|
|
10005
11444
|
}, function (props) {
|
|
10006
11445
|
return props.$padding;
|
|
10007
11446
|
});
|
|
10008
|
-
var MainText = styled__default.div(_templateObject3$
|
|
11447
|
+
var MainText$1 = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10009
11448
|
return props.$mtc;
|
|
10010
11449
|
}, function (props) {
|
|
10011
11450
|
return props.$mtfs;
|
|
10012
11451
|
}, function (props) {
|
|
10013
11452
|
return props.$mtw;
|
|
10014
11453
|
});
|
|
10015
|
-
var SubText = styled__default.div(_templateObject4$
|
|
11454
|
+
var SubText$1 = styled__default.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10016
11455
|
return props.$stc;
|
|
10017
11456
|
}, function (props) {
|
|
10018
11457
|
return props.$stfs;
|
|
10019
11458
|
}, function (props) {
|
|
10020
11459
|
return props.$stw;
|
|
10021
11460
|
});
|
|
10022
|
-
var _templateObject$
|
|
10023
|
-
var TableRowContainer = styled.styled.div(_templateObject$
|
|
10024
|
-
var _templateObject$
|
|
10025
|
-
var TableContainer = styled__default.div(_templateObject$
|
|
10026
|
-
var TableHeader = styled__default.div(_templateObject2$
|
|
11461
|
+
var _templateObject$A;
|
|
11462
|
+
var TableRowContainer$1 = styled.styled.div(_templateObject$A || (_templateObject$A = _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"])));
|
|
11463
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$l, _templateObject4$h, _templateObject5$d;
|
|
11464
|
+
var TableContainer$1 = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1.brand.light);
|
|
11465
|
+
var TableHeader$1 = styled__default.div(_templateObject2$u || (_templateObject2$u = _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) {
|
|
10027
11466
|
return props.$hbcolor || 'transparent';
|
|
10028
11467
|
}, function (props) {
|
|
10029
11468
|
return props.$tcolor || 'white';
|
|
10030
11469
|
});
|
|
10031
|
-
var TableContent = styled__default.div(_templateObject3$
|
|
10032
|
-
var TableData = styled__default.div(_templateObject4$
|
|
10033
|
-
var Divider = styled__default.div(_templateObject5$
|
|
10034
|
-
var _templateObject$
|
|
10035
|
-
var Container$
|
|
11470
|
+
var TableContent$1 = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11471
|
+
var TableData$1 = styled__default.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
11472
|
+
var Divider$1 = styled__default.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1.border.extraLight);
|
|
11473
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$m, _templateObject4$i, _templateObject5$e;
|
|
11474
|
+
var Container$6 = styled__default.div(_templateObject$C || (_templateObject$C = _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) {
|
|
10036
11475
|
var $gap = _ref.$gap;
|
|
10037
11476
|
return $gap;
|
|
10038
11477
|
}, function (_ref2) {
|
|
10039
11478
|
var $border = _ref2.$border;
|
|
10040
11479
|
return $border;
|
|
10041
11480
|
});
|
|
10042
|
-
var FirstContainer = styled__default.div(_templateObject2$
|
|
11481
|
+
var FirstContainer$1 = styled__default.div(_templateObject2$v || (_templateObject2$v = _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) {
|
|
10043
11482
|
var $headerPadding = _ref3.$headerPadding;
|
|
10044
11483
|
return $headerPadding ? $headerPadding : '0px';
|
|
10045
11484
|
});
|
|
10046
|
-
var TabContainer = styled__default.div(_templateObject3$
|
|
11485
|
+
var TabContainer$1 = styled__default.div(_templateObject3$m || (_templateObject3$m = _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) {
|
|
10047
11486
|
var $disabled = _ref4.$disabled;
|
|
10048
11487
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10049
11488
|
}, function (_ref5) {
|
|
@@ -10056,16 +11495,16 @@ var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e
|
|
|
10056
11495
|
var $disabled = _ref7.$disabled;
|
|
10057
11496
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10058
11497
|
});
|
|
10059
|
-
var TabItemContainer = styled__default.div(_templateObject4$
|
|
11498
|
+
var TabItemContainer$1 = styled__default.div(_templateObject4$i || (_templateObject4$i = _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) {
|
|
10060
11499
|
var $headerHeight = _ref8.$headerHeight;
|
|
10061
11500
|
return $headerHeight ? $headerHeight : '34px';
|
|
10062
11501
|
}, function (props) {
|
|
10063
11502
|
return props.$active ? 'block' : 'none';
|
|
10064
11503
|
}, colorVariables$1$1["default"].primary);
|
|
10065
|
-
var DetailsFirstContainer = styled__default.div(_templateObject5$
|
|
11504
|
+
var DetailsFirstContainer$1 = styled__default.div(_templateObject5$e || (_templateObject5$e = _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) {
|
|
10066
11505
|
return props.$active ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.medium;
|
|
10067
11506
|
});
|
|
10068
|
-
var colorVariables$
|
|
11507
|
+
var colorVariables$2 = {
|
|
10069
11508
|
brand: {
|
|
10070
11509
|
primary: 'var(--brand-primary)',
|
|
10071
11510
|
secondary: 'var(--brand-secondary)',
|
|
@@ -10132,29 +11571,29 @@ var colorVariables$1$1$1 = {
|
|
|
10132
11571
|
lightBlue: 'var(--badge-lightBlue)'
|
|
10133
11572
|
}
|
|
10134
11573
|
};
|
|
10135
|
-
var _templateObject$
|
|
10136
|
-
var SearchContainer$
|
|
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) {
|
|
10137
11576
|
var $background = _ref.$background;
|
|
10138
|
-
return $background || colorVariables$
|
|
11577
|
+
return $background || colorVariables$2["default"].tertiary;
|
|
10139
11578
|
}, function (_ref2) {
|
|
10140
11579
|
var $border = _ref2.$border;
|
|
10141
|
-
return $border || "1px solid " + colorVariables$
|
|
11580
|
+
return $border || "1px solid " + colorVariables$2.border.light;
|
|
10142
11581
|
}, function (_ref3) {
|
|
10143
11582
|
var $borderRadius = _ref3.$borderRadius;
|
|
10144
11583
|
return $borderRadius || '8px';
|
|
10145
11584
|
}, function (_ref4) {
|
|
10146
11585
|
var $disabled = _ref4.$disabled;
|
|
10147
11586
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10148
|
-
}, colorVariables$
|
|
10149
|
-
var SearchBar$
|
|
11587
|
+
}, colorVariables$2.text.dark);
|
|
11588
|
+
var SearchBar$6 = styled__default.input(_templateObject2$w || (_templateObject2$w = _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$2["default"].tertiary, function (_ref5) {
|
|
10150
11589
|
var $inputColor = _ref5.$inputColor;
|
|
10151
|
-
return $inputColor || colorVariables$
|
|
11590
|
+
return $inputColor || colorVariables$2.text.medium;
|
|
10152
11591
|
}, function (_ref6) {
|
|
10153
11592
|
var $placeholderColor = _ref6.$placeholderColor;
|
|
10154
|
-
return $placeholderColor || colorVariables$
|
|
11593
|
+
return $placeholderColor || colorVariables$2.text.light;
|
|
10155
11594
|
});
|
|
10156
|
-
var _templateObject$
|
|
10157
|
-
var Label$
|
|
11595
|
+
var _templateObject$E, _templateObject2$x, _templateObject3$n, _templateObject4$j, _templateObject5$f;
|
|
11596
|
+
var Label$4 = styled__default.label(_templateObject$E || (_templateObject$E = _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) {
|
|
10158
11597
|
var $fontWeight = _ref.$fontWeight;
|
|
10159
11598
|
return $fontWeight != null ? $fontWeight : '500';
|
|
10160
11599
|
}, function (_ref2) {
|
|
@@ -10192,7 +11631,7 @@ var Label$2 = styled__default.label(_templateObject$r || (_templateObject$r = _t
|
|
|
10192
11631
|
return $titlecolor;
|
|
10193
11632
|
}
|
|
10194
11633
|
});
|
|
10195
|
-
var Input$
|
|
11634
|
+
var Input$2 = styled__default.input(_templateObject2$x || (_templateObject2$x = _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) {
|
|
10196
11635
|
var $disabled = _ref4.$disabled;
|
|
10197
11636
|
return $disabled ? 'not-allowed' : 'auto';
|
|
10198
11637
|
}, function (_ref5) {
|
|
@@ -10241,18 +11680,18 @@ var Input$1 = styled__default.input(_templateObject2$m || (_templateObject2$m =
|
|
|
10241
11680
|
return $color;
|
|
10242
11681
|
}
|
|
10243
11682
|
}, colorVariables$1.text.light);
|
|
10244
|
-
var InputWrapper$
|
|
10245
|
-
var IconWrapper$
|
|
11683
|
+
var InputWrapper$3 = styled__default.div(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
11684
|
+
var IconWrapper$5 = styled__default.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
10246
11685
|
var $disabled = _ref10.$disabled;
|
|
10247
11686
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10248
11687
|
});
|
|
10249
|
-
var Asterisk$
|
|
10250
|
-
var _templateObject$
|
|
10251
|
-
var Container$
|
|
11688
|
+
var Asterisk$3 = styled__default.span(_templateObject5$f || (_templateObject5$f = _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);
|
|
11689
|
+
var _templateObject$F, _templateObject2$y, _templateObject3$o;
|
|
11690
|
+
var Container$7 = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10252
11691
|
var $padding = _ref.$padding;
|
|
10253
11692
|
return $padding;
|
|
10254
11693
|
});
|
|
10255
|
-
var Label$
|
|
11694
|
+
var Label$5 = styled__default.label(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10256
11695
|
var $fontWeight = _ref2.$fontWeight;
|
|
10257
11696
|
return $fontWeight != null ? $fontWeight : '500';
|
|
10258
11697
|
}, function (_ref3) {
|
|
@@ -10271,7 +11710,7 @@ var Label$3 = styled__default.label(_templateObject2$n || (_templateObject2$n =
|
|
|
10271
11710
|
var $titlecolor = _ref4.$titlecolor;
|
|
10272
11711
|
return $titlecolor || colorVariables$1.text.dark;
|
|
10273
11712
|
});
|
|
10274
|
-
var TextAreaComponent$
|
|
11713
|
+
var TextAreaComponent$2 = styled__default.textarea(_templateObject3$o || (_templateObject3$o = _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) {
|
|
10275
11714
|
var $disabled = _ref5.$disabled;
|
|
10276
11715
|
return $disabled ? 'not-allowed' : 'auto';
|
|
10277
11716
|
}, function (_ref6) {
|
|
@@ -10297,18 +11736,18 @@ var TextAreaComponent$1 = styled__default.textarea(_templateObject3$g || (_templ
|
|
|
10297
11736
|
var $color = _ref9.$color;
|
|
10298
11737
|
return $color || colorVariables$1.text.dark;
|
|
10299
11738
|
}, colorVariables$1.text.light);
|
|
10300
|
-
var _templateObject$
|
|
10301
|
-
var OptionContainer$
|
|
10302
|
-
var OptionItem$
|
|
11739
|
+
var _templateObject$G, _templateObject2$z, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$9, _templateObject7$5;
|
|
11740
|
+
var OptionContainer$3 = styled__default.div(_templateObject$G || (_templateObject$G = _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);
|
|
11741
|
+
var OptionItem$3 = styled__default.div(_templateObject2$z || (_templateObject2$z = _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) {
|
|
10303
11742
|
var $optionSelected = _ref.$optionSelected;
|
|
10304
11743
|
return $optionSelected ? colorVariables$1.text.white : colorVariables$1.text.medium;
|
|
10305
11744
|
}, function (_ref2) {
|
|
10306
11745
|
var $optionSelected = _ref2.$optionSelected;
|
|
10307
11746
|
return $optionSelected ? colorVariables$1["default"].primary : colorVariables$1.text.white;
|
|
10308
11747
|
}, colorVariables$1.hover.primary, colorVariables$1.text.white);
|
|
10309
|
-
var TotalOptionsHeader$
|
|
10310
|
-
var OptionLabel$
|
|
10311
|
-
var SearchContainer$
|
|
11748
|
+
var TotalOptionsHeader$2 = styled__default.div(_templateObject3$p || (_templateObject3$p = _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);
|
|
11749
|
+
var OptionLabel$3 = styled__default.label(_templateObject4$k || (_templateObject4$k = _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"])));
|
|
11750
|
+
var SearchContainer$7 = styled__default.div(_templateObject5$g || (_templateObject5$g = _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) {
|
|
10312
11751
|
var $background = _ref3.$background;
|
|
10313
11752
|
switch ($background) {
|
|
10314
11753
|
case 'dark':
|
|
@@ -10337,7 +11776,7 @@ var SearchContainer$5 = styled__default.div(_templateObject5$b || (_templateObje
|
|
|
10337
11776
|
var $borderRadius = _ref5.$borderRadius;
|
|
10338
11777
|
return $borderRadius || '8px';
|
|
10339
11778
|
});
|
|
10340
|
-
var SearchBar$
|
|
11779
|
+
var SearchBar$7 = styled__default.input(_templateObject6$9 || (_templateObject6$9 = _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) {
|
|
10341
11780
|
var $inputColor = _ref6.$inputColor;
|
|
10342
11781
|
switch ($inputColor) {
|
|
10343
11782
|
case 'dark':
|
|
@@ -10382,9 +11821,9 @@ var SearchBar$5 = styled__default.input(_templateObject6$7 || (_templateObject6$
|
|
|
10382
11821
|
return $placeholderColor;
|
|
10383
11822
|
}
|
|
10384
11823
|
});
|
|
10385
|
-
var OptionsWrapper$
|
|
10386
|
-
var _templateObject$
|
|
10387
|
-
var StyledInput$
|
|
11824
|
+
var OptionsWrapper$3 = styled__default.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1.text.white);
|
|
11825
|
+
var _templateObject$H, _templateObject2$A;
|
|
11826
|
+
var StyledInput$3 = styled__default.input(_templateObject$H || (_templateObject$H = _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) {
|
|
10388
11827
|
var $checkboxSize = _ref.$checkboxSize;
|
|
10389
11828
|
return $checkboxSize + "px";
|
|
10390
11829
|
}, function (_ref2) {
|
|
@@ -10413,32 +11852,32 @@ var StyledInput$2 = styled__default.input(_templateObject$u || (_templateObject$
|
|
|
10413
11852
|
var $checkboxSize = _ref9.$checkboxSize;
|
|
10414
11853
|
return $checkboxSize / 2.4 + "px";
|
|
10415
11854
|
}, colorVariables$1.text.white);
|
|
10416
|
-
var LabelSpan$
|
|
10417
|
-
var _templateObject$
|
|
10418
|
-
var spin$
|
|
10419
|
-
var getDotPosition$
|
|
11855
|
+
var LabelSpan$2 = styled__default(Span$1)(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose$1(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
11856
|
+
var _templateObject$I, _templateObject2$B, _templateObject3$q, _templateObject4$l;
|
|
11857
|
+
var spin$5 = styled.keyframes(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11858
|
+
var getDotPosition$2 = function getDotPosition(index, size) {
|
|
10420
11859
|
var angle = index * 360 / 8;
|
|
10421
11860
|
var radius = size / 2.5;
|
|
10422
11861
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10423
11862
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10424
11863
|
return "translate(" + x + "px, " + y + "px)";
|
|
10425
11864
|
};
|
|
10426
|
-
var SpinnerContainer$
|
|
11865
|
+
var SpinnerContainer$2 = styled__default.div(_templateObject2$B || (_templateObject2$B = _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) {
|
|
10427
11866
|
var $size = _ref.$size;
|
|
10428
11867
|
return $size;
|
|
10429
11868
|
}, function (_ref2) {
|
|
10430
11869
|
var $size = _ref2.$size;
|
|
10431
11870
|
return $size;
|
|
10432
11871
|
});
|
|
10433
|
-
var Dot$
|
|
11872
|
+
var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
10434
11873
|
var $index = _ref3.$index,
|
|
10435
11874
|
$size = _ref3.$size;
|
|
10436
11875
|
return {
|
|
10437
11876
|
style: {
|
|
10438
|
-
transform: getDotPosition$
|
|
11877
|
+
transform: getDotPosition$2($index, $size)
|
|
10439
11878
|
}
|
|
10440
11879
|
};
|
|
10441
|
-
})(_templateObject3$
|
|
11880
|
+
})(_templateObject3$q || (_templateObject3$q = _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) {
|
|
10442
11881
|
var $dotSize = _ref4.$dotSize;
|
|
10443
11882
|
return $dotSize;
|
|
10444
11883
|
}, function (_ref5) {
|
|
@@ -10447,7 +11886,7 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
10447
11886
|
}, function (_ref6) {
|
|
10448
11887
|
var $color = _ref6.$color;
|
|
10449
11888
|
return $color;
|
|
10450
|
-
}, spin$
|
|
11889
|
+
}, spin$5, function (_ref7) {
|
|
10451
11890
|
var $speed = _ref7.$speed;
|
|
10452
11891
|
return $speed;
|
|
10453
11892
|
}, function (_ref8) {
|
|
@@ -10455,10 +11894,10 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
10455
11894
|
$speed = _ref8.$speed;
|
|
10456
11895
|
return $index * $speed / 8;
|
|
10457
11896
|
});
|
|
10458
|
-
var SpinnerWrapper$
|
|
10459
|
-
var _templateObject$
|
|
10460
|
-
var spin$
|
|
10461
|
-
var Spinner$
|
|
11897
|
+
var SpinnerWrapper$2 = styled__default.div(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
11898
|
+
var _templateObject$J, _templateObject2$C;
|
|
11899
|
+
var spin$6 = styled.keyframes(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11900
|
+
var Spinner$3 = styled__default.div(_templateObject2$C || (_templateObject2$C = _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) {
|
|
10462
11901
|
var $size = _ref.$size;
|
|
10463
11902
|
return $size;
|
|
10464
11903
|
}, function (_ref2) {
|
|
@@ -10467,25 +11906,25 @@ var Spinner$2 = styled__default.div(_templateObject2$r || (_templateObject2$r =
|
|
|
10467
11906
|
}, function (_ref3) {
|
|
10468
11907
|
var $color = _ref3.$color;
|
|
10469
11908
|
return $color;
|
|
10470
|
-
}, spin$
|
|
10471
|
-
var _templateObject$
|
|
10472
|
-
var PageInput$
|
|
10473
|
-
var _templateObject$
|
|
10474
|
-
var SidebarContainer$
|
|
11909
|
+
}, spin$6);
|
|
11910
|
+
var _templateObject$K;
|
|
11911
|
+
var PageInput$2 = styled__default.input(_templateObject$K || (_templateObject$K = _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);
|
|
11912
|
+
var _templateObject$L, _templateObject2$D, _templateObject3$r, _templateObject4$m, _templateObject5$h, _templateObject6$a;
|
|
11913
|
+
var SidebarContainer$2 = styled__default.div(_templateObject$L || (_templateObject$L = _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) {
|
|
10475
11914
|
var $isExpanded = _ref.$isExpanded;
|
|
10476
11915
|
return $isExpanded ? '225px' : '68px';
|
|
10477
11916
|
}, function (_ref2) {
|
|
10478
11917
|
var $background = _ref2.$background;
|
|
10479
11918
|
return $background ? $background : colorVariables$1.accent.softBlue;
|
|
10480
11919
|
});
|
|
10481
|
-
var SidebarItem$
|
|
10482
|
-
var ContentWrapper$
|
|
10483
|
-
var IconWrapper$
|
|
11920
|
+
var SidebarItem$2 = styled__default(reactRouterDom.NavLink)(_templateObject2$D || (_templateObject2$D = _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);
|
|
11921
|
+
var ContentWrapper$2 = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
11922
|
+
var IconWrapper$6 = styled__default.div(_templateObject4$m || (_templateObject4$m = _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) {
|
|
10484
11923
|
var $selected = _ref3.$selected;
|
|
10485
11924
|
return $selected ? colorVariables$1["default"].primary : colorVariables$1["default"].tertiary;
|
|
10486
11925
|
});
|
|
10487
|
-
var Logo$
|
|
10488
|
-
var TextContainer$
|
|
11926
|
+
var Logo$2 = styled__default.div(_templateObject5$h || (_templateObject5$h = _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"])));
|
|
11927
|
+
var TextContainer$2 = styled__default.span(_templateObject6$a || (_templateObject6$a = _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) {
|
|
10489
11928
|
var $padding = _ref4.$padding;
|
|
10490
11929
|
return $padding;
|
|
10491
11930
|
}, function (_ref5) {
|
|
@@ -10504,14 +11943,14 @@ var TextContainer$1 = styled__default.span(_templateObject6$8 || (_templateObjec
|
|
|
10504
11943
|
var $isExpanded = _ref9.$isExpanded;
|
|
10505
11944
|
return $isExpanded ? 'visible' : 'hidden';
|
|
10506
11945
|
});
|
|
10507
|
-
var _templateObject$
|
|
10508
|
-
var ContainerWrapper$
|
|
11946
|
+
var _templateObject$M, _templateObject2$E, _templateObject3$s, _templateObject4$n;
|
|
11947
|
+
var ContainerWrapper$2 = styled__default.div(_templateObject$M || (_templateObject$M = _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) {
|
|
10509
11948
|
return props.$width || 'auto';
|
|
10510
11949
|
}, function (_ref) {
|
|
10511
11950
|
var $minHeight = _ref.$minHeight;
|
|
10512
11951
|
return $minHeight;
|
|
10513
11952
|
});
|
|
10514
|
-
var CellContainer$
|
|
11953
|
+
var CellContainer$2 = styled__default.div(_templateObject2$E || (_templateObject2$E = _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) {
|
|
10515
11954
|
return props.$align;
|
|
10516
11955
|
}, function (props) {
|
|
10517
11956
|
return props.$width || 'auto';
|
|
@@ -10522,45 +11961,45 @@ var CellContainer$1 = styled__default.div(_templateObject2$t || (_templateObject
|
|
|
10522
11961
|
}, function (props) {
|
|
10523
11962
|
return props.$padding;
|
|
10524
11963
|
});
|
|
10525
|
-
var MainText$
|
|
11964
|
+
var MainText$2 = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10526
11965
|
return props.$mtc;
|
|
10527
11966
|
}, function (props) {
|
|
10528
11967
|
return props.$mtfs;
|
|
10529
11968
|
}, function (props) {
|
|
10530
11969
|
return props.$mtw;
|
|
10531
11970
|
});
|
|
10532
|
-
var SubText$
|
|
11971
|
+
var SubText$2 = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
10533
11972
|
return props.$stc;
|
|
10534
11973
|
}, function (props) {
|
|
10535
11974
|
return props.$stfs;
|
|
10536
11975
|
}, function (props) {
|
|
10537
11976
|
return props.$stw;
|
|
10538
11977
|
});
|
|
10539
|
-
var _templateObject$
|
|
10540
|
-
var TableRowContainer$
|
|
10541
|
-
var _templateObject$
|
|
10542
|
-
var TableContainer$
|
|
10543
|
-
var TableHeader$
|
|
11978
|
+
var _templateObject$N;
|
|
11979
|
+
var TableRowContainer$2 = styled.styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11980
|
+
var _templateObject$O, _templateObject2$F, _templateObject3$t, _templateObject4$o, _templateObject5$i;
|
|
11981
|
+
var TableContainer$2 = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1.brand.light);
|
|
11982
|
+
var TableHeader$2 = styled__default.div(_templateObject2$F || (_templateObject2$F = _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) {
|
|
10544
11983
|
return props.$hbcolor || 'transparent';
|
|
10545
11984
|
}, function (props) {
|
|
10546
11985
|
return props.$tcolor || 'white';
|
|
10547
11986
|
});
|
|
10548
|
-
var TableContent$
|
|
10549
|
-
var TableData$
|
|
10550
|
-
var Divider$
|
|
10551
|
-
var _templateObject$
|
|
10552
|
-
var Container$
|
|
11987
|
+
var TableContent$2 = styled__default.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11988
|
+
var TableData$2 = styled__default.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
11989
|
+
var Divider$2 = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1.border.extraLight);
|
|
11990
|
+
var _templateObject$P, _templateObject2$G, _templateObject3$u, _templateObject4$p, _templateObject5$j;
|
|
11991
|
+
var Container$8 = styled__default.div(_templateObject$P || (_templateObject$P = _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) {
|
|
10553
11992
|
var $gap = _ref.$gap;
|
|
10554
11993
|
return $gap;
|
|
10555
11994
|
}, function (_ref2) {
|
|
10556
11995
|
var $border = _ref2.$border;
|
|
10557
11996
|
return $border;
|
|
10558
11997
|
});
|
|
10559
|
-
var FirstContainer$
|
|
11998
|
+
var FirstContainer$2 = styled__default.div(_templateObject2$G || (_templateObject2$G = _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) {
|
|
10560
11999
|
var $headerPadding = _ref3.$headerPadding;
|
|
10561
12000
|
return $headerPadding ? $headerPadding : '0px';
|
|
10562
12001
|
});
|
|
10563
|
-
var TabContainer$
|
|
12002
|
+
var TabContainer$2 = styled__default.div(_templateObject3$u || (_templateObject3$u = _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) {
|
|
10564
12003
|
var $disabled = _ref4.$disabled;
|
|
10565
12004
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10566
12005
|
}, function (_ref5) {
|
|
@@ -10573,103 +12012,36 @@ var TabContainer$1 = styled__default.div(_templateObject3$m || (_templateObject3
|
|
|
10573
12012
|
var $disabled = _ref7.$disabled;
|
|
10574
12013
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10575
12014
|
});
|
|
10576
|
-
var TabItemContainer$
|
|
12015
|
+
var TabItemContainer$2 = styled__default.div(_templateObject4$p || (_templateObject4$p = _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) {
|
|
10577
12016
|
var $headerHeight = _ref8.$headerHeight;
|
|
10578
12017
|
return $headerHeight ? $headerHeight : '34px';
|
|
10579
12018
|
}, function (props) {
|
|
10580
12019
|
return props.$active ? 'block' : 'none';
|
|
10581
12020
|
}, colorVariables$1["default"].primary);
|
|
10582
|
-
var DetailsFirstContainer$
|
|
12021
|
+
var DetailsFirstContainer$2 = styled__default.div(_templateObject5$j || (_templateObject5$j = _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) {
|
|
10583
12022
|
return props.$active ? colorVariables$1["default"].primary : colorVariables$1.text.medium;
|
|
10584
12023
|
});
|
|
10585
|
-
var colorVariables$2 = {
|
|
10586
|
-
brand: {
|
|
10587
|
-
primary: 'var(--brand-primary)',
|
|
10588
|
-
secondary: 'var(--brand-secondary)',
|
|
10589
|
-
light: 'var(--brand-light)'
|
|
10590
|
-
},
|
|
10591
|
-
accent: {
|
|
10592
|
-
light: 'var(--accent-light)',
|
|
10593
|
-
extraLight: 'var(--accent-extraLight)',
|
|
10594
|
-
softBlue: 'var(--accent-softBlue)',
|
|
10595
|
-
extraSoftBlue: 'var(--accent-extraSoftBlue)',
|
|
10596
|
-
boldTransparent: 'var(--accent-boldTransparent)',
|
|
10597
|
-
transparent: 'var(--accent-transparent)',
|
|
10598
|
-
lightTransparent: 'var(--accent-lightTransparent)'
|
|
10599
|
-
},
|
|
10600
|
-
"default": {
|
|
10601
|
-
primary: 'var(--default-primary)',
|
|
10602
|
-
secondary: 'var(--default-secondary)',
|
|
10603
|
-
tertiary: 'var(--default-tertiary)',
|
|
10604
|
-
error: 'var(--default-error)',
|
|
10605
|
-
success: 'var(--default-success)',
|
|
10606
|
-
warning: 'var(--default-warning)',
|
|
10607
|
-
info: 'var(--default-info)'
|
|
10608
|
-
},
|
|
10609
|
-
disabled: {
|
|
10610
|
-
primary: 'var(--disabled-primary)',
|
|
10611
|
-
secondary: 'var(--disabled-secondary)',
|
|
10612
|
-
error: 'var(--disabled-error)',
|
|
10613
|
-
success: 'var(--disabled-success)',
|
|
10614
|
-
warning: 'var(--disabled-warning)',
|
|
10615
|
-
info: 'var(--disabled-info)'
|
|
10616
|
-
},
|
|
10617
|
-
hover: {
|
|
10618
|
-
primary: 'var(--hover-primary)',
|
|
10619
|
-
secondary: 'var(--hover-secondary)',
|
|
10620
|
-
tertiary: 'var(--hover-tertiary)',
|
|
10621
|
-
error: 'var(--hover-error)',
|
|
10622
|
-
success: 'var(--hover-success)',
|
|
10623
|
-
warning: 'var(--hover-warning)',
|
|
10624
|
-
info: 'var(--hover-info)'
|
|
10625
|
-
},
|
|
10626
|
-
border: {
|
|
10627
|
-
extraBold: 'var(--border-extraBold)',
|
|
10628
|
-
bold: 'var(--border-bold)',
|
|
10629
|
-
medium: 'var(--border-medium)',
|
|
10630
|
-
light: 'var(--border-light)',
|
|
10631
|
-
extraLight: 'var(--border-extraLight)'
|
|
10632
|
-
},
|
|
10633
|
-
text: {
|
|
10634
|
-
dark: 'var(--text-dark)',
|
|
10635
|
-
medium: 'var(--text-medium)',
|
|
10636
|
-
light: 'var(--text-light)',
|
|
10637
|
-
white: 'var(--text-white)',
|
|
10638
|
-
success: 'var(--text-success)',
|
|
10639
|
-
error: 'var(--text-error)',
|
|
10640
|
-
info: 'var(--text-info)',
|
|
10641
|
-
warning: 'var(--text-warning)'
|
|
10642
|
-
},
|
|
10643
|
-
badge: {
|
|
10644
|
-
lavender: 'var(--badge-lavender)',
|
|
10645
|
-
papayaWhip: 'var(--badge-papayaWhip)',
|
|
10646
|
-
water: 'var(--badge-water)',
|
|
10647
|
-
paleBlue: 'var(--badge-paleBlue)',
|
|
10648
|
-
teaGreen: 'var(--badge-teaGreen)',
|
|
10649
|
-
lightBlue: 'var(--badge-lightBlue)'
|
|
10650
|
-
}
|
|
10651
|
-
};
|
|
10652
12024
|
|
|
10653
|
-
var _templateObject$
|
|
10654
|
-
var SearchContainer$
|
|
12025
|
+
var _templateObject$Q, _templateObject2$H;
|
|
12026
|
+
var SearchContainer$8 = styled__default.div(_templateObject$Q || (_templateObject$Q = _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) {
|
|
10655
12027
|
var $background = _ref.$background;
|
|
10656
|
-
return $background || colorVariables$
|
|
12028
|
+
return $background || colorVariables$1["default"].tertiary;
|
|
10657
12029
|
}, function (_ref2) {
|
|
10658
12030
|
var $border = _ref2.$border;
|
|
10659
|
-
return $border || "1px solid " + colorVariables$
|
|
12031
|
+
return $border || "1px solid " + colorVariables$1.border.light;
|
|
10660
12032
|
}, function (_ref3) {
|
|
10661
12033
|
var $borderRadius = _ref3.$borderRadius;
|
|
10662
12034
|
return $borderRadius || '8px';
|
|
10663
12035
|
}, function (_ref4) {
|
|
10664
12036
|
var $disabled = _ref4.$disabled;
|
|
10665
12037
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10666
|
-
}, colorVariables$
|
|
10667
|
-
var SearchBar$
|
|
12038
|
+
}, colorVariables$1.text.dark);
|
|
12039
|
+
var SearchBar$8 = styled__default.input(_templateObject2$H || (_templateObject2$H = _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) {
|
|
10668
12040
|
var $inputColor = _ref5.$inputColor;
|
|
10669
|
-
return $inputColor || colorVariables$
|
|
12041
|
+
return $inputColor || colorVariables$1.text.medium;
|
|
10670
12042
|
}, function (_ref6) {
|
|
10671
12043
|
var $placeholderColor = _ref6.$placeholderColor;
|
|
10672
|
-
return $placeholderColor || colorVariables$
|
|
12044
|
+
return $placeholderColor || colorVariables$1.text.light;
|
|
10673
12045
|
});
|
|
10674
12046
|
var SearchBox = function SearchBox(_ref7) {
|
|
10675
12047
|
var value = _ref7.value,
|
|
@@ -10679,7 +12051,7 @@ var SearchBox = function SearchBox(_ref7) {
|
|
|
10679
12051
|
border = _ref7.border,
|
|
10680
12052
|
borderRadius = _ref7.borderRadius,
|
|
10681
12053
|
_ref7$iconColor = _ref7.iconColor,
|
|
10682
|
-
iconColor = _ref7$iconColor === void 0 ? colorVariables$
|
|
12054
|
+
iconColor = _ref7$iconColor === void 0 ? colorVariables$1.text.medium : _ref7$iconColor,
|
|
10683
12055
|
placeholderColor = _ref7.placeholderColor,
|
|
10684
12056
|
inputColor = _ref7.inputColor,
|
|
10685
12057
|
_ref7$iconSize = _ref7.iconSize,
|
|
@@ -10688,7 +12060,7 @@ var SearchBox = function SearchBox(_ref7) {
|
|
|
10688
12060
|
var _useState = React.useState(false),
|
|
10689
12061
|
isFocused = _useState[0],
|
|
10690
12062
|
setIsFocused = _useState[1];
|
|
10691
|
-
return React__default.createElement(SearchContainer$
|
|
12063
|
+
return React__default.createElement(SearchContainer$8, {
|
|
10692
12064
|
className: isFocused ? 'active' : '',
|
|
10693
12065
|
"$border": border,
|
|
10694
12066
|
"$background": background,
|
|
@@ -10698,7 +12070,7 @@ var SearchBox = function SearchBox(_ref7) {
|
|
|
10698
12070
|
size: iconSize,
|
|
10699
12071
|
color: iconColor,
|
|
10700
12072
|
weight: '0px'
|
|
10701
|
-
}), React__default.createElement(SearchBar$
|
|
12073
|
+
}), React__default.createElement(SearchBar$8, {
|
|
10702
12074
|
type: 'text',
|
|
10703
12075
|
placeholder: placeholder,
|
|
10704
12076
|
value: value,
|
|
@@ -10714,8 +12086,8 @@ var SearchBox = function SearchBox(_ref7) {
|
|
|
10714
12086
|
}));
|
|
10715
12087
|
};
|
|
10716
12088
|
|
|
10717
|
-
var _templateObject$
|
|
10718
|
-
var Label$
|
|
12089
|
+
var _templateObject$R, _templateObject2$I, _templateObject3$v, _templateObject4$q, _templateObject5$k;
|
|
12090
|
+
var Label$6 = styled__default.label(_templateObject$R || (_templateObject$R = _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) {
|
|
10719
12091
|
var $fontWeight = _ref.$fontWeight;
|
|
10720
12092
|
return $fontWeight != null ? $fontWeight : '500';
|
|
10721
12093
|
}, function (_ref2) {
|
|
@@ -10753,7 +12125,7 @@ var Label$4 = styled__default.label(_templateObject$E || (_templateObject$E = _t
|
|
|
10753
12125
|
return $titlecolor;
|
|
10754
12126
|
}
|
|
10755
12127
|
});
|
|
10756
|
-
var Input$
|
|
12128
|
+
var Input$3 = styled__default.input(_templateObject2$I || (_templateObject2$I = _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) {
|
|
10757
12129
|
var $disabled = _ref4.$disabled;
|
|
10758
12130
|
return $disabled ? 'not-allowed' : 'auto';
|
|
10759
12131
|
}, function (_ref5) {
|
|
@@ -10802,12 +12174,12 @@ var Input$2 = styled__default.input(_templateObject2$x || (_templateObject2$x =
|
|
|
10802
12174
|
return $color;
|
|
10803
12175
|
}
|
|
10804
12176
|
}, colorVariables.text.light);
|
|
10805
|
-
var InputWrapper$
|
|
10806
|
-
var IconWrapper$
|
|
12177
|
+
var InputWrapper$4 = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
12178
|
+
var IconWrapper$7 = styled__default.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
10807
12179
|
var $disabled = _ref10.$disabled;
|
|
10808
12180
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10809
12181
|
});
|
|
10810
|
-
var Asterisk$
|
|
12182
|
+
var Asterisk$4 = styled__default.span(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 10px;\n height: fit-content;\n position: absolute;\n top: -2px;\n right: -8px;\n"])), colorVariables["default"].error);
|
|
10811
12183
|
var TextField = function TextField(_ref11) {
|
|
10812
12184
|
var _ref11$type = _ref11.type,
|
|
10813
12185
|
type = _ref11$type === void 0 ? 'text' : _ref11$type,
|
|
@@ -10863,12 +12235,12 @@ var TextField = function TextField(_ref11) {
|
|
|
10863
12235
|
"$padding": padding
|
|
10864
12236
|
}, (title || titleRightNode) && React__default.createElement(Container, {
|
|
10865
12237
|
"$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap
|
|
10866
|
-
}, title && React__default.createElement(Label$
|
|
12238
|
+
}, title && React__default.createElement(Label$6, {
|
|
10867
12239
|
"$size": size,
|
|
10868
12240
|
"$fontWeight": titleWeight,
|
|
10869
12241
|
htmlFor: title,
|
|
10870
12242
|
"$titlecolor": titlecolor
|
|
10871
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
12243
|
+
}, title, required && React__default.createElement(Asterisk$4, null, "*")), titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.node), React__default.createElement(InputWrapper$4, null, React__default.createElement(Input$3, {
|
|
10872
12244
|
type: inputType || 'text',
|
|
10873
12245
|
"$type": type,
|
|
10874
12246
|
name: title,
|
|
@@ -10886,7 +12258,7 @@ var TextField = function TextField(_ref11) {
|
|
|
10886
12258
|
if (onEnter) onEnter();
|
|
10887
12259
|
}
|
|
10888
12260
|
}
|
|
10889
|
-
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$
|
|
12261
|
+
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$7, {
|
|
10890
12262
|
"$disabled": disabled,
|
|
10891
12263
|
onClick: function onClick() {
|
|
10892
12264
|
if (!disabled) handleShowPassword();
|
|
@@ -10896,7 +12268,7 @@ var TextField = function TextField(_ref11) {
|
|
|
10896
12268
|
size: iconsize,
|
|
10897
12269
|
weight: iconweight,
|
|
10898
12270
|
color: iconcolor || colorVariables["default"].primary
|
|
10899
|
-
})), icon && type !== 'password' && React__default.createElement(IconWrapper$
|
|
12271
|
+
})), icon && type !== 'password' && React__default.createElement(IconWrapper$7, {
|
|
10900
12272
|
onClick: handleToggleDisabled
|
|
10901
12273
|
}, React__default.createElement(Icon, {
|
|
10902
12274
|
icon: icon,
|
|
@@ -10906,12 +12278,12 @@ var TextField = function TextField(_ref11) {
|
|
|
10906
12278
|
}))));
|
|
10907
12279
|
};
|
|
10908
12280
|
|
|
10909
|
-
var _templateObject$
|
|
10910
|
-
var Container$
|
|
12281
|
+
var _templateObject$S, _templateObject2$J, _templateObject3$w;
|
|
12282
|
+
var Container$9 = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10911
12283
|
var $padding = _ref.$padding;
|
|
10912
12284
|
return $padding;
|
|
10913
12285
|
});
|
|
10914
|
-
var Label$
|
|
12286
|
+
var Label$7 = styled__default.label(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n cursor: auto;\n font-weight: ", ";\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10915
12287
|
var $fontWeight = _ref2.$fontWeight;
|
|
10916
12288
|
return $fontWeight != null ? $fontWeight : '500';
|
|
10917
12289
|
}, function (_ref3) {
|
|
@@ -10930,7 +12302,7 @@ var Label$5 = styled__default.label(_templateObject2$y || (_templateObject2$y =
|
|
|
10930
12302
|
var $titlecolor = _ref4.$titlecolor;
|
|
10931
12303
|
return $titlecolor || colorVariables.text.dark;
|
|
10932
12304
|
});
|
|
10933
|
-
var TextAreaComponent$
|
|
12305
|
+
var TextAreaComponent$3 = styled__default.textarea(_templateObject3$w || (_templateObject3$w = _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) {
|
|
10934
12306
|
var $disabled = _ref5.$disabled;
|
|
10935
12307
|
return $disabled ? 'not-allowed' : 'auto';
|
|
10936
12308
|
}, function (_ref6) {
|
|
@@ -10982,14 +12354,14 @@ var TextArea = function TextArea(_ref10) {
|
|
|
10982
12354
|
React.useEffect(function () {
|
|
10983
12355
|
setIsDisabled(disabled);
|
|
10984
12356
|
}, [disabled]);
|
|
10985
|
-
return React__default.createElement(Container$
|
|
12357
|
+
return React__default.createElement(Container$9, {
|
|
10986
12358
|
"$padding": padding
|
|
10987
|
-
}, title && React__default.createElement(Label$
|
|
12359
|
+
}, title && React__default.createElement(Label$7, {
|
|
10988
12360
|
"$size": size,
|
|
10989
12361
|
"$fontWeight": titleWeight,
|
|
10990
12362
|
htmlFor: title,
|
|
10991
12363
|
"$titlecolor": titlecolor
|
|
10992
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
12364
|
+
}, title, required && React__default.createElement(Asterisk$4, null, "*")), React__default.createElement(TextAreaComponent$3, {
|
|
10993
12365
|
name: title,
|
|
10994
12366
|
id: title,
|
|
10995
12367
|
value: inputValue,
|
|
@@ -11002,18 +12374,18 @@ var TextArea = function TextArea(_ref10) {
|
|
|
11002
12374
|
}));
|
|
11003
12375
|
};
|
|
11004
12376
|
|
|
11005
|
-
var _templateObject$
|
|
11006
|
-
var OptionContainer$
|
|
11007
|
-
var OptionItem$
|
|
12377
|
+
var _templateObject$T, _templateObject2$K, _templateObject3$x, _templateObject4$r, _templateObject5$l, _templateObject6$b, _templateObject7$6;
|
|
12378
|
+
var OptionContainer$4 = styled__default.div(_templateObject$T || (_templateObject$T = _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);
|
|
12379
|
+
var OptionItem$4 = styled__default.div(_templateObject2$K || (_templateObject2$K = _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) {
|
|
11008
12380
|
var $optionSelected = _ref.$optionSelected;
|
|
11009
12381
|
return $optionSelected ? colorVariables.text.white : colorVariables.text.medium;
|
|
11010
12382
|
}, function (_ref2) {
|
|
11011
12383
|
var $optionSelected = _ref2.$optionSelected;
|
|
11012
12384
|
return $optionSelected ? colorVariables["default"].primary : colorVariables.text.white;
|
|
11013
12385
|
}, colorVariables.hover.primary, colorVariables.text.white);
|
|
11014
|
-
var TotalOptionsHeader$
|
|
11015
|
-
var OptionLabel$
|
|
11016
|
-
var SearchContainer$
|
|
12386
|
+
var TotalOptionsHeader$3 = styled__default.div(_templateObject3$x || (_templateObject3$x = _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);
|
|
12387
|
+
var OptionLabel$4 = styled__default.label(_templateObject4$r || (_templateObject4$r = _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"])));
|
|
12388
|
+
var SearchContainer$9 = styled__default.div(_templateObject5$l || (_templateObject5$l = _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) {
|
|
11017
12389
|
var $background = _ref3.$background;
|
|
11018
12390
|
switch ($background) {
|
|
11019
12391
|
case 'dark':
|
|
@@ -11042,7 +12414,7 @@ var SearchContainer$7 = styled__default.div(_templateObject5$g || (_templateObje
|
|
|
11042
12414
|
var $borderRadius = _ref5.$borderRadius;
|
|
11043
12415
|
return $borderRadius || '8px';
|
|
11044
12416
|
});
|
|
11045
|
-
var SearchBar$
|
|
12417
|
+
var SearchBar$9 = styled__default.input(_templateObject6$b || (_templateObject6$b = _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) {
|
|
11046
12418
|
var $inputColor = _ref6.$inputColor;
|
|
11047
12419
|
switch ($inputColor) {
|
|
11048
12420
|
case 'dark':
|
|
@@ -11087,7 +12459,7 @@ var SearchBar$7 = styled__default.input(_templateObject6$9 || (_templateObject6$
|
|
|
11087
12459
|
return $placeholderColor;
|
|
11088
12460
|
}
|
|
11089
12461
|
});
|
|
11090
|
-
var OptionsWrapper$
|
|
12462
|
+
var OptionsWrapper$4 = styled__default.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables.text.white);
|
|
11091
12463
|
var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
11092
12464
|
var options = _ref8.options,
|
|
11093
12465
|
selectedOption = _ref8.selectedOption,
|
|
@@ -11136,7 +12508,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
11136
12508
|
"$gap": '8px',
|
|
11137
12509
|
"$width": '100%',
|
|
11138
12510
|
"$position": 'relative'
|
|
11139
|
-
}, searchBox && React__default.createElement(SearchContainer$
|
|
12511
|
+
}, searchBox && React__default.createElement(SearchContainer$9, {
|
|
11140
12512
|
"$borderBottom": searchBoxBorder,
|
|
11141
12513
|
"$background": isSearchBarEnabled ? colorVariables.text.white : colorVariables.accent.light,
|
|
11142
12514
|
"$borderRadius": searchBoxBorderRadius,
|
|
@@ -11152,7 +12524,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
11152
12524
|
onClick: function onClick() {
|
|
11153
12525
|
return setIsSearchBarEnabled(true);
|
|
11154
12526
|
}
|
|
11155
|
-
}, React__default.createElement(SearchBar$
|
|
12527
|
+
}, React__default.createElement(SearchBar$9, {
|
|
11156
12528
|
type: 'text',
|
|
11157
12529
|
placeholder: placeholder,
|
|
11158
12530
|
value: internalSearchQuery,
|
|
@@ -11169,18 +12541,18 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
11169
12541
|
setInternalSearchQuery('');
|
|
11170
12542
|
setSearchQuery('');
|
|
11171
12543
|
}
|
|
11172
|
-
}), isSearchBarEnabled && React__default.createElement(OptionContainer$
|
|
12544
|
+
}), isSearchBarEnabled && React__default.createElement(OptionContainer$4, null, options.length > 0 ? React__default.createElement(Container, {
|
|
11173
12545
|
"$flexDirection": 'column',
|
|
11174
12546
|
"$overflow": 'auto'
|
|
11175
|
-
}, React__default.createElement(TotalOptionsHeader$
|
|
12547
|
+
}, React__default.createElement(TotalOptionsHeader$3, null, React__default.createElement(Span, {
|
|
11176
12548
|
"$fontSize": '12px',
|
|
11177
12549
|
"$fontWeight": '400',
|
|
11178
12550
|
"$color": colorVariables.text.light
|
|
11179
|
-
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React__default.createElement(OptionsWrapper$
|
|
11180
|
-
return React__default.createElement(OptionItem$
|
|
12551
|
+
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React__default.createElement(OptionsWrapper$4, null, filteredArray.length > 0 ? filteredArray.map(function (option) {
|
|
12552
|
+
return React__default.createElement(OptionItem$4, {
|
|
11181
12553
|
key: option.value,
|
|
11182
12554
|
"$optionSelected": option.value === selectedOption
|
|
11183
|
-
}, React__default.createElement(OptionLabel$
|
|
12555
|
+
}, React__default.createElement(OptionLabel$4, {
|
|
11184
12556
|
htmlFor: option.value,
|
|
11185
12557
|
onClick: function onClick() {
|
|
11186
12558
|
setInternalSearchQuery(option.labelText);
|
|
@@ -11202,8 +12574,8 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
11202
12574
|
}, NoOptionsText)))));
|
|
11203
12575
|
};
|
|
11204
12576
|
|
|
11205
|
-
var _templateObject$
|
|
11206
|
-
var StyledInput$
|
|
12577
|
+
var _templateObject$U, _templateObject2$L;
|
|
12578
|
+
var StyledInput$4 = styled__default.input(_templateObject$U || (_templateObject$U = _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) {
|
|
11207
12579
|
var $checkboxSize = _ref.$checkboxSize;
|
|
11208
12580
|
return $checkboxSize + "px";
|
|
11209
12581
|
}, function (_ref2) {
|
|
@@ -11232,7 +12604,7 @@ var StyledInput$3 = styled__default.input(_templateObject$H || (_templateObject$
|
|
|
11232
12604
|
var $checkboxSize = _ref9.$checkboxSize;
|
|
11233
12605
|
return $checkboxSize / 2.4 + "px";
|
|
11234
12606
|
}, colorVariables.text.white);
|
|
11235
|
-
var LabelSpan$
|
|
12607
|
+
var LabelSpan$3 = styled__default(Span)(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n font-weight: 500;\n line-height: 1;\n user-select: none;\n"])));
|
|
11236
12608
|
var CheckBox = function CheckBox(_ref10) {
|
|
11237
12609
|
var label = _ref10.label,
|
|
11238
12610
|
_ref10$labelSide = _ref10.labelSide,
|
|
@@ -11266,7 +12638,7 @@ var CheckBox = function CheckBox(_ref10) {
|
|
|
11266
12638
|
height: checkboxSize,
|
|
11267
12639
|
display: 'flex'
|
|
11268
12640
|
}
|
|
11269
|
-
}, React__default.createElement(StyledInput$
|
|
12641
|
+
}, React__default.createElement(StyledInput$4, {
|
|
11270
12642
|
type: 'checkbox',
|
|
11271
12643
|
id: safeId,
|
|
11272
12644
|
"$checkboxSize": checkboxSize,
|
|
@@ -11277,7 +12649,7 @@ var CheckBox = function CheckBox(_ref10) {
|
|
|
11277
12649
|
},
|
|
11278
12650
|
disabled: disabled,
|
|
11279
12651
|
"$borderSize": borderSize
|
|
11280
|
-
})), label && React__default.createElement(LabelSpan$
|
|
12652
|
+
})), label && React__default.createElement(LabelSpan$3, {
|
|
11281
12653
|
"$fontSize": fontSize,
|
|
11282
12654
|
"$color": color,
|
|
11283
12655
|
"$fontWeight": fontWeight,
|
|
@@ -11287,31 +12659,31 @@ var CheckBox = function CheckBox(_ref10) {
|
|
|
11287
12659
|
}, label));
|
|
11288
12660
|
};
|
|
11289
12661
|
|
|
11290
|
-
var _templateObject$
|
|
11291
|
-
var spin$
|
|
11292
|
-
var getDotPosition$
|
|
12662
|
+
var _templateObject$V, _templateObject2$M, _templateObject3$y, _templateObject4$s;
|
|
12663
|
+
var spin$7 = styled.keyframes(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
12664
|
+
var getDotPosition$3 = function getDotPosition(index, size) {
|
|
11293
12665
|
var angle = index * 360 / 8;
|
|
11294
12666
|
var radius = size / 2.5;
|
|
11295
12667
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
11296
12668
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
11297
12669
|
return "translate(" + x + "px, " + y + "px)";
|
|
11298
12670
|
};
|
|
11299
|
-
var SpinnerContainer$
|
|
12671
|
+
var SpinnerContainer$3 = styled__default.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
11300
12672
|
var $size = _ref.$size;
|
|
11301
12673
|
return $size;
|
|
11302
12674
|
}, function (_ref2) {
|
|
11303
12675
|
var $size = _ref2.$size;
|
|
11304
12676
|
return $size;
|
|
11305
12677
|
});
|
|
11306
|
-
var Dot$
|
|
12678
|
+
var Dot$3 = styled__default.div.attrs(function (_ref3) {
|
|
11307
12679
|
var $index = _ref3.$index,
|
|
11308
12680
|
$size = _ref3.$size;
|
|
11309
12681
|
return {
|
|
11310
12682
|
style: {
|
|
11311
|
-
transform: getDotPosition$
|
|
12683
|
+
transform: getDotPosition$3($index, $size)
|
|
11312
12684
|
}
|
|
11313
12685
|
};
|
|
11314
|
-
})(_templateObject3$
|
|
12686
|
+
})(_templateObject3$y || (_templateObject3$y = _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) {
|
|
11315
12687
|
var $dotSize = _ref4.$dotSize;
|
|
11316
12688
|
return $dotSize;
|
|
11317
12689
|
}, function (_ref5) {
|
|
@@ -11320,7 +12692,7 @@ var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
|
11320
12692
|
}, function (_ref6) {
|
|
11321
12693
|
var $color = _ref6.$color;
|
|
11322
12694
|
return $color;
|
|
11323
|
-
}, spin$
|
|
12695
|
+
}, spin$7, function (_ref7) {
|
|
11324
12696
|
var $speed = _ref7.$speed;
|
|
11325
12697
|
return $speed;
|
|
11326
12698
|
}, function (_ref8) {
|
|
@@ -11328,7 +12700,7 @@ var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
|
11328
12700
|
$speed = _ref8.$speed;
|
|
11329
12701
|
return $index * $speed / 8;
|
|
11330
12702
|
});
|
|
11331
|
-
var SpinnerWrapper$
|
|
12703
|
+
var SpinnerWrapper$3 = styled__default.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
11332
12704
|
var sizeMap = {
|
|
11333
12705
|
small: {
|
|
11334
12706
|
size: 32
|
|
@@ -11352,13 +12724,13 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
11352
12724
|
text = _ref9.text,
|
|
11353
12725
|
customSize = _ref9.customSize;
|
|
11354
12726
|
var spinnerSize = customSize != null ? customSize : sizeMap[size].size;
|
|
11355
|
-
return React__default.createElement(SpinnerWrapper$
|
|
12727
|
+
return React__default.createElement(SpinnerWrapper$3, null, React__default.createElement(SpinnerContainer$3, {
|
|
11356
12728
|
"$size": spinnerSize,
|
|
11357
12729
|
"aria-label": "Loading animation"
|
|
11358
12730
|
}, Array.from({
|
|
11359
12731
|
length: 8
|
|
11360
12732
|
}).map(function (_, i) {
|
|
11361
|
-
return React__default.createElement(Dot$
|
|
12733
|
+
return React__default.createElement(Dot$3, {
|
|
11362
12734
|
key: i,
|
|
11363
12735
|
"$index": i,
|
|
11364
12736
|
"$size": spinnerSize,
|
|
@@ -11369,9 +12741,9 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
11369
12741
|
})), text && React__default.createElement(React__default.Fragment, null, text));
|
|
11370
12742
|
};
|
|
11371
12743
|
|
|
11372
|
-
var _templateObject$
|
|
11373
|
-
var spin$
|
|
11374
|
-
var Spinner$
|
|
12744
|
+
var _templateObject$W, _templateObject2$N;
|
|
12745
|
+
var spin$8 = styled.keyframes(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
12746
|
+
var Spinner$4 = styled__default.div(_templateObject2$N || (_templateObject2$N = _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) {
|
|
11375
12747
|
var $size = _ref.$size;
|
|
11376
12748
|
return $size;
|
|
11377
12749
|
}, function (_ref2) {
|
|
@@ -11380,7 +12752,7 @@ var Spinner$3 = styled__default.div(_templateObject2$C || (_templateObject2$C =
|
|
|
11380
12752
|
}, function (_ref3) {
|
|
11381
12753
|
var $color = _ref3.$color;
|
|
11382
12754
|
return $color;
|
|
11383
|
-
}, spin$
|
|
12755
|
+
}, spin$8);
|
|
11384
12756
|
var Loader = function Loader(_ref4) {
|
|
11385
12757
|
var title = _ref4.title,
|
|
11386
12758
|
_ref4$size = _ref4.size,
|
|
@@ -11396,7 +12768,7 @@ var Loader = function Loader(_ref4) {
|
|
|
11396
12768
|
"$height": '100%',
|
|
11397
12769
|
"$flexDirection": 'column',
|
|
11398
12770
|
"$gap": '12px'
|
|
11399
|
-
}, React__default.createElement(Container, null, React__default.createElement(Spinner$
|
|
12771
|
+
}, React__default.createElement(Container, null, React__default.createElement(Spinner$4, {
|
|
11400
12772
|
"$size": size,
|
|
11401
12773
|
"$color": color
|
|
11402
12774
|
})), title && React__default.createElement(Container, {
|
|
@@ -11412,8 +12784,8 @@ var Loader = function Loader(_ref4) {
|
|
|
11412
12784
|
}, title))));
|
|
11413
12785
|
};
|
|
11414
12786
|
|
|
11415
|
-
var _templateObject$
|
|
11416
|
-
var PageInput$
|
|
12787
|
+
var _templateObject$X;
|
|
12788
|
+
var PageInput$3 = styled__default.input(_templateObject$X || (_templateObject$X = _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);
|
|
11417
12789
|
var Pagination = function Pagination(_ref) {
|
|
11418
12790
|
var totalPages = _ref.totalPages,
|
|
11419
12791
|
currentPage = _ref.currentPage,
|
|
@@ -11471,7 +12843,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
11471
12843
|
}, React__default.createElement(Container, {
|
|
11472
12844
|
"$gap": '4px',
|
|
11473
12845
|
"$alignItems": 'center'
|
|
11474
|
-
}, React__default.createElement(PageInput$
|
|
12846
|
+
}, React__default.createElement(PageInput$3, {
|
|
11475
12847
|
type: 'number',
|
|
11476
12848
|
value: inputPage,
|
|
11477
12849
|
onChange: handleInputChange,
|
|
@@ -11597,22 +12969,22 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
11597
12969
|
})));
|
|
11598
12970
|
};
|
|
11599
12971
|
|
|
11600
|
-
var _templateObject$
|
|
11601
|
-
var SidebarContainer$
|
|
12972
|
+
var _templateObject$Y, _templateObject2$O, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$c;
|
|
12973
|
+
var SidebarContainer$3 = styled__default.div(_templateObject$Y || (_templateObject$Y = _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) {
|
|
11602
12974
|
var $isExpanded = _ref.$isExpanded;
|
|
11603
12975
|
return $isExpanded ? '225px' : '68px';
|
|
11604
12976
|
}, function (_ref2) {
|
|
11605
12977
|
var $background = _ref2.$background;
|
|
11606
12978
|
return $background ? $background : colorVariables.accent.softBlue;
|
|
11607
12979
|
});
|
|
11608
|
-
var SidebarItem$
|
|
11609
|
-
var ContentWrapper$
|
|
11610
|
-
var IconWrapper$
|
|
12980
|
+
var SidebarItem$3 = styled__default(reactRouterDom.NavLink)(_templateObject2$O || (_templateObject2$O = _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);
|
|
12981
|
+
var ContentWrapper$3 = styled__default.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
12982
|
+
var IconWrapper$8 = styled__default.div(_templateObject4$t || (_templateObject4$t = _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) {
|
|
11611
12983
|
var $selected = _ref3.$selected;
|
|
11612
12984
|
return $selected ? colorVariables["default"].primary : colorVariables["default"].tertiary;
|
|
11613
12985
|
});
|
|
11614
|
-
var Logo$
|
|
11615
|
-
var TextContainer$
|
|
12986
|
+
var Logo$3 = styled__default.div(_templateObject5$m || (_templateObject5$m = _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"])));
|
|
12987
|
+
var TextContainer$3 = styled__default.span(_templateObject6$c || (_templateObject6$c = _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) {
|
|
11616
12988
|
var $padding = _ref4.$padding;
|
|
11617
12989
|
return $padding;
|
|
11618
12990
|
}, function (_ref5) {
|
|
@@ -11649,7 +13021,7 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
11649
13021
|
return parts.length > 0 ? "/" + parts[0] + "/" : '/';
|
|
11650
13022
|
};
|
|
11651
13023
|
var topLevelPath = getTopLevelPathWithSlash(location.pathname) || getTopLevelPath(location.pathname);
|
|
11652
|
-
return React__default.createElement(SidebarContainer$
|
|
13024
|
+
return React__default.createElement(SidebarContainer$3, {
|
|
11653
13025
|
"$background": background,
|
|
11654
13026
|
"$isExpanded": isExpanded,
|
|
11655
13027
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -11658,24 +13030,24 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
11658
13030
|
onMouseLeave: function onMouseLeave() {
|
|
11659
13031
|
return setIsExpanded(false);
|
|
11660
13032
|
}
|
|
11661
|
-
}, logo && React__default.createElement(Logo$
|
|
13033
|
+
}, logo && React__default.createElement(Logo$3, null, React__default.createElement(Icon, {
|
|
11662
13034
|
icon: logo.icon
|
|
11663
|
-
}), React__default.createElement(TextContainer$
|
|
13035
|
+
}), React__default.createElement(TextContainer$3, {
|
|
11664
13036
|
"$isExpanded": isExpanded,
|
|
11665
13037
|
"$fontWeight": "700"
|
|
11666
|
-
}, logo.name)), React__default.createElement(ContentWrapper$
|
|
13038
|
+
}, logo.name)), React__default.createElement(ContentWrapper$3, null, content.map(function (item) {
|
|
11667
13039
|
var isActive = item.url.includes(topLevelPath);
|
|
11668
|
-
return React__default.createElement(SidebarItem$
|
|
13040
|
+
return React__default.createElement(SidebarItem$3, {
|
|
11669
13041
|
to: item.url,
|
|
11670
13042
|
key: item.id
|
|
11671
|
-
}, React__default.createElement(IconWrapper$
|
|
13043
|
+
}, React__default.createElement(IconWrapper$8, {
|
|
11672
13044
|
"$selected": isActive
|
|
11673
13045
|
}, React__default.createElement(Icon, {
|
|
11674
13046
|
icon: item.icon,
|
|
11675
13047
|
size: 20,
|
|
11676
13048
|
weight: item.iconWeight,
|
|
11677
13049
|
color: isActive ? colorVariables.text.white : colorVariables.text.medium
|
|
11678
|
-
})), React__default.createElement(TextContainer$
|
|
13050
|
+
})), React__default.createElement(TextContainer$3, {
|
|
11679
13051
|
"$isExpanded": isExpanded,
|
|
11680
13052
|
"$fontSize": "14px",
|
|
11681
13053
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -11684,14 +13056,14 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
11684
13056
|
})), ProfileContent);
|
|
11685
13057
|
};
|
|
11686
13058
|
|
|
11687
|
-
var _templateObject$
|
|
11688
|
-
var ContainerWrapper$
|
|
13059
|
+
var _templateObject$Z, _templateObject2$P, _templateObject3$A, _templateObject4$u;
|
|
13060
|
+
var ContainerWrapper$3 = styled__default.div(_templateObject$Z || (_templateObject$Z = _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) {
|
|
11689
13061
|
return props.$width || 'auto';
|
|
11690
13062
|
}, function (_ref) {
|
|
11691
13063
|
var $minHeight = _ref.$minHeight;
|
|
11692
13064
|
return $minHeight;
|
|
11693
13065
|
});
|
|
11694
|
-
var CellContainer$
|
|
13066
|
+
var CellContainer$3 = styled__default.div(_templateObject2$P || (_templateObject2$P = _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) {
|
|
11695
13067
|
return props.$align;
|
|
11696
13068
|
}, function (props) {
|
|
11697
13069
|
return props.$width || 'auto';
|
|
@@ -11702,14 +13074,14 @@ var CellContainer$2 = styled__default.div(_templateObject2$E || (_templateObject
|
|
|
11702
13074
|
}, function (props) {
|
|
11703
13075
|
return props.$padding;
|
|
11704
13076
|
});
|
|
11705
|
-
var MainText$
|
|
13077
|
+
var MainText$3 = styled__default.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11706
13078
|
return props.$mtc;
|
|
11707
13079
|
}, function (props) {
|
|
11708
13080
|
return props.$mtfs;
|
|
11709
13081
|
}, function (props) {
|
|
11710
13082
|
return props.$mtw;
|
|
11711
13083
|
});
|
|
11712
|
-
var SubText$
|
|
13084
|
+
var SubText$3 = styled__default.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
11713
13085
|
return props.$stc;
|
|
11714
13086
|
}, function (props) {
|
|
11715
13087
|
return props.$stfs;
|
|
@@ -11738,31 +13110,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
11738
13110
|
CustomFunction = _ref2.CustomFunction,
|
|
11739
13111
|
padding = _ref2.padding,
|
|
11740
13112
|
minHeight = _ref2.minHeight;
|
|
11741
|
-
return React__default.createElement(ContainerWrapper$
|
|
13113
|
+
return React__default.createElement(ContainerWrapper$3, {
|
|
11742
13114
|
"$width": width,
|
|
11743
13115
|
"$minHeight": minHeight
|
|
11744
|
-
}, CustomFunction ? React__default.createElement(CellContainer$
|
|
13116
|
+
}, CustomFunction ? React__default.createElement(CellContainer$3, {
|
|
11745
13117
|
"$align": alignment,
|
|
11746
13118
|
"$width": width,
|
|
11747
13119
|
"$minWidth": minWidth
|
|
11748
|
-
}, CustomFunction) : React__default.createElement(CellContainer$
|
|
13120
|
+
}, CustomFunction) : React__default.createElement(CellContainer$3, {
|
|
11749
13121
|
"$align": alignment,
|
|
11750
13122
|
"$width": width,
|
|
11751
13123
|
"$minWidth": minWidth,
|
|
11752
13124
|
"$padding": padding
|
|
11753
|
-
}, React__default.createElement(MainText$
|
|
13125
|
+
}, React__default.createElement(MainText$3, {
|
|
11754
13126
|
"$mtc": maintextcolor,
|
|
11755
13127
|
"$mtfs": maintextfontsize,
|
|
11756
13128
|
"$mtw": maintextweight
|
|
11757
|
-
}, maintext), subtext && React__default.createElement(SubText$
|
|
13129
|
+
}, maintext), subtext && React__default.createElement(SubText$3, {
|
|
11758
13130
|
"$stc": subtextcolor,
|
|
11759
13131
|
"$stfs": subtextfontsize,
|
|
11760
13132
|
"$stw": subtextweight
|
|
11761
13133
|
}, subtext)));
|
|
11762
13134
|
};
|
|
11763
13135
|
|
|
11764
|
-
var _templateObject$
|
|
11765
|
-
var TableRowContainer$
|
|
13136
|
+
var _templateObject$_;
|
|
13137
|
+
var TableRowContainer$3 = styled.styled.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11766
13138
|
var TableRow = function TableRow(_ref) {
|
|
11767
13139
|
var rowconfig = _ref.rowconfig,
|
|
11768
13140
|
tableheaderconfig = _ref.tableheaderconfig;
|
|
@@ -11771,7 +13143,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
11771
13143
|
};
|
|
11772
13144
|
return React__default.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
11773
13145
|
var _rowconfig$Index;
|
|
11774
|
-
return React__default.createElement(TableRowContainer$
|
|
13146
|
+
return React__default.createElement(TableRowContainer$3, {
|
|
11775
13147
|
key: Index
|
|
11776
13148
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
11777
13149
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -11805,16 +13177,16 @@ var TableRow = function TableRow(_ref) {
|
|
|
11805
13177
|
}));
|
|
11806
13178
|
};
|
|
11807
13179
|
|
|
11808
|
-
var _templateObject
|
|
11809
|
-
var TableContainer$
|
|
11810
|
-
var TableHeader$
|
|
13180
|
+
var _templateObject$$, _templateObject2$Q, _templateObject3$B, _templateObject4$v, _templateObject5$n;
|
|
13181
|
+
var TableContainer$3 = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables.brand.light);
|
|
13182
|
+
var TableHeader$3 = styled__default.div(_templateObject2$Q || (_templateObject2$Q = _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) {
|
|
11811
13183
|
return props.$hbcolor || 'transparent';
|
|
11812
13184
|
}, function (props) {
|
|
11813
13185
|
return props.$tcolor || 'white';
|
|
11814
13186
|
});
|
|
11815
|
-
var TableContent$
|
|
11816
|
-
var TableData$
|
|
11817
|
-
var Divider$
|
|
13187
|
+
var TableContent$3 = styled__default.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
13188
|
+
var TableData$3 = styled__default.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
13189
|
+
var Divider$3 = styled__default.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
|
|
11818
13190
|
var Table = function Table(_ref) {
|
|
11819
13191
|
var tableObject = _ref.tableObject,
|
|
11820
13192
|
_ref$filter = _ref.filter,
|
|
@@ -11864,7 +13236,7 @@ var Table = function Table(_ref) {
|
|
|
11864
13236
|
React.useEffect(function () {
|
|
11865
13237
|
setIsAllSelected(false);
|
|
11866
13238
|
}, [rowconfig]);
|
|
11867
|
-
return React__default.createElement(TableContainer$
|
|
13239
|
+
return React__default.createElement(TableContainer$3, null, React__default.createElement(TableContent$3, null, React__default.createElement(TableHeader$3, {
|
|
11868
13240
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
11869
13241
|
"$tcolor": tableheaderconfig.textcolor
|
|
11870
13242
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
@@ -11894,7 +13266,7 @@ var Table = function Table(_ref) {
|
|
|
11894
13266
|
"$alignItems": 'center',
|
|
11895
13267
|
"$padding": '24px 24px',
|
|
11896
13268
|
"$justifyContent": 'center'
|
|
11897
|
-
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$
|
|
13269
|
+
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$3, null, Object.entries(roleGroups).map(function (_ref2) {
|
|
11898
13270
|
var role = _ref2[0],
|
|
11899
13271
|
rows = _ref2[1];
|
|
11900
13272
|
return React__default.createElement(React__default.Fragment, {
|
|
@@ -11924,31 +13296,31 @@ var Table = function Table(_ref) {
|
|
|
11924
13296
|
}, React__default.createElement(TableRow, {
|
|
11925
13297
|
rowconfig: [row],
|
|
11926
13298
|
tableheaderconfig: tableheaderconfig
|
|
11927
|
-
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$
|
|
13299
|
+
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$3, null));
|
|
11928
13300
|
}));
|
|
11929
|
-
})) : React__default.createElement(TableData$
|
|
13301
|
+
})) : React__default.createElement(TableData$3, null, filteredRows.map(function (row, index) {
|
|
11930
13302
|
return React__default.createElement(React__default.Fragment, {
|
|
11931
13303
|
key: index
|
|
11932
13304
|
}, React__default.createElement(TableRow, {
|
|
11933
13305
|
rowconfig: [row],
|
|
11934
13306
|
tableheaderconfig: tableheaderconfig
|
|
11935
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$
|
|
13307
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$3, null));
|
|
11936
13308
|
}))));
|
|
11937
13309
|
};
|
|
11938
13310
|
|
|
11939
|
-
var _templateObject$
|
|
11940
|
-
var Container$
|
|
13311
|
+
var _templateObject$10, _templateObject2$R, _templateObject3$C, _templateObject4$w, _templateObject5$o;
|
|
13312
|
+
var Container$a = styled__default.div(_templateObject$10 || (_templateObject$10 = _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) {
|
|
11941
13313
|
var $gap = _ref.$gap;
|
|
11942
13314
|
return $gap;
|
|
11943
13315
|
}, function (_ref2) {
|
|
11944
13316
|
var $border = _ref2.$border;
|
|
11945
13317
|
return $border;
|
|
11946
13318
|
});
|
|
11947
|
-
var FirstContainer$
|
|
13319
|
+
var FirstContainer$3 = styled__default.div(_templateObject2$R || (_templateObject2$R = _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) {
|
|
11948
13320
|
var $headerPadding = _ref3.$headerPadding;
|
|
11949
13321
|
return $headerPadding ? $headerPadding : '0px';
|
|
11950
13322
|
});
|
|
11951
|
-
var TabContainer$
|
|
13323
|
+
var TabContainer$3 = styled__default.div(_templateObject3$C || (_templateObject3$C = _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) {
|
|
11952
13324
|
var $disabled = _ref4.$disabled;
|
|
11953
13325
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11954
13326
|
}, function (_ref5) {
|
|
@@ -11961,13 +13333,13 @@ var TabContainer$2 = styled__default.div(_templateObject3$u || (_templateObject3
|
|
|
11961
13333
|
var $disabled = _ref7.$disabled;
|
|
11962
13334
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
11963
13335
|
});
|
|
11964
|
-
var TabItemContainer$
|
|
13336
|
+
var TabItemContainer$3 = styled__default.div(_templateObject4$w || (_templateObject4$w = _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) {
|
|
11965
13337
|
var $headerHeight = _ref8.$headerHeight;
|
|
11966
13338
|
return $headerHeight ? $headerHeight : '34px';
|
|
11967
13339
|
}, function (props) {
|
|
11968
13340
|
return props.$active ? 'block' : 'none';
|
|
11969
13341
|
}, colorVariables["default"].primary);
|
|
11970
|
-
var DetailsFirstContainer$
|
|
13342
|
+
var DetailsFirstContainer$3 = styled__default.div(_templateObject5$o || (_templateObject5$o = _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) {
|
|
11971
13343
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
11972
13344
|
});
|
|
11973
13345
|
var Tabs = function Tabs(_ref9) {
|
|
@@ -11980,20 +13352,20 @@ var Tabs = function Tabs(_ref9) {
|
|
|
11980
13352
|
border = _ref9.border,
|
|
11981
13353
|
_ref9$gap = _ref9.gap,
|
|
11982
13354
|
gap = _ref9$gap === void 0 ? '24px' : _ref9$gap;
|
|
11983
|
-
return React__default.createElement(Container$
|
|
13355
|
+
return React__default.createElement(Container$a, {
|
|
11984
13356
|
"$gap": gap,
|
|
11985
13357
|
"$border": border
|
|
11986
|
-
}, React__default.createElement(FirstContainer$
|
|
13358
|
+
}, React__default.createElement(FirstContainer$3, {
|
|
11987
13359
|
"$headerPadding": headerPadding
|
|
11988
13360
|
}, tabItems.map(function (tab, index) {
|
|
11989
|
-
return React__default.createElement(TabContainer$
|
|
13361
|
+
return React__default.createElement(TabContainer$3, {
|
|
11990
13362
|
key: index,
|
|
11991
13363
|
onClick: function onClick() {
|
|
11992
13364
|
if (!disabled && tab.onClick) tab.onClick();
|
|
11993
13365
|
},
|
|
11994
13366
|
"$disabled": disabled,
|
|
11995
13367
|
"$headerHeight": headerHeight
|
|
11996
|
-
}, React__default.createElement(TabItemContainer$
|
|
13368
|
+
}, React__default.createElement(TabItemContainer$3, {
|
|
11997
13369
|
"$active": activeTab === tab.title,
|
|
11998
13370
|
"$headerHeight": headerHeight
|
|
11999
13371
|
}, tab.icon && React__default.createElement(Icon, {
|
|
@@ -12001,11 +13373,11 @@ var Tabs = function Tabs(_ref9) {
|
|
|
12001
13373
|
icon: tab.icon,
|
|
12002
13374
|
size: tab.iconSize,
|
|
12003
13375
|
weight: tab.iconWeight
|
|
12004
|
-
}), React__default.createElement(DetailsFirstContainer$
|
|
13376
|
+
}), React__default.createElement(DetailsFirstContainer$3, {
|
|
12005
13377
|
"$active": activeTab === tab.title
|
|
12006
13378
|
}, tab.title)));
|
|
12007
13379
|
})), tabItems.map(function (tab, index) {
|
|
12008
|
-
return activeTab === tab.title && React__default.createElement(Container$
|
|
13380
|
+
return activeTab === tab.title && React__default.createElement(Container$a, {
|
|
12009
13381
|
key: index
|
|
12010
13382
|
}, tab.content);
|
|
12011
13383
|
}));
|
|
@@ -12046,36 +13418,6 @@ var InternalTabs = function InternalTabs(_ref) {
|
|
|
12046
13418
|
}));
|
|
12047
13419
|
};
|
|
12048
13420
|
|
|
12049
|
-
var injectCSSVariables = function injectCSSVariables(theme) {
|
|
12050
|
-
var themeVars = theme === 'dark' ? darkColorVariables : colorVariables;
|
|
12051
|
-
var flatVars = _flattenVariables(themeVars);
|
|
12052
|
-
var root = document.body;
|
|
12053
|
-
for (var _i = 0, _Object$entries = Object.entries(flatVars); _i < _Object$entries.length; _i++) {
|
|
12054
|
-
var _Object$entries$_i = _Object$entries[_i],
|
|
12055
|
-
key = _Object$entries$_i[0],
|
|
12056
|
-
value = _Object$entries$_i[1];
|
|
12057
|
-
root.style.setProperty("--" + key, value);
|
|
12058
|
-
}
|
|
12059
|
-
};
|
|
12060
|
-
var _flattenVariables = function flattenVariables(obj, prefix) {
|
|
12061
|
-
if (prefix === void 0) {
|
|
12062
|
-
prefix = '';
|
|
12063
|
-
}
|
|
12064
|
-
var result = {};
|
|
12065
|
-
for (var key in obj) {
|
|
12066
|
-
if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
|
|
12067
|
-
var value = obj[key];
|
|
12068
|
-
var fullKey = prefix ? prefix + "-" + key : key;
|
|
12069
|
-
if (typeof value === 'object') {
|
|
12070
|
-
var nested = _flattenVariables(value, fullKey);
|
|
12071
|
-
Object.assign(result, nested);
|
|
12072
|
-
} else {
|
|
12073
|
-
result[fullKey] = value;
|
|
12074
|
-
}
|
|
12075
|
-
}
|
|
12076
|
-
return result;
|
|
12077
|
-
};
|
|
12078
|
-
|
|
12079
13421
|
exports.Badge = Badge;
|
|
12080
13422
|
exports.Breadcrumbs = Breadcrumbs;
|
|
12081
13423
|
exports.Button = ButtonComponent;
|
|
@@ -12115,7 +13457,6 @@ exports.formatDate = formatDate;
|
|
|
12115
13457
|
exports.formatEpochToIST = formatEpochToIST;
|
|
12116
13458
|
exports.formatTimestamp = formatTimestamp;
|
|
12117
13459
|
exports.getSystemTimezoneAbbreviation = getSystemTimezoneAbbreviation;
|
|
12118
|
-
exports.injectCSSVariables = injectCSSVariables;
|
|
12119
13460
|
exports.themes = themes;
|
|
12120
13461
|
exports.timeAgo = timeAgo;
|
|
12121
13462
|
exports.timeStringToSeconds = timeStringToSeconds;
|