labsense-ui-kit 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1587 -271
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1587 -271
- 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
|
}
|
|
@@ -8475,130 +8475,1446 @@ 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;
|
|
8599
8642
|
return $color;
|
|
8600
|
-
}, function (
|
|
8601
|
-
var $
|
|
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
|
+
var _templateObject$e$1$1, _templateObject2$b$1$1, _templateObject3$7$1$1, _templateObject4$5$1$1, _templateObject5$5$1$1, _templateObject6$5$1$1;
|
|
9403
|
+
var Container$3$1$1 = styled__default.div(_templateObject$e$1$1 || (_templateObject$e$1$1 = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9404
|
+
var $padding = _ref.$padding;
|
|
9405
|
+
return $padding;
|
|
9406
|
+
});
|
|
9407
|
+
var Label = styled__default.label(_templateObject2$b$1$1 || (_templateObject2$b$1$1 = _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) {
|
|
9408
|
+
var $size = _ref2.$size;
|
|
9409
|
+
switch ($size) {
|
|
9410
|
+
case 'small':
|
|
9411
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9412
|
+
case 'medium':
|
|
9413
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9414
|
+
case 'large':
|
|
9415
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9416
|
+
default:
|
|
9417
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9418
|
+
}
|
|
9419
|
+
}, function (_ref3) {
|
|
9420
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9421
|
+
switch ($titlecolor) {
|
|
9422
|
+
case 'dark':
|
|
9423
|
+
return colorVariables$1$1.text.dark;
|
|
9424
|
+
case 'medium':
|
|
9425
|
+
return colorVariables$1$1.text.medium;
|
|
9426
|
+
case 'light':
|
|
9427
|
+
return colorVariables$1$1.text.light;
|
|
9428
|
+
case 'white':
|
|
9429
|
+
return colorVariables$1$1.text.white;
|
|
9430
|
+
case 'warning':
|
|
9431
|
+
return colorVariables$1$1["default"].warning;
|
|
9432
|
+
case 'info':
|
|
9433
|
+
return colorVariables$1$1["default"].info;
|
|
9434
|
+
case 'success':
|
|
9435
|
+
return colorVariables$1$1["default"].success;
|
|
9436
|
+
case 'error':
|
|
9437
|
+
return colorVariables$1$1["default"].error;
|
|
9438
|
+
default:
|
|
9439
|
+
return $titlecolor;
|
|
9440
|
+
}
|
|
9441
|
+
});
|
|
9442
|
+
var Input = styled__default.input(_templateObject3$7$1$1 || (_templateObject3$7$1$1 = _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\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) {
|
|
9443
|
+
var $disabled = _ref4.$disabled;
|
|
9444
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9445
|
+
}, function (_ref5) {
|
|
9446
|
+
var $disabled = _ref5.$disabled,
|
|
9447
|
+
$background = _ref5.$background;
|
|
9448
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9449
|
+
}, function (_ref6) {
|
|
9450
|
+
var $color = _ref6.$color;
|
|
9451
|
+
return $color;
|
|
9452
|
+
}, function (_ref7) {
|
|
9453
|
+
var $size = _ref7.$size;
|
|
9454
|
+
switch ($size) {
|
|
9455
|
+
case 'small':
|
|
9456
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
9457
|
+
case 'medium':
|
|
9458
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
9459
|
+
case 'large':
|
|
9460
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
9461
|
+
default:
|
|
9462
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
9463
|
+
}
|
|
9464
|
+
}, function (_ref8) {
|
|
9465
|
+
var $color = _ref8.$color;
|
|
9466
|
+
switch ($color) {
|
|
9467
|
+
case 'dark':
|
|
9468
|
+
return colorVariables$1$1.text.dark;
|
|
9469
|
+
case 'medium':
|
|
9470
|
+
return colorVariables$1$1.text.medium;
|
|
9471
|
+
case 'light':
|
|
9472
|
+
return colorVariables$1$1.text.light;
|
|
9473
|
+
case 'white':
|
|
9474
|
+
return colorVariables$1$1.text.white;
|
|
9475
|
+
case 'warning':
|
|
9476
|
+
return colorVariables$1$1["default"].warning;
|
|
9477
|
+
case 'info':
|
|
9478
|
+
return colorVariables$1$1["default"].info;
|
|
9479
|
+
case 'success':
|
|
9480
|
+
return colorVariables$1$1["default"].success;
|
|
9481
|
+
case 'error':
|
|
9482
|
+
return colorVariables$1$1["default"].error;
|
|
9483
|
+
default:
|
|
9484
|
+
return $color;
|
|
9485
|
+
}
|
|
9486
|
+
}, colorVariables$1$1.text.light);
|
|
9487
|
+
var InputWrapper$1$1$1 = styled__default.div(_templateObject4$5$1$1 || (_templateObject4$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
9488
|
+
var IconWrapper$1$1$1 = styled__default.div(_templateObject5$5$1$1 || (_templateObject5$5$1$1 = _taggedTemplateLiteralLoose$1$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref9) {
|
|
9489
|
+
var $disabled = _ref9.$disabled;
|
|
9490
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9491
|
+
});
|
|
9492
|
+
var Asterisk$1$1$1 = styled__default.span(_templateObject6$5$1$1 || (_templateObject6$5$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);
|
|
9493
|
+
var _templateObject$f, _templateObject2$c, _templateObject3$8;
|
|
9494
|
+
var Container$4 = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9495
|
+
var $padding = _ref.$padding;
|
|
9496
|
+
return $padding;
|
|
9497
|
+
});
|
|
9498
|
+
var Label$1 = styled__default.label(_templateObject2$c || (_templateObject2$c = _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) {
|
|
9499
|
+
var $size = _ref2.$size;
|
|
9500
|
+
switch ($size) {
|
|
9501
|
+
case 'small':
|
|
9502
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
9503
|
+
case 'medium':
|
|
9504
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9505
|
+
case 'large':
|
|
9506
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
9507
|
+
default:
|
|
9508
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9509
|
+
}
|
|
9510
|
+
}, function (_ref3) {
|
|
9511
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9512
|
+
return $titlecolor || colorVariables$1$1.text.dark;
|
|
9513
|
+
});
|
|
9514
|
+
var TextAreaComponent = styled__default.textarea(_templateObject3$8 || (_templateObject3$8 = _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) {
|
|
9515
|
+
var $disabled = _ref4.$disabled;
|
|
9516
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9517
|
+
}, function (_ref5) {
|
|
9518
|
+
var $disabled = _ref5.$disabled,
|
|
9519
|
+
$background = _ref5.$background;
|
|
9520
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9521
|
+
}, function (_ref6) {
|
|
9522
|
+
var $color = _ref6.$color;
|
|
9523
|
+
return $color;
|
|
9524
|
+
}, function (_ref7) {
|
|
9525
|
+
var $size = _ref7.$size;
|
|
9526
|
+
switch ($size) {
|
|
9527
|
+
case 'small':
|
|
9528
|
+
return 'font-size: 12px; padding: 5px 10px;';
|
|
9529
|
+
case 'medium':
|
|
9530
|
+
return 'font-size: 14px; padding: 9px 12px;';
|
|
9531
|
+
case 'large':
|
|
9532
|
+
return 'font-size: 16px; padding: 9px 14px;';
|
|
9533
|
+
default:
|
|
9534
|
+
return 'font-size: 14px; padding: 7px 12px;';
|
|
9535
|
+
}
|
|
9536
|
+
}, function (_ref8) {
|
|
9537
|
+
var $color = _ref8.$color;
|
|
9538
|
+
return $color || colorVariables$1$1.text.dark;
|
|
9539
|
+
}, colorVariables$1$1.text.light);
|
|
9540
|
+
var _templateObject$g, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$6, _templateObject6$6, _templateObject7$3$1$1;
|
|
9541
|
+
var OptionContainer$1$1$1 = styled__default.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose$1$1(["\n z-index: 2;\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 4px;\n top: 40px;\n left: 0px;\n background: ", ";\n max-width: 192px;\n min-width: 192px;\n height: auto;\n max-height: 175px;\n"])), colorVariables$1$1.text.white);
|
|
9542
|
+
var OptionItem$1$1$1 = styled__default.div(_templateObject2$d || (_templateObject2$d = _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) {
|
|
9543
|
+
var $optionSelected = _ref.$optionSelected;
|
|
9544
|
+
return $optionSelected ? colorVariables$1$1.text.white : colorVariables$1$1.text.medium;
|
|
9545
|
+
}, function (_ref2) {
|
|
9546
|
+
var $optionSelected = _ref2.$optionSelected;
|
|
9547
|
+
return $optionSelected ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.white;
|
|
9548
|
+
}, colorVariables$1$1.hover.primary, colorVariables$1$1.text.white);
|
|
9549
|
+
var TotalOptionsHeader = styled__default.div(_templateObject3$9 || (_templateObject3$9 = _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);
|
|
9550
|
+
var OptionLabel$1$1$1 = styled__default.label(_templateObject4$6 || (_templateObject4$6 = _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"])));
|
|
9551
|
+
var SearchContainer$3$1$1 = styled__default.div(_templateObject5$6 || (_templateObject5$6 = _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) {
|
|
9552
|
+
var $background = _ref3.$background;
|
|
9553
|
+
switch ($background) {
|
|
9554
|
+
case 'dark':
|
|
9555
|
+
return colorVariables$1$1.text.dark;
|
|
9556
|
+
case 'medium':
|
|
9557
|
+
return colorVariables$1$1.text.medium;
|
|
9558
|
+
case 'light':
|
|
9559
|
+
return colorVariables$1$1.text.light;
|
|
9560
|
+
case 'white':
|
|
9561
|
+
return colorVariables$1$1.text.white;
|
|
9562
|
+
case 'warning':
|
|
9563
|
+
return colorVariables$1$1["default"].warning;
|
|
9564
|
+
case 'info':
|
|
9565
|
+
return colorVariables$1$1["default"].info;
|
|
9566
|
+
case 'success':
|
|
9567
|
+
return colorVariables$1$1["default"].success;
|
|
9568
|
+
case 'error':
|
|
9569
|
+
return colorVariables$1$1["default"].error;
|
|
9570
|
+
default:
|
|
9571
|
+
return $background;
|
|
9572
|
+
}
|
|
9573
|
+
}, function (_ref4) {
|
|
9574
|
+
var $borderBottom = _ref4.$borderBottom;
|
|
9575
|
+
return $borderBottom || 'none';
|
|
9576
|
+
}, function (_ref5) {
|
|
9577
|
+
var $borderRadius = _ref5.$borderRadius;
|
|
9578
|
+
return $borderRadius || '8px';
|
|
9579
|
+
});
|
|
9580
|
+
var SearchBar$3$1$1 = styled__default.input(_templateObject6$6 || (_templateObject6$6 = _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) {
|
|
9581
|
+
var $inputColor = _ref6.$inputColor;
|
|
9582
|
+
switch ($inputColor) {
|
|
9583
|
+
case 'dark':
|
|
9584
|
+
return colorVariables$1$1.text.dark;
|
|
9585
|
+
case 'medium':
|
|
9586
|
+
return colorVariables$1$1.text.medium;
|
|
9587
|
+
case 'light':
|
|
9588
|
+
return colorVariables$1$1.text.light;
|
|
9589
|
+
case 'white':
|
|
9590
|
+
return colorVariables$1$1.text.white;
|
|
9591
|
+
case 'warning':
|
|
9592
|
+
return colorVariables$1$1["default"].warning;
|
|
9593
|
+
case 'info':
|
|
9594
|
+
return colorVariables$1$1["default"].info;
|
|
9595
|
+
case 'success':
|
|
9596
|
+
return colorVariables$1$1["default"].success;
|
|
9597
|
+
case 'error':
|
|
9598
|
+
return colorVariables$1$1["default"].error;
|
|
9599
|
+
default:
|
|
9600
|
+
return $inputColor;
|
|
9601
|
+
}
|
|
9602
|
+
}, function (_ref7) {
|
|
9603
|
+
var $placeholderColor = _ref7.$placeholderColor;
|
|
9604
|
+
switch ($placeholderColor) {
|
|
9605
|
+
case 'dark':
|
|
9606
|
+
return colorVariables$1$1.text.dark;
|
|
9607
|
+
case 'medium':
|
|
9608
|
+
return colorVariables$1$1.text.medium;
|
|
9609
|
+
case 'light':
|
|
9610
|
+
return colorVariables$1$1.text.light;
|
|
9611
|
+
case 'white':
|
|
9612
|
+
return colorVariables$1$1.text.white;
|
|
9613
|
+
case 'warning':
|
|
9614
|
+
return colorVariables$1$1["default"].warning;
|
|
9615
|
+
case 'info':
|
|
9616
|
+
return colorVariables$1$1["default"].info;
|
|
9617
|
+
case 'success':
|
|
9618
|
+
return colorVariables$1$1["default"].success;
|
|
9619
|
+
case 'error':
|
|
9620
|
+
return colorVariables$1$1["default"].error;
|
|
9621
|
+
default:
|
|
9622
|
+
return $placeholderColor;
|
|
9623
|
+
}
|
|
9624
|
+
});
|
|
9625
|
+
var OptionsWrapper$1$1$1 = styled__default.div(_templateObject7$3$1$1 || (_templateObject7$3$1$1 = _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);
|
|
9626
|
+
var _templateObject$h, _templateObject2$e, _templateObject3$a, _templateObject4$7;
|
|
9627
|
+
var spin$1$1$1 = styled.keyframes(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose$1$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
9628
|
+
var getDotPosition = function getDotPosition(index, size) {
|
|
9629
|
+
var angle = index * 360 / 8;
|
|
9630
|
+
var radius = size / 2.5;
|
|
9631
|
+
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
9632
|
+
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
9633
|
+
return "translate(" + x + "px, " + y + "px)";
|
|
9634
|
+
};
|
|
9635
|
+
var SpinnerContainer = styled__default.div(_templateObject2$e || (_templateObject2$e = _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) {
|
|
9636
|
+
var $size = _ref.$size;
|
|
9637
|
+
return $size;
|
|
9638
|
+
}, function (_ref2) {
|
|
9639
|
+
var $size = _ref2.$size;
|
|
9640
|
+
return $size;
|
|
9641
|
+
});
|
|
9642
|
+
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
9643
|
+
var $index = _ref3.$index,
|
|
9644
|
+
$size = _ref3.$size;
|
|
9645
|
+
return {
|
|
9646
|
+
style: {
|
|
9647
|
+
transform: getDotPosition($index, $size)
|
|
9648
|
+
}
|
|
9649
|
+
};
|
|
9650
|
+
})(_templateObject3$a || (_templateObject3$a = _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) {
|
|
9651
|
+
var $dotSize = _ref4.$dotSize;
|
|
9652
|
+
return $dotSize;
|
|
9653
|
+
}, function (_ref5) {
|
|
9654
|
+
var $dotSize = _ref5.$dotSize;
|
|
9655
|
+
return $dotSize;
|
|
9656
|
+
}, function (_ref6) {
|
|
9657
|
+
var $color = _ref6.$color;
|
|
9658
|
+
return $color;
|
|
9659
|
+
}, spin$1$1$1, function (_ref7) {
|
|
9660
|
+
var $speed = _ref7.$speed;
|
|
9661
|
+
return $speed;
|
|
9662
|
+
}, function (_ref8) {
|
|
9663
|
+
var $index = _ref8.$index,
|
|
9664
|
+
$speed = _ref8.$speed;
|
|
9665
|
+
return $index * $speed / 8;
|
|
9666
|
+
});
|
|
9667
|
+
var SpinnerWrapper = styled__default.div(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose$1$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
9668
|
+
var _templateObject$i, _templateObject2$f;
|
|
9669
|
+
var spin$2 = styled.keyframes(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose$1$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
9670
|
+
var Spinner$1$1$1 = styled__default.div(_templateObject2$f || (_templateObject2$f = _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) {
|
|
9671
|
+
var $size = _ref.$size;
|
|
9672
|
+
return $size;
|
|
9673
|
+
}, function (_ref2) {
|
|
9674
|
+
var $size = _ref2.$size;
|
|
9675
|
+
return $size;
|
|
9676
|
+
}, function (_ref3) {
|
|
9677
|
+
var $color = _ref3.$color;
|
|
9678
|
+
return $color;
|
|
9679
|
+
}, spin$2);
|
|
9680
|
+
var _templateObject$j;
|
|
9681
|
+
var PageInput = styled__default.input(_templateObject$j || (_templateObject$j = _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);
|
|
9682
|
+
var _templateObject$k, _templateObject2$g, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$7;
|
|
9683
|
+
var SidebarContainer = styled__default.div(_templateObject$k || (_templateObject$k = _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) {
|
|
9684
|
+
var $isExpanded = _ref.$isExpanded;
|
|
9685
|
+
return $isExpanded ? '225px' : '68px';
|
|
9686
|
+
}, function (_ref2) {
|
|
9687
|
+
var $background = _ref2.$background;
|
|
9688
|
+
return $background ? $background : colorVariables$1$1.accent.softBlue;
|
|
9689
|
+
});
|
|
9690
|
+
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$g || (_templateObject2$g = _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);
|
|
9691
|
+
var ContentWrapper = styled__default.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose$1$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
9692
|
+
var IconWrapper$2 = styled__default.div(_templateObject4$8 || (_templateObject4$8 = _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) {
|
|
9693
|
+
var $selected = _ref3.$selected;
|
|
9694
|
+
return $selected ? colorVariables$1$1["default"].primary : colorVariables$1$1["default"].tertiary;
|
|
9695
|
+
});
|
|
9696
|
+
var Logo = styled__default.div(_templateObject5$7 || (_templateObject5$7 = _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"])));
|
|
9697
|
+
var TextContainer = styled__default.span(_templateObject6$7 || (_templateObject6$7 = _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) {
|
|
9698
|
+
var $padding = _ref4.$padding;
|
|
9699
|
+
return $padding;
|
|
9700
|
+
}, function (_ref5) {
|
|
9701
|
+
var $fontSize = _ref5.$fontSize;
|
|
9702
|
+
return $fontSize ? $fontSize : '20px';
|
|
9703
|
+
}, function (_ref6) {
|
|
9704
|
+
var $fontWeight = _ref6.$fontWeight;
|
|
9705
|
+
return $fontWeight ? $fontWeight : '500';
|
|
9706
|
+
}, function (_ref7) {
|
|
9707
|
+
var $color = _ref7.$color;
|
|
9708
|
+
return $color ? $color : colorVariables$1$1["default"].primary;
|
|
9709
|
+
}, function (_ref8) {
|
|
9710
|
+
var $isExpanded = _ref8.$isExpanded;
|
|
9711
|
+
return $isExpanded ? 1 : 0;
|
|
9712
|
+
}, function (_ref9) {
|
|
9713
|
+
var $isExpanded = _ref9.$isExpanded;
|
|
9714
|
+
return $isExpanded ? 'visible' : 'hidden';
|
|
9715
|
+
});
|
|
9716
|
+
var _templateObject$l, _templateObject2$h, _templateObject3$c, _templateObject4$9;
|
|
9717
|
+
var ContainerWrapper = styled__default.div(_templateObject$l || (_templateObject$l = _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) {
|
|
9718
|
+
return props.$width || 'auto';
|
|
9719
|
+
}, function (_ref) {
|
|
9720
|
+
var $minHeight = _ref.$minHeight;
|
|
9721
|
+
return $minHeight;
|
|
9722
|
+
});
|
|
9723
|
+
var CellContainer = styled__default.div(_templateObject2$h || (_templateObject2$h = _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) {
|
|
9724
|
+
return props.$align;
|
|
9725
|
+
}, function (props) {
|
|
9726
|
+
return props.$width || 'auto';
|
|
9727
|
+
}, function (props) {
|
|
9728
|
+
return props.$minWidth;
|
|
9729
|
+
}, function (props) {
|
|
9730
|
+
return props.$background || 'inherit';
|
|
9731
|
+
}, function (props) {
|
|
9732
|
+
return props.$padding;
|
|
9733
|
+
});
|
|
9734
|
+
var MainText = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9735
|
+
return props.$mtc;
|
|
9736
|
+
}, function (props) {
|
|
9737
|
+
return props.$mtfs;
|
|
9738
|
+
}, function (props) {
|
|
9739
|
+
return props.$mtw;
|
|
9740
|
+
});
|
|
9741
|
+
var SubText = styled__default.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose$1$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9742
|
+
return props.$stc;
|
|
9743
|
+
}, function (props) {
|
|
9744
|
+
return props.$stfs;
|
|
9745
|
+
}, function (props) {
|
|
9746
|
+
return props.$stw;
|
|
9747
|
+
});
|
|
9748
|
+
var _templateObject$m;
|
|
9749
|
+
var TableRowContainer = styled.styled.div(_templateObject$m || (_templateObject$m = _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"])));
|
|
9750
|
+
var _templateObject$n, _templateObject2$i, _templateObject3$d, _templateObject4$a, _templateObject5$8;
|
|
9751
|
+
var TableContainer = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose$1$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1$1.brand.light);
|
|
9752
|
+
var TableHeader = styled__default.div(_templateObject2$i || (_templateObject2$i = _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) {
|
|
9753
|
+
return props.$hbcolor || 'transparent';
|
|
9754
|
+
}, function (props) {
|
|
9755
|
+
return props.$tcolor || 'white';
|
|
9756
|
+
});
|
|
9757
|
+
var TableContent = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose$1$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
9758
|
+
var TableData = styled__default.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose$1$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
9759
|
+
var Divider = styled__default.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose$1$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1$1.border.extraLight);
|
|
9760
|
+
var _templateObject$o, _templateObject2$j, _templateObject3$e, _templateObject4$b, _templateObject5$9;
|
|
9761
|
+
var Container$5 = styled__default.div(_templateObject$o || (_templateObject$o = _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) {
|
|
9762
|
+
var $border = _ref.$border;
|
|
9763
|
+
return $border;
|
|
9764
|
+
});
|
|
9765
|
+
var FirstContainer = styled__default.div(_templateObject2$j || (_templateObject2$j = _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) {
|
|
9766
|
+
var $headerPadding = _ref2.$headerPadding;
|
|
9767
|
+
return $headerPadding ? $headerPadding : '0px';
|
|
9768
|
+
});
|
|
9769
|
+
var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e = _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) {
|
|
9770
|
+
var $disabled = _ref3.$disabled;
|
|
9771
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9772
|
+
}, function (_ref4) {
|
|
9773
|
+
var $disabled = _ref4.$disabled;
|
|
9774
|
+
return $disabled ? '0.6' : '1';
|
|
9775
|
+
}, colorVariables$1$1.text.medium, function (_ref5) {
|
|
9776
|
+
var $headerHeight = _ref5.$headerHeight;
|
|
9777
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
9778
|
+
}, function (_ref6) {
|
|
9779
|
+
var $disabled = _ref6.$disabled;
|
|
9780
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9781
|
+
});
|
|
9782
|
+
var TabItemContainer = styled__default.div(_templateObject4$b || (_templateObject4$b = _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) {
|
|
9783
|
+
var $headerHeight = _ref7.$headerHeight;
|
|
9784
|
+
return $headerHeight ? $headerHeight : '34px';
|
|
9785
|
+
}, function (props) {
|
|
9786
|
+
return props.$active ? 'block' : 'none';
|
|
9787
|
+
}, colorVariables$1$1["default"].primary);
|
|
9788
|
+
var DetailsFirstContainer = styled__default.div(_templateObject5$9 || (_templateObject5$9 = _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) {
|
|
9789
|
+
return props.$active ? colorVariables$1$1["default"].primary : colorVariables$1$1.text.medium;
|
|
9790
|
+
});
|
|
9791
|
+
var _templateObject$p, _templateObject2$k, _templateObject3$f, _templateObject4$c, _templateObject5$a, _templateObject6$8;
|
|
9792
|
+
var Container$6 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9793
|
+
var $padding = _ref.$padding;
|
|
9794
|
+
return $padding;
|
|
9795
|
+
});
|
|
9796
|
+
var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k = _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) {
|
|
9797
|
+
var $size = _ref2.$size;
|
|
9798
|
+
switch ($size) {
|
|
9799
|
+
case 'small':
|
|
9800
|
+
return "\n font-size: 12px;\n line-height: 12px;\n ";
|
|
9801
|
+
case 'medium':
|
|
9802
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9803
|
+
case 'large':
|
|
9804
|
+
return "\n font-size: 16px;\n line-height: 16px;\n ";
|
|
9805
|
+
default:
|
|
9806
|
+
return "\n font-size: 14px;\n line-height: 14px;\n ";
|
|
9807
|
+
}
|
|
9808
|
+
}, function (_ref3) {
|
|
9809
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9810
|
+
switch ($titlecolor) {
|
|
9811
|
+
case 'dark':
|
|
9812
|
+
return colorVariables$1$1.text.dark;
|
|
9813
|
+
case 'medium':
|
|
9814
|
+
return colorVariables$1$1.text.medium;
|
|
9815
|
+
case 'light':
|
|
9816
|
+
return colorVariables$1$1.text.light;
|
|
9817
|
+
case 'white':
|
|
9818
|
+
return colorVariables$1$1.text.white;
|
|
9819
|
+
case 'warning':
|
|
9820
|
+
return colorVariables$1$1["default"].warning;
|
|
9821
|
+
case 'info':
|
|
9822
|
+
return colorVariables$1$1["default"].info;
|
|
9823
|
+
case 'success':
|
|
9824
|
+
return colorVariables$1$1["default"].success;
|
|
9825
|
+
case 'error':
|
|
9826
|
+
return colorVariables$1$1["default"].error;
|
|
9827
|
+
default:
|
|
9828
|
+
return $titlecolor;
|
|
9829
|
+
}
|
|
9830
|
+
});
|
|
9831
|
+
var Input$1 = styled__default.input(_templateObject3$f || (_templateObject3$f = _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) {
|
|
9832
|
+
var $disabled = _ref4.$disabled;
|
|
9833
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9834
|
+
}, function (_ref5) {
|
|
9835
|
+
var $disabled = _ref5.$disabled,
|
|
9836
|
+
$background = _ref5.$background;
|
|
9837
|
+
return $disabled ? colorVariables$1$1.disabled.secondary : $background;
|
|
9838
|
+
}, function (_ref6) {
|
|
9839
|
+
var $color = _ref6.$color;
|
|
9840
|
+
return $color;
|
|
9841
|
+
}, function (_ref7) {
|
|
9842
|
+
var $disabled = _ref7.$disabled;
|
|
9843
|
+
return $disabled ? 'none' : 'auto';
|
|
9844
|
+
}, function (_ref8) {
|
|
9845
|
+
var $size = _ref8.$size;
|
|
9846
|
+
switch ($size) {
|
|
9847
|
+
case 'small':
|
|
9848
|
+
return "\n font-size: 12px;\n padding: 5px 10px;\n ";
|
|
9849
|
+
case 'medium':
|
|
9850
|
+
return "\n font-size: 14px;\n padding: 9.5px 12px;\n ";
|
|
9851
|
+
case 'large':
|
|
9852
|
+
return "\n font-size: 16px;\n padding: 9px 14px;\n ";
|
|
9853
|
+
default:
|
|
9854
|
+
return "\n font-size: 14px;\n padding: 7px 12px;\n ";
|
|
9855
|
+
}
|
|
9856
|
+
}, function (_ref9) {
|
|
9857
|
+
var $color = _ref9.$color;
|
|
9858
|
+
switch ($color) {
|
|
9859
|
+
case 'dark':
|
|
9860
|
+
return colorVariables$1$1.text.dark;
|
|
9861
|
+
case 'medium':
|
|
9862
|
+
return colorVariables$1$1.text.medium;
|
|
9863
|
+
case 'light':
|
|
9864
|
+
return colorVariables$1$1.text.light;
|
|
9865
|
+
case 'white':
|
|
9866
|
+
return colorVariables$1$1.text.white;
|
|
9867
|
+
case 'warning':
|
|
9868
|
+
return colorVariables$1$1["default"].warning;
|
|
9869
|
+
case 'info':
|
|
9870
|
+
return colorVariables$1$1["default"].info;
|
|
9871
|
+
case 'success':
|
|
9872
|
+
return colorVariables$1$1["default"].success;
|
|
9873
|
+
case 'error':
|
|
9874
|
+
return colorVariables$1$1["default"].error;
|
|
9875
|
+
default:
|
|
9876
|
+
return $color;
|
|
9877
|
+
}
|
|
9878
|
+
}, colorVariables$1$1.text.light);
|
|
9879
|
+
var InputWrapper$2 = styled__default.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose$1(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
9880
|
+
var IconWrapper$3 = styled__default.div(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose$1(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
9881
|
+
var $disabled = _ref10.$disabled;
|
|
9882
|
+
return $disabled ? 'not-allowed' : 'pointer';
|
|
9883
|
+
});
|
|
9884
|
+
var Asterisk$2 = styled__default.span(_templateObject6$8 || (_templateObject6$8 = _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);
|
|
9885
|
+
var _templateObject$q, _templateObject2$l, _templateObject3$g;
|
|
9886
|
+
var Container$7 = styled__default.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9887
|
+
var $padding = _ref.$padding;
|
|
9888
|
+
return $padding;
|
|
9889
|
+
});
|
|
9890
|
+
var Label$3 = styled__default.label(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose$1(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9891
|
+
var $size = _ref2.$size;
|
|
9892
|
+
switch ($size) {
|
|
9893
|
+
case 'small':
|
|
9894
|
+
return 'font-size: 12px; line-height: 12px;';
|
|
9895
|
+
case 'medium':
|
|
9896
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9897
|
+
case 'large':
|
|
9898
|
+
return 'font-size: 16px; line-height: 16px;';
|
|
9899
|
+
default:
|
|
9900
|
+
return 'font-size: 14px; line-height: 14px;';
|
|
9901
|
+
}
|
|
9902
|
+
}, function (_ref3) {
|
|
9903
|
+
var $titlecolor = _ref3.$titlecolor;
|
|
9904
|
+
return $titlecolor || colorVariables$1.text.dark;
|
|
9905
|
+
});
|
|
9906
|
+
var TextAreaComponent$1 = styled__default.textarea(_templateObject3$g || (_templateObject3$g = _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) {
|
|
9907
|
+
var $disabled = _ref4.$disabled;
|
|
9908
|
+
return $disabled ? 'not-allowed' : 'auto';
|
|
9909
|
+
}, function (_ref5) {
|
|
9910
|
+
var $disabled = _ref5.$disabled,
|
|
9911
|
+
$background = _ref5.$background;
|
|
9912
|
+
return $disabled ? colorVariables$1.disabled.secondary : $background;
|
|
9913
|
+
}, function (_ref6) {
|
|
9914
|
+
var $color = _ref6.$color;
|
|
9915
|
+
return $color;
|
|
9916
|
+
}, function (_ref7) {
|
|
9917
|
+
var $size = _ref7.$size;
|
|
8602
9918
|
switch ($size) {
|
|
8603
9919
|
case 'small':
|
|
8604
9920
|
return 'font-size: 12px; padding: 5px 10px;';
|
|
@@ -8613,18 +9929,18 @@ var TextAreaComponent = styled__default.textarea(_templateObject3$8 || (_templat
|
|
|
8613
9929
|
var $color = _ref8.$color;
|
|
8614
9930
|
return $color || colorVariables$1.text.dark;
|
|
8615
9931
|
}, colorVariables$1.text.light);
|
|
8616
|
-
var _templateObject$
|
|
8617
|
-
var OptionContainer$
|
|
8618
|
-
var OptionItem$
|
|
9932
|
+
var _templateObject$r, _templateObject2$m, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$9, _templateObject7$4;
|
|
9933
|
+
var OptionContainer$2 = styled__default.div(_templateObject$r || (_templateObject$r = _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);
|
|
9934
|
+
var OptionItem$2 = styled__default.div(_templateObject2$m || (_templateObject2$m = _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
9935
|
var $optionSelected = _ref.$optionSelected;
|
|
8620
9936
|
return $optionSelected ? colorVariables$1.text.white : colorVariables$1.text.medium;
|
|
8621
9937
|
}, function (_ref2) {
|
|
8622
9938
|
var $optionSelected = _ref2.$optionSelected;
|
|
8623
9939
|
return $optionSelected ? colorVariables$1["default"].primary : colorVariables$1.text.white;
|
|
8624
9940
|
}, colorVariables$1.hover.primary, colorVariables$1.text.white);
|
|
8625
|
-
var TotalOptionsHeader = styled__default.div(_templateObject3$
|
|
8626
|
-
var OptionLabel$
|
|
8627
|
-
var SearchContainer$
|
|
9941
|
+
var TotalOptionsHeader$1 = styled__default.div(_templateObject3$h || (_templateObject3$h = _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);
|
|
9942
|
+
var OptionLabel$2 = styled__default.label(_templateObject4$d || (_templateObject4$d = _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"])));
|
|
9943
|
+
var SearchContainer$4 = styled__default.div(_templateObject5$b || (_templateObject5$b = _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
9944
|
var $background = _ref3.$background;
|
|
8629
9945
|
switch ($background) {
|
|
8630
9946
|
case 'dark':
|
|
@@ -8653,7 +9969,7 @@ var SearchContainer$3$1 = styled__default.div(_templateObject5$6 || (_templateOb
|
|
|
8653
9969
|
var $borderRadius = _ref5.$borderRadius;
|
|
8654
9970
|
return $borderRadius || '8px';
|
|
8655
9971
|
});
|
|
8656
|
-
var SearchBar$
|
|
9972
|
+
var SearchBar$4 = styled__default.input(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose$1(["\n border: none;\n outline: none;\n width: 100%;\n font-family: NotoSans, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 100%;\n background: ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n font-size: 14px;\n }\n"])), colorVariables$1["default"].tertiary, function (_ref6) {
|
|
8657
9973
|
var $inputColor = _ref6.$inputColor;
|
|
8658
9974
|
switch ($inputColor) {
|
|
8659
9975
|
case 'dark':
|
|
@@ -8698,32 +10014,32 @@ var SearchBar$3$1 = styled__default.input(_templateObject6$6 || (_templateObject
|
|
|
8698
10014
|
return $placeholderColor;
|
|
8699
10015
|
}
|
|
8700
10016
|
});
|
|
8701
|
-
var OptionsWrapper$
|
|
8702
|
-
var _templateObject$
|
|
8703
|
-
var spin$
|
|
8704
|
-
var getDotPosition = function getDotPosition(index, size) {
|
|
10017
|
+
var OptionsWrapper$2 = styled__default.div(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteralLoose$1(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables$1.text.white);
|
|
10018
|
+
var _templateObject$s, _templateObject2$n, _templateObject3$i, _templateObject4$e;
|
|
10019
|
+
var spin$3 = styled.keyframes(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose$1(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10020
|
+
var getDotPosition$1 = function getDotPosition(index, size) {
|
|
8705
10021
|
var angle = index * 360 / 8;
|
|
8706
10022
|
var radius = size / 2.5;
|
|
8707
10023
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
8708
10024
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
8709
10025
|
return "translate(" + x + "px, " + y + "px)";
|
|
8710
10026
|
};
|
|
8711
|
-
var SpinnerContainer = styled__default.div(_templateObject2$
|
|
10027
|
+
var SpinnerContainer$1 = styled__default.div(_templateObject2$n || (_templateObject2$n = _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
10028
|
var $size = _ref.$size;
|
|
8713
10029
|
return $size;
|
|
8714
10030
|
}, function (_ref2) {
|
|
8715
10031
|
var $size = _ref2.$size;
|
|
8716
10032
|
return $size;
|
|
8717
10033
|
});
|
|
8718
|
-
var Dot = styled__default.div.attrs(function (_ref3) {
|
|
10034
|
+
var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
8719
10035
|
var $index = _ref3.$index,
|
|
8720
10036
|
$size = _ref3.$size;
|
|
8721
10037
|
return {
|
|
8722
10038
|
style: {
|
|
8723
|
-
transform: getDotPosition($index, $size)
|
|
10039
|
+
transform: getDotPosition$1($index, $size)
|
|
8724
10040
|
}
|
|
8725
10041
|
};
|
|
8726
|
-
})(_templateObject3$
|
|
10042
|
+
})(_templateObject3$i || (_templateObject3$i = _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
10043
|
var $dotSize = _ref4.$dotSize;
|
|
8728
10044
|
return $dotSize;
|
|
8729
10045
|
}, function (_ref5) {
|
|
@@ -8732,7 +10048,7 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
8732
10048
|
}, function (_ref6) {
|
|
8733
10049
|
var $color = _ref6.$color;
|
|
8734
10050
|
return $color;
|
|
8735
|
-
}, spin$
|
|
10051
|
+
}, spin$3, function (_ref7) {
|
|
8736
10052
|
var $speed = _ref7.$speed;
|
|
8737
10053
|
return $speed;
|
|
8738
10054
|
}, function (_ref8) {
|
|
@@ -8740,10 +10056,10 @@ var Dot = styled__default.div.attrs(function (_ref3) {
|
|
|
8740
10056
|
$speed = _ref8.$speed;
|
|
8741
10057
|
return $index * $speed / 8;
|
|
8742
10058
|
});
|
|
8743
|
-
var SpinnerWrapper = styled__default.div(_templateObject4$
|
|
8744
|
-
var _templateObject$
|
|
8745
|
-
var spin$
|
|
8746
|
-
var Spinner$
|
|
10059
|
+
var SpinnerWrapper$1 = styled__default.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose$1(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
10060
|
+
var _templateObject$t, _templateObject2$o;
|
|
10061
|
+
var spin$4 = styled.keyframes(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose$1(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10062
|
+
var Spinner$2 = styled__default.div(_templateObject2$o || (_templateObject2$o = _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
10063
|
var $size = _ref.$size;
|
|
8748
10064
|
return $size;
|
|
8749
10065
|
}, function (_ref2) {
|
|
@@ -8752,25 +10068,25 @@ var Spinner$1$1 = styled__default.div(_templateObject2$f || (_templateObject2$f
|
|
|
8752
10068
|
}, function (_ref3) {
|
|
8753
10069
|
var $color = _ref3.$color;
|
|
8754
10070
|
return $color;
|
|
8755
|
-
}, spin$
|
|
8756
|
-
var _templateObject$
|
|
8757
|
-
var PageInput = styled__default.input(_templateObject$
|
|
8758
|
-
var _templateObject$
|
|
8759
|
-
var SidebarContainer = styled__default.div(_templateObject$
|
|
10071
|
+
}, spin$4);
|
|
10072
|
+
var _templateObject$u;
|
|
10073
|
+
var PageInput$1 = styled__default.input(_templateObject$u || (_templateObject$u = _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);
|
|
10074
|
+
var _templateObject$v, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$c, _templateObject6$a;
|
|
10075
|
+
var SidebarContainer$1 = styled__default.div(_templateObject$v || (_templateObject$v = _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
10076
|
var $isExpanded = _ref.$isExpanded;
|
|
8761
10077
|
return $isExpanded ? '225px' : '68px';
|
|
8762
10078
|
}, function (_ref2) {
|
|
8763
10079
|
var $background = _ref2.$background;
|
|
8764
10080
|
return $background ? $background : colorVariables$1.accent.softBlue;
|
|
8765
10081
|
});
|
|
8766
|
-
var SidebarItem = styled__default(reactRouterDom.NavLink)(_templateObject2$
|
|
8767
|
-
var ContentWrapper = styled__default.div(_templateObject3$
|
|
8768
|
-
var IconWrapper$
|
|
10082
|
+
var SidebarItem$1 = styled__default(reactRouterDom.NavLink)(_templateObject2$p || (_templateObject2$p = _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);
|
|
10083
|
+
var ContentWrapper$1 = styled__default.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
10084
|
+
var IconWrapper$4 = styled__default.div(_templateObject4$f || (_templateObject4$f = _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
10085
|
var $selected = _ref3.$selected;
|
|
8770
10086
|
return $selected ? colorVariables$1["default"].primary : colorVariables$1["default"].tertiary;
|
|
8771
10087
|
});
|
|
8772
|
-
var Logo = styled__default.div(_templateObject5$
|
|
8773
|
-
var TextContainer = styled__default.span(_templateObject6$
|
|
10088
|
+
var Logo$1 = styled__default.div(_templateObject5$c || (_templateObject5$c = _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"])));
|
|
10089
|
+
var TextContainer$1 = styled__default.span(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
|
|
8774
10090
|
var $padding = _ref4.$padding;
|
|
8775
10091
|
return $padding;
|
|
8776
10092
|
}, function (_ref5) {
|
|
@@ -8789,14 +10105,14 @@ var TextContainer = styled__default.span(_templateObject6$7 || (_templateObject6
|
|
|
8789
10105
|
var $isExpanded = _ref9.$isExpanded;
|
|
8790
10106
|
return $isExpanded ? 'visible' : 'hidden';
|
|
8791
10107
|
});
|
|
8792
|
-
var _templateObject$
|
|
8793
|
-
var ContainerWrapper = styled__default.div(_templateObject$
|
|
10108
|
+
var _templateObject$w, _templateObject2$q, _templateObject3$k, _templateObject4$g;
|
|
10109
|
+
var ContainerWrapper$1 = styled__default.div(_templateObject$w || (_templateObject$w = _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
10110
|
return props.$width || 'auto';
|
|
8795
10111
|
}, function (_ref) {
|
|
8796
10112
|
var $minHeight = _ref.$minHeight;
|
|
8797
10113
|
return $minHeight;
|
|
8798
10114
|
});
|
|
8799
|
-
var CellContainer = styled__default.div(_templateObject2$
|
|
10115
|
+
var CellContainer$1 = styled__default.div(_templateObject2$q || (_templateObject2$q = _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
10116
|
return props.$align;
|
|
8801
10117
|
}, function (props) {
|
|
8802
10118
|
return props.$width || 'auto';
|
|
@@ -8807,42 +10123,42 @@ var CellContainer = styled__default.div(_templateObject2$h || (_templateObject2$
|
|
|
8807
10123
|
}, function (props) {
|
|
8808
10124
|
return props.$padding;
|
|
8809
10125
|
});
|
|
8810
|
-
var MainText = styled__default.div(_templateObject3$
|
|
10126
|
+
var MainText$1 = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8811
10127
|
return props.$mtc;
|
|
8812
10128
|
}, function (props) {
|
|
8813
10129
|
return props.$mtfs;
|
|
8814
10130
|
}, function (props) {
|
|
8815
10131
|
return props.$mtw;
|
|
8816
10132
|
});
|
|
8817
|
-
var SubText = styled__default.div(_templateObject4$
|
|
10133
|
+
var SubText$1 = styled__default.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose$1(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
8818
10134
|
return props.$stc;
|
|
8819
10135
|
}, function (props) {
|
|
8820
10136
|
return props.$stfs;
|
|
8821
10137
|
}, function (props) {
|
|
8822
10138
|
return props.$stw;
|
|
8823
10139
|
});
|
|
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$
|
|
10140
|
+
var _templateObject$x;
|
|
10141
|
+
var TableRowContainer$1 = styled.styled.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose$1(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
10142
|
+
var _templateObject$y, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d;
|
|
10143
|
+
var TableContainer$1 = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose$1(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables$1.brand.light);
|
|
10144
|
+
var TableHeader$1 = styled__default.div(_templateObject2$r || (_templateObject2$r = _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
10145
|
return props.$hbcolor || 'transparent';
|
|
8830
10146
|
}, function (props) {
|
|
8831
10147
|
return props.$tcolor || 'white';
|
|
8832
10148
|
});
|
|
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$
|
|
10149
|
+
var TableContent$1 = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose$1(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
10150
|
+
var TableData$1 = styled__default.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose$1(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
10151
|
+
var Divider$1 = styled__default.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose$1(["\n height: 2px;\n background: ", ";\n"])), colorVariables$1.border.extraLight);
|
|
10152
|
+
var _templateObject$z, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$e;
|
|
10153
|
+
var Container$8 = styled__default.div(_templateObject$z || (_templateObject$z = _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
10154
|
var $border = _ref.$border;
|
|
8839
10155
|
return $border;
|
|
8840
10156
|
});
|
|
8841
|
-
var FirstContainer = styled__default.div(_templateObject2$
|
|
10157
|
+
var FirstContainer$1 = styled__default.div(_templateObject2$s || (_templateObject2$s = _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
10158
|
var $headerPadding = _ref2.$headerPadding;
|
|
8843
10159
|
return $headerPadding ? $headerPadding : '0px';
|
|
8844
10160
|
});
|
|
8845
|
-
var TabContainer = styled__default.div(_templateObject3$
|
|
10161
|
+
var TabContainer$1 = styled__default.div(_templateObject3$m || (_templateObject3$m = _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
10162
|
var $disabled = _ref3.$disabled;
|
|
8847
10163
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8848
10164
|
}, function (_ref4) {
|
|
@@ -8855,22 +10171,22 @@ var TabContainer = styled__default.div(_templateObject3$e || (_templateObject3$e
|
|
|
8855
10171
|
var $disabled = _ref6.$disabled;
|
|
8856
10172
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8857
10173
|
});
|
|
8858
|
-
var TabItemContainer = styled__default.div(_templateObject4$
|
|
10174
|
+
var TabItemContainer$1 = styled__default.div(_templateObject4$i || (_templateObject4$i = _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
10175
|
var $headerHeight = _ref7.$headerHeight;
|
|
8860
10176
|
return $headerHeight ? $headerHeight : '34px';
|
|
8861
10177
|
}, function (props) {
|
|
8862
10178
|
return props.$active ? 'block' : 'none';
|
|
8863
10179
|
}, colorVariables$1["default"].primary);
|
|
8864
|
-
var DetailsFirstContainer = styled__default.div(_templateObject5$
|
|
10180
|
+
var DetailsFirstContainer$1 = styled__default.div(_templateObject5$e || (_templateObject5$e = _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
10181
|
return props.$active ? colorVariables$1["default"].primary : colorVariables$1.text.medium;
|
|
8866
10182
|
});
|
|
8867
10183
|
|
|
8868
|
-
var _templateObject$
|
|
8869
|
-
var Container$
|
|
10184
|
+
var _templateObject$A, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$f, _templateObject6$b;
|
|
10185
|
+
var Container$9 = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
8870
10186
|
var $padding = _ref.$padding;
|
|
8871
10187
|
return $padding;
|
|
8872
10188
|
});
|
|
8873
|
-
var Label$
|
|
10189
|
+
var Label$4 = styled__default.label(_templateObject2$t || (_templateObject2$t = _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
10190
|
var $size = _ref2.$size;
|
|
8875
10191
|
switch ($size) {
|
|
8876
10192
|
case 'small':
|
|
@@ -8905,7 +10221,7 @@ var Label$2 = styled__default.label(_templateObject2$k || (_templateObject2$k =
|
|
|
8905
10221
|
return $titlecolor;
|
|
8906
10222
|
}
|
|
8907
10223
|
});
|
|
8908
|
-
var Input$
|
|
10224
|
+
var Input$2 = styled__default.input(_templateObject3$n || (_templateObject3$n = _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 (_ref4) {
|
|
8909
10225
|
var $disabled = _ref4.$disabled;
|
|
8910
10226
|
return $disabled ? 'not-allowed' : 'auto';
|
|
8911
10227
|
}, function (_ref5) {
|
|
@@ -8953,12 +10269,12 @@ var Input$1 = styled__default.input(_templateObject3$f || (_templateObject3$f =
|
|
|
8953
10269
|
return $color;
|
|
8954
10270
|
}
|
|
8955
10271
|
}, colorVariables$1.text.light);
|
|
8956
|
-
var InputWrapper$
|
|
8957
|
-
var IconWrapper$
|
|
10272
|
+
var InputWrapper$3 = styled__default.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n"])));
|
|
10273
|
+
var IconWrapper$5 = styled__default.div(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 12px;\n cursor: pointer;\n\n > div {\n cursor: ", ";\n }\n"])), function (_ref10) {
|
|
8958
10274
|
var $disabled = _ref10.$disabled;
|
|
8959
10275
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
8960
10276
|
});
|
|
8961
|
-
var Asterisk$
|
|
10277
|
+
var Asterisk$3 = styled__default.span(_templateObject6$b || (_templateObject6$b = _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);
|
|
8962
10278
|
var TextField = function TextField(_ref11) {
|
|
8963
10279
|
var _ref11$type = _ref11.type,
|
|
8964
10280
|
type = _ref11$type === void 0 ? 'text' : _ref11$type,
|
|
@@ -9005,13 +10321,13 @@ var TextField = function TextField(_ref11) {
|
|
|
9005
10321
|
React.useEffect(function () {
|
|
9006
10322
|
setIsDisabled(disabled);
|
|
9007
10323
|
}, [disabled]);
|
|
9008
|
-
return React__default.createElement(Container$
|
|
10324
|
+
return React__default.createElement(Container$9, {
|
|
9009
10325
|
"$padding": padding
|
|
9010
|
-
}, title && React__default.createElement(Label$
|
|
10326
|
+
}, title && React__default.createElement(Label$4, {
|
|
9011
10327
|
"$size": size,
|
|
9012
10328
|
htmlFor: title,
|
|
9013
10329
|
"$titlecolor": titlecolor
|
|
9014
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
10330
|
+
}, title, required && React__default.createElement(Asterisk$3, null, "*")), React__default.createElement(InputWrapper$3, null, React__default.createElement(Input$2, {
|
|
9015
10331
|
type: inputType || 'text',
|
|
9016
10332
|
name: title,
|
|
9017
10333
|
id: title,
|
|
@@ -9028,7 +10344,7 @@ var TextField = function TextField(_ref11) {
|
|
|
9028
10344
|
if (onEnter) onEnter();
|
|
9029
10345
|
}
|
|
9030
10346
|
}
|
|
9031
|
-
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$
|
|
10347
|
+
}), type === 'password' && inputValue && React__default.createElement(IconWrapper$5, {
|
|
9032
10348
|
"$disabled": disabled,
|
|
9033
10349
|
onClick: function onClick() {
|
|
9034
10350
|
if (!disabled) handleShowPassword();
|
|
@@ -9038,7 +10354,7 @@ var TextField = function TextField(_ref11) {
|
|
|
9038
10354
|
size: iconsize,
|
|
9039
10355
|
weight: iconweight,
|
|
9040
10356
|
color: iconcolor || colorVariables$1["default"].primary
|
|
9041
|
-
})), icon && type !== 'password' && React__default.createElement(IconWrapper$
|
|
10357
|
+
})), icon && type !== 'password' && React__default.createElement(IconWrapper$5, {
|
|
9042
10358
|
onClick: handleToggleDisabled
|
|
9043
10359
|
}, React__default.createElement(Icon$1, {
|
|
9044
10360
|
icon: icon,
|
|
@@ -9048,12 +10364,12 @@ var TextField = function TextField(_ref11) {
|
|
|
9048
10364
|
}))));
|
|
9049
10365
|
};
|
|
9050
10366
|
|
|
9051
|
-
var _templateObject$
|
|
9052
|
-
var Container$
|
|
10367
|
+
var _templateObject$B, _templateObject2$u, _templateObject3$o;
|
|
10368
|
+
var Container$a = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 8px;\n padding: ", ";\n"])), function (_ref) {
|
|
9053
10369
|
var $padding = _ref.$padding;
|
|
9054
10370
|
return $padding;
|
|
9055
10371
|
});
|
|
9056
|
-
var Label$
|
|
10372
|
+
var Label$5 = styled__default.label(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n cursor: auto;\n font-weight: 500;\n position: relative;\n width: max-content;\n\n ", "\n\n color: ", ";\n"])), function (_ref2) {
|
|
9057
10373
|
var $size = _ref2.$size;
|
|
9058
10374
|
switch ($size) {
|
|
9059
10375
|
case 'small':
|
|
@@ -9069,7 +10385,7 @@ var Label$3 = styled__default.label(_templateObject2$l || (_templateObject2$l =
|
|
|
9069
10385
|
var $titlecolor = _ref3.$titlecolor;
|
|
9070
10386
|
return $titlecolor || colorVariables.text.dark;
|
|
9071
10387
|
});
|
|
9072
|
-
var TextAreaComponent$
|
|
10388
|
+
var TextAreaComponent$2 = styled__default.textarea(_templateObject3$o || (_templateObject3$o = _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
10389
|
var $disabled = _ref4.$disabled;
|
|
9074
10390
|
return $disabled ? 'not-allowed' : 'auto';
|
|
9075
10391
|
}, function (_ref5) {
|
|
@@ -9120,13 +10436,13 @@ var TextArea = function TextArea(_ref9) {
|
|
|
9120
10436
|
React.useEffect(function () {
|
|
9121
10437
|
setIsDisabled(disabled);
|
|
9122
10438
|
}, [disabled]);
|
|
9123
|
-
return React__default.createElement(Container$
|
|
10439
|
+
return React__default.createElement(Container$a, {
|
|
9124
10440
|
"$padding": padding
|
|
9125
|
-
}, title && React__default.createElement(Label$
|
|
10441
|
+
}, title && React__default.createElement(Label$5, {
|
|
9126
10442
|
"$size": size,
|
|
9127
10443
|
htmlFor: title,
|
|
9128
10444
|
"$titlecolor": titlecolor
|
|
9129
|
-
}, title, required && React__default.createElement(Asterisk$
|
|
10445
|
+
}, title, required && React__default.createElement(Asterisk$3, null, "*")), React__default.createElement(TextAreaComponent$2, {
|
|
9130
10446
|
name: title,
|
|
9131
10447
|
id: title,
|
|
9132
10448
|
value: inputValue,
|
|
@@ -9139,18 +10455,18 @@ var TextArea = function TextArea(_ref9) {
|
|
|
9139
10455
|
}));
|
|
9140
10456
|
};
|
|
9141
10457
|
|
|
9142
|
-
var _templateObject$
|
|
9143
|
-
var OptionContainer$
|
|
9144
|
-
var OptionItem$
|
|
10458
|
+
var _templateObject$C, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$c, _templateObject7$5;
|
|
10459
|
+
var OptionContainer$3 = styled__default.div(_templateObject$C || (_templateObject$C = _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);
|
|
10460
|
+
var OptionItem$3 = styled__default.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n color: ", ";\n background-color: ", ";\n border-radius: 8px;\n\n &:hover {\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
9145
10461
|
var $optionSelected = _ref.$optionSelected;
|
|
9146
10462
|
return $optionSelected ? colorVariables.text.white : colorVariables.text.medium;
|
|
9147
10463
|
}, function (_ref2) {
|
|
9148
10464
|
var $optionSelected = _ref2.$optionSelected;
|
|
9149
10465
|
return $optionSelected ? colorVariables["default"].primary : colorVariables.text.white;
|
|
9150
10466
|
}, colorVariables.hover.primary, colorVariables.text.white);
|
|
9151
|
-
var TotalOptionsHeader$
|
|
9152
|
-
var OptionLabel$
|
|
9153
|
-
var SearchContainer$
|
|
10467
|
+
var TotalOptionsHeader$2 = styled__default.div(_templateObject3$p || (_templateObject3$p = _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);
|
|
10468
|
+
var OptionLabel$3 = styled__default.label(_templateObject4$k || (_templateObject4$k = _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"])));
|
|
10469
|
+
var SearchContainer$5 = styled__default.div(_templateObject5$g || (_templateObject5$g = _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
10470
|
var $background = _ref3.$background;
|
|
9155
10471
|
switch ($background) {
|
|
9156
10472
|
case 'dark':
|
|
@@ -9179,7 +10495,7 @@ var SearchContainer$4 = styled__default.div(_templateObject5$b || (_templateObje
|
|
|
9179
10495
|
var $borderRadius = _ref5.$borderRadius;
|
|
9180
10496
|
return $borderRadius || '8px';
|
|
9181
10497
|
});
|
|
9182
|
-
var SearchBar$
|
|
10498
|
+
var SearchBar$5 = styled__default.input(_templateObject6$c || (_templateObject6$c = _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
10499
|
var $inputColor = _ref6.$inputColor;
|
|
9184
10500
|
switch ($inputColor) {
|
|
9185
10501
|
case 'dark':
|
|
@@ -9224,7 +10540,7 @@ var SearchBar$4 = styled__default.input(_templateObject6$9 || (_templateObject6$
|
|
|
9224
10540
|
return $placeholderColor;
|
|
9225
10541
|
}
|
|
9226
10542
|
});
|
|
9227
|
-
var OptionsWrapper$
|
|
10543
|
+
var OptionsWrapper$3 = styled__default.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n padding: 4px 0px;\n height: 100%;\n overflow-y: auto;\n scrollbar-width: thin;\n background: ", "\n"])), colorVariables.text.white);
|
|
9228
10544
|
var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
9229
10545
|
var options = _ref8.options,
|
|
9230
10546
|
selectedOption = _ref8.selectedOption,
|
|
@@ -9273,7 +10589,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9273
10589
|
"$gap": '8px',
|
|
9274
10590
|
"$width": '100%',
|
|
9275
10591
|
"$position": 'relative'
|
|
9276
|
-
}, searchBox && React__default.createElement(SearchContainer$
|
|
10592
|
+
}, searchBox && React__default.createElement(SearchContainer$5, {
|
|
9277
10593
|
"$borderBottom": searchBoxBorder,
|
|
9278
10594
|
"$background": isSearchBarEnabled ? colorVariables.text.white : colorVariables.accent.light,
|
|
9279
10595
|
"$borderRadius": searchBoxBorderRadius,
|
|
@@ -9289,7 +10605,7 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9289
10605
|
onClick: function onClick() {
|
|
9290
10606
|
return setIsSearchBarEnabled(true);
|
|
9291
10607
|
}
|
|
9292
|
-
}, React__default.createElement(SearchBar$
|
|
10608
|
+
}, React__default.createElement(SearchBar$5, {
|
|
9293
10609
|
type: 'text',
|
|
9294
10610
|
placeholder: placeholder,
|
|
9295
10611
|
value: internalSearchQuery,
|
|
@@ -9306,18 +10622,18 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9306
10622
|
setInternalSearchQuery('');
|
|
9307
10623
|
setSearchQuery('');
|
|
9308
10624
|
}
|
|
9309
|
-
}), isSearchBarEnabled && React__default.createElement(OptionContainer$
|
|
10625
|
+
}), isSearchBarEnabled && React__default.createElement(OptionContainer$3, null, options.length > 0 ? React__default.createElement(Container, {
|
|
9310
10626
|
"$flexDirection": 'column',
|
|
9311
10627
|
"$overflow": 'auto'
|
|
9312
|
-
}, React__default.createElement(TotalOptionsHeader$
|
|
10628
|
+
}, React__default.createElement(TotalOptionsHeader$2, null, React__default.createElement(Span, {
|
|
9313
10629
|
"$fontSize": '12px',
|
|
9314
10630
|
"$fontWeight": '400',
|
|
9315
10631
|
"$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$
|
|
10632
|
+
}, t('Showing_results') + " (" + filteredArray.length + " of " + (options === null || options === void 0 ? void 0 : options.length) + ")")), React__default.createElement(OptionsWrapper$3, null, filteredArray.length > 0 ? filteredArray.map(function (option) {
|
|
10633
|
+
return React__default.createElement(OptionItem$3, {
|
|
9318
10634
|
key: option.value,
|
|
9319
10635
|
"$optionSelected": option.value === selectedOption
|
|
9320
|
-
}, React__default.createElement(OptionLabel$
|
|
10636
|
+
}, React__default.createElement(OptionLabel$3, {
|
|
9321
10637
|
htmlFor: option.value,
|
|
9322
10638
|
onClick: function onClick() {
|
|
9323
10639
|
setInternalSearchQuery(option.labelText);
|
|
@@ -9339,31 +10655,31 @@ var TextFieldWithDropdown = function TextFieldWithDropdown(_ref8) {
|
|
|
9339
10655
|
}, NoOptionsText)))));
|
|
9340
10656
|
};
|
|
9341
10657
|
|
|
9342
|
-
var _templateObject$
|
|
9343
|
-
var spin$
|
|
9344
|
-
var getDotPosition$
|
|
10658
|
+
var _templateObject$D, _templateObject2$w, _templateObject3$q, _templateObject4$l;
|
|
10659
|
+
var spin$5 = styled.keyframes(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n 0% { opacity: 1; }\n 100% { opacity: 0.3; }\n"])));
|
|
10660
|
+
var getDotPosition$2 = function getDotPosition(index, size) {
|
|
9345
10661
|
var angle = index * 360 / 8;
|
|
9346
10662
|
var radius = size / 2.5;
|
|
9347
10663
|
var x = radius * Math.cos(angle * Math.PI / 180);
|
|
9348
10664
|
var y = radius * Math.sin(angle * Math.PI / 180);
|
|
9349
10665
|
return "translate(" + x + "px, " + y + "px)";
|
|
9350
10666
|
};
|
|
9351
|
-
var SpinnerContainer$
|
|
10667
|
+
var SpinnerContainer$2 = styled__default.div(_templateObject2$w || (_templateObject2$w = _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
10668
|
var $size = _ref.$size;
|
|
9353
10669
|
return $size;
|
|
9354
10670
|
}, function (_ref2) {
|
|
9355
10671
|
var $size = _ref2.$size;
|
|
9356
10672
|
return $size;
|
|
9357
10673
|
});
|
|
9358
|
-
var Dot$
|
|
10674
|
+
var Dot$2 = styled__default.div.attrs(function (_ref3) {
|
|
9359
10675
|
var $index = _ref3.$index,
|
|
9360
10676
|
$size = _ref3.$size;
|
|
9361
10677
|
return {
|
|
9362
10678
|
style: {
|
|
9363
|
-
transform: getDotPosition$
|
|
10679
|
+
transform: getDotPosition$2($index, $size)
|
|
9364
10680
|
}
|
|
9365
10681
|
};
|
|
9366
|
-
})(_templateObject3$
|
|
10682
|
+
})(_templateObject3$q || (_templateObject3$q = _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
10683
|
var $dotSize = _ref4.$dotSize;
|
|
9368
10684
|
return $dotSize;
|
|
9369
10685
|
}, function (_ref5) {
|
|
@@ -9372,7 +10688,7 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
9372
10688
|
}, function (_ref6) {
|
|
9373
10689
|
var $color = _ref6.$color;
|
|
9374
10690
|
return $color;
|
|
9375
|
-
}, spin$
|
|
10691
|
+
}, spin$5, function (_ref7) {
|
|
9376
10692
|
var $speed = _ref7.$speed;
|
|
9377
10693
|
return $speed;
|
|
9378
10694
|
}, function (_ref8) {
|
|
@@ -9380,7 +10696,7 @@ var Dot$1 = styled__default.div.attrs(function (_ref3) {
|
|
|
9380
10696
|
$speed = _ref8.$speed;
|
|
9381
10697
|
return $index * $speed / 8;
|
|
9382
10698
|
});
|
|
9383
|
-
var SpinnerWrapper$
|
|
10699
|
+
var SpinnerWrapper$2 = styled__default.div(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: max-content;\n"])));
|
|
9384
10700
|
var sizeMap = {
|
|
9385
10701
|
small: {
|
|
9386
10702
|
size: 32
|
|
@@ -9404,13 +10720,13 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
9404
10720
|
text = _ref9.text,
|
|
9405
10721
|
customSize = _ref9.customSize;
|
|
9406
10722
|
var spinnerSize = customSize != null ? customSize : sizeMap[size].size;
|
|
9407
|
-
return React__default.createElement(SpinnerWrapper$
|
|
10723
|
+
return React__default.createElement(SpinnerWrapper$2, null, React__default.createElement(SpinnerContainer$2, {
|
|
9408
10724
|
"$size": spinnerSize,
|
|
9409
10725
|
"aria-label": "Loading animation"
|
|
9410
10726
|
}, Array.from({
|
|
9411
10727
|
length: 8
|
|
9412
10728
|
}).map(function (_, i) {
|
|
9413
|
-
return React__default.createElement(Dot$
|
|
10729
|
+
return React__default.createElement(Dot$2, {
|
|
9414
10730
|
key: i,
|
|
9415
10731
|
"$index": i,
|
|
9416
10732
|
"$size": spinnerSize,
|
|
@@ -9421,9 +10737,9 @@ var CircularLoader = function CircularLoader(_ref9) {
|
|
|
9421
10737
|
})), text && React__default.createElement(React__default.Fragment, null, text));
|
|
9422
10738
|
};
|
|
9423
10739
|
|
|
9424
|
-
var _templateObject$
|
|
9425
|
-
var spin$
|
|
9426
|
-
var Spinner$
|
|
10740
|
+
var _templateObject$E, _templateObject2$x;
|
|
10741
|
+
var spin$6 = styled.keyframes(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
10742
|
+
var Spinner$3 = styled__default.div(_templateObject2$x || (_templateObject2$x = _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
10743
|
var $size = _ref.$size;
|
|
9428
10744
|
return $size;
|
|
9429
10745
|
}, function (_ref2) {
|
|
@@ -9432,7 +10748,7 @@ var Spinner$2 = styled__default.div(_templateObject2$o || (_templateObject2$o =
|
|
|
9432
10748
|
}, function (_ref3) {
|
|
9433
10749
|
var $color = _ref3.$color;
|
|
9434
10750
|
return $color;
|
|
9435
|
-
}, spin$
|
|
10751
|
+
}, spin$6);
|
|
9436
10752
|
var Loader = function Loader(_ref4) {
|
|
9437
10753
|
var title = _ref4.title,
|
|
9438
10754
|
_ref4$size = _ref4.size,
|
|
@@ -9448,7 +10764,7 @@ var Loader = function Loader(_ref4) {
|
|
|
9448
10764
|
"$height": '100%',
|
|
9449
10765
|
"$flexDirection": 'column',
|
|
9450
10766
|
"$gap": '12px'
|
|
9451
|
-
}, React__default.createElement(Container, null, React__default.createElement(Spinner$
|
|
10767
|
+
}, React__default.createElement(Container, null, React__default.createElement(Spinner$3, {
|
|
9452
10768
|
"$size": size,
|
|
9453
10769
|
"$color": color
|
|
9454
10770
|
})), title && React__default.createElement(Container, {
|
|
@@ -9464,8 +10780,8 @@ var Loader = function Loader(_ref4) {
|
|
|
9464
10780
|
}, title))));
|
|
9465
10781
|
};
|
|
9466
10782
|
|
|
9467
|
-
var _templateObject$
|
|
9468
|
-
var PageInput$
|
|
10783
|
+
var _templateObject$F;
|
|
10784
|
+
var PageInput$2 = styled__default.input(_templateObject$F || (_templateObject$F = _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
10785
|
var Pagination = function Pagination(_ref) {
|
|
9470
10786
|
var totalPages = _ref.totalPages,
|
|
9471
10787
|
currentPage = _ref.currentPage,
|
|
@@ -9523,7 +10839,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
9523
10839
|
}, React__default.createElement(Container, {
|
|
9524
10840
|
"$gap": '4px',
|
|
9525
10841
|
"$alignItems": 'center'
|
|
9526
|
-
}, React__default.createElement(PageInput$
|
|
10842
|
+
}, React__default.createElement(PageInput$2, {
|
|
9527
10843
|
type: 'number',
|
|
9528
10844
|
value: inputPage,
|
|
9529
10845
|
onChange: handleInputChange,
|
|
@@ -9649,22 +10965,22 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
9649
10965
|
})));
|
|
9650
10966
|
};
|
|
9651
10967
|
|
|
9652
|
-
var _templateObject$
|
|
9653
|
-
var SidebarContainer$
|
|
10968
|
+
var _templateObject$G, _templateObject2$y, _templateObject3$r, _templateObject4$m, _templateObject5$h, _templateObject6$d;
|
|
10969
|
+
var SidebarContainer$2 = styled__default.div(_templateObject$G || (_templateObject$G = _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
10970
|
var $isExpanded = _ref.$isExpanded;
|
|
9655
10971
|
return $isExpanded ? '225px' : '68px';
|
|
9656
10972
|
}, function (_ref2) {
|
|
9657
10973
|
var $background = _ref2.$background;
|
|
9658
10974
|
return $background ? $background : colorVariables.accent.softBlue;
|
|
9659
10975
|
});
|
|
9660
|
-
var SidebarItem$
|
|
9661
|
-
var ContentWrapper$
|
|
9662
|
-
var IconWrapper$
|
|
10976
|
+
var SidebarItem$2 = styled__default(reactRouterDom.NavLink)(_templateObject2$y || (_templateObject2$y = _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);
|
|
10977
|
+
var ContentWrapper$2 = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n width: 100%;\n"])));
|
|
10978
|
+
var IconWrapper$6 = styled__default.div(_templateObject4$m || (_templateObject4$m = _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
10979
|
var $selected = _ref3.$selected;
|
|
9664
10980
|
return $selected ? colorVariables["default"].primary : colorVariables["default"].tertiary;
|
|
9665
10981
|
});
|
|
9666
|
-
var Logo$
|
|
9667
|
-
var TextContainer$
|
|
10982
|
+
var Logo$2 = styled__default.div(_templateObject5$h || (_templateObject5$h = _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"])));
|
|
10983
|
+
var TextContainer$2 = styled__default.span(_templateObject6$d || (_templateObject6$d = _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
10984
|
var $padding = _ref4.$padding;
|
|
9669
10985
|
return $padding;
|
|
9670
10986
|
}, function (_ref5) {
|
|
@@ -9701,7 +11017,7 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9701
11017
|
return parts.length > 0 ? "/" + parts[0] + "/" : '/';
|
|
9702
11018
|
};
|
|
9703
11019
|
var topLevelPath = getTopLevelPathWithSlash(location.pathname) || getTopLevelPath(location.pathname);
|
|
9704
|
-
return React__default.createElement(SidebarContainer$
|
|
11020
|
+
return React__default.createElement(SidebarContainer$2, {
|
|
9705
11021
|
"$background": background,
|
|
9706
11022
|
"$isExpanded": isExpanded,
|
|
9707
11023
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -9710,24 +11026,24 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9710
11026
|
onMouseLeave: function onMouseLeave() {
|
|
9711
11027
|
return setIsExpanded(false);
|
|
9712
11028
|
}
|
|
9713
|
-
}, logo && React__default.createElement(Logo$
|
|
11029
|
+
}, logo && React__default.createElement(Logo$2, null, React__default.createElement(Icon, {
|
|
9714
11030
|
icon: logo.icon
|
|
9715
|
-
}), React__default.createElement(TextContainer$
|
|
11031
|
+
}), React__default.createElement(TextContainer$2, {
|
|
9716
11032
|
"$isExpanded": isExpanded,
|
|
9717
11033
|
"$fontWeight": "700"
|
|
9718
|
-
}, logo.name)), React__default.createElement(ContentWrapper$
|
|
11034
|
+
}, logo.name)), React__default.createElement(ContentWrapper$2, null, content.map(function (item) {
|
|
9719
11035
|
var isActive = item.url.includes(topLevelPath);
|
|
9720
|
-
return React__default.createElement(SidebarItem$
|
|
11036
|
+
return React__default.createElement(SidebarItem$2, {
|
|
9721
11037
|
to: item.url,
|
|
9722
11038
|
key: item.id
|
|
9723
|
-
}, React__default.createElement(IconWrapper$
|
|
11039
|
+
}, React__default.createElement(IconWrapper$6, {
|
|
9724
11040
|
"$selected": isActive
|
|
9725
11041
|
}, React__default.createElement(Icon, {
|
|
9726
11042
|
icon: item.icon,
|
|
9727
11043
|
size: 20,
|
|
9728
11044
|
weight: item.iconWeight,
|
|
9729
11045
|
color: isActive ? colorVariables.text.white : colorVariables.text.medium
|
|
9730
|
-
})), React__default.createElement(TextContainer$
|
|
11046
|
+
})), React__default.createElement(TextContainer$2, {
|
|
9731
11047
|
"$isExpanded": isExpanded,
|
|
9732
11048
|
"$fontSize": "14px",
|
|
9733
11049
|
"$padding": '0px 10px 0px 0px',
|
|
@@ -9736,14 +11052,14 @@ var Sidebar = function Sidebar(_ref10) {
|
|
|
9736
11052
|
})), ProfileContent);
|
|
9737
11053
|
};
|
|
9738
11054
|
|
|
9739
|
-
var _templateObject$
|
|
9740
|
-
var ContainerWrapper$
|
|
11055
|
+
var _templateObject$H, _templateObject2$z, _templateObject3$s, _templateObject4$n;
|
|
11056
|
+
var ContainerWrapper$2 = styled__default.div(_templateObject$H || (_templateObject$H = _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
11057
|
return props.$width || 'auto';
|
|
9742
11058
|
}, function (_ref) {
|
|
9743
11059
|
var $minHeight = _ref.$minHeight;
|
|
9744
11060
|
return $minHeight;
|
|
9745
11061
|
});
|
|
9746
|
-
var CellContainer$
|
|
11062
|
+
var CellContainer$2 = styled__default.div(_templateObject2$z || (_templateObject2$z = _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
11063
|
return props.$align;
|
|
9748
11064
|
}, function (props) {
|
|
9749
11065
|
return props.$width || 'auto';
|
|
@@ -9754,14 +11070,14 @@ var CellContainer$1 = styled__default.div(_templateObject2$q || (_templateObject
|
|
|
9754
11070
|
}, function (props) {
|
|
9755
11071
|
return props.$padding;
|
|
9756
11072
|
});
|
|
9757
|
-
var MainText$
|
|
11073
|
+
var MainText$2 = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9758
11074
|
return props.$mtc;
|
|
9759
11075
|
}, function (props) {
|
|
9760
11076
|
return props.$mtfs;
|
|
9761
11077
|
}, function (props) {
|
|
9762
11078
|
return props.$mtw;
|
|
9763
11079
|
});
|
|
9764
|
-
var SubText$
|
|
11080
|
+
var SubText$2 = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size:", ";\n font-weight:", ";\n line-height: 100%;\n"])), function (props) {
|
|
9765
11081
|
return props.$stc;
|
|
9766
11082
|
}, function (props) {
|
|
9767
11083
|
return props.$stfs;
|
|
@@ -9790,31 +11106,31 @@ var TableCell = function TableCell(_ref2) {
|
|
|
9790
11106
|
CustomFunction = _ref2.CustomFunction,
|
|
9791
11107
|
padding = _ref2.padding,
|
|
9792
11108
|
minHeight = _ref2.minHeight;
|
|
9793
|
-
return React__default.createElement(ContainerWrapper$
|
|
11109
|
+
return React__default.createElement(ContainerWrapper$2, {
|
|
9794
11110
|
"$width": width,
|
|
9795
11111
|
"$minHeight": minHeight
|
|
9796
|
-
}, CustomFunction ? React__default.createElement(CellContainer$
|
|
11112
|
+
}, CustomFunction ? React__default.createElement(CellContainer$2, {
|
|
9797
11113
|
"$align": alignment,
|
|
9798
11114
|
"$width": width,
|
|
9799
11115
|
"$minWidth": minWidth
|
|
9800
|
-
}, CustomFunction) : React__default.createElement(CellContainer$
|
|
11116
|
+
}, CustomFunction) : React__default.createElement(CellContainer$2, {
|
|
9801
11117
|
"$align": alignment,
|
|
9802
11118
|
"$width": width,
|
|
9803
11119
|
"$minWidth": minWidth,
|
|
9804
11120
|
"$padding": padding
|
|
9805
|
-
}, React__default.createElement(MainText$
|
|
11121
|
+
}, React__default.createElement(MainText$2, {
|
|
9806
11122
|
"$mtc": maintextcolor,
|
|
9807
11123
|
"$mtfs": maintextfontsize,
|
|
9808
11124
|
"$mtw": maintextweight
|
|
9809
|
-
}, maintext), subtext && React__default.createElement(SubText$
|
|
11125
|
+
}, maintext), subtext && React__default.createElement(SubText$2, {
|
|
9810
11126
|
"$stc": subtextcolor,
|
|
9811
11127
|
"$stfs": subtextfontsize,
|
|
9812
11128
|
"$stw": subtextweight
|
|
9813
11129
|
}, subtext)));
|
|
9814
11130
|
};
|
|
9815
11131
|
|
|
9816
|
-
var _templateObject$
|
|
9817
|
-
var TableRowContainer$
|
|
11132
|
+
var _templateObject$I;
|
|
11133
|
+
var TableRowContainer$2 = styled.styled.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n background: inherit;\n align-items:center;\n padding: 16px 12px;\n width: 100%;\n"])));
|
|
9818
11134
|
var TableRow = function TableRow(_ref) {
|
|
9819
11135
|
var rowconfig = _ref.rowconfig,
|
|
9820
11136
|
tableheaderconfig = _ref.tableheaderconfig;
|
|
@@ -9823,7 +11139,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
9823
11139
|
};
|
|
9824
11140
|
return React__default.createElement(Container, null, rowconfig.map(function (data, Index) {
|
|
9825
11141
|
var _rowconfig$Index;
|
|
9826
|
-
return React__default.createElement(TableRowContainer$
|
|
11142
|
+
return React__default.createElement(TableRowContainer$2, {
|
|
9827
11143
|
key: Index
|
|
9828
11144
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
9829
11145
|
"$padding": '0px 16px 0px 0px',
|
|
@@ -9857,16 +11173,16 @@ var TableRow = function TableRow(_ref) {
|
|
|
9857
11173
|
}));
|
|
9858
11174
|
};
|
|
9859
11175
|
|
|
9860
|
-
var _templateObject$
|
|
9861
|
-
var TableContainer$
|
|
9862
|
-
var TableHeader$
|
|
11176
|
+
var _templateObject$J, _templateObject2$A, _templateObject3$t, _templateObject4$o, _templateObject5$i;
|
|
11177
|
+
var TableContainer$2 = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n background: ", ";\n width: 100%;\n display: flex;\n overflow: hidden;\n border-radius: 8px;\n"])), colorVariables.brand.light);
|
|
11178
|
+
var TableHeader$2 = styled__default.div(_templateObject2$A || (_templateObject2$A = _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
11179
|
return props.$hbcolor || 'transparent';
|
|
9864
11180
|
}, function (props) {
|
|
9865
11181
|
return props.$tcolor || 'white';
|
|
9866
11182
|
});
|
|
9867
|
-
var TableContent$
|
|
9868
|
-
var TableData$
|
|
9869
|
-
var Divider$
|
|
11183
|
+
var TableContent$2 = styled__default.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 100%;\n svg {\n cursor: pointer;\n }\n"])));
|
|
11184
|
+
var TableData$2 = styled__default.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n overflow: auto;\n scrollbar-width: thin;\n height: 100%;\n max-height: calc(100% - 36px);\n"])));
|
|
11185
|
+
var Divider$2 = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n height: 2px;\n background: ", ";\n"])), colorVariables.border.extraLight);
|
|
9870
11186
|
var Table = function Table(_ref) {
|
|
9871
11187
|
var tableObject = _ref.tableObject,
|
|
9872
11188
|
_ref$filter = _ref.filter,
|
|
@@ -9916,7 +11232,7 @@ var Table = function Table(_ref) {
|
|
|
9916
11232
|
React.useEffect(function () {
|
|
9917
11233
|
setIsAllSelected(false);
|
|
9918
11234
|
}, [rowconfig]);
|
|
9919
|
-
return React__default.createElement(TableContainer$
|
|
11235
|
+
return React__default.createElement(TableContainer$2, null, React__default.createElement(TableContent$2, null, React__default.createElement(TableHeader$2, {
|
|
9920
11236
|
"$hbcolor": tableheaderconfig.headercolor,
|
|
9921
11237
|
"$tcolor": tableheaderconfig.textcolor
|
|
9922
11238
|
}, tableheaderconfig.isAllSelectable && React__default.createElement(Container, {
|
|
@@ -9946,7 +11262,7 @@ var Table = function Table(_ref) {
|
|
|
9946
11262
|
"$alignItems": 'center',
|
|
9947
11263
|
"$padding": '24px 24px',
|
|
9948
11264
|
"$justifyContent": 'center'
|
|
9949
|
-
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$
|
|
11265
|
+
}, React__default.createElement(Span, null, noDataText)) : filter ? React__default.createElement(TableData$2, null, Object.entries(roleGroups).map(function (_ref2) {
|
|
9950
11266
|
var role = _ref2[0],
|
|
9951
11267
|
rows = _ref2[1];
|
|
9952
11268
|
return React__default.createElement(React__default.Fragment, {
|
|
@@ -9976,28 +11292,28 @@ var Table = function Table(_ref) {
|
|
|
9976
11292
|
}, React__default.createElement(TableRow, {
|
|
9977
11293
|
rowconfig: [row],
|
|
9978
11294
|
tableheaderconfig: tableheaderconfig
|
|
9979
|
-
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$
|
|
11295
|
+
}), rows.length > 1 && index < rows.length - 1 && React__default.createElement(Divider$2, null));
|
|
9980
11296
|
}));
|
|
9981
|
-
})) : React__default.createElement(TableData$
|
|
11297
|
+
})) : React__default.createElement(TableData$2, null, filteredRows.map(function (row, index) {
|
|
9982
11298
|
return React__default.createElement(React__default.Fragment, {
|
|
9983
11299
|
key: index
|
|
9984
11300
|
}, React__default.createElement(TableRow, {
|
|
9985
11301
|
rowconfig: [row],
|
|
9986
11302
|
tableheaderconfig: tableheaderconfig
|
|
9987
|
-
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$
|
|
11303
|
+
}), filteredRows.length > 1 && index < filteredRows.length - 1 && React__default.createElement(Divider$2, null));
|
|
9988
11304
|
}))));
|
|
9989
11305
|
};
|
|
9990
11306
|
|
|
9991
|
-
var _templateObject$
|
|
9992
|
-
var Container$
|
|
11307
|
+
var _templateObject$K, _templateObject2$B, _templateObject3$u, _templateObject4$p, _templateObject5$j;
|
|
11308
|
+
var Container$b = styled__default.div(_templateObject$K || (_templateObject$K = _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
11309
|
var $border = _ref.$border;
|
|
9994
11310
|
return $border;
|
|
9995
11311
|
});
|
|
9996
|
-
var FirstContainer$
|
|
11312
|
+
var FirstContainer$2 = styled__default.div(_templateObject2$B || (_templateObject2$B = _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
11313
|
var $headerPadding = _ref2.$headerPadding;
|
|
9998
11314
|
return $headerPadding ? $headerPadding : '0px';
|
|
9999
11315
|
});
|
|
10000
|
-
var TabContainer$
|
|
11316
|
+
var TabContainer$2 = styled__default.div(_templateObject3$u || (_templateObject3$u = _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
11317
|
var $disabled = _ref3.$disabled;
|
|
10002
11318
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10003
11319
|
}, function (_ref4) {
|
|
@@ -10010,13 +11326,13 @@ var TabContainer$1 = styled__default.div(_templateObject3$m || (_templateObject3
|
|
|
10010
11326
|
var $disabled = _ref6.$disabled;
|
|
10011
11327
|
return $disabled ? 'not-allowed' : 'pointer';
|
|
10012
11328
|
});
|
|
10013
|
-
var TabItemContainer$
|
|
11329
|
+
var TabItemContainer$2 = styled__default.div(_templateObject4$p || (_templateObject4$p = _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
11330
|
var $headerHeight = _ref7.$headerHeight;
|
|
10015
11331
|
return $headerHeight ? $headerHeight : '34px';
|
|
10016
11332
|
}, function (props) {
|
|
10017
11333
|
return props.$active ? 'block' : 'none';
|
|
10018
11334
|
}, colorVariables["default"].primary);
|
|
10019
|
-
var DetailsFirstContainer$
|
|
11335
|
+
var DetailsFirstContainer$2 = styled__default.div(_templateObject5$j || (_templateObject5$j = _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
11336
|
return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
|
|
10021
11337
|
});
|
|
10022
11338
|
var Tabs = function Tabs(_ref8) {
|
|
@@ -10027,19 +11343,19 @@ var Tabs = function Tabs(_ref8) {
|
|
|
10027
11343
|
headerPadding = _ref8.headerPadding,
|
|
10028
11344
|
activeTab = _ref8.activeTab,
|
|
10029
11345
|
border = _ref8.border;
|
|
10030
|
-
return React__default.createElement(Container$
|
|
11346
|
+
return React__default.createElement(Container$b, {
|
|
10031
11347
|
"$border": border
|
|
10032
|
-
}, React__default.createElement(FirstContainer$
|
|
11348
|
+
}, React__default.createElement(FirstContainer$2, {
|
|
10033
11349
|
"$headerPadding": headerPadding
|
|
10034
11350
|
}, tabItems.map(function (tab, index) {
|
|
10035
|
-
return React__default.createElement(TabContainer$
|
|
11351
|
+
return React__default.createElement(TabContainer$2, {
|
|
10036
11352
|
key: index,
|
|
10037
11353
|
onClick: function onClick() {
|
|
10038
11354
|
if (!disabled && tab.onClick) tab.onClick();
|
|
10039
11355
|
},
|
|
10040
11356
|
"$disabled": disabled,
|
|
10041
11357
|
"$headerHeight": headerHeight
|
|
10042
|
-
}, React__default.createElement(TabItemContainer$
|
|
11358
|
+
}, React__default.createElement(TabItemContainer$2, {
|
|
10043
11359
|
"$active": activeTab === tab.title,
|
|
10044
11360
|
"$headerHeight": headerHeight
|
|
10045
11361
|
}, tab.icon && React__default.createElement(Icon, {
|
|
@@ -10047,11 +11363,11 @@ var Tabs = function Tabs(_ref8) {
|
|
|
10047
11363
|
icon: tab.icon,
|
|
10048
11364
|
size: tab.iconSize,
|
|
10049
11365
|
weight: tab.iconWeight
|
|
10050
|
-
}), React__default.createElement(DetailsFirstContainer$
|
|
11366
|
+
}), React__default.createElement(DetailsFirstContainer$2, {
|
|
10051
11367
|
"$active": activeTab === tab.title
|
|
10052
11368
|
}, tab.title)));
|
|
10053
11369
|
})), tabItems.map(function (tab, index) {
|
|
10054
|
-
return activeTab === tab.title && React__default.createElement(Container$
|
|
11370
|
+
return activeTab === tab.title && React__default.createElement(Container$b, {
|
|
10055
11371
|
key: index
|
|
10056
11372
|
}, tab.content);
|
|
10057
11373
|
}));
|