labsense-ui-kit 1.1.7 → 1.1.9
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/Inputs/TextField.d.ts +4 -0
- package/dist/index.js +2951 -317
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2951 -317
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4828,8 +4828,8 @@ var useClickOutside = function useClickOutside(elRef, elCallback) {
|
|
|
4828
4828
|
var _templateObject$c, _templateObject2$9;
|
|
4829
4829
|
var ModalOverlay = styled__default.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\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"])));
|
|
4830
4830
|
var ModalContainer = styled__default.div(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-width: ", ";\n"])), colorVariables.accent.light, function (_ref) {
|
|
4831
|
-
var maxWidth = _ref
|
|
4832
|
-
return maxWidth ? maxWidth : '400px';
|
|
4831
|
+
var $maxWidth = _ref.$maxWidth;
|
|
4832
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
4833
4833
|
});
|
|
4834
4834
|
var Modal = function Modal(_ref2) {
|
|
4835
4835
|
var isOpen = _ref2.isOpen,
|
|
@@ -4837,7 +4837,7 @@ var Modal = function Modal(_ref2) {
|
|
|
4837
4837
|
children = _ref2.children;
|
|
4838
4838
|
if (!isOpen) return null;
|
|
4839
4839
|
return React__default.createElement(ModalOverlay, null, React__default.createElement(ModalContainer, {
|
|
4840
|
-
maxWidth: maxWidth,
|
|
4840
|
+
"$maxWidth": maxWidth,
|
|
4841
4841
|
onClick: function onClick(e) {
|
|
4842
4842
|
return e.stopPropagation();
|
|
4843
4843
|
}
|
|
@@ -8454,8 +8454,8 @@ var SearchBar$1$1 = styled__default.input(_templateObject10$2$1 || (_templateObj
|
|
|
8454
8454
|
var _templateObject$c$1, _templateObject2$9$1;
|
|
8455
8455
|
var ModalOverlay$1 = styled__default.div(_templateObject$c$1 || (_templateObject$c$1 = _taggedTemplateLiteralLoose$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"])));
|
|
8456
8456
|
var ModalContainer$1 = styled__default.div(_templateObject2$9$1 || (_templateObject2$9$1 = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n max-width: ", ";\n"])), colorVariables$1.accent.light, function (_ref) {
|
|
8457
|
-
var maxWidth = _ref
|
|
8458
|
-
return maxWidth ? maxWidth : '400px';
|
|
8457
|
+
var $maxWidth = _ref.$maxWidth;
|
|
8458
|
+
return $maxWidth ? $maxWidth : '400px';
|
|
8459
8459
|
});
|
|
8460
8460
|
var _templateObject$d$1, _templateObject2$a$1;
|
|
8461
8461
|
var SearchContainer$2$1 = styled__default.div(_templateObject$d$1 || (_templateObject$d$1 = _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"])), function (_ref) {
|
|
@@ -8475,127 +8475,2759 @@ var SearchBar$2$1 = styled__default.input(_templateObject2$a$1 || (_templateObje
|
|
|
8475
8475
|
var $placeholderColor = _ref5.$placeholderColor;
|
|
8476
8476
|
return $placeholderColor || colorVariables$1.text.light;
|
|
8477
8477
|
});
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8478
|
+
function _taggedTemplateLiteralLoose$1$1(e, t) {
|
|
8479
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
8480
|
+
}
|
|
8481
|
+
var colorVariables$1$1 = {
|
|
8482
|
+
brand: {
|
|
8483
|
+
primary: '#4C9EEB',
|
|
8484
|
+
secondary: '#14171A',
|
|
8485
|
+
light: '#FFFFFF'
|
|
8486
|
+
},
|
|
8487
|
+
accent: {
|
|
8488
|
+
light: '#E1E8ED',
|
|
8489
|
+
extraLight: '#F5F8FA',
|
|
8490
|
+
softBlue: '#D4EEFF',
|
|
8491
|
+
extraSoftBlue: '#E4F4FF',
|
|
8492
|
+
boldTransparent: '#5E5E5E80',
|
|
8493
|
+
transparent: '#5E5E5E4D',
|
|
8494
|
+
lightTransparent: '#5E5E5E23'
|
|
8495
|
+
},
|
|
8496
|
+
"default": {
|
|
8497
|
+
primary: '#78B6F0',
|
|
8498
|
+
secondary: '#C2C2C2',
|
|
8499
|
+
tertiary: 'transparent',
|
|
8500
|
+
error: '#F44336',
|
|
8501
|
+
success: '#4CAF50',
|
|
8502
|
+
warning: '#FF9800',
|
|
8503
|
+
info: '#2159F3'
|
|
8504
|
+
},
|
|
8505
|
+
disabled: {
|
|
8506
|
+
primary: '#B9DCF7',
|
|
8507
|
+
secondary: '#DADADA',
|
|
8508
|
+
error: '#FFEBEE',
|
|
8509
|
+
success: '#E8F5E9',
|
|
8510
|
+
warning: '#FFF3E0',
|
|
8511
|
+
info: '#E3F2FD'
|
|
8512
|
+
},
|
|
8513
|
+
hover: {
|
|
8514
|
+
primary: '#4C9EEB',
|
|
8515
|
+
secondary: '#A3A3A3',
|
|
8516
|
+
tertiary: 'transparent',
|
|
8517
|
+
error: '#D32F2F',
|
|
8518
|
+
success: '#388E3C',
|
|
8519
|
+
warning: '#F57C00',
|
|
8520
|
+
info: '#193ED2'
|
|
8521
|
+
},
|
|
8522
|
+
border: {
|
|
8523
|
+
extraBold: '#657786',
|
|
8524
|
+
bold: '#BFBFBF',
|
|
8525
|
+
medium: '#CBCED0',
|
|
8526
|
+
light: '#DCDCDC',
|
|
8527
|
+
extraLight: '#E6E3E3'
|
|
8528
|
+
},
|
|
8529
|
+
text: {
|
|
8530
|
+
dark: '#14171A',
|
|
8531
|
+
medium: '#657786',
|
|
8532
|
+
light: '#98A2AA',
|
|
8533
|
+
white: '#FFFFFF',
|
|
8534
|
+
success: '#1B5E20',
|
|
8535
|
+
error: '#B71C1C',
|
|
8536
|
+
info: '#0D30A1',
|
|
8537
|
+
warning: '#E65100'
|
|
8538
|
+
},
|
|
8539
|
+
badge: {
|
|
8540
|
+
lavender: '#E8DAFF',
|
|
8541
|
+
papayaWhip: '#FFEDD5',
|
|
8542
|
+
water: '#C7E3FF',
|
|
8543
|
+
paleBlue: '#B0F0E4',
|
|
8544
|
+
teaGreen: '#D5F7C2',
|
|
8545
|
+
lightBlue: '#ADD8E6'
|
|
8494
8546
|
}
|
|
8547
|
+
};
|
|
8548
|
+
var _templateObject$e$1, _templateObject2$b$1, _templateObject3$7$1;
|
|
8549
|
+
var wrapperCss$1$1 = styled.css(_templateObject$e$1 || (_templateObject$e$1 = _taggedTemplateLiteralLoose$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"])));
|
|
8550
|
+
var IconWrapper$1$1 = styled__default.div(_templateObject2$b$1 || (_templateObject2$b$1 = _taggedTemplateLiteralLoose$1$1(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
|
|
8551
|
+
var $clickable = _ref.$clickable;
|
|
8552
|
+
return $clickable ? 'pointer' : 'default';
|
|
8553
|
+
}, wrapperCss$1$1);
|
|
8554
|
+
var IconWrapperForSVG$1$1 = styled__default.g(_templateObject3$7$1 || (_templateObject3$7$1 = _taggedTemplateLiteralLoose$1$1(["\n ", ";\n"])), wrapperCss$1$1);
|
|
8555
|
+
var _templateObject$1$1$1, _templateObject2$1$1$1;
|
|
8556
|
+
var Container$3$1 = styled__default.div(_templateObject$1$1$1 || (_templateObject$1$1$1 = _taggedTemplateLiteralLoose$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 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-bottom: ", ";\n border-left: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
8557
|
+
var $flex = _ref.$flex;
|
|
8558
|
+
return $flex;
|
|
8559
|
+
}, function (_ref2) {
|
|
8560
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
8561
|
+
return $flexWrap;
|
|
8495
8562
|
}, function (_ref3) {
|
|
8496
|
-
var $
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
return colorVariables$1.text.medium;
|
|
8502
|
-
case 'light':
|
|
8503
|
-
return colorVariables$1.text.light;
|
|
8504
|
-
case 'white':
|
|
8505
|
-
return colorVariables$1.text.white;
|
|
8506
|
-
case 'warning':
|
|
8507
|
-
return colorVariables$1["default"].warning;
|
|
8508
|
-
case 'info':
|
|
8509
|
-
return colorVariables$1["default"].info;
|
|
8510
|
-
case 'success':
|
|
8511
|
-
return colorVariables$1["default"].success;
|
|
8512
|
-
case 'error':
|
|
8513
|
-
return colorVariables$1["default"].error;
|
|
8514
|
-
default:
|
|
8515
|
-
return $titlecolor;
|
|
8516
|
-
}
|
|
8517
|
-
});
|
|
8518
|
-
var Input = styled__default.input(_templateObject3$7$1 || (_templateObject3$7$1 = _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\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) {
|
|
8519
|
-
var $disabled = _ref4.$disabled;
|
|
8520
|
-
return $disabled ? 'not-allowed' : 'auto';
|
|
8563
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
8564
|
+
return $flexDirection;
|
|
8565
|
+
}, function (_ref4) {
|
|
8566
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
8567
|
+
return $justifyContent;
|
|
8521
8568
|
}, function (_ref5) {
|
|
8522
|
-
var $
|
|
8523
|
-
|
|
8524
|
-
return $disabled ? colorVariables$1.disabled.secondary : $background;
|
|
8569
|
+
var $alignItems = _ref5.$alignItems;
|
|
8570
|
+
return $alignItems;
|
|
8525
8571
|
}, function (_ref6) {
|
|
8526
|
-
var $
|
|
8527
|
-
return $
|
|
8572
|
+
var $gap = _ref6.$gap;
|
|
8573
|
+
return $gap;
|
|
8528
8574
|
}, function (_ref7) {
|
|
8529
|
-
var $
|
|
8530
|
-
|
|
8531
|
-
case 'small':
|
|
8532
|
-
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
8533
|
-
case 'medium':
|
|
8534
|
-
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
8535
|
-
case 'large':
|
|
8536
|
-
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
8537
|
-
default:
|
|
8538
|
-
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
8539
|
-
}
|
|
8575
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
8576
|
+
return $fontWeight;
|
|
8540
8577
|
}, function (_ref8) {
|
|
8541
|
-
var $
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
return $color;
|
|
8561
|
-
}
|
|
8562
|
-
}, colorVariables$1.text.light);
|
|
8563
|
-
var InputWrapper$1$1 = styled__default.div(_templateObject4$5$1 || (_templateObject4$5$1 = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
8564
|
-
var IconWrapper$1$1 = styled__default.div(_templateObject5$5$1 || (_templateObject5$5$1 = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref9) {
|
|
8565
|
-
var $disabled = _ref9.$disabled;
|
|
8566
|
-
return $disabled ? 'not-allowed' : 'pointer';
|
|
8567
|
-
});
|
|
8568
|
-
var Asterisk$1$1 = styled__default.span(_templateObject6$5$1 || (_templateObject6$5$1 = _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);
|
|
8569
|
-
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
8570
|
-
var Container$4 = 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) {
|
|
8571
|
-
var $padding = _ref.$padding;
|
|
8578
|
+
var $height = _ref8.$height;
|
|
8579
|
+
return $height;
|
|
8580
|
+
}, function (_ref9) {
|
|
8581
|
+
var $minHeight = _ref9.$minHeight;
|
|
8582
|
+
return $minHeight;
|
|
8583
|
+
}, function (_ref10) {
|
|
8584
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
8585
|
+
return $maxHeight;
|
|
8586
|
+
}, function (_ref11) {
|
|
8587
|
+
var $width = _ref11.$width;
|
|
8588
|
+
return $width;
|
|
8589
|
+
}, function (_ref12) {
|
|
8590
|
+
var $minWidth = _ref12.$minWidth;
|
|
8591
|
+
return $minWidth;
|
|
8592
|
+
}, function (_ref13) {
|
|
8593
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
8594
|
+
return $maxWidth;
|
|
8595
|
+
}, function (_ref14) {
|
|
8596
|
+
var $padding = _ref14.$padding;
|
|
8572
8597
|
return $padding;
|
|
8573
|
-
})
|
|
8574
|
-
var
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
return $
|
|
8597
|
-
}, function (
|
|
8598
|
-
var $
|
|
8598
|
+
}, function (_ref15) {
|
|
8599
|
+
var $background = _ref15.$background;
|
|
8600
|
+
return $background;
|
|
8601
|
+
}, function (_ref16) {
|
|
8602
|
+
var $objectfit = _ref16.$objectfit;
|
|
8603
|
+
return $objectfit;
|
|
8604
|
+
}, function (_ref17) {
|
|
8605
|
+
var $margin = _ref17.$margin;
|
|
8606
|
+
return $margin;
|
|
8607
|
+
}, function (_ref18) {
|
|
8608
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
8609
|
+
return $borderRadius;
|
|
8610
|
+
}, function (_ref19) {
|
|
8611
|
+
var $cursor = _ref19.$cursor;
|
|
8612
|
+
return $cursor;
|
|
8613
|
+
}, function (_ref20) {
|
|
8614
|
+
var $fontSize = _ref20.$fontSize;
|
|
8615
|
+
return $fontSize;
|
|
8616
|
+
}, function (_ref21) {
|
|
8617
|
+
var $opacity = _ref21.$opacity;
|
|
8618
|
+
return $opacity;
|
|
8619
|
+
}, function (_ref22) {
|
|
8620
|
+
var $pointerEvents = _ref22.$pointerEvents;
|
|
8621
|
+
return $pointerEvents;
|
|
8622
|
+
}, function (_ref23) {
|
|
8623
|
+
var $position = _ref23.$position;
|
|
8624
|
+
return $position;
|
|
8625
|
+
}, function (_ref24) {
|
|
8626
|
+
var $top = _ref24.$top;
|
|
8627
|
+
return $top;
|
|
8628
|
+
}, function (_ref25) {
|
|
8629
|
+
var $bottom = _ref25.$bottom;
|
|
8630
|
+
return $bottom;
|
|
8631
|
+
}, function (_ref26) {
|
|
8632
|
+
var $left = _ref26.$left;
|
|
8633
|
+
return $left;
|
|
8634
|
+
}, function (_ref27) {
|
|
8635
|
+
var $right = _ref27.$right;
|
|
8636
|
+
return $right;
|
|
8637
|
+
}, function (_ref28) {
|
|
8638
|
+
var $textAlign = _ref28.$textAlign;
|
|
8639
|
+
return $textAlign;
|
|
8640
|
+
}, function (_ref29) {
|
|
8641
|
+
var $color = _ref29.$color;
|
|
8642
|
+
return $color;
|
|
8643
|
+
}, function (_ref30) {
|
|
8644
|
+
var $overflow = _ref30.$overflow;
|
|
8645
|
+
return $overflow || 'visible';
|
|
8646
|
+
}, function (_ref31) {
|
|
8647
|
+
var $overflowY = _ref31.$overflowY;
|
|
8648
|
+
return $overflowY;
|
|
8649
|
+
}, function (_ref32) {
|
|
8650
|
+
var $zIndex = _ref32.$zIndex;
|
|
8651
|
+
return $zIndex;
|
|
8652
|
+
}, function (_ref33) {
|
|
8653
|
+
var $scrollbarWidth = _ref33.$scrollbarWidth;
|
|
8654
|
+
return $scrollbarWidth;
|
|
8655
|
+
}, function (_ref34) {
|
|
8656
|
+
var $border = _ref34.$border;
|
|
8657
|
+
return $border;
|
|
8658
|
+
}, function (_ref35) {
|
|
8659
|
+
var $borderBottom = _ref35.$borderBottom;
|
|
8660
|
+
return $borderBottom;
|
|
8661
|
+
}, function (_ref36) {
|
|
8662
|
+
var $borderLeft = _ref36.$borderLeft;
|
|
8663
|
+
return $borderLeft;
|
|
8664
|
+
}, function (_ref37) {
|
|
8665
|
+
var $hoverBackground = _ref37.$hoverBackground;
|
|
8666
|
+
return $hoverBackground;
|
|
8667
|
+
}, function (_ref38) {
|
|
8668
|
+
var $hoverColor = _ref38.$hoverColor;
|
|
8669
|
+
return $hoverColor;
|
|
8670
|
+
});
|
|
8671
|
+
var Span$1$1 = styled__default.span(_templateObject2$1$1$1 || (_templateObject2$1$1$1 = _taggedTemplateLiteralLoose$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 (_ref39) {
|
|
8672
|
+
var $fontFamily = _ref39.$fontFamily;
|
|
8673
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
8674
|
+
}, function (_ref40) {
|
|
8675
|
+
var $fontWeight = _ref40.$fontWeight;
|
|
8676
|
+
return $fontWeight ? $fontWeight : '500';
|
|
8677
|
+
}, function (_ref41) {
|
|
8678
|
+
var $fontSize = _ref41.$fontSize;
|
|
8679
|
+
return $fontSize ? $fontSize : '16px';
|
|
8680
|
+
}, function (_ref42) {
|
|
8681
|
+
var $color = _ref42.$color;
|
|
8682
|
+
return $color ? $color : colorVariables$1$1.text.medium;
|
|
8683
|
+
}, function (_ref43) {
|
|
8684
|
+
var $lineHeight = _ref43.$lineHeight;
|
|
8685
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
8686
|
+
}, function (_ref44) {
|
|
8687
|
+
var $textAlign = _ref44.$textAlign;
|
|
8688
|
+
return $textAlign ? $textAlign : 'center';
|
|
8689
|
+
}, function (_ref45) {
|
|
8690
|
+
var $minWidth = _ref45.$minWidth;
|
|
8691
|
+
return $minWidth;
|
|
8692
|
+
}, function (_ref46) {
|
|
8693
|
+
var $width = _ref46.$width;
|
|
8694
|
+
return $width;
|
|
8695
|
+
}, function (_ref47) {
|
|
8696
|
+
var $overflowWrap = _ref47.$overflowWrap;
|
|
8697
|
+
return $overflowWrap;
|
|
8698
|
+
});
|
|
8699
|
+
var _templateObject$2$1$1, _templateObject2$2$1$1;
|
|
8700
|
+
var TooltipWrapper$1$1 = styled__default.div(_templateObject$2$1$1 || (_templateObject$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n svg {\n cursor: pointer;\n } \n"])));
|
|
8701
|
+
var TooltipText$1$1 = styled__default.span(_templateObject2$2$1$1 || (_templateObject2$2$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8702
|
+
var $visible = _ref.$visible;
|
|
8703
|
+
return $visible ? 'visible' : 'hidden';
|
|
8704
|
+
}, function (_ref2) {
|
|
8705
|
+
var $visible = _ref2.$visible;
|
|
8706
|
+
return $visible ? 1 : 0;
|
|
8707
|
+
}, function (_ref3) {
|
|
8708
|
+
var $bgColor = _ref3.$bgColor;
|
|
8709
|
+
return $bgColor || colorVariables$1$1.brand.light;
|
|
8710
|
+
}, colorVariables$1$1.text.medium);
|
|
8711
|
+
var _templateObject$3$1$1;
|
|
8712
|
+
var BreadCrum$1$1 = styled__default.span(_templateObject$3$1$1 || (_templateObject$3$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8713
|
+
var $color = _ref.$color;
|
|
8714
|
+
return $color ? $color : colorVariables$1$1.text.medium;
|
|
8715
|
+
}, function (_ref2) {
|
|
8716
|
+
var $disabled = _ref2.$disabled;
|
|
8717
|
+
return $disabled ? '0.6' : '1';
|
|
8718
|
+
}, function (_ref3) {
|
|
8719
|
+
var $hover = _ref3.$hover,
|
|
8720
|
+
$disabled = _ref3.$disabled;
|
|
8721
|
+
return $hover && !$disabled && 'underline';
|
|
8722
|
+
}, function (_ref4) {
|
|
8723
|
+
var $hover = _ref4.$hover,
|
|
8724
|
+
$disabled = _ref4.$disabled;
|
|
8725
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
8726
|
+
}, function (_ref5) {
|
|
8727
|
+
var $hover = _ref5.$hover,
|
|
8728
|
+
$disabled = _ref5.$disabled;
|
|
8729
|
+
return $hover && !$disabled && colorVariables$1$1["default"].primary;
|
|
8730
|
+
});
|
|
8731
|
+
var _templateObject$4$1$1;
|
|
8732
|
+
var fontFaces$1$1 = styled.css(_templateObject$4$1$1 || (_templateObject$4$1$1 = _taggedTemplateLiteralLoose$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"])));
|
|
8733
|
+
var GlobalFonts$1$1 = {
|
|
8734
|
+
bold: 'NotoSans, sans-serif',
|
|
8735
|
+
regular: 'NotoSans, sans-serif',
|
|
8736
|
+
light: 'NotoSans, sans-serif'
|
|
8737
|
+
};
|
|
8738
|
+
var _templateObject$5$1$1, _templateObject2$3$1$1, _templateObject3$1$1$1, _templateObject4$5$1, _templateObject5$5$1, _templateObject6$5$1;
|
|
8739
|
+
var spin$1$1 = styled.keyframes(_templateObject$5$1$1 || (_templateObject$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
8740
|
+
var Spinner$1$1 = styled__default.div(_templateObject2$3$1$1 || (_templateObject2$3$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8741
|
+
var $size = _ref.$size;
|
|
8742
|
+
return $size;
|
|
8743
|
+
}, function (_ref2) {
|
|
8744
|
+
var $size = _ref2.$size;
|
|
8745
|
+
return $size;
|
|
8746
|
+
}, function (_ref3) {
|
|
8747
|
+
var $size = _ref3.$size;
|
|
8748
|
+
return $size / 4;
|
|
8749
|
+
}, function (_ref4) {
|
|
8750
|
+
var $color = _ref4.$color;
|
|
8751
|
+
return $color;
|
|
8752
|
+
}, spin$1$1);
|
|
8753
|
+
var LoaderWrapper$1$1 = styled__default.div(_templateObject3$1$1$1 || (_templateObject3$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8754
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
8755
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
8756
|
+
}, function (_ref6) {
|
|
8757
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
8758
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
8759
|
+
});
|
|
8760
|
+
var Container$1$1$1 = styled__default.div(_templateObject4$5$1 || (_templateObject4$5$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
|
|
8761
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
8762
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
8763
|
+
}, function (_ref8) {
|
|
8764
|
+
var gap = _ref8.gap;
|
|
8765
|
+
return gap || '4px';
|
|
8766
|
+
}, function (_ref9) {
|
|
8767
|
+
var cursor = _ref9.cursor;
|
|
8768
|
+
return cursor;
|
|
8769
|
+
});
|
|
8770
|
+
var StyledButton$1$1 = styled__default.button(_templateObject5$5$1 || (_templateObject5$5$1 = _taggedTemplateLiteralLoose$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) {
|
|
8771
|
+
var $disabled = _ref10.$disabled;
|
|
8772
|
+
return $disabled ? 'none' : 'auto';
|
|
8773
|
+
}, function (_ref11) {
|
|
8774
|
+
var $disabled = _ref11.$disabled;
|
|
8775
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
8776
|
+
}, function (_ref12) {
|
|
8777
|
+
var $borderRadius = _ref12.$borderRadius;
|
|
8778
|
+
return $borderRadius || '8px';
|
|
8779
|
+
}, function (_ref13) {
|
|
8780
|
+
var $size = _ref13.$size,
|
|
8781
|
+
$padding = _ref13.$padding;
|
|
8782
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
8783
|
+
}, function (_ref14) {
|
|
8784
|
+
var _$borderHover$match;
|
|
8785
|
+
var $variant = _ref14.$variant,
|
|
8786
|
+
$disabled = _ref14.$disabled,
|
|
8787
|
+
$borderHover = _ref14.$borderHover,
|
|
8788
|
+
$borderDefault = _ref14.$borderDefault,
|
|
8789
|
+
$background = _ref14.$background,
|
|
8790
|
+
$color = _ref14.$color,
|
|
8791
|
+
$colorHover = _ref14.$colorHover;
|
|
8792
|
+
switch ($variant) {
|
|
8793
|
+
case 'primary':
|
|
8794
|
+
return "\n background: " + ($disabled ? colorVariables$1$1.disabled.primary : colorVariables$1$1["default"].primary) + ";\n color: " + colorVariables$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1.disabled.primary : "1px solid " + colorVariables$1$1["default"].primary) + ";\n &:hover {\n background: " + colorVariables$1$1.hover.primary + ";\n border: 1px solid " + colorVariables$1$1.hover.primary + ";\n }\n ";
|
|
8795
|
+
case 'secondary':
|
|
8796
|
+
return "\n background: " + ($disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].secondary) + "; \n color: " + colorVariables$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1.disabled.secondary : "1px solid " + colorVariables$1$1["default"].secondary) + ";\n &:hover{\n background: " + colorVariables$1$1.hover.secondary + ";\n border: 1px solid " + colorVariables$1$1.hover.secondary + ";\n }\n ";
|
|
8797
|
+
case 'tertiary':
|
|
8798
|
+
return "\n background: " + colorVariables$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1.disabled.primary : colorVariables$1$1["default"].primary) + ";\n border: " + ($borderDefault ? "" + $borderDefault : "1px solid " + colorVariables$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.hover.primary) + ";\n border: " + ($borderHover ? $borderHover : "1px solid " + colorVariables$1$1.hover.primary) + ";\n }\n ";
|
|
8799
|
+
case 'error':
|
|
8800
|
+
return "\n background: " + ($disabled ? colorVariables$1$1.disabled.error : colorVariables$1$1["default"].error) + "; \n color: " + colorVariables$1$1.text.white + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1.disabled.error : "1px solid " + colorVariables$1$1["default"].error) + ";\n &:hover{\n background: " + colorVariables$1$1.hover.error + ";\n border: 1px solid " + colorVariables$1$1.hover.error + ";\n }\n ";
|
|
8801
|
+
case 'outline-primary':
|
|
8802
|
+
return "\n background: " + colorVariables$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1.disabled.primary : colorVariables$1$1["default"].primary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1.disabled.primary : "1px solid " + colorVariables$1$1["default"].primary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1.hover.primary + ";\n color: " + colorVariables$1$1.text.white + ";\n background: " + colorVariables$1$1.hover.primary + ";\n }\n ";
|
|
8803
|
+
case 'outline-secondary':
|
|
8804
|
+
return "\n background: " + colorVariables$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].secondary) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1.disabled.secondary : "1px solid " + colorVariables$1$1["default"].secondary) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1.hover.secondary + ";\n color: " + colorVariables$1$1.text.white + ";\n background: " + colorVariables$1$1.hover.secondary + ";\n }\n ";
|
|
8805
|
+
case 'outline-error':
|
|
8806
|
+
return "\n background: " + colorVariables$1$1["default"].tertiary + ";\n color: " + ($disabled ? colorVariables$1$1.disabled.error : colorVariables$1$1["default"].error) + ";\n border: " + ($disabled ? "1px solid " + colorVariables$1$1.disabled.error : "1px solid " + colorVariables$1$1["default"].error) + ";\n &:hover{\n border: 1px solid " + colorVariables$1$1.hover.error + ";\n color: " + colorVariables$1$1.text.white + ";\n background: " + colorVariables$1$1.hover.error + ";\n }\n ";
|
|
8807
|
+
case 'custom':
|
|
8808
|
+
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 ";
|
|
8809
|
+
default:
|
|
8810
|
+
return '';
|
|
8811
|
+
}
|
|
8812
|
+
}, function (_ref15) {
|
|
8813
|
+
var color = _ref15.color;
|
|
8814
|
+
return color;
|
|
8815
|
+
});
|
|
8816
|
+
var ButtonText$1$1 = styled__default.span(_templateObject6$5$1 || (_templateObject6$5$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref16) {
|
|
8817
|
+
var $fontFamily = _ref16.$fontFamily;
|
|
8818
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1.bold;
|
|
8819
|
+
}, function (_ref17) {
|
|
8820
|
+
var $size = _ref17.$size,
|
|
8821
|
+
$fontSize = _ref17.$fontSize;
|
|
8822
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
8823
|
+
}, function (_ref18) {
|
|
8824
|
+
var $fontWeight = _ref18.$fontWeight,
|
|
8825
|
+
$size = _ref18.$size;
|
|
8826
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
8827
|
+
}, function (_ref19) {
|
|
8828
|
+
var $size = _ref19.$size,
|
|
8829
|
+
$fontSize = _ref19.$fontSize;
|
|
8830
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
8831
|
+
});
|
|
8832
|
+
var _templateObject$6$1$1;
|
|
8833
|
+
var InnerContent$1$1 = styled__default.div(_templateObject$6$1$1 || (_templateObject$6$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8834
|
+
var $isScrollable = _ref.$isScrollable;
|
|
8835
|
+
return $isScrollable ? '0 12px' : '0';
|
|
8836
|
+
});
|
|
8837
|
+
var _templateObject$7$1$1, _templateObject2$4$1$1, _templateObject3$2$1$1, _templateObject4$1$1$1, _templateObject5$1$1$1, _templateObject6$1$1$1, _templateObject7$3$1, _templateObject8$3$1, _templateObject9$3$1, _templateObject10$3$1, _templateObject11$2$1, _templateObject12$1$1, _templateObject13$1$1, _templateObject14$1$1, _templateObject15$1$1, _templateObject16$1$1, _templateObject17$1$1, _templateObject18$1$1, _templateObject19$1$1, _templateObject20$1$1, _templateObject21$1$1;
|
|
8838
|
+
var DatePickerContainer$1$1 = styled__default.div(_templateObject$7$1$1 || (_templateObject$7$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n"])));
|
|
8839
|
+
var CalendarContainer$1$1 = styled__default.div(_templateObject2$4$1$1 || (_templateObject2$4$1$1 = _taggedTemplateLiteralLoose$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.border.medium);
|
|
8840
|
+
var Calendar$1$1$1 = styled__default.div(_templateObject3$2$1$1 || (_templateObject3$2$1$1 = _taggedTemplateLiteralLoose$1$1([""])));
|
|
8841
|
+
var CalendarTime$1$1 = styled__default.div(_templateObject4$1$1$1 || (_templateObject4$1$1$1 = _taggedTemplateLiteralLoose$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.border.medium);
|
|
8842
|
+
var StartDate$1$1 = styled__default.div(_templateObject5$1$1$1 || (_templateObject5$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding-bottom: 4px;\n"])));
|
|
8843
|
+
var SelectedStart$1$1 = styled__default.div(_templateObject6$1$1$1 || (_templateObject6$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n gap: 4px;\n color: ", ";\n"])), colorVariables$1$1.text.medium);
|
|
8844
|
+
var CurrentDate$1$1 = styled__default.p(_templateObject7$3$1 || (_templateObject7$3$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 12px;\n"])));
|
|
8845
|
+
var CurrentTime$1$1 = styled__default.div(_templateObject8$3$1 || (_templateObject8$3$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 14px;\n color: ", ";\n"])), colorVariables$1$1.text.medium);
|
|
8846
|
+
var Selectedtime$1$1 = styled__default.div(_templateObject9$3$1 || (_templateObject9$3$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n color: ", ";\n gap: 8px;\n"])), colorVariables$1$1.text.medium);
|
|
8847
|
+
var Line$1$1 = styled__default.div(_templateObject10$3$1 || (_templateObject10$3$1 = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n padding-top: 10px;\n padding-bottom: 10px;\n"])));
|
|
8848
|
+
var Zones$1$1 = styled__default.div(_templateObject11$2$1 || (_templateObject11$2$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
8849
|
+
var CalendarHeader$1$1 = styled__default.div(_templateObject12$1$1 || (_templateObject12$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px;\n"])));
|
|
8850
|
+
var CalendarMonthYear$1$1 = styled__default.span(_templateObject13$1$1 || (_templateObject13$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n color: ", ";\n justify-content: center;\n align-items: center;\n"])), colorVariables$1$1.text.medium);
|
|
8851
|
+
var CalendarContent$1$1 = styled__default.div(_templateObject14$1$1 || (_templateObject14$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n gap: 5px;\n padding: 10px;\n"])));
|
|
8852
|
+
var Button$1$1 = styled__default.div(_templateObject15$1$1 || (_templateObject15$1$1 = _taggedTemplateLiteralLoose$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["default"].secondary, colorVariables$1$1.text.white, function (_ref) {
|
|
8853
|
+
var $size = _ref.$size;
|
|
8854
|
+
return $size ? $size + "px" : '30px';
|
|
8855
|
+
}, function (_ref2) {
|
|
8856
|
+
var $size = _ref2.$size;
|
|
8857
|
+
return $size ? $size + "px" : '30px';
|
|
8858
|
+
});
|
|
8859
|
+
var CalendarDates$1$1 = styled__default.div(_templateObject16$1$1 || (_templateObject16$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8860
|
+
var $size = _ref3.$size;
|
|
8861
|
+
return $size ? $size + "px" : '30px';
|
|
8862
|
+
}, function (_ref4) {
|
|
8863
|
+
var $size = _ref4.$size;
|
|
8864
|
+
return $size ? $size + "px" : '30px';
|
|
8865
|
+
}, function (_ref5) {
|
|
8866
|
+
var $isFuture = _ref5.$isFuture,
|
|
8867
|
+
$futureDateTime = _ref5.$futureDateTime;
|
|
8868
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
8869
|
+
}, function (_ref6) {
|
|
8870
|
+
var $isFuture = _ref6.$isFuture,
|
|
8871
|
+
$futureDateTime = _ref6.$futureDateTime;
|
|
8872
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
8873
|
+
}, function (_ref7) {
|
|
8874
|
+
var $selected = _ref7.$selected,
|
|
8875
|
+
$inRange = _ref7.$inRange;
|
|
8876
|
+
return $selected ? colorVariables$1$1["default"].primary : $inRange ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
8877
|
+
}, function (_ref8) {
|
|
8878
|
+
var $selected = _ref8.$selected,
|
|
8879
|
+
$inRange = _ref8.$inRange;
|
|
8880
|
+
return $selected ? colorVariables$1$1.text.white : $inRange ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
8881
|
+
}, function (_ref9) {
|
|
8882
|
+
var $selected = _ref9.$selected,
|
|
8883
|
+
$inRange = _ref9.$inRange,
|
|
8884
|
+
$isFuture = _ref9.$isFuture,
|
|
8885
|
+
$futureDateTime = _ref9.$futureDateTime;
|
|
8886
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? colorVariables$1$1.disabled.primary : $inRange ? colorVariables$1$1.disabled.primary : colorVariables$1$1.disabled.primary;
|
|
8887
|
+
});
|
|
8888
|
+
var Year$1$1 = styled__default.div(_templateObject17$1$1 || (_templateObject17$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 500;\n font-size: 12px;\n"])));
|
|
8889
|
+
var Month$1$1 = styled__default.div(_templateObject18$1$1 || (_templateObject18$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-family: NotoSans, sans-serif;\n font-weight: 600;\n font-size: 14px;\n"])));
|
|
8890
|
+
var InputWrapper$1$1 = styled__default.div(_templateObject19$1$1 || (_templateObject19$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n gap: 24px;\n"])));
|
|
8891
|
+
var TimeInputWrapper$1$1 = styled__default.div(_templateObject20$1$1 || (_templateObject20$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n"])));
|
|
8892
|
+
var StyledInput$1$1 = styled__default.input(_templateObject21$1$1 || (_templateObject21$1$1 = _taggedTemplateLiteralLoose$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.border.extraBold, colorVariables$1$1.text.dark);
|
|
8893
|
+
var _templateObject$8$1$1, _templateObject2$5$1$1, _templateObject3$3$1$1, _templateObject4$2$1$1, _templateObject5$2$1$1, _templateObject6$2$1$1;
|
|
8894
|
+
var OptionContainer$1$1 = styled__default.div(_templateObject$8$1$1 || (_templateObject$8$1$1 = _taggedTemplateLiteralLoose$1$1([""])));
|
|
8895
|
+
var OptionItem$1$1 = styled__default.div(_templateObject2$5$1$1 || (_templateObject2$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n border-bottom: ", ";\n"])), function (_ref) {
|
|
8896
|
+
var $optionBorder = _ref.$optionBorder,
|
|
8897
|
+
$isborder = _ref.$isborder;
|
|
8898
|
+
return $isborder ? $optionBorder || "1px solid " + colorVariables$1$1.border.extraLight : '';
|
|
8899
|
+
});
|
|
8900
|
+
var OptionLabel$1$1 = styled__default.label(_templateObject3$3$1$1 || (_templateObject3$3$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8901
|
+
var $optionColor = _ref2.$optionColor;
|
|
8902
|
+
switch ($optionColor) {
|
|
8903
|
+
case 'dark':
|
|
8904
|
+
return colorVariables$1$1.text.dark;
|
|
8905
|
+
case 'medium':
|
|
8906
|
+
return colorVariables$1$1.text.medium;
|
|
8907
|
+
case 'light':
|
|
8908
|
+
return colorVariables$1$1.text.light;
|
|
8909
|
+
case 'white':
|
|
8910
|
+
return colorVariables$1$1.text.white;
|
|
8911
|
+
case 'warning':
|
|
8912
|
+
return colorVariables$1$1["default"].warning;
|
|
8913
|
+
case 'info':
|
|
8914
|
+
return colorVariables$1$1["default"].info;
|
|
8915
|
+
case 'success':
|
|
8916
|
+
return colorVariables$1$1["default"].success;
|
|
8917
|
+
case 'error':
|
|
8918
|
+
return colorVariables$1$1["default"].error;
|
|
8919
|
+
default:
|
|
8920
|
+
return $optionColor || colorVariables$1$1.text.medium;
|
|
8921
|
+
}
|
|
8922
|
+
});
|
|
8923
|
+
var SearchContainer$3$1 = styled__default.div(_templateObject4$2$1$1 || (_templateObject4$2$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
8924
|
+
var $background = _ref3.$background;
|
|
8925
|
+
switch ($background) {
|
|
8926
|
+
case 'dark':
|
|
8927
|
+
return colorVariables$1$1.text.dark;
|
|
8928
|
+
case 'medium':
|
|
8929
|
+
return colorVariables$1$1.text.medium;
|
|
8930
|
+
case 'light':
|
|
8931
|
+
return colorVariables$1$1.text.light;
|
|
8932
|
+
case 'white':
|
|
8933
|
+
return colorVariables$1$1.text.white;
|
|
8934
|
+
case 'warning':
|
|
8935
|
+
return colorVariables$1$1["default"].warning;
|
|
8936
|
+
case 'info':
|
|
8937
|
+
return colorVariables$1$1["default"].info;
|
|
8938
|
+
case 'success':
|
|
8939
|
+
return colorVariables$1$1["default"].success;
|
|
8940
|
+
case 'error':
|
|
8941
|
+
return colorVariables$1$1["default"].error;
|
|
8942
|
+
default:
|
|
8943
|
+
return $background;
|
|
8944
|
+
}
|
|
8945
|
+
}, function (_ref4) {
|
|
8946
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
8947
|
+
return $borderBottom || 'none';
|
|
8948
|
+
}, function (_ref5) {
|
|
8949
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
8950
|
+
return $borderRadius || '8px';
|
|
8951
|
+
});
|
|
8952
|
+
var SearchBar$3$1 = styled__default.input(_templateObject5$2$1$1 || (_templateObject5$2$1$1 = _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: 14px;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), colorVariables$1$1["default"].tertiary, function (_ref6) {
|
|
8953
|
+
var $inputColor = _ref6.$inputColor;
|
|
8954
|
+
switch ($inputColor) {
|
|
8955
|
+
case 'dark':
|
|
8956
|
+
return colorVariables$1$1.text.dark;
|
|
8957
|
+
case 'medium':
|
|
8958
|
+
return colorVariables$1$1.text.medium;
|
|
8959
|
+
case 'light':
|
|
8960
|
+
return colorVariables$1$1.text.light;
|
|
8961
|
+
case 'white':
|
|
8962
|
+
return colorVariables$1$1.text.white;
|
|
8963
|
+
case 'warning':
|
|
8964
|
+
return colorVariables$1$1["default"].warning;
|
|
8965
|
+
case 'info':
|
|
8966
|
+
return colorVariables$1$1["default"].info;
|
|
8967
|
+
case 'success':
|
|
8968
|
+
return colorVariables$1$1["default"].success;
|
|
8969
|
+
case 'error':
|
|
8970
|
+
return colorVariables$1$1["default"].error;
|
|
8971
|
+
default:
|
|
8972
|
+
return $inputColor;
|
|
8973
|
+
}
|
|
8974
|
+
}, function (_ref7) {
|
|
8975
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
8976
|
+
switch ($placeholderColor) {
|
|
8977
|
+
case 'dark':
|
|
8978
|
+
return colorVariables$1$1.text.dark;
|
|
8979
|
+
case 'medium':
|
|
8980
|
+
return colorVariables$1$1.text.medium;
|
|
8981
|
+
case 'light':
|
|
8982
|
+
return colorVariables$1$1.text.light;
|
|
8983
|
+
case 'white':
|
|
8984
|
+
return colorVariables$1$1.text.white;
|
|
8985
|
+
case 'warning':
|
|
8986
|
+
return colorVariables$1$1["default"].warning;
|
|
8987
|
+
case 'info':
|
|
8988
|
+
return colorVariables$1$1["default"].info;
|
|
8989
|
+
case 'success':
|
|
8990
|
+
return colorVariables$1$1["default"].success;
|
|
8991
|
+
case 'error':
|
|
8992
|
+
return colorVariables$1$1["default"].error;
|
|
8993
|
+
default:
|
|
8994
|
+
return $placeholderColor;
|
|
8995
|
+
}
|
|
8996
|
+
});
|
|
8997
|
+
var Text$1$1 = styled__default.span(_templateObject6$2$1$1 || (_templateObject6$2$1$1 = _taggedTemplateLiteralLoose$1$1(["\n word-break: break-word;\n"])));
|
|
8998
|
+
var _templateObject$9$1$1, _templateObject2$6$1$1, _templateObject3$4$1$1, _templateObject4$3$1$1, _templateObject5$3$1$1, _templateObject6$3$1$1, _templateObject7$1$1$1, _templateObject8$1$1$1, _templateObject9$1$1$1, _templateObject10$1$1$1, _templateObject11$1$1$1;
|
|
8999
|
+
var DropdownContainer$2$1 = styled__default.div(_templateObject$9$1$1 || (_templateObject$9$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n height: ", ";\n max-width: 100%;\n position: relative;\n max-height: ", ";\n"])), function (_ref) {
|
|
9000
|
+
var $width = _ref.$width;
|
|
9001
|
+
return $width || '100%';
|
|
9002
|
+
}, function (_ref2) {
|
|
9003
|
+
var $height = _ref2.$height;
|
|
9004
|
+
return $height || '100%';
|
|
9005
|
+
}, function (_ref3) {
|
|
9006
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
9007
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
9008
|
+
});
|
|
9009
|
+
var DropdownButton$2$1 = styled__default.div(_templateObject2$6$1$1 || (_templateObject2$6$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9010
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
9011
|
+
return $replaceLabel ? 'auto' : '';
|
|
9012
|
+
}, function (_ref5) {
|
|
9013
|
+
var $size = _ref5.$size;
|
|
9014
|
+
switch ($size) {
|
|
9015
|
+
case 'small':
|
|
9016
|
+
return '9px 12px';
|
|
9017
|
+
case 'large':
|
|
9018
|
+
return '24px 12px';
|
|
9019
|
+
default:
|
|
9020
|
+
return '14px 12px';
|
|
9021
|
+
}
|
|
9022
|
+
}, function (_ref6) {
|
|
9023
|
+
var $width = _ref6.$width;
|
|
9024
|
+
return $width ? $width : '100%';
|
|
9025
|
+
}, function (_ref7) {
|
|
9026
|
+
var $height = _ref7.$height;
|
|
9027
|
+
return $height || '100%';
|
|
9028
|
+
}, function (_ref8) {
|
|
9029
|
+
var $border = _ref8.$border,
|
|
9030
|
+
$isOpen = _ref8.$isOpen;
|
|
9031
|
+
return $isOpen ? "1px solid " + colorVariables$1$1.text.dark : $border || "1px solid " + colorVariables$1$1.border.light;
|
|
9032
|
+
}, function (_ref9) {
|
|
9033
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
9034
|
+
return $borderRadius || '8px';
|
|
9035
|
+
}, function (_ref10) {
|
|
9036
|
+
var $disabled = _ref10.$disabled;
|
|
9037
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9038
|
+
}, function (_ref11) {
|
|
9039
|
+
var $background = _ref11.$background,
|
|
9040
|
+
$disabled = _ref11.$disabled;
|
|
9041
|
+
switch ($background) {
|
|
9042
|
+
case 'dark':
|
|
9043
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.dark;
|
|
9044
|
+
case 'medium':
|
|
9045
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.medium;
|
|
9046
|
+
case 'light':
|
|
9047
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.light;
|
|
9048
|
+
case 'white':
|
|
9049
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1.text.white;
|
|
9050
|
+
case 'warning':
|
|
9051
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].warning;
|
|
9052
|
+
case 'info':
|
|
9053
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].info;
|
|
9054
|
+
case 'success':
|
|
9055
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].success;
|
|
9056
|
+
case 'error':
|
|
9057
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : colorVariables$1$1["default"].error;
|
|
9058
|
+
default:
|
|
9059
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9060
|
+
}
|
|
9061
|
+
}, function (_ref12) {
|
|
9062
|
+
var $color = _ref12.$color;
|
|
9063
|
+
return $color || colorVariables$1$1.text.medium;
|
|
9064
|
+
}, function (_ref13) {
|
|
9065
|
+
var $size = _ref13.$size;
|
|
9066
|
+
switch ($size) {
|
|
9067
|
+
case 'small':
|
|
9068
|
+
return '12px';
|
|
9069
|
+
case 'large':
|
|
9070
|
+
return '16px';
|
|
9071
|
+
default:
|
|
9072
|
+
return '14px';
|
|
9073
|
+
}
|
|
9074
|
+
}, function (_ref14) {
|
|
9075
|
+
var $size = _ref14.$size;
|
|
9076
|
+
switch ($size) {
|
|
9077
|
+
case 'small':
|
|
9078
|
+
return '12px';
|
|
9079
|
+
case 'large':
|
|
9080
|
+
return '16px';
|
|
9081
|
+
default:
|
|
9082
|
+
return '14px';
|
|
9083
|
+
}
|
|
9084
|
+
});
|
|
9085
|
+
var TitleText$2$1 = styled__default.div(_templateObject3$4$1$1 || (_templateObject3$4$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9086
|
+
var $titleSize = _ref15.$titleSize,
|
|
9087
|
+
$size = _ref15.$size;
|
|
9088
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9089
|
+
}, function (_ref16) {
|
|
9090
|
+
var $titleSize = _ref16.$titleSize,
|
|
9091
|
+
$size = _ref16.$size;
|
|
9092
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
9093
|
+
}, function (_ref17) {
|
|
9094
|
+
var $titleColor = _ref17.$titleColor;
|
|
9095
|
+
switch ($titleColor) {
|
|
9096
|
+
case 'dark':
|
|
9097
|
+
return colorVariables$1$1.text.dark;
|
|
9098
|
+
case 'medium':
|
|
9099
|
+
return colorVariables$1$1.text.medium;
|
|
9100
|
+
case 'light':
|
|
9101
|
+
return colorVariables$1$1.text.light;
|
|
9102
|
+
case 'white':
|
|
9103
|
+
return colorVariables$1$1.text.white;
|
|
9104
|
+
case 'warning':
|
|
9105
|
+
return colorVariables$1$1["default"].warning;
|
|
9106
|
+
case 'info':
|
|
9107
|
+
return colorVariables$1$1["default"].info;
|
|
9108
|
+
case 'success':
|
|
9109
|
+
return colorVariables$1$1["default"].success;
|
|
9110
|
+
case 'error':
|
|
9111
|
+
return colorVariables$1$1["default"].error;
|
|
9112
|
+
default:
|
|
9113
|
+
return $titleColor;
|
|
9114
|
+
}
|
|
9115
|
+
});
|
|
9116
|
+
var Container$2$1$1 = styled__default.div(_templateObject4$3$1$1 || (_templateObject4$3$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n"])));
|
|
9117
|
+
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) {
|
|
9118
|
+
var $labelStyle = _ref18.$labelStyle;
|
|
9119
|
+
return $labelStyle;
|
|
9120
|
+
}, colorVariables$1$1.text.light);
|
|
9121
|
+
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) {
|
|
9122
|
+
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
9123
|
+
return $optionsBorderRadius || '8px';
|
|
9124
|
+
}, function (_ref20) {
|
|
9125
|
+
var $width = _ref20.$width;
|
|
9126
|
+
return $width ? $width : 'max-content';
|
|
9127
|
+
}, function (_ref21) {
|
|
9128
|
+
var $menuBackground = _ref21.$menuBackground;
|
|
9129
|
+
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9130
|
+
});
|
|
9131
|
+
var SelectedOptionsWrapper$2$1 = styled__default.div(_templateObject7$1$1$1 || (_templateObject7$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n height: 100%;\n"])));
|
|
9132
|
+
var SelectedOptionDiv$2$1 = styled__default.div(_templateObject8$1$1$1 || (_templateObject8$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9133
|
+
var $selectedOptionBackground = _ref22.$selectedOptionBackground,
|
|
9134
|
+
$disabled = _ref22.$disabled;
|
|
9135
|
+
switch ($selectedOptionBackground) {
|
|
9136
|
+
case 'dark':
|
|
9137
|
+
return colorVariables$1$1.text.dark;
|
|
9138
|
+
case 'medium':
|
|
9139
|
+
return colorVariables$1$1.text.medium;
|
|
9140
|
+
case 'light':
|
|
9141
|
+
return colorVariables$1$1.text.light;
|
|
9142
|
+
case 'white':
|
|
9143
|
+
return colorVariables$1$1.text.white;
|
|
9144
|
+
case 'warning':
|
|
9145
|
+
return $disabled ? colorVariables$1$1.disabled.warning : colorVariables$1$1["default"].warning;
|
|
9146
|
+
case 'info':
|
|
9147
|
+
return $disabled ? colorVariables$1$1.disabled.info : colorVariables$1$1["default"].info;
|
|
9148
|
+
case 'success':
|
|
9149
|
+
return $disabled ? colorVariables$1$1.disabled.success : colorVariables$1$1["default"].success;
|
|
9150
|
+
case 'error':
|
|
9151
|
+
return $disabled ? colorVariables$1$1.disabled.error : colorVariables$1$1["default"].error;
|
|
9152
|
+
default:
|
|
9153
|
+
return $selectedOptionBackground || colorVariables$1$1.accent.extraLight;
|
|
9154
|
+
}
|
|
9155
|
+
}, function (_ref23) {
|
|
9156
|
+
var $selectedOptionColor = _ref23.$selectedOptionColor;
|
|
9157
|
+
switch ($selectedOptionColor) {
|
|
9158
|
+
case 'dark':
|
|
9159
|
+
return colorVariables$1$1.text.dark;
|
|
9160
|
+
case 'medium':
|
|
9161
|
+
return colorVariables$1$1.text.medium;
|
|
9162
|
+
case 'light':
|
|
9163
|
+
return colorVariables$1$1.text.light;
|
|
9164
|
+
case 'white':
|
|
9165
|
+
return colorVariables$1$1.text.white;
|
|
9166
|
+
case 'warning':
|
|
9167
|
+
return colorVariables$1$1["default"].warning;
|
|
9168
|
+
case 'info':
|
|
9169
|
+
return colorVariables$1$1["default"].info;
|
|
9170
|
+
case 'success':
|
|
9171
|
+
return colorVariables$1$1["default"].success;
|
|
9172
|
+
case 'error':
|
|
9173
|
+
return colorVariables$1$1["default"].error;
|
|
9174
|
+
default:
|
|
9175
|
+
return $selectedOptionColor;
|
|
9176
|
+
}
|
|
9177
|
+
});
|
|
9178
|
+
var RemoveIcon$2$1 = styled__default.div(_templateObject9$1$1$1 || (_templateObject9$1$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9179
|
+
var $disabled = _ref24.$disabled;
|
|
9180
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9181
|
+
}, function (_ref25) {
|
|
9182
|
+
var removeIconBackground = _ref25.removeIconBackground,
|
|
9183
|
+
$type = _ref25.$type;
|
|
9184
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1.disabled.primary;
|
|
9185
|
+
}, function (_ref26) {
|
|
9186
|
+
var $disabled = _ref26.$disabled;
|
|
9187
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9188
|
+
});
|
|
9189
|
+
var TextWrapper$1$1 = styled__default.div(_templateObject10$1$1$1 || (_templateObject10$1$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
9190
|
+
var Asterisk$1$1 = styled__default.span(_templateObject11$1$1$1 || (_templateObject11$1$1$1 = _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);
|
|
9191
|
+
var _templateObject$a$1$1, _templateObject2$7$1$1, _templateObject3$5$1$1;
|
|
9192
|
+
var SelectedOptionsWrapper$1$1$1 = styled__default.div(_templateObject$a$1$1 || (_templateObject$a$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n"])));
|
|
9193
|
+
var SelectedOptionDiv$1$1$1 = styled__default.div(_templateObject2$7$1$1 || (_templateObject2$7$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9194
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
9195
|
+
$type = _ref.$type;
|
|
9196
|
+
return $selectedOptionBackground || $type === 'remove' ? colorVariables$1$1.disabled.error : colorVariables$1$1.accent.softBlue;
|
|
9197
|
+
}, function (_ref2) {
|
|
9198
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
9199
|
+
$type = _ref2.$type;
|
|
9200
|
+
return $selectedOptionColor || $type === 'remove' ? colorVariables$1$1["default"].error : colorVariables$1$1.brand.primary;
|
|
9201
|
+
});
|
|
9202
|
+
var RemoveIcon$1$1$1 = styled__default.div(_templateObject3$5$1$1 || (_templateObject3$5$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9203
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
9204
|
+
$type = _ref3.$type;
|
|
9205
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1.disabled.primary;
|
|
9206
|
+
});
|
|
9207
|
+
var _templateObject$b$1$1, _templateObject2$8$1$1, _templateObject3$6$1$1, _templateObject4$4$1$1, _templateObject5$4$1$1, _templateObject6$4$1$1, _templateObject7$2$1$1, _templateObject8$2$1$1, _templateObject9$2$1$1, _templateObject10$2$1$1;
|
|
9208
|
+
var TitleText$1$1$1 = styled__default.label(_templateObject$b$1$1 || (_templateObject$b$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n width: max-content;\n font-weight: ", ";\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
9209
|
+
var $titleWeight = _ref.$titleWeight;
|
|
9210
|
+
return $titleWeight || 500;
|
|
9211
|
+
}, function (_ref2) {
|
|
9212
|
+
var $size = _ref2.$size;
|
|
9213
|
+
switch ($size) {
|
|
9214
|
+
case 'small':
|
|
9215
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9216
|
+
case 'medium':
|
|
9217
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9218
|
+
case 'large':
|
|
9219
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9220
|
+
default:
|
|
9221
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9222
|
+
}
|
|
9223
|
+
}, function (_ref3) {
|
|
9224
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9225
|
+
switch ($titlecolor) {
|
|
9226
|
+
case 'dark':
|
|
9227
|
+
return colorVariables$1$1.text.dark;
|
|
9228
|
+
case 'medium':
|
|
9229
|
+
return colorVariables$1$1.text.medium;
|
|
9230
|
+
case 'light':
|
|
9231
|
+
return colorVariables$1$1.text.light;
|
|
9232
|
+
case 'white':
|
|
9233
|
+
return colorVariables$1$1.text.white;
|
|
9234
|
+
case 'warning':
|
|
9235
|
+
return colorVariables$1$1["default"].warning;
|
|
9236
|
+
case 'info':
|
|
9237
|
+
return colorVariables$1$1["default"].info;
|
|
9238
|
+
case 'success':
|
|
9239
|
+
return colorVariables$1$1["default"].success;
|
|
9240
|
+
case 'error':
|
|
9241
|
+
return colorVariables$1$1["default"].error;
|
|
9242
|
+
default:
|
|
9243
|
+
return $titlecolor;
|
|
9244
|
+
}
|
|
9245
|
+
});
|
|
9246
|
+
var DropdownContainer$1$1$1 = styled__default.div(_templateObject2$8$1$1 || (_templateObject2$8$1$1 = _taggedTemplateLiteralLoose$1$1(["\n width: ", ";\n max-width: 100%;\n position: relative;\n gap: 8px;\n display: flex;\n"])), function (_ref4) {
|
|
9247
|
+
var $width = _ref4.$width;
|
|
9248
|
+
return $width || '100%';
|
|
9249
|
+
});
|
|
9250
|
+
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) {
|
|
9251
|
+
var $disabled = _ref5.$disabled;
|
|
9252
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9253
|
+
}, function (_ref6) {
|
|
9254
|
+
var $width = _ref6.$width;
|
|
9255
|
+
return $width ? $width : '100%';
|
|
9256
|
+
}, function (_ref7) {
|
|
9257
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
9258
|
+
return $selectHeight || 'auto';
|
|
9259
|
+
}, function (_ref8) {
|
|
9260
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
9261
|
+
return $borderRadius || '8px';
|
|
9262
|
+
}, function (_ref9) {
|
|
9263
|
+
var $border = _ref9.$border;
|
|
9264
|
+
return $border || "1px solid " + colorVariables$1$1.border.light;
|
|
9265
|
+
}, function (_ref10) {
|
|
9266
|
+
var $size = _ref10.$size;
|
|
9267
|
+
switch ($size) {
|
|
9268
|
+
case 'small':
|
|
9269
|
+
return '9px 12px';
|
|
9270
|
+
case 'large':
|
|
9271
|
+
return '24px 12px';
|
|
9272
|
+
default:
|
|
9273
|
+
return '13px 12px';
|
|
9274
|
+
}
|
|
9275
|
+
}, function (_ref11) {
|
|
9276
|
+
var $background = _ref11.$background,
|
|
9277
|
+
$disabled = _ref11.$disabled;
|
|
9278
|
+
return $disabled ? colorVariables$1$1.border.light : $background || colorVariables$1$1.accent.extraLight;
|
|
9279
|
+
}, function (_ref12) {
|
|
9280
|
+
var $size = _ref12.$size;
|
|
9281
|
+
switch ($size) {
|
|
9282
|
+
case 'small':
|
|
9283
|
+
return '12px';
|
|
9284
|
+
case 'large':
|
|
9285
|
+
return '16px';
|
|
9286
|
+
default:
|
|
9287
|
+
return '14px';
|
|
9288
|
+
}
|
|
9289
|
+
}, function (_ref13) {
|
|
9290
|
+
var $size = _ref13.$size;
|
|
9291
|
+
switch ($size) {
|
|
9292
|
+
case 'small':
|
|
9293
|
+
return '12px';
|
|
9294
|
+
case 'large':
|
|
9295
|
+
return '16px';
|
|
9296
|
+
default:
|
|
9297
|
+
return '14px';
|
|
9298
|
+
}
|
|
9299
|
+
});
|
|
9300
|
+
var Options$1$1 = styled__default.div(_templateObject4$4$1$1 || (_templateObject4$4$1$1 = _taggedTemplateLiteralLoose$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) {
|
|
9301
|
+
var $optionColor = _ref14.$optionColor,
|
|
9302
|
+
$optionSelected = _ref14.$optionSelected;
|
|
9303
|
+
return $optionSelected ? colorVariables$1$1.text.white : $optionColor || colorVariables$1$1.text.medium;
|
|
9304
|
+
}, function (_ref15) {
|
|
9305
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
9306
|
+
return $optionFontSize || '14px';
|
|
9307
|
+
}, function (_ref16) {
|
|
9308
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
9309
|
+
return $optionFontWeight || 400;
|
|
9310
|
+
}, function (_ref17) {
|
|
9311
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
9312
|
+
$optionSelected = _ref17.$optionSelected;
|
|
9313
|
+
return $optionSelected ? colorVariables$1$1["default"].primary : $optionBackgroundColor || colorVariables$1$1["default"].tertiary;
|
|
9314
|
+
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
9315
|
+
var LabelText$1$1$1 = styled__default.div(_templateObject5$4$1$1 || (_templateObject5$4$1$1 = _taggedTemplateLiteralLoose$1$1(["\n font-size: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n"])), function (_ref18) {
|
|
9316
|
+
var $size = _ref18.$size;
|
|
9317
|
+
switch ($size) {
|
|
9318
|
+
case 'small':
|
|
9319
|
+
return '14px';
|
|
9320
|
+
case 'large':
|
|
9321
|
+
return '16px';
|
|
9322
|
+
default:
|
|
9323
|
+
return '14px';
|
|
9324
|
+
}
|
|
9325
|
+
}, function (_ref19) {
|
|
9326
|
+
var $size = _ref19.$size;
|
|
9327
|
+
switch ($size) {
|
|
9328
|
+
case 'small':
|
|
9329
|
+
return '12px';
|
|
9330
|
+
case 'large':
|
|
9331
|
+
return '16px';
|
|
9332
|
+
default:
|
|
9333
|
+
return '14px';
|
|
9334
|
+
}
|
|
9335
|
+
}, function (_ref20) {
|
|
9336
|
+
var $fontStyle = _ref20.$fontStyle;
|
|
9337
|
+
return $fontStyle || '';
|
|
9338
|
+
}, function (_ref21) {
|
|
9339
|
+
var $color = _ref21.$color,
|
|
9340
|
+
$disabled = _ref21.$disabled;
|
|
9341
|
+
return $disabled ? colorVariables$1$1.text.medium : $color || colorVariables$1$1.text.medium;
|
|
9342
|
+
});
|
|
9343
|
+
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"])));
|
|
9344
|
+
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) {
|
|
9345
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
9346
|
+
return $optionsBorderRadius || '8px';
|
|
9347
|
+
}, function (_ref23) {
|
|
9348
|
+
var $width = _ref23.$width;
|
|
9349
|
+
return $width ? $width : 'max-content';
|
|
9350
|
+
}, function (_ref24) {
|
|
9351
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
9352
|
+
return $menuBackground || colorVariables$1$1.accent.extraLight;
|
|
9353
|
+
}, function (_ref25) {
|
|
9354
|
+
var $top = _ref25.$top;
|
|
9355
|
+
return $top && "top: " + $top + ";";
|
|
9356
|
+
}, function (_ref26) {
|
|
9357
|
+
var $bottom = _ref26.$bottom;
|
|
9358
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
9359
|
+
});
|
|
9360
|
+
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 width: 100%;\n"])));
|
|
9361
|
+
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) {
|
|
9362
|
+
var $background = _ref27.$background;
|
|
9363
|
+
return $background || colorVariables$1$1.accent.extraLight;
|
|
9364
|
+
}, function (_ref28) {
|
|
9365
|
+
var $border = _ref28.$border;
|
|
9366
|
+
return $border || 'none';
|
|
9367
|
+
}, colorVariables$1$1.border.light, function (_ref29) {
|
|
9368
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
9369
|
+
return $borderRadius || '8px 8px 0 0';
|
|
9370
|
+
});
|
|
9371
|
+
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) {
|
|
9372
|
+
var $inputColor = _ref30.$inputColor;
|
|
9373
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
9374
|
+
}, function (_ref31) {
|
|
9375
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
9376
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9377
|
+
});
|
|
9378
|
+
var _templateObject$c$1$1, _templateObject2$9$1$1;
|
|
9379
|
+
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"])));
|
|
9380
|
+
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-width: ", ";\n"])), colorVariables$1$1.accent.light, function (_ref) {
|
|
9381
|
+
var maxWidth = _ref.maxWidth;
|
|
9382
|
+
return maxWidth ? maxWidth : '400px';
|
|
9383
|
+
});
|
|
9384
|
+
var _templateObject$d$1$1, _templateObject2$a$1$1;
|
|
9385
|
+
var SearchContainer$2$1$1 = styled__default.div(_templateObject$d$1$1 || (_templateObject$d$1$1 = _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"])), function (_ref) {
|
|
9386
|
+
var $background = _ref.$background;
|
|
9387
|
+
return $background || colorVariables$1$1["default"].tertiary;
|
|
9388
|
+
}, function (_ref2) {
|
|
9389
|
+
var $border = _ref2.$border;
|
|
9390
|
+
return $border || 'none';
|
|
9391
|
+
}, function (_ref3) {
|
|
9392
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
9393
|
+
return $borderRadius || '8px';
|
|
9394
|
+
});
|
|
9395
|
+
var SearchBar$2$1$1 = styled__default.input(_templateObject2$a$1$1 || (_templateObject2$a$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: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n font-style: italic;\n position: absolute;\n top: 1px;\n }\n"])), colorVariables$1$1["default"].tertiary, function (_ref4) {
|
|
9396
|
+
var $inputColor = _ref4.$inputColor;
|
|
9397
|
+
return $inputColor || colorVariables$1$1.text.medium;
|
|
9398
|
+
}, function (_ref5) {
|
|
9399
|
+
var $placeholderColor = _ref5.$placeholderColor;
|
|
9400
|
+
return $placeholderColor || colorVariables$1$1.text.light;
|
|
9401
|
+
});
|
|
9402
|
+
function _taggedTemplateLiteralLoose$1$1$1(e, t) {
|
|
9403
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
9404
|
+
}
|
|
9405
|
+
var colorVariables$1$1$1 = {
|
|
9406
|
+
brand: {
|
|
9407
|
+
primary: '#4C9EEB',
|
|
9408
|
+
secondary: '#14171A',
|
|
9409
|
+
light: '#FFFFFF'
|
|
9410
|
+
},
|
|
9411
|
+
accent: {
|
|
9412
|
+
light: '#E1E8ED',
|
|
9413
|
+
extraLight: '#F5F8FA',
|
|
9414
|
+
softBlue: '#D4EEFF',
|
|
9415
|
+
extraSoftBlue: '#E4F4FF',
|
|
9416
|
+
boldTransparent: '#5E5E5E80',
|
|
9417
|
+
transparent: '#5E5E5E4D',
|
|
9418
|
+
lightTransparent: '#5E5E5E23'
|
|
9419
|
+
},
|
|
9420
|
+
"default": {
|
|
9421
|
+
primary: '#78B6F0',
|
|
9422
|
+
secondary: '#C2C2C2',
|
|
9423
|
+
tertiary: 'transparent',
|
|
9424
|
+
error: '#F44336',
|
|
9425
|
+
success: '#4CAF50',
|
|
9426
|
+
warning: '#FF9800',
|
|
9427
|
+
info: '#2159F3'
|
|
9428
|
+
},
|
|
9429
|
+
disabled: {
|
|
9430
|
+
primary: '#B9DCF7',
|
|
9431
|
+
secondary: '#DADADA',
|
|
9432
|
+
error: '#FFEBEE',
|
|
9433
|
+
success: '#E8F5E9',
|
|
9434
|
+
warning: '#FFF3E0',
|
|
9435
|
+
info: '#E3F2FD'
|
|
9436
|
+
},
|
|
9437
|
+
hover: {
|
|
9438
|
+
primary: '#4C9EEB',
|
|
9439
|
+
secondary: '#A3A3A3',
|
|
9440
|
+
tertiary: 'transparent',
|
|
9441
|
+
error: '#D32F2F',
|
|
9442
|
+
success: '#388E3C',
|
|
9443
|
+
warning: '#F57C00',
|
|
9444
|
+
info: '#193ED2'
|
|
9445
|
+
},
|
|
9446
|
+
border: {
|
|
9447
|
+
extraBold: '#657786',
|
|
9448
|
+
bold: '#BFBFBF',
|
|
9449
|
+
medium: '#CBCED0',
|
|
9450
|
+
light: '#DCDCDC',
|
|
9451
|
+
extraLight: '#E6E3E3'
|
|
9452
|
+
},
|
|
9453
|
+
text: {
|
|
9454
|
+
dark: '#14171A',
|
|
9455
|
+
medium: '#657786',
|
|
9456
|
+
light: '#98A2AA',
|
|
9457
|
+
white: '#FFFFFF',
|
|
9458
|
+
success: '#1B5E20',
|
|
9459
|
+
error: '#B71C1C',
|
|
9460
|
+
info: '#0D30A1',
|
|
9461
|
+
warning: '#E65100'
|
|
9462
|
+
},
|
|
9463
|
+
badge: {
|
|
9464
|
+
lavender: '#E8DAFF',
|
|
9465
|
+
papayaWhip: '#FFEDD5',
|
|
9466
|
+
water: '#C7E3FF',
|
|
9467
|
+
paleBlue: '#B0F0E4',
|
|
9468
|
+
teaGreen: '#D5F7C2',
|
|
9469
|
+
lightBlue: '#ADD8E6'
|
|
9470
|
+
}
|
|
9471
|
+
};
|
|
9472
|
+
var _templateObject$e$1$1, _templateObject2$b$1$1, _templateObject3$7$1$1;
|
|
9473
|
+
var wrapperCss$1$1$1 = styled.css(_templateObject$e$1$1 || (_templateObject$e$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"])));
|
|
9474
|
+
var IconWrapper$1$1$1 = styled__default.div(_templateObject2$b$1$1 || (_templateObject2$b$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) {
|
|
9475
|
+
var $clickable = _ref.$clickable;
|
|
9476
|
+
return $clickable ? 'pointer' : 'default';
|
|
9477
|
+
}, wrapperCss$1$1$1);
|
|
9478
|
+
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);
|
|
9479
|
+
var _templateObject$1$1$1$1, _templateObject2$1$1$1$1;
|
|
9480
|
+
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 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-bottom: ", ";\n border-left: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
9481
|
+
var $flex = _ref.$flex;
|
|
9482
|
+
return $flex;
|
|
9483
|
+
}, function (_ref2) {
|
|
9484
|
+
var $flexWrap = _ref2.$flexWrap;
|
|
9485
|
+
return $flexWrap;
|
|
9486
|
+
}, function (_ref3) {
|
|
9487
|
+
var $flexDirection = _ref3.$flexDirection;
|
|
9488
|
+
return $flexDirection;
|
|
9489
|
+
}, function (_ref4) {
|
|
9490
|
+
var $justifyContent = _ref4.$justifyContent;
|
|
9491
|
+
return $justifyContent;
|
|
9492
|
+
}, function (_ref5) {
|
|
9493
|
+
var $alignItems = _ref5.$alignItems;
|
|
9494
|
+
return $alignItems;
|
|
9495
|
+
}, function (_ref6) {
|
|
9496
|
+
var $gap = _ref6.$gap;
|
|
9497
|
+
return $gap;
|
|
9498
|
+
}, function (_ref7) {
|
|
9499
|
+
var $fontWeight = _ref7.$fontWeight;
|
|
9500
|
+
return $fontWeight;
|
|
9501
|
+
}, function (_ref8) {
|
|
9502
|
+
var $height = _ref8.$height;
|
|
9503
|
+
return $height;
|
|
9504
|
+
}, function (_ref9) {
|
|
9505
|
+
var $minHeight = _ref9.$minHeight;
|
|
9506
|
+
return $minHeight;
|
|
9507
|
+
}, function (_ref10) {
|
|
9508
|
+
var $maxHeight = _ref10.$maxHeight;
|
|
9509
|
+
return $maxHeight;
|
|
9510
|
+
}, function (_ref11) {
|
|
9511
|
+
var $width = _ref11.$width;
|
|
9512
|
+
return $width;
|
|
9513
|
+
}, function (_ref12) {
|
|
9514
|
+
var $minWidth = _ref12.$minWidth;
|
|
9515
|
+
return $minWidth;
|
|
9516
|
+
}, function (_ref13) {
|
|
9517
|
+
var $maxWidth = _ref13.$maxWidth;
|
|
9518
|
+
return $maxWidth;
|
|
9519
|
+
}, function (_ref14) {
|
|
9520
|
+
var $padding = _ref14.$padding;
|
|
9521
|
+
return $padding;
|
|
9522
|
+
}, function (_ref15) {
|
|
9523
|
+
var $background = _ref15.$background;
|
|
9524
|
+
return $background;
|
|
9525
|
+
}, function (_ref16) {
|
|
9526
|
+
var $objectfit = _ref16.$objectfit;
|
|
9527
|
+
return $objectfit;
|
|
9528
|
+
}, function (_ref17) {
|
|
9529
|
+
var $margin = _ref17.$margin;
|
|
9530
|
+
return $margin;
|
|
9531
|
+
}, function (_ref18) {
|
|
9532
|
+
var $borderRadius = _ref18.$borderRadius;
|
|
9533
|
+
return $borderRadius;
|
|
9534
|
+
}, function (_ref19) {
|
|
9535
|
+
var $cursor = _ref19.$cursor;
|
|
9536
|
+
return $cursor;
|
|
9537
|
+
}, function (_ref20) {
|
|
9538
|
+
var $fontSize = _ref20.$fontSize;
|
|
9539
|
+
return $fontSize;
|
|
9540
|
+
}, function (_ref21) {
|
|
9541
|
+
var $opacity = _ref21.$opacity;
|
|
9542
|
+
return $opacity;
|
|
9543
|
+
}, function (_ref22) {
|
|
9544
|
+
var $pointerEvents = _ref22.$pointerEvents;
|
|
9545
|
+
return $pointerEvents;
|
|
9546
|
+
}, function (_ref23) {
|
|
9547
|
+
var $position = _ref23.$position;
|
|
9548
|
+
return $position;
|
|
9549
|
+
}, function (_ref24) {
|
|
9550
|
+
var $top = _ref24.$top;
|
|
9551
|
+
return $top;
|
|
9552
|
+
}, function (_ref25) {
|
|
9553
|
+
var $bottom = _ref25.$bottom;
|
|
9554
|
+
return $bottom;
|
|
9555
|
+
}, function (_ref26) {
|
|
9556
|
+
var $left = _ref26.$left;
|
|
9557
|
+
return $left;
|
|
9558
|
+
}, function (_ref27) {
|
|
9559
|
+
var $right = _ref27.$right;
|
|
9560
|
+
return $right;
|
|
9561
|
+
}, function (_ref28) {
|
|
9562
|
+
var $textAlign = _ref28.$textAlign;
|
|
9563
|
+
return $textAlign;
|
|
9564
|
+
}, function (_ref29) {
|
|
9565
|
+
var $color = _ref29.$color;
|
|
9566
|
+
return $color;
|
|
9567
|
+
}, function (_ref30) {
|
|
9568
|
+
var $overflow = _ref30.$overflow;
|
|
9569
|
+
return $overflow || 'visible';
|
|
9570
|
+
}, function (_ref31) {
|
|
9571
|
+
var $overflowY = _ref31.$overflowY;
|
|
9572
|
+
return $overflowY;
|
|
9573
|
+
}, function (_ref32) {
|
|
9574
|
+
var $zIndex = _ref32.$zIndex;
|
|
9575
|
+
return $zIndex;
|
|
9576
|
+
}, function (_ref33) {
|
|
9577
|
+
var $scrollbarWidth = _ref33.$scrollbarWidth;
|
|
9578
|
+
return $scrollbarWidth;
|
|
9579
|
+
}, function (_ref34) {
|
|
9580
|
+
var $border = _ref34.$border;
|
|
9581
|
+
return $border;
|
|
9582
|
+
}, function (_ref35) {
|
|
9583
|
+
var $borderBottom = _ref35.$borderBottom;
|
|
9584
|
+
return $borderBottom;
|
|
9585
|
+
}, function (_ref36) {
|
|
9586
|
+
var $borderLeft = _ref36.$borderLeft;
|
|
9587
|
+
return $borderLeft;
|
|
9588
|
+
}, function (_ref37) {
|
|
9589
|
+
var $hoverBackground = _ref37.$hoverBackground;
|
|
9590
|
+
return $hoverBackground;
|
|
9591
|
+
}, function (_ref38) {
|
|
9592
|
+
var $hoverColor = _ref38.$hoverColor;
|
|
9593
|
+
return $hoverColor;
|
|
9594
|
+
});
|
|
9595
|
+
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 (_ref39) {
|
|
9596
|
+
var $fontFamily = _ref39.$fontFamily;
|
|
9597
|
+
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
9598
|
+
}, function (_ref40) {
|
|
9599
|
+
var $fontWeight = _ref40.$fontWeight;
|
|
9600
|
+
return $fontWeight ? $fontWeight : '500';
|
|
9601
|
+
}, function (_ref41) {
|
|
9602
|
+
var $fontSize = _ref41.$fontSize;
|
|
9603
|
+
return $fontSize ? $fontSize : '16px';
|
|
9604
|
+
}, function (_ref42) {
|
|
9605
|
+
var $color = _ref42.$color;
|
|
9606
|
+
return $color ? $color : colorVariables$1$1$1.text.medium;
|
|
9607
|
+
}, function (_ref43) {
|
|
9608
|
+
var $lineHeight = _ref43.$lineHeight;
|
|
9609
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
9610
|
+
}, function (_ref44) {
|
|
9611
|
+
var $textAlign = _ref44.$textAlign;
|
|
9612
|
+
return $textAlign ? $textAlign : 'center';
|
|
9613
|
+
}, function (_ref45) {
|
|
9614
|
+
var $minWidth = _ref45.$minWidth;
|
|
9615
|
+
return $minWidth;
|
|
9616
|
+
}, function (_ref46) {
|
|
9617
|
+
var $width = _ref46.$width;
|
|
9618
|
+
return $width;
|
|
9619
|
+
}, function (_ref47) {
|
|
9620
|
+
var $overflowWrap = _ref47.$overflowWrap;
|
|
9621
|
+
return $overflowWrap;
|
|
9622
|
+
});
|
|
9623
|
+
var _templateObject$2$1$1$1, _templateObject2$2$1$1$1;
|
|
9624
|
+
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"])));
|
|
9625
|
+
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) {
|
|
9626
|
+
var $visible = _ref.$visible;
|
|
9627
|
+
return $visible ? 'visible' : 'hidden';
|
|
9628
|
+
}, function (_ref2) {
|
|
9629
|
+
var $visible = _ref2.$visible;
|
|
9630
|
+
return $visible ? 1 : 0;
|
|
9631
|
+
}, function (_ref3) {
|
|
9632
|
+
var $bgColor = _ref3.$bgColor;
|
|
9633
|
+
return $bgColor || colorVariables$1$1$1.brand.light;
|
|
9634
|
+
}, colorVariables$1$1$1.text.medium);
|
|
9635
|
+
var _templateObject$3$1$1$1;
|
|
9636
|
+
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) {
|
|
9637
|
+
var $color = _ref.$color;
|
|
9638
|
+
return $color ? $color : colorVariables$1$1$1.text.medium;
|
|
9639
|
+
}, function (_ref2) {
|
|
9640
|
+
var $disabled = _ref2.$disabled;
|
|
9641
|
+
return $disabled ? '0.6' : '1';
|
|
9642
|
+
}, function (_ref3) {
|
|
9643
|
+
var $hover = _ref3.$hover,
|
|
9644
|
+
$disabled = _ref3.$disabled;
|
|
9645
|
+
return $hover && !$disabled && 'underline';
|
|
9646
|
+
}, function (_ref4) {
|
|
9647
|
+
var $hover = _ref4.$hover,
|
|
9648
|
+
$disabled = _ref4.$disabled;
|
|
9649
|
+
return $hover && !$disabled ? 'pointer' : 'default';
|
|
9650
|
+
}, function (_ref5) {
|
|
9651
|
+
var $hover = _ref5.$hover,
|
|
9652
|
+
$disabled = _ref5.$disabled;
|
|
9653
|
+
return $hover && !$disabled && colorVariables$1$1$1["default"].primary;
|
|
9654
|
+
});
|
|
9655
|
+
var _templateObject$4$1$1$1;
|
|
9656
|
+
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"])));
|
|
9657
|
+
var GlobalFonts$1$1$1 = {
|
|
9658
|
+
bold: 'NotoSans, sans-serif',
|
|
9659
|
+
regular: 'NotoSans, sans-serif',
|
|
9660
|
+
light: 'NotoSans, sans-serif'
|
|
9661
|
+
};
|
|
9662
|
+
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;
|
|
9663
|
+
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"])));
|
|
9664
|
+
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) {
|
|
9665
|
+
var $size = _ref.$size;
|
|
9666
|
+
return $size;
|
|
9667
|
+
}, function (_ref2) {
|
|
9668
|
+
var $size = _ref2.$size;
|
|
9669
|
+
return $size;
|
|
9670
|
+
}, function (_ref3) {
|
|
9671
|
+
var $size = _ref3.$size;
|
|
9672
|
+
return $size / 4;
|
|
9673
|
+
}, function (_ref4) {
|
|
9674
|
+
var $color = _ref4.$color;
|
|
9675
|
+
return $color;
|
|
9676
|
+
}, spin$1$1$1);
|
|
9677
|
+
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) {
|
|
9678
|
+
var $loaderPosition = _ref5.$loaderPosition;
|
|
9679
|
+
return $loaderPosition === 'right' ? '4px' : '0';
|
|
9680
|
+
}, function (_ref6) {
|
|
9681
|
+
var $loaderPosition = _ref6.$loaderPosition;
|
|
9682
|
+
return $loaderPosition === 'left' ? '4px' : '0';
|
|
9683
|
+
});
|
|
9684
|
+
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) {
|
|
9685
|
+
var $iconPosition = _ref7.$iconPosition;
|
|
9686
|
+
return $iconPosition === 'right' ? 'row-reverse' : 'row';
|
|
9687
|
+
}, function (_ref8) {
|
|
9688
|
+
var gap = _ref8.gap;
|
|
9689
|
+
return gap || '4px';
|
|
9690
|
+
}, function (_ref9) {
|
|
9691
|
+
var cursor = _ref9.cursor;
|
|
9692
|
+
return cursor;
|
|
9693
|
+
});
|
|
9694
|
+
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) {
|
|
9695
|
+
var $disabled = _ref10.$disabled;
|
|
9696
|
+
return $disabled ? 'none' : 'auto';
|
|
9697
|
+
}, function (_ref11) {
|
|
9698
|
+
var $disabled = _ref11.$disabled;
|
|
9699
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9700
|
+
}, function (_ref12) {
|
|
9701
|
+
var $borderRadius = _ref12.$borderRadius;
|
|
9702
|
+
return $borderRadius || '8px';
|
|
9703
|
+
}, function (_ref13) {
|
|
9704
|
+
var $size = _ref13.$size,
|
|
9705
|
+
$padding = _ref13.$padding;
|
|
9706
|
+
return $size === 'small' ? '8px 12.2px' : $size === 'medium' ? '10px 19px' : $size === 'large' ? '12px 24.5px' : $size === 'custom' ? $padding : '10px 16px';
|
|
9707
|
+
}, function (_ref14) {
|
|
9708
|
+
var _$borderHover$match;
|
|
9709
|
+
var $variant = _ref14.$variant,
|
|
9710
|
+
$disabled = _ref14.$disabled,
|
|
9711
|
+
$borderHover = _ref14.$borderHover,
|
|
9712
|
+
$borderDefault = _ref14.$borderDefault,
|
|
9713
|
+
$background = _ref14.$background,
|
|
9714
|
+
$color = _ref14.$color,
|
|
9715
|
+
$colorHover = _ref14.$colorHover;
|
|
9716
|
+
switch ($variant) {
|
|
9717
|
+
case 'primary':
|
|
9718
|
+
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 ";
|
|
9719
|
+
case 'secondary':
|
|
9720
|
+
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 ";
|
|
9721
|
+
case 'tertiary':
|
|
9722
|
+
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 ";
|
|
9723
|
+
case 'error':
|
|
9724
|
+
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 ";
|
|
9725
|
+
case 'outline-primary':
|
|
9726
|
+
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 ";
|
|
9727
|
+
case 'outline-secondary':
|
|
9728
|
+
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 ";
|
|
9729
|
+
case 'outline-error':
|
|
9730
|
+
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 ";
|
|
9731
|
+
case 'custom':
|
|
9732
|
+
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 ";
|
|
9733
|
+
default:
|
|
9734
|
+
return '';
|
|
9735
|
+
}
|
|
9736
|
+
}, function (_ref15) {
|
|
9737
|
+
var color = _ref15.color;
|
|
9738
|
+
return color;
|
|
9739
|
+
});
|
|
9740
|
+
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) {
|
|
9741
|
+
var $fontFamily = _ref16.$fontFamily;
|
|
9742
|
+
return $fontFamily ? $fontFamily : GlobalFonts$1$1$1.bold;
|
|
9743
|
+
}, function (_ref17) {
|
|
9744
|
+
var $size = _ref17.$size,
|
|
9745
|
+
$fontSize = _ref17.$fontSize;
|
|
9746
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9747
|
+
}, function (_ref18) {
|
|
9748
|
+
var $fontWeight = _ref18.$fontWeight,
|
|
9749
|
+
$size = _ref18.$size;
|
|
9750
|
+
return $size === 'custom' && $fontWeight || '500';
|
|
9751
|
+
}, function (_ref19) {
|
|
9752
|
+
var $size = _ref19.$size,
|
|
9753
|
+
$fontSize = _ref19.$fontSize;
|
|
9754
|
+
return $size === 'small' ? '14px' : $size === 'medium' ? '16px' : $size === 'large' ? '18px' : $size === 'custom' ? $fontSize : '16px';
|
|
9755
|
+
});
|
|
9756
|
+
var _templateObject$6$1$1$1;
|
|
9757
|
+
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) {
|
|
9758
|
+
var $isScrollable = _ref.$isScrollable;
|
|
9759
|
+
return $isScrollable ? '0 12px' : '0';
|
|
9760
|
+
});
|
|
9761
|
+
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;
|
|
9762
|
+
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"])));
|
|
9763
|
+
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);
|
|
9764
|
+
var Calendar$1$1$1$1 = styled__default.div(_templateObject3$2$1$1$1 || (_templateObject3$2$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
9765
|
+
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);
|
|
9766
|
+
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"])));
|
|
9767
|
+
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);
|
|
9768
|
+
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"])));
|
|
9769
|
+
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);
|
|
9770
|
+
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);
|
|
9771
|
+
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"])));
|
|
9772
|
+
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"])));
|
|
9773
|
+
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"])));
|
|
9774
|
+
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);
|
|
9775
|
+
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"])));
|
|
9776
|
+
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) {
|
|
9777
|
+
var $size = _ref.$size;
|
|
9778
|
+
return $size ? $size + "px" : '30px';
|
|
9779
|
+
}, function (_ref2) {
|
|
9780
|
+
var $size = _ref2.$size;
|
|
9781
|
+
return $size ? $size + "px" : '30px';
|
|
9782
|
+
});
|
|
9783
|
+
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) {
|
|
9784
|
+
var $size = _ref3.$size;
|
|
9785
|
+
return $size ? $size + "px" : '30px';
|
|
9786
|
+
}, function (_ref4) {
|
|
9787
|
+
var $size = _ref4.$size;
|
|
9788
|
+
return $size ? $size + "px" : '30px';
|
|
9789
|
+
}, function (_ref5) {
|
|
9790
|
+
var $isFuture = _ref5.$isFuture,
|
|
9791
|
+
$futureDateTime = _ref5.$futureDateTime;
|
|
9792
|
+
return !$futureDateTime && $isFuture ? 'default' : 'pointer';
|
|
9793
|
+
}, function (_ref6) {
|
|
9794
|
+
var $isFuture = _ref6.$isFuture,
|
|
9795
|
+
$futureDateTime = _ref6.$futureDateTime;
|
|
9796
|
+
return !$futureDateTime && $isFuture ? 0.5 : 1;
|
|
9797
|
+
}, function (_ref7) {
|
|
9798
|
+
var $selected = _ref7.$selected,
|
|
9799
|
+
$inRange = _ref7.$inRange;
|
|
9800
|
+
return $selected ? colorVariables$1$1$1["default"].primary : $inRange ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1["default"].tertiary;
|
|
9801
|
+
}, function (_ref8) {
|
|
9802
|
+
var $selected = _ref8.$selected,
|
|
9803
|
+
$inRange = _ref8.$inRange;
|
|
9804
|
+
return $selected ? colorVariables$1$1$1.text.white : $inRange ? colorVariables$1$1$1.text.white : colorVariables$1$1$1.text.medium;
|
|
9805
|
+
}, function (_ref9) {
|
|
9806
|
+
var $selected = _ref9.$selected,
|
|
9807
|
+
$inRange = _ref9.$inRange,
|
|
9808
|
+
$isFuture = _ref9.$isFuture,
|
|
9809
|
+
$futureDateTime = _ref9.$futureDateTime;
|
|
9810
|
+
return !$futureDateTime && $isFuture ? 'transparent' : $selected ? colorVariables$1$1$1.disabled.primary : $inRange ? colorVariables$1$1$1.disabled.primary : colorVariables$1$1$1.disabled.primary;
|
|
9811
|
+
});
|
|
9812
|
+
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"])));
|
|
9813
|
+
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"])));
|
|
9814
|
+
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"])));
|
|
9815
|
+
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"])));
|
|
9816
|
+
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);
|
|
9817
|
+
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;
|
|
9818
|
+
var OptionContainer$1$1$1 = styled__default.div(_templateObject$8$1$1$1 || (_templateObject$8$1$1$1 = _taggedTemplateLiteralLoose$1$1$1([""])));
|
|
9819
|
+
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) {
|
|
9820
|
+
var $optionBorder = _ref.$optionBorder,
|
|
9821
|
+
$isborder = _ref.$isborder;
|
|
9822
|
+
return $isborder ? $optionBorder || "1px solid " + colorVariables$1$1$1.border.extraLight : '';
|
|
9823
|
+
});
|
|
9824
|
+
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) {
|
|
9825
|
+
var $optionColor = _ref2.$optionColor;
|
|
9826
|
+
switch ($optionColor) {
|
|
9827
|
+
case 'dark':
|
|
9828
|
+
return colorVariables$1$1$1.text.dark;
|
|
9829
|
+
case 'medium':
|
|
9830
|
+
return colorVariables$1$1$1.text.medium;
|
|
9831
|
+
case 'light':
|
|
9832
|
+
return colorVariables$1$1$1.text.light;
|
|
9833
|
+
case 'white':
|
|
9834
|
+
return colorVariables$1$1$1.text.white;
|
|
9835
|
+
case 'warning':
|
|
9836
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9837
|
+
case 'info':
|
|
9838
|
+
return colorVariables$1$1$1["default"].info;
|
|
9839
|
+
case 'success':
|
|
9840
|
+
return colorVariables$1$1$1["default"].success;
|
|
9841
|
+
case 'error':
|
|
9842
|
+
return colorVariables$1$1$1["default"].error;
|
|
9843
|
+
default:
|
|
9844
|
+
return $optionColor || colorVariables$1$1$1.text.medium;
|
|
9845
|
+
}
|
|
9846
|
+
});
|
|
9847
|
+
var SearchContainer$3$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) {
|
|
9848
|
+
var $background = _ref3.$background;
|
|
9849
|
+
switch ($background) {
|
|
9850
|
+
case 'dark':
|
|
9851
|
+
return colorVariables$1$1$1.text.dark;
|
|
9852
|
+
case 'medium':
|
|
9853
|
+
return colorVariables$1$1$1.text.medium;
|
|
9854
|
+
case 'light':
|
|
9855
|
+
return colorVariables$1$1$1.text.light;
|
|
9856
|
+
case 'white':
|
|
9857
|
+
return colorVariables$1$1$1.text.white;
|
|
9858
|
+
case 'warning':
|
|
9859
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9860
|
+
case 'info':
|
|
9861
|
+
return colorVariables$1$1$1["default"].info;
|
|
9862
|
+
case 'success':
|
|
9863
|
+
return colorVariables$1$1$1["default"].success;
|
|
9864
|
+
case 'error':
|
|
9865
|
+
return colorVariables$1$1$1["default"].error;
|
|
9866
|
+
default:
|
|
9867
|
+
return $background;
|
|
9868
|
+
}
|
|
9869
|
+
}, function (_ref4) {
|
|
9870
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
9871
|
+
return $borderBottom || 'none';
|
|
9872
|
+
}, function (_ref5) {
|
|
9873
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
9874
|
+
return $borderRadius || '8px';
|
|
9875
|
+
});
|
|
9876
|
+
var SearchBar$3$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) {
|
|
9877
|
+
var $inputColor = _ref6.$inputColor;
|
|
9878
|
+
switch ($inputColor) {
|
|
9879
|
+
case 'dark':
|
|
9880
|
+
return colorVariables$1$1$1.text.dark;
|
|
9881
|
+
case 'medium':
|
|
9882
|
+
return colorVariables$1$1$1.text.medium;
|
|
9883
|
+
case 'light':
|
|
9884
|
+
return colorVariables$1$1$1.text.light;
|
|
9885
|
+
case 'white':
|
|
9886
|
+
return colorVariables$1$1$1.text.white;
|
|
9887
|
+
case 'warning':
|
|
9888
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9889
|
+
case 'info':
|
|
9890
|
+
return colorVariables$1$1$1["default"].info;
|
|
9891
|
+
case 'success':
|
|
9892
|
+
return colorVariables$1$1$1["default"].success;
|
|
9893
|
+
case 'error':
|
|
9894
|
+
return colorVariables$1$1$1["default"].error;
|
|
9895
|
+
default:
|
|
9896
|
+
return $inputColor;
|
|
9897
|
+
}
|
|
9898
|
+
}, function (_ref7) {
|
|
9899
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
9900
|
+
switch ($placeholderColor) {
|
|
9901
|
+
case 'dark':
|
|
9902
|
+
return colorVariables$1$1$1.text.dark;
|
|
9903
|
+
case 'medium':
|
|
9904
|
+
return colorVariables$1$1$1.text.medium;
|
|
9905
|
+
case 'light':
|
|
9906
|
+
return colorVariables$1$1$1.text.light;
|
|
9907
|
+
case 'white':
|
|
9908
|
+
return colorVariables$1$1$1.text.white;
|
|
9909
|
+
case 'warning':
|
|
9910
|
+
return colorVariables$1$1$1["default"].warning;
|
|
9911
|
+
case 'info':
|
|
9912
|
+
return colorVariables$1$1$1["default"].info;
|
|
9913
|
+
case 'success':
|
|
9914
|
+
return colorVariables$1$1$1["default"].success;
|
|
9915
|
+
case 'error':
|
|
9916
|
+
return colorVariables$1$1$1["default"].error;
|
|
9917
|
+
default:
|
|
9918
|
+
return $placeholderColor;
|
|
9919
|
+
}
|
|
9920
|
+
});
|
|
9921
|
+
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"])));
|
|
9922
|
+
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;
|
|
9923
|
+
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) {
|
|
9924
|
+
var $width = _ref.$width;
|
|
9925
|
+
return $width || '100%';
|
|
9926
|
+
}, function (_ref2) {
|
|
9927
|
+
var $height = _ref2.$height;
|
|
9928
|
+
return $height || '100%';
|
|
9929
|
+
}, function (_ref3) {
|
|
9930
|
+
var $replaceLabel = _ref3.$replaceLabel;
|
|
9931
|
+
return $replaceLabel ? 'calc(100% - 22px)' : '';
|
|
9932
|
+
});
|
|
9933
|
+
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) {
|
|
9934
|
+
var $replaceLabel = _ref4.$replaceLabel;
|
|
9935
|
+
return $replaceLabel ? 'auto' : '';
|
|
9936
|
+
}, function (_ref5) {
|
|
9937
|
+
var $size = _ref5.$size;
|
|
9938
|
+
switch ($size) {
|
|
9939
|
+
case 'small':
|
|
9940
|
+
return '9px 12px';
|
|
9941
|
+
case 'large':
|
|
9942
|
+
return '24px 12px';
|
|
9943
|
+
default:
|
|
9944
|
+
return '14px 12px';
|
|
9945
|
+
}
|
|
9946
|
+
}, function (_ref6) {
|
|
9947
|
+
var $width = _ref6.$width;
|
|
9948
|
+
return $width ? $width : '100%';
|
|
9949
|
+
}, function (_ref7) {
|
|
9950
|
+
var $height = _ref7.$height;
|
|
9951
|
+
return $height || '100%';
|
|
9952
|
+
}, function (_ref8) {
|
|
9953
|
+
var $border = _ref8.$border,
|
|
9954
|
+
$isOpen = _ref8.$isOpen;
|
|
9955
|
+
return $isOpen ? "1px solid " + colorVariables$1$1$1.text.dark : $border || "1px solid " + colorVariables$1$1$1.border.light;
|
|
9956
|
+
}, function (_ref9) {
|
|
9957
|
+
var $borderRadius = _ref9.$borderRadius;
|
|
9958
|
+
return $borderRadius || '8px';
|
|
9959
|
+
}, function (_ref10) {
|
|
9960
|
+
var $disabled = _ref10.$disabled;
|
|
9961
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9962
|
+
}, function (_ref11) {
|
|
9963
|
+
var $background = _ref11.$background,
|
|
9964
|
+
$disabled = _ref11.$disabled;
|
|
9965
|
+
switch ($background) {
|
|
9966
|
+
case 'dark':
|
|
9967
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.dark;
|
|
9968
|
+
case 'medium':
|
|
9969
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.medium;
|
|
9970
|
+
case 'light':
|
|
9971
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.light;
|
|
9972
|
+
case 'white':
|
|
9973
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1.text.white;
|
|
9974
|
+
case 'warning':
|
|
9975
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].warning;
|
|
9976
|
+
case 'info':
|
|
9977
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].info;
|
|
9978
|
+
case 'success':
|
|
9979
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].success;
|
|
9980
|
+
case 'error':
|
|
9981
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : colorVariables$1$1$1["default"].error;
|
|
9982
|
+
default:
|
|
9983
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
9984
|
+
}
|
|
9985
|
+
}, function (_ref12) {
|
|
9986
|
+
var $color = _ref12.$color;
|
|
9987
|
+
return $color || colorVariables$1$1$1.text.medium;
|
|
9988
|
+
}, function (_ref13) {
|
|
9989
|
+
var $size = _ref13.$size;
|
|
9990
|
+
switch ($size) {
|
|
9991
|
+
case 'small':
|
|
9992
|
+
return '12px';
|
|
9993
|
+
case 'large':
|
|
9994
|
+
return '16px';
|
|
9995
|
+
default:
|
|
9996
|
+
return '14px';
|
|
9997
|
+
}
|
|
9998
|
+
}, function (_ref14) {
|
|
9999
|
+
var $size = _ref14.$size;
|
|
10000
|
+
switch ($size) {
|
|
10001
|
+
case 'small':
|
|
10002
|
+
return '12px';
|
|
10003
|
+
case 'large':
|
|
10004
|
+
return '16px';
|
|
10005
|
+
default:
|
|
10006
|
+
return '14px';
|
|
10007
|
+
}
|
|
10008
|
+
});
|
|
10009
|
+
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) {
|
|
10010
|
+
var $titleSize = _ref15.$titleSize,
|
|
10011
|
+
$size = _ref15.$size;
|
|
10012
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
10013
|
+
}, function (_ref16) {
|
|
10014
|
+
var $titleSize = _ref16.$titleSize,
|
|
10015
|
+
$size = _ref16.$size;
|
|
10016
|
+
return $titleSize ? $titleSize + "px" : $size === 'small' ? '14px' : $size === 'large' ? '18px' : '16px';
|
|
10017
|
+
}, function (_ref17) {
|
|
10018
|
+
var $titleColor = _ref17.$titleColor;
|
|
10019
|
+
switch ($titleColor) {
|
|
10020
|
+
case 'dark':
|
|
10021
|
+
return colorVariables$1$1$1.text.dark;
|
|
10022
|
+
case 'medium':
|
|
10023
|
+
return colorVariables$1$1$1.text.medium;
|
|
10024
|
+
case 'light':
|
|
10025
|
+
return colorVariables$1$1$1.text.light;
|
|
10026
|
+
case 'white':
|
|
10027
|
+
return colorVariables$1$1$1.text.white;
|
|
10028
|
+
case 'warning':
|
|
10029
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10030
|
+
case 'info':
|
|
10031
|
+
return colorVariables$1$1$1["default"].info;
|
|
10032
|
+
case 'success':
|
|
10033
|
+
return colorVariables$1$1$1["default"].success;
|
|
10034
|
+
case 'error':
|
|
10035
|
+
return colorVariables$1$1$1["default"].error;
|
|
10036
|
+
default:
|
|
10037
|
+
return $titleColor;
|
|
10038
|
+
}
|
|
10039
|
+
});
|
|
10040
|
+
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"])));
|
|
10041
|
+
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) {
|
|
10042
|
+
var $labelStyle = _ref18.$labelStyle;
|
|
10043
|
+
return $labelStyle;
|
|
10044
|
+
}, colorVariables$1$1$1.text.light);
|
|
10045
|
+
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) {
|
|
10046
|
+
var $optionsBorderRadius = _ref19.$optionsBorderRadius;
|
|
10047
|
+
return $optionsBorderRadius || '8px';
|
|
10048
|
+
}, function (_ref20) {
|
|
10049
|
+
var $width = _ref20.$width;
|
|
10050
|
+
return $width ? $width : 'max-content';
|
|
10051
|
+
}, function (_ref21) {
|
|
10052
|
+
var $menuBackground = _ref21.$menuBackground;
|
|
10053
|
+
return $menuBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10054
|
+
});
|
|
10055
|
+
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"])));
|
|
10056
|
+
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) {
|
|
10057
|
+
var $selectedOptionBackground = _ref22.$selectedOptionBackground,
|
|
10058
|
+
$disabled = _ref22.$disabled;
|
|
10059
|
+
switch ($selectedOptionBackground) {
|
|
10060
|
+
case 'dark':
|
|
10061
|
+
return colorVariables$1$1$1.text.dark;
|
|
10062
|
+
case 'medium':
|
|
10063
|
+
return colorVariables$1$1$1.text.medium;
|
|
10064
|
+
case 'light':
|
|
10065
|
+
return colorVariables$1$1$1.text.light;
|
|
10066
|
+
case 'white':
|
|
10067
|
+
return colorVariables$1$1$1.text.white;
|
|
10068
|
+
case 'warning':
|
|
10069
|
+
return $disabled ? colorVariables$1$1$1.disabled.warning : colorVariables$1$1$1["default"].warning;
|
|
10070
|
+
case 'info':
|
|
10071
|
+
return $disabled ? colorVariables$1$1$1.disabled.info : colorVariables$1$1$1["default"].info;
|
|
10072
|
+
case 'success':
|
|
10073
|
+
return $disabled ? colorVariables$1$1$1.disabled.success : colorVariables$1$1$1["default"].success;
|
|
10074
|
+
case 'error':
|
|
10075
|
+
return $disabled ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1["default"].error;
|
|
10076
|
+
default:
|
|
10077
|
+
return $selectedOptionBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10078
|
+
}
|
|
10079
|
+
}, function (_ref23) {
|
|
10080
|
+
var $selectedOptionColor = _ref23.$selectedOptionColor;
|
|
10081
|
+
switch ($selectedOptionColor) {
|
|
10082
|
+
case 'dark':
|
|
10083
|
+
return colorVariables$1$1$1.text.dark;
|
|
10084
|
+
case 'medium':
|
|
10085
|
+
return colorVariables$1$1$1.text.medium;
|
|
10086
|
+
case 'light':
|
|
10087
|
+
return colorVariables$1$1$1.text.light;
|
|
10088
|
+
case 'white':
|
|
10089
|
+
return colorVariables$1$1$1.text.white;
|
|
10090
|
+
case 'warning':
|
|
10091
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10092
|
+
case 'info':
|
|
10093
|
+
return colorVariables$1$1$1["default"].info;
|
|
10094
|
+
case 'success':
|
|
10095
|
+
return colorVariables$1$1$1["default"].success;
|
|
10096
|
+
case 'error':
|
|
10097
|
+
return colorVariables$1$1$1["default"].error;
|
|
10098
|
+
default:
|
|
10099
|
+
return $selectedOptionColor;
|
|
10100
|
+
}
|
|
10101
|
+
});
|
|
10102
|
+
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) {
|
|
10103
|
+
var $disabled = _ref24.$disabled;
|
|
10104
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10105
|
+
}, function (_ref25) {
|
|
10106
|
+
var removeIconBackground = _ref25.removeIconBackground,
|
|
10107
|
+
$type = _ref25.$type;
|
|
10108
|
+
return removeIconBackground ? removeIconBackground : $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1.disabled.primary;
|
|
10109
|
+
}, function (_ref26) {
|
|
10110
|
+
var $disabled = _ref26.$disabled;
|
|
10111
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10112
|
+
});
|
|
10113
|
+
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"])));
|
|
10114
|
+
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);
|
|
10115
|
+
var _templateObject$a$1$1$1, _templateObject2$7$1$1$1, _templateObject3$5$1$1$1;
|
|
10116
|
+
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"])));
|
|
10117
|
+
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) {
|
|
10118
|
+
var $selectedOptionBackground = _ref.$selectedOptionBackground,
|
|
10119
|
+
$type = _ref.$type;
|
|
10120
|
+
return $selectedOptionBackground || $type === 'remove' ? colorVariables$1$1$1.disabled.error : colorVariables$1$1$1.accent.softBlue;
|
|
10121
|
+
}, function (_ref2) {
|
|
10122
|
+
var $selectedOptionColor = _ref2.$selectedOptionColor,
|
|
10123
|
+
$type = _ref2.$type;
|
|
10124
|
+
return $selectedOptionColor || $type === 'remove' ? colorVariables$1$1$1["default"].error : colorVariables$1$1$1.brand.primary;
|
|
10125
|
+
});
|
|
10126
|
+
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) {
|
|
10127
|
+
var $removeIconBackground = _ref3.$removeIconBackground,
|
|
10128
|
+
$type = _ref3.$type;
|
|
10129
|
+
return $removeIconBackground || $type === 'remove' ? '#5E5E5E24' : colorVariables$1$1$1.disabled.primary;
|
|
10130
|
+
});
|
|
10131
|
+
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;
|
|
10132
|
+
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) {
|
|
10133
|
+
var $titleWeight = _ref.$titleWeight;
|
|
10134
|
+
return $titleWeight || 500;
|
|
10135
|
+
}, function (_ref2) {
|
|
10136
|
+
var $size = _ref2.$size;
|
|
10137
|
+
switch ($size) {
|
|
10138
|
+
case 'small':
|
|
10139
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
10140
|
+
case 'medium':
|
|
10141
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10142
|
+
case 'large':
|
|
10143
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
10144
|
+
default:
|
|
10145
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10146
|
+
}
|
|
10147
|
+
}, function (_ref3) {
|
|
10148
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10149
|
+
switch ($titlecolor) {
|
|
10150
|
+
case 'dark':
|
|
10151
|
+
return colorVariables$1$1$1.text.dark;
|
|
10152
|
+
case 'medium':
|
|
10153
|
+
return colorVariables$1$1$1.text.medium;
|
|
10154
|
+
case 'light':
|
|
10155
|
+
return colorVariables$1$1$1.text.light;
|
|
10156
|
+
case 'white':
|
|
10157
|
+
return colorVariables$1$1$1.text.white;
|
|
10158
|
+
case 'warning':
|
|
10159
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10160
|
+
case 'info':
|
|
10161
|
+
return colorVariables$1$1$1["default"].info;
|
|
10162
|
+
case 'success':
|
|
10163
|
+
return colorVariables$1$1$1["default"].success;
|
|
10164
|
+
case 'error':
|
|
10165
|
+
return colorVariables$1$1$1["default"].error;
|
|
10166
|
+
default:
|
|
10167
|
+
return $titlecolor;
|
|
10168
|
+
}
|
|
10169
|
+
});
|
|
10170
|
+
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) {
|
|
10171
|
+
var $width = _ref4.$width;
|
|
10172
|
+
return $width || '100%';
|
|
10173
|
+
});
|
|
10174
|
+
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) {
|
|
10175
|
+
var $disabled = _ref5.$disabled;
|
|
10176
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10177
|
+
}, function (_ref6) {
|
|
10178
|
+
var $width = _ref6.$width;
|
|
10179
|
+
return $width ? $width : '100%';
|
|
10180
|
+
}, function (_ref7) {
|
|
10181
|
+
var $selectHeight = _ref7.$selectHeight;
|
|
10182
|
+
return $selectHeight || 'auto';
|
|
10183
|
+
}, function (_ref8) {
|
|
10184
|
+
var $borderRadius = _ref8.$borderRadius;
|
|
10185
|
+
return $borderRadius || '8px';
|
|
10186
|
+
}, function (_ref9) {
|
|
10187
|
+
var $border = _ref9.$border;
|
|
10188
|
+
return $border || "1px solid " + colorVariables$1$1$1.border.light;
|
|
10189
|
+
}, function (_ref10) {
|
|
10190
|
+
var $size = _ref10.$size;
|
|
10191
|
+
switch ($size) {
|
|
10192
|
+
case 'small':
|
|
10193
|
+
return '9px 12px';
|
|
10194
|
+
case 'large':
|
|
10195
|
+
return '24px 12px';
|
|
10196
|
+
default:
|
|
10197
|
+
return '13px 12px';
|
|
10198
|
+
}
|
|
10199
|
+
}, function (_ref11) {
|
|
10200
|
+
var $background = _ref11.$background,
|
|
10201
|
+
$disabled = _ref11.$disabled;
|
|
10202
|
+
return $disabled ? colorVariables$1$1$1.border.light : $background || colorVariables$1$1$1.accent.extraLight;
|
|
10203
|
+
}, function (_ref12) {
|
|
10204
|
+
var $size = _ref12.$size;
|
|
10205
|
+
switch ($size) {
|
|
10206
|
+
case 'small':
|
|
10207
|
+
return '12px';
|
|
10208
|
+
case 'large':
|
|
10209
|
+
return '16px';
|
|
10210
|
+
default:
|
|
10211
|
+
return '14px';
|
|
10212
|
+
}
|
|
10213
|
+
}, function (_ref13) {
|
|
10214
|
+
var $size = _ref13.$size;
|
|
10215
|
+
switch ($size) {
|
|
10216
|
+
case 'small':
|
|
10217
|
+
return '12px';
|
|
10218
|
+
case 'large':
|
|
10219
|
+
return '16px';
|
|
10220
|
+
default:
|
|
10221
|
+
return '14px';
|
|
10222
|
+
}
|
|
10223
|
+
});
|
|
10224
|
+
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) {
|
|
10225
|
+
var $optionColor = _ref14.$optionColor,
|
|
10226
|
+
$optionSelected = _ref14.$optionSelected;
|
|
10227
|
+
return $optionSelected ? colorVariables$1$1$1.text.white : $optionColor || colorVariables$1$1$1.text.medium;
|
|
10228
|
+
}, function (_ref15) {
|
|
10229
|
+
var $optionFontSize = _ref15.$optionFontSize;
|
|
10230
|
+
return $optionFontSize || '14px';
|
|
10231
|
+
}, function (_ref16) {
|
|
10232
|
+
var $optionFontWeight = _ref16.$optionFontWeight;
|
|
10233
|
+
return $optionFontWeight || 400;
|
|
10234
|
+
}, function (_ref17) {
|
|
10235
|
+
var $optionBackgroundColor = _ref17.$optionBackgroundColor,
|
|
10236
|
+
$optionSelected = _ref17.$optionSelected;
|
|
10237
|
+
return $optionSelected ? colorVariables$1$1$1["default"].primary : $optionBackgroundColor || colorVariables$1$1$1["default"].tertiary;
|
|
10238
|
+
}, colorVariables$1$1$1.hover.primary, colorVariables$1$1$1.text.white);
|
|
10239
|
+
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) {
|
|
10240
|
+
var $size = _ref18.$size;
|
|
10241
|
+
switch ($size) {
|
|
10242
|
+
case 'small':
|
|
10243
|
+
return '14px';
|
|
10244
|
+
case 'large':
|
|
10245
|
+
return '16px';
|
|
10246
|
+
default:
|
|
10247
|
+
return '14px';
|
|
10248
|
+
}
|
|
10249
|
+
}, function (_ref19) {
|
|
10250
|
+
var $size = _ref19.$size;
|
|
10251
|
+
switch ($size) {
|
|
10252
|
+
case 'small':
|
|
10253
|
+
return '12px';
|
|
10254
|
+
case 'large':
|
|
10255
|
+
return '16px';
|
|
10256
|
+
default:
|
|
10257
|
+
return '14px';
|
|
10258
|
+
}
|
|
10259
|
+
}, function (_ref20) {
|
|
10260
|
+
var $fontStyle = _ref20.$fontStyle;
|
|
10261
|
+
return $fontStyle || '';
|
|
10262
|
+
}, function (_ref21) {
|
|
10263
|
+
var $color = _ref21.$color,
|
|
10264
|
+
$disabled = _ref21.$disabled;
|
|
10265
|
+
return $disabled ? colorVariables$1$1$1.text.medium : $color || colorVariables$1$1$1.text.medium;
|
|
10266
|
+
});
|
|
10267
|
+
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"])));
|
|
10268
|
+
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) {
|
|
10269
|
+
var $optionsBorderRadius = _ref22.$optionsBorderRadius;
|
|
10270
|
+
return $optionsBorderRadius || '8px';
|
|
10271
|
+
}, function (_ref23) {
|
|
10272
|
+
var $width = _ref23.$width;
|
|
10273
|
+
return $width ? $width : 'max-content';
|
|
10274
|
+
}, function (_ref24) {
|
|
10275
|
+
var $menuBackground = _ref24.$menuBackground;
|
|
10276
|
+
return $menuBackground || colorVariables$1$1$1.accent.extraLight;
|
|
10277
|
+
}, function (_ref25) {
|
|
10278
|
+
var $top = _ref25.$top;
|
|
10279
|
+
return $top && "top: " + $top + ";";
|
|
10280
|
+
}, function (_ref26) {
|
|
10281
|
+
var $bottom = _ref26.$bottom;
|
|
10282
|
+
return $bottom && "bottom: " + $bottom + ";";
|
|
10283
|
+
});
|
|
10284
|
+
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 width: 100%;\n"])));
|
|
10285
|
+
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) {
|
|
10286
|
+
var $background = _ref27.$background;
|
|
10287
|
+
return $background || colorVariables$1$1$1.accent.extraLight;
|
|
10288
|
+
}, function (_ref28) {
|
|
10289
|
+
var $border = _ref28.$border;
|
|
10290
|
+
return $border || 'none';
|
|
10291
|
+
}, colorVariables$1$1$1.border.light, function (_ref29) {
|
|
10292
|
+
var $borderRadius = _ref29.$borderRadius;
|
|
10293
|
+
return $borderRadius || '8px 8px 0 0';
|
|
10294
|
+
});
|
|
10295
|
+
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) {
|
|
10296
|
+
var $inputColor = _ref30.$inputColor;
|
|
10297
|
+
return $inputColor || colorVariables$1$1$1.text.medium;
|
|
10298
|
+
}, function (_ref31) {
|
|
10299
|
+
var $placeholderColor = _ref31.$placeholderColor;
|
|
10300
|
+
return $placeholderColor || colorVariables$1$1$1.text.light;
|
|
10301
|
+
});
|
|
10302
|
+
var _templateObject$c$1$1$1, _templateObject2$9$1$1$1;
|
|
10303
|
+
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"])));
|
|
10304
|
+
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-width: ", ";\n"])), colorVariables$1$1$1.accent.light, function (_ref) {
|
|
10305
|
+
var maxWidth = _ref.maxWidth;
|
|
10306
|
+
return maxWidth ? maxWidth : '400px';
|
|
10307
|
+
});
|
|
10308
|
+
var _templateObject$d$1$1$1, _templateObject2$a$1$1$1;
|
|
10309
|
+
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) {
|
|
10310
|
+
var $background = _ref.$background;
|
|
10311
|
+
return $background || colorVariables$1$1$1["default"].tertiary;
|
|
10312
|
+
}, function (_ref2) {
|
|
10313
|
+
var $border = _ref2.$border;
|
|
10314
|
+
return $border || 'none';
|
|
10315
|
+
}, function (_ref3) {
|
|
10316
|
+
var $borderRadius = _ref3.$borderRadius;
|
|
10317
|
+
return $borderRadius || '8px';
|
|
10318
|
+
});
|
|
10319
|
+
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) {
|
|
10320
|
+
var $inputColor = _ref4.$inputColor;
|
|
10321
|
+
return $inputColor || colorVariables$1$1$1.text.medium;
|
|
10322
|
+
}, function (_ref5) {
|
|
10323
|
+
var $placeholderColor = _ref5.$placeholderColor;
|
|
10324
|
+
return $placeholderColor || colorVariables$1$1$1.text.light;
|
|
10325
|
+
});
|
|
10326
|
+
var _templateObject$e$1$1$1, _templateObject2$b$1$1$1, _templateObject3$7$1$1$1, _templateObject4$5$1$1$1, _templateObject5$5$1$1$1, _templateObject6$5$1$1$1;
|
|
10327
|
+
var Container$3$1$1$1 = styled__default.div(_templateObject$e$1$1$1 || (_templateObject$e$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10328
|
+
var $padding = _ref.$padding;
|
|
10329
|
+
return $padding;
|
|
10330
|
+
});
|
|
10331
|
+
var Label = styled__default.label(_templateObject2$b$1$1$1 || (_templateObject2$b$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10332
|
+
var $size = _ref2.$size;
|
|
10333
|
+
switch ($size) {
|
|
10334
|
+
case 'small':
|
|
10335
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
10336
|
+
case 'medium':
|
|
10337
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10338
|
+
case 'large':
|
|
10339
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
10340
|
+
default:
|
|
10341
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10342
|
+
}
|
|
10343
|
+
}, function (_ref3) {
|
|
10344
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10345
|
+
switch ($titlecolor) {
|
|
10346
|
+
case 'dark':
|
|
10347
|
+
return colorVariables$1$1$1.text.dark;
|
|
10348
|
+
case 'medium':
|
|
10349
|
+
return colorVariables$1$1$1.text.medium;
|
|
10350
|
+
case 'light':
|
|
10351
|
+
return colorVariables$1$1$1.text.light;
|
|
10352
|
+
case 'white':
|
|
10353
|
+
return colorVariables$1$1$1.text.white;
|
|
10354
|
+
case 'warning':
|
|
10355
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10356
|
+
case 'info':
|
|
10357
|
+
return colorVariables$1$1$1["default"].info;
|
|
10358
|
+
case 'success':
|
|
10359
|
+
return colorVariables$1$1$1["default"].success;
|
|
10360
|
+
case 'error':
|
|
10361
|
+
return colorVariables$1$1$1["default"].error;
|
|
10362
|
+
default:
|
|
10363
|
+
return $titlecolor;
|
|
10364
|
+
}
|
|
10365
|
+
});
|
|
10366
|
+
var Input = styled__default.input(_templateObject3$7$1$1$1 || (_templateObject3$7$1$1$1 = _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\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) {
|
|
10367
|
+
var $disabled = _ref4.$disabled;
|
|
10368
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
10369
|
+
}, function (_ref5) {
|
|
10370
|
+
var $disabled = _ref5.$disabled,
|
|
10371
|
+
$background = _ref5.$background;
|
|
10372
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10373
|
+
}, function (_ref6) {
|
|
10374
|
+
var $color = _ref6.$color;
|
|
10375
|
+
return $color;
|
|
10376
|
+
}, function (_ref7) {
|
|
10377
|
+
var $size = _ref7.$size;
|
|
10378
|
+
switch ($size) {
|
|
10379
|
+
case 'small':
|
|
10380
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
10381
|
+
case 'medium':
|
|
10382
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
10383
|
+
case 'large':
|
|
10384
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
10385
|
+
default:
|
|
10386
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
10387
|
+
}
|
|
10388
|
+
}, function (_ref8) {
|
|
10389
|
+
var $color = _ref8.$color;
|
|
10390
|
+
switch ($color) {
|
|
10391
|
+
case 'dark':
|
|
10392
|
+
return colorVariables$1$1$1.text.dark;
|
|
10393
|
+
case 'medium':
|
|
10394
|
+
return colorVariables$1$1$1.text.medium;
|
|
10395
|
+
case 'light':
|
|
10396
|
+
return colorVariables$1$1$1.text.light;
|
|
10397
|
+
case 'white':
|
|
10398
|
+
return colorVariables$1$1$1.text.white;
|
|
10399
|
+
case 'warning':
|
|
10400
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10401
|
+
case 'info':
|
|
10402
|
+
return colorVariables$1$1$1["default"].info;
|
|
10403
|
+
case 'success':
|
|
10404
|
+
return colorVariables$1$1$1["default"].success;
|
|
10405
|
+
case 'error':
|
|
10406
|
+
return colorVariables$1$1$1["default"].error;
|
|
10407
|
+
default:
|
|
10408
|
+
return $color;
|
|
10409
|
+
}
|
|
10410
|
+
}, colorVariables$1$1$1.text.light);
|
|
10411
|
+
var InputWrapper$1$1$1$1 = styled__default.div(_templateObject4$5$1$1$1 || (_templateObject4$5$1$1$1 = _taggedTemplateLiteralLoose$1$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
10412
|
+
var IconWrapper$1$1$1$1 = styled__default.div(_templateObject5$5$1$1$1 || (_templateObject5$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 (_ref9) {
|
|
10413
|
+
var $disabled = _ref9.$disabled;
|
|
10414
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10415
|
+
});
|
|
10416
|
+
var Asterisk$1$1$1$1 = styled__default.span(_templateObject6$5$1$1$1 || (_templateObject6$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);
|
|
10417
|
+
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
10418
|
+
var Container$4 = 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) {
|
|
10419
|
+
var $padding = _ref.$padding;
|
|
10420
|
+
return $padding;
|
|
10421
|
+
});
|
|
10422
|
+
var Label$1 = styled__default.label(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose$1$1$1(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10423
|
+
var $size = _ref2.$size;
|
|
10424
|
+
switch ($size) {
|
|
10425
|
+
case 'small':
|
|
10426
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
10427
|
+
case 'medium':
|
|
10428
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10429
|
+
case 'large':
|
|
10430
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
10431
|
+
default:
|
|
10432
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10433
|
+
}
|
|
10434
|
+
}, function (_ref3) {
|
|
10435
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10436
|
+
return $titlecolor || colorVariables$1$1$1.text.dark;
|
|
10437
|
+
});
|
|
10438
|
+
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 (_ref4) {
|
|
10439
|
+
var $disabled = _ref4.$disabled;
|
|
10440
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
10441
|
+
}, function (_ref5) {
|
|
10442
|
+
var $disabled = _ref5.$disabled,
|
|
10443
|
+
$background = _ref5.$background;
|
|
10444
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10445
|
+
}, function (_ref6) {
|
|
10446
|
+
var $color = _ref6.$color;
|
|
10447
|
+
return $color;
|
|
10448
|
+
}, function (_ref7) {
|
|
10449
|
+
var $size = _ref7.$size;
|
|
10450
|
+
switch ($size) {
|
|
10451
|
+
case 'small':
|
|
10452
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
10453
|
+
case 'medium':
|
|
10454
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
10455
|
+
case 'large':
|
|
10456
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
10457
|
+
default:
|
|
10458
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
10459
|
+
}
|
|
10460
|
+
}, function (_ref8) {
|
|
10461
|
+
var $color = _ref8.$color;
|
|
10462
|
+
return $color || colorVariables$1$1$1.text.dark;
|
|
10463
|
+
}, colorVariables$1$1$1.text.light);
|
|
10464
|
+
var _templateObject$g, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$6, _templateObject6$6, _templateObject7$3$1$1$1;
|
|
10465
|
+
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);
|
|
10466
|
+
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) {
|
|
10467
|
+
var $optionSelected = _ref.$optionSelected;
|
|
10468
|
+
return $optionSelected ? colorVariables$1$1$1.text.white : colorVariables$1$1$1.text.medium;
|
|
10469
|
+
}, function (_ref2) {
|
|
10470
|
+
var $optionSelected = _ref2.$optionSelected;
|
|
10471
|
+
return $optionSelected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.white;
|
|
10472
|
+
}, colorVariables$1$1$1.hover.primary, colorVariables$1$1$1.text.white);
|
|
10473
|
+
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);
|
|
10474
|
+
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"])));
|
|
10475
|
+
var SearchContainer$3$1$1$1 = 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) {
|
|
10476
|
+
var $background = _ref3.$background;
|
|
10477
|
+
switch ($background) {
|
|
10478
|
+
case 'dark':
|
|
10479
|
+
return colorVariables$1$1$1.text.dark;
|
|
10480
|
+
case 'medium':
|
|
10481
|
+
return colorVariables$1$1$1.text.medium;
|
|
10482
|
+
case 'light':
|
|
10483
|
+
return colorVariables$1$1$1.text.light;
|
|
10484
|
+
case 'white':
|
|
10485
|
+
return colorVariables$1$1$1.text.white;
|
|
10486
|
+
case 'warning':
|
|
10487
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10488
|
+
case 'info':
|
|
10489
|
+
return colorVariables$1$1$1["default"].info;
|
|
10490
|
+
case 'success':
|
|
10491
|
+
return colorVariables$1$1$1["default"].success;
|
|
10492
|
+
case 'error':
|
|
10493
|
+
return colorVariables$1$1$1["default"].error;
|
|
10494
|
+
default:
|
|
10495
|
+
return $background;
|
|
10496
|
+
}
|
|
10497
|
+
}, function (_ref4) {
|
|
10498
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
10499
|
+
return $borderBottom || 'none';
|
|
10500
|
+
}, function (_ref5) {
|
|
10501
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
10502
|
+
return $borderRadius || '8px';
|
|
10503
|
+
});
|
|
10504
|
+
var SearchBar$3$1$1$1 = styled__default.input(_templateObject6$6 || (_templateObject6$6 = _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) {
|
|
10505
|
+
var $inputColor = _ref6.$inputColor;
|
|
10506
|
+
switch ($inputColor) {
|
|
10507
|
+
case 'dark':
|
|
10508
|
+
return colorVariables$1$1$1.text.dark;
|
|
10509
|
+
case 'medium':
|
|
10510
|
+
return colorVariables$1$1$1.text.medium;
|
|
10511
|
+
case 'light':
|
|
10512
|
+
return colorVariables$1$1$1.text.light;
|
|
10513
|
+
case 'white':
|
|
10514
|
+
return colorVariables$1$1$1.text.white;
|
|
10515
|
+
case 'warning':
|
|
10516
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10517
|
+
case 'info':
|
|
10518
|
+
return colorVariables$1$1$1["default"].info;
|
|
10519
|
+
case 'success':
|
|
10520
|
+
return colorVariables$1$1$1["default"].success;
|
|
10521
|
+
case 'error':
|
|
10522
|
+
return colorVariables$1$1$1["default"].error;
|
|
10523
|
+
default:
|
|
10524
|
+
return $inputColor;
|
|
10525
|
+
}
|
|
10526
|
+
}, function (_ref7) {
|
|
10527
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
10528
|
+
switch ($placeholderColor) {
|
|
10529
|
+
case 'dark':
|
|
10530
|
+
return colorVariables$1$1$1.text.dark;
|
|
10531
|
+
case 'medium':
|
|
10532
|
+
return colorVariables$1$1$1.text.medium;
|
|
10533
|
+
case 'light':
|
|
10534
|
+
return colorVariables$1$1$1.text.light;
|
|
10535
|
+
case 'white':
|
|
10536
|
+
return colorVariables$1$1$1.text.white;
|
|
10537
|
+
case 'warning':
|
|
10538
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10539
|
+
case 'info':
|
|
10540
|
+
return colorVariables$1$1$1["default"].info;
|
|
10541
|
+
case 'success':
|
|
10542
|
+
return colorVariables$1$1$1["default"].success;
|
|
10543
|
+
case 'error':
|
|
10544
|
+
return colorVariables$1$1$1["default"].error;
|
|
10545
|
+
default:
|
|
10546
|
+
return $placeholderColor;
|
|
10547
|
+
}
|
|
10548
|
+
});
|
|
10549
|
+
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);
|
|
10550
|
+
var _templateObject$h, _templateObject2$e, _templateObject3$a, _templateObject4$7;
|
|
10551
|
+
var spin$1$1$1$1 = styled.keyframes(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose$1$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10552
|
+
var getDotPosition = function getDotPosition(index, size) {
|
|
10553
|
+
var angle = index * 360 / 8;
|
|
10554
|
+
var radius = size / 2.5;
|
|
10555
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10556
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10557
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
10558
|
+
};
|
|
10559
|
+
var SpinnerContainer = styled__default.div(_templateObject2$e || (_templateObject2$e = _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) {
|
|
10560
|
+
var $size = _ref.$size;
|
|
10561
|
+
return $size;
|
|
10562
|
+
}, function (_ref2) {
|
|
10563
|
+
var $size = _ref2.$size;
|
|
10564
|
+
return $size;
|
|
10565
|
+
});
|
|
10566
|
+
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
10567
|
+
var $index = _ref3.$index,
|
|
10568
|
+
$size = _ref3.$size;
|
|
10569
|
+
return {
|
|
10570
|
+
style: {
|
|
10571
|
+
transform: getDotPosition($index, $size)
|
|
10572
|
+
}
|
|
10573
|
+
};
|
|
10574
|
+
})(_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) {
|
|
10575
|
+
var $dotSize = _ref4.$dotSize;
|
|
10576
|
+
return $dotSize;
|
|
10577
|
+
}, function (_ref5) {
|
|
10578
|
+
var $dotSize = _ref5.$dotSize;
|
|
10579
|
+
return $dotSize;
|
|
10580
|
+
}, function (_ref6) {
|
|
10581
|
+
var $color = _ref6.$color;
|
|
10582
|
+
return $color;
|
|
10583
|
+
}, spin$1$1$1$1, function (_ref7) {
|
|
10584
|
+
var $speed = _ref7.$speed;
|
|
10585
|
+
return $speed;
|
|
10586
|
+
}, function (_ref8) {
|
|
10587
|
+
var $index = _ref8.$index,
|
|
10588
|
+
$speed = _ref8.$speed;
|
|
10589
|
+
return $index * $speed / 8;
|
|
10590
|
+
});
|
|
10591
|
+
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"])));
|
|
10592
|
+
var _templateObject$i, _templateObject2$f;
|
|
10593
|
+
var spin$2 = styled.keyframes(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose$1$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10594
|
+
var Spinner$1$1$1$1 = styled__default.div(_templateObject2$f || (_templateObject2$f = _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) {
|
|
10595
|
+
var $size = _ref.$size;
|
|
10596
|
+
return $size;
|
|
10597
|
+
}, function (_ref2) {
|
|
10598
|
+
var $size = _ref2.$size;
|
|
10599
|
+
return $size;
|
|
10600
|
+
}, function (_ref3) {
|
|
10601
|
+
var $color = _ref3.$color;
|
|
10602
|
+
return $color;
|
|
10603
|
+
}, spin$2);
|
|
10604
|
+
var _templateObject$j;
|
|
10605
|
+
var PageInput = styled__default.input(_templateObject$j || (_templateObject$j = _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);
|
|
10606
|
+
var _templateObject$k, _templateObject2$g, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$7;
|
|
10607
|
+
var SidebarContainer = styled__default.div(_templateObject$k || (_templateObject$k = _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) {
|
|
10608
|
+
var $isExpanded = _ref.$isExpanded;
|
|
10609
|
+
return $isExpanded ? '225px' : '68px';
|
|
10610
|
+
}, function (_ref2) {
|
|
10611
|
+
var $background = _ref2.$background;
|
|
10612
|
+
return $background ? $background : colorVariables$1$1$1.accent.softBlue;
|
|
10613
|
+
});
|
|
10614
|
+
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$g || (_templateObject2$g = _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);
|
|
10615
|
+
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"])));
|
|
10616
|
+
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) {
|
|
10617
|
+
var $selected = _ref3.$selected;
|
|
10618
|
+
return $selected ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1["default"].tertiary;
|
|
10619
|
+
});
|
|
10620
|
+
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"])));
|
|
10621
|
+
var TextContainer = styled__default.span(_templateObject6$7 || (_templateObject6$7 = _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) {
|
|
10622
|
+
var $padding = _ref4.$padding;
|
|
10623
|
+
return $padding;
|
|
10624
|
+
}, function (_ref5) {
|
|
10625
|
+
var $fontSize = _ref5.$fontSize;
|
|
10626
|
+
return $fontSize ? $fontSize : '20px';
|
|
10627
|
+
}, function (_ref6) {
|
|
10628
|
+
var $fontWeight = _ref6.$fontWeight;
|
|
10629
|
+
return $fontWeight ? $fontWeight : '500';
|
|
10630
|
+
}, function (_ref7) {
|
|
10631
|
+
var $color = _ref7.$color;
|
|
10632
|
+
return $color ? $color : colorVariables$1$1$1["default"].primary;
|
|
10633
|
+
}, function (_ref8) {
|
|
10634
|
+
var $isExpanded = _ref8.$isExpanded;
|
|
10635
|
+
return $isExpanded ? 1 : 0;
|
|
10636
|
+
}, function (_ref9) {
|
|
10637
|
+
var $isExpanded = _ref9.$isExpanded;
|
|
10638
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
10639
|
+
});
|
|
10640
|
+
var _templateObject$l, _templateObject2$h, _templateObject3$c, _templateObject4$9;
|
|
10641
|
+
var ContainerWrapper = styled__default.div(_templateObject$l || (_templateObject$l = _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) {
|
|
10642
|
+
return props.$width || 'auto';
|
|
10643
|
+
}, function (_ref) {
|
|
10644
|
+
var $minHeight = _ref.$minHeight;
|
|
10645
|
+
return $minHeight;
|
|
10646
|
+
});
|
|
10647
|
+
var CellContainer = styled__default.div(_templateObject2$h || (_templateObject2$h = _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) {
|
|
10648
|
+
return props.$align;
|
|
10649
|
+
}, function (props) {
|
|
10650
|
+
return props.$width || 'auto';
|
|
10651
|
+
}, function (props) {
|
|
10652
|
+
return props.$minWidth;
|
|
10653
|
+
}, function (props) {
|
|
10654
|
+
return props.$background || 'inherit';
|
|
10655
|
+
}, function (props) {
|
|
10656
|
+
return props.$padding;
|
|
10657
|
+
});
|
|
10658
|
+
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) {
|
|
10659
|
+
return props.$mtc;
|
|
10660
|
+
}, function (props) {
|
|
10661
|
+
return props.$mtfs;
|
|
10662
|
+
}, function (props) {
|
|
10663
|
+
return props.$mtw;
|
|
10664
|
+
});
|
|
10665
|
+
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) {
|
|
10666
|
+
return props.$stc;
|
|
10667
|
+
}, function (props) {
|
|
10668
|
+
return props.$stfs;
|
|
10669
|
+
}, function (props) {
|
|
10670
|
+
return props.$stw;
|
|
10671
|
+
});
|
|
10672
|
+
var _templateObject$m;
|
|
10673
|
+
var TableRowContainer = styled.styled.div(_templateObject$m || (_templateObject$m = _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"])));
|
|
10674
|
+
var _templateObject$n, _templateObject2$i, _templateObject3$d, _templateObject4$a, _templateObject5$8;
|
|
10675
|
+
var TableContainer = styled__default.div(_templateObject$n || (_templateObject$n = _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);
|
|
10676
|
+
var TableHeader = styled__default.div(_templateObject2$i || (_templateObject2$i = _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) {
|
|
10677
|
+
return props.$hbcolor || 'transparent';
|
|
10678
|
+
}, function (props) {
|
|
10679
|
+
return props.$tcolor || 'white';
|
|
10680
|
+
});
|
|
10681
|
+
var TableContent = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
10682
|
+
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"])));
|
|
10683
|
+
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);
|
|
10684
|
+
var _templateObject$o, _templateObject2$j, _templateObject3$e, _templateObject4$b, _templateObject5$9;
|
|
10685
|
+
var Container$5 = styled__default.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose$1$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
10686
|
+
var $border = _ref.$border;
|
|
10687
|
+
return $border;
|
|
10688
|
+
});
|
|
10689
|
+
var FirstContainer = styled__default.div(_templateObject2$j || (_templateObject2$j = _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 (_ref2) {
|
|
10690
|
+
var $headerPadding = _ref2.$headerPadding;
|
|
10691
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
10692
|
+
});
|
|
10693
|
+
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 (_ref3) {
|
|
10694
|
+
var $disabled = _ref3.$disabled;
|
|
10695
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10696
|
+
}, function (_ref4) {
|
|
10697
|
+
var $disabled = _ref4.$disabled;
|
|
10698
|
+
return $disabled ? '0.6' : '1';
|
|
10699
|
+
}, colorVariables$1$1$1.text.medium, function (_ref5) {
|
|
10700
|
+
var $headerHeight = _ref5.$headerHeight;
|
|
10701
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
10702
|
+
}, function (_ref6) {
|
|
10703
|
+
var $disabled = _ref6.$disabled;
|
|
10704
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10705
|
+
});
|
|
10706
|
+
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 (_ref7) {
|
|
10707
|
+
var $headerHeight = _ref7.$headerHeight;
|
|
10708
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
10709
|
+
}, function (props) {
|
|
10710
|
+
return props.$active ? 'block' : 'none';
|
|
10711
|
+
}, colorVariables$1$1$1["default"].primary);
|
|
10712
|
+
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) {
|
|
10713
|
+
return props.$active ? colorVariables$1$1$1["default"].primary : colorVariables$1$1$1.text.medium;
|
|
10714
|
+
});
|
|
10715
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
|
|
10716
|
+
var Container$6 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10717
|
+
var $padding = _ref.$padding;
|
|
10718
|
+
return $padding;
|
|
10719
|
+
});
|
|
10720
|
+
var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10721
|
+
var $size = _ref2.$size;
|
|
10722
|
+
switch ($size) {
|
|
10723
|
+
case 'small':
|
|
10724
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
10725
|
+
case 'medium':
|
|
10726
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10727
|
+
case 'large':
|
|
10728
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
10729
|
+
default:
|
|
10730
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
10731
|
+
}
|
|
10732
|
+
}, function (_ref3) {
|
|
10733
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10734
|
+
switch ($titlecolor) {
|
|
10735
|
+
case 'dark':
|
|
10736
|
+
return colorVariables$1$1$1.text.dark;
|
|
10737
|
+
case 'medium':
|
|
10738
|
+
return colorVariables$1$1$1.text.medium;
|
|
10739
|
+
case 'light':
|
|
10740
|
+
return colorVariables$1$1$1.text.light;
|
|
10741
|
+
case 'white':
|
|
10742
|
+
return colorVariables$1$1$1.text.white;
|
|
10743
|
+
case 'warning':
|
|
10744
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10745
|
+
case 'info':
|
|
10746
|
+
return colorVariables$1$1$1["default"].info;
|
|
10747
|
+
case 'success':
|
|
10748
|
+
return colorVariables$1$1$1["default"].success;
|
|
10749
|
+
case 'error':
|
|
10750
|
+
return colorVariables$1$1$1["default"].error;
|
|
10751
|
+
default:
|
|
10752
|
+
return $titlecolor;
|
|
10753
|
+
}
|
|
10754
|
+
});
|
|
10755
|
+
var Input$1 = styled__default.input(_templateObject3$f || (_templateObject3$f = _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$1.border.light, function (_ref4) {
|
|
10756
|
+
var $disabled = _ref4.$disabled;
|
|
10757
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
10758
|
+
}, function (_ref5) {
|
|
10759
|
+
var $disabled = _ref5.$disabled,
|
|
10760
|
+
$background = _ref5.$background;
|
|
10761
|
+
return $disabled ? colorVariables$1$1$1.disabled.secondary : $background;
|
|
10762
|
+
}, function (_ref6) {
|
|
10763
|
+
var $color = _ref6.$color;
|
|
10764
|
+
return $color;
|
|
10765
|
+
}, function (_ref7) {
|
|
10766
|
+
var $disabled = _ref7.$disabled;
|
|
10767
|
+
return $disabled ? 'none' : 'auto';
|
|
10768
|
+
}, function (_ref8) {
|
|
10769
|
+
var $size = _ref8.$size;
|
|
10770
|
+
switch ($size) {
|
|
10771
|
+
case 'small':
|
|
10772
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
10773
|
+
case 'medium':
|
|
10774
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
10775
|
+
case 'large':
|
|
10776
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
10777
|
+
default:
|
|
10778
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
10779
|
+
}
|
|
10780
|
+
}, function (_ref9) {
|
|
10781
|
+
var $color = _ref9.$color;
|
|
10782
|
+
switch ($color) {
|
|
10783
|
+
case 'dark':
|
|
10784
|
+
return colorVariables$1$1$1.text.dark;
|
|
10785
|
+
case 'medium':
|
|
10786
|
+
return colorVariables$1$1$1.text.medium;
|
|
10787
|
+
case 'light':
|
|
10788
|
+
return colorVariables$1$1$1.text.light;
|
|
10789
|
+
case 'white':
|
|
10790
|
+
return colorVariables$1$1$1.text.white;
|
|
10791
|
+
case 'warning':
|
|
10792
|
+
return colorVariables$1$1$1["default"].warning;
|
|
10793
|
+
case 'info':
|
|
10794
|
+
return colorVariables$1$1$1["default"].info;
|
|
10795
|
+
case 'success':
|
|
10796
|
+
return colorVariables$1$1$1["default"].success;
|
|
10797
|
+
case 'error':
|
|
10798
|
+
return colorVariables$1$1$1["default"].error;
|
|
10799
|
+
default:
|
|
10800
|
+
return $color;
|
|
10801
|
+
}
|
|
10802
|
+
}, colorVariables$1$1$1.text.light);
|
|
10803
|
+
var InputWrapper$2 = styled__default.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
10804
|
+
var IconWrapper$3 = styled__default.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
10805
|
+
var $disabled = _ref10.$disabled;
|
|
10806
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
10807
|
+
});
|
|
10808
|
+
var Asterisk$2 = styled__default.span(_templateObject6$8 || (_templateObject6$8 = _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$1["default"].error);
|
|
10809
|
+
var _templateObject$q, _templateObject2$l, _templateObject3$g;
|
|
10810
|
+
var Container$7 = styled__default.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
10811
|
+
var $padding = _ref.$padding;
|
|
10812
|
+
return $padding;
|
|
10813
|
+
});
|
|
10814
|
+
var Label$3 = styled__default.label(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose$1$1(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
10815
|
+
var $size = _ref2.$size;
|
|
10816
|
+
switch ($size) {
|
|
10817
|
+
case 'small':
|
|
10818
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
10819
|
+
case 'medium':
|
|
10820
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10821
|
+
case 'large':
|
|
10822
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
10823
|
+
default:
|
|
10824
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
10825
|
+
}
|
|
10826
|
+
}, function (_ref3) {
|
|
10827
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
10828
|
+
return $titlecolor || colorVariables$1$1.text.dark;
|
|
10829
|
+
});
|
|
10830
|
+
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 (_ref4) {
|
|
10831
|
+
var $disabled = _ref4.$disabled;
|
|
10832
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
10833
|
+
}, function (_ref5) {
|
|
10834
|
+
var $disabled = _ref5.$disabled,
|
|
10835
|
+
$background = _ref5.$background;
|
|
10836
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
10837
|
+
}, function (_ref6) {
|
|
10838
|
+
var $color = _ref6.$color;
|
|
10839
|
+
return $color;
|
|
10840
|
+
}, function (_ref7) {
|
|
10841
|
+
var $size = _ref7.$size;
|
|
10842
|
+
switch ($size) {
|
|
10843
|
+
case 'small':
|
|
10844
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
10845
|
+
case 'medium':
|
|
10846
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
10847
|
+
case 'large':
|
|
10848
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
10849
|
+
default:
|
|
10850
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
10851
|
+
}
|
|
10852
|
+
}, function (_ref8) {
|
|
10853
|
+
var $color = _ref8.$color;
|
|
10854
|
+
return $color || colorVariables$1$1.text.dark;
|
|
10855
|
+
}, colorVariables$1$1.text.light);
|
|
10856
|
+
var _templateObject$r, _templateObject2$m, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$9, _templateObject7$4;
|
|
10857
|
+
var OptionContainer$2 = styled__default.div(_templateObject$r || (_templateObject$r = _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);
|
|
10858
|
+
var OptionItem$2 = styled__default.div(_templateObject2$m || (_templateObject2$m = _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) {
|
|
10859
|
+
var $optionSelected = _ref.$optionSelected;
|
|
10860
|
+
return $optionSelected ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
10861
|
+
}, function (_ref2) {
|
|
10862
|
+
var $optionSelected = _ref2.$optionSelected;
|
|
10863
|
+
return $optionSelected ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.white;
|
|
10864
|
+
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
10865
|
+
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);
|
|
10866
|
+
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"])));
|
|
10867
|
+
var SearchContainer$4 = 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) {
|
|
10868
|
+
var $background = _ref3.$background;
|
|
10869
|
+
switch ($background) {
|
|
10870
|
+
case 'dark':
|
|
10871
|
+
return colorVariables$1$1.text.dark;
|
|
10872
|
+
case 'medium':
|
|
10873
|
+
return colorVariables$1$1.text.medium;
|
|
10874
|
+
case 'light':
|
|
10875
|
+
return colorVariables$1$1.text.light;
|
|
10876
|
+
case 'white':
|
|
10877
|
+
return colorVariables$1$1.text.white;
|
|
10878
|
+
case 'warning':
|
|
10879
|
+
return colorVariables$1$1["default"].warning;
|
|
10880
|
+
case 'info':
|
|
10881
|
+
return colorVariables$1$1["default"].info;
|
|
10882
|
+
case 'success':
|
|
10883
|
+
return colorVariables$1$1["default"].success;
|
|
10884
|
+
case 'error':
|
|
10885
|
+
return colorVariables$1$1["default"].error;
|
|
10886
|
+
default:
|
|
10887
|
+
return $background;
|
|
10888
|
+
}
|
|
10889
|
+
}, function (_ref4) {
|
|
10890
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
10891
|
+
return $borderBottom || 'none';
|
|
10892
|
+
}, function (_ref5) {
|
|
10893
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
10894
|
+
return $borderRadius || '8px';
|
|
10895
|
+
});
|
|
10896
|
+
var SearchBar$4 = styled__default.input(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose$1$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1$1["default"].tertiary, function (_ref6) {
|
|
10897
|
+
var $inputColor = _ref6.$inputColor;
|
|
10898
|
+
switch ($inputColor) {
|
|
10899
|
+
case 'dark':
|
|
10900
|
+
return colorVariables$1$1.text.dark;
|
|
10901
|
+
case 'medium':
|
|
10902
|
+
return colorVariables$1$1.text.medium;
|
|
10903
|
+
case 'light':
|
|
10904
|
+
return colorVariables$1$1.text.light;
|
|
10905
|
+
case 'white':
|
|
10906
|
+
return colorVariables$1$1.text.white;
|
|
10907
|
+
case 'warning':
|
|
10908
|
+
return colorVariables$1$1["default"].warning;
|
|
10909
|
+
case 'info':
|
|
10910
|
+
return colorVariables$1$1["default"].info;
|
|
10911
|
+
case 'success':
|
|
10912
|
+
return colorVariables$1$1["default"].success;
|
|
10913
|
+
case 'error':
|
|
10914
|
+
return colorVariables$1$1["default"].error;
|
|
10915
|
+
default:
|
|
10916
|
+
return $inputColor;
|
|
10917
|
+
}
|
|
10918
|
+
}, function (_ref7) {
|
|
10919
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
10920
|
+
switch ($placeholderColor) {
|
|
10921
|
+
case 'dark':
|
|
10922
|
+
return colorVariables$1$1.text.dark;
|
|
10923
|
+
case 'medium':
|
|
10924
|
+
return colorVariables$1$1.text.medium;
|
|
10925
|
+
case 'light':
|
|
10926
|
+
return colorVariables$1$1.text.light;
|
|
10927
|
+
case 'white':
|
|
10928
|
+
return colorVariables$1$1.text.white;
|
|
10929
|
+
case 'warning':
|
|
10930
|
+
return colorVariables$1$1["default"].warning;
|
|
10931
|
+
case 'info':
|
|
10932
|
+
return colorVariables$1$1["default"].info;
|
|
10933
|
+
case 'success':
|
|
10934
|
+
return colorVariables$1$1["default"].success;
|
|
10935
|
+
case 'error':
|
|
10936
|
+
return colorVariables$1$1["default"].error;
|
|
10937
|
+
default:
|
|
10938
|
+
return $placeholderColor;
|
|
10939
|
+
}
|
|
10940
|
+
});
|
|
10941
|
+
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);
|
|
10942
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$i, _templateObject4$e;
|
|
10943
|
+
var spin$3 = styled.keyframes(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10944
|
+
var getDotPosition$1 = function getDotPosition(index, size) {
|
|
10945
|
+
var angle = index * 360 / 8;
|
|
10946
|
+
var radius = size / 2.5;
|
|
10947
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
10948
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
10949
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
10950
|
+
};
|
|
10951
|
+
var SpinnerContainer$1 = styled__default.div(_templateObject2$n || (_templateObject2$n = _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) {
|
|
10952
|
+
var $size = _ref.$size;
|
|
10953
|
+
return $size;
|
|
10954
|
+
}, function (_ref2) {
|
|
10955
|
+
var $size = _ref2.$size;
|
|
10956
|
+
return $size;
|
|
10957
|
+
});
|
|
10958
|
+
var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
10959
|
+
var $index = _ref3.$index,
|
|
10960
|
+
$size = _ref3.$size;
|
|
10961
|
+
return {
|
|
10962
|
+
style: {
|
|
10963
|
+
transform: getDotPosition$1($index, $size)
|
|
10964
|
+
}
|
|
10965
|
+
};
|
|
10966
|
+
})(_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) {
|
|
10967
|
+
var $dotSize = _ref4.$dotSize;
|
|
10968
|
+
return $dotSize;
|
|
10969
|
+
}, function (_ref5) {
|
|
10970
|
+
var $dotSize = _ref5.$dotSize;
|
|
10971
|
+
return $dotSize;
|
|
10972
|
+
}, function (_ref6) {
|
|
10973
|
+
var $color = _ref6.$color;
|
|
10974
|
+
return $color;
|
|
10975
|
+
}, spin$3, function (_ref7) {
|
|
10976
|
+
var $speed = _ref7.$speed;
|
|
10977
|
+
return $speed;
|
|
10978
|
+
}, function (_ref8) {
|
|
10979
|
+
var $index = _ref8.$index,
|
|
10980
|
+
$speed = _ref8.$speed;
|
|
10981
|
+
return $index * $speed / 8;
|
|
10982
|
+
});
|
|
10983
|
+
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"])));
|
|
10984
|
+
var _templateObject$t, _templateObject2$o;
|
|
10985
|
+
var spin$4 = styled.keyframes(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10986
|
+
var Spinner$2 = styled__default.div(_templateObject2$o || (_templateObject2$o = _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) {
|
|
10987
|
+
var $size = _ref.$size;
|
|
10988
|
+
return $size;
|
|
10989
|
+
}, function (_ref2) {
|
|
10990
|
+
var $size = _ref2.$size;
|
|
10991
|
+
return $size;
|
|
10992
|
+
}, function (_ref3) {
|
|
10993
|
+
var $color = _ref3.$color;
|
|
10994
|
+
return $color;
|
|
10995
|
+
}, spin$4);
|
|
10996
|
+
var _templateObject$u;
|
|
10997
|
+
var PageInput$1 = styled__default.input(_templateObject$u || (_templateObject$u = _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);
|
|
10998
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$c, _templateObject6$a;
|
|
10999
|
+
var SidebarContainer$1 = styled__default.div(_templateObject$v || (_templateObject$v = _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) {
|
|
11000
|
+
var $isExpanded = _ref.$isExpanded;
|
|
11001
|
+
return $isExpanded ? '225px' : '68px';
|
|
11002
|
+
}, function (_ref2) {
|
|
11003
|
+
var $background = _ref2.$background;
|
|
11004
|
+
return $background ? $background : colorVariables$1$1.accent.softBlue;
|
|
11005
|
+
});
|
|
11006
|
+
var SidebarItem$1 = styled__default(reactRouterDom.NavLink)(_templateObject2$p || (_templateObject2$p = _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);
|
|
11007
|
+
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"])));
|
|
11008
|
+
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) {
|
|
11009
|
+
var $selected = _ref3.$selected;
|
|
11010
|
+
return $selected ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
11011
|
+
});
|
|
11012
|
+
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"])));
|
|
11013
|
+
var TextContainer$1 = styled__default.span(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
11014
|
+
var $padding = _ref4.$padding;
|
|
11015
|
+
return $padding;
|
|
11016
|
+
}, function (_ref5) {
|
|
11017
|
+
var $fontSize = _ref5.$fontSize;
|
|
11018
|
+
return $fontSize ? $fontSize : '20px';
|
|
11019
|
+
}, function (_ref6) {
|
|
11020
|
+
var $fontWeight = _ref6.$fontWeight;
|
|
11021
|
+
return $fontWeight ? $fontWeight : '500';
|
|
11022
|
+
}, function (_ref7) {
|
|
11023
|
+
var $color = _ref7.$color;
|
|
11024
|
+
return $color ? $color : colorVariables$1$1["default"].primary;
|
|
11025
|
+
}, function (_ref8) {
|
|
11026
|
+
var $isExpanded = _ref8.$isExpanded;
|
|
11027
|
+
return $isExpanded ? 1 : 0;
|
|
11028
|
+
}, function (_ref9) {
|
|
11029
|
+
var $isExpanded = _ref9.$isExpanded;
|
|
11030
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
11031
|
+
});
|
|
11032
|
+
var _templateObject$w, _templateObject2$q, _templateObject3$k, _templateObject4$g;
|
|
11033
|
+
var ContainerWrapper$1 = styled__default.div(_templateObject$w || (_templateObject$w = _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) {
|
|
11034
|
+
return props.$width || 'auto';
|
|
11035
|
+
}, function (_ref) {
|
|
11036
|
+
var $minHeight = _ref.$minHeight;
|
|
11037
|
+
return $minHeight;
|
|
11038
|
+
});
|
|
11039
|
+
var CellContainer$1 = styled__default.div(_templateObject2$q || (_templateObject2$q = _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) {
|
|
11040
|
+
return props.$align;
|
|
11041
|
+
}, function (props) {
|
|
11042
|
+
return props.$width || 'auto';
|
|
11043
|
+
}, function (props) {
|
|
11044
|
+
return props.$minWidth;
|
|
11045
|
+
}, function (props) {
|
|
11046
|
+
return props.$background || 'inherit';
|
|
11047
|
+
}, function (props) {
|
|
11048
|
+
return props.$padding;
|
|
11049
|
+
});
|
|
11050
|
+
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) {
|
|
11051
|
+
return props.$mtc;
|
|
11052
|
+
}, function (props) {
|
|
11053
|
+
return props.$mtfs;
|
|
11054
|
+
}, function (props) {
|
|
11055
|
+
return props.$mtw;
|
|
11056
|
+
});
|
|
11057
|
+
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) {
|
|
11058
|
+
return props.$stc;
|
|
11059
|
+
}, function (props) {
|
|
11060
|
+
return props.$stfs;
|
|
11061
|
+
}, function (props) {
|
|
11062
|
+
return props.$stw;
|
|
11063
|
+
});
|
|
11064
|
+
var _templateObject$x;
|
|
11065
|
+
var TableRowContainer$1 = styled.styled.div(_templateObject$x || (_templateObject$x = _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"])));
|
|
11066
|
+
var _templateObject$y, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d;
|
|
11067
|
+
var TableContainer$1 = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1.brand.light);
|
|
11068
|
+
var TableHeader$1 = styled__default.div(_templateObject2$r || (_templateObject2$r = _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) {
|
|
11069
|
+
return props.$hbcolor || 'transparent';
|
|
11070
|
+
}, function (props) {
|
|
11071
|
+
return props.$tcolor || 'white';
|
|
11072
|
+
});
|
|
11073
|
+
var TableContent$1 = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11074
|
+
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"])));
|
|
11075
|
+
var Divider$1 = styled__default.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1.border.extraLight);
|
|
11076
|
+
var _templateObject$z, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$e;
|
|
11077
|
+
var Container$8 = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
11078
|
+
var $border = _ref.$border;
|
|
11079
|
+
return $border;
|
|
11080
|
+
});
|
|
11081
|
+
var FirstContainer$1 = styled__default.div(_templateObject2$s || (_templateObject2$s = _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 (_ref2) {
|
|
11082
|
+
var $headerPadding = _ref2.$headerPadding;
|
|
11083
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
11084
|
+
});
|
|
11085
|
+
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 (_ref3) {
|
|
11086
|
+
var $disabled = _ref3.$disabled;
|
|
11087
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11088
|
+
}, function (_ref4) {
|
|
11089
|
+
var $disabled = _ref4.$disabled;
|
|
11090
|
+
return $disabled ? '0.6' : '1';
|
|
11091
|
+
}, colorVariables$1$1.text.medium, function (_ref5) {
|
|
11092
|
+
var $headerHeight = _ref5.$headerHeight;
|
|
11093
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
11094
|
+
}, function (_ref6) {
|
|
11095
|
+
var $disabled = _ref6.$disabled;
|
|
11096
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11097
|
+
});
|
|
11098
|
+
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 (_ref7) {
|
|
11099
|
+
var $headerHeight = _ref7.$headerHeight;
|
|
11100
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
11101
|
+
}, function (props) {
|
|
11102
|
+
return props.$active ? 'block' : 'none';
|
|
11103
|
+
}, colorVariables$1$1["default"].primary);
|
|
11104
|
+
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) {
|
|
11105
|
+
return props.$active ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.medium;
|
|
11106
|
+
});
|
|
11107
|
+
var _templateObject$A, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$f, _templateObject6$b;
|
|
11108
|
+
var Container$9 = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
11109
|
+
var $padding = _ref.$padding;
|
|
11110
|
+
return $padding;
|
|
11111
|
+
});
|
|
11112
|
+
var Label$4 = styled__default.label(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
11113
|
+
var $size = _ref2.$size;
|
|
11114
|
+
switch ($size) {
|
|
11115
|
+
case 'small':
|
|
11116
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
11117
|
+
case 'medium':
|
|
11118
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11119
|
+
case 'large':
|
|
11120
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
11121
|
+
default:
|
|
11122
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
11123
|
+
}
|
|
11124
|
+
}, function (_ref3) {
|
|
11125
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
11126
|
+
switch ($titlecolor) {
|
|
11127
|
+
case 'dark':
|
|
11128
|
+
return colorVariables$1$1.text.dark;
|
|
11129
|
+
case 'medium':
|
|
11130
|
+
return colorVariables$1$1.text.medium;
|
|
11131
|
+
case 'light':
|
|
11132
|
+
return colorVariables$1$1.text.light;
|
|
11133
|
+
case 'white':
|
|
11134
|
+
return colorVariables$1$1.text.white;
|
|
11135
|
+
case 'warning':
|
|
11136
|
+
return colorVariables$1$1["default"].warning;
|
|
11137
|
+
case 'info':
|
|
11138
|
+
return colorVariables$1$1["default"].info;
|
|
11139
|
+
case 'success':
|
|
11140
|
+
return colorVariables$1$1["default"].success;
|
|
11141
|
+
case 'error':
|
|
11142
|
+
return colorVariables$1$1["default"].error;
|
|
11143
|
+
default:
|
|
11144
|
+
return $titlecolor;
|
|
11145
|
+
}
|
|
11146
|
+
});
|
|
11147
|
+
var Input$2 = styled__default.input(_templateObject3$n || (_templateObject3$n = _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$1.border.light, function (_ref4) {
|
|
11148
|
+
var $disabled = _ref4.$disabled;
|
|
11149
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
11150
|
+
}, function (_ref5) {
|
|
11151
|
+
var $disabled = _ref5.$disabled,
|
|
11152
|
+
$background = _ref5.$background;
|
|
11153
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
11154
|
+
}, function (_ref6) {
|
|
11155
|
+
var $color = _ref6.$color;
|
|
11156
|
+
return $color;
|
|
11157
|
+
}, function (_ref7) {
|
|
11158
|
+
var $disabled = _ref7.$disabled;
|
|
11159
|
+
return $disabled ? 'none' : 'auto';
|
|
11160
|
+
}, function (_ref8) {
|
|
11161
|
+
var $size = _ref8.$size;
|
|
11162
|
+
switch ($size) {
|
|
11163
|
+
case 'small':
|
|
11164
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
11165
|
+
case 'medium':
|
|
11166
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
11167
|
+
case 'large':
|
|
11168
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
11169
|
+
default:
|
|
11170
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
11171
|
+
}
|
|
11172
|
+
}, function (_ref9) {
|
|
11173
|
+
var $color = _ref9.$color;
|
|
11174
|
+
switch ($color) {
|
|
11175
|
+
case 'dark':
|
|
11176
|
+
return colorVariables$1$1.text.dark;
|
|
11177
|
+
case 'medium':
|
|
11178
|
+
return colorVariables$1$1.text.medium;
|
|
11179
|
+
case 'light':
|
|
11180
|
+
return colorVariables$1$1.text.light;
|
|
11181
|
+
case 'white':
|
|
11182
|
+
return colorVariables$1$1.text.white;
|
|
11183
|
+
case 'warning':
|
|
11184
|
+
return colorVariables$1$1["default"].warning;
|
|
11185
|
+
case 'info':
|
|
11186
|
+
return colorVariables$1$1["default"].info;
|
|
11187
|
+
case 'success':
|
|
11188
|
+
return colorVariables$1$1["default"].success;
|
|
11189
|
+
case 'error':
|
|
11190
|
+
return colorVariables$1$1["default"].error;
|
|
11191
|
+
default:
|
|
11192
|
+
return $color;
|
|
11193
|
+
}
|
|
11194
|
+
}, colorVariables$1$1.text.light);
|
|
11195
|
+
var InputWrapper$3 = styled__default.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
11196
|
+
var IconWrapper$5 = styled__default.div(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
11197
|
+
var $disabled = _ref10.$disabled;
|
|
11198
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
11199
|
+
});
|
|
11200
|
+
var Asterisk$3 = styled__default.span(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose$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);
|
|
11201
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$o;
|
|
11202
|
+
var Container$a = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
11203
|
+
var $padding = _ref.$padding;
|
|
11204
|
+
return $padding;
|
|
11205
|
+
});
|
|
11206
|
+
var Label$5 = styled__default.label(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
11207
|
+
var $size = _ref2.$size;
|
|
11208
|
+
switch ($size) {
|
|
11209
|
+
case 'small':
|
|
11210
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
11211
|
+
case 'medium':
|
|
11212
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
11213
|
+
case 'large':
|
|
11214
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
11215
|
+
default:
|
|
11216
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
11217
|
+
}
|
|
11218
|
+
}, function (_ref3) {
|
|
11219
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
11220
|
+
return $titlecolor || colorVariables$1.text.dark;
|
|
11221
|
+
});
|
|
11222
|
+
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 (_ref4) {
|
|
11223
|
+
var $disabled = _ref4.$disabled;
|
|
11224
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
11225
|
+
}, function (_ref5) {
|
|
11226
|
+
var $disabled = _ref5.$disabled,
|
|
11227
|
+
$background = _ref5.$background;
|
|
11228
|
+
return $disabled ? colorVariables$1.disabled.secondary : $background;
|
|
11229
|
+
}, function (_ref6) {
|
|
11230
|
+
var $color = _ref6.$color;
|
|
8599
11231
|
return $color;
|
|
8600
11232
|
}, function (_ref7) {
|
|
8601
11233
|
var $size = _ref7.$size;
|
|
@@ -8613,18 +11245,18 @@ var TextAreaComponent = styled__default.textarea(_templateObject3$8 || (_templat
|
|
|
8613
11245
|
var $color = _ref8.$color;
|
|
8614
11246
|
return $color || colorVariables$1.text.dark;
|
|
8615
11247
|
}, colorVariables$1.text.light);
|
|
8616
|
-
var _templateObject$
|
|
8617
|
-
var OptionContainer$
|
|
8618
|
-
var OptionItem$
|
|
11248
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$c, _templateObject7$5;
|
|
11249
|
+
var OptionContainer$3 = styled__default.div(_templateObject$C || (_templateObject$C = _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);
|
|
11250
|
+
var OptionItem$3 = styled__default.div(_templateObject2$v || (_templateObject2$v = _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) {
|
|
8619
11251
|
var $optionSelected = _ref.$optionSelected;
|
|
8620
11252
|
return $optionSelected ? colorVariables$1.text.white : colorVariables$1.text.medium;
|
|
8621
11253
|
}, function (_ref2) {
|
|
8622
11254
|
var $optionSelected = _ref2.$optionSelected;
|
|
8623
11255
|
return $optionSelected ? colorVariables$1["default"].primary : colorVariables$1.text.white;
|
|
8624
11256
|
}, colorVariables$1.hover.primary, colorVariables$1.text.white);
|
|
8625
|
-
var TotalOptionsHeader = styled__default.div(_templateObject3$
|
|
8626
|
-
var OptionLabel$
|
|
8627
|
-
var SearchContainer$
|
|
11257
|
+
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);
|
|
11258
|
+
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"])));
|
|
11259
|
+
var SearchContainer$5 = 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) {
|
|
8628
11260
|
var $background = _ref3.$background;
|
|
8629
11261
|
switch ($background) {
|
|
8630
11262
|
case 'dark':
|
|
@@ -8653,7 +11285,7 @@ var SearchContainer$3$1 = styled__default.div(_templateObject5$6 || (_templateOb
|
|
|
8653
11285
|
var $borderRadius = _ref5.$borderRadius;
|
|
8654
11286
|
return $borderRadius || '8px';
|
|
8655
11287
|
});
|
|
8656
|
-
var SearchBar$
|
|
11288
|
+
var SearchBar$5 = styled__default.input(_templateObject6$c || (_templateObject6$c = _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) {
|
|
8657
11289
|
var $inputColor = _ref6.$inputColor;
|
|
8658
11290
|
switch ($inputColor) {
|
|
8659
11291
|
case 'dark':
|
|
@@ -8698,32 +11330,32 @@ var SearchBar$3$1 = styled__default.input(_templateObject6$6 || (_templateObject
|
|
|
8698
11330
|
return $placeholderColor;
|
|
8699
11331
|
}
|
|
8700
11332
|
});
|
|
8701
|
-
var OptionsWrapper$
|
|
8702
|
-
var _templateObject$
|
|
8703
|
-
var spin$
|
|
8704
|
-
var getDotPosition = function getDotPosition(index, size) {
|
|
11333
|
+
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);
|
|
11334
|
+
var _templateObject$D, _templateObject2$w, _templateObject3$q, _templateObject4$l;
|
|
11335
|
+
var spin$5 = styled.keyframes(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11336
|
+
var getDotPosition$2 = function getDotPosition(index, size) {
|
|
8705
11337
|
var angle = index * 360 / 8;
|
|
8706
11338
|
var radius = size / 2.5;
|
|
8707
11339
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
8708
11340
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
8709
11341
|
return "translate(" + x + "px, " + y + "px)";
|
|
8710
11342
|
};
|
|
8711
|
-
var SpinnerContainer = styled__default.div(_templateObject2$
|
|
11343
|
+
var SpinnerContainer$2 = styled__default.div(_templateObject2$w || (_templateObject2$w = _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) {
|
|
8712
11344
|
var $size = _ref.$size;
|
|
8713
11345
|
return $size;
|
|
8714
11346
|
}, function (_ref2) {
|
|
8715
11347
|
var $size = _ref2.$size;
|
|
8716
11348
|
return $size;
|
|
8717
11349
|
});
|
|
8718
|
-
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
11350
|
+
var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
8719
11351
|
var $index = _ref3.$index,
|
|
8720
11352
|
$size = _ref3.$size;
|
|
8721
11353
|
return {
|
|
8722
11354
|
style: {
|
|
8723
|
-
transform: getDotPosition($index, $size)
|
|
11355
|
+
transform: getDotPosition$2($index, $size)
|
|
8724
11356
|
}
|
|
8725
11357
|
};
|
|
8726
|
-
})(_templateObject3$
|
|
11358
|
+
})(_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) {
|
|
8727
11359
|
var $dotSize = _ref4.$dotSize;
|
|
8728
11360
|
return $dotSize;
|
|
8729
11361
|
}, function (_ref5) {
|
|
@@ -8732,7 +11364,7 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
8732
11364
|
}, function (_ref6) {
|
|
8733
11365
|
var $color = _ref6.$color;
|
|
8734
11366
|
return $color;
|
|
8735
|
-
}, spin$
|
|
11367
|
+
}, spin$5, function (_ref7) {
|
|
8736
11368
|
var $speed = _ref7.$speed;
|
|
8737
11369
|
return $speed;
|
|
8738
11370
|
}, function (_ref8) {
|
|
@@ -8740,10 +11372,10 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
8740
11372
|
$speed = _ref8.$speed;
|
|
8741
11373
|
return $index * $speed / 8;
|
|
8742
11374
|
});
|
|
8743
|
-
var SpinnerWrapper = styled__default.div(_templateObject4$
|
|
8744
|
-
var _templateObject$
|
|
8745
|
-
var spin$
|
|
8746
|
-
var Spinner$
|
|
11375
|
+
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"])));
|
|
11376
|
+
var _templateObject$E, _templateObject2$x;
|
|
11377
|
+
var spin$6 = styled.keyframes(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11378
|
+
var Spinner$3 = styled__default.div(_templateObject2$x || (_templateObject2$x = _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) {
|
|
8747
11379
|
var $size = _ref.$size;
|
|
8748
11380
|
return $size;
|
|
8749
11381
|
}, function (_ref2) {
|
|
@@ -8752,25 +11384,25 @@ var Spinner$1$1 = styled__default.div(_templateObject2$f || (_templateObject2$f
|
|
|
8752
11384
|
}, function (_ref3) {
|
|
8753
11385
|
var $color = _ref3.$color;
|
|
8754
11386
|
return $color;
|
|
8755
|
-
}, spin$
|
|
8756
|
-
var _templateObject$
|
|
8757
|
-
var PageInput = styled__default.input(_templateObject$
|
|
8758
|
-
var _templateObject$
|
|
8759
|
-
var SidebarContainer = styled__default.div(_templateObject$
|
|
11387
|
+
}, spin$6);
|
|
11388
|
+
var _templateObject$F;
|
|
11389
|
+
var PageInput$2 = styled__default.input(_templateObject$F || (_templateObject$F = _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);
|
|
11390
|
+
var _templateObject$G, _templateObject2$y, _templateObject3$r, _templateObject4$m, _templateObject5$h, _templateObject6$d;
|
|
11391
|
+
var SidebarContainer$2 = styled__default.div(_templateObject$G || (_templateObject$G = _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) {
|
|
8760
11392
|
var $isExpanded = _ref.$isExpanded;
|
|
8761
11393
|
return $isExpanded ? '225px' : '68px';
|
|
8762
11394
|
}, function (_ref2) {
|
|
8763
11395
|
var $background = _ref2.$background;
|
|
8764
11396
|
return $background ? $background : colorVariables$1.accent.softBlue;
|
|
8765
11397
|
});
|
|
8766
|
-
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$
|
|
8767
|
-
var ContentWrapper = styled__default.div(_templateObject3$
|
|
8768
|
-
var IconWrapper$
|
|
11398
|
+
var SidebarItem$2 = styled__default(reactRouterDom.NavLink)(_templateObject2$y || (_templateObject2$y = _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);
|
|
11399
|
+
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"])));
|
|
11400
|
+
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) {
|
|
8769
11401
|
var $selected = _ref3.$selected;
|
|
8770
11402
|
return $selected ? colorVariables$1["default"].primary : colorVariables$1["default"].tertiary;
|
|
8771
11403
|
});
|
|
8772
|
-
var Logo = styled__default.div(_templateObject5$
|
|
8773
|
-
var TextContainer = styled__default.span(_templateObject6$
|
|
11404
|
+
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"])));
|
|
11405
|
+
var TextContainer$2 = styled__default.span(_templateObject6$d || (_templateObject6$d = _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) {
|
|
8774
11406
|
var $padding = _ref4.$padding;
|
|
8775
11407
|
return $padding;
|
|
8776
11408
|
}, function (_ref5) {
|
|
@@ -8789,14 +11421,14 @@ var TextContainer = styled__default.span(_templateObject6$7 || (_templateObject6
|
|
|
8789
11421
|
var $isExpanded = _ref9.$isExpanded;
|
|
8790
11422
|
return $isExpanded ? 'visible' : 'hidden';
|
|
8791
11423
|
});
|
|
8792
|
-
var _templateObject$
|
|
8793
|
-
var ContainerWrapper = styled__default.div(_templateObject$
|
|
11424
|
+
var _templateObject$H, _templateObject2$z, _templateObject3$s, _templateObject4$n;
|
|
11425
|
+
var ContainerWrapper$2 = styled__default.div(_templateObject$H || (_templateObject$H = _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) {
|
|
8794
11426
|
return props.$width || 'auto';
|
|
8795
11427
|
}, function (_ref) {
|
|
8796
11428
|
var $minHeight = _ref.$minHeight;
|
|
8797
11429
|
return $minHeight;
|
|
8798
11430
|
});
|
|
8799
|
-
var CellContainer = styled__default.div(_templateObject2$
|
|
11431
|
+
var CellContainer$2 = styled__default.div(_templateObject2$z || (_templateObject2$z = _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) {
|
|
8800
11432
|
return props.$align;
|
|
8801
11433
|
}, function (props) {
|
|
8802
11434
|
return props.$width || 'auto';
|
|
@@ -8807,42 +11439,42 @@ var CellContainer = styled__default.div(_templateObject2$h || (_templateObject2$
|
|
|
8807
11439
|
}, function (props) {
|
|
8808
11440
|
return props.$padding;
|
|
8809
11441
|
});
|
|
8810
|
-
var MainText = styled__default.div(_templateObject3$
|
|
11442
|
+
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) {
|
|
8811
11443
|
return props.$mtc;
|
|
8812
11444
|
}, function (props) {
|
|
8813
11445
|
return props.$mtfs;
|
|
8814
11446
|
}, function (props) {
|
|
8815
11447
|
return props.$mtw;
|
|
8816
11448
|
});
|
|
8817
|
-
var SubText = styled__default.div(_templateObject4$
|
|
11449
|
+
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) {
|
|
8818
11450
|
return props.$stc;
|
|
8819
11451
|
}, function (props) {
|
|
8820
11452
|
return props.$stfs;
|
|
8821
11453
|
}, function (props) {
|
|
8822
11454
|
return props.$stw;
|
|
8823
11455
|
});
|
|
8824
|
-
var _templateObject$
|
|
8825
|
-
var TableRowContainer = styled.styled.div(_templateObject$
|
|
8826
|
-
var _templateObject$
|
|
8827
|
-
var TableContainer = styled__default.div(_templateObject$
|
|
8828
|
-
var TableHeader = styled__default.div(_templateObject2$
|
|
11456
|
+
var _templateObject$I;
|
|
11457
|
+
var TableRowContainer$2 = styled.styled.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
11458
|
+
var _templateObject$J, _templateObject2$A, _templateObject3$t, _templateObject4$o, _templateObject5$i;
|
|
11459
|
+
var TableContainer$2 = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1.brand.light);
|
|
11460
|
+
var TableHeader$2 = styled__default.div(_templateObject2$A || (_templateObject2$A = _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) {
|
|
8829
11461
|
return props.$hbcolor || 'transparent';
|
|
8830
11462
|
}, function (props) {
|
|
8831
11463
|
return props.$tcolor || 'white';
|
|
8832
11464
|
});
|
|
8833
|
-
var TableContent = styled__default.div(_templateObject3$
|
|
8834
|
-
var TableData = styled__default.div(_templateObject4$
|
|
8835
|
-
var Divider = styled__default.div(_templateObject5$
|
|
8836
|
-
var _templateObject$
|
|
8837
|
-
var Container$
|
|
11465
|
+
var TableContent$2 = styled__default.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11466
|
+
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"])));
|
|
11467
|
+
var Divider$2 = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1.border.extraLight);
|
|
11468
|
+
var _templateObject$K, _templateObject2$B, _templateObject3$u, _templateObject4$p, _templateObject5$j;
|
|
11469
|
+
var Container$b = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
8838
11470
|
var $border = _ref.$border;
|
|
8839
11471
|
return $border;
|
|
8840
11472
|
});
|
|
8841
|
-
var FirstContainer = styled__default.div(_templateObject2$
|
|
11473
|
+
var FirstContainer$2 = styled__default.div(_templateObject2$B || (_templateObject2$B = _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 (_ref2) {
|
|
8842
11474
|
var $headerPadding = _ref2.$headerPadding;
|
|
8843
11475
|
return $headerPadding ? $headerPadding : '0px';
|
|
8844
11476
|
});
|
|
8845
|
-
var TabContainer = styled__default.div(_templateObject3$
|
|
11477
|
+
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 (_ref3) {
|
|
8846
11478
|
var $disabled = _ref3.$disabled;
|
|
8847
11479
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8848
11480
|
}, function (_ref4) {
|
|
@@ -8855,23 +11487,19 @@ var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e
|
|
|
8855
11487
|
var $disabled = _ref6.$disabled;
|
|
8856
11488
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8857
11489
|
});
|
|
8858
|
-
var TabItemContainer = styled__default.div(_templateObject4$
|
|
11490
|
+
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 (_ref7) {
|
|
8859
11491
|
var $headerHeight = _ref7.$headerHeight;
|
|
8860
11492
|
return $headerHeight ? $headerHeight : '34px';
|
|
8861
11493
|
}, function (props) {
|
|
8862
11494
|
return props.$active ? 'block' : 'none';
|
|
8863
11495
|
}, colorVariables$1["default"].primary);
|
|
8864
|
-
var DetailsFirstContainer = styled__default.div(_templateObject5$
|
|
11496
|
+
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) {
|
|
8865
11497
|
return props.$active ? colorVariables$1["default"].primary : colorVariables$1.text.medium;
|
|
8866
11498
|
});
|
|
8867
11499
|
|
|
8868
|
-
var _templateObject$
|
|
8869
|
-
var
|
|
8870
|
-
var $
|
|
8871
|
-
return $padding;
|
|
8872
|
-
});
|
|
8873
|
-
var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
8874
|
-
var $size = _ref2.$size;
|
|
11500
|
+
var _templateObject$L, _templateObject2$C, _templateObject3$v, _templateObject4$q, _templateObject5$k;
|
|
11501
|
+
var Label$6 = styled__default.label(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n cursor: auto;\n width: 100%;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref) {
|
|
11502
|
+
var $size = _ref.$size;
|
|
8875
11503
|
switch ($size) {
|
|
8876
11504
|
case 'small':
|
|
8877
11505
|
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
@@ -8882,8 +11510,8 @@ var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k =
|
|
|
8882
11510
|
default:
|
|
8883
11511
|
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
8884
11512
|
}
|
|
8885
|
-
}, function (
|
|
8886
|
-
var $titlecolor =
|
|
11513
|
+
}, function (_ref2) {
|
|
11514
|
+
var $titlecolor = _ref2.$titlecolor;
|
|
8887
11515
|
switch ($titlecolor) {
|
|
8888
11516
|
case 'dark':
|
|
8889
11517
|
return colorVariables$1.text.dark;
|
|
@@ -8905,21 +11533,21 @@ var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k =
|
|
|
8905
11533
|
return $titlecolor;
|
|
8906
11534
|
}
|
|
8907
11535
|
});
|
|
8908
|
-
var Input$
|
|
8909
|
-
var $disabled =
|
|
11536
|
+
var Input$3 = styled__default.input(_templateObject2$C || (_templateObject2$C = _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$1.border.light, function (_ref3) {
|
|
11537
|
+
var $disabled = _ref3.$disabled;
|
|
8910
11538
|
return $disabled ? 'not-allowed' : 'auto';
|
|
8911
|
-
}, function (
|
|
8912
|
-
var $disabled =
|
|
8913
|
-
$background =
|
|
11539
|
+
}, function (_ref4) {
|
|
11540
|
+
var $disabled = _ref4.$disabled,
|
|
11541
|
+
$background = _ref4.$background;
|
|
8914
11542
|
return $disabled ? colorVariables$1.disabled.secondary : $background;
|
|
8915
|
-
}, function (
|
|
8916
|
-
var $color =
|
|
11543
|
+
}, function (_ref5) {
|
|
11544
|
+
var $color = _ref5.$color;
|
|
8917
11545
|
return $color;
|
|
8918
|
-
}, function (
|
|
8919
|
-
var $disabled =
|
|
11546
|
+
}, function (_ref6) {
|
|
11547
|
+
var $disabled = _ref6.$disabled;
|
|
8920
11548
|
return $disabled ? 'none' : 'auto';
|
|
8921
|
-
}, function (
|
|
8922
|
-
var $size =
|
|
11549
|
+
}, function (_ref7) {
|
|
11550
|
+
var $size = _ref7.$size;
|
|
8923
11551
|
switch ($size) {
|
|
8924
11552
|
case 'small':
|
|
8925
11553
|
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
@@ -8930,8 +11558,8 @@ var Input$1 = styled__default.input(_templateObject3$f || (_templateObject3$f =
|
|
|
8930
11558
|
default:
|
|
8931
11559
|
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
8932
11560
|
}
|
|
8933
|
-
}, function (
|
|
8934
|
-
var $color =
|
|
11561
|
+
}, function (_ref8) {
|
|
11562
|
+
var $color = _ref8.$color;
|
|
8935
11563
|
switch ($color) {
|
|
8936
11564
|
case 'dark':
|
|
8937
11565
|
return colorVariables$1.text.dark;
|
|
@@ -8953,39 +11581,40 @@ var Input$1 = styled__default.input(_templateObject3$f || (_templateObject3$f =
|
|
|
8953
11581
|
return $color;
|
|
8954
11582
|
}
|
|
8955
11583
|
}, colorVariables$1.text.light);
|
|
8956
|
-
var InputWrapper$
|
|
8957
|
-
var IconWrapper$
|
|
8958
|
-
var $disabled =
|
|
11584
|
+
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"])));
|
|
11585
|
+
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 (_ref9) {
|
|
11586
|
+
var $disabled = _ref9.$disabled;
|
|
8959
11587
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8960
11588
|
});
|
|
8961
|
-
var Asterisk$
|
|
8962
|
-
var TextField = function TextField(
|
|
8963
|
-
var
|
|
8964
|
-
type =
|
|
8965
|
-
title =
|
|
8966
|
-
placeholder =
|
|
8967
|
-
|
|
8968
|
-
disabled =
|
|
8969
|
-
inputValue =
|
|
8970
|
-
onChange =
|
|
8971
|
-
|
|
8972
|
-
size =
|
|
8973
|
-
|
|
8974
|
-
color =
|
|
8975
|
-
|
|
8976
|
-
padding =
|
|
8977
|
-
|
|
8978
|
-
titlecolor =
|
|
8979
|
-
icon =
|
|
8980
|
-
|
|
8981
|
-
iconsize =
|
|
8982
|
-
iconweight =
|
|
8983
|
-
iconcolor =
|
|
8984
|
-
|
|
8985
|
-
required =
|
|
8986
|
-
|
|
8987
|
-
background =
|
|
8988
|
-
onEnter =
|
|
11589
|
+
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$1["default"].error);
|
|
11590
|
+
var TextField = function TextField(_ref10) {
|
|
11591
|
+
var _ref10$type = _ref10.type,
|
|
11592
|
+
type = _ref10$type === void 0 ? 'text' : _ref10$type,
|
|
11593
|
+
title = _ref10.title,
|
|
11594
|
+
placeholder = _ref10.placeholder,
|
|
11595
|
+
_ref10$disabled = _ref10.disabled,
|
|
11596
|
+
disabled = _ref10$disabled === void 0 ? false : _ref10$disabled,
|
|
11597
|
+
inputValue = _ref10.inputValue,
|
|
11598
|
+
onChange = _ref10.onChange,
|
|
11599
|
+
_ref10$size = _ref10.size,
|
|
11600
|
+
size = _ref10$size === void 0 ? 'medium' : _ref10$size,
|
|
11601
|
+
_ref10$color = _ref10.color,
|
|
11602
|
+
color = _ref10$color === void 0 ? colorVariables$1.text.dark : _ref10$color,
|
|
11603
|
+
_ref10$padding = _ref10.padding,
|
|
11604
|
+
padding = _ref10$padding === void 0 ? '0px' : _ref10$padding,
|
|
11605
|
+
_ref10$titlecolor = _ref10.titlecolor,
|
|
11606
|
+
titlecolor = _ref10$titlecolor === void 0 ? colorVariables$1.text.dark : _ref10$titlecolor,
|
|
11607
|
+
icon = _ref10.icon,
|
|
11608
|
+
_ref10$iconsize = _ref10.iconsize,
|
|
11609
|
+
iconsize = _ref10$iconsize === void 0 ? 18 : _ref10$iconsize,
|
|
11610
|
+
iconweight = _ref10.iconweight,
|
|
11611
|
+
iconcolor = _ref10.iconcolor,
|
|
11612
|
+
_ref10$required = _ref10.required,
|
|
11613
|
+
required = _ref10$required === void 0 ? false : _ref10$required,
|
|
11614
|
+
_ref10$background = _ref10.background,
|
|
11615
|
+
background = _ref10$background === void 0 ? colorVariables$1["default"].tertiary : _ref10$background,
|
|
11616
|
+
onEnter = _ref10.onEnter,
|
|
11617
|
+
titleRightNode = _ref10.titleRightNode;
|
|
8989
11618
|
var _useState = React.useState(disabled),
|
|
8990
11619
|
isDisabled = _useState[0],
|
|
8991
11620
|
setIsDisabled = _useState[1];
|
|
@@ -9005,13 +11634,18 @@ var TextField = function TextField(_ref11) {
|
|
|
9005
11634
|
React.useEffect(function () {
|
|
9006
11635
|
setIsDisabled(disabled);
|
|
9007
11636
|
}, [disabled]);
|
|
9008
|
-
return React__default.createElement(Container$
|
|
11637
|
+
return React__default.createElement(Container$3, {
|
|
11638
|
+
"$flexDirection": 'column',
|
|
11639
|
+
"$width": '100%',
|
|
11640
|
+
"$gap": '8px',
|
|
9009
11641
|
"$padding": padding
|
|
9010
|
-
}, title && React__default.createElement(
|
|
11642
|
+
}, (title || titleRightNode) && React__default.createElement(Container$3, {
|
|
11643
|
+
"$gap": titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.gap
|
|
11644
|
+
}, title && React__default.createElement(Label$6, {
|
|
9011
11645
|
"$size": size,
|
|
9012
11646
|
htmlFor: title,
|
|
9013
11647
|
"$titlecolor": titlecolor
|
|
9014
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
11648
|
+
}, 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, {
|
|
9015
11649
|
type: inputType || 'text',
|
|
9016
11650
|
name: title,
|
|
9017
11651
|
id: title,
|
|
@@ -9028,7 +11662,7 @@ var TextField = function TextField(_ref11) {
|
|
|
9028
11662
|
if (onEnter) onEnter();
|
|
9029
11663
|
}
|
|
9030
11664
|
}
|
|
9031
|
-
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$
|
|
11665
|
+
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$7, {
|
|
9032
11666
|
"$disabled": disabled,
|
|
9033
11667
|
onClick: function onClick() {
|
|
9034
11668
|
if (!disabled) handleShowPassword();
|
|
@@ -9038,7 +11672,7 @@ var TextField = function TextField(_ref11) {
|
|
|
9038
11672
|
size: iconsize,
|
|
9039
11673
|
weight: iconweight,
|
|
9040
11674
|
color: iconcolor || colorVariables$1["default"].primary
|
|
9041
|
-
})), icon && type !== 'password' && React__default.createElement(IconWrapper$
|
|
11675
|
+
})), icon && type !== 'password' && React__default.createElement(IconWrapper$7, {
|
|
9042
11676
|
onClick: handleToggleDisabled
|
|
9043
11677
|
}, React__default.createElement(Icon$1, {
|
|
9044
11678
|
icon: icon,
|
|
@@ -9048,12 +11682,12 @@ var TextField = function TextField(_ref11) {
|
|
|
9048
11682
|
}))));
|
|
9049
11683
|
};
|
|
9050
11684
|
|
|
9051
|
-
var _templateObject$
|
|
9052
|
-
var Container$
|
|
11685
|
+
var _templateObject$M, _templateObject2$D, _templateObject3$w;
|
|
11686
|
+
var Container$c = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9053
11687
|
var $padding = _ref.$padding;
|
|
9054
11688
|
return $padding;
|
|
9055
11689
|
});
|
|
9056
|
-
var Label$
|
|
11690
|
+
var Label$7 = styled__default.label(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9057
11691
|
var $size = _ref2.$size;
|
|
9058
11692
|
switch ($size) {
|
|
9059
11693
|
case 'small':
|
|
@@ -9069,7 +11703,7 @@ var Label$3 = styled__default.label(_templateObject2$l || (_templateObject2$l =
|
|
|
9069
11703
|
var $titlecolor = _ref3.$titlecolor;
|
|
9070
11704
|
return $titlecolor || colorVariables.text.dark;
|
|
9071
11705
|
});
|
|
9072
|
-
var TextAreaComponent$
|
|
11706
|
+
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 (_ref4) {
|
|
9073
11707
|
var $disabled = _ref4.$disabled;
|
|
9074
11708
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9075
11709
|
}, function (_ref5) {
|
|
@@ -9120,13 +11754,13 @@ var TextArea = function TextArea(_ref9) {
|
|
|
9120
11754
|
React.useEffect(function () {
|
|
9121
11755
|
setIsDisabled(disabled);
|
|
9122
11756
|
}, [disabled]);
|
|
9123
|
-
return React__default.createElement(Container$
|
|
11757
|
+
return React__default.createElement(Container$c, {
|
|
9124
11758
|
"$padding": padding
|
|
9125
|
-
}, title && React__default.createElement(Label$
|
|
11759
|
+
}, title && React__default.createElement(Label$7, {
|
|
9126
11760
|
"$size": size,
|
|
9127
11761
|
htmlFor: title,
|
|
9128
11762
|
"$titlecolor": titlecolor
|
|
9129
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
11763
|
+
}, title, required && React__default.createElement(Asterisk$4, null, "*")), React__default.createElement(TextAreaComponent$3, {
|
|
9130
11764
|
name: title,
|
|
9131
11765
|
id: title,
|
|
9132
11766
|
value: inputValue,
|
|
@@ -9139,18 +11773,18 @@ var TextArea = function TextArea(_ref9) {
|
|
|
9139
11773
|
}));
|
|
9140
11774
|
};
|
|
9141
11775
|
|
|
9142
|
-
var _templateObject$
|
|
9143
|
-
var OptionContainer$
|
|
9144
|
-
var OptionItem$
|
|
11776
|
+
var _templateObject$N, _templateObject2$E, _templateObject3$x, _templateObject4$r, _templateObject5$l, _templateObject6$e, _templateObject7$6;
|
|
11777
|
+
var OptionContainer$4 = styled__default.div(_templateObject$N || (_templateObject$N = _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);
|
|
11778
|
+
var OptionItem$4 = styled__default.div(_templateObject2$E || (_templateObject2$E = _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) {
|
|
9145
11779
|
var $optionSelected = _ref.$optionSelected;
|
|
9146
11780
|
return $optionSelected ? colorVariables.text.white : colorVariables.text.medium;
|
|
9147
11781
|
}, function (_ref2) {
|
|
9148
11782
|
var $optionSelected = _ref2.$optionSelected;
|
|
9149
11783
|
return $optionSelected ? colorVariables["default"].primary : colorVariables.text.white;
|
|
9150
11784
|
}, colorVariables.hover.primary, colorVariables.text.white);
|
|
9151
|
-
var TotalOptionsHeader$
|
|
9152
|
-
var OptionLabel$
|
|
9153
|
-
var SearchContainer$
|
|
11785
|
+
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);
|
|
11786
|
+
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"])));
|
|
11787
|
+
var SearchContainer$6 = 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) {
|
|
9154
11788
|
var $background = _ref3.$background;
|
|
9155
11789
|
switch ($background) {
|
|
9156
11790
|
case 'dark':
|
|
@@ -9179,7 +11813,7 @@ var SearchContainer$4 = styled__default.div(_templateObject5$b || (_templateObje
|
|
|
9179
11813
|
var $borderRadius = _ref5.$borderRadius;
|
|
9180
11814
|
return $borderRadius || '8px';
|
|
9181
11815
|
});
|
|
9182
|
-
var SearchBar$
|
|
11816
|
+
var SearchBar$6 = styled__default.input(_templateObject6$e || (_templateObject6$e = _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) {
|
|
9183
11817
|
var $inputColor = _ref6.$inputColor;
|
|
9184
11818
|
switch ($inputColor) {
|
|
9185
11819
|
case 'dark':
|
|
@@ -9224,7 +11858,7 @@ var SearchBar$4 = styled__default.input(_templateObject6$9 || (_templateObject6$
|
|
|
9224
11858
|
return $placeholderColor;
|
|
9225
11859
|
}
|
|
9226
11860
|
});
|
|
9227
|
-
var OptionsWrapper$
|
|
11861
|
+
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);
|
|
9228
11862
|
var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
9229
11863
|
var options = _ref8.options,
|
|
9230
11864
|
selectedOption = _ref8.selectedOption,
|
|
@@ -9273,7 +11907,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9273
11907
|
"$gap": '8px',
|
|
9274
11908
|
"$width": '100%',
|
|
9275
11909
|
"$position": 'relative'
|
|
9276
|
-
}, searchBox && React__default.createElement(SearchContainer$
|
|
11910
|
+
}, searchBox && React__default.createElement(SearchContainer$6, {
|
|
9277
11911
|
"$borderBottom": searchBoxBorder,
|
|
9278
11912
|
"$background": isSearchBarEnabled ? colorVariables.text.white : colorVariables.accent.light,
|
|
9279
11913
|
"$borderRadius": searchBoxBorderRadius,
|
|
@@ -9289,7 +11923,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9289
11923
|
onClick: function onClick() {
|
|
9290
11924
|
return setIsSearchBarEnabled(true);
|
|
9291
11925
|
}
|
|
9292
|
-
}, React__default.createElement(SearchBar$
|
|
11926
|
+
}, React__default.createElement(SearchBar$6, {
|
|
9293
11927
|
type: 'text',
|
|
9294
11928
|
placeholder: placeholder,
|
|
9295
11929
|
value: internalSearchQuery,
|
|
@@ -9306,18 +11940,18 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9306
11940
|
setInternalSearchQuery('');
|
|
9307
11941
|
setSearchQuery('');
|
|
9308
11942
|
}
|
|
9309
|
-
}), isSearchBarEnabled && React__default.createElement(OptionContainer$
|
|
11943
|
+
}), isSearchBarEnabled && React__default.createElement(OptionContainer$4, null, options.length > 0 ? React__default.createElement(Container, {
|
|
9310
11944
|
"$flexDirection": 'column',
|
|
9311
11945
|
"$overflow": 'auto'
|
|
9312
|
-
}, React__default.createElement(TotalOptionsHeader$
|
|
11946
|
+
}, React__default.createElement(TotalOptionsHeader$3, null, React__default.createElement(Span, {
|
|
9313
11947
|
"$fontSize": '12px',
|
|
9314
11948
|
"$fontWeight": '400',
|
|
9315
11949
|
"$color": colorVariables.text.light
|
|
9316
|
-
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React__default.createElement(OptionsWrapper$
|
|
9317
|
-
return React__default.createElement(OptionItem$
|
|
11950
|
+
}, 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) {
|
|
11951
|
+
return React__default.createElement(OptionItem$4, {
|
|
9318
11952
|
key: option.value,
|
|
9319
11953
|
"$optionSelected": option.value === selectedOption
|
|
9320
|
-
}, React__default.createElement(OptionLabel$
|
|
11954
|
+
}, React__default.createElement(OptionLabel$4, {
|
|
9321
11955
|
htmlFor: option.value,
|
|
9322
11956
|
onClick: function onClick() {
|
|
9323
11957
|
setInternalSearchQuery(option.labelText);
|
|
@@ -9339,31 +11973,31 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9339
11973
|
}, NoOptionsText)))));
|
|
9340
11974
|
};
|
|
9341
11975
|
|
|
9342
|
-
var _templateObject$
|
|
9343
|
-
var spin$
|
|
9344
|
-
var getDotPosition$
|
|
11976
|
+
var _templateObject$O, _templateObject2$F, _templateObject3$y, _templateObject4$s;
|
|
11977
|
+
var spin$7 = styled.keyframes(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
11978
|
+
var getDotPosition$3 = function getDotPosition(index, size) {
|
|
9345
11979
|
var angle = index * 360 / 8;
|
|
9346
11980
|
var radius = size / 2.5;
|
|
9347
11981
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
9348
11982
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
9349
11983
|
return "translate(" + x + "px, " + y + "px)";
|
|
9350
11984
|
};
|
|
9351
|
-
var SpinnerContainer$
|
|
11985
|
+
var SpinnerContainer$3 = styled__default.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n position: relative;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref) {
|
|
9352
11986
|
var $size = _ref.$size;
|
|
9353
11987
|
return $size;
|
|
9354
11988
|
}, function (_ref2) {
|
|
9355
11989
|
var $size = _ref2.$size;
|
|
9356
11990
|
return $size;
|
|
9357
11991
|
});
|
|
9358
|
-
var Dot$
|
|
11992
|
+
var Dot$3 = styled__default.div.attrs(function (_ref3) {
|
|
9359
11993
|
var $index = _ref3.$index,
|
|
9360
11994
|
$size = _ref3.$size;
|
|
9361
11995
|
return {
|
|
9362
11996
|
style: {
|
|
9363
|
-
transform: getDotPosition$
|
|
11997
|
+
transform: getDotPosition$3($index, $size)
|
|
9364
11998
|
}
|
|
9365
11999
|
};
|
|
9366
|
-
})(_templateObject3$
|
|
12000
|
+
})(_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) {
|
|
9367
12001
|
var $dotSize = _ref4.$dotSize;
|
|
9368
12002
|
return $dotSize;
|
|
9369
12003
|
}, function (_ref5) {
|
|
@@ -9372,7 +12006,7 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
9372
12006
|
}, function (_ref6) {
|
|
9373
12007
|
var $color = _ref6.$color;
|
|
9374
12008
|
return $color;
|
|
9375
|
-
}, spin$
|
|
12009
|
+
}, spin$7, function (_ref7) {
|
|
9376
12010
|
var $speed = _ref7.$speed;
|
|
9377
12011
|
return $speed;
|
|
9378
12012
|
}, function (_ref8) {
|
|
@@ -9380,7 +12014,7 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
9380
12014
|
$speed = _ref8.$speed;
|
|
9381
12015
|
return $index * $speed / 8;
|
|
9382
12016
|
});
|
|
9383
|
-
var SpinnerWrapper$
|
|
12017
|
+
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"])));
|
|
9384
12018
|
var sizeMap = {
|
|
9385
12019
|
small: {
|
|
9386
12020
|
size: 32
|
|
@@ -9404,13 +12038,13 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
9404
12038
|
text = _ref9.text,
|
|
9405
12039
|
customSize = _ref9.customSize;
|
|
9406
12040
|
var spinnerSize = customSize != null ? customSize : sizeMap[size].size;
|
|
9407
|
-
return React__default.createElement(SpinnerWrapper$
|
|
12041
|
+
return React__default.createElement(SpinnerWrapper$3, null, React__default.createElement(SpinnerContainer$3, {
|
|
9408
12042
|
"$size": spinnerSize,
|
|
9409
12043
|
"aria-label": "Loading animation"
|
|
9410
12044
|
}, Array.from({
|
|
9411
12045
|
length: 8
|
|
9412
12046
|
}).map(function (_, i) {
|
|
9413
|
-
return React__default.createElement(Dot$
|
|
12047
|
+
return React__default.createElement(Dot$3, {
|
|
9414
12048
|
key: i,
|
|
9415
12049
|
"$index": i,
|
|
9416
12050
|
"$size": spinnerSize,
|
|
@@ -9421,9 +12055,9 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
9421
12055
|
})), text && React__default.createElement(React__default.Fragment, null, text));
|
|
9422
12056
|
};
|
|
9423
12057
|
|
|
9424
|
-
var _templateObject$
|
|
9425
|
-
var spin$
|
|
9426
|
-
var Spinner$
|
|
12058
|
+
var _templateObject$P, _templateObject2$G;
|
|
12059
|
+
var spin$8 = styled.keyframes(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
12060
|
+
var Spinner$4 = styled__default.div(_templateObject2$G || (_templateObject2$G = _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) {
|
|
9427
12061
|
var $size = _ref.$size;
|
|
9428
12062
|
return $size;
|
|
9429
12063
|
}, function (_ref2) {
|
|
@@ -9432,7 +12066,7 @@ var Spinner$2 = styled__default.div(_templateObject2$o || (_templateObject2$o =
|
|
|
9432
12066
|
}, function (_ref3) {
|
|
9433
12067
|
var $color = _ref3.$color;
|
|
9434
12068
|
return $color;
|
|
9435
|
-
}, spin$
|
|
12069
|
+
}, spin$8);
|
|
9436
12070
|
var Loader = function Loader(_ref4) {
|
|
9437
12071
|
var title = _ref4.title,
|
|
9438
12072
|
_ref4$size = _ref4.size,
|
|
@@ -9448,7 +12082,7 @@ var Loader = function Loader(_ref4) {
|
|
|
9448
12082
|
"$height": '100%',
|
|
9449
12083
|
"$flexDirection": 'column',
|
|
9450
12084
|
"$gap": '12px'
|
|
9451
|
-
}, React__default.createElement(Container, null, React__default.createElement(Spinner$
|
|
12085
|
+
}, React__default.createElement(Container, null, React__default.createElement(Spinner$4, {
|
|
9452
12086
|
"$size": size,
|
|
9453
12087
|
"$color": color
|
|
9454
12088
|
})), title && React__default.createElement(Container, {
|
|
@@ -9464,8 +12098,8 @@ var Loader = function Loader(_ref4) {
|
|
|
9464
12098
|
}, title))));
|
|
9465
12099
|
};
|
|
9466
12100
|
|
|
9467
|
-
var _templateObject$
|
|
9468
|
-
var PageInput$
|
|
12101
|
+
var _templateObject$Q;
|
|
12102
|
+
var PageInput$3 = styled__default.input(_templateObject$Q || (_templateObject$Q = _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);
|
|
9469
12103
|
var Pagination = function Pagination(_ref) {
|
|
9470
12104
|
var totalPages = _ref.totalPages,
|
|
9471
12105
|
currentPage = _ref.currentPage,
|
|
@@ -9523,7 +12157,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
9523
12157
|
}, React__default.createElement(Container, {
|
|
9524
12158
|
"$gap": '4px',
|
|
9525
12159
|
"$alignItems": 'center'
|
|
9526
|
-
}, React__default.createElement(PageInput$
|
|
12160
|
+
}, React__default.createElement(PageInput$3, {
|
|
9527
12161
|
type: 'number',
|
|
9528
12162
|
value: inputPage,
|
|
9529
12163
|
onChange: handleInputChange,
|
|
@@ -9649,22 +12283,22 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
9649
12283
|
})));
|
|
9650
12284
|
};
|
|
9651
12285
|
|
|
9652
|
-
var _templateObject$
|
|
9653
|
-
var SidebarContainer$
|
|
12286
|
+
var _templateObject$R, _templateObject2$H, _templateObject3$z, _templateObject4$t, _templateObject5$m, _templateObject6$f;
|
|
12287
|
+
var SidebarContainer$3 = styled__default.div(_templateObject$R || (_templateObject$R = _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) {
|
|
9654
12288
|
var $isExpanded = _ref.$isExpanded;
|
|
9655
12289
|
return $isExpanded ? '225px' : '68px';
|
|
9656
12290
|
}, function (_ref2) {
|
|
9657
12291
|
var $background = _ref2.$background;
|
|
9658
12292
|
return $background ? $background : colorVariables.accent.softBlue;
|
|
9659
12293
|
});
|
|
9660
|
-
var SidebarItem$
|
|
9661
|
-
var ContentWrapper$
|
|
9662
|
-
var IconWrapper$
|
|
12294
|
+
var SidebarItem$3 = styled__default(reactRouterDom.NavLink)(_templateObject2$H || (_templateObject2$H = _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);
|
|
12295
|
+
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"])));
|
|
12296
|
+
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) {
|
|
9663
12297
|
var $selected = _ref3.$selected;
|
|
9664
12298
|
return $selected ? colorVariables["default"].primary : colorVariables["default"].tertiary;
|
|
9665
12299
|
});
|
|
9666
|
-
var Logo$
|
|
9667
|
-
var TextContainer$
|
|
12300
|
+
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"])));
|
|
12301
|
+
var TextContainer$3 = styled__default.span(_templateObject6$f || (_templateObject6$f = _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) {
|
|
9668
12302
|
var $padding = _ref4.$padding;
|
|
9669
12303
|
return $padding;
|
|
9670
12304
|
}, function (_ref5) {
|
|
@@ -9701,7 +12335,7 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9701
12335
|
return parts.length > 0 ? "/" + parts[0] + "/" : '/';
|
|
9702
12336
|
};
|
|
9703
12337
|
var topLevelPath = getTopLevelPathWithSlash(location.pathname) || getTopLevelPath(location.pathname);
|
|
9704
|
-
return React__default.createElement(SidebarContainer$
|
|
12338
|
+
return React__default.createElement(SidebarContainer$3, {
|
|
9705
12339
|
"$background": background,
|
|
9706
12340
|
"$isExpanded": isExpanded,
|
|
9707
12341
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -9710,24 +12344,24 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9710
12344
|
onMouseLeave: function onMouseLeave() {
|
|
9711
12345
|
return setIsExpanded(false);
|
|
9712
12346
|
}
|
|
9713
|
-
}, logo && React__default.createElement(Logo$
|
|
12347
|
+
}, logo && React__default.createElement(Logo$3, null, React__default.createElement(Icon, {
|
|
9714
12348
|
icon: logo.icon
|
|
9715
|
-
}), React__default.createElement(TextContainer$
|
|
12349
|
+
}), React__default.createElement(TextContainer$3, {
|
|
9716
12350
|
"$isExpanded": isExpanded,
|
|
9717
12351
|
"$fontWeight": "700"
|
|
9718
|
-
}, logo.name)), React__default.createElement(ContentWrapper$
|
|
12352
|
+
}, logo.name)), React__default.createElement(ContentWrapper$3, null, content.map(function (item) {
|
|
9719
12353
|
var isActive = item.url.includes(topLevelPath);
|
|
9720
|
-
return React__default.createElement(SidebarItem$
|
|
12354
|
+
return React__default.createElement(SidebarItem$3, {
|
|
9721
12355
|
to: item.url,
|
|
9722
12356
|
key: item.id
|
|
9723
|
-
}, React__default.createElement(IconWrapper$
|
|
12357
|
+
}, React__default.createElement(IconWrapper$8, {
|
|
9724
12358
|
"$selected": isActive
|
|
9725
12359
|
}, React__default.createElement(Icon, {
|
|
9726
12360
|
icon: item.icon,
|
|
9727
12361
|
size: 20,
|
|
9728
12362
|
weight: item.iconWeight,
|
|
9729
12363
|
color: isActive ? colorVariables.text.white : colorVariables.text.medium
|
|
9730
|
-
})), React__default.createElement(TextContainer$
|
|
12364
|
+
})), React__default.createElement(TextContainer$3, {
|
|
9731
12365
|
"$isExpanded": isExpanded,
|
|
9732
12366
|
"$fontSize": "14px",
|
|
9733
12367
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -9736,14 +12370,14 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9736
12370
|
})), ProfileContent);
|
|
9737
12371
|
};
|
|
9738
12372
|
|
|
9739
|
-
var _templateObject$
|
|
9740
|
-
var ContainerWrapper$
|
|
12373
|
+
var _templateObject$S, _templateObject2$I, _templateObject3$A, _templateObject4$u;
|
|
12374
|
+
var ContainerWrapper$3 = styled__default.div(_templateObject$S || (_templateObject$S = _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) {
|
|
9741
12375
|
return props.$width || 'auto';
|
|
9742
12376
|
}, function (_ref) {
|
|
9743
12377
|
var $minHeight = _ref.$minHeight;
|
|
9744
12378
|
return $minHeight;
|
|
9745
12379
|
});
|
|
9746
|
-
var CellContainer$
|
|
12380
|
+
var CellContainer$3 = styled__default.div(_templateObject2$I || (_templateObject2$I = _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) {
|
|
9747
12381
|
return props.$align;
|
|
9748
12382
|
}, function (props) {
|
|
9749
12383
|
return props.$width || 'auto';
|
|
@@ -9754,14 +12388,14 @@ var CellContainer$1 = styled__default.div(_templateObject2$q || (_templateObject
|
|
|
9754
12388
|
}, function (props) {
|
|
9755
12389
|
return props.$padding;
|
|
9756
12390
|
});
|
|
9757
|
-
var MainText$
|
|
12391
|
+
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) {
|
|
9758
12392
|
return props.$mtc;
|
|
9759
12393
|
}, function (props) {
|
|
9760
12394
|
return props.$mtfs;
|
|
9761
12395
|
}, function (props) {
|
|
9762
12396
|
return props.$mtw;
|
|
9763
12397
|
});
|
|
9764
|
-
var SubText$
|
|
12398
|
+
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) {
|
|
9765
12399
|
return props.$stc;
|
|
9766
12400
|
}, function (props) {
|
|
9767
12401
|
return props.$stfs;
|
|
@@ -9790,31 +12424,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
9790
12424
|
CustomFunction = _ref2.CustomFunction,
|
|
9791
12425
|
padding = _ref2.padding,
|
|
9792
12426
|
minHeight = _ref2.minHeight;
|
|
9793
|
-
return React__default.createElement(ContainerWrapper$
|
|
12427
|
+
return React__default.createElement(ContainerWrapper$3, {
|
|
9794
12428
|
"$width": width,
|
|
9795
12429
|
"$minHeight": minHeight
|
|
9796
|
-
}, CustomFunction ? React__default.createElement(CellContainer$
|
|
12430
|
+
}, CustomFunction ? React__default.createElement(CellContainer$3, {
|
|
9797
12431
|
"$align": alignment,
|
|
9798
12432
|
"$width": width,
|
|
9799
12433
|
"$minWidth": minWidth
|
|
9800
|
-
}, CustomFunction) : React__default.createElement(CellContainer$
|
|
12434
|
+
}, CustomFunction) : React__default.createElement(CellContainer$3, {
|
|
9801
12435
|
"$align": alignment,
|
|
9802
12436
|
"$width": width,
|
|
9803
12437
|
"$minWidth": minWidth,
|
|
9804
12438
|
"$padding": padding
|
|
9805
|
-
}, React__default.createElement(MainText$
|
|
12439
|
+
}, React__default.createElement(MainText$3, {
|
|
9806
12440
|
"$mtc": maintextcolor,
|
|
9807
12441
|
"$mtfs": maintextfontsize,
|
|
9808
12442
|
"$mtw": maintextweight
|
|
9809
|
-
}, maintext), subtext && React__default.createElement(SubText$
|
|
12443
|
+
}, maintext), subtext && React__default.createElement(SubText$3, {
|
|
9810
12444
|
"$stc": subtextcolor,
|
|
9811
12445
|
"$stfs": subtextfontsize,
|
|
9812
12446
|
"$stw": subtextweight
|
|
9813
12447
|
}, subtext)));
|
|
9814
12448
|
};
|
|
9815
12449
|
|
|
9816
|
-
var _templateObject$
|
|
9817
|
-
var TableRowContainer$
|
|
12450
|
+
var _templateObject$T;
|
|
12451
|
+
var TableRowContainer$3 = styled.styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
9818
12452
|
var TableRow = function TableRow(_ref) {
|
|
9819
12453
|
var rowconfig = _ref.rowconfig,
|
|
9820
12454
|
tableheaderconfig = _ref.tableheaderconfig;
|
|
@@ -9823,7 +12457,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
9823
12457
|
};
|
|
9824
12458
|
return React__default.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
9825
12459
|
var _rowconfig$Index;
|
|
9826
|
-
return React__default.createElement(TableRowContainer$
|
|
12460
|
+
return React__default.createElement(TableRowContainer$3, {
|
|
9827
12461
|
key: Index
|
|
9828
12462
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
9829
12463
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -9857,16 +12491,16 @@ var TableRow = function TableRow(_ref) {
|
|
|
9857
12491
|
}));
|
|
9858
12492
|
};
|
|
9859
12493
|
|
|
9860
|
-
var _templateObject$
|
|
9861
|
-
var TableContainer$
|
|
9862
|
-
var TableHeader$
|
|
12494
|
+
var _templateObject$U, _templateObject2$J, _templateObject3$B, _templateObject4$v, _templateObject5$n;
|
|
12495
|
+
var TableContainer$3 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables.brand.light);
|
|
12496
|
+
var TableHeader$3 = styled__default.div(_templateObject2$J || (_templateObject2$J = _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) {
|
|
9863
12497
|
return props.$hbcolor || 'transparent';
|
|
9864
12498
|
}, function (props) {
|
|
9865
12499
|
return props.$tcolor || 'white';
|
|
9866
12500
|
});
|
|
9867
|
-
var TableContent$
|
|
9868
|
-
var TableData$
|
|
9869
|
-
var Divider$
|
|
12501
|
+
var TableContent$3 = styled__default.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
12502
|
+
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"])));
|
|
12503
|
+
var Divider$3 = styled__default.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
|
|
9870
12504
|
var Table = function Table(_ref) {
|
|
9871
12505
|
var tableObject = _ref.tableObject,
|
|
9872
12506
|
_ref$filter = _ref.filter,
|
|
@@ -9916,7 +12550,7 @@ var Table = function Table(_ref) {
|
|
|
9916
12550
|
React.useEffect(function () {
|
|
9917
12551
|
setIsAllSelected(false);
|
|
9918
12552
|
}, [rowconfig]);
|
|
9919
|
-
return React__default.createElement(TableContainer$
|
|
12553
|
+
return React__default.createElement(TableContainer$3, null, React__default.createElement(TableContent$3, null, React__default.createElement(TableHeader$3, {
|
|
9920
12554
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
9921
12555
|
"$tcolor": tableheaderconfig.textcolor
|
|
9922
12556
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
@@ -9946,7 +12580,7 @@ var Table = function Table(_ref) {
|
|
|
9946
12580
|
"$alignItems": 'center',
|
|
9947
12581
|
"$padding": '24px 24px',
|
|
9948
12582
|
"$justifyContent": 'center'
|
|
9949
|
-
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$
|
|
12583
|
+
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$3, null, Object.entries(roleGroups).map(function (_ref2) {
|
|
9950
12584
|
var role = _ref2[0],
|
|
9951
12585
|
rows = _ref2[1];
|
|
9952
12586
|
return React__default.createElement(React__default.Fragment, {
|
|
@@ -9976,28 +12610,28 @@ var Table = function Table(_ref) {
|
|
|
9976
12610
|
}, React__default.createElement(TableRow, {
|
|
9977
12611
|
rowconfig: [row],
|
|
9978
12612
|
tableheaderconfig: tableheaderconfig
|
|
9979
|
-
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$
|
|
12613
|
+
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$3, null));
|
|
9980
12614
|
}));
|
|
9981
|
-
})) : React__default.createElement(TableData$
|
|
12615
|
+
})) : React__default.createElement(TableData$3, null, filteredRows.map(function (row, index) {
|
|
9982
12616
|
return React__default.createElement(React__default.Fragment, {
|
|
9983
12617
|
key: index
|
|
9984
12618
|
}, React__default.createElement(TableRow, {
|
|
9985
12619
|
rowconfig: [row],
|
|
9986
12620
|
tableheaderconfig: tableheaderconfig
|
|
9987
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$
|
|
12621
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$3, null));
|
|
9988
12622
|
}))));
|
|
9989
12623
|
};
|
|
9990
12624
|
|
|
9991
|
-
var _templateObject$
|
|
9992
|
-
var Container$
|
|
12625
|
+
var _templateObject$V, _templateObject2$K, _templateObject3$C, _templateObject4$w, _templateObject5$o;
|
|
12626
|
+
var Container$d = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: hidden;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
|
|
9993
12627
|
var $border = _ref.$border;
|
|
9994
12628
|
return $border;
|
|
9995
12629
|
});
|
|
9996
|
-
var FirstContainer$
|
|
12630
|
+
var FirstContainer$3 = styled__default.div(_templateObject2$K || (_templateObject2$K = _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 (_ref2) {
|
|
9997
12631
|
var $headerPadding = _ref2.$headerPadding;
|
|
9998
12632
|
return $headerPadding ? $headerPadding : '0px';
|
|
9999
12633
|
});
|
|
10000
|
-
var TabContainer$
|
|
12634
|
+
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 (_ref3) {
|
|
10001
12635
|
var $disabled = _ref3.$disabled;
|
|
10002
12636
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10003
12637
|
}, function (_ref4) {
|
|
@@ -10010,13 +12644,13 @@ var TabContainer$1 = styled__default.div(_templateObject3$m || (_templateObject3
|
|
|
10010
12644
|
var $disabled = _ref6.$disabled;
|
|
10011
12645
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10012
12646
|
});
|
|
10013
|
-
var TabItemContainer$
|
|
12647
|
+
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 (_ref7) {
|
|
10014
12648
|
var $headerHeight = _ref7.$headerHeight;
|
|
10015
12649
|
return $headerHeight ? $headerHeight : '34px';
|
|
10016
12650
|
}, function (props) {
|
|
10017
12651
|
return props.$active ? 'block' : 'none';
|
|
10018
12652
|
}, colorVariables["default"].primary);
|
|
10019
|
-
var DetailsFirstContainer$
|
|
12653
|
+
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) {
|
|
10020
12654
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
10021
12655
|
});
|
|
10022
12656
|
var Tabs = function Tabs(_ref8) {
|
|
@@ -10027,19 +12661,19 @@ var Tabs = function Tabs(_ref8) {
|
|
|
10027
12661
|
headerPadding = _ref8.headerPadding,
|
|
10028
12662
|
activeTab = _ref8.activeTab,
|
|
10029
12663
|
border = _ref8.border;
|
|
10030
|
-
return React__default.createElement(Container$
|
|
12664
|
+
return React__default.createElement(Container$d, {
|
|
10031
12665
|
"$border": border
|
|
10032
|
-
}, React__default.createElement(FirstContainer$
|
|
12666
|
+
}, React__default.createElement(FirstContainer$3, {
|
|
10033
12667
|
"$headerPadding": headerPadding
|
|
10034
12668
|
}, tabItems.map(function (tab, index) {
|
|
10035
|
-
return React__default.createElement(TabContainer$
|
|
12669
|
+
return React__default.createElement(TabContainer$3, {
|
|
10036
12670
|
key: index,
|
|
10037
12671
|
onClick: function onClick() {
|
|
10038
12672
|
if (!disabled && tab.onClick) tab.onClick();
|
|
10039
12673
|
},
|
|
10040
12674
|
"$disabled": disabled,
|
|
10041
12675
|
"$headerHeight": headerHeight
|
|
10042
|
-
}, React__default.createElement(TabItemContainer$
|
|
12676
|
+
}, React__default.createElement(TabItemContainer$3, {
|
|
10043
12677
|
"$active": activeTab === tab.title,
|
|
10044
12678
|
"$headerHeight": headerHeight
|
|
10045
12679
|
}, tab.icon && React__default.createElement(Icon, {
|
|
@@ -10047,11 +12681,11 @@ var Tabs = function Tabs(_ref8) {
|
|
|
10047
12681
|
icon: tab.icon,
|
|
10048
12682
|
size: tab.iconSize,
|
|
10049
12683
|
weight: tab.iconWeight
|
|
10050
|
-
}), React__default.createElement(DetailsFirstContainer$
|
|
12684
|
+
}), React__default.createElement(DetailsFirstContainer$3, {
|
|
10051
12685
|
"$active": activeTab === tab.title
|
|
10052
12686
|
}, tab.title)));
|
|
10053
12687
|
})), tabItems.map(function (tab, index) {
|
|
10054
|
-
return activeTab === tab.title && React__default.createElement(Container$
|
|
12688
|
+
return activeTab === tab.title && React__default.createElement(Container$d, {
|
|
10055
12689
|
key: index
|
|
10056
12690
|
}, tab.content);
|
|
10057
12691
|
}));
|